[Libguestfs] nbdkit build failure in Koji

Richard W.M. Jones rjones at redhat.com
Fri Jul 31 12:07:16 UTC 2020


Hi Eric,

I wonder if you have any thoughts about this build failure in
tests/test-nozero.sh?

  https://koji.fedoraproject.org/koji/taskinfo?taskID=48259627
  log: https://kojipkgs.fedoraproject.org//work/tasks/9762/48259762/build.log

The error is “nozero6.img was trimmed by mistake”.  I added “set -x”
to the script earlier today so we can see exactly what's wrong, and it
is that:

  ++ stat -c %b nozero2.img
  ++ stat -c %b nozero6.img
  + test 4096 '!=' 2048
  + echo 'nozero6.img was trimmed by mistake'

AFAICT what this means is that nozero2.img is growing during the test
(from 2048 to 4096 blocks).  When I run the test locally this file
stays at 2048 blocks the whole time, and the test does not fail.

One other unfortunate problem is that Fedora is having lots of
toolchain problems right now (see Fedora devel list passim) so we
cannot really be sure that *any* other tool we are using has been
built correctly :-(  I've already disabled LTO in qemu and libguestfs,
but possibly there are other toolchain bugs.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW




More information about the Libguestfs mailing list