Tests use an unsupported option for Valgrind <= 3.6.0
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
rohc | Status tracked in Rohc-main | |||||
1.3.x |
Invalid
|
Undecided
|
Didier Barvaux | |||
1.4.x |
Invalid
|
Undecided
|
Didier Barvaux | |||
Rohc-1.5.x |
Fix Released
|
Low
|
Didier Barvaux | |||
Rohc-main |
Fix Released
|
Low
|
Didier Barvaux |
Bug Description
'make check' is failing some testcases due to valgrind issue:
FAIL: test_feedback2_
FAIL: test_feedback2_
FAIL: test_feedback2_
FAIL: test_feedback2_
=======
4 of 4 tests failed
See test/functional
Please report to http://
=======
make[5]: *** [test-suite.log] Error 1
make[5]: Leaving directory `/home/
make[4]: *** [check-TESTS] Error 2
make[4]: Leaving directory `/home/
[Raman] The file test/functional
packet #16:
decompression is successful
5-byte feedback generated
Add-CID found
FEEDBACK-2 is a ack feedback as expected
SN (or a part of it) = 0x0fff
2-byte CRC option found
valgrind: Bad option '--show-
valgrind: Use --help for more information.
test failed inside valgrind (exit code 1)
grep: /tmp/valgrind_
XSL transformation failed:
command: /usr/bin/xsltproc "./../.
/tmp/valgrind_
</valgrindoutput>
^
/tmp/valgrind_
</valgrindoutput>
^
unable to parse /tmp/valgrind_
FAIL: test_feedback2_
=======
packet #1:
decompression is successful
6-byte feedback generated
FEEDBACK-2 is a ack feedback as expected
SN (or a part of it) = 0x0010
2-byte SN option found
2-byte CRC option found
valgrind: Bad option '--show-
valgrind: Use --help for more information.
test failed inside valgrind (exit code 1)
grep: /tmp/valgrind_
XSL transformation failed:
command: /usr/bin/xsltproc "./../.
/tmp/valgrind_
</valgrindoutput>
^
/tmp/valgrind_
</valgrindoutput>
^
unable to parse /tmp/valgrind_
FAIL: test_feedback2_
=======
packet #1:
decompression is successful
7-byte feedback generated
large CID found
FEEDBACK-2 is a ack feedback as expected
SN (or a part of it) = 0x0010
2-byte SN option found
2-byte CRC option found
valgrind: Bad option '--show-
valgrind: Use --help for more information.
test failed inside valgrind (exit code 1)
grep: /tmp/valgrind_
XSL transformation failed:
command: /usr/bin/xsltproc "./../.
/tmp/valgrind_
</valgrindoutput>
^
/tmp/valgrind_
</valgrindoutput>
^
unable to parse /tmp/valgrind_
FAIL: test_feedback2_
=======
packet #1:
decompression is successful
5-byte feedback generated
large CID found
FEEDBACK-2 is a ack feedback as expected
SN (or a part of it) = 0x0100
2-byte CRC option found
valgrind: Bad option '--show-
valgrind: Use --help for more information.
test failed inside valgrind (exit code 1)
grep: /tmp/valgrind_
XSL transformation failed:
command: /usr/bin/xsltproc "./../.
/tmp/valgrind_
</valgrindoutput>
^
/tmp/valgrind_
</valgrindoutput>
^
unable to parse /tmp/valgrind_
[Raman]: My valgrind version is 3.5.0
Your Valgrind version (3.5.0) seems to lack the --show- possibly- lost=yes option. Could you check that assertion in your Valgrind man page or with the following command:
$ valgrind --help | grep show-possibly-lost
To workaround the problem, edit the test/valgrind.sh script to remove the --show- possibly- lost=yes option:
- run_test_ with_valgrind( ) "--tool= memcheck --trace- children= yes --track-fds=yes possibly- lost=yes --show- reachable= yes with_valgrind( ) "--tool= memcheck --trace- children= yes --track-fds=yes reachable= yes
- {
- OPTIONS=
- --leak-check=full --show-
- --malloc-fill=0xaa --free-fill=0x55"
+ run_test_
+ {
+ OPTIONS=
+ --leak-check=full --show-
+ --malloc-fill=0xaa --free-fill=0x55"