[Bug 526] New: Corba-test fails on latest trunk

For more infomation about this bug, visit
Summary: Corba-test fails on latest trunk
Product: RTT
Version: rtt-trunk
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Tests
AssignedTo: orocos-dev [..] ...
ReportedBy: tinne [dot] delaet [..] ...
CC: orocos-dev [..] ...
Estimated Hours: 0.0

When running make check on the latest trunk, the corba-test fails.
I ran the tests on a quad core 64 bit computer.

9/ 9 Testing corba-test
Test command: /src/rtt/build-gnulinux/tests/corba-test
0.000 [ Warning][Toolkit] No 'CORBA' transport available for uint
0.001 [ Warning][Toolkit] No 'CORBA' transport available for char
.IOR:010000001e00000049444c3a5254542f436f7262612f436f6e74726f6c5461736b3a312e300000000100000000000000780000000101020019000000463032312e6d6563682e6b756c657576656e2e61632e6265000023ce1b00000014010f0052535491e3d847694803000000000001000000010000000002000000000000000800000001000000004f41540100000018000000010000000100010001000000010001050901010000000000
IOR:010000001e00000049444c3a5254542f436f7262612f436f6e74726f6c5461736b3a312e300000000100000000000000780000000101020019000000463032312e6d6563682e6b756c657576656e2e61632e6265000023ce1b00000014010f0052535491e3d847694803001f00000001000000200000000002000000000000000800000001000000004f41540100000018000000010000000100010001000000010001050901010000000000
IOR:010000001e00000049444c3a5254542f436f7262612f436f6e74726f6c5461736b3a312e300000000100000000000000780000000101020019000000463032312e6d6563682e6b756c657576656e2e61632e6265000023ce1b00000014010f0052535491e3d847694803003500000001000000360000000002000000000000000800000001000000004f41540100000018000000010000000100010001000000010001050901010000000000
Orb destroyed.
..F..
corba_test.cpp:123:Assertion
Test name: CorbaTest::testRemoteMethod
equality assertion failed
- Expected: -1
- Actual : 0

Failures !!!
Run: 5 Failure total: 1 Failures: 1 Errors: 0

-- Process completed
***Failed

89% tests passed, 1 tests failed out of 9

The following tests FAILED:
9 - corba-test (Failed)

Tinne

[Bug 526] Corba-test fails on latest trunk

For more infomation about this bug, visit

Peter Soetens
<peter [dot] soetens [..] ...> changed:

What |Removed |Added
--------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED

--- Comment #3 from Peter Soetens
<peter [dot] soetens [..] ...> 2008-03-13 14:15:15 ---
Fixed on trunk.

$ svn di
Index: config/global_setup.cmake
===================================================================
--- config/global_setup.cmake (revision 29048)
+++ config/global_setup.cmake (working copy)
@@ -70,7 +70,13 @@
# CORBA
#
DEPENDENT_OPTION( ENABLE_CORBA "Enable CORBA (using TAO)" OFF "ACE_CONFIG AND
TAO_ORB AND TAO_ORBSVCS;NOT ORO_EMBEDDED" OFF)
-OPTION( ORO_REMOTING "Enable transparant Remote Methods and Commands in C++")
+OPTION( ORO_REMOTING "Enable transparant Remote Methods and Commands in C++"
${ENABLE_CORBA} )
+# Force remoting when CORBA is enabled.
+IF ( ENABLE_CORBA AND NOT ORO_REMOTING )
+ MESSAGE( "Forcing ORO_REMOTING to ON")
+ SET( ORO_REMOTING ON CACHE BOOL "Enable transparant Remote Methods and
Commands in C++" FORCE)
+ENDIF( ENABLE_CORBA AND NOT ORO_REMOTING )
+
#IF (ENABLE_CORBA)
# Finally:
# IF (BUILD_STATIC)
sspr@lt00129:~/src/Orocos/trunk/rtt
$ svn ci config/global_setup.cmake -m"Fix bug #526: Corba-test fails on latest
trunk. ORO_REMOTING was not enabled."
Sending config/global_setup.cmake
Transmitting file data .
Committed revision 29049.

[Bug 526] Corba-test fails on latest trunk

For more infomation about this bug, visit

Peter Soetens
<peter [dot] soetens [..] ...> changed:

What |Removed |Added
--------------------------------------------------------------------------
Status|NEW |ASSIGNED
CC| |peter [dot] soetens [..] ...
Target Milestone|--- |1.6.0

--- Comment #2 from Peter Soetens
<peter [dot] soetens [..] ...> 2008-03-13 13:57:42 ---
(In reply to comment #0)
> When running make check on the latest trunk, the corba-test fails.
> I ran the tests on a quad core 64 bit computer.

The ORO_REMOTING cmake option is aparantly not enabled in your setup. You can
enable it with 'ccmake ..' I'll try to figure out how to enable this option by
default when you enable CORBA.

Peter

Ruben Smits's picture

[Bug 526] Corba-test fails on latest trunk

For more infomation about this bug, visit

Ruben Smits <ruben [dot] smits [..] ...> changed:

What |Removed |Added
--------------------------------------------------------------------------
CC| |ruben [dot] smits [..] ...

--- Comment #1 from Ruben Smits <ruben [dot] smits [..] ...> 2008-03-13 09:37:12 ---
I can reproduce this bug on a 32-bit system with RTT-target LXRT:

9/ 9 Testing corba-test
Test command: /src/rtt/build-lxrt/tests/corba-test
0.001 [ Warning][Toolkit] No 'CORBA' transport available for uint
0.003 [ Warning][Toolkit] No 'CORBA' transport available for char
.IOR:010000001e00000049444c3a5254542f436f7262612f436f6e74726f6c5461736b3a312e300000000100000000000000780000000101020019000000463031392e6d6563682e6b756c657576656e2e61632e6265000086a11b00000014010f0052535463e6d847690e0e000000000001000000010000000002000000000000000800000001000000004f41540100000018000000010000000100010001000000010001050901010000000000
IOR:010000001e00000049444c3a5254542f436f7262612f436f6e74726f6c5461736b3a312e300000000100000000000000780000000101020019000000463031392e6d6563682e6b756c657576656e2e61632e6265000086a11b00000014010f0052535463e6d847690e0e001f00000001000000200000000002000000000000000800000001000000004f41540100000018000000010000000100010001000000010001050901010000000000
IOR:010000001e00000049444c3a5254542f436f7262612f436f6e74726f6c5461736b3a312e300000000100000000000000780000000101020019000000463031392e6d6563682e6b756c657576656e2e61632e6265000086a11b00000014010f0052535463e6d847690e0e003500000001000000360000000002000000000000000800000001000000004f41540100000018000000010000000100010001000000010001050901010000000000
Orb destroyed.
..F..
corba_test.cpp:123:Assertion
Test name: CorbaTest::testRemoteMethod
equality assertion failed
- Expected: -1
- Actual : 0

Ruben