Some TCAP tests fails while building ss7 project trunk code revision 15671

21 views
Skip to first unread message

mosbah abdelkader

unread,
Dec 8, 2010, 6:33:27 AM12/8/10
to mobicent...@googlegroups.com
Hi,


Here is the log:



linux-f99j:/home/user/src/mob-ss7-r15671/ss7/tcap # mvn install                                                                                                               
[INFO] Scanning for projects...                                                                                                                                                    
[INFO] Reactor build order:                                                                                                                                                        
[INFO]   Mobicents SS7 :: TCAP :: Parent :: tcap-parent                                                                                                                            
[INFO]   Mobicents SS7 :: TCAP :: Api :: tcap-api                                                                                                                                  
[INFO]   Mobicents SS7 :: TCAP :: Impl :: tcap-impl                                                                                                                                
[INFO] ------------------------------------------------------------------------                                                                                                    
[INFO] Building Mobicents SS7 :: TCAP :: Parent :: tcap-parent                                                                                                                     
[INFO]    task-segment: [install]                                                                                                                                                  
[INFO] ------------------------------------------------------------------------                                                                                                    
[INFO] [site:attach-descriptor]                                                                                                                                                    
[INFO] [install:install]                                                                                                                                                           
[INFO] Installing /home/user/src/mob-ss7-r15671/ss7/tcap/pom.xml to /root/.m2/repository/org/mobicents/protocols/ss7/tcap/tcap-parent/1.0.0-SNAPSHOT/tcap-parent-1.0.0-SNAPSHOT.pom                                                                                                                                                                               
[INFO] ------------------------------------------------------------------------                                                                                                    
[INFO] Building Mobicents SS7 :: TCAP :: Api :: tcap-api                                                                                                                           
[INFO]    task-segment: [install]                                                                                                                                                  
[INFO] ------------------------------------------------------------------------                                                                                                    
[INFO] [resources:resources]                                                                                                                                                       
[INFO] Using default encoding to copy filtered resources.                                                                                                                          
[INFO] snapshot org.mobicents.protocols.ss7.sccp:sccp-parent:1.0.0-SNAPSHOT: checking for updates from jboss-snapshots                                                             
[INFO] snapshot org.mobicents.protocols.ss7.sccp:sccp-parent:1.0.0-SNAPSHOT: checking for updates from jboss-public-repository-group                                               
Downloading: http://repo1.maven.org/maven2/org/mobicents/protocols/asn/asn/1.0.0.BETA3/asn-1.0.0.BETA3.pom                                                                         
Downloading: http://repository.jboss.org/maven2/org/mobicents/protocols/asn/asn/1.0.0.BETA3/asn-1.0.0.BETA3.pom                                                                    
Downloading: https://repository.jboss.org/nexus/content/groups/public//org/mobicents/protocols/asn/asn/1.0.0.BETA3/asn-1.0.0.BETA3.pom                                             
1K downloaded                                                                                                                                                                      
Downloading: http://repo1.maven.org/maven2/org/mobicents/protocols/asn/asn-parent/1.0.0.BETA3/asn-parent-1.0.0.BETA3.pom                                                           
Downloading: http://repository.jboss.org/maven2/org/mobicents/protocols/asn/asn-parent/1.0.0.BETA3/asn-parent-1.0.0.BETA3.pom                                                      
Downloading: https://repository.jboss.org/nexus/content/groups/public//org/mobicents/protocols/asn/asn-parent/1.0.0.BETA3/asn-parent-1.0.0.BETA3.pom                               
4K downloaded                                                                                                                                                                      
Downloading: http://repo1.maven.org/maven2/org/mobicents/protocols/asn/asn/1.0.0.BETA3/asn-1.0.0.BETA3.jar                                                                         
Downloading: http://repository.jboss.org/maven2/org/mobicents/protocols/asn/asn/1.0.0.BETA3/asn-1.0.0.BETA3.jar                                                                    
Downloading: https://repository.jboss.org/nexus/content/groups/public//org/mobicents/protocols/asn/asn/1.0.0.BETA3/asn-1.0.0.BETA3.jar                                             
16K downloaded                                                                                                                                                                     
[INFO] [compiler:compile]                                                                                                                                                          
[INFO] Compiling 74 source files to /home/user/src/mob-ss7-r15671/ss7/tcap/tcap-api/target/classes                                                                            
[INFO] [resources:testResources]                                                                                                                                                   
[INFO] Using default encoding to copy filtered resources.                                                                                                                          
[INFO] [compiler:testCompile]                                                                                                                                                      
[INFO] No sources to compile                                                                                                                                                       
[INFO] [surefire:test]                                                                                                                                                             
[INFO] No tests to run.                                                                                                                                                            
[INFO] [jar:jar]                                                                                                                                                                   
[INFO] Building jar: /home/user/src/mob-ss7-r15671/ss7/tcap/tcap-api/target/tcap-api-1.0.0-SNAPSHOT.jar                                                                       
[INFO] [install:install]                                                                                                                                                           
[INFO] Installing /home/user/src/mob-ss7-r15671/ss7/tcap/tcap-api/target/tcap-api-1.0.0-SNAPSHOT.jar to /root/.m2/repository/org/mobicents/protocols/ss7/tcap/tcap-api/1.0.0-SNAPSHOT/tcap-api-1.0.0-SNAPSHOT.jar                                                                                                                                                 
[INFO] ------------------------------------------------------------------------                                                                                                    
[INFO] Building Mobicents SS7 :: TCAP :: Impl :: tcap-impl                                                                                                                         
[INFO]    task-segment: [install]                                                                                                                                                  
[INFO] ------------------------------------------------------------------------                                                                                                    
[INFO] [resources:resources]                                                                                                                                                       
[INFO] Using default encoding to copy filtered resources.                                                                                                                          
[INFO] [compiler:compile]                                                                                                                                                          
[INFO] Compiling 45 source files to /home/user/src/mob-ss7-r15671/ss7/tcap/tcap-impl/target/classes                                                                           
[INFO] [resources:testResources]                                                                                                                                                   
[INFO] Using default encoding to copy filtered resources.                                                                                                                          
[INFO] [compiler:testCompile]                                                                                                                                                      
[INFO] Compiling 12 source files to /home/user/src/mob-ss7-r15671/ss7/tcap/tcap-impl/target/test-classes                                                                      
[INFO] [surefire:test]                                                                                                                                                             
[INFO] Surefire report directory: /home/user/src/mob-ss7-r15671/ss7/tcap/tcap-impl/target/surefire-reports                                                                    

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.mobicents.protocols.ss7.tcap.asn.TcContinueTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.08 sec
Running org.mobicents.protocols.ss7.tcap.asn.DialogPortionTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.017 sec
Running org.mobicents.protocols.ss7.tcap.asn.TcEndTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec
Running org.mobicents.protocols.ss7.tcap.TCAPFunctionalTest
log4j:WARN No appenders could be found for logger (org.mobicents.protocols.ss7.sccp.impl.SccpStackImpl).
log4j:WARN Please initialize the log4j system properly.
org.mobicents.protocols.ss7.tcap.api.TCAPException: Received Continue primitive, but state is not proper: Idle, Dialog: org.mobicents.protocols.ss7.tcap.DialogImpl@1faba46: Local[0] Remote[null], LocalAddress[pc=0,ssn=0,gt=GLOBAL_TITLE_INCLUDES_NATURE_OF_ADDRESS_INDICATOR_ONLY 123] RemoteAddress[pc=0,ssn=0,gt=GLOBAL_TITLE_INCLUDES_NATURE_OF_ADDRESS_INDICATOR_ONLY 321]
        at org.mobicents.protocols.ss7.tcap.DialogImpl.processContinue(DialogImpl.java:830)
        at org.mobicents.protocols.ss7.tcap.TCAPProviderImpl.onMessage(TCAPProviderImpl.java:231)
        at org.mobicents.protocols.ss7.sccp.impl.SccpProviderImpl.notify(SccpProviderImpl.java:89)
        at org.mobicents.protocols.ss7.sccp.impl.SccpStackImpl.route(SccpStackImpl.java:209)
        at org.mobicents.protocols.ss7.sccp.impl.SccpStackImpl.access$200(SccpStackImpl.java:51)
        at org.mobicents.protocols.ss7.sccp.impl.SccpStackImpl$MessageHandler.run(SccpStackImpl.java:311)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:662)
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 90.06 sec <<< FAILURE!
Running org.mobicents.protocols.ss7.tcap.asn.TcBeginTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec
Running org.mobicents.protocols.ss7.tcap.asn.ReturnResultLastTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.mobicents.protocols.ss7.tcap.asn.UserInformationTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running org.mobicents.protocols.ss7.tcap.asn.InvokeTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running org.mobicents.protocols.ss7.tcap.asn.TCAbortTest
 67 2e 49 04 7b a5 34 13 6b 26 28 24 06 07 00 11 86 05 01 01 01 a0 19 64 17 80 01 00 be 12 28 10 06 07 04 00 00 01 01 01 01 a0 05 a3 03 0a 01 00
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Running org.mobicents.protocols.ss7.tcap.asn.DialogRequestAPDUTest
Amit is working on MAP
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec

Results :

Failed tests:
  testSimpleTCWithDialog(org.mobicents.protocols.ss7.tcap.TCAPFunctionalTest)

Tests run: 29, Failures: 1, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.

Please refer to /home/user/src/mob-ss7-r15671/ss7/tcap/tcap-impl/target/surefire-reports for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 minute 55 seconds
[INFO] Finished at: Wed Dec 08 12:31:10 CET 2010
[INFO] Final Memory: 35M/210M
[INFO] ------------------------------------------------------------------------


Bartosz Baranowski

unread,
Dec 8, 2010, 12:47:41 PM12/8/10
to mobicent...@googlegroups.com
Thanks will check.(Did not face this issue.)
Bartosz Baranowski
JBoss R & D
==================================
Word of criticism meant to improve is always step forward.

Bartosz Baranowski

unread,
Dec 14, 2010, 3:29:35 AM12/14/10
to mobicent...@googlegroups.com
Hi Mosbah
Ive tried to run tests on different OSs, on all, tests are green. Could you paste your setup and tests detail?

Bartosz Baranowski
JBoss R & D
==================================
Word of criticism meant to improve is always step forward.


mosbah abdelkader

unread,
Dec 14, 2010, 5:31:30 AM12/14/10
to mobicent...@googlegroups.com
Hi Bartosz,


My environment OpenSUSE linux 11.1:

linux-f99j:/home/user/src/mobicents-ss7-trunk/ss7/tools/ussd-simulator # java -version
java version "1.6.0_22"
Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
Java HotSpot(TM) Server VM (build 17.1-b03, mixed mode)



linux-f99j:/home/user/src/mobicents-ss7-trunk/ss7/tools/ussd-simulator # javac -version
javac 1.6.0_22



linux-f99j:/home/ultracomp/src/mobicents-ss7-trunk/ss7/tools/ussd-simulator # uname -a
Linux linux-f99j 2.6.27.7-9-pae #1 SMP 2008-12-04 18:10:04 +0100 i686 i686 i386 GNU/Linux




Have checked out the latest trunk: revision 15751.


Here is the order of build that have followed ( cd and mvn install): parent, mtp, m3ua, sccp, tcap, map, management, ussd-simulator.


Have had errors in the mtp and tcap modules but I have obtained the jars. For ussd-simulator module binaries building fails.


--
BR

Abdelkader Mosbah.
mtp.log
tcap.log
ussd-simulator.log
Reply all
Reply to author
Forward
0 new messages