infra-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (INFRA-18812) Jenkins slaves .mavenrc file overrides MAVEN_OPTS value
Date Fri, 02 Aug 2019 06:37:00 GMT

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

ASF subversion and git services commented on INFRA-18812:
---------------------------------------------------------

Commit ca59130db5273d805c11ebfa1adf558938543a88 in infrastructure-puppet's branch refs/heads/deployment
from Gavin McDonald
[ https://gitbox.apache.org/repos/asf?p=infrastructure-puppet.git;h=ca59130 ]

remove unwanted .mavenrc file. INFRA-18812


> Jenkins slaves .mavenrc file overrides MAVEN_OPTS value
> -------------------------------------------------------
>
>                 Key: INFRA-18812
>                 URL: https://issues.apache.org/jira/browse/INFRA-18812
>             Project: Infrastructure
>          Issue Type: Bug
>          Components: Jenkins
>         Environment: https://builds.apache.org/view/M-R/view/Maven/job/maven-box/job/maven/job/MAVEN_OPTS/
>            Reporter: Hervé Boutemy
>            Assignee: Gavin
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> we have 4 Maven core ITs failing for 1 month on some Linux slave nodes: never Windows,
not every Linux slave (but most)
> after hard debug session, we found that the value of MAVEN_OPTS defined during the IT
is not taken into account
> And we finally found the root cause: there is a /home/jenkins/.mavenrc script that defines
MAVEN_OPTS=-Xmx1024m -XX:MaxPermSize=256m
> this fully overrides MAVEN_OPTS value that was defined before and that our IT requires
> I could not find this .mavenrc file in Puppet.
> I suppose removing this file is not really an option: could you update this file on every
slave to define:
> MAVEN_OPTS=-Xmx1024m -XX:MaxPermSize=256m ${MAVEN_OPTS}
> thanks in advance



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Mime
View raw message