-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some tests are apparently not meant to be executed on a system with 1 CPU #1557
Comments
Hi @sanvila we regularly run our tests in single threaded environment so I would expect them passing in our environment too. |
Sure. This is the outcome:
Note: I had to do this with version 2021.12.0 because I had some problems with sphinx not related to this issue, but the outcome matches what I figured out without ctest for version 2021.13.0. |
@dnmokhov or @kboyarinov could you please take a look? |
@sanvila, could you please tell us more about the CPU you are running on? It would help to better reproduce and identify any possible issues. |
It's an AWS instance of type r7a.medium, which has only one vCPU. This vCPU is a 4th Generation EPYC processor from AMD. It's not particularly slow, but it's a single CPU. These are the specs: https://aws.amazon.com/es/ec2/instance-types/r7a/ and this is the full contents of /proc/cpuinfo:
If you really can't reproduce the issue using |
Hello. While building the Debian package for onetbb (version 2021.13.0) on a system with only one CPU, I noticed that some tests never return. This results in a build log like this when the package is built with sbuild:
If it's really the case that those tests are not meant to be executed on single-CPU systems, it would be worth to execute them conditionally, like this:
On the other hand, it may also be the case that the tests are actually meant to be executed everywhere and they are just buggy. I don't know.
I discovered this by using single-cpu virtual machines in the cloud, but it may also be reproduced easily by setting
GRUB_CMDLINE_LINUX="nr_cpus=1"
.Thanks.
The text was updated successfully, but these errors were encountered: