infra-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gavin (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (INFRA-18812) Jenkins slaves .mavenrc file overrides MAVEN_OPTS value
Date Tue, 30 Jul 2019 14:38:00 GMT

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

Gavin updated INFRA-18812:
--------------------------
    Status: Waiting for user  (was: Waiting for Infra)

can you point out specific nodes?

A spot check of a few nodes revealed no such file, and correct, it is not configured in our
puppet that I can find.

> 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
>
> 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