Closed berland closed 3 months ago
Verified manually on Bergen LSF cluster:
(38) [havb@be-linrgsn001:~/projects/ert] main$ pytest --basetemp=fooa --lsf tests/integration_tests/scheduler/test_lsf_driver.py -k num_cpu -sxv
========================================================================= test session starts ==========================================================================
platform linux -- Python 3.8.18, pytest-8.1.1, pluggy-1.4.0 -- /private/havb/venv/38/bin/python
cachedir: .pytest_cache
PyQt5 5.15.10 -- Qt runtime 5.15.2 -- Qt compiled 5.15.2
Matplotlib: 3.7.5
Freetype: 2.6.1
benchmark: 4.0.0 (defaults: timer=time.perf_counter disable_gc=False min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=False warmup_iterations=100000)
hypothesis profile 'no_timeouts' -> deadline=None, print_blob=True, suppress_health_check=[HealthCheck.too_slow], database=DirectoryBasedExampleDatabase(PosixPath('/private/havb/projects/ert/.hypothesis/examples'))
rootdir: /private/havb/projects/ert
configfile: pyproject.toml
plugins: qt-4.4.0, rerunfailures-14.0, snapshot-0.9.0, timeout-2.3.1, xdist-3.5.0, mpl-0.17.0, cov-5.0.0, anyio-4.3.0, mock-3.14.0, raises-0.11, benchmark-4.0.0, asyncio-0.23.6, repeat-0.9.3, hypothesis-6.100.1, memray-1.5.0
timeout: 360.0s
timeout method: signal
timeout func_only: False
asyncio: mode=auto
collected 13 items / 12 deselected / 1 selected
tests/integration_tests/scheduler/test_lsf_driver.py::test_submit_with_num_cpu PASSED
Contained three bugs:
Issue Resolves nightly test failure.
Approach just-do-it
When applicable