ARPA-SIMC / arkimet

A set of tools to organize, archive and distribute data files.
Other
15 stars 5 forks source link

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

Open edigiacomo opened 1 month ago

edigiacomo commented 1 month ago

Some tests fail in the last commit (dfcf6cb7cd74e06462c4890037248f5131420921) 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

spanezz commented 4 weeks ago

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