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] [Comment Edited] (INFRA-15978) Multibranch Pipeline does not have Groovy function "lock" in our Jenkins
Date Sat, 10 Feb 2018 05:48:00 GMT

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

Tibor Digana edited comment on INFRA-15978 at 2/10/18 5:47 AM:
---------------------------------------------------------------

[~gmcdonald]
I will explain what is going on.
I have to trigger 23 jobs by one commit. All of them have integration test which bind to the
TCP ports 8083 and 8084 and the ITs take cca 1 minute to complete. The ideal would be to lock
only these tests for short time and part of the concurrent jobs will be exclusive. One job
takes 1 hour. Part means 1 minute out of 1 hour, only.

Regarding ZIP. I nee to zip the logs from all parallel runs triggered by Groovy Jenkinsfile.
We have 700 integration tests and all of them produce logs. When you zip them it is size of
9MB only.

Next is the logs of particular Jenkins job which size is 60 MB.
There we need to have the third plugin which is able to compress the text to ZIP:
https://wiki.jenkins.io/display/JENKINS/Compress+Build+Log+Plugin
and then I can again attach it to artifacts and download it in Firefox.
Instead is it normal to download and read 60 MB logs in the Firefox. No, and therefore these
plugins will solve problem to me to Maven guys, to everybody who copes with real Jenkins job.


was (Author: tibor17):
[~gmcdonald]
I will explain what is going on.
I have to trigger 23 jobs by one commit. All of them have integration test which bind to the
TCP ports 8083 and 8084 and the ITs take cca 1 minute to complete. The ideal would be to lock
only these tests for short time and part of the concurrent jobs will be exclusive. One job
takes 1 hour. Part means 1 minute out of 1 hour, only.

Regarding ZIP. I nee to zip the logs from all parallel runs triggered by Groovy Jenkinsfile.
But is it normal to download and read 60 MB logs in the Firefox. No, and therefore I need
a zip on Windows and download the zip file as a built artifact.

> Multibranch Pipeline does not have Groovy function "lock" in our Jenkins
> ------------------------------------------------------------------------
>
>                 Key: INFRA-15978
>                 URL: https://issues.apache.org/jira/browse/INFRA-15978
>             Project: Infrastructure
>          Issue Type: Wish
>          Components: Jenkins
>            Reporter: Tibor Digana
>            Assignee: Gavin
>            Priority: Major
>
> Multibranch Pipeline does not have Groovy function "lock" in our Jenkins.
> This is default function from Pipeline API.
> Maybe you should upgrade the plugin version.
> I am using Timeout: 15 MINUTES on this lock. So this should not exhaust resources.
> This is the log:
> https://builds.apache.org/job/maven-surefire-pipeline/job/SUREFIRE-1463/104/consoleFull
> And error from the log:
> [Pipeline] End of Pipeline
> java.lang.NoSuchMethodError: No such DSL method 'lock' found



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

Mime
View raw message