roc-streaming / roc-toolkit

Real-time audio streaming over the network.
https://roc-streaming.org
Mozilla Public License 2.0
1.02k stars 204 forks source link

Some roc_sndio tests fail on s390x architecture #744

Open daissi opened 4 days ago

daissi commented 4 days ago

Hi,

roc-toolkit 0.4.0 was uploaded in Debian/unstable, but a regression was detected preventing its migration to Debian/testing. With this new version some tests have started to fail:

 src/tests/roc_sndio/test_pump.cpp:168: error: Failure in TEST(pump, write_overwrite_read)
    CHECK(backend_device != NULL) failed

 .
 src/tests/roc_sndio/test_pump.cpp:104: error: Failure in TEST(pump, write_read)
    CHECK(backend_device != NULL) failed

 .
 src/tests/roc_sndio/test_backend_source.cpp:395: error: Failure in TEST(backend_source, eof_restart)
    CHECK(backend_device != NULL) failed

 .
 src/tests/roc_sndio/test_backend_source.cpp:325: error: Failure in TEST(backend_source, pause_restart)
    CHECK(backend_device != NULL) failed

 .
 src/tests/roc_sndio/test_backend_source.cpp:256: error: Failure in TEST(backend_source, pause_resume)
    CHECK(backend_device != NULL) failed

 ..
 src/tests/roc_sndio/test_backend_source.cpp:185: error: Failure in TEST(backend_source, sample_rate_auto)
    CHECK(backend_device != NULL) failed

 .
 src/tests/roc_sndio/test_backend_source.cpp:148: error: Failure in TEST(backend_source, has_clock)
    CHECK(backend_device != NULL) failed

 ..
 src/tests/roc_sndio/test_backend_source.cpp:101: error: Failure in TEST(backend_source, open)
    CHECK(backend_device != NULL) failed

The full log is available here. As these seem to be newly added tests, I will disable the tests for s390x for now, but it would be nice to have a proper fix.

Best, Dylan