Bug#916503: hwloc-contrib: autopkgtest is flaky

2018-12-15 Thread Samuel Thibault
Control: tags -1 + pending

Hello,

Graham Inggs, le sam. 15 déc. 2018 08:17:21 +0200, a ecrit:
> The hwloc-contrib autopkgtests often fail [1].

> If mixing versions of hwloc-contrib and hwloc is allowed,

It is allowed, but the autopkgtests which ended up in the hwloc-contrib
package don't actually test hwloc-contrib, so I'll just drop them.

Thanks for the report,
Samuel



Bug#916503: hwloc-contrib: autopkgtest is flaky

2018-12-14 Thread Graham Inggs
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.0 +
+++ 
/tmp/autopkgtest-lxc.g7wv0zcc/downtmp/autopkgtest_tmp/fooxsxO5e/test-hwloc-assembler.output
2018-12-14 23:05:52.556408825 +
@@ -3,6 +3,7 @@
 
   
 
+

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