Source: hwloc-contrib
Version: 1.11.12-1
User: debian...@lists.debian.org
Usertags: flaky

Hi Maintainer

The hwloc-contrib autopkgtests often fail [1].
Examining one of the logs [2], I found the tests were being run
against different versions of the packages from src:hwloc.

Get:1 http://deb.debian.org/debian testing/contrib hwloc-contrib
1.11.11-1 (dsc) [2,361 B]
Get:2 http://deb.debian.org/debian testing/contrib hwloc-contrib
1.11.11-1 (tar) [4,114 kB]
Get:3 http://deb.debian.org/debian testing/contrib hwloc-contrib
1.11.11-1 (diff) [7,503 B]
...
Get:3 http://deb.debian.org/debian unstable/main amd64 libhwloc5 amd64
1.11.12-1 [111 kB]
Get:4 http://deb.debian.org/debian unstable/main amd64 hwloc-nox amd64
1.11.12-1 [159 kB]

This results in the assembler, info, allowed and linux tests failing
due to differing output similar to the following:

--- 
/tmp/autopkgtest-lxc.g7wv0zcc/downtmp/build.QMW/src/utils/hwloc/test-hwloc-assembler.output
2015-06-02 09:12:40.000000000 +0000
+++ 
/tmp/autopkgtest-lxc.g7wv0zcc/downtmp/autopkgtest_tmp/fooxsxO5e/test-hwloc-assembler.output
2018-12-14 23:05:52.556408825 +0000
@@ -3,6 +3,7 @@
 <topology>
   <object type="System" os_index="0">
     <info name="Backend" value="Custom"/>
+    <info name="hwlocVersion" value="1.11.12"/>

In utils/hwloc.test-hwloc-assembler.sh.in there is a filter to remove
hwlocVersion from the output, however it includes $HWLOC_VERSION and
so is not removed when the versions differ, resulting in failure.

If mixing versions of hwloc-contrib and hwloc is allowed, then I
suggest adjusting the filters in the relevant tests, otherwise
hwloc-contrib should have versioned dependencies on the packages from
src:hwloc.

Regards
Graham


[1] https://ci.debian.net/packages/h/hwloc-contrib/testing/amd64/
[2] 
https://ci.debian.net/data/autopkgtest/testing/amd64/h/hwloc-contrib/1508468/log.gz

Reply via email to