Please test and upload: ORBit/libIDL, libIDL2, ORBit2

Gerrit P. Haase gerrit@familiehaase.de
Wed Aug 24 11:48:00 GMT 2005


Gerrit P. Haase wrote:

> Dr. Volker Zell wrote:
> 
>> Right now I'm trying to do a make check, but it seems to hang with the
>> following output for me:
>>
> ....
> 
>> Making check in test
>> make[2]: Entering directory `/usr/src/ORBit2-2.12.3/.build/linc2/test'
>> make  check-TESTS
>> make[3]: Entering directory `/usr/src/ORBit2-2.12.3/.build/linc2/test'
>> Available protocols: {
>>         '    IPv4':  2,  16,  6, 0x0000 [s-ail]
>>         '    UNIX':  1, 110,  0, 0x0003 [-dail]
>>  }

It hangs here in test_connected:
	/* FIXME: this is horribly difficult to regression test properly: we 
fail */
	g_assert (link_connection_wait_connected (client) == LINK_CONNECTED);

What should we do about it, just leave it as is and report upstream that
the assertion fails on Cygwin?


If I kill this test manually I get also errors in the other tests:

make  check-TESTS
make[5]: Entering directory 
`/instsoft/Yaakov/ORBit2-2.12.3/.build/test/everything'
Sample name: '/tmp/orbit-gerrit/tst/orbit-gerrit/linc-78fe-0-14c0fc671d5b4'
Running with socketdir: '/tmp/orbit-gerrit/tst'
testing with --ORBIIOPIPv4=1 --ORBIIOPUSock=0 --ORBCorbaloc=1
Local server test passed

Initial References:
         DynAnyFactory ... okay
         POACurrent ... okay
         RootPOA ... okay
Protocol     IPv4: enabled
Protocol     UNIX: disabled

  --- In proc ---


Local server test passed
In proc (fast) took 0 msecs
In proc (slow) took 0 msecs
Testing ORBit_sequence helpers...
Testing constants...
Testing attributes...
Testing strings...
Testing longs...
Testing long longs...
Testing floats...
Testing doubles...
Testing long doubles...
Testing enums...
Testing exceptions...
Testing bool arg. alignment ...
Testing is_a ...
Testing struct code ...

** (process:3664): WARNING **: FIXME: opMassiveSeq fails - due to max. 
size check

** ERROR **: file 
/instsoft/Yaakov/ORBit2-2.12.3/test/everything/client.c: line 1350 
(testAnyEquivalence): assertion failed: (!ORBit_any_equivalent (a, b, ev))
aborting...
Testing variable length structs...
Testing compound structs...
Testing structs with aligning holes...
Testing object structs...
Testing 'any' structs...
Testing unbounded sequences...
Testing bounded sequences...
Testing sequence<any>...
Testing fixed length unions...
Testing variable length unions...
Testing misc type unions...
Testing arrays with fixed length members...
Testing arrays with variable length members...
Testing any with string sequences ...
Testing any with longs...
Testing any with strings...
Testing any with structs...
Testing Any with exception...
Testing Anys equivalence...
/instsoft/Yaakov/ORBit2-2.12.3/test/everything/test.sh: line 56:  3664 
Aborted                 (core dumped) ./client $1
=============================================================
Test failed with params: --ORBIIOPIPv4=1 --ORBIIOPUSock=0 --ORBCorbaloc=1
   if this is an IPv4 test, can you ping INSPIRON ?
=============================================================
FAIL: /instsoft/Yaakov/ORBit2-2.12.3/test/everything/test.sh
make[5]: *** [check-TESTS] Error 1
make[4]: *** [check-am] Error 2
===================
make[3]: *** [check] Error 2
1 of 1 tests failed
===================
make[5]: Leaving directory 
`/instsoft/Yaakov/ORBit2-2.12.3/.build/test/everything'
make[4]: Leaving directory 
`/instsoft/Yaakov/ORBit2-2.12.3/.build/test/everything'
make[3]: Leaving directory 
`/instsoft/Yaakov/ORBit2-2.12.3/.build/test/everything'
make[2]: *** [check-recursive] Error 1
make[2]: Leaving directory `/instsoft/Yaakov/ORBit2-2.12.3/.build/test'
make[1]: *** [check] Error 2
make[1]: Leaving directory `/instsoft/Yaakov/ORBit2-2.12.3/.build/test'
make: *** [check-recursive] Error 1



Skipping everything directory results in this:

make  check-TESTS
make[5]: Entering directory 
`/instsoft/Yaakov/ORBit2-2.12.3/.build/test/inhibit'
Inhibit build tests passed
PASS: test-inhibit
==================
All 1 tests passed
==================

make  check-TESTS
make[5]: Entering directory `/instsoft/Yaakov/ORBit2-2.12.3/.build/test/poa'
PASS: test-poa
PASS: test-poa
PASS: poatest-basic01
PASS: poatest-basic02
PASS: poatest-basic03
PASS: poatest-basic04
PASS: poatest-basic06
PASS: poatest-basic07
PASS: poatest-basic08
PASS: poatest-basic09
PASS: poatest-basic10
===================
All 10 tests passed
===================


make  check-TESTS
make[4]: Entering directory `/instsoft/Yaakov/ORBit2-2.12.3/.build/test'

** ERROR **: file /instsoft/Yaakov/ORBit2-2.12.3/test/test-dynany.c: 
line 358 (test_array): assertion failed: (double_equal 
(DynamicAny_DynAny_get_double (dyn_any, ev), d))
aborting...
Testing basic DynAny ...
  + long ops ...
  + string ops ...
  + copying ...
Testing DynSequence ...
Testing DynEnum ...
Testing DynUnion ...
Testing DynArray...
FAIL: test-dynany
mem usage prev/post:     0KB /     0KB --  1000x test_ORBit_alloc ()
mem usage prev/post:     0KB /     0KB --  1000x test_ORBit_sequence ()
mem usage prev/post:     0KB /     0KB --  1000x 
test_activate_deactivate (poa, ev)
PASS: test-mem
ORB: init took 27(ms)
Testing copy...
  copy IDL:omg.org/CORBA/octet:1.0 : 0.003(ms)
  copy               (null) : 0.003(ms)
  copy IDL:omg.org/CORBA/double:1.0 : 0.003(ms)
  copy IDL:omg.org/CORBA/string:1.0 : 0.005(ms)
  copy               (null) : 0.003(ms)
  copy IDL:omg.org/GIOP/TargetAddress:1.0 : 0.004(ms)
Testing strdup ...
  g_strdup :     1.7(ns)
  CORBA_strdup : 6.9(ns)
Testing object activation...
  activation : 0.019(ms)
  de-activation : 0.07(ms)
ORB: destroy took 0(ms)
Overall bogomark 6868.13
PASS: test-performance
Testing fragment support ...

######################## HANGS HERE ##############################

PASS: test-giop
running...
verify "corbaloc:iiop:localhost:9999/NameService"
verify "corbaloc:iiop:1.2@localhost/NameService"
verify "corbaloc:iiop:gnome.org:8888,iiop:gnome.de:7777/NameService"
verify "corbaloc::gnome.org:8888,:gnome.de:7777/NameService"
verify "corbaloc::gnome.org,:gnome.de/NameService"
verify "iiop:1.2@home.de/objkey"
verify "iiop:gnome.org:8787/NameService"
verify "iiop:gnome.org/NameService"
verify "iiop://gnome.org/NameService"
verify "corbaloc:iiops:localhost:8885/NameService"
verify "corbaloc:iiops:localhost:8885/%4e%61%6d%65%53%65%72%76%69%63%65"
verify "corbaloc:ssliop:localhost:8885/NameService"
verify "corbaloc:uiop:/tmp/orbit-frehberg-3333:/NameService"
verify 
"corbaloc:uiop:/tmp/orbit-frehberg-3333:,iiop:localhost:88/NameService"
PASS: test-corbaloc
make[4]: *** [check-TESTS] Error 1
make[3]: *** [check-am] Error 2
===================
1 of 5 tests failed
===================


So test-giop hangs.

The message is printed and then it doesn't return from one of the 
following two lines:
	fprintf (stderr, "Testing fragment support ...\n");
	run_test (orb, test_fragments, FALSE);
	run_test (orb, test_fragments, TRUE);


Gerrit



More information about the Cygwin-apps mailing list