Use SubMonintor in FileBufferOperationAction #2575
+9
−14
Open
Jenkins - Eclipse Platform / Code Analysis
failed
Dec 4, 2024 in 51s
Build: error in 'junit' step
Build / Shell Script
Error in sh
step, with arguments mvn clean verify --batch-mode --fail-at-end -Dmaven.repo.local=/home/jenkins/agent/workspace/eclipse.platform.ui_PR-2575/.m2/repository -Pbree-libs -Papi-check -Pjavadoc -Dmaven.test.failure.ignore=true -Dcompare-version-with-baselines.skip=false -Dorg.slf4j.simpleLogger.showDateTime=true -Dorg.slf4j.simpleLogger.dateTimeFormat=HH:mm:ss.SSS -DtrimStackTrace=false
.
script returned exit code 1
Build log
+ mvn clean verify --batch-mode --fail-at-end -Dmaven.repo.local=/home/jenkins/agent/workspace/eclipse.platform.ui_PR-2575/.m2/repository -Pbree-libs -Papi-check -Pjavadoc -Dmaven.test.failure.ignore=true -Dcompare-version-with-baselines.skip=false -Dorg.slf4j.simpleLogger.showDateTime=true -Dorg.slf4j.simpleLogger.dateTimeFormat=HH:mm:ss.SSS -DtrimStackTrace=false
Apache Maven 3.9.9 (8e8579a9e76f7d015ee5ec7bfcdc97d260186937)
Maven home: /opt/tools/apache-maven/latest
Java version: 17.0.13, vendor: Eclipse Adoptium, runtime: /opt/tools/java/temurin/jdk-17/jdk-17.0.13+11
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "6.5.5-200.fc38.x86_64", arch: "amd64", family: "unix"
06:40:50.947 [INFO] Scanning for projects...
06:40:53.855 [INFO] Tycho Version: 4.0.10 (34d2d6b5223a28191d552396774c226b8f40d522)
06:40:53.856 [INFO] Tycho Mode: extension
06:40:53.856 [INFO] Tycho Builder: maven
06:40:53.858 [INFO] Build Threads: 1
06:40:58.605 [WARNING] The POM for org.eclipse.jdt:ecj:jar:3.40.100-SNAPSHOT is missing, no dependency information available
06:40:58.853 [ERROR] Internal error: java.lang.RuntimeException: org.apache.maven.plugin.PluginResolutionException: Plugin org.eclipse.tycho:tycho-compiler-plugin:4.0.10 or one of its dependencies could not be resolved:
06:40:58.853 [ERROR] Could not find artifact org.eclipse.jdt:ecj:jar:3.40.100-SNAPSHOT in eclipse-snapshots (https://repo.eclipse.org/content/repositories/eclipse-snapshots/)
06:40:58.853 [ERROR] -> [Help 1]
org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: org.apache.maven.plugin.PluginResolutionException: Plugin org.eclipse.tycho:tycho-compiler-plugin:4.0.10 or one of its dependencies could not be resolved:
Could not find artifact org.eclipse.jdt:ecj:jar:3.40.100-SNAPSHOT in eclipse-snapshots (https://repo.eclipse.org/content/repositories/eclipse-snapshots/)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:109)
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:569)
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)
Caused by: java.lang.RuntimeException: org.apache.maven.plugin.PluginResolutionException: Plugin org.eclipse.tycho:tycho-compiler-plugin:4.0.10 or one of its dependencies could not be resolved:
Could not find artifact org.eclipse.jdt:ecj:jar:3.40.100-SNAPSHOT in eclipse-snapshots (https://repo.eclipse.org/content/repositories/eclipse-snapshots/)
at org.eclipse.tycho.p2resolver.P2DependencyResolver.getDependencyMetadata (P2DependencyResolver.java:200)
at org.eclipse.tycho.p2resolver.P2DependencyResolver.setupProjects (P2DependencyResolver.java:162)
at org.eclipse.tycho.core.resolver.DefaultTychoResolver.setupProject (DefaultTychoResolver.java:80)
at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead (TychoMavenLifecycleParticipant.java:141)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:223)
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:569)
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)
Caused by: org.apache.maven.plugin.PluginResolutionException: Plugin org.eclipse.tycho:tycho-compiler-plugin:4.0.10 or one of its dependencies could not be resolved:
Could not find artifact org.eclipse.jdt:ecj:jar:3.40.100-SNAPSHOT in eclipse-snapshots (https://repo.eclipse.org/content/repositories/eclipse-snapshots/)
at org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolveInternal (DefaultPluginDependenciesResolver.java:234)
at org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolve (DefaultPluginDependenciesResolver.java:169)
at org.apache.maven.plugin.internal.DefaultMavenPluginManager.createPluginRealm (DefaultMavenPluginManager.java:377)
at org.apache.maven.plugin.internal.DefaultMavenPluginManager.lambda$setupPluginRealm$1 (DefaultMavenPluginManager.java:340)
at org.apache.maven.plugin.DefaultPluginRealmCache.lambda$get$0 (DefaultPluginRealmCache.java:156)
at java.util.concurrent.ConcurrentHashMap.computeIfAbsent (ConcurrentHashMap.java:1740)
at org.apache.maven.plugin.DefaultPluginRealmCache.get (DefaultPluginRealmCache.java:154)
at org.apache.maven.plugin.internal.DefaultMavenPluginManager.setupPluginRealm (DefaultMavenPluginManager.java:339)
at org.apache.maven.plugin.DefaultBuildPluginManager.getPluginRealm (DefaultBuildPluginManager.java:205)
at org.eclipse.tycho.helper.PluginRealmHelper.execute (PluginRealmHelper.java:149)
at org.eclipse.tycho.helper.PluginRealmHelper.visitPluginExtensions (PluginRealmHelper.java:106)
at org.eclipse.tycho.p2resolver.P2DependencyResolver.getDependencyMetadata (P2DependencyResolver.java:192)
at org.eclipse.tycho.p2resolver.P2DependencyResolver.setupProjects (P2DependencyResolver.java:162)
at org.eclipse.tycho.core.resolver.DefaultTychoResolver.setupProject (DefaultTychoResolver.java:80)
at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead (TychoMavenLifecycleParticipant.java:141)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:223)
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:569)
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)
06:40:58.855 [ERROR]
06:40:58.857 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
06:40:58.857 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
06:40:58.857 [ERROR]
06:40:58.857 [ERROR] For more information about the errors and possible solutions, please read the following articles:
06:40:58.857 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/InternalErrorException
Build / Archive JUnit-formatted test results
Error in junit
step, with arguments **/target/surefire-reports/TEST-*.xml
.
No test report files were found. Configuration error?
Build log
Recording test results
No test report files were found. Configuration error?
Details
- Declarative: Checkout SCM (33 sec)
- Declarative: Tool Install (1.1 sec)
- Build (16 sec)
Error: script returned exit code 1
Error: No test report files were found. Configuration error?
- Build (16 sec)
- Declarative: Tool Install (1.1 sec)
Loading