Spotted on deployment-mediawiki04.deployment-prep.eqiad.wmflabs , puppet bails out because apt tries to downgrade scap from 3.7.4-3 to 3.7.4-1~20180103034049.266. The later comes from CI and has a smaller version than the version in apt.wikimedia.org/prod.
apt-cache policy scap scap: Installed: 3.7.4-3 Candidate: 3.7.4-1~20180103034049.266 Version table: *** 3.7.4-3 0 1001 http://apt.wikimedia.org/wikimedia/ jessie-wikimedia/main amd64 Packages 100 /var/lib/dpkg/status 3.7.4-1~20180103034049.266 0 1500 http://deployment-tin.deployment-prep.eqiad.wmflabs/repo/ jessie-deployment-prep/main amd64 Packages
Error: Could not update: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install scap' returned 100: Reading package lists... Building dependency tree... Reading state information... The following packages were automatically installed and are no longer required: freeipmi-common libfreeipmi16 libipmiconsole2 libipmidetect0 libnfsidmap2 libpgm-5.1-0 libsodium13 libzmq3 linux-image-4.4.0-3-amd64 python-dateutil python-m2crypto python-msgpack python-semver python-zmq Use 'apt-get autoremove' to remove them. The following packages will be DOWNGRADED: scap 0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 60 not upgraded. Need to get 112 kB of archives. After this operation, 3072 B of additional disk space will be used. E: There are problems and -y was used without --force-yes Error: /Stage[main]/Scap/Package[scap]/ensure: change from 3.7.4-3 to 3.7.4-1~20180103034049.266 failed: Could not update: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install scap' returned 100: Reading package lists... Building dependency tree... Reading state information... The following packages were automatically installed and are no longer required: freeipmi-common libfreeipmi16 libipmiconsole2 libipmidetect0 libnfsidmap2 libpgm-5.1-0 libsodium13 libzmq3 linux-image-4.4.0-3-amd64 python-dateutil python-m2crypto python-msgpack python-semver python-zmq Use 'apt-get autoremove' to remove them. The following packages will be DOWNGRADED: scap 0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 60 not upgraded. Need to get 112 kB of archives. After this operation, 3072 B of additional disk space will be used. E: There are problems and -y was used without --force-yes
So I guess the package generated by CI needs a version bump that match whatever is in production?
I think we talked about it on a Differential diff related to stripping ou the debian directory from the master branch. That is probably related.