Bump pyarrow from 13.0.0 to 14.0.1 #501
Merged
Jenkins - ci.inria.fr / Tests / Functional tests / GPU / Random search tests Linux
failed
Nov 16, 2023 in 0s
test_random_search.test_random_search[rs_roi_cnn] failed
Send us feedback
Details
test_random_search.test_random_search[rs_roi_cnn]
assert False
Stack trace
cmdopt = {'input': '/mnt/data/clinicadl_data_ci/data_ci'}
tmp_path = PosixPath('/local2/ci/tmp/test_random_search_rs_roi_cnn_0')
test_name = 'rs_roi_cnn'
def test_random_search(cmdopt, tmp_path, test_name):
base_dir = Path(cmdopt["input"])
input_dir = base_dir / "randomSearch" / "in"
ref_dir = base_dir / "randomSearch" / "ref"
tmp_out_dir = tmp_path / "randomSearch" / "out"
tmp_out_dir.mkdir(parents=True)
if test_name == "rs_roi_cnn":
toml_path = join(input_dir / "random_search.toml")
generate_input = ["random-search", str(tmp_out_dir), "job-1"]
else:
raise NotImplementedError(f"Test {test_name} is not implemented.")
> run_test_random_search(toml_path, generate_input, tmp_out_dir, ref_dir)
test_random_search.py:37:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
toml_path = '/mnt/data/clinicadl_data_ci/data_ci/randomSearch/in/random_search.toml'
generate_input = ['random-search', '/local2/ci/tmp/test_random_search_rs_roi_cnn_0/randomSearch/out', 'job-1']
tmp_out_dir = PosixPath('/local2/ci/tmp/test_random_search_rs_roi_cnn_0/randomSearch/out')
ref_dir = PosixPath('/mnt/data/clinicadl_data_ci/data_ci/randomSearch/ref')
def run_test_random_search(toml_path, generate_input, tmp_out_dir, ref_dir):
if os.path.exists(tmp_out_dir):
shutil.rmtree(tmp_out_dir)
# Write random_search.toml file
os.makedirs(tmp_out_dir, exist_ok=True)
shutil.copy(toml_path, tmp_out_dir)
flag_error_generate = not os.system("clinicadl " + " ".join(generate_input))
performances_flag = os.path.exists(
tmp_out_dir / "job-1" / "split-0" / "best-loss" / "train"
)
> assert flag_error_generate
E assert False
test_random_search.py:52: AssertionError
Loading