Created
January 27, 2026 14:40
-
-
Save xaviliz/592b2956d00b4c3bbe96d217f0ac8edd to your computer and use it in GitHub Desktop.
AudioWriter::testOgg() fails on Ubuntu 24.04LTS and Debian13
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| python3 test/src/unittests/all_tests.py audiowriter_streaming | |
| Running tests normally | |
| ---------------------------------------------------------------------- | |
| Running tests: | |
| ['audiowriter_streaming'] | |
| testAiff (unittests.io.test_audiowriter_streaming.TestAudioWriter_Streaming.testAiff) ... ok | |
| testEmpty (unittests.io.test_audiowriter_streaming.TestAudioWriter_Streaming.testEmpty) ... ok | |
| testMp3 (unittests.io.test_audiowriter_streaming.TestAudioWriter_Streaming.testMp3) ... ok | |
| testOgg (unittests.io.test_audiowriter_streaming.TestAudioWriter_Streaming.testOgg) ... FAIL | |
| testOneSample (unittests.io.test_audiowriter_streaming.TestAudioWriter_Streaming.testOneSample) ... ok | |
| testRegression (unittests.io.test_audiowriter_streaming.TestAudioWriter_Streaming.testRegression) ... ok | |
| testSaturation (unittests.io.test_audiowriter_streaming.TestAudioWriter_Streaming.testSaturation) ... ok | |
| testWave (unittests.io.test_audiowriter_streaming.TestAudioWriter_Streaming.testWave) ... ok | |
| testflac (unittests.io.test_audiowriter_streaming.TestAudioWriter_Streaming.testflac) ... ok | |
| ====================================================================== | |
| FAIL: testOgg (unittests.io.test_audiowriter_streaming.TestAudioWriter_Streaming.testOgg) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/mnt/essentia/test/src/unittests/io/test_audiowriter_streaming.py", line 243, in testOgg | |
| self.encoderTest('audiowritertest.ogg', precision=5e-6) | |
| File "/mnt/essentia/test/src/unittests/io/test_audiowriter_streaming.py", line 213, in encoderTest | |
| self.assertAlmostEqual(max(pool['audio']), max(sine), precision) | |
| File "/mnt/essentia/test/src/unittests/essentia_test.py", line 137, in assertAlmostEqual | |
| self.assert_(diff <= precision, | |
| File "/mnt/essentia/test/src/unittests/essentia_test.py", line 92, in assert_ | |
| raise self.failureException(msg or f"Expression is not true: {expr}") | |
| AssertionError: Difference is 1.044999e-02 while allowed relative error is 5.000000e-06 | |
| ---------------------------------------------------------------------- | |
| Ran 9 tests in 1.550s | |
| FAILED (failures=1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment