Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Strange behavior jenkins Vs local

We found a workaround
The waiting threads were "download" threads that could not get dependencies (air gap environment) and blocked the main process

It worked in the docker because we ran it in a second time and dependencies were downloaded and stored in the cache

Using usedefaultp2mirrors (https://wiki.eclipse.org/Tycho/FAQ#How_do_I_disable_P2_mirrors.3F) to false fixed the issue but we have to found a better solution

Maybe we missed it but he could be nice to have time out options or debug options to see dependencies that are downloading.

Regards

Le ven. 24 juil. 2020 à 11:23, Tristan FAURE <faure.tristan@xxxxxxxxx> a écrit :
Hi Mickael,

Thanks for your answer,
We have thought about that but generally when it occurs, the jvm or the docker crashes.
We made our dumps thanks to a connection to a blocked pod and we were able to run the build inside the blocked Pod, so basically in one container, we had one blocked build (subject of the topic) and one build that passed (Oo), so we imagine the resources were ok

Regards
Tristan FAURE

Le jeu. 23 juil. 2020 à 15:41, Mickael Istria <mistria@xxxxxxxxxx> a écrit :
Hi Tristan,

Could it be that you reached some limitations (cpu, ram, disk
space...) of you containers/pod?

Hth

On 7/23/20, Tristan FAURE <faure.tristan@xxxxxxxxx> wrote:
> hello all
> I spent a lot of time trying to see why I have this problem, and I'm
> writing here to see if you could help me to investigate more :
>
> I have a Eclipse 4 RCP build which work perfectly on my local machine
> I use Tycho 1.6.0 (but I tried also on 1.7.0)
> I use Jenkins with kubernetes plugin. My build run on a java centos image
> (jdk8)
> Using Jenkins the process is blocked at
>
> [INFO] --- tycho-p2-repository-plugin:1.7.0:assemble-repository
> (default-assemble-repository) @
>
> If I analyze my JVM I see that my thread is waiting (see stack trace below)
>
> Do you know what is happening during this phase ? and why this step could
> be blocked in one environment and not in the another ?
>
> My best regards !
> Tristan FAURE
>
> "main" #1 prio=5 os_prio=0 tid=0x00007faee004c000 nid=0x22
> sleeping[0x00007faee746e000]
>    java.lang.Thread.State: TIMED_WAITING (sleeping)
>         at java.lang.Thread.sleep(Native Method)
>         at
> org.eclipse.core.internal.jobs.JobManager.join(JobManager.java:1007)
>         at
> org.eclipse.equinox.internal.p2.engine.SimpleProfileRegistry.stop(SimpleProfileRegistry.java:962)
>         at
> org.eclipse.equinox.internal.p2.core.ProvisioningAgent.stop(ProvisioningAgent.java:138)
>         at
> org.eclipse.tycho.p2.tools.mirroring.MirrorApplicationServiceImpl.mirrorReactor(MirrorApplicationServiceImpl.java:171)
>         at
> org.eclipse.tycho.plugins.p2.repository.AssembleRepositoryMojo.execute(AssembleRepositoryMojo.java:169)
>         - locked <0x0000000680c78e08> (a java.lang.Object)
>         at
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
>         at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:210)
>         at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:156)
>         at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
>         at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
>         at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
>         at
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56)
>         at
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
>


--
Mickael Istria
Eclipse IDE <https://www.eclipse.org/downloads/eclipse-packages/>
developer, for Red Hat Developers <https://developers.redhat.com/>

_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/tycho-user

Back to the top