How to tell OBS to wait longer for test before killing it?
Hello, I try to build CheMPS2. https://build.opensuse.org/package/show/home:andythe_great/CheMPS2 But the test took too long that OBS kill it first. Which it just have to wait a bit longer. Job seems to be stuck here, killed. (after 5400 seconds of inactivity) How to make OBS wait longer? Kind regards, Andy
Check the doku for _constraints file Schöne Grüße Axel -- Written from cell phone - excuses for typos Am 6. Februar 2021 06:03:06 MEZ schrieb andythe_great <andythe_great@protonmail.com>:
Hello,
I try to build CheMPS2. https://build.opensuse.org/package/show/home:andythe_great/CheMPS2
But the test took too long that OBS kill it first. Which it just have to wait a bit longer.
Job seems to be stuck here, killed. (after 5400 seconds of inactivity)
How to make OBS wait longer?
Kind regards, Andy
Citeren andythe_great <andythe_great@protonmail.com>:
Hello,
I try to build CheMPS2. https://build.opensuse.org/package/show/home:andythe_great/CheMPS2
But the test took too long that OBS kill it first. Which it just have to wait a bit longer.
Test 14 seems to take a ridiculous long time to run. It runs 6 tests in parallel, some of them take almost 6 hours to complete on a system that successfully builds. Is it mining Bitcoins or something similar?
Job seems to be stuck here, killed. (after 5400 seconds of inactivity)
How to make OBS wait longer?
How to make these tests more efficient should be the question here. That or just skip those long duration tests.
Kind regards, Andy
Citeren andythe_great <andythe_great@protonmail.com>:
I will just skip the test. Thanks.
This package uses OpenMP to use all available cores to work together on a single task. If you allow %ctest to run as many tests as there are cores available, all these tests will be fighting for the same cores. On an eight core system, eight tests will be starting in parallel, each using all eight cores. This will run any system into the ground. The solution here is to run only one test at a time by adding '--parallel 1' to the %ctest command line. See https://build.opensuse.org/request/show/870071 Regards, Arjen
participants (3)
-
andythe_great
-
Arjen de Korte
-
Axel Braun