You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@infra.apache.org by "Avery Ching (Created) (JIRA)" <ji...@apache.org> on 2011/11/07 23:24:54 UTC

[jira] [Created] (INFRA-4097) hudson doesn't have mvn - /tmp/hudson6174557603739055037.sh: line 9: /home/jenkins/tools/maven/latest/bin/mvn: No such file or directory

hudson doesn't have mvn - /tmp/hudson6174557603739055037.sh: line 9: /home/jenkins/tools/maven/latest/bin/mvn: No such file or directory
----------------------------------------------------------------------------------------------------------------------------------------

                 Key: INFRA-4097
                 URL: https://issues.apache.org/jira/browse/INFRA-4097
             Project: Infrastructure
          Issue Type: Bug
      Security Level: public (Regular issues)
            Reporter: Avery Ching


Something is weird with hudson, cannot find mvn.

https://builds.apache.org/job/Giraph-trunk-Commit/24/console
<snip>
[Giraph-trunk-Commit] $ /bin/bash -x /tmp/hudson6174557603739055037.sh
+ export JAVA_HOME=/home/jenkins/tools/java/latest
+ JAVA_HOME=/home/jenkins/tools/java/latest
+ export MAVEN_HOME=/home/jenkins/tools/maven/latest
+ MAVEN_HOME=/home/jenkins/tools/maven/latest
+ export PATH=/home/jenkins/tools/java/latest/bin:/home/jenkins/tools/maven/latest/bin:/home/hudson/tools/java/latest1.6/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/home/hudson/.rvm/bin
+ PATH=/home/jenkins/tools/java/latest/bin:/home/jenkins/tools/maven/latest/bin:/home/hudson/tools/java/latest1.6/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/home/hudson/.rvm/bin
+ which java
/home/hudson/tools/java/latest1.6/bin/java
+ cd /home/hudson/hudson-slave/workspace/Giraph-trunk-Commit/trunk
+ /home/jenkins/tools/maven/latest/bin/mvn clean compile test
/tmp/hudson6174557603739055037.sh: line 9: /home/jenkins/tools/maven/latest/bin/mvn: No such file or directory
Build step 'Execute shell' marked build as failure
Updating GIRAPH-47
Recording test results
Finished: FAILURE

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (INFRA-4097) hudson doesn't have mvn - /tmp/hudson6174557603739055037.sh: line 9: /home/jenkins/tools/maven/latest/bin/mvn: No such file or directory

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

Avery Ching commented on INFRA-4097:
------------------------------------

Thank you for the quick response Gavin!
                
> hudson doesn't have mvn - /tmp/hudson6174557603739055037.sh: line 9: /home/jenkins/tools/maven/latest/bin/mvn: No such file or directory
> ----------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: INFRA-4097
>                 URL: https://issues.apache.org/jira/browse/INFRA-4097
>             Project: Infrastructure
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>            Reporter: Avery Ching
>
> Something is weird with hudson, cannot find mvn.
> https://builds.apache.org/job/Giraph-trunk-Commit/24/console
> <snip>
> [Giraph-trunk-Commit] $ /bin/bash -x /tmp/hudson6174557603739055037.sh
> + export JAVA_HOME=/home/jenkins/tools/java/latest
> + JAVA_HOME=/home/jenkins/tools/java/latest
> + export MAVEN_HOME=/home/jenkins/tools/maven/latest
> + MAVEN_HOME=/home/jenkins/tools/maven/latest
> + export PATH=/home/jenkins/tools/java/latest/bin:/home/jenkins/tools/maven/latest/bin:/home/hudson/tools/java/latest1.6/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/home/hudson/.rvm/bin
> + PATH=/home/jenkins/tools/java/latest/bin:/home/jenkins/tools/maven/latest/bin:/home/hudson/tools/java/latest1.6/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/home/hudson/.rvm/bin
> + which java
> /home/hudson/tools/java/latest1.6/bin/java
> + cd /home/hudson/hudson-slave/workspace/Giraph-trunk-Commit/trunk
> + /home/jenkins/tools/maven/latest/bin/mvn clean compile test
> /tmp/hudson6174557603739055037.sh: line 9: /home/jenkins/tools/maven/latest/bin/mvn: No such file or directory
> Build step 'Execute shell' marked build as failure
> Updating GIRAPH-47
> Recording test results
> Finished: FAILURE

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Closed] (INFRA-4097) hudson doesn't have mvn - /tmp/hudson6174557603739055037.sh: line 9: /home/jenkins/tools/maven/latest/bin/mvn: No such file or directory

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

Gavin closed INFRA-4097.
------------------------

    Resolution: Fixed

On that machine, it uses the legacy /home/hudson directory. Newer slaves use the correct /home/jenkins (because we dont use Hudson no more , hint hint :) )

Anyway, symlinked the dir is the easiest route to align with other slaves.

Done, enjoy.
                
> hudson doesn't have mvn - /tmp/hudson6174557603739055037.sh: line 9: /home/jenkins/tools/maven/latest/bin/mvn: No such file or directory
> ----------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: INFRA-4097
>                 URL: https://issues.apache.org/jira/browse/INFRA-4097
>             Project: Infrastructure
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>            Reporter: Avery Ching
>
> Something is weird with hudson, cannot find mvn.
> https://builds.apache.org/job/Giraph-trunk-Commit/24/console
> <snip>
> [Giraph-trunk-Commit] $ /bin/bash -x /tmp/hudson6174557603739055037.sh
> + export JAVA_HOME=/home/jenkins/tools/java/latest
> + JAVA_HOME=/home/jenkins/tools/java/latest
> + export MAVEN_HOME=/home/jenkins/tools/maven/latest
> + MAVEN_HOME=/home/jenkins/tools/maven/latest
> + export PATH=/home/jenkins/tools/java/latest/bin:/home/jenkins/tools/maven/latest/bin:/home/hudson/tools/java/latest1.6/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/home/hudson/.rvm/bin
> + PATH=/home/jenkins/tools/java/latest/bin:/home/jenkins/tools/maven/latest/bin:/home/hudson/tools/java/latest1.6/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/home/hudson/.rvm/bin
> + which java
> /home/hudson/tools/java/latest1.6/bin/java
> + cd /home/hudson/hudson-slave/workspace/Giraph-trunk-Commit/trunk
> + /home/jenkins/tools/maven/latest/bin/mvn clean compile test
> /tmp/hudson6174557603739055037.sh: line 9: /home/jenkins/tools/maven/latest/bin/mvn: No such file or directory
> Build step 'Execute shell' marked build as failure
> Updating GIRAPH-47
> Recording test results
> Finished: FAILURE

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira