jax-ws
  1. jax-ws
  2. JAX_WS-964

E2E wsrm/v1_1/invm/jcapsnack test case hangs indefinitely on Hudson

    Details

      Description

      The e2e test job hangs indefinitely and apparently reproducibly at the same RM test case with recent Metro trunk builds. I cannot reproduce the hang on my local machine.

      The test job is a precondition for deploying Metro promotions. I will disable this particular test case for now (remember to reenable it when debugging the issue) so that we get the builds going again.

      Here is a snippet of the test output:

      [java] ..Generating server artifacts from /home.local/hudson/hudson-files/workspace/metro-main-trunk-e2e-tests-local/e2e/testcases/wsrm/v1_1/invm/jcapsnack/./server/PingService.wsdl
      [java] [failed to localize] wsimport.ParsingWSDL()
      [java] [failed to localize] wsimport.WarningMessage([failed to localize] wsdlmodeler.warning.port.SOAPBinding12(PingPort))
      [java] [failed to localize] ConsoleErrorReporter.LineXOfY(110, file:/home.local/hudson/hudson-files/workspace/metro-main-trunk-e2e-tests-local/e2e/testcases/wsrm/v1_1/invm/jcapsnack/server/PingService.wsdl)
      [java]
      [java] [failed to localize] wsimport.GeneratingCode()
      [java] Jul 1, 2011 7:56:14 AM com.sun.xml.ws.server.MonitorBase createRoot
      [java] INFO: Metro monitoring rootname successfully set to: com.sun.metro:pp=/,type=WSEndpoint,name=PingService-PingPort
      [java] [failed to localize] wsimport.ParsingWSDL()
      [java] [failed to localize] wsimport.WarningMessage([failed to localize] wsdlmodeler.warning.port.SOAPBinding12(PingPort))
      [java] [failed to localize] ConsoleErrorReporter.LineXOfY(95, file:/home.local/hudson/hudson-files/workspace/metro-main-trunk-e2e-tests-local/e2e/testcases/wsrm/v1_1/invm/jcapsnack/work/services/server/war/WEB-INF/wsdl/PingService.wsdl)
      [java]
      [java] [failed to localize] wsimport.GeneratingCode()
      [java] injected addresses: pingPortAddress
      [java] .Jul 1, 2011 7:56:14 AM com.sun.xml.ws.server.MonitorBase createRoot
      [java] INFO: Metro monitoring rootname successfully set to: com.sun.metro:pp=/,type=WSClient,name=in-vm-//wsrm.v1_1.invm.jcapsnack.server/-PingPort

      The last line is the last entry in the Hudson console output.

        Activity

        Hide
        ritzmann added a comment -

        There seems to be a similar issue with the wsrm/v1_0/invm/jcapsnack. I am disabling this one as well now. The log says:

        [java] ..Generating server artifacts from /home.local/hudson/hudson-files/workspace/metro-main-trunk-e2e-tests-local/e2e/testcases/wsrm/v1_0/invm/jcapsnack/./server/PingService.wsdl
        [java] [failed to localize] wsimport.ParsingWSDL()
        [java] [failed to localize] wsimport.WarningMessage([failed to localize] wsdlmodeler.warning.port.SOAPBinding12(PingPort))
        [java] [failed to localize] ConsoleErrorReporter.LineXOfY(100, file:/home.local/hudson/hudson-files/workspace/metro-main-trunk-e2e-tests-local/e2e/testcases/wsrm/v1_0/invm/jcapsnack/server/PingService.wsdl)
        [java]
        [java] [failed to localize] wsimport.GeneratingCode()
        [java] Jul 1, 2011 9:04:32 AM com.sun.xml.ws.server.MonitorBase createRoot
        [java] INFO: Metro monitoring rootname successfully set to: com.sun.metro:pp=/,type=WSEndpoint,name=PingService-PingPort
        [java] [failed to localize] wsimport.ParsingWSDL()
        [java] [failed to localize] wsimport.WarningMessage([failed to localize] wsdlmodeler.warning.port.SOAPBinding12(PingPort))
        [java] [failed to localize] ConsoleErrorReporter.LineXOfY(83, file:/home.local/hudson/hudson-files/workspace/metro-main-trunk-e2e-tests-local/e2e/testcases/wsrm/v1_0/invm/jcapsnack/work/services/server/war/WEB-INF/wsdl/PingService.wsdl)
        [java]
        [java] [failed to localize] wsimport.GeneratingCode()
        [java] injected addresses: pingPortAddress
        [java] .Jul 1, 2011 9:04:32 AM com.sun.xml.ws.server.MonitorBase createRoot
        [java] INFO: Metro monitoring rootname successfully set to: com.sun.metro:pp=/,type=WSClient,name=in-vm-//wsrm.v1_0.invm.jcapsnack.server/-PingPort
        [java] Jul 1, 2011 9:04:36 AM [com.sun.xml.ws.rx.rm.runtime.ClientAckRequesterTask] onCompletion
        [java] WARNING: WSRM1108: Response for the acknowledgement request is null
        [java] Jul 1, 2011 9:04:38 AM [com.sun.xml.ws.rx.rm.runtime.ClientAckRequesterTask] onCompletion
        [java] WARNING: WSRM1108: Response for the acknowledgement request is null

        The last two lines seem to get repeated indefinitely in 2 second intervals.

        Show
        ritzmann added a comment - There seems to be a similar issue with the wsrm/v1_0/invm/jcapsnack. I am disabling this one as well now. The log says: [java] ..Generating server artifacts from /home.local/hudson/hudson-files/workspace/metro-main-trunk-e2e-tests-local/e2e/testcases/wsrm/v1_0/invm/jcapsnack/./server/PingService.wsdl [java] [failed to localize] wsimport.ParsingWSDL() [java] [failed to localize] wsimport.WarningMessage( [failed to localize] wsdlmodeler.warning.port.SOAPBinding12(PingPort)) [java] [failed to localize] ConsoleErrorReporter.LineXOfY(100, file:/home.local/hudson/hudson-files/workspace/metro-main-trunk-e2e-tests-local/e2e/testcases/wsrm/v1_0/invm/jcapsnack/server/PingService.wsdl ) [java] [java] [failed to localize] wsimport.GeneratingCode() [java] Jul 1, 2011 9:04:32 AM com.sun.xml.ws.server.MonitorBase createRoot [java] INFO: Metro monitoring rootname successfully set to: com.sun.metro:pp=/,type=WSEndpoint,name=PingService-PingPort [java] [failed to localize] wsimport.ParsingWSDL() [java] [failed to localize] wsimport.WarningMessage( [failed to localize] wsdlmodeler.warning.port.SOAPBinding12(PingPort)) [java] [failed to localize] ConsoleErrorReporter.LineXOfY(83, file:/home.local/hudson/hudson-files/workspace/metro-main-trunk-e2e-tests-local/e2e/testcases/wsrm/v1_0/invm/jcapsnack/work/services/server/war/WEB-INF/wsdl/PingService.wsdl ) [java] [java] [failed to localize] wsimport.GeneratingCode() [java] injected addresses: pingPortAddress [java] .Jul 1, 2011 9:04:32 AM com.sun.xml.ws.server.MonitorBase createRoot [java] INFO: Metro monitoring rootname successfully set to: com.sun.metro:pp=/,type=WSClient,name=in-vm-//wsrm.v1_0.invm.jcapsnack.server/-PingPort [java] Jul 1, 2011 9:04:36 AM [com.sun.xml.ws.rx.rm.runtime.ClientAckRequesterTask] onCompletion [java] WARNING: WSRM1108: Response for the acknowledgement request is null [java] Jul 1, 2011 9:04:38 AM [com.sun.xml.ws.rx.rm.runtime.ClientAckRequesterTask] onCompletion [java] WARNING: WSRM1108: Response for the acknowledgement request is null The last two lines seem to get repeated indefinitely in 2 second intervals.
        Hide
        Marek Potociar added a comment -

        Reassinging to JAX-WS RI lead:

        I have found out that the problem started to occur with integration of JAX-WS RI 2.2.6-promoted-b01. With the older 2.2.5-promoted-b04 the test passes. There were NO changes in the WS-RM code for some time already. Most likely the problem is related to a JAX-WS RI new databinding API commit.

        Show
        Marek Potociar added a comment - Reassinging to JAX-WS RI lead: I have found out that the problem started to occur with integration of JAX-WS RI 2.2.6-promoted-b01. With the older 2.2.5-promoted-b04 the test passes. There were NO changes in the WS-RM code for some time already. Most likely the problem is related to a JAX-WS RI new databinding API commit.
        Hide
        Martin Grebac added a comment -

        Fixed the test and re-enabled it. The contract should expect an explicit ack or no-ack from jcaps. If there's no ack message, messages get resent until timeout is reached.

        Revisions:
        ----------
        6908

        Modified Paths:
        ---------------
        trunk/wsit/tests/e2e/testcases/wsrm/v1_1/invm/jcapsnack/server/IPingImpl.java
        trunk/wsit/tests/e2e/testcases/wsrm/v1_1/invm/jcapsnack/test-descriptor.xml

        Diffs:
        ------
        Index: trunk/wsit/tests/e2e/testcases/wsrm/v1_1/invm/jcapsnack/server/IPingImpl.java
        ===================================================================
        — trunk/wsit/tests/e2e/testcases/wsrm/v1_1/invm/jcapsnack/server/IPingImpl.java (revision 6907)
        +++ trunk/wsit/tests/e2e/testcases/wsrm/v1_1/invm/jcapsnack/server/IPingImpl.java (revision 6908)
        @@ -1,7 +1,7 @@
        /*

        • DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
          *
        • * Copyright (c) 1997-2010 Oracle and/or its affiliates. All rights reserved.
          + * Copyright (c) 1997-2011 Oracle and/or its affiliates. All rights reserved.
          *
        • The contents of this file are subject to the terms of either the GNU
        • General Public License Version 2 only ("GPL") or the Common Development
          @@ -71,6 +71,7 @@
          } else { LOGGER.log(Level.ALL, String.format("Detected resent message '%s' with message number %d", message, msgNumber)); FIRST_MESSAGE_RESEND_DETECTED.set(true); + msgCtx.put("RM_ACK", "true"); }

          } else if (!FIRST_MESSAGE_RESEND_DETECTED.get()) {
          String errorMessage = String.format("Received message '%s' with message number %d without detecting a resend of rejected message.", message, msgNumber);

        Show
        Martin Grebac added a comment - Fixed the test and re-enabled it. The contract should expect an explicit ack or no-ack from jcaps. If there's no ack message, messages get resent until timeout is reached. Revisions: ---------- 6908 Modified Paths: --------------- trunk/wsit/tests/e2e/testcases/wsrm/v1_1/invm/jcapsnack/server/IPingImpl.java trunk/wsit/tests/e2e/testcases/wsrm/v1_1/invm/jcapsnack/test-descriptor.xml Diffs: ------ Index: trunk/wsit/tests/e2e/testcases/wsrm/v1_1/invm/jcapsnack/server/IPingImpl.java =================================================================== — trunk/wsit/tests/e2e/testcases/wsrm/v1_1/invm/jcapsnack/server/IPingImpl.java (revision 6907) +++ trunk/wsit/tests/e2e/testcases/wsrm/v1_1/invm/jcapsnack/server/IPingImpl.java (revision 6908) @@ -1,7 +1,7 @@ /* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * Copyright (c) 1997-2010 Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997-2011 Oracle and/or its affiliates. All rights reserved. * The contents of this file are subject to the terms of either the GNU General Public License Version 2 only ("GPL") or the Common Development @@ -71,6 +71,7 @@ } else { LOGGER.log(Level.ALL, String.format("Detected resent message '%s' with message number %d", message, msgNumber)); FIRST_MESSAGE_RESEND_DETECTED.set(true); + msgCtx.put("RM_ACK", "true"); } } else if (!FIRST_MESSAGE_RESEND_DETECTED.get()) { String errorMessage = String.format("Received message '%s' with message number %d without detecting a resend of rejected message.", message, msgNumber);

          People

          • Assignee:
            Martin Grebac
            Reporter:
            ritzmann
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: