These recent CI errors are different to the segfault errors (issue #835) and also aren't reproduced locally.
I expect the segfault error is still an issue, but I guess the tests are hitting this issue before it gets to a segfault.
36 passed, 865 errors
There seem to be a lot of:
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
I suspect that this might be caused by some unhandled duplicated rows in sourced data files, but that's just an early guess.
Whatever it is, this appears to be very fundamental, affecting many areas, e.g.:
- test_aim_variants:
- test_aim_calls
- test_plot_aim_heatmap
- test_config
- test_releases
- test_client_location
- test_sample_sets_default
- test_sample_sets_release
- test_lookup_release
- test_prep_sample_sets_param
- test_lookup_study
- test_open_cnv_hmm
- test_snp_frq
Example from https://github.com/malariagen/malariagen-data-python/actions/runs/21252008375/job/61159587031
=========================== short test summary info ============================
ERROR tests/anoph/test_aim_data.py::test_aim_variants[gambcolu_vs_arab] - ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
ERROR tests/anoph/test_aim_data.py::test_aim_variants[gamb_vs_colu] - ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
ERROR tests/anoph/test_aim_data.py::test_aim_calls[gambcolu_vs_arab] - ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
ERROR tests/anoph/test_aim_data.py::test_aim_calls[gamb_vs_colu] - ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
ERROR tests/anoph/test_aim_data.py::test_aim_calls_errors - ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
ERROR tests/anoph/test_aim_data.py::test_plot_aim_heatmap[gambcolu_vs_arab] - ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
ERROR tests/anoph/test_aim_data.py::test_plot_aim_heatmap[gamb_vs_colu] - ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
ERROR tests/anoph/test_base.py::test_config[ag3_sim] - ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
ERROR tests/anoph/test_base.py::test_config[af1_sim] - ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
ERROR tests/anoph/test_base.py::test_config[adir1_sim] - ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
ERROR tests/anoph/test_base.py::test_config[amin1_sim] - ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
ERROR tests/anoph/test_base.py::test_releases[ag3_sim] - ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
ERROR tests/anoph/test_base.py::test_releases[af1_sim] - ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
ERROR tests/anoph/test_base.py::test_releases[adir1_sim] - ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
ERROR tests/anoph/test_base.py::test_releases[amin1_sim] - ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
ERROR tests/anoph/test_base.py::test_client_location[ag3_sim] - ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
ERROR tests/anoph/test_base.py::test_client_location[af1_sim] - ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
ERROR tests/anoph/test_base.py::test_client_location[adir1_sim] - ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
ERROR tests/anoph/test_base.py::test_client_location[amin1_sim] - ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
ERROR tests/anoph/test_base.py::test_sample_sets_default[ag3_sim] - ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
ERROR tests/anoph/test_base.py::test_sample_sets_default[af1_sim] - ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
ERROR tests/anoph/test_base.py::test_sample_sets_default[adir1_sim] - ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
ERROR tests/anoph/test_base.py::test_sample_sets_default[amin1_sim] - ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
ERROR tests/anoph/test_base.py::test_sample_sets_release[ag3_sim] - ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
ERROR tests/anoph/test_base.py::test_sample_sets_release[af1_sim] - ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
ERROR tests/anoph/test_base.py::test_sample_sets_release[adir1_sim] - ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
ERROR tests/anoph/test_base.py::test_sample_sets_release[amin1_sim] - ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
ERROR tests/anoph/test_base.py::test_lookup_release[ag3_sim] - ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
ERROR tests/anoph/test_base.py::test_lookup_release[af1_sim] - ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
ERROR tests/anoph/test_base.py::test_lookup_release[adir1_sim] - ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
ERROR tests/anoph/test_base.py::test_lookup_release[amin1_sim] - ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
ERROR tests/anoph/test_base.py::test_prep_sample_sets_param - ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
ERROR tests/anoph/test_base.py::test_lookup_study[ag3_sim] - ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
ERROR tests/anoph/test_base.py::test_lookup_study[af1_sim] - ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
ERROR tests/anoph/test_base.py::test_lookup_study[adir1_sim] - ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
ERROR tests/anoph/test_base.py::test_lookup_study[amin1_sim] - ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
ERROR tests/anoph/test_cnv_data.py::test_open_cnv_hmm[ag3_sim] - ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
ERROR tests/anoph/test_cnv_data.py::test_open_cnv_hmm[af1_sim] - ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
ERROR tests/anoph/test_snp_frq.py::test_allele_frequencies_advanced_with_sample_query_options[af1_sim] - ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
ERROR tests/anoph/test_snp_frq.py::test_allele_frequencies_advanced_with_sample_query_options[adir1_sim] - ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
ERROR tests/anoph/test_snp_frq.py::test_allele_frequencies_advanced_with_min_cohort_size[ag3_sim-0] - ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
ERROR tests/anoph/test_snp_frq.py::test_allele_frequencies_advanced_with_min_cohort_size[ag3_sim-10] - ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
ERROR tests/anoph/test_snp_frq.py::test_allele_frequencies_advanced_with_min_cohort_size[ag3_sim-100] - ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
ERROR tests/anoph/test_snp_frq.py::test_allele_frequencies_advanced_with_min_cohort_size[af1_sim-0] - ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
ERROR tests/anoph/test_snp_frq.py::test_allele_frequencies_advanced_with_min_cohort_size[af1_sim-10] - ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
ERROR tests/anoph/test_snp_frq.py::test_allele_frequencies_advanced_with_min_cohort_size[af1_sim-100] - ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
ERROR tests/anoph/test_snp_frq.py::test_allele_frequencies_advanced_with_min_cohort_size[adir1_sim-0] - ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
ERROR tests/anoph/test_snp_frq.py::test_allele_frequencies_advanced_with_min_cohort_size[adir1_sim-10] - ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
ERROR tests/anoph/test_snp_frq.py::test_allele_frequencies_advanced_with_min_cohort_size[adir1_sim-100] - ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
ERROR tests/anoph/test_snp_frq.py::test_allele_frequencies_advanced_with_variant_query[ag3_sim] - ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
ERROR tests/anoph/test_snp_frq.py::test_allele_frequencies_advanced_with_variant_query[af1_sim] - ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
ERROR tests/anoph/test_snp_frq.py::test_allele_frequencies_advanced_with_variant_query[adir1_sim] - ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
ERROR tests/anoph/test_snp_frq.py::test_allele_frequencies_advanced_with_variant_query[amin1_sim] - ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
ERROR tests/anoph/test_snp_frq.py::test_allele_frequencies_advanced_with_nobs_mode[ag3_sim-called] - ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
ERROR tests/anoph/test_snp_frq.py::test_allele_frequencies_advanced_with_nobs_mode[ag3_sim-fixed] - ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
ERROR tests/anoph/test_snp_frq.py::test_allele_frequencies_advanced_with_nobs_mode[af1_sim-called] - ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
ERROR tests/anoph/test_snp_frq.py::test_allele_frequencies_advanced_with_nobs_mode[af1_sim-fixed] - ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
ERROR tests/anoph/test_snp_frq.py::test_allele_frequencies_advanced_with_nobs_mode[adir1_sim-called] - ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
ERROR tests/anoph/test_snp_frq.py::test_allele_frequencies_advanced_with_nobs_mode[adir1_sim-fixed] - ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
ERROR tests/anoph/test_snp_frq.py::test_allele_frequencies_advanced_with_nobs_mode[amin1_sim-called] - ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
ERROR tests/anoph/test_snp_frq.py::test_allele_frequencies_advanced_with_nobs_mode[amin1_sim-fixed] - ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
ERROR tests/anoph/test_snp_frq.py::test_allele_frequencies_advanced_with_dup_samples[ag3_sim] - ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
ERROR tests/anoph/test_snp_frq.py::test_allele_frequencies_advanced_with_dup_samples[af1_sim] - ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
ERROR tests/anoph/test_snp_frq.py::test_allele_frequencies_advanced_with_dup_samples[adir1_sim] - ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
ERROR tests/anoph/test_snp_frq.py::test_allele_frequencies_advanced_with_dup_samples[amin1_sim] - ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
================== 36 passed, 865 errors in 175.83s (0:02:55) ==================
These recent CI errors are different to the segfault errors (issue #835) and also aren't reproduced locally.
I expect the segfault error is still an issue, but I guess the tests are hitting this issue before it gets to a segfault.
There seem to be a lot of:
I suspect that this might be caused by some unhandled duplicated rows in sourced data files, but that's just an early guess.
Whatever it is, this appears to be very fundamental, affecting many areas, e.g.:
Example from https://github.com/malariagen/malariagen-data-python/actions/runs/21252008375/job/61159587031