Bug#1009185: csound: autopkgtest regression on s390x
Source: csound
Version: 1:6.17.0~dfsg-1
X-Debbugs-CC: debian-ci@lists.debian.org, debian-s390@lists.debian.org
Severity: important
User: debian-ci@lists.debian.org
Usertags: regression
Hi Maintainer
csound's autopkgtests are failing on the big-endian s390x architecture
[1]. I've copied what I hope is the relevant part of the log below,
as well as the passing and failing output of one of the tests,
produced on amd64 and ppc64 porterboxes respectively.
I've confirmed that these tests were already failing with csound
1:6.14.0~dfsg-6 in bullseye, but were not run during the autopkgtest.
Since this is not a new failure, I'm setting this bug's severity to
important instead of serious for now.
Please consider the attached patch, which skips these failing tests on
big-endian architectures, as a temporary workaround.
Regards
Graham
[1] https://ci.debian.net/packages/c/csound/unstable/s390x/
csound -nd tests/commandline//test23.csd 2> csound_test_output.txt
[FAIL] - Test 23: named instrument (test23.csd)
Return Code: 5 Expected: 0
csound -nd tests/commandline//test33.csd 2> csound_test_output.txt
[FAIL] - Test 33: using named instrument from score (testing score
strings) (test33.csd)
Return Code: 1 Expected: 0
csound -nd tests/commandline//test36.csd 2> csound_test_output.txt
[FAIL] - Test 36: opcode with all input args optional (passign) (test36.csd)
Return Code: 139 Expected: 0
csound -nd tests/commandline//test_array_operations.csd 2>
csound_test_output.txt
[FAIL] - Test 78: test multiple operations on multiple array types
(test_array_operations.csd)
Return Code: 15 Expected: 0
Tests Passed: 88
Tests Failed: 4
csound -Wd -n tests/regression//bugn.csd 2> csound_test_output.txt
[FAIL] - Test 9: named instruments (bugn.csd)
Return Code: 2 Expected: 0
csound -Wd -n tests/regression//bugs.csd 2> csound_test_output.txt
[FAIL] - Test 10: multipe strings in score (bugs.csd)
Return Code: 1 Expected: 0
Tests Passed: 41
Tests Failed: 2
amd64:
======
$ csound -nd tests/commandline//test23.csd
UnifiedCSD: tests/commandline//test23.csd
instr itest uses instrument number 1
Elapsed time at end of orchestra compile: real: 0.002s, CPU: 0.002s
sorting score ...
... done
Elapsed time at end of score sort: real: 0.002s, CPU: 0.002s
--Csound version 6.17 (double samples) 2022-04-08
[commit: none]
libsndfile-1.0.31
displays suppressed
sr = 48000.0, kr = 48000.000, ksmps = 1
0dBFS level = 32768.0, A4 tuning = 440.0
orch now loaded
audio buffered in 256 sample-frame blocks
not writing to sound disk
SECTION 1:
new alloc for instr itest:
instr 1: ipch = 440.000
B 0.000 .. 1.000 T 1.000 TT 1.000 M: 11418.1 11418.1
instr 1: ipch = 550.000
B 1.000 .. 2.000 T 2.000 TT 2.000 M: 11326.1 11326.1
instr 1: ipch = 660.000
B 2.000 .. 3.000 T 3.000 TT 3.000 M: 11237.2 11237.2
instr 1: ipch = 770.000
B 3.000 .. 4.000 T 4.000 TT 4.000 M: 11141.9 11141.9
instr 1: ipch = 880.000
B 4.000 .. 5.000 T 5.000 TT 5.000 M: 11054.5 11054.5
Score finished in csoundPerform().
inactive allocs returned to freespace
end of score. overall amps: 11418.1 11418.1
overall samples out of range: 0 0
0 errors in performance
Elapsed time at end of performance: real: 0.047s, CPU: 0.047s
no sound written to disk
ppc64:
======
$ csound -nd tests/commandline//test23.csd
UnifiedCSD: tests/commandline//test23.csd
instr itest uses instrument number 1
Elapsed time at end of orchestra compile: real: 0.003s, CPU: 0.003s
sorting score ...
... done
Elapsed time at end of score sort: real: 0.003s, CPU: 0.003s
--Csound version 6.17 (double samples) 2022-04-02
[commit: none]
libsndfile-1.0.31
displays suppressed
sr = 48000.0, kr = 48000.000, ksmps = 1
0dBFS level = 32768.0, A4 tuning = 440.0
orch now loaded
audio buffered in 256 sample-frame blocks
not writing to sound disk
SECTION 1:
B 0.000 - note deleted. instr -2147483648(200) undefined
B 0.000 .. 1.000 T 1.000 TT 1.000 M: 0.0 0.0
B 1.000 - note deleted. instr -2147483648(200) undefined
B 1.000 .. 2.000 T 2.000 TT 2.000 M: 0.0 0.0
B 2.000 - note deleted. instr -2147483648(200) undefined
B 2.000 .. 3.000 T 3.000 TT 3.000 M: 0.0 0.0
B 3.000 - note deleted. instr -2147483648(200) undefined
B 3.000 .. 4.000 T 4.000 TT 4.000 M: 0.0 0.0
B 4.000 - note deleted. instr -2147483648(200) undefined
Score finished in csoundPerform().
inactive allocs returned to freespace
end of score. overall amps: 0.0 0.0
overall samples out of range: 0 0
5 errors in performance
Elapsed time at end of performance: real: 0.052s, CPU: 0.052s
no sound written to disk
Description: Skip tests known to fail on big-endian architectures
Author: Graham Inggs <ginggs@debian.org>
Last-Update: 2022-04-08
--- a/tests/commandline/test.py
+++ b/tests/commandline/test.py
@@ -178,6 +178,12 @@
tests += arrayTests
tests += udoTests
+ if (sys.byteorder == 'big'):
+ tests.remove(["test23.csd", "named instrument"])
+ tests.remove(["test33.csd", "using named instrument from score (testing score strings)"])
+ tests.remove(["test36.csd", "opcode with all input args optional (passign)"])
+ tests.remove(["test_array_operations.csd", "test multiple operations on multiple array types"])
+
output = ""
tempfile = 'csound_test_output.txt'
counter = 1
--- a/tests/regression/test.py
+++ b/tests/regression/test.py
@@ -90,6 +90,10 @@
["gen16.csd", "overwriting in gen16"]
]
+ if (sys.byteorder == 'big'):
+ tests.remove(["bugn.csd", "named instruments"])
+ tests.remove(["bugs.csd", "multipe strings in score"])
+
output = ""
tempfile = "csound_test_output.txt"
counter = 1
Reply to: