Jenkins build hangs and logs grow up to 27GB

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Jenkins build hangs and logs grow up to 27GB

Tibor Digana
Hello Stephen,

I disabled the Jenkins agent using your hint [1].
I used zip() and archived build reports and logs of all ITs.
I used lock() on short running failsafe ITs.

Now the build is successful.

After this another bad thing happened.
The logs size was 27GB several hours ago. Now Jenkins does not show you the
logs at all.

Long time ago when I used withEnv() I did not have these problem.
I would like to check it out with that and compare the results.

Can you have a look in the build [2]? Maybe you would find a root cause. I
am trying in the branch SUREFIRE-1489.

[1]: <JENKINS_MAVEN_AGENT_DISABLED>true</JENKINS_MAVEN_AGENT_DISABLED>
[2]:
https://builds.apache.org/job/maven-wip/job/maven-surefire/job/SUREFIRE-1489/8/

Thx
Tibor
Reply | Threaded
Open this post in threaded view
|

Re: Jenkins build hangs and logs grow up to 27GB

Tibor Digana
I guess there would be many lines with InterruptedException, but unless we
download log file we would not be sure.
How to download it other way than through the HTTP link /console ?

On Sat, Feb 24, 2018 at 10:48 AM, Tibor Digana <[hidden email]>
wrote:

> Hello Stephen,
>
> I disabled the Jenkins agent using your hint [1].
> I used zip() and archived build reports and logs of all ITs.
> I used lock() on short running failsafe ITs.
>
> Now the build is successful.
>
> After this another bad thing happened.
> The logs size was 27GB several hours ago. Now Jenkins does not show you
> the logs at all.
>
> Long time ago when I used withEnv() I did not have these problem.
> I would like to check it out with that and compare the results.
>
> Can you have a look in the build [2]? Maybe you would find a root cause. I
> am trying in the branch SUREFIRE-1489.
>
> [1]: <JENKINS_MAVEN_AGENT_DISABLED>true</JENKINS_MAVEN_AGENT_DISABLED>
> [2]: https://builds.apache.org/job/maven-wip/job/maven-surefire/
> job/SUREFIRE-1489/8/
>
> Thx
> Tibor
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Jenkins build hangs and logs grow up to 27GB

stephenconnolly
/consoleFull should stream the raw console

On Sat 24 Feb 2018 at 10:28, Tibor Digana <[hidden email]> wrote:

> I guess there would be many lines with InterruptedException, but unless we
> download log file we would not be sure.
> How to download it other way than through the HTTP link /console ?
>
> On Sat, Feb 24, 2018 at 10:48 AM, Tibor Digana <[hidden email]>
> wrote:
>
> > Hello Stephen,
> >
> > I disabled the Jenkins agent using your hint [1].
> > I used zip() and archived build reports and logs of all ITs.
> > I used lock() on short running failsafe ITs.
> >
> > Now the build is successful.
> >
> > After this another bad thing happened.
> > The logs size was 27GB several hours ago. Now Jenkins does not show you
> > the logs at all.
> >
> > Long time ago when I used withEnv() I did not have these problem.
> > I would like to check it out with that and compare the results.
> >
> > Can you have a look in the build [2]? Maybe you would find a root cause.
> I
> > am trying in the branch SUREFIRE-1489.
> >
> > [1]: <JENKINS_MAVEN_AGENT_DISABLED>true</JENKINS_MAVEN_AGENT_DISABLED>
> > [2]: https://builds.apache.org/job/maven-wip/job/maven-surefire/
> > job/SUREFIRE-1489/8/
> >
> > Thx
> > Tibor
> >
> >
>
--
Sent from my phone