Bug 1201371 - nim: nim fails tests while building on 1-core VM using KVM
Summary: nim: nim fails tests while building on 1-core VM using KVM
Status: NEW
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Development (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: David Anes
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-11 12:31 UTC by Bernhard Wiedemann
Modified: 2022-12-13 11:08 UTC (History)
0 users

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


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

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.
Comment 2 David Anes 2022-12-13 11:08:41 UTC
No updates from upstream, yet.