Aurélien Pupier created CAMEL-21370:
---------------------------------------

             Summary: Regular build failure on Jenkins CI with in epilog non 
whitespace content is not allowed but got a (position: END_TAG seen 
...</metadata>\na
                 Key: CAMEL-21370
                 URL: https://issues.apache.org/jira/browse/CAMEL-21370
             Project: Camel
          Issue Type: Task
          Components: build system
    Affects Versions: 3.8.0
            Reporter: Aurélien Pupier


it regularly fails build on CI (failed 2 out the last 5 builds). it seems 
somethign which happens regularly since several years 
https://camel.zulipchat.com/#narrow/channel/364655-camel-core-dev/topic/Build.20failure.20Could.20not.20parse.20metadata.20on.20Jenkins.20CI/near/477219535

It sounds an issue with the infrastructure.

Are there ways to access the mentioned files on Jenkins to check their content? 
It might help on investigation to detect what is the root issue.

i suspect that one file was badly downloaded and contains completely unrelated 
content. This could help report back to correct infra problem.

{noformat}
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-install-plugin:3.1.2:install (default-install) 
on project camel-test-infra-common: Failed to install metadata 
org.apache.camel:camel-test-infra-common/maven-metadata.xml: Could not parse 
metadata 
/home/jenkins/.m2/repository/org/apache/camel/camel-test-infra-common/maven-metadata-local.xml:
 in epilog non whitespace content is not allowed but got a (position: END_TAG 
seen ...</metadata>\na... @24:2) -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal 
org.apache.maven.plugins:maven-install-plugin:3.1.2:install (default-install) 
on project camel-test-infra-common: Failed to install metadata 
org.apache.camel:camel-test-infra-common/maven-metadata.xml: Could not parse 
metadata 
/home/jenkins/.m2/repository/org/apache/camel/camel-test-infra-common/maven-metadata-local.xml:
 in epilog non whitespace content is not allowed but got a (position: END_TAG 
seen ...</metadata>\na... @24:2) 
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 
(MojoExecutor.java:333)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute 
(MojoExecutor.java:316)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:212)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:174)
    at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 
(MojoExecutor.java:75)
    at org.apache.maven.lifecycle.internal.MojoExecutor$1.run 
(MojoExecutor.java:162)
    at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute 
(DefaultMojosExecutionStrategy.java:39)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:159)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
(LifecycleModuleBuilder.java:105)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
(LifecycleModuleBuilder.java:73)
    at 
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
 (SingleThreadedBuilder.java:53)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute 
(LifecycleStarter.java:118)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:206)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke 
(NativeMethodAccessorImpl.java:77)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke 
(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:568)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced 
(Launcher.java:255)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch 
(Launcher.java:201)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode 
(Launcher.java:361)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main 
(Launcher.java:314)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke 
(NativeMethodAccessorImpl.java:77)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke 
(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:568)
    at org.apache.maven.wrapper.BootstrapMainStarter.start 
(BootstrapMainStarter.java:52)
    at org.apache.maven.wrapper.WrapperExecutor.execute 
(WrapperExecutor.java:161)
    at org.apache.maven.wrapper.MavenWrapperMain.main (MavenWrapperMain.java:73)
{noformat}





--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to