Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Done
    • Affects Version/s: EAP 6.0.1 ER 3
    • Fix Version/s: EAP 6.0.1
    • Component/s: Web Services
    • Labels:
      None

      Description

      I have problems with WS security performance tests.

      For ER2 the tests went well [1] but for ER3 I have 700 MB log of errors. Dependency tree for ER and ER3 attached.

      Errors I can see:
      [runTest(bash)] OUT > javax.xml.ws.soap.SOAPFaultException: None of the policy alternatives can be satisfied.
      [runTest(bash)] OUT > at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:156)
      [runTest(bash)] OUT > at $Proxy20.sayHello(Unknown Source)
      [runTest(bash)] OUT > at org.jboss.test.ws.jaxws.benchmark.test.wsse.SimpleSignTest.performIteration(SimpleSignTest.java:63)
      [runTest(bash)] OUT > at org.jboss.test.ws.jaxws.benchmark.base.Runner$BenchmarkCallable.call(Runner.java:75)
      [runTest(bash)] OUT > at org.jboss.test.ws.jaxws.benchmark.base.Runner$BenchmarkCallable.call(Runner.java:55)
      [runTest(bash)] OUT > at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      [runTest(bash)] OUT > at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      [runTest(bash)] OUT > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      [runTest(bash)] OUT > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      [runTest(bash)] OUT > at java.lang.Thread.run(Thread.java:662)
      [runTest(bash)] OUT > Caused by: org.apache.cxf.ws.policy.PolicyException: None of the policy alternatives can be satisfied.
      [runTest(bash)] OUT > at org.apache.cxf.ws.policy.EndpointPolicyImpl.chooseAlternative(EndpointPolicyImpl.java:165)
      [runTest(bash)] OUT > at org.apache.cxf.ws.policy.EndpointPolicyImpl.finalizeConfig(EndpointPolicyImpl.java:145)
      [runTest(bash)] OUT > at org.apache.cxf.ws.policy.EndpointPolicyImpl.initialize(EndpointPolicyImpl.java:141)
      [runTest(bash)] OUT > at org.apache.cxf.ws.policy.PolicyEngineImpl.createEndpointPolicyInfo(PolicyEngineImpl.java:555)
      [runTest(bash)] OUT > at org.apache.cxf.ws.policy.PolicyEngineImpl.getEndpointPolicy(PolicyEngineImpl.java:301)
      [runTest(bash)] OUT > at org.apache.cxf.ws.policy.PolicyEngineImpl.getClientEndpointPolicy(PolicyEngineImpl.java:283)
      [runTest(bash)] OUT > at org.apache.cxf.transport.http.policy.PolicyUtils.getClient(PolicyUtils.java:150)
      [runTest(bash)] OUT > at org.apache.cxf.transport.http.HTTPConduit.<init>(HTTPConduit.java:309)
      [runTest(bash)] OUT > at org.apache.cxf.transport.http.HTTPTransportFactory.getConduit(HTTPTransportFactory.java:248)
      [runTest(bash)] OUT > at org.apache.cxf.binding.soap.SoapTransportFactory.getConduit(SoapTransportFactory.java:229)
      [runTest(bash)] OUT > at org.apache.cxf.binding.soap.SoapTransportFactory.getConduit(SoapTransportFactory.java:236)
      [runTest(bash)] OUT > at org.apache.cxf.endpoint.AbstractConduitSelector.getSelectedConduit(AbstractConduitSelector.java:88)
      [runTest(bash)] OUT > at org.apache.cxf.endpoint.UpfrontConduitSelector.prepare(UpfrontConduitSelector.java:61)
      [runTest(bash)] OUT > at org.apache.cxf.endpoint.ClientImpl.prepareConduitSelector(ClientImpl.java:846)
      [runTest(bash)] OUT > at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:526)
      [runTest(bash)] OUT > at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:461)
      [runTest(bash)] OUT > at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:364)
      [runTest(bash)] OUT > at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:317)
      [runTest(bash)] OUT > at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:88)
      [runTest(bash)] OUT > at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:134)
      [runTest(bash)] OUT > ... 9 more

      <asoldano> rsvoboda, hi
      <asoldano> rsvoboda, I saw your email on the ws sec perf failures
      <rsvoboda> asoldano hi
      <asoldano> rsvoboda, I have a couple of questions:
      <rsvoboda> asoldano, sure, go on
      <asoldano> rsvoboda, 1) do we have running jenkins jobs for the jbws testsuite using the exact same eap version?
      <asoldano> rsvoboda, that sign test should be quite simple and is covered in the jbws testsuite...
      <rsvoboda> asoldano, we have, tests are passing
      <rsvoboda> asoldano, https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/EAP6/view/EAP6-WS/job/eap-60-jbossws-testsuite-rhel/31/
      <asoldano> rsvoboda, 2) do you still have that custom jenkins job allowing me to download the current EAP build? (ER3 in this case, used by the failing job)
      <rsvoboda> asoldano, http://download.devel.redhat.com/devel/candidates/JBEAP/JBEAP-6.0.1-ER3/
      <rsvoboda> asoldano, that job was for patched eap
      <rsvoboda> asoldano, I tried ro add wss4j as dependency but id didn't help
      <rsvoboda> asoldano, sources - https://svn.devel.redhat.com/repos/jboss-qa/load-testing/apps/ws-test/trunk/
      <rsvoboda> asoldano, command i used locally - mvn -s settings-pure.xml -Dmaven.repo.local=local-repo-pure -Peap601-cxf,security-cxf test -Dtest=SecurityCxfPerfJUnitTest
      <asoldano> rsvoboda, local-repo-pure?
      <rsvoboda> asoldano, just naming
      <rsvoboda> asoldano, http://pastebin.test.redhat.com/113529 – settings file
      <rsvoboda> asoldano, target/test-libs/ will contain test apps - using -Peap601-cxf,security-cxf-prepare clean test -Dtest=DummyTest to generate them before running SecurityCxfPerfJUnitTest
      <asoldano> rsvoboda, ok, I'll try something later today; hope to find out something, I'll be fully back at work here on Mon 12th after that (tomorrow bank holiday, friday pto, next week meeting in brno)
      <rsvoboda> asoldano, looking forward to meet you
      <asoldano> rsvoboda,
      <rsvoboda> asoldano, I will create JIRA for tracking

      [1] https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/EAP6/view/EAP6-Performance/job/eap-60-ws-perf-load-security/25/console-perf23/

        Gliffy Diagrams

          Attachments

          1. dependency-tree
            43 kB
          2. ER2
            9 kB
          3. ER3
            9 kB

            Issue Links

              Activity

                People

                • Assignee:
                  pgier Paul Gier
                  Reporter:
                  rsvoboda Rostislav Svoboda
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  7 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: