infra-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tibor Digana (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (INFRA-15923) Permission denied to run JVM(latest1.9) on Jenkins machine ubuntu-1
Date Sat, 27 Jan 2018 22:02:00 GMT

    [ https://issues.apache.org/jira/browse/INFRA-15923?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16342338#comment-16342338
] 

Tibor Digana commented on INFRA-15923:
--------------------------------------

The script is legal and it has a trick to find out real path on the slave:
https://github.com/apache/maven-surefire/blob/SUREFIRE-1463/Jenkinsfile#L187

This means that f:\\jenkins\\tools\\java\\latest9\bin\java.exe does not exist.
Can you check it on windows-2016-1?
[windows-jdk9-maven3.5.x] Running on windows-2016-1 in f:\jenkins\jenkins-slave\workspace\fire-pipeline_SUREFIRE-1463-5KZ5VLS45OW347227XHB7NPF5FLJFXODCMZF4ZDVYJEJZVION6UQ

And these two lines
[linux-jdk9-maven3.5.x] The /home/jenkins/tools/java/latest1.9
[linux-jdk9-maven3.5.x] /bin/java does not exist in jdkToolName=JDK 1.9 (latest).

mean similar, that /home/jenkins/tools/java/latest1.9/bin/java does not exist.

Could it be the problem?

> Permission denied to run JVM(latest1.9) on Jenkins machine ubuntu-1
> -------------------------------------------------------------------
>
>                 Key: INFRA-15923
>                 URL: https://issues.apache.org/jira/browse/INFRA-15923
>             Project: Infrastructure
>          Issue Type: Bug
>          Components: Jenkins
>            Reporter: Tibor Digana
>            Priority: Critical
>
> I am running job, see logs [1], with Java 9. Our project runs ordinal function "withMaven"
and the build forks execution in another JVM with Java 9.
> The problem is that the forked JVM does not have permissions to run:
> [linux-jdk9-maven3.5.x] /bin/sh: 1: /home/jenkins/tools/java/latest1.9: Permission denied
> [linux-jdk9-maven3.5.x] /bin/sh: 2: /bin/java: not found
> [1]:
> https://builds.apache.org/view/M-R/view/Maven/job/maven-surefire-pipeline/job/SUREFIRE-1463/57/console



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message