Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some roc_sndio tests fail on s390x architecture #744

Open
daissi opened this issue Jul 1, 2024 · 4 comments
Open

Some roc_sndio tests fail on s390x architecture #744

daissi opened this issue Jul 1, 2024 · 4 comments
Labels
defect Something isn't working user report A bug-report or a feature-request by someone else except maintainers

Comments

@daissi
Copy link

daissi commented Jul 1, 2024

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

@gavv
Copy link
Member

gavv commented Jul 6, 2024

Hi, thanks for report!

Is it possible to get output of roc-test-sndio -v -t ? This would give more verbose logs of the test.

If not, do you have any hints what toolchain and VM could I use for testing?

@gavv gavv added defect Something isn't working user report A bug-report or a feature-request by someone else except maintainers labels Jul 6, 2024
@gavv gavv added this to Roc Toolkit Jul 6, 2024
@gavv gavv moved this to Frontlog in Roc Toolkit Jul 6, 2024
@gavv gavv moved this from Frontlog to Backlog in Roc Toolkit Jul 17, 2024
@yarda
Copy link

yarda commented Aug 6, 2024

Fedora 41 (rawhide), the same failure only on s390x, I will provide output of roc-test-sndio -v -t .

@yarda
Copy link

yarda commented Aug 7, 2024

gcc-14.1.1.

# ./roc-test-sndio -v -t
TEST(backend_sink, sample_rate_force)20:05:59.915 [31] [dbg] roc_sndio: [sndfile_backend.cpp:20] sndfile backend: initializing
20:05:59.916 [31] [trc] roc_sndio: [sox_backend.cpp:157] sox: formats.c: opening format plugin `lsx_alsa_format_fn': library 0x2aa0b268050, entry point 0x3ffb5d840d0

20:05:59.916 [31] [trc] roc_sndio: [sox_backend.cpp:157] sox: formats.c: opening format plugin `lsx_ao_format_fn': library 0x2aa0b26a230, entry point 0x3ffb4801650

20:05:59.916 [31] [trc] roc_sndio: [sox_backend.cpp:157] sox: formats.c: opening format plugin `lsx_caf_format_fn': library 0x2aa0b26b8f0, entry point 0x3ffb4603390

20:05:59.916 [31] [trc] roc_sndio: [sox_backend.cpp:157] sox: formats.c: opening format plugin `lsx_fap_format_fn': library 0x2aa0b26b890, entry point 0x3ffb4503390

20:05:59.917 [31] [trc] roc_sndio: [sox_backend.cpp:157] sox: formats.c: opening format plugin `lsx_flac_format_fn': library 0x2aa0b26c7f0, entry point 0x3ffb4483900

20:05:59.917 [31] [trc] roc_sndio: [sox_backend.cpp:157] sox: formats.c: opening format plugin `lsx_mat4_format_fn': library 0x2aa0b26d540, entry point 0x3ffb4403390

20:05:59.917 [31] [trc] roc_sndio: [sox_backend.cpp:157] sox: formats.c: opening format plugin `lsx_mat5_format_fn': library 0x2aa0b26dcf0, entry point 0x3ffb4303390

20:05:59.917 [31] [trc] roc_sndio: [sox_backend.cpp:157] sox: formats.c: opening format plugin `lsx_mp3_format_fn': library 0x2aa0b26e4a0, entry point 0x3ffb42864f0

20:05:59.917 [31] [trc] roc_sndio: [sox_backend.cpp:157] sox: formats.c: opening format plugin `lsx_opus_format_fn': library 0x2aa0b26fdb0, entry point 0x3ffb42017c0

20:05:59.917 [31] [trc] roc_sndio: [sox_backend.cpp:157] sox: formats.c: opening format plugin `lsx_oss_format_fn': library 0x2aa0b270ae0, entry point 0x3ffb4002250

20:05:59.917 [31] [trc] roc_sndio: [sox_backend.cpp:157] sox: formats.c: opening format plugin `lsx_paf_format_fn': library 0x2aa0b271200, entry point 0x3ffb3f03390

20:05:59.918 [31] [trc] roc_sndio: [sox_backend.cpp:157] sox: formats.c: opening format plugin `lsx_pulseaudio_format_fn': library 0x2aa0b2719b0, entry point 0x3ffb3e81520

20:05:59.918 [31] [trc] roc_sndio: [sox_backend.cpp:157] sox: formats.c: opening format plugin `lsx_pvf_format_fn': library 0x2aa0b272910, entry point 0x3ffb3e03390

20:05:59.918 [31] [trc] roc_sndio: [sox_backend.cpp:157] sox: formats.c: opening format plugin `lsx_sd2_format_fn': library 0x2aa0b2730c0, entry point 0x3ffb3d03390

20:05:59.918 [31] [trc] roc_sndio: [sox_backend.cpp:157] sox: formats.c: opening format plugin `lsx_sndfile_format_fn': library 0x2aa0b273870, entry point 0x3ffb3c83360

20:05:59.918 [31] [trc] roc_sndio: [sox_backend.cpp:157] sox: formats.c: opening format plugin `lsx_vorbis_format_fn': library 0x2aa0b274020, entry point 0x3ffb3c033c0

20:05:59.918 [31] [trc] roc_sndio: [sox_backend.cpp:157] sox: formats.c: opening format plugin `lsx_w64_format_fn': library 0x2aa0b274760, entry point 0x3ffb3b83390

20:05:59.918 [31] [trc] roc_sndio: [sox_backend.cpp:157] sox: formats.c: opening format plugin `lsx_wavpack_format_fn': library 0x2aa0b274f10, entry point 0x3ffb3b01db0

20:05:59.918 [31] [trc] roc_sndio: [sox_backend.cpp:157] sox: formats.c: opening format plugin `lsx_xi_format_fn': library 0x2aa0b275c70, entry point 0x3ffb3a83390

20:05:59.918 [31] [dbg] roc_sndio: [backend_map.cpp:22] backend map: initializing: n_backends=4 n_drivers=104
20:05:59.919 [31] [dbg] roc_core: [temp_file.cpp:58] temp file: created /tmp/rocrXHvHu/test.wav
20:05:59.919 [31] [dbg] roc_core: [temp_file.cpp:63] temp file: removing /tmp/rocrXHvHu/test.wav
20:05:59.919 [31] [dbg] roc_core: [temp_file.cpp:58] temp file: created /tmp/rocqg3P5g/test.wav
20:05:59.919 [31] [dbg] roc_sndio: [sndfile_sink.cpp:173] sndfile sink: opening: driver=(null) path=/tmp/rocqg3P5g/test.wav
20:05:59.919 [31] [dbg] roc_sndio: [sndfile_sink.cpp:122] detected file format type 'wav'
20:05:59.919 [31] [inf] roc_sndio: [sndfile_sink.cpp:281] sndfile sink: opened: <sspec rate=48000 fmt=<pcm f32> chset=<surround smpte n_ch=2 ch=FL,FLC>>
20:05:59.919 [31] [dbg] roc_sndio: [sndfile_sink.cpp:292] sndfile sink: closing output
20:05:59.919 [31] [dbg] roc_core: [temp_file.cpp:63] temp file: removing /tmp/rocqg3P5g/test.wav
20:05:59.919 [31] [dbg] roc_core: [temp_file.cpp:58] temp file: created /tmp/rocHTXTOJ/test.wav
20:05:59.919 [31] [inf] roc_sndio: [wav_sink.cpp:164] wav sink: opened output file: path=/tmp/rocHTXTOJ/test.wav out_bits=8192 out_rate=2159738880 out_ch=512
20:05:59.919 [31] [dbg] roc_sndio: [wav_sink.cpp:179] wav sink: closing output file
20:05:59.919 [31] [dbg] roc_core: [temp_file.cpp:63] temp file: removing /tmp/rocHTXTOJ/test.wav
20:05:59.919 [31] [dbg] roc_core: [temp_file.cpp:58] temp file: created /tmp/rocTK3HJX/test.wav
20:05:59.919 [31] [dbg] roc_sndio: [sox_sink.cpp:74] sox sink: opening: driver=(null) path=/tmp/rocTK3HJX/test.wav
20:05:59.919 [31] [trc] roc_sndio: [sox_backend.cpp:157] sox: wav.c: Writing Wave file: Microsoft PCM format, 2 channels, 48000 samp/sec
20:05:59.919 [31] [trc] roc_sndio: [sox_backend.cpp:157] sox: wav.c:         384000 byte/sec, 8 block align, 32 bits/samp
20:05:59.919 [31] [inf] roc_sndio: [sox_sink.cpp:240] sox sink: opened: bits=32 rate=48000 req_rate=48000 chans=2 req_chans=2 is_file=1
20:05:59.919 [31] [dbg] roc_sndio: [sox_sink.cpp:262] sox sink: closing output
20:05:59.919 [31] [trc] roc_sndio: [sox_backend.cpp:157] sox: wav.c: Finished writing Wave file, 0 data bytes 0 samples
20:05:59.919 [31] [dbg] roc_core: [temp_file.cpp:63] temp file: removing /tmp/rocTK3HJX/test.wav
 - 4 ms
TEST(backend_sink, sample_rate_auto)20:05:59.919 [31] [dbg] roc_core: [temp_file.cpp:58] temp file: created /tmp/roc89V3YX/test.wav
20:05:59.919 [31] [dbg] roc_core: [temp_file.cpp:63] temp file: removing /tmp/roc89V3YX/test.wav
20:05:59.919 [31] [dbg] roc_core: [temp_file.cpp:58] temp file: created /tmp/rockTXEpW/test.wav
20:05:59.919 [31] [dbg] roc_sndio: [sndfile_sink.cpp:173] sndfile sink: opening: driver=(null) path=/tmp/rockTXEpW/test.wav
20:05:59.919 [31] [dbg] roc_sndio: [sndfile_sink.cpp:122] detected file format type 'wav'
20:05:59.919 [31] [inf] roc_sndio: [sndfile_sink.cpp:281] sndfile sink: opened: <sspec rate=44100 fmt=<pcm f32> chset=<surround smpte n_ch=2 ch=FL,FLC>>
20:05:59.919 [31] [dbg] roc_sndio: [sndfile_sink.cpp:292] sndfile sink: closing output
20:05:59.919 [31] [dbg] roc_core: [temp_file.cpp:63] temp file: removing /tmp/rockTXEpW/test.wav
20:05:59.919 [31] [dbg] roc_core: [temp_file.cpp:58] temp file: created /tmp/rocb1V0KO/test.wav
20:05:59.919 [31] [inf] roc_sndio: [wav_sink.cpp:164] wav sink: opened output file: path=/tmp/rocb1V0KO/test.wav out_bits=8192 out_rate=1152122880 out_ch=512
20:05:59.919 [31] [dbg] roc_sndio: [wav_sink.cpp:179] wav sink: closing output file
20:05:59.919 [31] [dbg] roc_core: [temp_file.cpp:63] temp file: removing /tmp/rocb1V0KO/test.wav
20:05:59.919 [31] [dbg] roc_core: [temp_file.cpp:58] temp file: created /tmp/rocL6QGQk/test.wav
20:05:59.919 [31] [dbg] roc_sndio: [sox_sink.cpp:74] sox sink: opening: driver=(null) path=/tmp/rocL6QGQk/test.wav
20:05:59.919 [31] [trc] roc_sndio: [sox_backend.cpp:157] sox: wav.c: Writing Wave file: Microsoft PCM format, 2 channels, 44100 samp/sec
20:05:59.919 [31] [trc] roc_sndio: [sox_backend.cpp:157] sox: wav.c:         352800 byte/sec, 8 block align, 32 bits/samp
20:05:59.919 [31] [inf] roc_sndio: [sox_sink.cpp:240] sox sink: opened: bits=32 rate=44100 req_rate=44100 chans=2 req_chans=2 is_file=1
20:05:59.919 [31] [dbg] roc_sndio: [sox_sink.cpp:262] sox sink: closing output
20:05:59.919 [31] [trc] roc_sndio: [sox_backend.cpp:157] sox: wav.c: Finished writing Wave file, 0 data bytes 0 samples
20:05:59.919 [31] [dbg] roc_core: [temp_file.cpp:63] temp file: removing /tmp/rocL6QGQk/test.wav
 - 0 ms
TEST(backend_sink, has_clock)20:05:59.919 [31] [dbg] roc_core: [temp_file.cpp:58] temp file: created /tmp/roc0LnrKp/test.wav
20:05:59.919 [31] [dbg] roc_core: [temp_file.cpp:63] temp file: removing /tmp/roc0LnrKp/test.wav
20:05:59.920 [31] [dbg] roc_core: [temp_file.cpp:58] temp file: created /tmp/roclLepHI/test.wav
20:05:59.920 [31] [dbg] roc_sndio: [sndfile_sink.cpp:173] sndfile sink: opening: driver=(null) path=/tmp/roclLepHI/test.wav
20:05:59.920 [31] [dbg] roc_sndio: [sndfile_sink.cpp:122] detected file format type 'wav'
20:05:59.920 [31] [inf] roc_sndio: [sndfile_sink.cpp:281] sndfile sink: opened: <sspec rate=48000 fmt=<pcm f32> chset=<surround smpte n_ch=2 ch=FL,FLC>>
20:05:59.920 [31] [dbg] roc_sndio: [sndfile_sink.cpp:292] sndfile sink: closing output
20:05:59.920 [31] [dbg] roc_core: [temp_file.cpp:63] temp file: removing /tmp/roclLepHI/test.wav
20:05:59.920 [31] [dbg] roc_core: [temp_file.cpp:58] temp file: created /tmp/rocoPLchH/test.wav
20:05:59.920 [31] [inf] roc_sndio: [wav_sink.cpp:164] wav sink: opened output file: path=/tmp/rocoPLchH/test.wav out_bits=8192 out_rate=2159738880 out_ch=512
20:05:59.920 [31] [dbg] roc_sndio: [wav_sink.cpp:179] wav sink: closing output file
20:05:59.920 [31] [dbg] roc_core: [temp_file.cpp:63] temp file: removing /tmp/rocoPLchH/test.wav
20:05:59.920 [31] [dbg] roc_core: [temp_file.cpp:58] temp file: created /tmp/rocw1AF8M/test.wav
20:05:59.920 [31] [dbg] roc_sndio: [sox_sink.cpp:74] sox sink: opening: driver=(null) path=/tmp/rocw1AF8M/test.wav
20:05:59.920 [31] [trc] roc_sndio: [sox_backend.cpp:157] sox: wav.c: Writing Wave file: Microsoft PCM format, 2 channels, 48000 samp/sec
20:05:59.920 [31] [trc] roc_sndio: [sox_backend.cpp:157] sox: wav.c:         384000 byte/sec, 8 block align, 32 bits/samp
20:05:59.920 [31] [inf] roc_sndio: [sox_sink.cpp:240] sox sink: opened: bits=32 rate=48000 req_rate=48000 chans=2 req_chans=2 is_file=1
20:05:59.920 [31] [dbg] roc_sndio: [sox_sink.cpp:262] sox sink: closing output
20:05:59.920 [31] [trc] roc_sndio: [sox_backend.cpp:157] sox: wav.c: Finished writing Wave file, 0 data bytes 0 samples
20:05:59.920 [31] [dbg] roc_core: [temp_file.cpp:63] temp file: removing /tmp/rocw1AF8M/test.wav
 - 1 ms
TEST(backend_sink, error)20:05:59.920 [31] [dbg] roc_sndio: [sndfile_sink.cpp:173] sndfile sink: opening: driver=(null) path=/bad/file
20:05:59.920 [31] [dbg] roc_sndio: [sndfile_sink.cpp:260] sndfile sink: map_to_sndfile(): cannot find valid subtype format for major format type
20:05:59.920 [31] [dbg] roc_sndio: [sndfile_backend.cpp:79] sndfile backend: open failed: driver=(null) path=/bad/file
20:05:59.920 [31] [dbg] roc_sndio: [sox_backend.cpp:244] sox backend: driver is not available: driver=(null) path=/bad/file
 - 0 ms
TEST(backend_sink, open)20:05:59.920 [31] [dbg] roc_core: [temp_file.cpp:58] temp file: created /tmp/rocT41WIA/test.wav
20:05:59.920 [31] [dbg] roc_sndio: [sndfile_sink.cpp:173] sndfile sink: opening: driver=(null) path=/tmp/rocT41WIA/test.wav
20:05:59.920 [31] [dbg] roc_sndio: [sndfile_sink.cpp:122] detected file format type 'wav'
20:05:59.920 [31] [inf] roc_sndio: [sndfile_sink.cpp:281] sndfile sink: opened: <sspec rate=48000 fmt=<pcm f32> chset=<surround smpte n_ch=2 ch=FL,FLC>>
20:05:59.920 [31] [dbg] roc_sndio: [sndfile_sink.cpp:292] sndfile sink: closing output
20:05:59.920 [31] [dbg] roc_core: [temp_file.cpp:63] temp file: removing /tmp/rocT41WIA/test.wav
20:05:59.920 [31] [dbg] roc_core: [temp_file.cpp:58] temp file: created /tmp/rocAEujbr/test.wav
20:05:59.920 [31] [inf] roc_sndio: [wav_sink.cpp:164] wav sink: opened output file: path=/tmp/rocAEujbr/test.wav out_bits=8192 out_rate=2159738880 out_ch=512
20:05:59.920 [31] [dbg] roc_sndio: [wav_sink.cpp:179] wav sink: closing output file
20:05:59.920 [31] [dbg] roc_core: [temp_file.cpp:63] temp file: removing /tmp/rocAEujbr/test.wav
20:05:59.920 [31] [dbg] roc_core: [temp_file.cpp:58] temp file: created /tmp/roccZ1N5k/test.wav
20:05:59.920 [31] [dbg] roc_sndio: [sox_sink.cpp:74] sox sink: opening: driver=(null) path=/tmp/roccZ1N5k/test.wav
20:05:59.920 [31] [trc] roc_sndio: [sox_backend.cpp:157] sox: wav.c: Writing Wave file: Microsoft PCM format, 2 channels, 48000 samp/sec
20:05:59.920 [31] [trc] roc_sndio: [sox_backend.cpp:157] sox: wav.c:         384000 byte/sec, 8 block align, 32 bits/samp
20:05:59.920 [31] [inf] roc_sndio: [sox_sink.cpp:240] sox sink: opened: bits=32 rate=48000 req_rate=48000 chans=2 req_chans=2 is_file=1
20:05:59.920 [31] [dbg] roc_sndio: [sox_sink.cpp:262] sox sink: closing output
20:05:59.920 [31] [trc] roc_sndio: [sox_backend.cpp:157] sox: wav.c: Finished writing Wave file, 0 data bytes 0 samples
20:05:59.920 [31] [dbg] roc_core: [temp_file.cpp:63] temp file: removing /tmp/roccZ1N5k/test.wav
 - 0 ms
TEST(backend_source, eof_restart)20:05:59.920 [31] [dbg] roc_core: [temp_file.cpp:58] temp file: created /tmp/rocKhaltj/test.wav
20:05:59.920 [31] [dbg] roc_core: [temp_file.cpp:63] temp file: removing /tmp/rocKhaltj/test.wav
20:05:59.921 [31] [dbg] roc_core: [temp_file.cpp:58] temp file: created /tmp/roc0pcdX5/test.wav
20:05:59.921 [31] [dbg] roc_sndio: [sndfile_sink.cpp:173] sndfile sink: opening: driver=wav path=/tmp/roc0pcdX5/test.wav
20:05:59.921 [31] [dbg] roc_sndio: [sndfile_sink.cpp:122] detected file format type 'wav'
20:05:59.921 [31] [inf] roc_sndio: [sndfile_sink.cpp:281] sndfile sink: opened: <sspec rate=48000 fmt=<pcm f32> chset=<surround smpte n_ch=2 ch=FL,FLC>>
20:05:59.921 [31] [dbg] roc_sndio: [pump.cpp:57] pump: starting main loop
20:05:59.921 [31] [inf] roc_sndio: [pump.cpp:76] pump: main source become inactive in oneshot mode
20:05:59.921 [31] [dbg] roc_sndio: [pump.cpp:109] pump: exiting main loop, wrote 4 buffers from main source
20:05:59.921 [31] [dbg] roc_sndio: [sndfile_sink.cpp:292] sndfile sink: closing output
20:05:59.921 [31] [dbg] roc_sndio: [sndfile_source.cpp:48] sndfile source: opening: driver=wav path=/tmp/roc0pcdX5/test.wav
20:05:59.921 [31] [inf] roc_sndio: [sndfile_source.cpp:204] sndfile source: opened: <sspec rate=48000 fmt=<pcm f32> chset=<surround smpte n_ch=2 ch=FL,FR>>
20:05:59.921 [31] [dbg] roc_sndio: [sndfile_source.cpp:98] sndfile source: restarting
20:05:59.921 [31] [dbg] roc_sndio: [sndfile_source.cpp:172] sndfile source: resetting position to 0
20:05:59.921 [31] [dbg] roc_sndio: [sndfile_source.cpp:98] sndfile source: restarting
20:05:59.921 [31] [dbg] roc_sndio: [sndfile_source.cpp:172] sndfile source: resetting position to 0
20:05:59.921 [31] [dbg] roc_sndio: [sndfile_source.cpp:98] sndfile source: restarting
20:05:59.921 [31] [dbg] roc_sndio: [sndfile_source.cpp:172] sndfile source: resetting position to 0
20:05:59.921 [31] [inf] roc_sndio: [sndfile_source.cpp:215] sndfile source: closing input
20:05:59.921 [31] [dbg] roc_core: [temp_file.cpp:63] temp file: removing /tmp/roc0pcdX5/test.wav
20:05:59.921 [31] [dbg] roc_core: [temp_file.cpp:58] temp file: created /tmp/rocmhYjjN/test.wav
20:05:59.921 [31] [inf] roc_sndio: [wav_sink.cpp:164] wav sink: opened output file: path=/tmp/rocmhYjjN/test.wav out_bits=8192 out_rate=2159738880 out_ch=512
20:05:59.921 [31] [dbg] roc_sndio: [pump.cpp:57] pump: starting main loop
20:05:59.921 [31] [inf] roc_sndio: [pump.cpp:76] pump: main source become inactive in oneshot mode
20:05:59.921 [31] [dbg] roc_sndio: [pump.cpp:109] pump: exiting main loop, wrote 4 buffers from main source
20:05:59.921 [31] [dbg] roc_sndio: [wav_sink.cpp:179] wav sink: closing output file
20:05:59.921 [31] [dbg] roc_sndio: [wav_source.cpp:168] wav sink: can't open input file: No such file or directory
20:05:59.921 [31] [dbg] roc_sndio: [wav_backend.cpp:86] wav backend: open failed: path=/tmp/rocmhYjjN/test.wav

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

 - 1 ms
TEST(backend_source, pause_restart)20:05:59.921 [31] [dbg] roc_core: [temp_file.cpp:58] temp file: created /tmp/roc8sGn89/test.wav
20:05:59.921 [31] [dbg] roc_core: [temp_file.cpp:63] temp file: removing /tmp/roc8sGn89/test.wav
20:05:59.921 [31] [dbg] roc_core: [temp_file.cpp:58] temp file: created /tmp/rocGMEsSb/test.wav
20:05:59.921 [31] [dbg] roc_sndio: [sndfile_sink.cpp:173] sndfile sink: opening: driver=wav path=/tmp/rocGMEsSb/test.wav
20:05:59.921 [31] [dbg] roc_sndio: [sndfile_sink.cpp:122] detected file format type 'wav'
20:05:59.921 [31] [inf] roc_sndio: [sndfile_sink.cpp:281] sndfile sink: opened: <sspec rate=48000 fmt=<pcm f32> chset=<surround smpte n_ch=2 ch=FL,FLC>>
20:05:59.922 [31] [dbg] roc_sndio: [pump.cpp:57] pump: starting main loop
20:05:59.922 [31] [inf] roc_sndio: [pump.cpp:76] pump: main source become inactive in oneshot mode
20:05:59.922 [31] [dbg] roc_sndio: [pump.cpp:109] pump: exiting main loop, wrote 4 buffers from main source
20:05:59.922 [31] [dbg] roc_sndio: [sndfile_sink.cpp:292] sndfile sink: closing output
20:05:59.922 [31] [dbg] roc_sndio: [sndfile_source.cpp:48] sndfile source: opening: driver=wav path=/tmp/rocGMEsSb/test.wav
20:05:59.922 [31] [inf] roc_sndio: [sndfile_source.cpp:204] sndfile source: opened: <sspec rate=48000 fmt=<pcm f32> chset=<surround smpte n_ch=2 ch=FL,FR>>
20:05:59.922 [31] [dbg] roc_sndio: [sndfile_source.cpp:98] sndfile source: restarting
20:05:59.922 [31] [dbg] roc_sndio: [sndfile_source.cpp:172] sndfile source: resetting position to 0
20:05:59.922 [31] [inf] roc_sndio: [sndfile_source.cpp:215] sndfile source: closing input
20:05:59.922 [31] [dbg] roc_core: [temp_file.cpp:63] temp file: removing /tmp/rocGMEsSb/test.wav
20:05:59.922 [31] [dbg] roc_core: [temp_file.cpp:58] temp file: created /tmp/rocLqTHkd/test.wav
20:05:59.922 [31] [inf] roc_sndio: [wav_sink.cpp:164] wav sink: opened output file: path=/tmp/rocLqTHkd/test.wav out_bits=8192 out_rate=2159738880 out_ch=512
20:05:59.922 [31] [dbg] roc_sndio: [pump.cpp:57] pump: starting main loop
20:05:59.922 [31] [inf] roc_sndio: [pump.cpp:76] pump: main source become inactive in oneshot mode
20:05:59.922 [31] [dbg] roc_sndio: [pump.cpp:109] pump: exiting main loop, wrote 4 buffers from main source
20:05:59.922 [31] [dbg] roc_sndio: [wav_sink.cpp:179] wav sink: closing output file
20:05:59.922 [31] [dbg] roc_sndio: [wav_source.cpp:168] wav sink: can't open input file: No such file or directory
20:05:59.922 [31] [dbg] roc_sndio: [wav_backend.cpp:86] wav backend: open failed: path=/tmp/rocLqTHkd/test.wav

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

 - 1 ms
TEST(backend_source, pause_resume)20:05:59.922 [31] [dbg] roc_core: [temp_file.cpp:58] temp file: created /tmp/rociRYuno/test.wav
20:05:59.922 [31] [dbg] roc_core: [temp_file.cpp:63] temp file: removing /tmp/rociRYuno/test.wav
20:05:59.922 [31] [dbg] roc_core: [temp_file.cpp:58] temp file: created /tmp/rocG91Cth/test.wav
20:05:59.922 [31] [dbg] roc_sndio: [sndfile_sink.cpp:173] sndfile sink: opening: driver=wav path=/tmp/rocG91Cth/test.wav
20:05:59.922 [31] [dbg] roc_sndio: [sndfile_sink.cpp:122] detected file format type 'wav'
20:05:59.922 [31] [inf] roc_sndio: [sndfile_sink.cpp:281] sndfile sink: opened: <sspec rate=48000 fmt=<pcm f32> chset=<surround smpte n_ch=2 ch=FL,FLC>>
20:05:59.922 [31] [dbg] roc_sndio: [pump.cpp:57] pump: starting main loop
20:05:59.922 [31] [inf] roc_sndio: [pump.cpp:76] pump: main source become inactive in oneshot mode
20:05:59.922 [31] [dbg] roc_sndio: [pump.cpp:109] pump: exiting main loop, wrote 4 buffers from main source
20:05:59.922 [31] [dbg] roc_sndio: [sndfile_sink.cpp:292] sndfile sink: closing output
20:05:59.922 [31] [dbg] roc_sndio: [sndfile_source.cpp:48] sndfile source: opening: driver=wav path=/tmp/rocG91Cth/test.wav
20:05:59.923 [31] [inf] roc_sndio: [sndfile_source.cpp:204] sndfile source: opened: <sspec rate=48000 fmt=<pcm f32> chset=<surround smpte n_ch=2 ch=FL,FR>>
20:05:59.923 [31] [inf] roc_sndio: [sndfile_source.cpp:215] sndfile source: closing input
20:05:59.923 [31] [dbg] roc_core: [temp_file.cpp:63] temp file: removing /tmp/rocG91Cth/test.wav
20:05:59.923 [31] [dbg] roc_core: [temp_file.cpp:58] temp file: created /tmp/roc3lfbyt/test.wav
20:05:59.923 [31] [inf] roc_sndio: [wav_sink.cpp:164] wav sink: opened output file: path=/tmp/roc3lfbyt/test.wav out_bits=8192 out_rate=2159738880 out_ch=512
20:05:59.923 [31] [dbg] roc_sndio: [pump.cpp:57] pump: starting main loop
20:05:59.923 [31] [inf] roc_sndio: [pump.cpp:76] pump: main source become inactive in oneshot mode
20:05:59.923 [31] [dbg] roc_sndio: [pump.cpp:109] pump: exiting main loop, wrote 4 buffers from main source
20:05:59.923 [31] [dbg] roc_sndio: [wav_sink.cpp:179] wav sink: closing output file
20:05:59.923 [31] [dbg] roc_sndio: [wav_source.cpp:168] wav sink: can't open input file: No such file or directory
20:05:59.923 [31] [dbg] roc_sndio: [wav_backend.cpp:86] wav backend: open failed: path=/tmp/roc3lfbyt/test.wav

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

 - 1 ms
TEST(backend_source, sample_rate_mismatch)20:05:59.923 [31] [dbg] roc_core: [temp_file.cpp:58] temp file: created /tmp/rocxlxLVg/test.wav
20:05:59.923 [31] [dbg] roc_core: [temp_file.cpp:63] temp file: removing /tmp/rocxlxLVg/test.wav
20:05:59.923 [31] [dbg] roc_core: [temp_file.cpp:58] temp file: created /tmp/rocgN8uut/test.wav
20:05:59.923 [31] [dbg] roc_sndio: [sndfile_sink.cpp:173] sndfile sink: opening: driver=wav path=/tmp/rocgN8uut/test.wav
20:05:59.923 [31] [dbg] roc_sndio: [sndfile_sink.cpp:122] detected file format type 'wav'
20:05:59.923 [31] [inf] roc_sndio: [sndfile_sink.cpp:281] sndfile sink: opened: <sspec rate=48000 fmt=<pcm f32> chset=<surround smpte n_ch=2 ch=FL,FLC>>
20:05:59.923 [31] [dbg] roc_sndio: [pump.cpp:57] pump: starting main loop
20:05:59.924 [31] [inf] roc_sndio: [pump.cpp:76] pump: main source become inactive in oneshot mode
20:05:59.924 [31] [dbg] roc_sndio: [pump.cpp:109] pump: exiting main loop, wrote 164 buffers from main source
20:05:59.924 [31] [dbg] roc_sndio: [sndfile_sink.cpp:292] sndfile sink: closing output
20:05:59.925 [31] [err] roc_sndio: [sndfile_source.cpp:29] sndfile source: setting io encoding not supported
20:05:59.925 [31] [dbg] roc_sndio: [sndfile_backend.cpp:91] sndfile backend: can't construct source: driver=wav path=/tmp/rocgN8uut/test.wav
20:05:59.925 [31] [dbg] roc_core: [temp_file.cpp:63] temp file: removing /tmp/rocgN8uut/test.wav
20:05:59.925 [31] [dbg] roc_core: [temp_file.cpp:58] temp file: created /tmp/rocJ5hKfh/test.wav
20:05:59.925 [31] [inf] roc_sndio: [wav_sink.cpp:164] wav sink: opened output file: path=/tmp/rocJ5hKfh/test.wav out_bits=8192 out_rate=2159738880 out_ch=512
20:05:59.925 [31] [dbg] roc_sndio: [pump.cpp:57] pump: starting main loop
20:05:59.926 [31] [inf] roc_sndio: [pump.cpp:76] pump: main source become inactive in oneshot mode
20:05:59.926 [31] [dbg] roc_sndio: [pump.cpp:109] pump: exiting main loop, wrote 164 buffers from main source
20:05:59.926 [31] [dbg] roc_sndio: [wav_sink.cpp:179] wav sink: closing output file
20:05:59.926 [31] [err] roc_sndio: [wav_source.cpp:26] wav source: setting io encoding not supported
20:05:59.926 [31] [dbg] roc_sndio: [wav_backend.cpp:81] wav backend: can't construct source: path=/tmp/rocJ5hKfh/test.wav
20:05:59.926 [31] [dbg] roc_core: [temp_file.cpp:63] temp file: removing /tmp/rocJ5hKfh/test.wav
20:05:59.926 [31] [dbg] roc_core: [temp_file.cpp:58] temp file: created /tmp/rocfUr6IS/test.wav
20:05:59.926 [31] [dbg] roc_sndio: [sox_sink.cpp:74] sox sink: opening: driver=wav path=/tmp/rocfUr6IS/test.wav
20:05:59.926 [31] [trc] roc_sndio: [sox_backend.cpp:157] sox: wav.c: Writing Wave file: Microsoft PCM format, 2 channels, 48000 samp/sec
20:05:59.926 [31] [trc] roc_sndio: [sox_backend.cpp:157] sox: wav.c:         384000 byte/sec, 8 block align, 32 bits/samp
20:05:59.926 [31] [inf] roc_sndio: [sox_sink.cpp:240] sox sink: opened: bits=32 rate=48000 req_rate=48000 chans=2 req_chans=2 is_file=1
20:05:59.926 [31] [dbg] roc_sndio: [pump.cpp:57] pump: starting main loop
20:05:59.927 [31] [inf] roc_sndio: [pump.cpp:76] pump: main source become inactive in oneshot mode
20:05:59.927 [31] [dbg] roc_sndio: [pump.cpp:109] pump: exiting main loop, wrote 164 buffers from main source
20:05:59.927 [31] [dbg] roc_sndio: [sox_sink.cpp:262] sox sink: closing output
20:05:59.927 [31] [trc] roc_sndio: [sox_backend.cpp:157] sox: wav.c: Finished writing Wave file, 328000 data bytes 41000 samples
20:05:59.927 [31] [err] roc_sndio: [sox_source.cpp:38] sox source: setting io encoding for files not supported
20:05:59.927 [31] [dbg] roc_sndio: [sox_backend.cpp:278] sox backend: can't construct source: driver=wav path=/tmp/rocfUr6IS/test.wav
20:05:59.927 [31] [dbg] roc_core: [temp_file.cpp:63] temp file: removing /tmp/rocfUr6IS/test.wav
 - 4 ms
TEST(backend_source, sample_rate_auto)20:05:59.927 [31] [dbg] roc_core: [temp_file.cpp:58] temp file: created /tmp/rockbd9v8/test.wav
20:05:59.927 [31] [dbg] roc_core: [temp_file.cpp:63] temp file: removing /tmp/rockbd9v8/test.wav
20:05:59.928 [31] [dbg] roc_core: [temp_file.cpp:58] temp file: created /tmp/roc2RJhsq/test.wav
20:05:59.928 [31] [dbg] roc_sndio: [sndfile_sink.cpp:173] sndfile sink: opening: driver=wav path=/tmp/roc2RJhsq/test.wav
20:05:59.928 [31] [dbg] roc_sndio: [sndfile_sink.cpp:122] detected file format type 'wav'
20:05:59.928 [31] [inf] roc_sndio: [sndfile_sink.cpp:281] sndfile sink: opened: <sspec rate=48000 fmt=<pcm f32> chset=<surround smpte n_ch=2 ch=FL,FLC>>
20:05:59.928 [31] [dbg] roc_sndio: [pump.cpp:57] pump: starting main loop
20:05:59.929 [31] [inf] roc_sndio: [pump.cpp:76] pump: main source become inactive in oneshot mode
20:05:59.929 [31] [dbg] roc_sndio: [pump.cpp:109] pump: exiting main loop, wrote 164 buffers from main source
20:05:59.929 [31] [dbg] roc_sndio: [sndfile_sink.cpp:292] sndfile sink: closing output
20:05:59.929 [31] [dbg] roc_sndio: [sndfile_source.cpp:48] sndfile source: opening: driver=wav path=/tmp/roc2RJhsq/test.wav
20:05:59.929 [31] [inf] roc_sndio: [sndfile_source.cpp:204] sndfile source: opened: <sspec rate=48000 fmt=<pcm f32> chset=<surround smpte n_ch=2 ch=FL,FR>>
20:05:59.929 [31] [inf] roc_sndio: [sndfile_source.cpp:215] sndfile source: closing input
20:05:59.929 [31] [dbg] roc_core: [temp_file.cpp:63] temp file: removing /tmp/roc2RJhsq/test.wav
20:05:59.929 [31] [dbg] roc_core: [temp_file.cpp:58] temp file: created /tmp/rocG7Cgay/test.wav
20:05:59.929 [31] [inf] roc_sndio: [wav_sink.cpp:164] wav sink: opened output file: path=/tmp/rocG7Cgay/test.wav out_bits=8192 out_rate=2159738880 out_ch=512
20:05:59.929 [31] [dbg] roc_sndio: [pump.cpp:57] pump: starting main loop
20:05:59.930 [31] [inf] roc_sndio: [pump.cpp:76] pump: main source become inactive in oneshot mode
20:05:59.930 [31] [dbg] roc_sndio: [pump.cpp:109] pump: exiting main loop, wrote 164 buffers from main source
20:05:59.930 [31] [dbg] roc_sndio: [wav_sink.cpp:179] wav sink: closing output file
20:05:59.930 [31] [dbg] roc_sndio: [wav_source.cpp:168] wav sink: can't open input file: No such file or directory
20:05:59.930 [31] [dbg] roc_sndio: [wav_backend.cpp:86] wav backend: open failed: path=/tmp/rocG7Cgay/test.wav

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

 - 3 ms
TEST(backend_source, has_clock)20:05:59.931 [31] [dbg] roc_core: [temp_file.cpp:58] temp file: created /tmp/rocFV3t4E/test.wav
20:05:59.931 [31] [dbg] roc_core: [temp_file.cpp:63] temp file: removing /tmp/rocFV3t4E/test.wav
20:05:59.931 [31] [dbg] roc_core: [temp_file.cpp:58] temp file: created /tmp/roc5mLqbI/test.wav
20:05:59.931 [31] [dbg] roc_sndio: [sndfile_sink.cpp:173] sndfile sink: opening: driver=(null) path=/tmp/roc5mLqbI/test.wav
20:05:59.931 [31] [dbg] roc_sndio: [sndfile_sink.cpp:122] detected file format type 'wav'
20:05:59.931 [31] [inf] roc_sndio: [sndfile_sink.cpp:281] sndfile sink: opened: <sspec rate=48000 fmt=<pcm f32> chset=<surround smpte n_ch=2 ch=FL,FLC>>
20:05:59.931 [31] [dbg] roc_sndio: [pump.cpp:57] pump: starting main loop
20:05:59.932 [31] [inf] roc_sndio: [pump.cpp:76] pump: main source become inactive in oneshot mode
20:05:59.932 [31] [dbg] roc_sndio: [pump.cpp:109] pump: exiting main loop, wrote 164 buffers from main source
20:05:59.932 [31] [dbg] roc_sndio: [sndfile_sink.cpp:292] sndfile sink: closing output
20:05:59.932 [31] [dbg] roc_sndio: [sndfile_source.cpp:48] sndfile source: opening: driver=(null) path=/tmp/roc5mLqbI/test.wav
20:05:59.932 [31] [inf] roc_sndio: [sndfile_source.cpp:204] sndfile source: opened: <sspec rate=48000 fmt=<pcm f32> chset=<surround smpte n_ch=2 ch=FL,FR>>
20:05:59.932 [31] [inf] roc_sndio: [sndfile_source.cpp:215] sndfile source: closing input
20:05:59.932 [31] [dbg] roc_core: [temp_file.cpp:63] temp file: removing /tmp/roc5mLqbI/test.wav
20:05:59.932 [31] [dbg] roc_core: [temp_file.cpp:58] temp file: created /tmp/rocIEDH4G/test.wav
20:05:59.932 [31] [inf] roc_sndio: [wav_sink.cpp:164] wav sink: opened output file: path=/tmp/rocIEDH4G/test.wav out_bits=8192 out_rate=2159738880 out_ch=512
20:05:59.932 [31] [dbg] roc_sndio: [pump.cpp:57] pump: starting main loop
20:05:59.933 [31] [inf] roc_sndio: [pump.cpp:76] pump: main source become inactive in oneshot mode
20:05:59.933 [31] [dbg] roc_sndio: [pump.cpp:109] pump: exiting main loop, wrote 164 buffers from main source
20:05:59.933 [31] [dbg] roc_sndio: [wav_sink.cpp:179] wav sink: closing output file
20:05:59.934 [31] [dbg] roc_sndio: [wav_source.cpp:168] wav sink: can't open input file: No such file or directory
20:05:59.934 [31] [dbg] roc_sndio: [wav_backend.cpp:86] wav backend: open failed: path=/tmp/rocIEDH4G/test.wav

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

 - 3 ms
TEST(backend_source, error)20:05:59.934 [31] [dbg] roc_sndio: [sndfile_source.cpp:48] sndfile source: opening: driver=(null) path=/bad/file
20:05:59.934 [31] [inf] roc_sndio: [sndfile_source.cpp:192] sndfile source: can't open: input=/bad/file, System error : No such file or directory.
20:05:59.934 [31] [dbg] roc_sndio: [sndfile_backend.cpp:98] sndfile backend: open failed: driver=(null) path=/bad/file
20:05:59.934 [31] [dbg] roc_sndio: [sox_backend.cpp:244] sox backend: driver is not available: driver=(null) path=/bad/file
 - 0 ms
TEST(backend_source, open)20:05:59.934 [31] [dbg] roc_core: [temp_file.cpp:58] temp file: created /tmp/rocKBbbUz/test.wav
20:05:59.934 [31] [dbg] roc_core: [temp_file.cpp:63] temp file: removing /tmp/rocKBbbUz/test.wav
20:05:59.934 [31] [dbg] roc_core: [temp_file.cpp:58] temp file: created /tmp/rocDNBRHX/test.wav
20:05:59.934 [31] [dbg] roc_sndio: [sndfile_sink.cpp:173] sndfile sink: opening: driver=(null) path=/tmp/rocDNBRHX/test.wav
20:05:59.934 [31] [dbg] roc_sndio: [sndfile_sink.cpp:122] detected file format type 'wav'
20:05:59.934 [31] [inf] roc_sndio: [sndfile_sink.cpp:281] sndfile sink: opened: <sspec rate=48000 fmt=<pcm f32> chset=<surround smpte n_ch=2 ch=FL,FLC>>
20:05:59.934 [31] [dbg] roc_sndio: [pump.cpp:57] pump: starting main loop
20:05:59.934 [31] [inf] roc_sndio: [pump.cpp:76] pump: main source become inactive in oneshot mode
20:05:59.934 [31] [dbg] roc_sndio: [pump.cpp:109] pump: exiting main loop, wrote 1 buffers from main source
20:05:59.934 [31] [dbg] roc_sndio: [sndfile_sink.cpp:292] sndfile sink: closing output
20:05:59.934 [31] [dbg] roc_sndio: [sndfile_source.cpp:48] sndfile source: opening: driver=(null) path=/tmp/rocDNBRHX/test.wav
20:05:59.934 [31] [inf] roc_sndio: [sndfile_source.cpp:204] sndfile source: opened: <sspec rate=48000 fmt=<pcm f32> chset=<surround smpte n_ch=2 ch=FL,FR>>
20:05:59.934 [31] [inf] roc_sndio: [sndfile_source.cpp:215] sndfile source: closing input
20:05:59.934 [31] [dbg] roc_core: [temp_file.cpp:63] temp file: removing /tmp/rocDNBRHX/test.wav
20:05:59.934 [31] [dbg] roc_core: [temp_file.cpp:58] temp file: created /tmp/rocCBJjSC/test.wav
20:05:59.934 [31] [inf] roc_sndio: [wav_sink.cpp:164] wav sink: opened output file: path=/tmp/rocCBJjSC/test.wav out_bits=8192 out_rate=2159738880 out_ch=512
20:05:59.934 [31] [dbg] roc_sndio: [pump.cpp:57] pump: starting main loop
20:05:59.934 [31] [inf] roc_sndio: [pump.cpp:76] pump: main source become inactive in oneshot mode
20:05:59.934 [31] [dbg] roc_sndio: [pump.cpp:109] pump: exiting main loop, wrote 1 buffers from main source
20:05:59.934 [31] [dbg] roc_sndio: [wav_sink.cpp:179] wav sink: closing output file
20:05:59.934 [31] [dbg] roc_sndio: [wav_source.cpp:168] wav sink: can't open input file: No such file or directory
20:05:59.934 [31] [dbg] roc_sndio: [wav_backend.cpp:86] wav backend: open failed: path=/tmp/rocCBJjSC/test.wav

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

 - 0 ms
TEST(pump, write_overwrite_read)20:05:59.934 [31] [dbg] roc_core: [temp_file.cpp:58] temp file: created /tmp/roca3FRDG/test.wav
20:05:59.935 [31] [dbg] roc_core: [temp_file.cpp:63] temp file: removing /tmp/roca3FRDG/test.wav
20:05:59.935 [31] [dbg] roc_core: [temp_file.cpp:58] temp file: created /tmp/roclFHufK/test.wav
20:05:59.935 [31] [dbg] roc_sndio: [sndfile_sink.cpp:173] sndfile sink: opening: driver=wav path=/tmp/roclFHufK/test.wav
20:05:59.935 [31] [dbg] roc_sndio: [sndfile_sink.cpp:122] detected file format type 'wav'
20:05:59.935 [31] [inf] roc_sndio: [sndfile_sink.cpp:281] sndfile sink: opened: <sspec rate=48000 fmt=<pcm f32> chset=<surround smpte n_ch=2 ch=FL,FLC>>
20:05:59.935 [31] [dbg] roc_sndio: [pump.cpp:57] pump: starting main loop
20:05:59.935 [31] [inf] roc_sndio: [pump.cpp:76] pump: main source become inactive in oneshot mode
20:05:59.935 [31] [dbg] roc_sndio: [pump.cpp:109] pump: exiting main loop, wrote 10 buffers from main source
20:05:59.935 [31] [dbg] roc_sndio: [sndfile_sink.cpp:292] sndfile sink: closing output
20:05:59.935 [31] [dbg] roc_sndio: [sndfile_sink.cpp:173] sndfile sink: opening: driver=wav path=/tmp/roclFHufK/test.wav
20:05:59.935 [31] [dbg] roc_sndio: [sndfile_sink.cpp:122] detected file format type 'wav'
20:05:59.935 [31] [inf] roc_sndio: [sndfile_sink.cpp:281] sndfile sink: opened: <sspec rate=48000 fmt=<pcm f32> chset=<surround smpte n_ch=2 ch=FL,FLC>>
20:05:59.935 [31] [dbg] roc_sndio: [pump.cpp:57] pump: starting main loop
20:05:59.935 [31] [inf] roc_sndio: [pump.cpp:76] pump: main source become inactive in oneshot mode
20:05:59.935 [31] [dbg] roc_sndio: [pump.cpp:109] pump: exiting main loop, wrote 10 buffers from main source
20:05:59.935 [31] [dbg] roc_sndio: [sndfile_sink.cpp:292] sndfile sink: closing output
20:05:59.935 [31] [dbg] roc_sndio: [sndfile_source.cpp:48] sndfile source: opening: driver=wav path=/tmp/roclFHufK/test.wav
20:05:59.935 [31] [inf] roc_sndio: [sndfile_source.cpp:204] sndfile source: opened: <sspec rate=48000 fmt=<pcm f32> chset=<surround smpte n_ch=2 ch=FL,FR>>
20:05:59.935 [31] [dbg] roc_sndio: [pump.cpp:57] pump: starting main loop
20:05:59.935 [31] [dbg] roc_sndio: [pump.cpp:94] pump: got eof from source
20:05:59.935 [31] [dbg] roc_sndio: [pump.cpp:109] pump: exiting main loop, wrote 10 buffers from main source
20:05:59.935 [31] [inf] roc_sndio: [sndfile_source.cpp:215] sndfile source: closing input
20:05:59.935 [31] [dbg] roc_core: [temp_file.cpp:63] temp file: removing /tmp/roclFHufK/test.wav
20:05:59.935 [31] [dbg] roc_core: [temp_file.cpp:58] temp file: created /tmp/rociUaEPo/test.wav
20:05:59.935 [31] [inf] roc_sndio: [wav_sink.cpp:164] wav sink: opened output file: path=/tmp/rociUaEPo/test.wav out_bits=8192 out_rate=2159738880 out_ch=512
20:05:59.935 [31] [dbg] roc_sndio: [pump.cpp:57] pump: starting main loop
20:05:59.935 [31] [inf] roc_sndio: [pump.cpp:76] pump: main source become inactive in oneshot mode
20:05:59.935 [31] [dbg] roc_sndio: [pump.cpp:109] pump: exiting main loop, wrote 10 buffers from main source
20:05:59.935 [31] [dbg] roc_sndio: [wav_sink.cpp:179] wav sink: closing output file
20:05:59.936 [31] [inf] roc_sndio: [wav_sink.cpp:164] wav sink: opened output file: path=/tmp/rociUaEPo/test.wav out_bits=8192 out_rate=2159738880 out_ch=512
20:05:59.936 [31] [dbg] roc_sndio: [pump.cpp:57] pump: starting main loop
20:05:59.936 [31] [inf] roc_sndio: [pump.cpp:76] pump: main source become inactive in oneshot mode
20:05:59.936 [31] [dbg] roc_sndio: [pump.cpp:109] pump: exiting main loop, wrote 10 buffers from main source
20:05:59.936 [31] [dbg] roc_sndio: [wav_sink.cpp:179] wav sink: closing output file
20:05:59.936 [31] [dbg] roc_sndio: [wav_source.cpp:168] wav sink: can't open input file: No such file or directory
20:05:59.936 [31] [dbg] roc_sndio: [wav_backend.cpp:86] wav backend: open failed: path=/tmp/rociUaEPo/test.wav

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

 - 2 ms
TEST(pump, write_read)20:05:59.936 [31] [dbg] roc_core: [temp_file.cpp:58] temp file: created /tmp/rocB8nWc3/test.wav
20:05:59.936 [31] [dbg] roc_core: [temp_file.cpp:63] temp file: removing /tmp/rocB8nWc3/test.wav
20:05:59.936 [31] [dbg] roc_core: [temp_file.cpp:58] temp file: created /tmp/rocE0JOSh/test.wav
20:05:59.936 [31] [dbg] roc_sndio: [sndfile_sink.cpp:173] sndfile sink: opening: driver=wav path=/tmp/rocE0JOSh/test.wav
20:05:59.936 [31] [dbg] roc_sndio: [sndfile_sink.cpp:122] detected file format type 'wav'
20:05:59.936 [31] [inf] roc_sndio: [sndfile_sink.cpp:281] sndfile sink: opened: <sspec rate=48000 fmt=<pcm f32> chset=<surround smpte n_ch=2 ch=FL,FLC>>
20:05:59.936 [31] [dbg] roc_sndio: [pump.cpp:57] pump: starting main loop
20:05:59.936 [31] [inf] roc_sndio: [pump.cpp:76] pump: main source become inactive in oneshot mode
20:05:59.936 [31] [dbg] roc_sndio: [pump.cpp:109] pump: exiting main loop, wrote 10 buffers from main source
20:05:59.936 [31] [dbg] roc_sndio: [sndfile_sink.cpp:292] sndfile sink: closing output
20:05:59.936 [31] [dbg] roc_sndio: [sndfile_source.cpp:48] sndfile source: opening: driver=wav path=/tmp/rocE0JOSh/test.wav
20:05:59.936 [31] [inf] roc_sndio: [sndfile_source.cpp:204] sndfile source: opened: <sspec rate=48000 fmt=<pcm f32> chset=<surround smpte n_ch=2 ch=FL,FR>>
20:05:59.936 [31] [dbg] roc_sndio: [pump.cpp:57] pump: starting main loop
20:05:59.936 [31] [dbg] roc_sndio: [pump.cpp:94] pump: got eof from source
20:05:59.936 [31] [dbg] roc_sndio: [pump.cpp:109] pump: exiting main loop, wrote 10 buffers from main source
20:05:59.937 [31] [inf] roc_sndio: [sndfile_source.cpp:215] sndfile source: closing input
20:05:59.937 [31] [dbg] roc_core: [temp_file.cpp:63] temp file: removing /tmp/rocE0JOSh/test.wav
20:05:59.937 [31] [dbg] roc_core: [temp_file.cpp:58] temp file: created /tmp/roccjcKTd/test.wav
20:05:59.937 [31] [inf] roc_sndio: [wav_sink.cpp:164] wav sink: opened output file: path=/tmp/roccjcKTd/test.wav out_bits=8192 out_rate=2159738880 out_ch=512
20:05:59.937 [31] [dbg] roc_sndio: [pump.cpp:57] pump: starting main loop
20:05:59.937 [31] [inf] roc_sndio: [pump.cpp:76] pump: main source become inactive in oneshot mode
20:05:59.937 [31] [dbg] roc_sndio: [pump.cpp:109] pump: exiting main loop, wrote 10 buffers from main source
20:05:59.937 [31] [dbg] roc_sndio: [wav_sink.cpp:179] wav sink: closing output file
20:05:59.937 [31] [dbg] roc_sndio: [wav_source.cpp:168] wav sink: can't open input file: No such file or directory
20:05:59.937 [31] [dbg] roc_sndio: [wav_backend.cpp:86] wav backend: open failed: path=/tmp/roccjcKTd/test.wav

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

 - 1 ms

Errors (8 failures, 15 tests, 15 ran, 10465 checks, 0 ignored, 0 filtered out, 22 ms)

@yarda
Copy link

yarda commented Aug 7, 2024

Maybe this is the problem?

...
20:05:59.925 [31] [err] roc_sndio: [sndfile_source.cpp:29] sndfile source: setting io encoding not supported
20:05:59.925 [31] [dbg] roc_sndio: [sndfile_backend.cpp:91] sndfile backend: can't construct source: driver=wav path=/tmp/rocgN8uut/test.wav
...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
defect Something isn't working user report A bug-report or a feature-request by someone else except maintainers
Projects
Status: Backlog
Development

No branches or pull requests

3 participants