[jira] Created: (CAMEL-939) Investigate test failures on AIX

View: New views
16 Messages — Rating Filter:   Alert me  

[jira] Created: (CAMEL-939) Investigate test failures on AIX

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Investigate test failures on AIX
--------------------------------

                 Key: CAMEL-939
                 URL: https://issues.apache.org/activemq/browse/CAMEL-939
             Project: Apache Camel
          Issue Type: Bug
          Components: camel-core, camel-spring
    Affects Versions: 1.4.0
            Reporter: Jonathan Anstey
            Assignee: Jonathan Anstey




--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Work started: (CAMEL-939) Investigate test failures on AIX

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ https://issues.apache.org/activemq/browse/CAMEL-939?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on CAMEL-939 started by Jonathan Anstey.

> Investigate test failures on AIX
> --------------------------------
>
>                 Key: CAMEL-939
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-939
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core, camel-spring
>    Affects Versions: 1.4.0
>            Reporter: Jonathan Anstey
>            Assignee: Jonathan Anstey
>


--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-939) Investigate test failures on AIX

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ https://issues.apache.org/activemq/browse/CAMEL-939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46018#action_46018 ]

Jonathan Anstey commented on CAMEL-939:
---------------------------------------

Just fixed a compile error in camel-core but also found two other errors:

1. In camel-spring, looks like the schemagen plugin doesn't work on AIX.

{code}
Error starting apt
        at com.sun.tools.jxc.AptBasedTask$InternalAptAdapter.execute(AptBasedTask.java:68)
        at com.sun.tools.jxc.AptBasedTask.compile(AptBasedTask.java:108)
        at com.sun.tools.jxc.maven2.SchemaGenAdapter.execute(SchemaGenAdapter.java:111)
        at com.sun.tools.jxc.maven2.SchemaGenMojo.execute(SchemaGenMojo.java:161)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
        ...
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: java.lang.ClassNotFoundException: com.sun.tools.apt.Main
        at java.lang.Class.forName(Class.java:130)
        at com.sun.tools.jxc.AptBasedTask$InternalAptAdapter.execute(AptBasedTask.java:52)
{code}

2. In camel-core I get this

{code}
org.apache.camel.builder.xml.InvalidXPathExpression: Invalid xpath: java:org.apache.camel.builder.xml.XPathTest.func(string(/header
value)). Reason: javax.xml.xpath.XPathExpressionException: org.apache.xpath.XPathException: Can not convert #STRING to a NodeList!
at org.apache.camel.builder.xml.XPathBuilder.evaluateAs(XPathBuilder.java:443)
at org.apache.camel.builder.xml.XPathBuilder.evaluate(XPathBuilder.java:110)
at org.apache.camel.TestSupport.assertExpression(TestSupport.java:197)
at org.apache.camel.builder.xml.XPathTest.assertExpression(XPathTest.java:84)
at org.apache.camel.builder.xml.XPathTest.testUsingJavaExtensions(XPathTest.java:69)
Caused by: javax.xml.xpath.XPathExpressionException: org.apache.xpath.XPathException: Can not convert #STRING to a NodeList!
at org.apache.xpath.jaxp.XPathExpressionImpl.evaluate(XPathExpressionImpl.java:103)
at org.apache.camel.builder.xml.XPathBuilder.evaluateAs(XPathBuilder.java:429)
... 30 more
Caused by: org.apache.xpath.XPathException: Can not convert #STRING to a NodeList!
at org.apache.xpath.objects.XObject.error(XObject.java:707)
at org.apache.xpath.objects.XObject.nodelist(XObject.java:453)
at org.apache.xpath.jaxp.XPathExpressionImpl.xObjectToObject(XPathExpressionImpl.java:226)
at org.apache.xpath.jaxp.XPathExpressionImpl.evaluate(XPathExpressionImpl.java:91)
... 31 more
{code}

Looking into these issues now.

> Investigate test failures on AIX
> --------------------------------
>
>                 Key: CAMEL-939
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-939
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core, camel-spring
>    Affects Versions: 1.4.0
>            Reporter: Jonathan Anstey
>            Assignee: Jonathan Anstey
>


--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-939) Investigate test failures on AIX

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ https://issues.apache.org/activemq/browse/CAMEL-939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46020#action_46020 ]

Jonathan Anstey commented on CAMEL-939:
---------------------------------------

I think the only way to get around #1 would be to remove camel-spring from the build on AIX. The schema generation just isn't going to fly on that platform. Of course, we still need to test the camel-spring tests on AIX... I'm running these now.

I propose to have a separate project (under <camel-root>/tests perhaps) that would download camel-spring built elsewhere on another platform, and then just run the tests. This would be enabled only for AIX.

> Investigate test failures on AIX
> --------------------------------
>
>                 Key: CAMEL-939
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-939
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core, camel-spring
>    Affects Versions: 1.4.0
>            Reporter: Jonathan Anstey
>            Assignee: Jonathan Anstey
>


--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-939) Investigate test failures on AIX

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ https://issues.apache.org/activemq/browse/CAMEL-939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46053#action_46053 ]

Jonathan Anstey commented on CAMEL-939:
---------------------------------------

Fixed #2 in revision 700090. The test was supposed to be ignored when Xalan was not on the CP.

> Investigate test failures on AIX
> --------------------------------
>
>                 Key: CAMEL-939
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-939
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core, camel-spring
>    Affects Versions: 1.4.0
>            Reporter: Jonathan Anstey
>            Assignee: Jonathan Anstey
>


--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-939) Investigate test failures on AIX

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ https://issues.apache.org/activemq/browse/CAMEL-939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46061#action_46061 ]

Jonathan Anstey commented on CAMEL-939:
---------------------------------------

Disabled build of camel-spring/rest on AIX in revision 700186. Still working on getting the tests running for this.

> Investigate test failures on AIX
> --------------------------------
>
>                 Key: CAMEL-939
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-939
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core, camel-spring
>    Affects Versions: 1.4.0
>            Reporter: Jonathan Anstey
>            Assignee: Jonathan Anstey
>


--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-939) Investigate test failures on AIX

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ https://issues.apache.org/activemq/browse/CAMEL-939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46107#action_46107 ]

Jonathan Anstey commented on CAMEL-939:
---------------------------------------

Got the camel-spring/rest tests running by simply ignoring the schemagen plugin on AIX and downloading the last deployed xsd instead.

> Investigate test failures on AIX
> --------------------------------
>
>                 Key: CAMEL-939
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-939
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core, camel-spring
>    Affects Versions: 1.4.0
>            Reporter: Jonathan Anstey
>            Assignee: Jonathan Anstey
>


--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-939) Investigate test failures on AIX

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ https://issues.apache.org/activemq/browse/CAMEL-939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46134#action_46134 ]

Jonathan Anstey commented on CAMEL-939:
---------------------------------------

I'm taking a long weekend so I figured I would put up whats left to get Camel working on AIX.

1. LDAP not working
LdapRouteTest.testLdapRoute  (org.apache.camel.component.ldap)
- ApacheDS seems to be using the SunX509 KeyManagerFactory directly, which is obviously not in the IBM JDK... not sure how were going to get around this besides patching Apache DS...

2. Ruby not working
RubyExpressionTest.testSendMatchingMessage (org.apache.camel.builder.script)
RubyExpressionTest.testSendNonMatchingMessage (org.apache.camel.builder.script)
Jsr223Test.testLanguageNames (org.apache.camel.builder.script)
RubyFilterTest.testSendMatchingMessage (org.apache.camel.builder.script.example)

and

org.apache.camel.ruby.RouteUsingNestedScopesTest
file:/home/janstey/.m2/repository/org/jruby/jruby/1.1.4/jruby-1.1.4.jar!/builtin/javasupport.rb:47:in `require': IO error -- builtin/java/regex (LoadError)
        from file:/home/janstey/.m2/repository/org/jruby/jruby/1.1.4/jruby-1.1.4.jar!/builtin/javasupport.rb:47
        from file:/home/janstey/.m2/repository/org/jruby/jruby/1.1.4/jruby-1.1.4.jar!/builtin/javasupport.rb:17:in `require'
        from /x1/janstey/apache/camel/trunk/components/camel-ruby/target/classes/camel.rb:17
        from /x1/janstey/apache/camel/trunk/components/camel-ruby/target/classes/camel.rb:17:in `require'
        from src/test/java/org/apache/camel/ruby/scopes.rb:17

- Basically, all are failing to load the jruby library

3. Python test failing
PythonLanguageTest.testLanguageExpressions (org.apache.camel.language.script)
- At first glance, looks to be just a timing issue on slower machines. Should be an easy one.

> Investigate test failures on AIX
> --------------------------------
>
>                 Key: CAMEL-939
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-939
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core, camel-spring
>    Affects Versions: 1.4.0
>            Reporter: Jonathan Anstey
>            Assignee: Jonathan Anstey
>


--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CAMEL-939) Investigate test failures on AIX

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ https://issues.apache.org/activemq/browse/CAMEL-939?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Anstey updated CAMEL-939:
----------------------------------

    Fix Version/s: 2.0.0

> Investigate test failures on AIX
> --------------------------------
>
>                 Key: CAMEL-939
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-939
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core, camel-spring
>    Affects Versions: 1.4.0
>            Reporter: Jonathan Anstey
>            Assignee: Jonathan Anstey
>             Fix For: 2.0.0
>
>


--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-939) Investigate test failures on AIX

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ https://issues.apache.org/activemq/browse/CAMEL-939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46602#action_46602 ]

Jonathan Anstey commented on CAMEL-939:
---------------------------------------

I provided a fix to ApacheDS that resolves the camel-ldap failure (https://issues.apache.org/jira/browse/DIRSERVER-1279). We'll just need a new release of it to incorporate the fix in Camel. I'm thinking of putting up a patched ApacheDS 1.5.4 at repo.open.iona.com/maven2

> Investigate test failures on AIX
> --------------------------------
>
>                 Key: CAMEL-939
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-939
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core, camel-spring
>    Affects Versions: 1.4.0
>            Reporter: Jonathan Anstey
>            Assignee: Jonathan Anstey
>             Fix For: 2.0.0
>
>


--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-939) Investigate test failures on AIX

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ https://issues.apache.org/activemq/browse/CAMEL-939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46610#action_46610 ]

Jonathan Anstey commented on CAMEL-939:
---------------------------------------

Submitted a fix for the python test case in rev 706330.

Remaining issues:
* jruby failing to load,
* camel should depend on a patched version of apache ds.


> Investigate test failures on AIX
> --------------------------------
>
>                 Key: CAMEL-939
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-939
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core, camel-spring
>    Affects Versions: 1.4.0
>            Reporter: Jonathan Anstey
>            Assignee: Jonathan Anstey
>             Fix For: 2.0.0
>
>


--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-939) Investigate test failures on AIX

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ https://issues.apache.org/activemq/browse/CAMEL-939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46794#action_46794 ]

Jonathan Anstey commented on CAMEL-939:
---------------------------------------

I did up my own release of ApacheDS with the aforementioned fix. Camel now depends on this version which works fine on AIX - yay!

> Investigate test failures on AIX
> --------------------------------
>
>                 Key: CAMEL-939
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-939
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core, camel-spring
>    Affects Versions: 1.4.0
>            Reporter: Jonathan Anstey
>            Assignee: Jonathan Anstey
>             Fix For: 2.0.0
>
>


--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-939) Investigate test failures on AIX

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ https://issues.apache.org/activemq/browse/CAMEL-939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46859#action_46859 ]

Jonathan Anstey commented on CAMEL-939:
---------------------------------------

Disabled ruby scripting tests for IBM JDK only. I think this issue is release notable since we have a bunch of other scripting languages to choose from. When this gets fixed in JRuby (JRUBY-3073) we should upgrade JRuby and enable the tests again. I'll create a JIRA reminder for this & update the 1.5 release notes.

> Investigate test failures on AIX
> --------------------------------
>
>                 Key: CAMEL-939
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-939
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core, camel-spring
>    Affects Versions: 1.4.0
>            Reporter: Jonathan Anstey
>            Assignee: Jonathan Anstey
>             Fix For: 2.0.0
>
>


--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-939) Investigate test failures on AIX

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ https://issues.apache.org/activemq/browse/CAMEL-939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46860#action_46860 ]

Jonathan Anstey commented on CAMEL-939:
---------------------------------------

Running final tests now with IBM JDK on AIX and Linux to see if any new issues cropped up.

> Investigate test failures on AIX
> --------------------------------
>
>                 Key: CAMEL-939
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-939
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core, camel-spring
>    Affects Versions: 1.4.0
>            Reporter: Jonathan Anstey
>            Assignee: Jonathan Anstey
>             Fix For: 2.0.0
>
>


--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (CAMEL-939) Investigate test failures on AIX

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ https://issues.apache.org/activemq/browse/CAMEL-939?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Anstey resolved CAMEL-939.
-----------------------------------

    Fix Version/s: 1.5.0
                       (was: 2.0.0)
       Resolution: Fixed

> Investigate test failures on AIX
> --------------------------------
>
>                 Key: CAMEL-939
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-939
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core, camel-spring
>    Affects Versions: 1.4.0
>            Reporter: Jonathan Anstey
>            Assignee: Jonathan Anstey
>             Fix For: 1.5.0
>
>


--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-939) Investigate test failures on AIX

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ https://issues.apache.org/activemq/browse/CAMEL-939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46878#action_46878 ]

Jonathan Anstey commented on CAMEL-939:
---------------------------------------

I'm still getting some failures in my CI environment but everything passes when I run the same tests myself. I'm calling this task complete, for 1.5 too! :)

I'll investigate these CI environment issues offline.

> Investigate test failures on AIX
> --------------------------------
>
>                 Key: CAMEL-939
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-939
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core, camel-spring
>    Affects Versions: 1.4.0
>            Reporter: Jonathan Anstey
>            Assignee: Jonathan Anstey
>             Fix For: 1.5.0
>
>


--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

LightInTheBox - Buy quality products at wholesale price!
Need professional support or training for Apache Camel? Graphic Design by H