Bugzilla – Bug 1170639
perl-Image-Sane test gets stuck on 1-core VM
Last modified: 2020-07-05 04:22:19 UTC
Steps To Reproduce:
osc build --noservice --vm-type=kvm -j1
test output gets stuck after
t/enums.t .............. ok
In successful parallel runs, the loop gets repeated 11 times
so maybe there is some background-asynchronous work happening
that gets stuck?
Not sure if this is a bug in sane-backends or in how it is used.
It can also get stuck in t/81_scanimage-perl.t
It is also possible to trigger the problem on machines with more CPU cores using this patch:
+taskset 1 make test
(In reply to Bernhard Wiedemann from comment #1)
> It can also get stuck in t/81_scanimage-perl.t
> It is also possible to trigger the problem on machines with more CPU cores
> using this patch:
> -make test
> +taskset 1 make test
I normally use just a build-root, no kvm, so the first one (-j1) works, the above test fails in a build root and can duplicate the kvm build hang.
For me it gets stuck in t/81_scanimage-perl.t only. I'm assuming this is tied in with reproducible builds?
> I'm assuming this is tied in with reproducible builds?
yes, I am building with -j1 and -j4 to find variations from parallelism.
Stuck builds are not yet handled in my reproducibleopensuse tools,
so they are pretty annoying.
Apart from that, there could be an actual bug that we want to squash.