Build quickfixj failed

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Build quickfixj failed

Jack Tang
QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
QuickFIX/J Support: http://www.quickfixj.org/support/



Hello,

I clone quickfixj source code and follow http://www.quickfixj.org/quickfixj/usermanual/1.6.3/ to build quickfixj by using command mvn package -Dgenerator.decimal=true -DskipAT=true. Some tests are failed and I list re-build log below:

....
五月 20, 2017 11:31:58 上午 quickfix.SessionSchedule <init>
信息: [FIX.4.4:TW->ISLD] daily, 00:00:00-UTC - 00:00:00-UTC
<20170520-03:31:58, FIX.4.4:TW->ISLD, event> (Session FIX.4.4:TW->ISLD schedule is daily, 00:00:00-UTC - 00:00:00-UTC)
<20170520-03:31:58, FIX.4.4:TW->ISLD, event> (Created session: FIX.4.4:TW->ISLD)
五月 20, 2017 11:31:58 上午 quickfix.mina.NetworkingOptions logOption
信息: Socket option: SocketTcpNoDelay=true
五月 20, 2017 11:31:58 上午 quickfix.mina.NetworkingOptions logOption
信息: Socket option: SocketSynchronousWrites=false
五月 20, 2017 11:31:58 上午 quickfix.mina.NetworkingOptions logOption
信息: Socket option: SocketSynchronousWriteTimeout=30000
五月 20, 2017 11:31:58 上午 quickfix.mina.initiator.IoSessionInitiator <init>
信息: [FIX.4.4:TW->ISLD] [localhost/127.0.0.1:19888]
五月 20, 2017 11:31:58 上午 quickfix.mina.SessionConnector startSessionTimer
信息: SessionTimer started
五月 20, 2017 11:31:58 上午 quickfix.mina.SingleThreadedEventHandlingStrategy$1 run
信息: Started QFJ Message Processor
<20170520-03:32:00, FIX.4.4:ZULU->ALFA, event> (Pending connection not established after 205612 ms.)
<20170520-03:32:02, FIX.4.4:ZULU->ALFA, event> (Pending connection not established after 200610 ms.)
五月 20, 2017 11:32:02 上午 quickfix.mina.initiator.InitiatorIoHandler sessionCreated
信息: MINA session created for FIX.4.4:TW->ISLD: local=/127.0.0.1:57314, class org.apache.mina.transport.socket.nio.NioSocketSession, remote=localhost/127.0.0.1:19888
五月 20, 2017 11:32:02 上午 quickfix.mina.acceptor.AcceptorIoHandler sessionCreated
信息: MINA session created: local=/127.0.0.1:19888, class org.apache.mina.transport.socket.nio.NioSocketSession, remote=/127.0.0.1:57314
五月 20, 2017 11:32:03 上午 quickfix.Session disconnect
信息: [FIX.4.4:TW->ISLD] Disconnecting: Encountered END_OF_STREAM
五月 20, 2017 11:32:03 上午 quickfix.mina.SessionConnector logoutAllSessions
信息: Logging out all sessions
五月 20, 2017 11:32:03 上午 quickfix.mina.SessionConnector stopSessionTimer
信息: SessionTimer canceled
五月 20, 2017 11:32:03 上午 quickfix.mina.SingleThreadedEventHandlingStrategy$1 run
信息: Stopped QFJ Message Processor
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.024 sec - in quickfix.test.acceptance.timer.TimerTest
Running quickfix.test.util.ExpectedTestFailureTest
五月 20, 2017 11:32:03 上午 quickfix.test.acceptance.timer.TimerTestServer run
信息: TimerTestServer shutting down.
五月 20, 2017 11:32:03 上午 quickfix.mina.SessionConnector stopSessionTimer
信息: SessionTimer canceled
五月 20, 2017 11:32:03 上午 quickfix.mina.SingleThreadedEventHandlingStrategy$1 run
信息: Stopped QFJ Message Processor
五月 20, 2017 11:32:03 上午 quickfix.mina.acceptor.AbstractSocketAcceptor stopAcceptingConnections
信息: No longer accepting connections on /0:0:0:0:0:0:0:0:19888
五月 20, 2017 11:32:03 上午 quickfix.mina.SessionConnector logoutAllSessions
信息: Logging out all sessions
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec - in quickfix.test.util.ExpectedTestFailureTest

Results :

Failed tests:
  SSLAndNonSSLTest.testSSLClient:62->doLogonTest:89->assertLoggedOn:123 client session not logged in
  SSLCertificateTest.shouldAuthenticateServerAndClientCertificatesWhenUsingDifferentKeystoreFormats:138 Session is not logged on
  SSLCertificateTest.shouldAuthenticateServerCertificate:74 Session is not logged on
  SSLCertificateTest.shouldCreateFixSessionWithoutAuthenticationWhenTrustStoresAreMissing:317 Session is not logged on
  SSLCertificateTest.shouldCreateFixSessionWithoutAuthenticationWhenUsingDefaultKeystores:346 Session is not logged on
  SSLCertificateTest.shouldCreateFixSessionWithoutAuthenticationWhenUsingEmptyServerKeyStoreWithAnonymousCipher:288 Session is not logged on
  SSLCertificateTest.shouldFailWhenUsingEmptyServerKeyStore:374 No SSL exception thrown
  SecureSocketTest.testLogonWithCustomCertificate:101->doLogonTest:149->assertLoggedOn:183 client session not logged in
  SecureSocketTest.testLogonWithDefaultCertificate:97->doLogonTest:149->assertLoggedOn:183 client session not logged in

Tests run: 540, Failures: 9, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] QuickFIX/J Parent .................................. SUCCESS [  0.070 s]
[INFO] QuickFIX/J Code Generator Maven Plugin ............. SUCCESS [  2.348 s]
[INFO] QuickFIX/J Dictionary Generator .................... SUCCESS [  0.725 s]
[INFO] QuickFIX/J Core engine ............................. FAILURE [06:59 min]
[INFO] QuickFIX/J Message classes for various FIX specs ... SKIPPED
[INFO] QuickFIX/J Message classes for FIX 4.0 ............. SKIPPED
[INFO] QuickFIX/J Message classes for FIX 4.1 ............. SKIPPED
[INFO] QuickFIX/J Message classes for FIX 4.2 ............. SKIPPED
[INFO] QuickFIX/J Message classes for FIX 4.3 ............. SKIPPED
[INFO] QuickFIX/J Message classes for FIX 4.4 ............. SKIPPED
[INFO] QuickFIX/J Message classes for FIX 5.0 ............. SKIPPED
[INFO] QuickFIX/J Message classes for FIX 5.0 SP1 ......... SKIPPED
[INFO] QuickFIX/J Message classes for FIX 5.0 SP2 ......... SKIPPED
[INFO] QuickFIX/J Message classes for FIXT 1.1 ............ SKIPPED
[INFO] QuickFIX/J Message classes for all FIX specs ....... SKIPPED
[INFO] QuickFIX/J Examples ................................ SKIPPED
[INFO] QuickFIX/J Examples - Executor ..................... SKIPPED
[INFO] QuickFIX/J Examples - Order Match .................. SKIPPED
[INFO] QuickFIX/J Examples - Banzai ....................... SKIPPED
[INFO] QuickFIX/J All runtime modules ..................... SKIPPED
[INFO] QuickFIX/J Distribution ............................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 07:03 min
[INFO] Finished at: 2017-05-20T11:32:04+08:00
[INFO] Final Memory: 45M/1441M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project quickfixj-core: There are test failures.
[ERROR]
[ERROR] Please refer to /Users/jacktang/Code/quickfixj/quickfixj-core/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]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :quickfixj-core


How can I pass the build? Thanks!

BR

--

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Quickfixj-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quickfixj-users
Reply | Threaded
Open this post in threaded view
|

Re: Build quickfixj failed

Christoph John
QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
QuickFIX/J Support: http://www.quickfixj.org/support/



Which JDK version are you using? Since only SSL related tests are failing I suspect that some ciphers might be unavailable in your version.

Am 20. Mai 2017 07:18:47 MESZ schrieb Jack Tang <[hidden email]>:
Hello,

I clone quickfixj source code and follow http://www.quickfixj.org/quickfixj/usermanual/1.6.3/ to build quickfixj by using command mvn package -Dgenerator.decimal=true -DskipAT=true. Some tests are failed and I list re-build log below:

....
五月 20, 2017 11:31:58 上午 quickfix.SessionSchedule <init>
信息: [FIX.4.4:TW->ISLD] daily, 00:00:00-UTC - 00:00:00-UTC
<20170520-03:31:58, FIX.4.4:TW->ISLD, event> (Session FIX.4.4:TW->ISLD schedule is daily, 00:00:00-UTC - 00:00:00-UTC)
<20170520-03:31:58, FIX.4.4:TW->ISLD, event> (Created session: FIX.4.4:TW->ISLD)
五月 20, 2017 11:31:58 上午 quickfix.mina.NetworkingOptions logOption
信息: Socket option: SocketTcpNoDelay=true
五月 20, 2017 11:31:58 上午 quickfix.mina.NetworkingOptions logOption
信息: Socket option: SocketSynchronousWrites=false
五月 20, 2017 11:31:58 上午 quickfix.mina.NetworkingOptions logOption
信息: Socket option: SocketSynchronousWriteTimeout=30000
五月 20, 2017 11:31:58 上午 quickfix.mina.initiator.IoSessionInitiator <init>
信息: [FIX.4.4:TW->ISLD] [localhost/127.0.0.1:19888]
五月 20, 2017 11:31:58 上午 quickfix.mina.SessionConnector startSessionTimer
信息: SessionTimer started
五月 20, 2017 11:31:58 上午 quickfix.mina.SingleThreadedEventHandlingStrategy$1 run
信息: Started QFJ Message Processor
<20170520-03:32:00, FIX.4.4:ZULU->ALFA, event> (Pending connection not established after 205612 ms.)
<20170520-03:32:02, FIX.4.4:ZULU->ALFA, event> (Pending connection not established after 200610 ms.)
五月 20, 2017 11:32:02 上午 quickfix.mina.initiator.InitiatorIoHandler sessionCreated
信息: MINA session created for FIX.4.4:TW->ISLD: local=/127.0.0.1:57314, class org.apache.mina.transport.socket.nio.NioSocketSession, remote=localhost/127.0.0.1:19888
五月 20, 2017 11:32:02 上午 quickfix.mina.acceptor.AcceptorIoHandler sessionCreated
信息: MINA session created: local=/127.0.0.1:19888, class org.apache.mina.transport.socket.nio.NioSocketSession, remote=/127.0.0.1:57314
五月 20, 2017 11:32:03 上午 quickfix.Session disconnect
信息: [FIX.4.4:TW->ISLD] Disconnecting: Encountered END_OF_STREAM
五月 20, 2017 11:32:03 上午 quickfix.mina.SessionConnector logoutAllSessions
信息: Logging out all sessions
五月 20, 2017 11:32:03 上午 quickfix.mina.SessionConnector stopSessionTimer
信息: SessionTimer canceled
五月 20, 2017 11:32:03 上午 quickfix.mina.SingleThreadedEventHandlingStrategy$1 run
信息: Stopped QFJ Message Processor
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.024 sec - in quickfix.test.acceptance.timer.TimerTest
Running quickfix.test.util.ExpectedTestFailureTest
五月 20, 2017 11:32:03 上午 quickfix.test.acceptance.timer.TimerTestServer run
信息: TimerTestServer shutting down.
五月 20, 2017 11:32:03 上午 quickfix.mina.SessionConnector stopSessionTimer
信息: SessionTimer canceled
五月 20, 2017 11:32:03 上午 quickfix.mina.SingleThreadedEventHandlingStrategy$1 run
信息: Stopped QFJ Message Processor
五月 20, 2017 11:32:03 上午 quickfix.mina.acceptor.AbstractSocketAcceptor stopAcceptingConnections
信息: No longer accepting connections on /0:0:0:0:0:0:0:0:19888
五月 20, 2017 11:32:03 上午 quickfix.mina.SessionConnector logoutAllSessions
信息: Logging out all sessions
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec - in quickfix.test.util.ExpectedTestFailureTest

Results :

Failed tests:
  SSLAndNonSSLTest.testSSLClient:62->doLogonTest:89->assertLoggedOn:123 client session not logged in
  SSLCertificateTest.shouldAuthenticateServerAndClientCertificatesWhenUsingDifferentKeystoreFormats:138 Session is not logged on
  SSLCertificateTest.shouldAuthenticateServerCertificate:74 Session is not logged on
  SSLCertificateTest.shouldCreateFixSessionWithoutAuthenticationWhenTrustStoresAreMissing:317 Session is not logged on
  SSLCertificateTest.shouldCreateFixSessionWithoutAuthenticationWhenUsingDefaultKeystores:346 Session is not logged on
  SSLCertificateTest.shouldCreateFixSessionWithoutAuthenticationWhenUsingEmptyServerKeyStoreWithAnonymousCipher:288 Session is not logged on
  SSLCertificateTest.shouldFailWhenUsingEmptyServerKeyStore:374 No SSL exception thrown
  SecureSocketTest.testLogonWithCustomCertificate:101->doLogonTest:149->assertLoggedOn:183 client session not logged in
  SecureSocketTest.testLogonWithDefaultCertificate:97->doLogonTest:149->assertLoggedOn:183 client session not logged in

Tests run: 540, Failures: 9, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] QuickFIX/J Parent .................................. SUCCESS [  0.070 s]
[INFO] QuickFIX/J Code Generator Maven Plugin ............. SUCCESS [  2.348 s]
[INFO] QuickFIX/J Dictionary Generator .................... SUCCESS [  0.725 s]
[INFO] QuickFIX/J Core engine ............................. FAILURE [06:59 min]
[INFO] QuickFIX/J Message classes for various FIX specs ... SKIPPED
[INFO] QuickFIX/J Message classes for FIX 4.0 ............. SKIPPED
[INFO] QuickFIX/J Message classes for FIX 4.1 ............. SKIPPED
[INFO] QuickFIX/J Message classes for FIX 4.2 ............. SKIPPED
[INFO] QuickFIX/J Message classes for FIX 4.3 ............. SKIPPED
[INFO] QuickFIX/J Message classes for FIX 4.4 ............. SKIPPED
[INFO] QuickFIX/J Message classes for FIX 5.0 ............. SKIPPED
[INFO] QuickFIX/J Message classes for FIX 5.0 SP1 ......... SKIPPED
[INFO] QuickFIX/J Message classes for FIX 5.0 SP2 ......... SKIPPED
[INFO] QuickFIX/J Message classes for FIXT 1.1 ............ SKIPPED
[INFO] QuickFIX/J Message classes for all FIX specs ....... SKIPPED
[INFO] QuickFIX/J Examples ................................ SKIPPED
[INFO] QuickFIX/J Examples - Executor ..................... SKIPPED
[INFO] QuickFIX/J Examples - Order Match .................. SKIPPED
[INFO] QuickFIX/J Examples - Banzai ....................... SKIPPED
[INFO] QuickFIX/J All runtime modules ..................... SKIPPED
[INFO] QuickFIX/J Distribution ............................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 07:03 min
[INFO] Finished at: 2017-05-20T11:32:04+08:00
[INFO] Final Memory: 45M/1441M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project quickfixj-core: There are test failures.
[ERROR]
[ERROR] Please refer to /Users/jacktang/Code/quickfixj/quickfixj-core/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]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :quickfixj-core


How can I pass the build? Thanks!

BR

--

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Quickfixj-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quickfixj-users
Reply | Threaded
Open this post in threaded view
|

Re: Build quickfixj failed

Jack Tang
QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
QuickFIX/J Support: http://www.quickfixj.org/support/





On Sat, May 20, 2017 at 2:11 PM, Christoph John <[hidden email]> wrote:
QuickFIX/J Documentation: <a href="http://www.quickfixj.org/documentation/ QuickFIX/J" rel="noreferrer" target="_blank">http://www.quickfixj.org/documentation/
QuickFIX/J Support: http://www.quickfixj.org/support/



Which JDK version are you using? Since only SSL related tests are failing I suspect that some ciphers might be unavailable in your version.

$ java -version
java version "1.8.0_111"
Java(TM) SE Runtime Environment (build 1.8.0_111-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.111-b14, mixed mode)

OS is macOS Sierra 10.12.4
 


Am 20. Mai 2017 07:18:47 MESZ schrieb Jack Tang <[hidden email]>:
Hello,

I clone quickfixj source code and follow http://www.quickfixj.org/quickfixj/usermanual/1.6.3/ to build quickfixj by using command mvn package -Dgenerator.decimal=true -DskipAT=true. Some tests are failed and I list re-build log below:

....
五月 20, 2017 11:31:58 上午 quickfix.SessionSchedule <init>
信息: [FIX.4.4:TW->ISLD] daily, 00:00:00-UTC - 00:00:00-UTC
<20170520-03:31:58, FIX.4.4:TW->ISLD, event> (Session FIX.4.4:TW->ISLD schedule is daily, 00:00:00-UTC - 00:00:00-UTC)
<20170520-03:31:58, FIX.4.4:TW->ISLD, event> (Created session: FIX.4.4:TW->ISLD)
五月 20, 2017 11:31:58 上午 quickfix.mina.NetworkingOptions logOption
信息: Socket option: SocketTcpNoDelay=true
五月 20, 2017 11:31:58 上午 quickfix.mina.NetworkingOptions logOption
信息: Socket option: SocketSynchronousWrites=false
五月 20, 2017 11:31:58 上午 quickfix.mina.NetworkingOptions logOption
信息: Socket option: SocketSynchronousWriteTimeout=30000
五月 20, 2017 11:31:58 上午 quickfix.mina.initiator.IoSessionInitiator <init>
信息: [FIX.4.4:TW->ISLD] [localhost/127.0.0.1:19888]
五月 20, 2017 11:31:58 上午 quickfix.mina.SessionConnector startSessionTimer
信息: SessionTimer started
五月 20, 2017 11:31:58 上午 quickfix.mina.SingleThreadedEventHandlingStrategy$1 run
信息: Started QFJ Message Processor
<20170520-03:32:00, FIX.4.4:ZULU->ALFA, event> (Pending connection not established after 205612 ms.)
<20170520-03:32:02, FIX.4.4:ZULU->ALFA, event> (Pending connection not established after 200610 ms.)
五月 20, 2017 11:32:02 上午 quickfix.mina.initiator.InitiatorIoHandler sessionCreated
信息: MINA session created for FIX.4.4:TW->ISLD: local=/127.0.0.1:57314, class org.apache.mina.transport.socket.nio.NioSocketSession, remote=localhost/127.0.0.1:19888
五月 20, 2017 11:32:02 上午 quickfix.mina.acceptor.AcceptorIoHandler sessionCreated
信息: MINA session created: local=/127.0.0.1:19888, class org.apache.mina.transport.socket.nio.NioSocketSession, remote=/127.0.0.1:57314
五月 20, 2017 11:32:03 上午 quickfix.Session disconnect
信息: [FIX.4.4:TW->ISLD] Disconnecting: Encountered END_OF_STREAM
五月 20, 2017 11:32:03 上午 quickfix.mina.SessionConnector logoutAllSessions
信息: Logging out all sessions
五月 20, 2017 11:32:03 上午 quickfix.mina.SessionConnector stopSessionTimer
信息: SessionTimer canceled
五月 20, 2017 11:32:03 上午 quickfix.mina.SingleThreadedEventHandlingStrategy$1 run
信息: Stopped QFJ Message Processor
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.024 sec - in quickfix.test.acceptance.timer.TimerTest
Running quickfix.test.util.ExpectedTestFailureTest
五月 20, 2017 11:32:03 上午 quickfix.test.acceptance.timer.TimerTestServer run
信息: TimerTestServer shutting down.
五月 20, 2017 11:32:03 上午 quickfix.mina.SessionConnector stopSessionTimer
信息: SessionTimer canceled
五月 20, 2017 11:32:03 上午 quickfix.mina.SingleThreadedEventHandlingStrategy$1 run
信息: Stopped QFJ Message Processor
五月 20, 2017 11:32:03 上午 quickfix.mina.acceptor.AbstractSocketAcceptor stopAcceptingConnections
信息: No longer accepting connections on /0:0:0:0:0:0:0:0:19888
五月 20, 2017 11:32:03 上午 quickfix.mina.SessionConnector logoutAllSessions
信息: Logging out all sessions
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec - in quickfix.test.util.ExpectedTestFailureTest

Results :

Failed tests:
  SSLAndNonSSLTest.testSSLClient:62->doLogonTest:89->assertLoggedOn:123 client session not logged in
  SSLCertificateTest.shouldAuthenticateServerAndClientCertificatesWhenUsingDifferentKeystoreFormats:138 Session is not logged on
  SSLCertificateTest.shouldAuthenticateServerCertificate:74 Session is not logged on
  SSLCertificateTest.shouldCreateFixSessionWithoutAuthenticationWhenTrustStoresAreMissing:317 Session is not logged on
  SSLCertificateTest.shouldCreateFixSessionWithoutAuthenticationWhenUsingDefaultKeystores:346 Session is not logged on
  SSLCertificateTest.shouldCreateFixSessionWithoutAuthenticationWhenUsingEmptyServerKeyStoreWithAnonymousCipher:288 Session is not logged on
  SSLCertificateTest.shouldFailWhenUsingEmptyServerKeyStore:374 No SSL exception thrown
  SecureSocketTest.testLogonWithCustomCertificate:101->doLogonTest:149->assertLoggedOn:183 client session not logged in
  SecureSocketTest.testLogonWithDefaultCertificate:97->doLogonTest:149->assertLoggedOn:183 client session not logged in

Tests run: 540, Failures: 9, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] QuickFIX/J Parent .................................. SUCCESS [  0.070 s]
[INFO] QuickFIX/J Code Generator Maven Plugin ............. SUCCESS [  2.348 s]
[INFO] QuickFIX/J Dictionary Generator .................... SUCCESS [  0.725 s]
[INFO] QuickFIX/J Core engine ............................. FAILURE [06:59 min]
[INFO] QuickFIX/J Message classes for various FIX specs ... SKIPPED
[INFO] QuickFIX/J Message classes for FIX 4.0 ............. SKIPPED
[INFO] QuickFIX/J Message classes for FIX 4.1 ............. SKIPPED
[INFO] QuickFIX/J Message classes for FIX 4.2 ............. SKIPPED
[INFO] QuickFIX/J Message classes for FIX 4.3 ............. SKIPPED
[INFO] QuickFIX/J Message classes for FIX 4.4 ............. SKIPPED
[INFO] QuickFIX/J Message classes for FIX 5.0 ............. SKIPPED
[INFO] QuickFIX/J Message classes for FIX 5.0 SP1 ......... SKIPPED
[INFO] QuickFIX/J Message classes for FIX 5.0 SP2 ......... SKIPPED
[INFO] QuickFIX/J Message classes for FIXT 1.1 ............ SKIPPED
[INFO] QuickFIX/J Message classes for all FIX specs ....... SKIPPED
[INFO] QuickFIX/J Examples ................................ SKIPPED
[INFO] QuickFIX/J Examples - Executor ..................... SKIPPED
[INFO] QuickFIX/J Examples - Order Match .................. SKIPPED
[INFO] QuickFIX/J Examples - Banzai ....................... SKIPPED
[INFO] QuickFIX/J All runtime modules ..................... SKIPPED
[INFO] QuickFIX/J Distribution ............................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 07:03 min
[INFO] Finished at: 2017-05-20T11:32:04+08:00
[INFO] Final Memory: 45M/1441M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project quickfixj-core: There are test failures.
[ERROR]
[ERROR] Please refer to /Users/jacktang/Code/quickfixj/quickfixj-core/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]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :quickfixj-core


How can I pass the build? Thanks!

BR

--

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Quickfixj-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quickfixj-users




--

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Quickfixj-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quickfixj-users
Reply | Threaded
Open this post in threaded view
|

Re: Build quickfixj failed

Christoph John
QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
QuickFIX/J Support: http://www.quickfixj.org/support/


I think the actual problem is this:

<20170520-03:32:00, FIX.4.4:ZULU->ALFA, event> (Pending connection not established after 205612 ms.)

It seems the connection to the SSL acceptor could not be opened (for reasons unknown to me).
Does this error occur every time?

Chris.


On 20/05/17 14:50, Jack Tang wrote:

> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
> QuickFIX/J Support: http://www.quickfixj.org/support/
>
>
>
>
>
>
> On Sat, May 20, 2017 at 2:11 PM, Christoph John <[hidden email]
> <mailto:[hidden email]>> wrote:
>
>     QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
>     QuickFIX/J <http://www.quickfixj.org/documentation/%0AQuickFIX/J> Support:
>     http://www.quickfixj.org/support/ <http://www.quickfixj.org/support/>
>
>
>
>     Which JDK version are you using? Since only SSL related tests are failing I suspect that some
>     ciphers might be unavailable in your version.
>
>
> $ java -version
> java version "1.8.0_111"
> Java(TM) SE Runtime Environment (build 1.8.0_111-b14)
> Java HotSpot(TM) 64-Bit Server VM (build 25.111-b14, mixed mode)
>
> OS is macOS Sierra 10.12.4
>
>
>
>     Am 20. Mai 2017 07:18:47 MESZ schrieb Jack Tang <[hidden email] <mailto:[hidden email]>>:
>
>         Hello,
>
>         I clone quickfixj source code and follow
>         http://www.quickfixj.org/quickfixj/usermanual/1.6.3/
>         <http://www.quickfixj.org/quickfixj/usermanual/1.6.3/> to build quickfixj by using
>         command mvn package -Dgenerator.decimal=true -DskipAT=true. Some tests are failed and I
>         list re-build log below:
>
>         ....
>         五月 20, 2017 11:31:58 上午 quickfix.SessionSchedule <init>
>         信息: [FIX.4.4:TW->ISLD] daily, 00:00:00-UTC - 00:00:00-UTC
>         <20170520-03:31:58, FIX.4.4:TW->ISLD, event> (Session FIX.4.4:TW->ISLD schedule is daily,
>         00:00:00-UTC - 00:00:00-UTC)
>         <20170520-03:31:58, FIX.4.4:TW->ISLD, event> (Created session: FIX.4.4:TW->ISLD)
>         五月 20, 2017 11:31:58 上午 quickfix.mina.NetworkingOptions logOption
>         信息: Socket option: SocketTcpNoDelay=true
>         五月 20, 2017 11:31:58 上午 quickfix.mina.NetworkingOptions logOption
>         信息: Socket option: SocketSynchronousWrites=false
>         五月 20, 2017 11:31:58 上午 quickfix.mina.NetworkingOptions logOption
>         信息: Socket option: SocketSynchronousWriteTimeout=30000
>         五月 20, 2017 11:31:58 上午 quickfix.mina.initiator.IoSessionInitiator <init>
>         信息: [FIX.4.4:TW->ISLD] [localhost/127.0.0.1:19888 <http://127.0.0.1:19888>]
>         五月 20, 2017 11:31:58 上午 quickfix.mina.SessionConnector startSessionTimer
>         信息: SessionTimer started
>         五月 20, 2017 11:31:58 上午 quickfix.mina.SingleThreadedEventHandlingStrategy$1 run
>         信息: Started QFJ Message Processor
>         <20170520-03:32:00, FIX.4.4:ZULU->ALFA, event> (Pending connection not established after
>         205612 ms.)
>         <20170520-03:32:02, FIX.4.4:ZULU->ALFA, event> (Pending connection not established after
>         200610 ms.)
>         五月 20, 2017 11:32:02 上午 quickfix.mina.initiator.InitiatorIoHandler sessionCreated
>         信息: MINA session created for FIX.4.4:TW->ISLD: local=/127.0.0.1:57314
>         <http://127.0.0.1:57314>, class org.apache.mina.transport.socket.nio.NioSocketSession,
>         remote=localhost/127.0.0.1:19888 <http://127.0.0.1:19888>
>         五月 20, 2017 11:32:02 上午 quickfix.mina.acceptor.AcceptorIoHandler sessionCreated
>         信息: MINA session created: local=/127.0.0.1:19888 <http://127.0.0.1:19888>, class
>         org.apache.mina.transport.socket.nio.NioSocketSession, remote=/127.0.0.1:57314
>         <http://127.0.0.1:57314>
>         五月 20, 2017 11:32:03 上午 quickfix.Session disconnect
>         信息: [FIX.4.4:TW->ISLD] Disconnecting: Encountered END_OF_STREAM
>         五月 20, 2017 11:32:03 上午 quickfix.mina.SessionConnector logoutAllSessions
>         信息: Logging out all sessions
>         五月 20, 2017 11:32:03 上午 quickfix.mina.SessionConnector stopSessionTimer
>         信息: SessionTimer canceled
>         五月 20, 2017 11:32:03 上午 quickfix.mina.SingleThreadedEventHandlingStrategy$1 run
>         信息: Stopped QFJ Message Processor
>         Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.024 sec - in
>         quickfix.test.acceptance.timer.TimerTest
>         Running quickfix.test.util.ExpectedTestFailureTest
>         五月 20, 2017 11:32:03 上午 quickfix.test.acceptance.timer.TimerTestServer run
>         信息: TimerTestServer shutting down.
>         五月 20, 2017 11:32:03 上午 quickfix.mina.SessionConnector stopSessionTimer
>         信息: SessionTimer canceled
>         五月 20, 2017 11:32:03 上午 quickfix.mina.SingleThreadedEventHandlingStrategy$1 run
>         信息: Stopped QFJ Message Processor
>         五月 20, 2017 11:32:03 上午 quickfix.mina.acceptor.AbstractSocketAcceptor
>         stopAcceptingConnections
>         信息: No longer accepting connections on /0:0:0:0:0:0:0:0:19888
>         五月 20, 2017 11:32:03 上午 quickfix.mina.SessionConnector logoutAllSessions
>         信息: Logging out all sessions
>         Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec - in
>         quickfix.test.util.ExpectedTestFailureTest
>
>         Results :
>
>         Failed tests:
>           SSLAndNonSSLTest.testSSLClient:62->doLogonTest:89->assertLoggedOn:123 client session not
>         logged in
>          
>         SSLCertificateTest.shouldAuthenticateServerAndClientCertificatesWhenUsingDifferentKeystoreFormats:138
>         Session is not logged on
>           SSLCertificateTest.shouldAuthenticateServerCertificate:74 Session is not logged on
>          
>         SSLCertificateTest.shouldCreateFixSessionWithoutAuthenticationWhenTrustStoresAreMissing:317
>         Session is not logged on
>          
>         SSLCertificateTest.shouldCreateFixSessionWithoutAuthenticationWhenUsingDefaultKeystores:346
>         Session is not logged on
>          
>         SSLCertificateTest.shouldCreateFixSessionWithoutAuthenticationWhenUsingEmptyServerKeyStoreWithAnonymousCipher:288
>         Session is not logged on
>           SSLCertificateTest.shouldFailWhenUsingEmptyServerKeyStore:374 No SSL exception thrown
>           SecureSocketTest.testLogonWithCustomCertificate:101->doLogonTest:149->assertLoggedOn:183
>         client session not logged in
>           SecureSocketTest.testLogonWithDefaultCertificate:97->doLogonTest:149->assertLoggedOn:183
>         client session not logged in
>
>         Tests run: 540, Failures: 9, Errors: 0, Skipped: 0
>
>         [INFO] ------------------------------------------------------------------------
>         [INFO] Reactor Summary:
>         [INFO]
>         [INFO] QuickFIX/J Parent .................................. SUCCESS [  0.070 s]
>         [INFO] QuickFIX/J Code Generator Maven Plugin ............. SUCCESS [  2.348 s]
>         [INFO] QuickFIX/J Dictionary Generator .................... SUCCESS [  0.725 s]
>         [INFO] QuickFIX/J Core engine ............................. FAILURE [06:59 min]
>         [INFO] QuickFIX/J Message classes for various FIX specs ... SKIPPED
>         [INFO] QuickFIX/J Message classes for FIX 4.0 ............. SKIPPED
>         [INFO] QuickFIX/J Message classes for FIX 4.1 ............. SKIPPED
>         [INFO] QuickFIX/J Message classes for FIX 4.2 ............. SKIPPED
>         [INFO] QuickFIX/J Message classes for FIX 4.3 ............. SKIPPED
>         [INFO] QuickFIX/J Message classes for FIX 4.4 ............. SKIPPED
>         [INFO] QuickFIX/J Message classes for FIX 5.0 ............. SKIPPED
>         [INFO] QuickFIX/J Message classes for FIX 5.0 SP1 ......... SKIPPED
>         [INFO] QuickFIX/J Message classes for FIX 5.0 SP2 ......... SKIPPED
>         [INFO] QuickFIX/J Message classes for FIXT 1.1 ............ SKIPPED
>         [INFO] QuickFIX/J Message classes for all FIX specs ....... SKIPPED
>         [INFO] QuickFIX/J Examples ................................ SKIPPED
>         [INFO] QuickFIX/J Examples - Executor ..................... SKIPPED
>         [INFO] QuickFIX/J Examples - Order Match .................. SKIPPED
>         [INFO] QuickFIX/J Examples - Banzai ....................... SKIPPED
>         [INFO] QuickFIX/J All runtime modules ..................... SKIPPED
>         [INFO] QuickFIX/J Distribution ............................ SKIPPED
>         [INFO] ------------------------------------------------------------------------
>         [INFO] BUILD FAILURE
>         [INFO] ------------------------------------------------------------------------
>         [INFO] Total time: 07:03 min
>         [INFO] Finished at: 2017-05-20T11:32:04+08:00
>         [INFO] Final Memory: 45M/1441M
>         [INFO] ------------------------------------------------------------------------
>         [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test
>         (default-test) on project quickfixj-core: There are test failures.
>         [ERROR]
>         [ERROR] Please refer to
>         /Users/jacktang/Code/quickfixj/quickfixj-core/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
>         <http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException>
>         [ERROR]
>         [ERROR] After correcting the problems, you can resume the build with the command
>         [ERROR]   mvn <goals> -rf :quickfixj-core
>
>
>         How can I pass the build? Thanks!
>
>         BR
>
>         --
>         Jack Tang
>
>
>         http://www.linkedin.com/in/jacktang <http://www.linkedin.com/in/jacktang>
>
>
>     ------------------------------------------------------------------------------
>     Check out the vibrant tech community on one of the world's most
>     engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>     _______________________________________________
>     Quickfixj-users mailing list
>     [hidden email] <mailto:[hidden email]>
>     https://lists.sourceforge.net/lists/listinfo/quickfixj-users
>     <https://lists.sourceforge.net/lists/listinfo/quickfixj-users>
>
>
>
>
> --
> Jack Tang
>
>
> http://www.linkedin.com/in/jacktang
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>
>
> _______________________________________________
> Quickfixj-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/quickfixj-users

--
Christoph John
Development & Support
Direct: +49 241 557080-28
Mailto:[hidden email]
       


http://www.macd.com <http://www.macd.com/>
----------------------------------------------------------------------------------------------------
       
----------------------------------------------------------------------------------------------------
MACD GmbH
Oppenhoffallee 103
D-52066 Aachen
Tel: +49 241 557080-0 | Fax: +49 241 557080-10
         Amtsgericht Aachen: HRB 8151
Ust.-Id: DE 813021663

Geschäftsführer: George Macdonald
----------------------------------------------------------------------------------------------------
       
----------------------------------------------------------------------------------------------------

take care of the environment - print only if necessary

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Quickfixj-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quickfixj-users
Reply | Threaded
Open this post in threaded view
|

Re: Build quickfixj failed

Guido Medina
QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
QuickFIX/J Support: http://www.quickfixj.org/support/



A couple of things that can help you:

1) Update to Java 8u131 as the SSL part have changed a bit between the few last versions, you know; Oracle changing things...
2) -DskipTests=true if you just want to build without testing though it would be worth getting to the root of the problem.

HTH,

Guido.

On Mon, May 22, 2017 at 3:38 PM, Christoph John <[hidden email]> wrote:
QuickFIX/J Documentation: <a href="http://www.quickfixj.org/documentation/ QuickFIX/J" rel="noreferrer" target="_blank">http://www.quickfixj.org/documentation/
QuickFIX/J Support: http://www.quickfixj.org/support/


I think the actual problem is this:

<20170520-03:32:00, FIX.4.4:ZULU->ALFA, event> (Pending connection not established after 205612 ms.)

It seems the connection to the SSL acceptor could not be opened (for reasons unknown to me).
Does this error occur every time?

Chris.


On 20/05/17 14:50, Jack Tang wrote:
> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
> QuickFIX/J Support: http://www.quickfixj.org/support/
>
>
>
>
>
>
> On Sat, May 20, 2017 at 2:11 PM, Christoph John <[hidden email]
> <mailto:[hidden email]>> wrote:
>
>     QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
>     QuickFIX/J <http://www.quickfixj.org/documentation/%0AQuickFIX/J> Support:
>     http://www.quickfixj.org/support/ <http://www.quickfixj.org/support/>
>
>
>
>     Which JDK version are you using? Since only SSL related tests are failing I suspect that some
>     ciphers might be unavailable in your version.
>
>
> $ java -version
> java version "1.8.0_111"
> Java(TM) SE Runtime Environment (build 1.8.0_111-b14)
> Java HotSpot(TM) 64-Bit Server VM (build 25.111-b14, mixed mode)
>
> OS is macOS Sierra 10.12.4
>
>
>
>     Am 20. Mai 2017 07:18:47 MESZ schrieb Jack Tang <[hidden email] <mailto:[hidden email]>>:
>
>         Hello,
>
>         I clone quickfixj source code and follow
>         http://www.quickfixj.org/quickfixj/usermanual/1.6.3/
>         <http://www.quickfixj.org/quickfixj/usermanual/1.6.3/> to build quickfixj by using
>         command mvn package -Dgenerator.decimal=true -DskipAT=true. Some tests are failed and I
>         list re-build log below:
>
>         ....
>         五月 20, 2017 11:31:58 上午 quickfix.SessionSchedule <init>
>         信息: [FIX.4.4:TW->ISLD] daily, 00:00:00-UTC - 00:00:00-UTC
>         <20170520-03:31:58, FIX.4.4:TW->ISLD, event> (Session FIX.4.4:TW->ISLD schedule is daily,
>         00:00:00-UTC - 00:00:00-UTC)
>         <20170520-03:31:58, FIX.4.4:TW->ISLD, event> (Created session: FIX.4.4:TW->ISLD)
>         五月 20, 2017 11:31:58 上午 quickfix.mina.NetworkingOptions logOption
>         信息: Socket option: SocketTcpNoDelay=true
>         五月 20, 2017 11:31:58 上午 quickfix.mina.NetworkingOptions logOption
>         信息: Socket option: SocketSynchronousWrites=false
>         五月 20, 2017 11:31:58 上午 quickfix.mina.NetworkingOptions logOption
>         信息: Socket option: SocketSynchronousWriteTimeout=30000
>         五月 20, 2017 11:31:58 上午 quickfix.mina.initiator.IoSessionInitiator <init>
>         信息: [FIX.4.4:TW->ISLD] [localhost/127.0.0.1:19888 <http://127.0.0.1:19888>]
>         五月 20, 2017 11:31:58 上午 quickfix.mina.SessionConnector startSessionTimer
>         信息: SessionTimer started
>         五月 20, 2017 11:31:58 上午 quickfix.mina.SingleThreadedEventHandlingStrategy$1 run
>         信息: Started QFJ Message Processor
>         <20170520-03:32:00, FIX.4.4:ZULU->ALFA, event> (Pending connection not established after
>         205612 ms.)
>         <20170520-03:32:02, FIX.4.4:ZULU->ALFA, event> (Pending connection not established after
>         200610 ms.)
>         五月 20, 2017 11:32:02 上午 quickfix.mina.initiator.InitiatorIoHandler sessionCreated
>         信息: MINA session created for FIX.4.4:TW->ISLD: local=/127.0.0.1:57314
>         <http://127.0.0.1:57314>, class org.apache.mina.transport.socket.nio.NioSocketSession,
>         remote=localhost/127.0.0.1:19888 <http://127.0.0.1:19888>
>         五月 20, 2017 11:32:02 上午 quickfix.mina.acceptor.AcceptorIoHandler sessionCreated
>         信息: MINA session created: local=/127.0.0.1:19888 <http://127.0.0.1:19888>, class
>         org.apache.mina.transport.socket.nio.NioSocketSession, remote=/127.0.0.1:57314
>         <http://127.0.0.1:57314>
>         五月 20, 2017 11:32:03 上午 quickfix.Session disconnect
>         信息: [FIX.4.4:TW->ISLD] Disconnecting: Encountered END_OF_STREAM
>         五月 20, 2017 11:32:03 上午 quickfix.mina.SessionConnector logoutAllSessions
>         信息: Logging out all sessions
>         五月 20, 2017 11:32:03 上午 quickfix.mina.SessionConnector stopSessionTimer
>         信息: SessionTimer canceled
>         五月 20, 2017 11:32:03 上午 quickfix.mina.SingleThreadedEventHandlingStrategy$1 run
>         信息: Stopped QFJ Message Processor
>         Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.024 sec - in
>         quickfix.test.acceptance.timer.TimerTest
>         Running quickfix.test.util.ExpectedTestFailureTest
>         五月 20, 2017 11:32:03 上午 quickfix.test.acceptance.timer.TimerTestServer run
>         信息: TimerTestServer shutting down.
>         五月 20, 2017 11:32:03 上午 quickfix.mina.SessionConnector stopSessionTimer
>         信息: SessionTimer canceled
>         五月 20, 2017 11:32:03 上午 quickfix.mina.SingleThreadedEventHandlingStrategy$1 run
>         信息: Stopped QFJ Message Processor
>         五月 20, 2017 11:32:03 上午 quickfix.mina.acceptor.AbstractSocketAcceptor
>         stopAcceptingConnections
>         信息: No longer accepting connections on /0:0:0:0:0:0:0:0:19888
>         五月 20, 2017 11:32:03 上午 quickfix.mina.SessionConnector logoutAllSessions
>         信息: Logging out all sessions
>         Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec - in
>         quickfix.test.util.ExpectedTestFailureTest
>
>         Results :
>
>         Failed tests:
>           SSLAndNonSSLTest.testSSLClient:62->doLogonTest:89->assertLoggedOn:123 client session not
>         logged in
>
>         SSLCertificateTest.shouldAuthenticateServerAndClientCertificatesWhenUsingDifferentKeystoreFormats:138
>         Session is not logged on
>           SSLCertificateTest.shouldAuthenticateServerCertificate:74 Session is not logged on
>
>         SSLCertificateTest.shouldCreateFixSessionWithoutAuthenticationWhenTrustStoresAreMissing:317
>         Session is not logged on
>
>         SSLCertificateTest.shouldCreateFixSessionWithoutAuthenticationWhenUsingDefaultKeystores:346
>         Session is not logged on
>
>         SSLCertificateTest.shouldCreateFixSessionWithoutAuthenticationWhenUsingEmptyServerKeyStoreWithAnonymousCipher:288
>         Session is not logged on
>           SSLCertificateTest.shouldFailWhenUsingEmptyServerKeyStore:374 No SSL exception thrown
>           SecureSocketTest.testLogonWithCustomCertificate:101->doLogonTest:149->assertLoggedOn:183
>         client session not logged in
>           SecureSocketTest.testLogonWithDefaultCertificate:97->doLogonTest:149->assertLoggedOn:183
>         client session not logged in
>
>         Tests run: 540, Failures: 9, Errors: 0, Skipped: 0
>
>         [INFO] ------------------------------------------------------------------------
>         [INFO] Reactor Summary:
>         [INFO]
>         [INFO] QuickFIX/J Parent .................................. SUCCESS [  0.070 s]
>         [INFO] QuickFIX/J Code Generator Maven Plugin ............. SUCCESS [  2.348 s]
>         [INFO] QuickFIX/J Dictionary Generator .................... SUCCESS [  0.725 s]
>         [INFO] QuickFIX/J Core engine ............................. FAILURE [06:59 min]
>         [INFO] QuickFIX/J Message classes for various FIX specs ... SKIPPED
>         [INFO] QuickFIX/J Message classes for FIX 4.0 ............. SKIPPED
>         [INFO] QuickFIX/J Message classes for FIX 4.1 ............. SKIPPED
>         [INFO] QuickFIX/J Message classes for FIX 4.2 ............. SKIPPED
>         [INFO] QuickFIX/J Message classes for FIX 4.3 ............. SKIPPED
>         [INFO] QuickFIX/J Message classes for FIX 4.4 ............. SKIPPED
>         [INFO] QuickFIX/J Message classes for FIX 5.0 ............. SKIPPED
>         [INFO] QuickFIX/J Message classes for FIX 5.0 SP1 ......... SKIPPED
>         [INFO] QuickFIX/J Message classes for FIX 5.0 SP2 ......... SKIPPED
>         [INFO] QuickFIX/J Message classes for FIXT 1.1 ............ SKIPPED
>         [INFO] QuickFIX/J Message classes for all FIX specs ....... SKIPPED
>         [INFO] QuickFIX/J Examples ................................ SKIPPED
>         [INFO] QuickFIX/J Examples - Executor ..................... SKIPPED
>         [INFO] QuickFIX/J Examples - Order Match .................. SKIPPED
>         [INFO] QuickFIX/J Examples - Banzai ....................... SKIPPED
>         [INFO] QuickFIX/J All runtime modules ..................... SKIPPED
>         [INFO] QuickFIX/J Distribution ............................ SKIPPED
>         [INFO] ------------------------------------------------------------------------
>         [INFO] BUILD FAILURE
>         [INFO] ------------------------------------------------------------------------
>         [INFO] Total time: 07:03 min
>         [INFO] Finished at: 2017-05-20T11:32:04+08:00
>         [INFO] Final Memory: 45M/1441M
>         [INFO] ------------------------------------------------------------------------
>         [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test
>         (default-test) on project quickfixj-core: There are test failures.
>         [ERROR]
>         [ERROR] Please refer to
>         /Users/jacktang/Code/quickfixj/quickfixj-core/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
>         <http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException>
>         [ERROR]
>         [ERROR] After correcting the problems, you can resume the build with the command
>         [ERROR]   mvn <goals> -rf :quickfixj-core
>
>
>         How can I pass the build? Thanks!
>
>         BR
>
>         --
>         Jack Tang
>
>
>         http://www.linkedin.com/in/jacktang <http://www.linkedin.com/in/jacktang>
>
>
>     ------------------------------------------------------------------------------
>     Check out the vibrant tech community on one of the world's most
>     engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>     _______________________________________________
>     Quickfixj-users mailing list
>     [hidden email] <mailto:[hidden email]>
>     https://lists.sourceforge.net/lists/listinfo/quickfixj-users
>     <https://lists.sourceforge.net/lists/listinfo/quickfixj-users>
>
>
>
>
> --
> Jack Tang
>
>
> http://www.linkedin.com/in/jacktang
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>
>
> _______________________________________________
> Quickfixj-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/quickfixj-users

--
Christoph John
Development & Support
Direct: <a href="tel:%2B49%20241%20557080-28" value="+4924155708028">+49 241 557080-28
Mailto:[hidden email]



http://www.macd.com <http://www.macd.com/>
----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------
MACD GmbH
Oppenhoffallee 103
D-52066 Aachen
Tel: <a href="tel:%2B49%20241%20557080-0" value="+492415570800">+49 241 557080-0 | Fax: <a href="tel:%2B49%20241%20557080-10" value="+4924155708010">+49 241 557080-10
         Amtsgericht Aachen: HRB 8151
Ust.-Id: DE 813021663

Geschäftsführer: George Macdonald
----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------

take care of the environment - print only if necessary

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Quickfixj-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quickfixj-users


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Quickfixj-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quickfixj-users
Reply | Threaded
Open this post in threaded view
|

Re: Build quickfixj failed

Guido Medina
QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
QuickFIX/J Support: http://www.quickfixj.org/support/



Another option, build 1st and test later by issuing the following 2 commands:

mvn clean install -DskipTests=true
mvn test

On Mon, May 22, 2017 at 3:57 PM, Guido Medina <[hidden email]> wrote:
A couple of things that can help you:

1) Update to Java 8u131 as the SSL part have changed a bit between the few last versions, you know; Oracle changing things...
2) -DskipTests=true if you just want to build without testing though it would be worth getting to the root of the problem.

HTH,

Guido.

On Mon, May 22, 2017 at 3:38 PM, Christoph John <[hidden email]> wrote:
QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
QuickFIX/J
Support: http://www.quickfixj.org/support/


I think the actual problem is this:

<20170520-03:32:00, FIX.4.4:ZULU->ALFA, event> (Pending connection not established after 205612 ms.)

It seems the connection to the SSL acceptor could not be opened (for reasons unknown to me).
Does this error occur every time?

Chris.


On 20/05/17 14:50, Jack Tang wrote:
> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
> QuickFIX/J Support: http://www.quickfixj.org/support/
>
>
>
>
>
>
> On Sat, May 20, 2017 at 2:11 PM, Christoph John <[hidden email]
> <mailto:[hidden email]>> wrote:
>
>     QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
>     QuickFIX/J <http://www.quickfixj.org/documentation/%0AQuickFIX/J> Support:
>     http://www.quickfixj.org/support/ <http://www.quickfixj.org/support/>
>
>
>
>     Which JDK version are you using? Since only SSL related tests are failing I suspect that some
>     ciphers might be unavailable in your version.
>
>
> $ java -version
> java version "1.8.0_111"
> Java(TM) SE Runtime Environment (build 1.8.0_111-b14)
> Java HotSpot(TM) 64-Bit Server VM (build 25.111-b14, mixed mode)
>
> OS is macOS Sierra 10.12.4
>
>
>
>     Am 20. Mai 2017 07:18:47 MESZ schrieb Jack Tang <[hidden email] <mailto:[hidden email]>>:
>
>         Hello,
>
>         I clone quickfixj source code and follow
>         http://www.quickfixj.org/quickfixj/usermanual/1.6.3/
>         <http://www.quickfixj.org/quickfixj/usermanual/1.6.3/> to build quickfixj by using
>         command mvn package -Dgenerator.decimal=true -DskipAT=true. Some tests are failed and I
>         list re-build log below:
>
>         ....
>         五月 20, 2017 11:31:58 上午 quickfix.SessionSchedule <init>
>         信息: [FIX.4.4:TW->ISLD] daily, 00:00:00-UTC - 00:00:00-UTC
>         <20170520-03:31:58, FIX.4.4:TW->ISLD, event> (Session FIX.4.4:TW->ISLD schedule is daily,
>         00:00:00-UTC - 00:00:00-UTC)
>         <20170520-03:31:58, FIX.4.4:TW->ISLD, event> (Created session: FIX.4.4:TW->ISLD)
>         五月 20, 2017 11:31:58 上午 quickfix.mina.NetworkingOptions logOption
>         信息: Socket option: SocketTcpNoDelay=true
>         五月 20, 2017 11:31:58 上午 quickfix.mina.NetworkingOptions logOption
>         信息: Socket option: SocketSynchronousWrites=false
>         五月 20, 2017 11:31:58 上午 quickfix.mina.NetworkingOptions logOption
>         信息: Socket option: SocketSynchronousWriteTimeout=30000
>         五月 20, 2017 11:31:58 上午 quickfix.mina.initiator.IoSessionInitiator <init>
>         信息: [FIX.4.4:TW->ISLD] [localhost/127.0.0.1:19888 <http://127.0.0.1:19888>]
>         五月 20, 2017 11:31:58 上午 quickfix.mina.SessionConnector startSessionTimer
>         信息: SessionTimer started
>         五月 20, 2017 11:31:58 上午 quickfix.mina.SingleThreadedEventHandlingStrategy$1 run
>         信息: Started QFJ Message Processor
>         <20170520-03:32:00, FIX.4.4:ZULU->ALFA, event> (Pending connection not established after
>         205612 ms.)
>         <20170520-03:32:02, FIX.4.4:ZULU->ALFA, event> (Pending connection not established after
>         200610 ms.)
>         五月 20, 2017 11:32:02 上午 quickfix.mina.initiator.InitiatorIoHandler sessionCreated
>         信息: MINA session created for FIX.4.4:TW->ISLD: local=/127.0.0.1:57314
>         <http://127.0.0.1:57314>, class org.apache.mina.transport.socket.nio.NioSocketSession,
>         remote=localhost/127.0.0.1:19888 <http://127.0.0.1:19888>
>         五月 20, 2017 11:32:02 上午 quickfix.mina.acceptor.AcceptorIoHandler sessionCreated
>         信息: MINA session created: local=/127.0.0.1:19888 <http://127.0.0.1:19888>, class
>         org.apache.mina.transport.socket.nio.NioSocketSession, remote=/127.0.0.1:57314
>         <http://127.0.0.1:57314>
>         五月 20, 2017 11:32:03 上午 quickfix.Session disconnect
>         信息: [FIX.4.4:TW->ISLD] Disconnecting: Encountered END_OF_STREAM
>         五月 20, 2017 11:32:03 上午 quickfix.mina.SessionConnector logoutAllSessions
>         信息: Logging out all sessions
>         五月 20, 2017 11:32:03 上午 quickfix.mina.SessionConnector stopSessionTimer
>         信息: SessionTimer canceled
>         五月 20, 2017 11:32:03 上午 quickfix.mina.SingleThreadedEventHandlingStrategy$1 run
>         信息: Stopped QFJ Message Processor
>         Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.024 sec - in
>         quickfix.test.acceptance.timer.TimerTest
>         Running quickfix.test.util.ExpectedTestFailureTest
>         五月 20, 2017 11:32:03 上午 quickfix.test.acceptance.timer.TimerTestServer run
>         信息: TimerTestServer shutting down.
>         五月 20, 2017 11:32:03 上午 quickfix.mina.SessionConnector stopSessionTimer
>         信息: SessionTimer canceled
>         五月 20, 2017 11:32:03 上午 quickfix.mina.SingleThreadedEventHandlingStrategy$1 run
>         信息: Stopped QFJ Message Processor
>         五月 20, 2017 11:32:03 上午 quickfix.mina.acceptor.AbstractSocketAcceptor
>         stopAcceptingConnections
>         信息: No longer accepting connections on /0:0:0:0:0:0:0:0:19888
>         五月 20, 2017 11:32:03 上午 quickfix.mina.SessionConnector logoutAllSessions
>         信息: Logging out all sessions
>         Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec - in
>         quickfix.test.util.ExpectedTestFailureTest
>
>         Results :
>
>         Failed tests:
>           SSLAndNonSSLTest.testSSLClient:62->doLogonTest:89->assertLoggedOn:123 client session not
>         logged in
>
>         SSLCertificateTest.shouldAuthenticateServerAndClientCertificatesWhenUsingDifferentKeystoreFormats:138
>         Session is not logged on
>           SSLCertificateTest.shouldAuthenticateServerCertificate:74 Session is not logged on
>
>         SSLCertificateTest.shouldCreateFixSessionWithoutAuthenticationWhenTrustStoresAreMissing:317
>         Session is not logged on
>
>         SSLCertificateTest.shouldCreateFixSessionWithoutAuthenticationWhenUsingDefaultKeystores:346
>         Session is not logged on
>
>         SSLCertificateTest.shouldCreateFixSessionWithoutAuthenticationWhenUsingEmptyServerKeyStoreWithAnonymousCipher:288
>         Session is not logged on
>           SSLCertificateTest.shouldFailWhenUsingEmptyServerKeyStore:374 No SSL exception thrown
>           SecureSocketTest.testLogonWithCustomCertificate:101->doLogonTest:149->assertLoggedOn:183
>         client session not logged in
>           SecureSocketTest.testLogonWithDefaultCertificate:97->doLogonTest:149->assertLoggedOn:183
>         client session not logged in
>
>         Tests run: 540, Failures: 9, Errors: 0, Skipped: 0
>
>         [INFO] ------------------------------------------------------------------------
>         [INFO] Reactor Summary:
>         [INFO]
>         [INFO] QuickFIX/J Parent .................................. SUCCESS [  0.070 s]
>         [INFO] QuickFIX/J Code Generator Maven Plugin ............. SUCCESS [  2.348 s]
>         [INFO] QuickFIX/J Dictionary Generator .................... SUCCESS [  0.725 s]
>         [INFO] QuickFIX/J Core engine ............................. FAILURE [06:59 min]
>         [INFO] QuickFIX/J Message classes for various FIX specs ... SKIPPED
>         [INFO] QuickFIX/J Message classes for FIX 4.0 ............. SKIPPED
>         [INFO] QuickFIX/J Message classes for FIX 4.1 ............. SKIPPED
>         [INFO] QuickFIX/J Message classes for FIX 4.2 ............. SKIPPED
>         [INFO] QuickFIX/J Message classes for FIX 4.3 ............. SKIPPED
>         [INFO] QuickFIX/J Message classes for FIX 4.4 ............. SKIPPED
>         [INFO] QuickFIX/J Message classes for FIX 5.0 ............. SKIPPED
>         [INFO] QuickFIX/J Message classes for FIX 5.0 SP1 ......... SKIPPED
>         [INFO] QuickFIX/J Message classes for FIX 5.0 SP2 ......... SKIPPED
>         [INFO] QuickFIX/J Message classes for FIXT 1.1 ............ SKIPPED
>         [INFO] QuickFIX/J Message classes for all FIX specs ....... SKIPPED
>         [INFO] QuickFIX/J Examples ................................ SKIPPED
>         [INFO] QuickFIX/J Examples - Executor ..................... SKIPPED
>         [INFO] QuickFIX/J Examples - Order Match .................. SKIPPED
>         [INFO] QuickFIX/J Examples - Banzai ....................... SKIPPED
>         [INFO] QuickFIX/J All runtime modules ..................... SKIPPED
>         [INFO] QuickFIX/J Distribution ............................ SKIPPED
>         [INFO] ------------------------------------------------------------------------
>         [INFO] BUILD FAILURE
>         [INFO] ------------------------------------------------------------------------
>         [INFO] Total time: 07:03 min
>         [INFO] Finished at: 2017-05-20T11:32:04+08:00
>         [INFO] Final Memory: 45M/1441M
>         [INFO] ------------------------------------------------------------------------
>         [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test
>         (default-test) on project quickfixj-core: There are test failures.
>         [ERROR]
>         [ERROR] Please refer to
>         /Users/jacktang/Code/quickfixj/quickfixj-core/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
>         <http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException>
>         [ERROR]
>         [ERROR] After correcting the problems, you can resume the build with the command
>         [ERROR]   mvn <goals> -rf :quickfixj-core
>
>
>         How can I pass the build? Thanks!
>
>         BR
>
>         --
>         Jack Tang
>
>
>         http://www.linkedin.com/in/jacktang <http://www.linkedin.com/in/jacktang>
>
>
>     ------------------------------------------------------------------------------
>     Check out the vibrant tech community on one of the world's most
>     engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>     _______________________________________________
>     Quickfixj-users mailing list
>     [hidden email] <mailto:[hidden email]>
>     https://lists.sourceforge.net/lists/listinfo/quickfixj-users
>     <https://lists.sourceforge.net/lists/listinfo/quickfixj-users>
>
>
>
>
> --
> Jack Tang
>
>
> http://www.linkedin.com/in/jacktang
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>
>
> _______________________________________________
> Quickfixj-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/quickfixj-users

--
Christoph John
Development & Support
Direct: <a href="tel:%2B49%20241%20557080-28" value="+4924155708028" target="_blank">+49 241 557080-28
Mailto:[hidden email]



http://www.macd.com <http://www.macd.com/>
----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------
MACD GmbH
Oppenhoffallee 103
D-52066 Aachen
Tel: <a href="tel:%2B49%20241%20557080-0" value="+492415570800" target="_blank">+49 241 557080-0 | Fax: <a href="tel:%2B49%20241%20557080-10" value="+4924155708010" target="_blank">+49 241 557080-10
         Amtsgericht Aachen: HRB 8151
Ust.-Id: DE 813021663

Geschäftsführer: George Macdonald
----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------

take care of the environment - print only if necessary

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Quickfixj-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quickfixj-users



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Quickfixj-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quickfixj-users