Public bug reported:

When running ci tests, we encountered and error where the tests running
were newer than the curtin used to handle the install.

There was a small race with the archive, curtainer installed a binary
package and the source package it pulled was one revision newer:

After this operation, 18.2 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 binutils amd64 
2.26.1-1ubuntu1~16.04.6 [2311 kB]
Get:2 http://ppa.launchpad.net/curtin-dev/daily/ubuntu xenial/main amd64 
curtin-common all 17.1-575-g6d23a6f-0ubuntu1~ubuntu16.04.1 [11.3 kB]
Get:3 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libdpkg-perl 
all 1.18.4ubuntu1.3 [195 kB]
Get:4 http://ppa.launchpad.net/curtin-dev/daily/ubuntu xenial/main amd64 
python3-curtin all 17.1-575-g6d23a6f-0ubuntu1~ubuntu16.04.1 [106 kB]
Get:5 http://archive.ubuntu.com/ubuntu xenial/main amd64 make amd64 4.1-6 [151 
kB]
Get:6 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 dpkg-dev all 
1.18.4ubuntu1.3 [584 kB]
Get:7 http://ppa.launchpad.net/curtin-dev/daily/ubuntu xenial/main amd64 curtin 
all 17.1-575-g6d23a6f-0ubuntu1~ubuntu16.04.1 [2610 B]
Fetched 3362 kB in 1s (3069 kB/s)

This installs 17.1-575

Notice the source package version:


Need to get 299 kB of source archives.
Get:1 http://ppa.launchpad.net/curtin-dev/daily/ubuntu xenial/main curtin 
17.1-576-g15c15c7-0ubuntu1~ubuntu16.04.1 (tar) [298 kB]
Get:2 http://ppa.launchpad.net/curtin-dev/daily/ubuntu xenial/main curtin 
17.1-576-g15c15c7-0ubuntu1~ubuntu16.04.1 (dsc) [1149 B]
dpkg-source: warning: extracting unsigned source package 
(curtin_17.1-576-g15c15c7-0ubuntu1~ubuntu16.04.1.dsc)
dpkg-source: info: extracting curtin in curtin-17.1-576-g15c15c7
dpkg-source: info: unpacking 
curtin_17.1-576-g15c15c7-0ubuntu1~ubuntu16.04.1.tar.xz

This fetches source 17.1-576

curtainer needs to compare curtin --version with the src/curtin/version.py
and raise an error if there is a mismatch.

Attaching console log

** Affects: curtin (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1747077

Title:
  curtainer needs to check installed version vs. source version

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/curtin/+bug/1747077/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to