You are viewing a plain text version of this content. The canonical link for it is here.
Posted to infrastructure-issues@apache.org by "Lukas Theussl (JIRA)" <ji...@apache.org> on 2011/05/31 08:03:47 UTC

[jira] [Created] (INFRA-3664) Maven build runs with java 6 even if java 5 is configured

Maven build runs with java 6 even if java 5 is configured
---------------------------------------------------------

                 Key: INFRA-3664
                 URL: https://issues.apache.org/jira/browse/INFRA-3664
             Project: Infrastructure
          Issue Type: Task
      Security Level: public (Regular issues)
          Components: Jenkins
            Reporter: Lukas Theussl


See: https://builds.apache.org/view/M-R/view/Maven/job/doxia/47/
The osx and Ubuntu builds both run maven with java 6 (check console output) even though configured to run with jdk 5. The windows build runs with java 5 as configured, which leads to an expected build failure because of some java 6 features being used.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (INFRA-3664) Maven build runs with java 6 even if java 5 is configured

Posted by "Niklas Gustavsson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/INFRA-3664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13053415#comment-13053415 ] 

Niklas Gustavsson commented on INFRA-3664:
------------------------------------------

Did something change in the latest build? 
https://builds.apache.org/view/M-R/view/Maven/job/doxia/jdk=JDK%201.5%20(latest),label=Ubuntu/50/console

On OS X, there is only JDK 6 available (that's all that ships with OS X), thus "latest 5" is linked to JDK 6. On Ubuntu, you should get JDK 5.

> Maven build runs with java 6 even if java 5 is configured
> ---------------------------------------------------------
>
>                 Key: INFRA-3664
>                 URL: https://issues.apache.org/jira/browse/INFRA-3664
>             Project: Infrastructure
>          Issue Type: Task
>      Security Level: public(Regular issues) 
>          Components: Jenkins
>            Reporter: Lukas Theussl
>            Assignee: Niklas Gustavsson
>
> See: https://builds.apache.org/view/M-R/view/Maven/job/doxia/47/
> The osx and Ubuntu builds both run maven with java 6 (check console output) even though configured to run with jdk 5. The windows build runs with java 5 as configured, which leads to an expected build failure because of some java 6 features being used.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Closed] (INFRA-3664) Maven build runs with java 6 even if java 5 is configured

Posted by "Niklas Gustavsson (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/INFRA-3664?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Niklas Gustavsson closed INFRA-3664.
------------------------------------

    Resolution: Fixed

Alright, closing. Please reopen if needed.

> Maven build runs with java 6 even if java 5 is configured
> ---------------------------------------------------------
>
>                 Key: INFRA-3664
>                 URL: https://issues.apache.org/jira/browse/INFRA-3664
>             Project: Infrastructure
>          Issue Type: Task
>      Security Level: public(Regular issues) 
>          Components: Jenkins
>            Reporter: Lukas Theussl
>            Assignee: Niklas Gustavsson
>
> See: https://builds.apache.org/view/M-R/view/Maven/job/doxia/47/
> The osx and Ubuntu builds both run maven with java 6 (check console output) even though configured to run with jdk 5. The windows build runs with java 5 as configured, which leads to an expected build failure because of some java 6 features being used.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (INFRA-3664) Maven build runs with java 6 even if java 5 is configured

Posted by "Lukas Theussl (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/INFRA-3664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13053695#comment-13053695 ] 

Lukas Theussl commented on INFRA-3664:
--------------------------------------

I have added a label for ubuntu2 and started a fresh build: https://builds.apache.org/view/M-R/view/Maven/job/doxia/
Let's see...

> Maven build runs with java 6 even if java 5 is configured
> ---------------------------------------------------------
>
>                 Key: INFRA-3664
>                 URL: https://issues.apache.org/jira/browse/INFRA-3664
>             Project: Infrastructure
>          Issue Type: Task
>      Security Level: public(Regular issues) 
>          Components: Jenkins
>            Reporter: Lukas Theussl
>            Assignee: Niklas Gustavsson
>
> See: https://builds.apache.org/view/M-R/view/Maven/job/doxia/47/
> The osx and Ubuntu builds both run maven with java 6 (check console output) even though configured to run with jdk 5. The windows build runs with java 5 as configured, which leads to an expected build failure because of some java 6 features being used.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (INFRA-3664) Maven build runs with java 6 even if java 5 is configured

Posted by "Niklas Gustavsson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/INFRA-3664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13053691#comment-13053691 ] 

Niklas Gustavsson commented on INFRA-3664:
------------------------------------------

One difference is the slave on which the builds ran. #47 ran on ubuntu2, #50 on ubuntu1. #47 is the only build I find that ran on ubuntu2, all other builds ran on ubuntu1 and got JDK 1.5 from a quick look. 

I've made a change on the ubuntu2 slave, can you see if this fixes the problem?

> Maven build runs with java 6 even if java 5 is configured
> ---------------------------------------------------------
>
>                 Key: INFRA-3664
>                 URL: https://issues.apache.org/jira/browse/INFRA-3664
>             Project: Infrastructure
>          Issue Type: Task
>      Security Level: public(Regular issues) 
>          Components: Jenkins
>            Reporter: Lukas Theussl
>            Assignee: Niklas Gustavsson
>
> See: https://builds.apache.org/view/M-R/view/Maven/job/doxia/47/
> The osx and Ubuntu builds both run maven with java 6 (check console output) even though configured to run with jdk 5. The windows build runs with java 5 as configured, which leads to an expected build failure because of some java 6 features being used.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (INFRA-3664) Maven build runs with java 6 even if java 5 is configured

Posted by "Niklas Gustavsson (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/INFRA-3664?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Niklas Gustavsson reassigned INFRA-3664:
----------------------------------------

    Assignee: Niklas Gustavsson

> Maven build runs with java 6 even if java 5 is configured
> ---------------------------------------------------------
>
>                 Key: INFRA-3664
>                 URL: https://issues.apache.org/jira/browse/INFRA-3664
>             Project: Infrastructure
>          Issue Type: Task
>      Security Level: public(Regular issues) 
>          Components: Jenkins
>            Reporter: Lukas Theussl
>            Assignee: Niklas Gustavsson
>
> See: https://builds.apache.org/view/M-R/view/Maven/job/doxia/47/
> The osx and Ubuntu builds both run maven with java 6 (check console output) even though configured to run with jdk 5. The windows build runs with java 5 as configured, which leads to an expected build failure because of some java 6 features being used.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (INFRA-3664) Maven build runs with java 6 even if java 5 is configured

Posted by "Lukas Theussl (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/INFRA-3664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13053741#comment-13053741 ] 

Lukas Theussl commented on INFRA-3664:
--------------------------------------

Looks good now: https://builds.apache.org/view/M-R/view/Maven/job/doxia/jdk=JDK 1.5 (latest),label=ubuntu2/51/console

So unless I missed something, this can be closed. Thanks!

> Maven build runs with java 6 even if java 5 is configured
> ---------------------------------------------------------
>
>                 Key: INFRA-3664
>                 URL: https://issues.apache.org/jira/browse/INFRA-3664
>             Project: Infrastructure
>          Issue Type: Task
>      Security Level: public(Regular issues) 
>          Components: Jenkins
>            Reporter: Lukas Theussl
>            Assignee: Niklas Gustavsson
>
> See: https://builds.apache.org/view/M-R/view/Maven/job/doxia/47/
> The osx and Ubuntu builds both run maven with java 6 (check console output) even though configured to run with jdk 5. The windows build runs with java 5 as configured, which leads to an expected build failure because of some java 6 features being used.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (INFRA-3664) Maven build runs with java 6 even if java 5 is configured

Posted by "Lukas Theussl (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/INFRA-3664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13053685#comment-13053685 ] 

Lukas Theussl commented on INFRA-3664:
--------------------------------------

Hmm, nothing has changed in the job configuration. We have removed the java 6 features from the code, so there is no failure anywhere if run with java 5.

If you compare the first lines of the build logs:

https://builds.apache.org/view/M-R/view/Maven/job/doxia/jdk=JDK 1.5 (latest),label=Ubuntu/47/consoleFull
https://builds.apache.org/view/M-R/view/Maven/job/doxia/jdk=JDK 1.5 (latest),label=Ubuntu/50/console

you see that both get the option "-Djdk=JDK 1.5 (latest)" passed in, but for build #47 maven reports "Java version: 1.6.0_20", while in build 50 the java version is correct. No idea what fixed it...

> Maven build runs with java 6 even if java 5 is configured
> ---------------------------------------------------------
>
>                 Key: INFRA-3664
>                 URL: https://issues.apache.org/jira/browse/INFRA-3664
>             Project: Infrastructure
>          Issue Type: Task
>      Security Level: public(Regular issues) 
>          Components: Jenkins
>            Reporter: Lukas Theussl
>            Assignee: Niklas Gustavsson
>
> See: https://builds.apache.org/view/M-R/view/Maven/job/doxia/47/
> The osx and Ubuntu builds both run maven with java 6 (check console output) even though configured to run with jdk 5. The windows build runs with java 5 as configured, which leads to an expected build failure because of some java 6 features being used.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira