If using the maven type job, try using a freestyle one and see if you got a
different result.

Apart from that, it would be really helpful if you could generate many
stacktraces in a dedicated jira, take them during those apparently idle
times to see what it's doing.

Cheers
Le 27 mars 2014 17:08, "Kai" <[email protected]> a écrit :

> Hi, just wanted to check-in if anyone has insights into this or if anyone
> else is experiencing similar issues with mvn build jobs running on jenkins
> slaves?
>
> Thanks.
>
> On Saturday, March 22, 2014 11:38:35 AM UTC-7, Kai wrote:
>>
>> Sorry for the late reply. Actually, it runs pretty quick when I run my
>> maven command manually on the slave - takes about ~8 mins.
>>
>> However, when I run through Jenkins, it takes between ~18-19mins for the
>> job to complete.
>> Here are a few snippets from the console logs. Most of the areas where it
>> tends to be slow is when it says "deleting .../target" directory, then says
>> "archiving disabled" and stays there for like 2 mins usually, then moves
>> on. And it does this for each maven module that's part of the project, so
>> it adds up.
>> Also, takes some time, after "archiving steps", then says "archiving
>> disabled", usually like up to 2 min delay before moving on.
>>
>> *Snippets from Console Log*
>>
>>
>> *19:56:10 [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @
>> test-project-parent ---19:56:10 [INFO] Deleting
>> /var/lib/jenkins/workspace/test-project/target19:56:13 [JENKINS] Archiving
>> disabled19:58:33 [INFO]20:03:32 [JENKINS] Archiving site from
>> /var/lib/jenkins/workspace/test-project-main/test-project/target/site to
>> /var/lib/jenkins/jobs/test-project-main/site/test-project20:03:32 [JENKINS]
>> Archiving disabled20:05:51 [INFO]   *
>>
>>
>>
>>
>>
>> On Tuesday, March 18, 2014 11:15:49 PM UTC-7, Baptiste Mathus wrote:
>>>
>>> Outside Jenkins, I mean.
>>> Le 19 mars 2014 07:15, "Baptiste Mathus" <[email protected]> a écrit :
>>>
>>>> Is it also slow if you run the maven build manually on that slave?
>>>> Le 16 mars 2014 22:57, "Kai" <[email protected]> a écrit :
>>>>
>>>>> Hi,
>>>>>
>>>>> We are currently on Jenkins 1.551 and are experiencing significant
>>>>> maven build slowness on our jenkins slaves.
>>>>>
>>>>> It seems deleting the target directory takes forever.
>>>>> Also, during the site phase, a step: "Archiving site from ..." comes
>>>>> and takes a while (even though archiving is disabled), then it says
>>>>> "archiving disabled" and moves on.
>>>>>
>>>>> However, when the build runs on the master, I don't experience this
>>>>> slowness and deleting the target directory is really quick.
>>>>>
>>>>> Has anyone else experienced this issue or know what could be causing
>>>>> the slowness when building on Jenkin slaves?
>>>>>
>>>>> Thank you so much!
>>>>>
>>>>> --
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "Jenkins Users" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>>> an email to [email protected].
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>>   --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to