eclipse-ee4j / eclipse-ee4j/metro-wsit

Secure Soap Reliable TCP One way Scenario is failing in RM tests

Open
#368 0 comments 0 reactions 0 assignees View on GitHub
Component: rm Priority: Minor Type: Bug
Dominant language
Java
Stars
6
Forks
21
Avg merge
10h 2m
Merged PRs (30d)
1

Description

Secure Soap Reliable TCP One way Scenario is failing in RM test suite.

Extract from the Server log when the test is run:
====================================================

[#|2012-07-02T14:05:41.765+0530|WARNING|glassfish3.1.2|com.sun.metro.transport.tcp.server|_ThreadID=38;_ThreadName=Thread-2;|WSTCP1162: SOAP/TCP doesnt have own TCP listener, so the SOAP/TCP runtime is not able to set the valid port attribute. Port attribute is ignored|#]

[#|2012-07-02T14:05:42.397+0530|WARNING|glassfish3.1.2|com.sun.metro.transport.tcp.server|_ThreadID=42;_ThreadName=Thread-2;|WSTCP1162: SOAP/TCP doesnt have own TCP listener, so the SOAP/TCP runtime is not able to set the valid port attribute. Port attribute is ignored|#]

[#|2012-07-02T14:05:46.152+0530|WARNING|glassfish3.1.2|com.sun.metro.transport.tcp.server|_ThreadID=42;_ThreadName=Thread-2;|WSTCP1162: SOAP/TCP doesnt have own TCP listener, so the SOAP/TCP runtime is not able to set the valid port attribute. Port attribute is ignored|#]

[#|2012-07-02T14:05:46.794+0530|WARNING|glassfish3.1.2|com.sun.metro.transport.tcp.server|_ThreadID=41;_ThreadName=Thread-2;|WSTCP1162: SOAP/TCP doesnt have own TCP listener, so the SOAP/TCP runtime is not able to set the valid port attribute. Port attribute is ignored|#]

[#|2012-07-02T14:05:50.688+0530|WARNING|glassfish3.1.2|com.sun.metro.transport.tcp.server|_ThreadID=39;_ThreadName=Thread-2;|WSTCP1162: SOAP/TCP doesnt have own TCP listener, so the SOAP/TCP runtime is not able to set the valid port attribute. Port attribute is ignored|#]

[#|2012-07-02T14:05:53.437+0530|INFO|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=921;_ThreadName=Thread-2;|WITH 1.6482191712531908 text...: 1 [TEST PING] /space/hudson/hudson-workspace/workspace/tango/qe-tests/jax-rm/test/functional/destsecuresoaprtcponewayPingSessionRecord1.log;sendPing2|#]

[#|2012-07-02T14:05:53.438+0530|INFO|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=921;_ThreadName=Thread-2;|WITH 1.6482191712531908 destination to write to: /space/hudson/hudson-workspace/workspace/tango/qe-tests/jax-rm/test/functional/destsecuresoaprtcponewayPingSessionRecord1.log|#]

[#|2012-07-02T14:05:53.438+0530|INFO|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=921;_ThreadName=Thread-2;|WITH 1.6482191712531908Message Written OK...:true|#]

[#|2012-07-02T14:06:00.697+0530|WARNING|glassfish3.1.2|com.sun.metro.transport.tcp.server|_ThreadID=38;_ThreadName=Thread-2;|WSTCP0035: Channel-id Session: 18400632 Channel-id: 1 doesnt exist!|#]

[#|2012-07-02T14:06:00.745+0530|WARNING|glassfish3.1.2|com.sun.metro.transport.tcp.server|_ThreadID=40;_ThreadName=Thread-2;|WSTCP1162: SOAP/TCP doesnt have own TCP listener, so the SOAP/TCP runtime is not able to set the valid port attribute. Port attribute is ignored|#]

[#|2012-07-02T14:06:00.925+0530|INFO|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=921;_ThreadName=Thread-2;|WITH 0.9700214089471826 text...: 1 [TEST PING] /space/hudson/hudson-workspace/workspace/tango/qe-tests/jax-rm/test/functional/destsecuresoaprtcponewayPingSessionRecord2.log;sendPing2|#]

[#|2012-07-02T14:06:00.926+0530|INFO|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=921;_ThreadName=Thread-2;|WITH 0.9700214089471826 destination to write to: /space/hudson/hudson-workspace/workspace/tango/qe-tests/jax-rm/test/functional/destsecuresoaprtcponewayPingSessionRecord2.log|#]

[#|2012-07-02T14:06:00.926+0530|INFO|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=921;_ThreadName=Thread-2;|WITH 0.9700214089471826Message Written OK...:true|#]

[#|2012-07-02T14:06:01.024+0530|INFO|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=921;_ThreadName=Thread-2;|WITH 1.149635300236589 text...: 2 [TEST PING] /space/hudson/hudson-workspace/workspace/tango/qe-tests/jax-rm/test/functional/destsecuresoaprtcponewayPingSessionRecord2.log;sendPing2|#]

[#|2012-07-02T14:06:01.025+0530|INFO|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=921;_ThreadName=Thread-2;|WITH 1.149635300236589 destination to write to: /space/hudson/hudson-workspace/workspace/tango/qe-tests/jax-rm/test/functional/destsecuresoaprtcponewayPingSessionRecord2.log|#]

[#|2012-07-02T14:06:01.025+0530|INFO|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=921;_ThreadName=Thread-2;|WITH 1.149635300236589Message Written OK...:true|#]

Output from Client execution
==============================

[jvmTestRunner] Running JUnit in plain VM
[jvmTestRunner] VM started
[jvmTestRunner] JUnitTestRunner:Loading class tango2tango.securesoaprtcponeway.client.ReliableOneWayTest
[jvmTestRunner] JUnitTestRunner:Using default classloader
[jvmTestRunner] - test suite tango2tango.securesoaprtcponeway.client.ReliableOneWayTest started
[jvmTestRunner] Jul 2, 2012 2:05:51 PM [com.sun.xml.ws.policy.parser.PolicyConfigParser] parse
[jvmTestRunner] INFO: WSP5018: Loaded WSIT configuration from file: [file:/space/hudson/hudson-workspace/workspace/tango/qe-tests/jax-rm/functional/test/data/clone/inpath/tango2tango/securesoaprtcp/oneway/client/wsit-client.xml](file:/space/hudson/hudson-workspace/workspace/tango/qe-tests/jax-rm/functional/test/data/clone/inpath/tango2tango/securesoaprtcp/oneway/client/wsit-client.xml).
[jvmTestRunner] Jul 2, 2012 2:05:51 PM [com.sun.xml.ws.policy.parser.PolicyConfigParser] parse
[jvmTestRunner] INFO: WSP5018: Loaded WSIT configuration from file: [file:/space/hudson/hudson-workspace/workspace/tango/qe-tests/jax-rm/functional/test/data/clone/inpath/tango2tango/securesoaprtcp/oneway/client/wsit-client.xml](file:/space/hudson/hudson-workspace/workspace/tango/qe-tests/jax-rm/functional/test/data/clone/inpath/tango2tango/securesoaprtcp/oneway/client/wsit-client.xml).
[jvmTestRunner] Jul 2, 2012 2:05:51 PM [com.sun.xml.ws.policy.parser.PolicyConfigParser] parse
[jvmTestRunner] INFO: WSP5018: Loaded WSIT configuration from file: [file:/space/hudson/hudson-workspace/workspace/tango/qe-tests/jax-rm/functional/test/data/clone/inpath/tango2tango/securesoaprtcp/oneway/client/wsit-client.xml](file:/space/hudson/hudson-workspace/workspace/tango/qe-tests/jax-rm/functional/test/data/clone/inpath/tango2tango/securesoaprtcp/oneway/client/wsit-client.xml).
[jvmTestRunner] 1 [TEST PING] /space/hudson/hudson-workspace/workspace/tango/qe-tests/jax-rm/test/functional/destsecuresoaprtcponewayPingSessionRecord1.log;sendPing2
[jvmTestRunner] Jul 2, 2012 2:05:52 PM com.sun.xml.wss.impl.misc.DefaultCallbackHandler getDefaultCertificateFromTrustStore
[jvmTestRunner] WARNING: truststore peeralias not found,picking up the arbitrary certificate
[jvmTestRunner] Jul 2, 2012 2:05:52 PM com.sun.xml.wss.impl.misc.DefaultCallbackHandler getDefaultCertificateFromTrustStore
[jvmTestRunner] WARNING: truststore peeralias not found,picking up the arbitrary certificate
[jvmTestRunner] ======================> CALLED H0(0) <======================
[jvmTestRunner] ======================> H0(0):LAZY <======================
[jvmTestRunner] Jul 2, 2012 2:05:53 PM [com.sun.xml.ws.policy.parser.PolicyConfigParser] parse
[jvmTestRunner] INFO: WSP5018: Loaded WSIT configuration from file: [file:/space/hudson/hudson-workspace/workspace/tango/qe-tests/jax-rm/functional/test/data/clone/inpath/tango2tango/securesoaprtcp/oneway/client/wsit-client.xml](file:/space/hudson/hudson-workspace/workspace/tango/qe-tests/jax-rm/functional/test/data/clone/inpath/tango2tango/securesoaprtcp/oneway/client/wsit-client.xml).
[jvmTestRunner] ======================> CALLED H0(-1) <======================
[jvmTestRunner] ======================> H0(-1):LAZY <======================
[jvmTestRunner] ======================> CALLED H0(1) <======================
[jvmTestRunner] ======================> H0(1):LAZY <======================
[jvmTestRunner] ======================> CALLED H0(-1) <======================
[jvmTestRunner] ======================> H0(-1):LAZY <======================
[jvmTestRunner] Jul 2, 2012 2:05:55 PM [com.sun.xml.ws.policy.parser.PolicyConfigParser] parse
[jvmTestRunner] INFO: WSP5018: Loaded WSIT configuration from file: [file:/space/hudson/hudson-workspace/workspace/tango/qe-tests/jax-rm/functional/test/data/clone/inpath/tango2tango/securesoaprtcp/oneway/client/wsit-client.xml](file:/space/hudson/hudson-workspace/workspace/tango/qe-tests/jax-rm/functional/test/data/clone/inpath/tango2tango/securesoaprtcp/oneway/client/wsit-client.xml).
[jvmTestRunner] Jul 2, 2012 2:05:58 PM [com.sun.xml.ws.rx.rm.runtime.ClientTube] closeRmSession
[jvmTestRunner] INFO: WSRM1112: Waiting for message acknowledgements on a sequence [ uuid:389ad920-50d7-438d-9a78-cab949b0392a ] timed out after 3,000 milliseconds.
[jvmTestRunner] ======================> CALLED H0(-1) <======================
[jvmTestRunner] ======================> H0(-1):LAZY <======================
[jvmTestRunner] Jul 2, 2012 2:05:58 PM [com.sun.xml.ws.policy.parser.PolicyConfigParser] parse
[jvmTestRunner] INFO: WSP5018: Loaded WSIT configuration from file: [file:/space/hudson/hudson-workspace/workspace/tango/qe-tests/jax-rm/functional/test/data/clone/inpath/tango2tango/securesoaprtcp/oneway/client/wsit-client.xml](file:/space/hudson/hudson-workspace/workspace/tango/qe-tests/jax-rm/functional/test/data/clone/inpath/tango2tango/securesoaprtcp/oneway/client/wsit-client.xml).
[jvmTestRunner] ======================> CALLED H0(0) <======================
[jvmTestRunner] ======================> H0(0):LAZY <======================
[jvmTestRunner] 0-st check for results:passed...OK
[jvmTestRunner] Jul 2, 2012 2:06:00 PM [com.sun.xml.ws.policy.parser.PolicyConfigParser] parse
[jvmTestRunner] INFO: WSP5018: Loaded WSIT configuration from file: [file:/space/hudson/hudson-workspace/workspace/tango/qe-tests/jax-rm/functional/test/data/clone/inpath/tango2tango/securesoaprtcp/oneway/client/wsit-client.xml](file:/space/hudson/hudson-workspace/workspace/tango/qe-tests/jax-rm/functional/test/data/clone/inpath/tango2tango/securesoaprtcp/oneway/client/wsit-client.xml).
[jvmTestRunner] 1 [TEST PING] /space/hudson/hudson-workspace/workspace/tango/qe-tests/jax-rm/test/functional/destsecuresoaprtcponewayPingSessionRecord2.log;sendPing2
[jvmTestRunner] Jul 2, 2012 2:06:00 PM com.sun.xml.wss.impl.misc.DefaultCallbackHandler getDefaultCertificateFromTrustStore
[jvmTestRunner] WARNING: truststore peeralias not found,picking up the arbitrary certificate
[jvmTestRunner] Jul 2, 2012 2:06:00 PM com.sun.xml.wss.impl.misc.DefaultCallbackHandler getDefaultCertificateFromTrustStore
[jvmTestRunner] WARNING: truststore peeralias not found,picking up the arbitrary certificate
[jvmTestRunner] ======================> CALLED H0(0) <======================
[jvmTestRunner] ======================> H0(0):LAZY <======================
[jvmTestRunner] ======================> CALLED H0(-1) <======================
[jvmTestRunner] ======================> H0(-1):LAZY <======================
[jvmTestRunner] ======================> CALLED H0(1) <======================
[jvmTestRunner] ======================> H0(1):LAZY <======================
[jvmTestRunner] 2 [TEST PING] /space/hudson/hudson-workspace/workspace/tango/qe-tests/jax-rm/test/functional/destsecuresoaprtcponewayPingSessionRecord2.log;sendPing2
[jvmTestRunner] ======================> CALLED H0(2) <======================
[jvmTestRunner] ======================> H0(2):LAZY <======================
[jvmTestRunner] Jul 2, 2012 2:06:00 PM [com.sun.xml.ws.policy.parser.PolicyConfigParser] parse
[jvmTestRunner] INFO: WSP5018: Loaded WSIT configuration from file: [file:/space/hudson/hudson-workspace/workspace/tango/qe-tests/jax-rm/functional/test/data/clone/inpath/tango2tango/securesoaprtcp/oneway/client/wsit-client.xml](file:/space/hudson/hudson-workspace/workspace/tango/qe-tests/jax-rm/functional/test/data/clone/inpath/tango2tango/securesoaprtcp/oneway/client/wsit-client.xml).
[jvmTestRunner] ======================> CALLED H0(-1) <======================
[jvmTestRunner] ======================> H0(-1):LAZY <======================
[jvmTestRunner] Jul 2, 2012 2:06:03 PM [com.sun.xml.ws.policy.parser.PolicyConfigParser] parse
[jvmTestRunner] INFO: WSP5018: Loaded WSIT configuration from file: [file:/space/hudson/hudson-workspace/workspace/tango/qe-tests/jax-rm/functional/test/data/clone/inpath/tango2tango/securesoaprtcp/oneway/client/wsit-client.xml](file:/space/hudson/hudson-workspace/workspace/tango/qe-tests/jax-rm/functional/test/data/clone/inpath/tango2tango/securesoaprtcp/oneway/client/wsit-client.xml).
[jvmTestRunner] Jul 2, 2012 2:06:06 PM [com.sun.xml.ws.rx.rm.runtime.ClientTube] closeRmSession
[jvmTestRunner] INFO: WSRM1112: Waiting for message acknowledgements on a sequence [ uuid:29dd3d9e-7bad-4170-8a70-5ce3efdde179 ] timed out after 3,000 milliseconds.
[jvmTestRunner] ======================> CALLED H0(-1) <======================
[jvmTestRunner] ======================> H0(-1):LAZY <======================
#### Environment
Glassfish3.1.2 patch2 , Metro 2.2.0.1, Linux

Source: [https://github.com/javaee/metro-wsit/issues/1645](https://github.com/javaee/metro-wsit/issues/1645)
Author: glassfishrobot

Contributor guide

Open the contributing guide

Research direction

Start with tango2tango.securesoaprtcponeway.client.ReliableOneWayTest and the referenced client wsit-client.xml configuration. Compare the client output with the server warnings, including the WSTCP0035 channel error and RM acknowledgement timeout. Done means the Secure SOAP Reliable TCP one-way scenario completes successfully in the RM test suite.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.