Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 738620 - dev-ros/test_roscpp-1.15.8 fails tests
Summary: dev-ros/test_roscpp-1.15.8 fails tests
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Robot Operating System team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-22 19:49 UTC by Agostino Sarubbo
Modified: 2020-08-27 08:53 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,237.28 KB, text/plain)
2020-08-22 19:49 UTC, Agostino Sarubbo
Details
1-CMakeError.log (1-CMakeError.log,2.47 KB, text/plain)
2020-08-22 19:49 UTC, Agostino Sarubbo
Details
1-CMakeOutput.log (1-CMakeOutput.log,33.21 KB, text/plain)
2020-08-22 19:49 UTC, Agostino Sarubbo
Details
1-LastTest.log (1-LastTest.log,205.65 KB, text/plain)
2020-08-22 19:49 UTC, Agostino Sarubbo
Details
rostest-localhost-1299.log (rostest-localhost-1299.log,57.63 KB, text/plain)
2020-08-25 18:55 UTC, Agostino Sarubbo
Details
rostest-localhost-1271.log (rostest-localhost-1271.log,19.21 KB, text/plain)
2020-08-26 14:51 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-08-22 19:49:09 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-ros/test_roscpp-1.15.8 fails tests.
Discovered on: amd64 (internal ref: tinderbox)

NOTE:
This machine uses a clang/LLVM toolchain.
If you think that this issue is strictly related to clang/LLVM please block bug 408963. If you think that this issue is strictly related to the LLD linker, please block bug 731004.
This machine uses also GLIBC-2.32. If you think that this issue is strictly related to GLIBC please block bug 736174.
Comment 1 Agostino Sarubbo gentoo-dev 2020-08-22 19:49:11 UTC
Created attachment 656236 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2020-08-22 19:49:12 UTC
Created attachment 656238 [details]
1-CMakeError.log

1-CMakeError.log
Comment 3 Agostino Sarubbo gentoo-dev 2020-08-22 19:49:14 UTC
Created attachment 656240 [details]
1-CMakeOutput.log

1-CMakeOutput.log
Comment 4 Agostino Sarubbo gentoo-dev 2020-08-22 19:49:15 UTC
Created attachment 656242 [details]
1-LastTest.log

1-LastTest.log
Comment 5 Alexis Ballier gentoo-dev 2020-08-24 12:14:32 UTC
i will need the contents of the detailed log file for this one:

... logging to /var/tmp/portage/dev-ros/test_roscpp-1.15.8/homedir/.ros/log/rostest-localhost-3802.log
Comment 6 Agostino Sarubbo gentoo-dev 2020-08-25 18:55:37 UTC
Created attachment 656744 [details]
rostest-localhost-1299.log

NOTE: the failure is not always reproducible
Comment 7 Alexis Ballier gentoo-dev 2020-08-26 13:02:23 UTC
(In reply to Agostino Sarubbo from comment #6)
> Created attachment 656744 [details]
> rostest-localhost-1299.log

seems to be the wrong one: this is about test_roscpp/test/launch/name_remapping.xml (aka 29/63 Test: _ctest_test_roscpp_rostest_test_launch_name_remapping.xml) which passes
and the reported failure is about '58/63 Testing: _ctest_test_roscpp_rostest_test_launch_multiple_latched_publishers.xml'


> 
> NOTE: the failure is not always reproducible

could it be due to high load ?
Comment 8 Agostino Sarubbo gentoo-dev 2020-08-26 14:14:11 UTC
(In reply to Alexis Ballier from comment #7)
> (In reply to Agostino Sarubbo from comment #6)
> > Created attachment 656744 [details]
> > rostest-localhost-1299.log
> 
> seems to be the wrong one: this is about
> test_roscpp/test/launch/name_remapping.xml (aka 29/63 Test:
> _ctest_test_roscpp_rostest_test_launch_name_remapping.xml) which passes
> and the reported failure is about '58/63 Testing:
> _ctest_test_roscpp_rostest_test_launch_multiple_latched_publishers.xml'

Sorry I'll attach the correct one

> > NOTE: the failure is not always reproducible
> 
> could it be due to high load ?

It is always < nproc
Comment 9 Agostino Sarubbo gentoo-dev 2020-08-26 14:50:46 UTC
I realized that I attached that log because atm is the one that is failing.

29/63 Test: _ctest_test_roscpp_rostest_test_launch_name_remapping.xml
Command: "/var/tmp/portage/dev-ros/test_roscpp-1.15.8/work/test_roscpp-1.15.8_build/catkin_generated/env_cached.sh" "/usr/bin/python3.7" "/usr/share/catkin/cmake/test/run_t
ests.py" "/var/tmp/portage/dev-ros/test_roscpp-1.15.8/work/test_roscpp-1.15.8_build/test_results/test_roscpp/rostest-test_launch_name_remapping.xml" "--return-code" "/usr/b
in/python3.7 /usr/share/rostest/cmake/../../../bin/rostest --pkgdir=/var/tmp/portage/dev-ros/test_roscpp-1.15.8/work/ros_comm-1.15.8/test/test_roscpp --package=test_roscpp 
--results-filename test_launch_name_remapping.xml --results-base-dir "/var/tmp/portage/dev-ros/test_roscpp-1.15.8/work/test_roscpp-1.15.8_build/test_results" /var/tmp/porta
ge/dev-ros/test_roscpp-1.15.8/work/ros_comm-1.15.8/test/test_roscpp/test/launch/name_remapping.xml "
Directory: /var/tmp/portage/dev-ros/test_roscpp-1.15.8/work/test_roscpp-1.15.8_build/test
"_ctest_test_roscpp_rostest_test_launch_name_remapping.xml" start time: Aug 26 16:42 CEST
Output:
----------------------------------------------------------
... logging to /var/tmp/portage/dev-ros/test_roscpp-1.15.8/homedir/.ros/log/rostest-localhost-1271.log
[ROSUNIT] Outputting test results to /var/tmp/portage/dev-ros/test_roscpp-1.15.8/work/test_roscpp-1.15.8_build/test_results/test_roscpp/rostest-test_launch_name_remapping.xml
[Testcase: testname_remapped] ... ok
[Testcase: testname_remapped_with_ns] ... FAILURE!
FAILURE: False is not true : test [name_remapped_with_ns] did not generate test results
  File "/usr/lib/python3.7/unittest/case.py", line 59, in testPartExecutor
    yield
  File "/usr/lib/python3.7/unittest/case.py", line 628, in run
    testMethod()
  File "/usr/lib/python3.7/site-packages/rostest/runner.py", line 164, in fn
    self.assert_(os.path.isfile(test_file), "test [%s] did not generate test results"%test_name)
  File "/usr/lib/python3.7/unittest/case.py", line 1351, in deprecated_func
    return original_func(*args, **kwargs)
  File "/usr/lib/python3.7/unittest/case.py", line 705, in assertTrue
    raise self.failureException(msg)
--------------------------------------------------------------------------------

[ROSTEST]-----------------------------------------------------------------------

[test_roscpp.rosunit-name_remapped/parameterRemapping][passed]
[test_roscpp.rosunit-name_remapped/nodeNameRemapping][passed]
[test_roscpp.rosunit-name_remapped/cleanName][passed]
[test_roscpp.rosunit-name_remapped/nodeHandleNameRemapping][passed]
[testname_remapped_with_ns][failed]

SUMMARY
 * RESULT: FAIL
 * TESTS: 4
 * ERRORS: 0
 * FAILURES: 1
Comment 10 Agostino Sarubbo gentoo-dev 2020-08-26 14:51:08 UTC
Created attachment 656920 [details]
rostest-localhost-1271.log
Comment 11 Alexis Ballier gentoo-dev 2020-08-26 17:30:44 UTC
now i can repro this one; this is weird
Comment 12 Larry the Git Cow gentoo-dev 2020-08-27 08:53:52 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=102a6e92ee17eddcc14354173023e6793cb526d4

commit 102a6e92ee17eddcc14354173023e6793cb526d4
Author:     Alexis Ballier <aballier@gentoo.org>
AuthorDate: 2020-08-27 08:51:39 +0000
Commit:     Alexis Ballier <aballier@gentoo.org>
CommitDate: 2020-08-27 08:53:48 +0000

    dev-ros/test_roscpp: serialize tests
    
    Closes: https://bugs.gentoo.org/738620
    Package-Manager: Portage-3.0.3, Repoman-3.0.0
    Signed-off-by: Alexis Ballier <aballier@gentoo.org>

 dev-ros/test_roscpp/test_roscpp-1.15.8.ebuild | 4 +++-
 dev-ros/test_roscpp/test_roscpp-9999.ebuild   | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)