Project-MONAI / Project-MONAI/MONAI
Auto3dSeg integration test failed
Open
Nobody has claimed this yet.
bug
- Dominant language
- Python
- Stars
- 8.7k
- Forks
- 1.6k
- Avg merge
- 5d 1h
- Merged PRs (30d)
- 20
Description
[2025-02-18T14:51:32.598Z] ======================================================================
[2025-02-18T14:51:32.598Z] ERROR: test_ensemble (__main__.TestEnsembleBuilder)
[2025-02-18T14:51:32.598Z] ----------------------------------------------------------------------
[2025-02-18T14:51:32.598Z] Traceback (most recent call last):
[2025-02-18T14:51:32.598Z] File "/home/jenkins/agent/workspace/Monai-notebooks/MONAI/tests/integration/test_auto3dseg_ensemble.py", line 174, in test_ensemble
[2025-02-18T14:51:32.598Z] algo.train(_train_param)
[2025-02-18T14:51:32.598Z] File "/tmp/tmpjr4iivmw/workdir/algorithm_templates/dints/scripts/algo.py", line 496, in train
[2025-02-18T14:51:32.598Z] File "/home/jenkins/agent/workspace/Monai-notebooks/MONAI/monai/apps/auto3dseg/bundle_gen.py", line 277, in _run_cmd
[2025-02-18T14:51:32.598Z] return run_cmd(cmd.split(), run_cmd_verbose=True, env=ps_environ, check=True)
[2025-02-18T14:51:32.598Z] File "/home/jenkins/agent/workspace/Monai-notebooks/MONAI/monai/utils/misc.py", line 892, in run_cmd
[2025-02-18T14:51:32.598Z] return subprocess.run(cmd_list, **kwargs)
[2025-02-18T14:51:32.598Z] File "/usr/lib/python3.10/subprocess.py", line 526, in run
[2025-02-18T14:51:32.598Z] raise CalledProcessError(retcode, process.args,
[2025-02-18T14:51:32.598Z] subprocess.CalledProcessError: Command '['python', '/tmp/tmpjr4iivmw/workdir/dints_0/scripts/train.py', 'run', "--config_file='/tmp/tmpjr4iivmw/workdir/dints_0/configs/hyper_parameters.yaml,/tmp/tmpjr4iivmw/workdir/dints_0/configs/hyper_parameters_search.yaml,/tmp/tmpjr4iivmw/workdir/dints_0/configs/network.yaml,/tmp/tmpjr4iivmw/workdir/dints_0/configs/network_search.yaml,/tmp/tmpjr4iivmw/workdir/dints_0/configs/transforms_infer.yaml,/tmp/tmpjr4iivmw/workdir/dints_0/configs/transforms_train.yaml,/tmp/tmpjr4iivmw/workdir/dints_0/configs/transforms_validate.yaml'", '--training#num_images_per_batch=2', '--training#num_epochs=2', '--training#num_epochs_per_validation=1']' returned non-zero exit status 1.
[2025-02-18T14:51:32.598Z]
[2025-02-18T14:51:32.598Z] ----------------------------------------------------------------------
python -m tests.integration.test_auto3dseg_ensemble
cc @mingxin-zheng
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by running python -m tests.integration.test_auto3dseg_ensemble and inspect tests/integration/test_auto3dseg_ensemble.py, especially test_ensemble. Follow the failing command through monai/apps/auto3dseg/bundle_gen.py; the payload shows only the non-zero exit status, so the underlying training error still needs to be identified. Done means the integration test completes successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning, testing-qa
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100