darshan-hpc / darshan

Darshan I/O characterization tool
Other
56 stars 27 forks source link

MAINT: test failures with pandas 2.0.0rc0 (pre-release) #909

Closed tylerjereddy closed 1 year ago

tylerjereddy commented 1 year ago

I ran the testsuite with latest pandas pre-release because the 2.0.0 release is imminent. I found that all failures observed are related to heatmaps (19 failed, 508 passed, 2 xfailed in 120.39s (0:02:00)).

I'm just going to post the tail end of the test failure report, because this is trivial for developers to reproduce locally:

``` > assert_allclose(nonzero_rows_runtime, nonzero_rows_dxt) E AssertionError: E Not equal to tolerance rtol=1e-07, atol=0 E E (shapes (32,), (63,) mismatch) E x: array([ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, E 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31]) E y: array([ 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, E 9, 9, 10, 10, 11, 11, 12, 12, 13, 13, 14, 14, 15, 15, 16, 16, 17, E 17, 18, 18, 19, 19, 20, 20, 21, 21, 22, 22, 23, 23, 24, 24, 25, 25, E 26, 26, 27, 27, 28, 28, 29, 29, 30, 30, 31, 31]) /home/tyler/github_projects/darshan/darshan-util/pydarshan/darshan/tests/test_report.py:451: AssertionError =============================================================================================================================================================================== short test summary info ================================================================================================================================================================================ FAILED tests/test_heatmap_handling.py::test_get_heatmap_df[sample-dxt-simple.darshan-1-ops0-expected_hmap_data0] - assert 0.8927467930780562 == 4040 FAILED tests/test_heatmap_handling.py::test_get_heatmap_df[sample-dxt-simple.darshan-4-ops1-expected_hmap_data1] - assert 4043.5392031563338 == 4040 FAILED tests/test_heatmap_handling.py::test_get_heatmap_df[sample-dxt-simple.darshan-10-ops2-expected_hmap_data2] - assert 4048.689087810941 == 4040 FAILED tests/test_heatmap_handling.py::test_get_heatmap_df[dxt.darshan-4-ops10-expected_hmap_data10] - AssertionError: FAILED tests/test_heatmap_handling.py::test_get_heatmap_df[dxt.darshan-1-ops3-expected_hmap_data3] - AssertionError: FAILED tests/test_heatmap_handling.py::test_get_heatmap_df[dxt.darshan-10-ops11-expected_hmap_data11] - AssertionError: FAILED tests/test_heatmap_handling.py::test_get_heatmap_df[ior_hdf5_example.darshan-1-ops12-expected_hmap_data12] - AssertionError: FAILED tests/test_heatmap_handling.py::test_get_heatmap_df[ior_hdf5_example.darshan-10-ops13-expected_hmap_data13] - AssertionError: FAILED tests/test_heatmap_handling.py::test_get_heatmap_df[ior_hdf5_example.darshan-1-ops14-expected_hmap_data14] - AssertionError: FAILED tests/test_heatmap_handling.py::test_get_heatmap_df[ior_hdf5_example.darshan-10-ops15-expected_hmap_data15] - AssertionError: FAILED tests/test_heatmap_handling.py::test_get_heatmap_df[ior_hdf5_example.darshan-1-ops16-expected_hmap_data16] - AssertionError: FAILED tests/test_heatmap_handling.py::test_get_heatmap_df[dxt.darshan-4-ops4-expected_hmap_data4] - AssertionError: FAILED tests/test_heatmap_handling.py::test_get_heatmap_df[ior_hdf5_example.darshan-10-ops17-expected_hmap_data17] - AssertionError: FAILED tests/test_heatmap_handling.py::test_get_heatmap_df[dxt.darshan-10-ops5-expected_hmap_data5] - AssertionError: FAILED tests/test_heatmap_handling.py::test_get_heatmap_df[dxt.darshan-1-ops6-expected_hmap_data6] - AssertionError: FAILED tests/test_heatmap_handling.py::test_get_heatmap_df[dxt.darshan-4-ops7-expected_hmap_data7] - AssertionError: FAILED tests/test_heatmap_handling.py::test_get_heatmap_df[dxt.darshan-10-ops8-expected_hmap_data8] - AssertionError: FAILED tests/test_heatmap_handling.py::test_get_heatmap_df[dxt.darshan-1-ops9-expected_hmap_data9] - AssertionError: FAILED tests/test_report.py::test_runtime_dxt_heatmap_similarity - AssertionError: ================================================================================================================================================================ 19 failed, 508 passed, 2 xfailed in 120.39s (0:02:00) ================================================================================================================================================================= ```