Bug 1201371 - nim: nim fails tests while building on 1-core VM using KVM
nim: nim fails tests while building on 1-core VM using KVM
Status: NEW
Classification: openSUSE
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Development
Other Other
: P5 - None : Normal (vote)
: ---
Assigned To: David Anes
E-mail List
Depends on:
  Show dependency treegraph
Reported: 2022-07-11 12:31 UTC by Bernhard Wiedemann
Modified: 2022-07-19 13:26 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---

build log (55.75 KB, application/x-gzip)
2022-07-11 12:31 UTC, Bernhard Wiedemann

Note You need to log in before you can comment on or make changes to this bug.
Description Bernhard Wiedemann 2022-07-11 12:31:34 UTC
Created attachment 860101 [details]
build log

While working on reproducible builds for openSUSE, I found that
our nim package failed to build on 1-core VMs

Steps to Reproduce:
osc co openSUSE:Factory/nim && cd $_
osc build --vm-type=kvm -j1 --clean --noservice standard
Comment 1 David Anes 2022-07-19 08:06:20 UTC
I was able to reproduce, but only when using KVM. When running on baremetal it doesn't happen, even on 1-core machine:

"osc build -j1 --clean --noservice openSUSE_Factory" runs as expected.

When using KVM, the following tests fail:

- https://github.com/nim-lang/Nim/blob/devel/tests/system/talloc2.nim
- https://github.com/nim-lang/Nim/blob/devel/tests/macros/t18203.nim

Maybe there is something wrong with the tests, I'll ask upstream about them.