elibom / mokai

Messaging Gateway
20 stars 15 forks source link

unable to build mokai with Debian 3.16.5-1~bpo70+1 (2014-11-02) x86_64 GNU/Linux #57

Open sah-anshu opened 9 years ago

sah-anshu commented 9 years ago

[INFO] ------------------------------------------------------------------------ Downloading: http://maven.cloudhopper.com/repos/third-party/cloudhopper/ch-smpp/4.1.2/ch-smpp-4.1.2.pom [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Mokai Parent ...................................... SUCCESS [0.279s] [INFO] Mokai SPI ......................................... SUCCESS [6.184s] [INFO] Mokai Core ........................................ SUCCESS [2:47.724s] [INFO] Mokai Connectors .................................. SUCCESS [0.004s] [INFO] Mokai SMPP Connector .............................. FAILURE [0.495s] [INFO] Mokai Http Connector .............................. SKIPPED [INFO] Mokai Jetty Connector ............................. SKIPPED [INFO] Mokai SMPP Server Connector ....................... SKIPPED [INFO] Mokai Mail Connector .............................. SKIPPED [INFO] Mokai IronMq Connector ............................ SKIPPED [INFO] Mokai RabbitMq Connector .......................... SKIPPED [INFO] Mokai Web Admin ................................... SKIPPED [INFO] Mokai Bootstrap ................................... SKIPPED [INFO] Mokai Assembly .................................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2:55.022s [INFO] Finished at: Fri Nov 28 15:50:48 UTC 2014 [INFO] Final Memory: 19M/173M [INFO] ------------------------------------------------------------------------

[ERROR] Failed to execute goal on project mokai-smpp: Could not resolve dependencies for project org.mokai:mokai-smpp:jar:0.11.7-SNAPSHOT: Failed to collect dependencies for [org.mokai:mokai-spi:jar:0.11.7-SNAPSHOT (provided), com.adenki:smppapi:jar:0.3.9 (compile), org.slf4j:slf4j-api:jar:1.6.1 (compile), net.gescobar:smpp-server:jar:0.2.0 (test), org.testng:testng:jar:5.13 (test), org.mockito:mockito-all:jar:1.8.5 (test), org.slf4j:slf4j-simple:jar:1.6.1 (test)]: Failed to read artifact descriptor for cloudhopper:ch-smpp:jar:4.1.2: Could not transfer artifact cloudhopper:ch-smpp:pom:4.1.2 from/to cloudhopper (http://maven.cloudhopper.com/repos/third-party/): Connection to http://maven.cloudhopper.com refused: Connection refused -> [Help 1]

sah-anshu commented 9 years ago

Hi After the update i am getting following error.

[INFO]
[INFO] ------------------------------------------------------------------------ [INFO] Building Mokai Connectors 0.11.7-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-install-plugin:2.3:install (default-install) @ mokai-connectors --- [INFO] Installing /usr/src/mokai/mokai-connectors/pom.xml to /root/.m2/repository/org/mokai/mokai-connectors/0.11.7-SNAPSHOT/mokai-connectors-0.11.7-SNAPSHOT.pom [INFO]
[INFO] ------------------------------------------------------------------------ [INFO] Building Mokai SMPP Connector 0.11.7-SNAPSHOT [INFO] ------------------------------------------------------------------------ Downloading: http://repository.elibom.net/nexus/content/repositories/releases/net/gescobar/smpp-server/0.4.2/smpp-server-0.4.2.pom Downloaded: http://repository.elibom.net/nexus/content/repositories/releases/net/gescobar/smpp-server/0.4.2/smpp-server-0.4.2.pom (4 KB at 4.2 KB/sec) Downloading: http://repository.elibom.net/nexus/content/repositories/releases/com/cloudhopper/ch-smpp/5.0.6/ch-smpp-5.0.6.pom Downloading: http://repo.maven.apache.org/maven2/com/cloudhopper/ch-smpp/5.0.6/ch-smpp-5.0.6.pom Downloaded: http://repo.maven.apache.org/maven2/com/cloudhopper/ch-smpp/5.0.6/ch-smpp-5.0.6.pom (3 KB at 6.7 KB/sec) Downloading: http://repo.maven.apache.org/maven2/joda-time/joda-time/maven-metadata.xml Downloading: http://repository.elibom.net/nexus/content/repositories/releases/joda-time/joda-time/maven-metadata.xml Downloading: https://repository.apache.org/content/repositories/snapshots/joda-time/joda-time/maven-metadata.xml Downloaded: http://repo.maven.apache.org/maven2/joda-time/joda-time/maven-metadata.xml (873 B at 3.0 KB/sec) Downloading: http://repo.maven.apache.org/maven2/com/cloudhopper/ch-commons-util/maven-metadata.xml Downloading: https://repository.apache.org/content/repositories/snapshots/com/cloudhopper/ch-commons-util/maven-metadata.xml Downloading: http://repository.elibom.net/nexus/content/repositories/releases/com/cloudhopper/ch-commons-util/maven-metadata.xml Downloaded: http://repo.maven.apache.org/maven2/com/cloudhopper/ch-commons-util/maven-metadata.xml (368 B at 1.3 KB/sec) Downloading: http://repository.elibom.net/nexus/content/repositories/releases/com/adenki/smppapi/0.3.9/smppapi-0.3.9.jar Downloading: http://repository.elibom.net/nexus/content/repositories/releases/commons-logging/commons-logging/1.1/commons-logging-1.1.jar Downloading: http://repository.elibom.net/nexus/content/repositories/releases/log4j/log4j/1.2.12/log4j-1.2.12.jar Downloading: http://repository.elibom.net/nexus/content/repositories/releases/logkit/logkit/1.0.1/logkit-1.0.1.jar Downloading: http://repository.elibom.net/nexus/content/repositories/releases/avalon-framework/avalon-framework/4.1.3/avalon-framework-4.1.3.jar Downloading: http://repository.elibom.net/nexus/content/repositories/releases/javax/servlet/servlet-api/2.3/servlet-api-2.3.jar Downloading: http://repository.elibom.net/nexus/content/repositories/releases/net/gescobar/smpp-server/0.4.2/smpp-server-0.4.2.jar Downloading: http://repository.elibom.net/nexus/content/repositories/releases/com/cloudhopper/ch-smpp/5.0.6/ch-smpp-5.0.6.jar Downloaded: http://repository.elibom.net/nexus/content/repositories/releases/net/gescobar/smpp-server/0.4.2/smpp-server-0.4.2.jar (38 KB at 31.4 KB/sec) Downloading: http://repo.maven.apache.org/maven2/com/adenki/smppapi/0.3.9/smppapi-0.3.9.jar Downloading: http://repo.maven.apache.org/maven2/commons-logging/commons-logging/1.1/commons-logging-1.1.jar Downloading: http://repo.maven.apache.org/maven2/log4j/log4j/1.2.12/log4j-1.2.12.jar Downloading: http://repo.maven.apache.org/maven2/logkit/logkit/1.0.1/logkit-1.0.1.jar Downloading: http://repo.maven.apache.org/maven2/avalon-framework/avalon-framework/4.1.3/avalon-framework-4.1.3.jar Downloaded: http://repo.maven.apache.org/maven2/avalon-framework/avalon-framework/4.1.3/avalon-framework-4.1.3.jar (63 KB at 86.9 KB/sec) Downloading: http://repo.maven.apache.org/maven2/javax/servlet/servlet-api/2.3/servlet-api-2.3.jar Downloaded: http://repo.maven.apache.org/maven2/commons-logging/commons-logging/1.1/commons-logging-1.1.jar (52 KB at 71.5 KB/sec) Downloading: http://repo.maven.apache.org/maven2/com/cloudhopper/ch-smpp/5.0.6/ch-smpp-5.0.6.jar Downloaded: http://repo.maven.apache.org/maven2/logkit/logkit/1.0.1/logkit-1.0.1.jar (71 KB at 81.9 KB/sec) Downloaded: http://repo.maven.apache.org/maven2/com/adenki/smppapi/0.3.9/smppapi-0.3.9.jar (148 KB at 115.3 KB/sec) Downloaded: http://repo.maven.apache.org/maven2/javax/servlet/servlet-api/2.3/servlet-api-2.3.jar (77 KB at 133.4 KB/sec) Downloaded: http://repo.maven.apache.org/maven2/log4j/log4j/1.2.12/log4j-1.2.12.jar (350 KB at 222.7 KB/sec) Downloaded: http://repo.maven.apache.org/maven2/com/cloudhopper/ch-smpp/5.0.6/ch-smpp-5.0.6.jar (156 KB at 181.0 KB/sec) [INFO] [INFO] --- maven-resources-plugin:2.3:resources (default-resources) @ mokai-smpp --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 2 resources [INFO] [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ mokai-smpp --- [INFO] Compiling 3 source files to /usr/src/mokai/mokai-connectors/mokai-smpp/target/classes [INFO] [INFO] --- maven-resources-plugin:2.3:testResources (default-testResources) @ mokai-smpp --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /usr/src/mokai/mokai-connectors/mokai-smpp/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ mokai-smpp --- [INFO] Compiling 1 source file to /usr/src/mokai/mokai-connectors/mokai-smpp/target/test-classes [INFO] [INFO] --- maven-surefire-plugin:2.10:test (default-test) @ mokai-smpp --- [INFO] Surefire report directory: /usr/src/mokai/mokai-connectors/mokai-smpp/target/surefire-reports


T E S T S

Running org.mokai.connector.smpp.test.SmppConnectorTest 251 [main] INFO net.gescobar.smppserver.SmppServer - SMPP Server started on SMPP port [4444] 251 [main] INFO net.gescobar.smppserver.SmppServer - << SMPP Server running on port 4444 >> 265 [main] INFO org.mokai.connector.smpp.SmppConnector - [processor=test] schedule connect after 0 millis 265 [main] INFO org.mokai.connector.smpp.SmppConnector - [processor=test] trying to connect to localhost - attempt #1... 351 [ReceiverDaemon] INFO org.mokai.connector.smpp.SmppConnector - [processor=test] an SMPPEvent was received: ie.omk.smpp.event.ReceiverStartEvent@77716910 396 [New I/O worker #1] INFO net.gescobar.smppserver.SmppSession - [test] session created with bind type: TRANSCIEVER 398 [New I/O worker #1] INFO net.gescobar.smppserver.SmppSession - [session-id=1,system-id=test] sending PDU to client: (bind_transceiver_resp: 0x00000016 0x80000009 0x00000000 0x00000001 result: "OK") (body: systemId []) (opts: (sc_interface_version: 0x0210 0x0001 [34])) 853 [main] INFO org.mokai.connector.smpp.SmppConnector - [processor=test] connected to 'localhost:4444' 865 [main] INFO net.gescobar.smppserver.SmppSession - [session-id=1,system-id=test] sending PDU to client: (deliver_sm: 0x00000098 0x00000005 0x00000000 0x00000001) (body: (serviceType [] sourceAddr [0x00 0x00 [3542]] destAddr [0x00 0x00 [3002175604]] esmCls [0x04] regDlvry [0x00] dcs [0x00] message [69643A3132303030207375623A3120646C7672643A31207375626D697420646174653A3131303130313030303020646F6E6520646174653A3131303130313030303020737461743A44454C49565244206572723A3020746578743A546869732069732061202E2E2E20])) (opts: ) 867 [ReceiverDaemon] INFO org.mokai.connector.smpp.SmppConnector - [processor=test] received Delivery Receipt: source: 3542, dest: 3002175604, text: id:12000 sub:1 dlvrd:1 submit date:1101010000 done date:1101010000 stat:DELIVRD err:0 text:This is a ... 2869 [New I/O worker #1] INFO net.gescobar.smppserver.SmppSession - [session-id=1,system-id=test] sending PDU to client: (unbind_resp: 0x00000010 0x80000006 0x00000000 0x00000002 result: "OK") (body: ) (opts: ) 2870 [ReceiverDaemon] INFO org.mokai.connector.smpp.SmppConnector - [processor=test] an SMPPEvent was received: ie.omk.smpp.event.ReceiverExitEvent@74d89d8c 2871 [New I/O worker #1] INFO net.gescobar.smppserver.SmppServer - [session-id=session-1] disconnected 2872 [main] INFO net.gescobar.smppserver.SmppServer - << SMPP Server stopped >> Tests run: 34, Failures: 1, Errors: 0, Skipped: 32, Time elapsed: 3.301 sec <<< FAILURE!

Results :

Failed tests: startSimulator(org.mokai.connector.smpp.test.SmppConnectorTest): Failed to bind to: 0.0.0.0/0.0.0.0:4444

Tests run: 34, Failures: 1, Errors: 0, Skipped: 32

[INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Mokai Parent ...................................... SUCCESS [0.437s] [INFO] Mokai SPI ......................................... SUCCESS [9.293s] [INFO] Mokai Core ........................................ SUCCESS [3:04.592s] [INFO] Mokai Connectors .................................. SUCCESS [0.010s] [INFO] Mokai SMPP Connector .............................. FAILURE [11.855s] [INFO] Mokai Http Connector .............................. SKIPPED [INFO] Mokai Jetty Connector ............................. SKIPPED [INFO] Mokai SMPP Server Connector ....................... SKIPPED [INFO] Mokai Mail Connector .............................. SKIPPED [INFO] Mokai IronMq Connector ............................ SKIPPED [INFO] Mokai RabbitMq Connector .......................... SKIPPED [INFO] Mokai Web Admin ................................... SKIPPED [INFO] Mokai Bootstrap ................................... SKIPPED [INFO] Mokai Assembly .................................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3:26.526s [INFO] Finished at: Mon Dec 01 03:53:53 UTC 2014 [INFO] Final Memory: 19M/114M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.10:test (default-test) on project mokai-smpp: There are test failures. [ERROR] [ERROR] Please refer to /usr/src/mokai/mokai-connectors/mokai-smpp/target/surefire-reports for the individual test results. [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :mokai-smpp