MWATelescope / mwalib

Library to read Murchison Widefield Array (MWA) raw visibilities, voltages and metadata into a common structure
Mozilla Public License 2.0
10 stars 2 forks source link

Test "test_get_fits_long_string()" fails in github CI, but not locally #1

Closed gsleap closed 4 years ago

gsleap commented 4 years ago

See: Workflow output

Error is:

running 19 tests
test fits_read::tests::test_get_fits_long_string ... FAILED
test fits_read::tests::test_get_fits_key ... ok
test gpubox::tests::determine_gpubox_batches_invalid_count ... ok
test gpubox::tests::determine_gpubox_batches_invalid_count2 ... ok
test gpubox::tests::determine_gpubox_batches_invalid_filename ... ok
test gpubox::tests::determine_gpubox_batches_invalid_filename2 ... ok
test gpubox::tests::determine_gpubox_batches_invalid_filename3 ... ok
test gpubox::tests::determine_gpubox_batches_mix ... ok
test gpubox::tests::determine_gpubox_batches_old_format ... ok
test gpubox::tests::determine_gpubox_batches_new_format ... ok
test gpubox::tests::determine_gpubox_batches_proper_format ... ok
test gpubox::tests::determine_gpubox_batches_proper_format2 ... ok
test gpubox::tests::determine_gpubox_batches_proper_format4 ... ok
test gpubox::tests::determine_hdu_time_test1 ... ok
test gpubox::tests::determine_gpubox_batches_proper_format3 ... ok
test gpubox::tests::determine_hdu_time_test2 ... ok
error: test failed, to rerun pass '--lib'

Caused by:
  process didn't exit successfully: /home/runner/work/mwalib/mwalib/target/debug/deps/mwalib-d90059212587e9bb (signal: 11, SIGSEGV: invalid memory reference)
##[error]Process completed with exit code 101.
gsleap commented 4 years ago

Needed to compile cfitsio with --enable-reentrant, otherwise tests would randomly fail.