You are viewing a plain text version of this content. The canonical link for it is here.
Posted to builds@apache.org by Hiranya Jayathilaka <hi...@gmail.com> on 2011/12/29 06:03:35 UTC

Integration Test Failures on Jenkins

Hi Folks,

We have a Jenkins task configured to build Apache Synapse. A few days
earlier we added some new integration tests to the project and 2 of these
tests are failing on Jenkins builder:

Test Result<https://builds.apache.org/job/Synapse%20-%20Trunk/org.apache.synapse$synapse-integration/4072/testReport/>
(2
failures )

   - org.apache.synapse.samples.framework.tests.qos.Sample100.testWSSecurity<https://builds.apache.org/job/Synapse%20-%20Trunk/org.apache.synapse$synapse-integration/4072/testReport/junit/org.apache.synapse.samples.framework.tests.qos/Sample100/testWSSecurity/>
   -
   org.apache.synapse.samples.framework.tests.proxy.Sample156.testServiceIntegration<https://builds.apache.org/job/Synapse%20-%20Trunk/org.apache.synapse$synapse-integration/4072/testReport/junit/org.apache.synapse.samples.framework.tests.proxy/Sample156/testServiceIntegration/>


These are both security related tests. Here's the root cause I extracted
from the build logs:

2011-12-27 00:02:37,487 [-] [HttpServerWorker-1] ERROR Axis2Sender
Unexpected error during sending message out
org.apache.axis2.AxisFault: Error in encryption
	at org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:76)
	at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:335)
	at org.apache.axis2.engine.Phase.invoke(Phase.java:308)
	at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:262)
	at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:427)
	at org.apache.synapse.core.axis2.DynamicAxisOperation$DynamicOperationClient.send(DynamicAxisOperation.java:193)
	at org.apache.synapse.core.axis2.DynamicAxisOperation$DynamicOperationClient.exe


We are able to reproduce these errors on our local machines. Solution is to
patch the JDK with JCE policy files (this is a requirement from Apache
Rampart which handles security in Synapse). Currently Jenkins is building
Synapse on JDK 5 with Maven 3. Is there any possibility of getting this JDK
installation patched with the necessary JCE files?

Thanks
-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hiranya@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com

Re: Integration Test Failures on Jenkins

Posted by Hiranya Jayathilaka <hi...@gmail.com>.
On Thu, Dec 29, 2011 at 4:41 PM, Andreas Veithen
<an...@gmail.com>wrote:

> On Thu, Dec 29, 2011 at 11:23, Hiranya Jayathilaka <hi...@gmail.com>
> wrote:
> > Hi Andreas,
> >
> > On Thu, Dec 29, 2011 at 2:30 PM, Andreas Veithen
> > <an...@gmail.com>wrote:
> >
> >> There is a "JDK 1.6 (unlimited security)" already available.
> >>
> >
> > I'm +1 for switching our build plan to JDK 1.6. How can we get this done?
>
> That's a discussion for the Synapse dev list, not for builds@apache.org.
>

Sorry. Didn't know that's something we can get fixed ourselves. Will move
the discussion to synapse-dev@

Thanks,
Hiranya


>
> > Thanks,
> > Hiranya
> >
> >
> >>
> >> Andreas
> >>
> >> On Thu, Dec 29, 2011 at 06:03, Hiranya Jayathilaka <
> hiranya911@gmail.com>
> >> wrote:
> >> > Hi Folks,
> >> >
> >> > We have a Jenkins task configured to build Apache Synapse. A few days
> >> > earlier we added some new integration tests to the project and 2 of
> these
> >> > tests are failing on Jenkins builder:
> >> >
> >> > Test Result<
> >>
> https://builds.apache.org/job/Synapse%20-%20Trunk/org.apache.synapse$synapse-integration/4072/testReport/
> >> >
> >> > (2
> >> > failures )
> >> >
> >> >   -
> >> org.apache.synapse.samples.framework.tests.qos.Sample100.testWSSecurity<
> >>
> https://builds.apache.org/job/Synapse%20-%20Trunk/org.apache.synapse$synapse-integration/4072/testReport/junit/org.apache.synapse.samples.framework.tests.qos/Sample100/testWSSecurity/
> >> >
> >> >   -
> >> >
> >>
> org.apache.synapse.samples.framework.tests.proxy.Sample156.testServiceIntegration<
> >>
> https://builds.apache.org/job/Synapse%20-%20Trunk/org.apache.synapse$synapse-integration/4072/testReport/junit/org.apache.synapse.samples.framework.tests.proxy/Sample156/testServiceIntegration/
> >> >
> >> >
> >> >
> >> > These are both security related tests. Here's the root cause I
> extracted
> >> > from the build logs:
> >> >
> >> > 2011-12-27 00:02:37,487 [-] [HttpServerWorker-1] ERROR Axis2Sender
> >> > Unexpected error during sending message out
> >> > org.apache.axis2.AxisFault: Error in encryption
> >> >        at
> >> org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:76)
> >> >        at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:335)
> >> >        at org.apache.axis2.engine.Phase.invoke(Phase.java:308)
> >> >        at
> org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:262)
> >> >        at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:427)
> >> >        at
> >>
> org.apache.synapse.core.axis2.DynamicAxisOperation$DynamicOperationClient.send(DynamicAxisOperation.java:193)
> >> >        at
> >>
> org.apache.synapse.core.axis2.DynamicAxisOperation$DynamicOperationClient.exe
> >> >
> >> >
> >> > We are able to reproduce these errors on our local machines. Solution
> is
> >> to
> >> > patch the JDK with JCE policy files (this is a requirement from Apache
> >> > Rampart which handles security in Synapse). Currently Jenkins is
> building
> >> > Synapse on JDK 5 with Maven 3. Is there any possibility of getting
> this
> >> JDK
> >> > installation patched with the necessary JCE files?
> >> >
> >> > Thanks
> >> > --
> >> > Hiranya Jayathilaka
> >> > Associate Technical Lead;
> >> > WSO2 Inc.;  http://wso2.org
> >> > E-mail: hiranya@wso2.com;  Mobile: +94 77 633 3491
> >> > Blog: http://techfeast-hiranya.blogspot.com
> >>
> >
> >
> >
> > --
> > Hiranya Jayathilaka
> > Associate Technical Lead;
> > WSO2 Inc.;  http://wso2.org
> > E-mail: hiranya@wso2.com;  Mobile: +94 77 633 3491
> > Blog: http://techfeast-hiranya.blogspot.com
>



-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hiranya@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com

Re: Integration Test Failures on Jenkins

Posted by Ruwan Linton <ru...@gmail.com>.
I've already started a discussion on the dev list on that. Lets get back to
builds@ if required after the conclusion of that thread.

Thanks,
Ruwan

On Fri, Dec 30, 2011 at 5:52 PM, Andreas Veithen
<an...@gmail.com>wrote:

> On Fri, Dec 30, 2011 at 12:54, Ruwan Linton <ru...@gmail.com>
> wrote:
> > Andreas,
> >
> > At the mean time, we should add a 1.5 unlimited security JDK too. IIRC,
> > Synapse still supports 1.5 and build being on 1.6 is not that helpful and
> > not recommended too.
>
> Yes, the Synapse project needs to decide whether they want to keep
> Java 1.5 compatibility or not. If they do, then they should request
> addition of a 1.5 JDK with unlimited strength security.
>
> > Thanks,
> > Ruwan
> >
> > On Thu, Dec 29, 2011 at 4:41 PM, Andreas Veithen
> > <an...@gmail.com>wrote:
> >
> >> On Thu, Dec 29, 2011 at 11:23, Hiranya Jayathilaka <
> hiranya911@gmail.com>
> >> wrote:
> >> > Hi Andreas,
> >> >
> >> > On Thu, Dec 29, 2011 at 2:30 PM, Andreas Veithen
> >> > <an...@gmail.com>wrote:
> >> >
> >> >> There is a "JDK 1.6 (unlimited security)" already available.
> >> >>
> >> >
> >> > I'm +1 for switching our build plan to JDK 1.6. How can we get this
> done?
> >>
> >> That's a discussion for the Synapse dev list, not for builds@apache.org
> .
> >>
> >> > Thanks,
> >> > Hiranya
> >> >
> >> >
> >> >>
> >> >> Andreas
> >> >>
> >> >> On Thu, Dec 29, 2011 at 06:03, Hiranya Jayathilaka <
> >> hiranya911@gmail.com>
> >> >> wrote:
> >> >> > Hi Folks,
> >> >> >
> >> >> > We have a Jenkins task configured to build Apache Synapse. A few
> days
> >> >> > earlier we added some new integration tests to the project and 2 of
> >> these
> >> >> > tests are failing on Jenkins builder:
> >> >> >
> >> >> > Test Result<
> >> >>
> >>
> https://builds.apache.org/job/Synapse%20-%20Trunk/org.apache.synapse$synapse-integration/4072/testReport/
> >> >> >
> >> >> > (2
> >> >> > failures )
> >> >> >
> >> >> >   -
> >> >>
> org.apache.synapse.samples.framework.tests.qos.Sample100.testWSSecurity<
> >> >>
> >>
> https://builds.apache.org/job/Synapse%20-%20Trunk/org.apache.synapse$synapse-integration/4072/testReport/junit/org.apache.synapse.samples.framework.tests.qos/Sample100/testWSSecurity/
> >> >> >
> >> >> >   -
> >> >> >
> >> >>
> >>
> org.apache.synapse.samples.framework.tests.proxy.Sample156.testServiceIntegration<
> >> >>
> >>
> https://builds.apache.org/job/Synapse%20-%20Trunk/org.apache.synapse$synapse-integration/4072/testReport/junit/org.apache.synapse.samples.framework.tests.proxy/Sample156/testServiceIntegration/
> >> >> >
> >> >> >
> >> >> >
> >> >> > These are both security related tests. Here's the root cause I
> >> extracted
> >> >> > from the build logs:
> >> >> >
> >> >> > 2011-12-27 00:02:37,487 [-] [HttpServerWorker-1] ERROR Axis2Sender
> >> >> > Unexpected error during sending message out
> >> >> > org.apache.axis2.AxisFault: Error in encryption
> >> >> >        at
> >> >>
> org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:76)
> >> >> >        at
> org.apache.axis2.engine.Phase.invokeHandler(Phase.java:335)
> >> >> >        at org.apache.axis2.engine.Phase.invoke(Phase.java:308)
> >> >> >        at
> >> org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:262)
> >> >> >        at
> org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:427)
> >> >> >        at
> >> >>
> >>
> org.apache.synapse.core.axis2.DynamicAxisOperation$DynamicOperationClient.send(DynamicAxisOperation.java:193)
> >> >> >        at
> >> >>
> >>
> org.apache.synapse.core.axis2.DynamicAxisOperation$DynamicOperationClient.exe
> >> >> >
> >> >> >
> >> >> > We are able to reproduce these errors on our local machines.
> Solution
> >> is
> >> >> to
> >> >> > patch the JDK with JCE policy files (this is a requirement from
> Apache
> >> >> > Rampart which handles security in Synapse). Currently Jenkins is
> >> building
> >> >> > Synapse on JDK 5 with Maven 3. Is there any possibility of getting
> >> this
> >> >> JDK
> >> >> > installation patched with the necessary JCE files?
> >> >> >
> >> >> > Thanks
> >> >> > --
> >> >> > Hiranya Jayathilaka
> >> >> > Associate Technical Lead;
> >> >> > WSO2 Inc.;  http://wso2.org
> >> >> > E-mail: hiranya@wso2.com;  Mobile: +94 77 633 3491
> >> >> > Blog: http://techfeast-hiranya.blogspot.com
> >> >>
> >> >
> >> >
> >> >
> >> > --
> >> > Hiranya Jayathilaka
> >> > Associate Technical Lead;
> >> > WSO2 Inc.;  http://wso2.org
> >> > E-mail: hiranya@wso2.com;  Mobile: +94 77 633 3491
> >> > Blog: http://techfeast-hiranya.blogspot.com
> >>
> >
> >
> >
> > --
> > Ruwan Linton
> > Member, Apache Software Foundation; http://www.apache.org
> > Director of Engineering; http://adroitlogic.org
> >
> > phone: +94 11 282 7532
> > email: ruwan@adroitlogic.com; cell: +94 77 341 3097
> > blog: http://blog.ruwan.org
> > linkedin: http://www.linkedin.com/in/ruwanlinton
> > google: http://www.google.com/profiles/ruwan.linton
> > tweet: http://twitter.com/ruwanlinton
>



-- 
Ruwan Linton
Member, Apache Software Foundation; http://www.apache.org
Director of Engineering; http://adroitlogic.org

phone: +94 11 282 7532
email: ruwan@adroitlogic.com; cell: +94 77 341 3097
blog: http://blog.ruwan.org
linkedin: http://www.linkedin.com/in/ruwanlinton
google: http://www.google.com/profiles/ruwan.linton
tweet: http://twitter.com/ruwanlinton

Re: Integration Test Failures on Jenkins

Posted by Ruwan Linton <ru...@gmail.com>.
I've already started a discussion on the dev list on that. Lets get back to
builds@ if required after the conclusion of that thread.

Thanks,
Ruwan

On Fri, Dec 30, 2011 at 5:52 PM, Andreas Veithen
<an...@gmail.com>wrote:

> On Fri, Dec 30, 2011 at 12:54, Ruwan Linton <ru...@gmail.com>
> wrote:
> > Andreas,
> >
> > At the mean time, we should add a 1.5 unlimited security JDK too. IIRC,
> > Synapse still supports 1.5 and build being on 1.6 is not that helpful and
> > not recommended too.
>
> Yes, the Synapse project needs to decide whether they want to keep
> Java 1.5 compatibility or not. If they do, then they should request
> addition of a 1.5 JDK with unlimited strength security.
>
> > Thanks,
> > Ruwan
> >
> > On Thu, Dec 29, 2011 at 4:41 PM, Andreas Veithen
> > <an...@gmail.com>wrote:
> >
> >> On Thu, Dec 29, 2011 at 11:23, Hiranya Jayathilaka <
> hiranya911@gmail.com>
> >> wrote:
> >> > Hi Andreas,
> >> >
> >> > On Thu, Dec 29, 2011 at 2:30 PM, Andreas Veithen
> >> > <an...@gmail.com>wrote:
> >> >
> >> >> There is a "JDK 1.6 (unlimited security)" already available.
> >> >>
> >> >
> >> > I'm +1 for switching our build plan to JDK 1.6. How can we get this
> done?
> >>
> >> That's a discussion for the Synapse dev list, not for builds@apache.org
> .
> >>
> >> > Thanks,
> >> > Hiranya
> >> >
> >> >
> >> >>
> >> >> Andreas
> >> >>
> >> >> On Thu, Dec 29, 2011 at 06:03, Hiranya Jayathilaka <
> >> hiranya911@gmail.com>
> >> >> wrote:
> >> >> > Hi Folks,
> >> >> >
> >> >> > We have a Jenkins task configured to build Apache Synapse. A few
> days
> >> >> > earlier we added some new integration tests to the project and 2 of
> >> these
> >> >> > tests are failing on Jenkins builder:
> >> >> >
> >> >> > Test Result<
> >> >>
> >>
> https://builds.apache.org/job/Synapse%20-%20Trunk/org.apache.synapse$synapse-integration/4072/testReport/
> >> >> >
> >> >> > (2
> >> >> > failures )
> >> >> >
> >> >> >   -
> >> >>
> org.apache.synapse.samples.framework.tests.qos.Sample100.testWSSecurity<
> >> >>
> >>
> https://builds.apache.org/job/Synapse%20-%20Trunk/org.apache.synapse$synapse-integration/4072/testReport/junit/org.apache.synapse.samples.framework.tests.qos/Sample100/testWSSecurity/
> >> >> >
> >> >> >   -
> >> >> >
> >> >>
> >>
> org.apache.synapse.samples.framework.tests.proxy.Sample156.testServiceIntegration<
> >> >>
> >>
> https://builds.apache.org/job/Synapse%20-%20Trunk/org.apache.synapse$synapse-integration/4072/testReport/junit/org.apache.synapse.samples.framework.tests.proxy/Sample156/testServiceIntegration/
> >> >> >
> >> >> >
> >> >> >
> >> >> > These are both security related tests. Here's the root cause I
> >> extracted
> >> >> > from the build logs:
> >> >> >
> >> >> > 2011-12-27 00:02:37,487 [-] [HttpServerWorker-1] ERROR Axis2Sender
> >> >> > Unexpected error during sending message out
> >> >> > org.apache.axis2.AxisFault: Error in encryption
> >> >> >        at
> >> >>
> org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:76)
> >> >> >        at
> org.apache.axis2.engine.Phase.invokeHandler(Phase.java:335)
> >> >> >        at org.apache.axis2.engine.Phase.invoke(Phase.java:308)
> >> >> >        at
> >> org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:262)
> >> >> >        at
> org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:427)
> >> >> >        at
> >> >>
> >>
> org.apache.synapse.core.axis2.DynamicAxisOperation$DynamicOperationClient.send(DynamicAxisOperation.java:193)
> >> >> >        at
> >> >>
> >>
> org.apache.synapse.core.axis2.DynamicAxisOperation$DynamicOperationClient.exe
> >> >> >
> >> >> >
> >> >> > We are able to reproduce these errors on our local machines.
> Solution
> >> is
> >> >> to
> >> >> > patch the JDK with JCE policy files (this is a requirement from
> Apache
> >> >> > Rampart which handles security in Synapse). Currently Jenkins is
> >> building
> >> >> > Synapse on JDK 5 with Maven 3. Is there any possibility of getting
> >> this
> >> >> JDK
> >> >> > installation patched with the necessary JCE files?
> >> >> >
> >> >> > Thanks
> >> >> > --
> >> >> > Hiranya Jayathilaka
> >> >> > Associate Technical Lead;
> >> >> > WSO2 Inc.;  http://wso2.org
> >> >> > E-mail: hiranya@wso2.com;  Mobile: +94 77 633 3491
> >> >> > Blog: http://techfeast-hiranya.blogspot.com
> >> >>
> >> >
> >> >
> >> >
> >> > --
> >> > Hiranya Jayathilaka
> >> > Associate Technical Lead;
> >> > WSO2 Inc.;  http://wso2.org
> >> > E-mail: hiranya@wso2.com;  Mobile: +94 77 633 3491
> >> > Blog: http://techfeast-hiranya.blogspot.com
> >>
> >
> >
> >
> > --
> > Ruwan Linton
> > Member, Apache Software Foundation; http://www.apache.org
> > Director of Engineering; http://adroitlogic.org
> >
> > phone: +94 11 282 7532
> > email: ruwan@adroitlogic.com; cell: +94 77 341 3097
> > blog: http://blog.ruwan.org
> > linkedin: http://www.linkedin.com/in/ruwanlinton
> > google: http://www.google.com/profiles/ruwan.linton
> > tweet: http://twitter.com/ruwanlinton
>



-- 
Ruwan Linton
Member, Apache Software Foundation; http://www.apache.org
Director of Engineering; http://adroitlogic.org

phone: +94 11 282 7532
email: ruwan@adroitlogic.com; cell: +94 77 341 3097
blog: http://blog.ruwan.org
linkedin: http://www.linkedin.com/in/ruwanlinton
google: http://www.google.com/profiles/ruwan.linton
tweet: http://twitter.com/ruwanlinton

Re: Integration Test Failures on Jenkins

Posted by Andreas Veithen <an...@gmail.com>.
On Fri, Dec 30, 2011 at 12:54, Ruwan Linton <ru...@gmail.com> wrote:
> Andreas,
>
> At the mean time, we should add a 1.5 unlimited security JDK too. IIRC,
> Synapse still supports 1.5 and build being on 1.6 is not that helpful and
> not recommended too.

Yes, the Synapse project needs to decide whether they want to keep
Java 1.5 compatibility or not. If they do, then they should request
addition of a 1.5 JDK with unlimited strength security.

> Thanks,
> Ruwan
>
> On Thu, Dec 29, 2011 at 4:41 PM, Andreas Veithen
> <an...@gmail.com>wrote:
>
>> On Thu, Dec 29, 2011 at 11:23, Hiranya Jayathilaka <hi...@gmail.com>
>> wrote:
>> > Hi Andreas,
>> >
>> > On Thu, Dec 29, 2011 at 2:30 PM, Andreas Veithen
>> > <an...@gmail.com>wrote:
>> >
>> >> There is a "JDK 1.6 (unlimited security)" already available.
>> >>
>> >
>> > I'm +1 for switching our build plan to JDK 1.6. How can we get this done?
>>
>> That's a discussion for the Synapse dev list, not for builds@apache.org.
>>
>> > Thanks,
>> > Hiranya
>> >
>> >
>> >>
>> >> Andreas
>> >>
>> >> On Thu, Dec 29, 2011 at 06:03, Hiranya Jayathilaka <
>> hiranya911@gmail.com>
>> >> wrote:
>> >> > Hi Folks,
>> >> >
>> >> > We have a Jenkins task configured to build Apache Synapse. A few days
>> >> > earlier we added some new integration tests to the project and 2 of
>> these
>> >> > tests are failing on Jenkins builder:
>> >> >
>> >> > Test Result<
>> >>
>> https://builds.apache.org/job/Synapse%20-%20Trunk/org.apache.synapse$synapse-integration/4072/testReport/
>> >> >
>> >> > (2
>> >> > failures )
>> >> >
>> >> >   -
>> >> org.apache.synapse.samples.framework.tests.qos.Sample100.testWSSecurity<
>> >>
>> https://builds.apache.org/job/Synapse%20-%20Trunk/org.apache.synapse$synapse-integration/4072/testReport/junit/org.apache.synapse.samples.framework.tests.qos/Sample100/testWSSecurity/
>> >> >
>> >> >   -
>> >> >
>> >>
>> org.apache.synapse.samples.framework.tests.proxy.Sample156.testServiceIntegration<
>> >>
>> https://builds.apache.org/job/Synapse%20-%20Trunk/org.apache.synapse$synapse-integration/4072/testReport/junit/org.apache.synapse.samples.framework.tests.proxy/Sample156/testServiceIntegration/
>> >> >
>> >> >
>> >> >
>> >> > These are both security related tests. Here's the root cause I
>> extracted
>> >> > from the build logs:
>> >> >
>> >> > 2011-12-27 00:02:37,487 [-] [HttpServerWorker-1] ERROR Axis2Sender
>> >> > Unexpected error during sending message out
>> >> > org.apache.axis2.AxisFault: Error in encryption
>> >> >        at
>> >> org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:76)
>> >> >        at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:335)
>> >> >        at org.apache.axis2.engine.Phase.invoke(Phase.java:308)
>> >> >        at
>> org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:262)
>> >> >        at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:427)
>> >> >        at
>> >>
>> org.apache.synapse.core.axis2.DynamicAxisOperation$DynamicOperationClient.send(DynamicAxisOperation.java:193)
>> >> >        at
>> >>
>> org.apache.synapse.core.axis2.DynamicAxisOperation$DynamicOperationClient.exe
>> >> >
>> >> >
>> >> > We are able to reproduce these errors on our local machines. Solution
>> is
>> >> to
>> >> > patch the JDK with JCE policy files (this is a requirement from Apache
>> >> > Rampart which handles security in Synapse). Currently Jenkins is
>> building
>> >> > Synapse on JDK 5 with Maven 3. Is there any possibility of getting
>> this
>> >> JDK
>> >> > installation patched with the necessary JCE files?
>> >> >
>> >> > Thanks
>> >> > --
>> >> > Hiranya Jayathilaka
>> >> > Associate Technical Lead;
>> >> > WSO2 Inc.;  http://wso2.org
>> >> > E-mail: hiranya@wso2.com;  Mobile: +94 77 633 3491
>> >> > Blog: http://techfeast-hiranya.blogspot.com
>> >>
>> >
>> >
>> >
>> > --
>> > Hiranya Jayathilaka
>> > Associate Technical Lead;
>> > WSO2 Inc.;  http://wso2.org
>> > E-mail: hiranya@wso2.com;  Mobile: +94 77 633 3491
>> > Blog: http://techfeast-hiranya.blogspot.com
>>
>
>
>
> --
> Ruwan Linton
> Member, Apache Software Foundation; http://www.apache.org
> Director of Engineering; http://adroitlogic.org
>
> phone: +94 11 282 7532
> email: ruwan@adroitlogic.com; cell: +94 77 341 3097
> blog: http://blog.ruwan.org
> linkedin: http://www.linkedin.com/in/ruwanlinton
> google: http://www.google.com/profiles/ruwan.linton
> tweet: http://twitter.com/ruwanlinton

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


Re: Integration Test Failures on Jenkins

Posted by Andreas Veithen <an...@gmail.com>.
On Fri, Dec 30, 2011 at 12:54, Ruwan Linton <ru...@gmail.com> wrote:
> Andreas,
>
> At the mean time, we should add a 1.5 unlimited security JDK too. IIRC,
> Synapse still supports 1.5 and build being on 1.6 is not that helpful and
> not recommended too.

Yes, the Synapse project needs to decide whether they want to keep
Java 1.5 compatibility or not. If they do, then they should request
addition of a 1.5 JDK with unlimited strength security.

> Thanks,
> Ruwan
>
> On Thu, Dec 29, 2011 at 4:41 PM, Andreas Veithen
> <an...@gmail.com>wrote:
>
>> On Thu, Dec 29, 2011 at 11:23, Hiranya Jayathilaka <hi...@gmail.com>
>> wrote:
>> > Hi Andreas,
>> >
>> > On Thu, Dec 29, 2011 at 2:30 PM, Andreas Veithen
>> > <an...@gmail.com>wrote:
>> >
>> >> There is a "JDK 1.6 (unlimited security)" already available.
>> >>
>> >
>> > I'm +1 for switching our build plan to JDK 1.6. How can we get this done?
>>
>> That's a discussion for the Synapse dev list, not for builds@apache.org.
>>
>> > Thanks,
>> > Hiranya
>> >
>> >
>> >>
>> >> Andreas
>> >>
>> >> On Thu, Dec 29, 2011 at 06:03, Hiranya Jayathilaka <
>> hiranya911@gmail.com>
>> >> wrote:
>> >> > Hi Folks,
>> >> >
>> >> > We have a Jenkins task configured to build Apache Synapse. A few days
>> >> > earlier we added some new integration tests to the project and 2 of
>> these
>> >> > tests are failing on Jenkins builder:
>> >> >
>> >> > Test Result<
>> >>
>> https://builds.apache.org/job/Synapse%20-%20Trunk/org.apache.synapse$synapse-integration/4072/testReport/
>> >> >
>> >> > (2
>> >> > failures )
>> >> >
>> >> >   -
>> >> org.apache.synapse.samples.framework.tests.qos.Sample100.testWSSecurity<
>> >>
>> https://builds.apache.org/job/Synapse%20-%20Trunk/org.apache.synapse$synapse-integration/4072/testReport/junit/org.apache.synapse.samples.framework.tests.qos/Sample100/testWSSecurity/
>> >> >
>> >> >   -
>> >> >
>> >>
>> org.apache.synapse.samples.framework.tests.proxy.Sample156.testServiceIntegration<
>> >>
>> https://builds.apache.org/job/Synapse%20-%20Trunk/org.apache.synapse$synapse-integration/4072/testReport/junit/org.apache.synapse.samples.framework.tests.proxy/Sample156/testServiceIntegration/
>> >> >
>> >> >
>> >> >
>> >> > These are both security related tests. Here's the root cause I
>> extracted
>> >> > from the build logs:
>> >> >
>> >> > 2011-12-27 00:02:37,487 [-] [HttpServerWorker-1] ERROR Axis2Sender
>> >> > Unexpected error during sending message out
>> >> > org.apache.axis2.AxisFault: Error in encryption
>> >> >        at
>> >> org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:76)
>> >> >        at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:335)
>> >> >        at org.apache.axis2.engine.Phase.invoke(Phase.java:308)
>> >> >        at
>> org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:262)
>> >> >        at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:427)
>> >> >        at
>> >>
>> org.apache.synapse.core.axis2.DynamicAxisOperation$DynamicOperationClient.send(DynamicAxisOperation.java:193)
>> >> >        at
>> >>
>> org.apache.synapse.core.axis2.DynamicAxisOperation$DynamicOperationClient.exe
>> >> >
>> >> >
>> >> > We are able to reproduce these errors on our local machines. Solution
>> is
>> >> to
>> >> > patch the JDK with JCE policy files (this is a requirement from Apache
>> >> > Rampart which handles security in Synapse). Currently Jenkins is
>> building
>> >> > Synapse on JDK 5 with Maven 3. Is there any possibility of getting
>> this
>> >> JDK
>> >> > installation patched with the necessary JCE files?
>> >> >
>> >> > Thanks
>> >> > --
>> >> > Hiranya Jayathilaka
>> >> > Associate Technical Lead;
>> >> > WSO2 Inc.;  http://wso2.org
>> >> > E-mail: hiranya@wso2.com;  Mobile: +94 77 633 3491
>> >> > Blog: http://techfeast-hiranya.blogspot.com
>> >>
>> >
>> >
>> >
>> > --
>> > Hiranya Jayathilaka
>> > Associate Technical Lead;
>> > WSO2 Inc.;  http://wso2.org
>> > E-mail: hiranya@wso2.com;  Mobile: +94 77 633 3491
>> > Blog: http://techfeast-hiranya.blogspot.com
>>
>
>
>
> --
> Ruwan Linton
> Member, Apache Software Foundation; http://www.apache.org
> Director of Engineering; http://adroitlogic.org
>
> phone: +94 11 282 7532
> email: ruwan@adroitlogic.com; cell: +94 77 341 3097
> blog: http://blog.ruwan.org
> linkedin: http://www.linkedin.com/in/ruwanlinton
> google: http://www.google.com/profiles/ruwan.linton
> tweet: http://twitter.com/ruwanlinton

Re: Integration Test Failures on Jenkins

Posted by Ruwan Linton <ru...@gmail.com>.
Andreas,

At the mean time, we should add a 1.5 unlimited security JDK too. IIRC,
Synapse still supports 1.5 and build being on 1.6 is not that helpful and
not recommended too.

Thanks,
Ruwan

On Thu, Dec 29, 2011 at 4:41 PM, Andreas Veithen
<an...@gmail.com>wrote:

> On Thu, Dec 29, 2011 at 11:23, Hiranya Jayathilaka <hi...@gmail.com>
> wrote:
> > Hi Andreas,
> >
> > On Thu, Dec 29, 2011 at 2:30 PM, Andreas Veithen
> > <an...@gmail.com>wrote:
> >
> >> There is a "JDK 1.6 (unlimited security)" already available.
> >>
> >
> > I'm +1 for switching our build plan to JDK 1.6. How can we get this done?
>
> That's a discussion for the Synapse dev list, not for builds@apache.org.
>
> > Thanks,
> > Hiranya
> >
> >
> >>
> >> Andreas
> >>
> >> On Thu, Dec 29, 2011 at 06:03, Hiranya Jayathilaka <
> hiranya911@gmail.com>
> >> wrote:
> >> > Hi Folks,
> >> >
> >> > We have a Jenkins task configured to build Apache Synapse. A few days
> >> > earlier we added some new integration tests to the project and 2 of
> these
> >> > tests are failing on Jenkins builder:
> >> >
> >> > Test Result<
> >>
> https://builds.apache.org/job/Synapse%20-%20Trunk/org.apache.synapse$synapse-integration/4072/testReport/
> >> >
> >> > (2
> >> > failures )
> >> >
> >> >   -
> >> org.apache.synapse.samples.framework.tests.qos.Sample100.testWSSecurity<
> >>
> https://builds.apache.org/job/Synapse%20-%20Trunk/org.apache.synapse$synapse-integration/4072/testReport/junit/org.apache.synapse.samples.framework.tests.qos/Sample100/testWSSecurity/
> >> >
> >> >   -
> >> >
> >>
> org.apache.synapse.samples.framework.tests.proxy.Sample156.testServiceIntegration<
> >>
> https://builds.apache.org/job/Synapse%20-%20Trunk/org.apache.synapse$synapse-integration/4072/testReport/junit/org.apache.synapse.samples.framework.tests.proxy/Sample156/testServiceIntegration/
> >> >
> >> >
> >> >
> >> > These are both security related tests. Here's the root cause I
> extracted
> >> > from the build logs:
> >> >
> >> > 2011-12-27 00:02:37,487 [-] [HttpServerWorker-1] ERROR Axis2Sender
> >> > Unexpected error during sending message out
> >> > org.apache.axis2.AxisFault: Error in encryption
> >> >        at
> >> org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:76)
> >> >        at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:335)
> >> >        at org.apache.axis2.engine.Phase.invoke(Phase.java:308)
> >> >        at
> org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:262)
> >> >        at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:427)
> >> >        at
> >>
> org.apache.synapse.core.axis2.DynamicAxisOperation$DynamicOperationClient.send(DynamicAxisOperation.java:193)
> >> >        at
> >>
> org.apache.synapse.core.axis2.DynamicAxisOperation$DynamicOperationClient.exe
> >> >
> >> >
> >> > We are able to reproduce these errors on our local machines. Solution
> is
> >> to
> >> > patch the JDK with JCE policy files (this is a requirement from Apache
> >> > Rampart which handles security in Synapse). Currently Jenkins is
> building
> >> > Synapse on JDK 5 with Maven 3. Is there any possibility of getting
> this
> >> JDK
> >> > installation patched with the necessary JCE files?
> >> >
> >> > Thanks
> >> > --
> >> > Hiranya Jayathilaka
> >> > Associate Technical Lead;
> >> > WSO2 Inc.;  http://wso2.org
> >> > E-mail: hiranya@wso2.com;  Mobile: +94 77 633 3491
> >> > Blog: http://techfeast-hiranya.blogspot.com
> >>
> >
> >
> >
> > --
> > Hiranya Jayathilaka
> > Associate Technical Lead;
> > WSO2 Inc.;  http://wso2.org
> > E-mail: hiranya@wso2.com;  Mobile: +94 77 633 3491
> > Blog: http://techfeast-hiranya.blogspot.com
>



-- 
Ruwan Linton
Member, Apache Software Foundation; http://www.apache.org
Director of Engineering; http://adroitlogic.org

phone: +94 11 282 7532
email: ruwan@adroitlogic.com; cell: +94 77 341 3097
blog: http://blog.ruwan.org
linkedin: http://www.linkedin.com/in/ruwanlinton
google: http://www.google.com/profiles/ruwan.linton
tweet: http://twitter.com/ruwanlinton

Re: Integration Test Failures on Jenkins

Posted by Ruwan Linton <ru...@gmail.com>.
BTW: I think you can login to Jenkins (with your apache LDAP user
credentials) and change it too. (Would be useful in the future)

Just go to the "Configure" section and you will see the set of installed
JDKs where you can find the desired JDK and all other configurations
related to the build.

Thanks,
Ruwan

On Fri, Dec 30, 2011 at 5:12 PM, Ruwan Linton <ru...@gmail.com>wrote:

> Hiranya,
>
> I have changed it to JDK 1.6 (unlimited security) and triggered a build.
>
> Thanks,
> Ruwan
>
>
> On Fri, Dec 30, 2011 at 9:38 AM, Hiranya Jayathilaka <hiranya911@gmail.com
> > wrote:
>
>> Hi,
>>
>> Can somebody please instruct how we can change our Jenkins build plan to
>> use the JDK 6 installation which is apparently patched with JCE policy
>> files?
>>
>> Thanks,
>> Hiranya
>>
>>
>> On Thu, Dec 29, 2011 at 4:41 PM, Andreas Veithen <
>> andreas.veithen@gmail.com> wrote:
>>
>>> On Thu, Dec 29, 2011 at 11:23, Hiranya Jayathilaka <hi...@gmail.com>
>>> wrote:
>>> > Hi Andreas,
>>> >
>>> > On Thu, Dec 29, 2011 at 2:30 PM, Andreas Veithen
>>> > <an...@gmail.com>wrote:
>>> >
>>> >> There is a "JDK 1.6 (unlimited security)" already available.
>>> >>
>>> >
>>> > I'm +1 for switching our build plan to JDK 1.6. How can we get this
>>> done?
>>>
>>> That's a discussion for the Synapse dev list, not for builds@apache.org.
>>>
>>> > Thanks,
>>> > Hiranya
>>> >
>>> >
>>> >>
>>> >> Andreas
>>> >>
>>> >> On Thu, Dec 29, 2011 at 06:03, Hiranya Jayathilaka <
>>> hiranya911@gmail.com>
>>> >> wrote:
>>> >> > Hi Folks,
>>> >> >
>>> >> > We have a Jenkins task configured to build Apache Synapse. A few
>>> days
>>> >> > earlier we added some new integration tests to the project and 2 of
>>> these
>>> >> > tests are failing on Jenkins builder:
>>> >> >
>>> >> > Test Result<
>>> >>
>>> https://builds.apache.org/job/Synapse%20-%20Trunk/org.apache.synapse$synapse-integration/4072/testReport/
>>> >> >
>>> >> > (2
>>> >> > failures )
>>> >> >
>>> >> >   -
>>> >>
>>> org.apache.synapse.samples.framework.tests.qos.Sample100.testWSSecurity<
>>> >>
>>> https://builds.apache.org/job/Synapse%20-%20Trunk/org.apache.synapse$synapse-integration/4072/testReport/junit/org.apache.synapse.samples.framework.tests.qos/Sample100/testWSSecurity/
>>> >> >
>>> >> >   -
>>> >> >
>>> >>
>>> org.apache.synapse.samples.framework.tests.proxy.Sample156.testServiceIntegration<
>>> >>
>>> https://builds.apache.org/job/Synapse%20-%20Trunk/org.apache.synapse$synapse-integration/4072/testReport/junit/org.apache.synapse.samples.framework.tests.proxy/Sample156/testServiceIntegration/
>>> >> >
>>> >> >
>>> >> >
>>> >> > These are both security related tests. Here's the root cause I
>>> extracted
>>> >> > from the build logs:
>>> >> >
>>> >> > 2011-12-27 00:02:37,487 [-] [HttpServerWorker-1] ERROR Axis2Sender
>>> >> > Unexpected error during sending message out
>>> >> > org.apache.axis2.AxisFault: Error in encryption
>>> >> >        at
>>> >> org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:76)
>>> >> >        at
>>> org.apache.axis2.engine.Phase.invokeHandler(Phase.java:335)
>>> >> >        at org.apache.axis2.engine.Phase.invoke(Phase.java:308)
>>> >> >        at
>>> org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:262)
>>> >> >        at
>>> org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:427)
>>> >> >        at
>>> >>
>>> org.apache.synapse.core.axis2.DynamicAxisOperation$DynamicOperationClient.send(DynamicAxisOperation.java:193)
>>> >> >        at
>>> >>
>>> org.apache.synapse.core.axis2.DynamicAxisOperation$DynamicOperationClient.exe
>>> >> >
>>> >> >
>>> >> > We are able to reproduce these errors on our local machines.
>>> Solution is
>>> >> to
>>> >> > patch the JDK with JCE policy files (this is a requirement from
>>> Apache
>>> >> > Rampart which handles security in Synapse). Currently Jenkins is
>>> building
>>> >> > Synapse on JDK 5 with Maven 3. Is there any possibility of getting
>>> this
>>> >> JDK
>>> >> > installation patched with the necessary JCE files?
>>> >> >
>>> >> > Thanks
>>> >> > --
>>> >> > Hiranya Jayathilaka
>>> >> > Associate Technical Lead;
>>> >> > WSO2 Inc.;  http://wso2.org
>>> >> > E-mail: hiranya@wso2.com;  Mobile: +94 77 633 3491
>>> >> > Blog: http://techfeast-hiranya.blogspot.com
>>> >>
>>> >
>>> >
>>> >
>>> > --
>>> > Hiranya Jayathilaka
>>> > Associate Technical Lead;
>>> > WSO2 Inc.;  http://wso2.org
>>> > E-mail: hiranya@wso2.com;  Mobile: +94 77 633 3491
>>> > Blog: http://techfeast-hiranya.blogspot.com
>>>
>>
>>
>>
>> --
>> Hiranya Jayathilaka
>> Associate Technical Lead;
>> WSO2 Inc.;  http://wso2.org
>> E-mail: hiranya@wso2.com;  Mobile: +94 77 633 3491
>> Blog: http://techfeast-hiranya.blogspot.com
>>
>
>
>
> --
> Ruwan Linton
> Member, Apache Software Foundation; http://www.apache.org
> Director of Engineering; http://adroitlogic.org
>
> phone: +94 11 282 7532
> email: ruwan@adroitlogic.com; cell: +94 77 341 3097
> blog: http://blog.ruwan.org
> linkedin: http://www.linkedin.com/in/ruwanlinton
> google: http://www.google.com/profiles/ruwan.linton
> tweet: http://twitter.com/ruwanlinton
>
>


-- 
Ruwan Linton
Member, Apache Software Foundation; http://www.apache.org
Director of Engineering; http://adroitlogic.org

phone: +94 11 282 7532
email: ruwan@adroitlogic.com; cell: +94 77 341 3097
blog: http://blog.ruwan.org
linkedin: http://www.linkedin.com/in/ruwanlinton
google: http://www.google.com/profiles/ruwan.linton
tweet: http://twitter.com/ruwanlinton

Re: Integration Test Failures on Jenkins

Posted by Ruwan Linton <ru...@gmail.com>.
Hiranya,

I have changed it to JDK 1.6 (unlimited security) and triggered a build.

Thanks,
Ruwan

On Fri, Dec 30, 2011 at 9:38 AM, Hiranya Jayathilaka
<hi...@gmail.com>wrote:

> Hi,
>
> Can somebody please instruct how we can change our Jenkins build plan to
> use the JDK 6 installation which is apparently patched with JCE policy
> files?
>
> Thanks,
> Hiranya
>
>
> On Thu, Dec 29, 2011 at 4:41 PM, Andreas Veithen <
> andreas.veithen@gmail.com> wrote:
>
>> On Thu, Dec 29, 2011 at 11:23, Hiranya Jayathilaka <hi...@gmail.com>
>> wrote:
>> > Hi Andreas,
>> >
>> > On Thu, Dec 29, 2011 at 2:30 PM, Andreas Veithen
>> > <an...@gmail.com>wrote:
>> >
>> >> There is a "JDK 1.6 (unlimited security)" already available.
>> >>
>> >
>> > I'm +1 for switching our build plan to JDK 1.6. How can we get this
>> done?
>>
>> That's a discussion for the Synapse dev list, not for builds@apache.org.
>>
>> > Thanks,
>> > Hiranya
>> >
>> >
>> >>
>> >> Andreas
>> >>
>> >> On Thu, Dec 29, 2011 at 06:03, Hiranya Jayathilaka <
>> hiranya911@gmail.com>
>> >> wrote:
>> >> > Hi Folks,
>> >> >
>> >> > We have a Jenkins task configured to build Apache Synapse. A few days
>> >> > earlier we added some new integration tests to the project and 2 of
>> these
>> >> > tests are failing on Jenkins builder:
>> >> >
>> >> > Test Result<
>> >>
>> https://builds.apache.org/job/Synapse%20-%20Trunk/org.apache.synapse$synapse-integration/4072/testReport/
>> >> >
>> >> > (2
>> >> > failures )
>> >> >
>> >> >   -
>> >>
>> org.apache.synapse.samples.framework.tests.qos.Sample100.testWSSecurity<
>> >>
>> https://builds.apache.org/job/Synapse%20-%20Trunk/org.apache.synapse$synapse-integration/4072/testReport/junit/org.apache.synapse.samples.framework.tests.qos/Sample100/testWSSecurity/
>> >> >
>> >> >   -
>> >> >
>> >>
>> org.apache.synapse.samples.framework.tests.proxy.Sample156.testServiceIntegration<
>> >>
>> https://builds.apache.org/job/Synapse%20-%20Trunk/org.apache.synapse$synapse-integration/4072/testReport/junit/org.apache.synapse.samples.framework.tests.proxy/Sample156/testServiceIntegration/
>> >> >
>> >> >
>> >> >
>> >> > These are both security related tests. Here's the root cause I
>> extracted
>> >> > from the build logs:
>> >> >
>> >> > 2011-12-27 00:02:37,487 [-] [HttpServerWorker-1] ERROR Axis2Sender
>> >> > Unexpected error during sending message out
>> >> > org.apache.axis2.AxisFault: Error in encryption
>> >> >        at
>> >> org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:76)
>> >> >        at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:335)
>> >> >        at org.apache.axis2.engine.Phase.invoke(Phase.java:308)
>> >> >        at
>> org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:262)
>> >> >        at
>> org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:427)
>> >> >        at
>> >>
>> org.apache.synapse.core.axis2.DynamicAxisOperation$DynamicOperationClient.send(DynamicAxisOperation.java:193)
>> >> >        at
>> >>
>> org.apache.synapse.core.axis2.DynamicAxisOperation$DynamicOperationClient.exe
>> >> >
>> >> >
>> >> > We are able to reproduce these errors on our local machines.
>> Solution is
>> >> to
>> >> > patch the JDK with JCE policy files (this is a requirement from
>> Apache
>> >> > Rampart which handles security in Synapse). Currently Jenkins is
>> building
>> >> > Synapse on JDK 5 with Maven 3. Is there any possibility of getting
>> this
>> >> JDK
>> >> > installation patched with the necessary JCE files?
>> >> >
>> >> > Thanks
>> >> > --
>> >> > Hiranya Jayathilaka
>> >> > Associate Technical Lead;
>> >> > WSO2 Inc.;  http://wso2.org
>> >> > E-mail: hiranya@wso2.com;  Mobile: +94 77 633 3491
>> >> > Blog: http://techfeast-hiranya.blogspot.com
>> >>
>> >
>> >
>> >
>> > --
>> > Hiranya Jayathilaka
>> > Associate Technical Lead;
>> > WSO2 Inc.;  http://wso2.org
>> > E-mail: hiranya@wso2.com;  Mobile: +94 77 633 3491
>> > Blog: http://techfeast-hiranya.blogspot.com
>>
>
>
>
> --
> Hiranya Jayathilaka
> Associate Technical Lead;
> WSO2 Inc.;  http://wso2.org
> E-mail: hiranya@wso2.com;  Mobile: +94 77 633 3491
> Blog: http://techfeast-hiranya.blogspot.com
>



-- 
Ruwan Linton
Member, Apache Software Foundation; http://www.apache.org
Director of Engineering; http://adroitlogic.org

phone: +94 11 282 7532
email: ruwan@adroitlogic.com; cell: +94 77 341 3097
blog: http://blog.ruwan.org
linkedin: http://www.linkedin.com/in/ruwanlinton
google: http://www.google.com/profiles/ruwan.linton
tweet: http://twitter.com/ruwanlinton

Re: Integration Test Failures on Jenkins

Posted by Hiranya Jayathilaka <hi...@gmail.com>.
Hi,

Can somebody please instruct how we can change our Jenkins build plan to
use the JDK 6 installation which is apparently patched with JCE policy
files?

Thanks,
Hiranya

On Thu, Dec 29, 2011 at 4:41 PM, Andreas Veithen
<an...@gmail.com>wrote:

> On Thu, Dec 29, 2011 at 11:23, Hiranya Jayathilaka <hi...@gmail.com>
> wrote:
> > Hi Andreas,
> >
> > On Thu, Dec 29, 2011 at 2:30 PM, Andreas Veithen
> > <an...@gmail.com>wrote:
> >
> >> There is a "JDK 1.6 (unlimited security)" already available.
> >>
> >
> > I'm +1 for switching our build plan to JDK 1.6. How can we get this done?
>
> That's a discussion for the Synapse dev list, not for builds@apache.org.
>
> > Thanks,
> > Hiranya
> >
> >
> >>
> >> Andreas
> >>
> >> On Thu, Dec 29, 2011 at 06:03, Hiranya Jayathilaka <
> hiranya911@gmail.com>
> >> wrote:
> >> > Hi Folks,
> >> >
> >> > We have a Jenkins task configured to build Apache Synapse. A few days
> >> > earlier we added some new integration tests to the project and 2 of
> these
> >> > tests are failing on Jenkins builder:
> >> >
> >> > Test Result<
> >>
> https://builds.apache.org/job/Synapse%20-%20Trunk/org.apache.synapse$synapse-integration/4072/testReport/
> >> >
> >> > (2
> >> > failures )
> >> >
> >> >   -
> >> org.apache.synapse.samples.framework.tests.qos.Sample100.testWSSecurity<
> >>
> https://builds.apache.org/job/Synapse%20-%20Trunk/org.apache.synapse$synapse-integration/4072/testReport/junit/org.apache.synapse.samples.framework.tests.qos/Sample100/testWSSecurity/
> >> >
> >> >   -
> >> >
> >>
> org.apache.synapse.samples.framework.tests.proxy.Sample156.testServiceIntegration<
> >>
> https://builds.apache.org/job/Synapse%20-%20Trunk/org.apache.synapse$synapse-integration/4072/testReport/junit/org.apache.synapse.samples.framework.tests.proxy/Sample156/testServiceIntegration/
> >> >
> >> >
> >> >
> >> > These are both security related tests. Here's the root cause I
> extracted
> >> > from the build logs:
> >> >
> >> > 2011-12-27 00:02:37,487 [-] [HttpServerWorker-1] ERROR Axis2Sender
> >> > Unexpected error during sending message out
> >> > org.apache.axis2.AxisFault: Error in encryption
> >> >        at
> >> org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:76)
> >> >        at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:335)
> >> >        at org.apache.axis2.engine.Phase.invoke(Phase.java:308)
> >> >        at
> org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:262)
> >> >        at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:427)
> >> >        at
> >>
> org.apache.synapse.core.axis2.DynamicAxisOperation$DynamicOperationClient.send(DynamicAxisOperation.java:193)
> >> >        at
> >>
> org.apache.synapse.core.axis2.DynamicAxisOperation$DynamicOperationClient.exe
> >> >
> >> >
> >> > We are able to reproduce these errors on our local machines. Solution
> is
> >> to
> >> > patch the JDK with JCE policy files (this is a requirement from Apache
> >> > Rampart which handles security in Synapse). Currently Jenkins is
> building
> >> > Synapse on JDK 5 with Maven 3. Is there any possibility of getting
> this
> >> JDK
> >> > installation patched with the necessary JCE files?
> >> >
> >> > Thanks
> >> > --
> >> > Hiranya Jayathilaka
> >> > Associate Technical Lead;
> >> > WSO2 Inc.;  http://wso2.org
> >> > E-mail: hiranya@wso2.com;  Mobile: +94 77 633 3491
> >> > Blog: http://techfeast-hiranya.blogspot.com
> >>
> >
> >
> >
> > --
> > Hiranya Jayathilaka
> > Associate Technical Lead;
> > WSO2 Inc.;  http://wso2.org
> > E-mail: hiranya@wso2.com;  Mobile: +94 77 633 3491
> > Blog: http://techfeast-hiranya.blogspot.com
>



-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hiranya@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com

Re: Integration Test Failures on Jenkins

Posted by Andreas Veithen <an...@gmail.com>.
On Thu, Dec 29, 2011 at 11:23, Hiranya Jayathilaka <hi...@gmail.com> wrote:
> Hi Andreas,
>
> On Thu, Dec 29, 2011 at 2:30 PM, Andreas Veithen
> <an...@gmail.com>wrote:
>
>> There is a "JDK 1.6 (unlimited security)" already available.
>>
>
> I'm +1 for switching our build plan to JDK 1.6. How can we get this done?

That's a discussion for the Synapse dev list, not for builds@apache.org.

> Thanks,
> Hiranya
>
>
>>
>> Andreas
>>
>> On Thu, Dec 29, 2011 at 06:03, Hiranya Jayathilaka <hi...@gmail.com>
>> wrote:
>> > Hi Folks,
>> >
>> > We have a Jenkins task configured to build Apache Synapse. A few days
>> > earlier we added some new integration tests to the project and 2 of these
>> > tests are failing on Jenkins builder:
>> >
>> > Test Result<
>> https://builds.apache.org/job/Synapse%20-%20Trunk/org.apache.synapse$synapse-integration/4072/testReport/
>> >
>> > (2
>> > failures )
>> >
>> >   -
>> org.apache.synapse.samples.framework.tests.qos.Sample100.testWSSecurity<
>> https://builds.apache.org/job/Synapse%20-%20Trunk/org.apache.synapse$synapse-integration/4072/testReport/junit/org.apache.synapse.samples.framework.tests.qos/Sample100/testWSSecurity/
>> >
>> >   -
>> >
>> org.apache.synapse.samples.framework.tests.proxy.Sample156.testServiceIntegration<
>> https://builds.apache.org/job/Synapse%20-%20Trunk/org.apache.synapse$synapse-integration/4072/testReport/junit/org.apache.synapse.samples.framework.tests.proxy/Sample156/testServiceIntegration/
>> >
>> >
>> >
>> > These are both security related tests. Here's the root cause I extracted
>> > from the build logs:
>> >
>> > 2011-12-27 00:02:37,487 [-] [HttpServerWorker-1] ERROR Axis2Sender
>> > Unexpected error during sending message out
>> > org.apache.axis2.AxisFault: Error in encryption
>> >        at
>> org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:76)
>> >        at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:335)
>> >        at org.apache.axis2.engine.Phase.invoke(Phase.java:308)
>> >        at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:262)
>> >        at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:427)
>> >        at
>> org.apache.synapse.core.axis2.DynamicAxisOperation$DynamicOperationClient.send(DynamicAxisOperation.java:193)
>> >        at
>> org.apache.synapse.core.axis2.DynamicAxisOperation$DynamicOperationClient.exe
>> >
>> >
>> > We are able to reproduce these errors on our local machines. Solution is
>> to
>> > patch the JDK with JCE policy files (this is a requirement from Apache
>> > Rampart which handles security in Synapse). Currently Jenkins is building
>> > Synapse on JDK 5 with Maven 3. Is there any possibility of getting this
>> JDK
>> > installation patched with the necessary JCE files?
>> >
>> > Thanks
>> > --
>> > Hiranya Jayathilaka
>> > Associate Technical Lead;
>> > WSO2 Inc.;  http://wso2.org
>> > E-mail: hiranya@wso2.com;  Mobile: +94 77 633 3491
>> > Blog: http://techfeast-hiranya.blogspot.com
>>
>
>
>
> --
> Hiranya Jayathilaka
> Associate Technical Lead;
> WSO2 Inc.;  http://wso2.org
> E-mail: hiranya@wso2.com;  Mobile: +94 77 633 3491
> Blog: http://techfeast-hiranya.blogspot.com

Re: Integration Test Failures on Jenkins

Posted by Hiranya Jayathilaka <hi...@gmail.com>.
Hi Andreas,

On Thu, Dec 29, 2011 at 2:30 PM, Andreas Veithen
<an...@gmail.com>wrote:

> There is a "JDK 1.6 (unlimited security)" already available.
>

I'm +1 for switching our build plan to JDK 1.6. How can we get this done?

Thanks,
Hiranya


>
> Andreas
>
> On Thu, Dec 29, 2011 at 06:03, Hiranya Jayathilaka <hi...@gmail.com>
> wrote:
> > Hi Folks,
> >
> > We have a Jenkins task configured to build Apache Synapse. A few days
> > earlier we added some new integration tests to the project and 2 of these
> > tests are failing on Jenkins builder:
> >
> > Test Result<
> https://builds.apache.org/job/Synapse%20-%20Trunk/org.apache.synapse$synapse-integration/4072/testReport/
> >
> > (2
> > failures )
> >
> >   -
> org.apache.synapse.samples.framework.tests.qos.Sample100.testWSSecurity<
> https://builds.apache.org/job/Synapse%20-%20Trunk/org.apache.synapse$synapse-integration/4072/testReport/junit/org.apache.synapse.samples.framework.tests.qos/Sample100/testWSSecurity/
> >
> >   -
> >
> org.apache.synapse.samples.framework.tests.proxy.Sample156.testServiceIntegration<
> https://builds.apache.org/job/Synapse%20-%20Trunk/org.apache.synapse$synapse-integration/4072/testReport/junit/org.apache.synapse.samples.framework.tests.proxy/Sample156/testServiceIntegration/
> >
> >
> >
> > These are both security related tests. Here's the root cause I extracted
> > from the build logs:
> >
> > 2011-12-27 00:02:37,487 [-] [HttpServerWorker-1] ERROR Axis2Sender
> > Unexpected error during sending message out
> > org.apache.axis2.AxisFault: Error in encryption
> >        at
> org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:76)
> >        at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:335)
> >        at org.apache.axis2.engine.Phase.invoke(Phase.java:308)
> >        at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:262)
> >        at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:427)
> >        at
> org.apache.synapse.core.axis2.DynamicAxisOperation$DynamicOperationClient.send(DynamicAxisOperation.java:193)
> >        at
> org.apache.synapse.core.axis2.DynamicAxisOperation$DynamicOperationClient.exe
> >
> >
> > We are able to reproduce these errors on our local machines. Solution is
> to
> > patch the JDK with JCE policy files (this is a requirement from Apache
> > Rampart which handles security in Synapse). Currently Jenkins is building
> > Synapse on JDK 5 with Maven 3. Is there any possibility of getting this
> JDK
> > installation patched with the necessary JCE files?
> >
> > Thanks
> > --
> > Hiranya Jayathilaka
> > Associate Technical Lead;
> > WSO2 Inc.;  http://wso2.org
> > E-mail: hiranya@wso2.com;  Mobile: +94 77 633 3491
> > Blog: http://techfeast-hiranya.blogspot.com
>



-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hiranya@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com

Re: Integration Test Failures on Jenkins

Posted by Andreas Veithen <an...@gmail.com>.
There is a "JDK 1.6 (unlimited security)" already available.

Andreas

On Thu, Dec 29, 2011 at 06:03, Hiranya Jayathilaka <hi...@gmail.com> wrote:
> Hi Folks,
>
> We have a Jenkins task configured to build Apache Synapse. A few days
> earlier we added some new integration tests to the project and 2 of these
> tests are failing on Jenkins builder:
>
> Test Result<https://builds.apache.org/job/Synapse%20-%20Trunk/org.apache.synapse$synapse-integration/4072/testReport/>
> (2
> failures )
>
>   - org.apache.synapse.samples.framework.tests.qos.Sample100.testWSSecurity<https://builds.apache.org/job/Synapse%20-%20Trunk/org.apache.synapse$synapse-integration/4072/testReport/junit/org.apache.synapse.samples.framework.tests.qos/Sample100/testWSSecurity/>
>   -
>   org.apache.synapse.samples.framework.tests.proxy.Sample156.testServiceIntegration<https://builds.apache.org/job/Synapse%20-%20Trunk/org.apache.synapse$synapse-integration/4072/testReport/junit/org.apache.synapse.samples.framework.tests.proxy/Sample156/testServiceIntegration/>
>
>
> These are both security related tests. Here's the root cause I extracted
> from the build logs:
>
> 2011-12-27 00:02:37,487 [-] [HttpServerWorker-1] ERROR Axis2Sender
> Unexpected error during sending message out
> org.apache.axis2.AxisFault: Error in encryption
>        at org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:76)
>        at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:335)
>        at org.apache.axis2.engine.Phase.invoke(Phase.java:308)
>        at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:262)
>        at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:427)
>        at org.apache.synapse.core.axis2.DynamicAxisOperation$DynamicOperationClient.send(DynamicAxisOperation.java:193)
>        at org.apache.synapse.core.axis2.DynamicAxisOperation$DynamicOperationClient.exe
>
>
> We are able to reproduce these errors on our local machines. Solution is to
> patch the JDK with JCE policy files (this is a requirement from Apache
> Rampart which handles security in Synapse). Currently Jenkins is building
> Synapse on JDK 5 with Maven 3. Is there any possibility of getting this JDK
> installation patched with the necessary JCE files?
>
> Thanks
> --
> Hiranya Jayathilaka
> Associate Technical Lead;
> WSO2 Inc.;  http://wso2.org
> E-mail: hiranya@wso2.com;  Mobile: +94 77 633 3491
> Blog: http://techfeast-hiranya.blogspot.com