ARPA-SIMC/arkimet

Tests failure on Fedora 38, Fedora 40, Rocky 9 and Ubuntu Jammy

Opened this issue · 1 comments

Some tests fail in the last commit (dfcf6cb) for the following distributions:

The errors are the same

2024-10-22 11:48:21 INFO system.fedora40 stdout: arki_dataset_writer_simple_plain.import_batch_replace_usn: value '"/tmp/tmp.8nPz2EuWaW/testds"' is different than the expected '"testds"'
2024-10-22 11:48:21 INFO system.fedora40 stdout:   ../arki/types/tests.cc:300:actual(item->basedir) == basedir
2024-10-22 11:48:21 INFO system.fedora40 stdout:   ../arki/dataset-writer-test.cc:151:actual_type(mdc[0].source()).is_source_blob("bufr", f.ds_root, "2009/12-04.bufr")
2024-10-22 11:48:21 INFO system.fedora40 stdout: 
2024-10-22 11:48:21 INFO system.fedora40 stdout: arki_dataset_writer_simple_plain.issue237: path '"/tmp/tmp.8nPz2EuWaW/testds"' is not the same as '"testds"' ("/tmp/tmp.8nPz2EuWaW/testds" != "testds")
2024-10-22 11:48:21 INFO system.fedora40 stdout:   ../arki/types/tests.cc:278:actual_path(item->basedir).is(basedir)
2024-10-22 11:48:21 INFO system.fedora40 stdout:   ../arki/dataset-writer-test.cc:191:actual_type(mdc[0].source()).is_source_blob("vm2", f.ds_root, "2020/10-31.vm2", 0, 36)
2024-10-22 11:48:21 INFO system.fedora40 stdout: 
2024-10-22 11:48:21 INFO system.fedora40 stdout: arki_segment_concat_bufr.append:[NSt10filesystem7__cxx1116filesystem_errorE] filesystem error: cannot make canonical path: No such file or directory [testfile.bufr]
2024-10-22 11:48:21 INFO system.fedora40 stdout: 
2024-10-22 11:48:21 INFO system.fedora40 stdout: arki_segment_concat_bufr.large:[NSt10filesystem7__cxx1116filesystem_errorE] filesystem error: cannot make canonical path: No such file or directory [testfile.bufr]
2024-10-22 11:48:21 INFO system.fedora40 stdout: 
2024-10-22 11:48:21 INFO system.fedora40 stdout: arki_segment_lines_vm2.append:[NSt10filesystem7__cxx1116filesystem_errorE] filesystem error: cannot make canonical path: No such file or directory [testfile.vm2]
2024-10-22 11:48:21 INFO system.fedora40 stdout: 
2024-10-22 11:48:21 INFO system.fedora40 stdout: arki_segment_lines_vm2.large:[NSt10filesystem7__cxx1116filesystem_errorE] filesystem error: cannot make canonical path: No such file or directory [testfile.vm2]

Rocky 8 is the only image where the build is successful https://simc.arpae.it/moncic-ci/arkimet/202410220921/master/rocky8/build.log

I managed to reproduce it, but oddly only if I run the individual test, not if I run the whole test suite. Now investigating...