Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[servlet-dev] Build failed in Jenkins: servlet-api-continuous-build » openjdk-latest #237

See <https://ci.eclipse.org/servlet/job/servlet-api-continuous-build/jdk=openjdk-latest/237/display/redirect?page=changes>

Changes:

[Mark Thomas] Fix #864 - re-enable specialchars substitution


------------------------------------------
Started by upstream project "servlet-api-continuous-build" build number 237
originally caused by:
 Started by an SCM change
Running as SYSTEM
Agent basic-gwwx9 is provisioned from template basic
---
apiVersion: "v1"
kind: "Pod"
metadata:
  annotations:
    kubernetes.jenkins.io/last-refresh: "1747642940886"
  labels:
    jenkins: "slave"
    jenkins/label-digest: "912d1574c252e51bb7b588e71dcf19b52d3ac765"
    jenkins/label: "basic_basic-ubuntu"
    kubernetes.jenkins.io/controller: "http___jenkins-ui_servlet_svc_cluster_local_servletx"
  name: "basic-gwwx9"
  namespace: "servlet"
spec:
  containers:
  - env:
    - name: "JENKINS_SECRET"
      value: "********"
    - name: "JENKINS_TUNNEL"
      value: "jenkins-discovery.servlet.svc.cluster.local:50000"
    - name: "JENKINS_AGENT_NAME"
      value: "basic-gwwx9"
    - name: "JENKINS_REMOTING_JAVA_OPTS"
      value: "-showversion -XshowSettings:vm -Xmx256m -Dorg.jenkinsci.remoting.engine.JnlpProtocol3.disabled=true\
        \ -Dorg.jenkinsci.plugins.gitclient.CliGitAPIImpl.useSETSID=true"
    - name: "JAVA_TOOL_OPTIONS"
      value: ""
    - name: "_JAVA_OPTIONS"
      value: ""
    - name: "REMOTING_OPTS"
      value: "-noReconnectAfter 1d"
    - name: "OPENJ9_JAVA_OPTIONS"
      value: "-XX:+IgnoreUnrecognizedVMOptions -XX:+IdleTuningCompactOnIdle -XX:+IdleTuningGcOnIdle"
    - name: "JENKINS_NAME"
      value: "basic-gwwx9"
    - name: "JENKINS_AGENT_WORKDIR"
      value: "/home/jenkins/agent"
    - name: "JENKINS_URL"
      value: "http://jenkins-ui.servlet.svc.cluster.local/servlet/";
    image: "docker.io/eclipsecbi/jiro-agent-basic-ubuntu:remoting-3283.v92c105e0f819"
    imagePullPolicy: "Always"
    name: "jnlp"
    resources:
      limits:
        cpu: "2000m"
        memory: "4096Mi"
      requests:
        cpu: "1000m"
        memory: "4096Mi"
    tty: true
    volumeMounts:
    - mountPath: "/home/jenkins/.m2/toolchains.xml"
      name: "m2-dir"
      readOnly: true
      subPath: "toolchains.xml"
    - mountPath: "/home/jenkins/.mavenrc"
      name: "m2-dir"
      readOnly: true
      subPath: ".mavenrc"
    - mountPath: "/opt/tools"
      name: "volume-0"
      readOnly: false
    - mountPath: "/home/jenkins"
      name: "volume-2"
      readOnly: false
    - mountPath: "/home/jenkins/.m2/repository"
      name: "volume-3"
      readOnly: false
    - mountPath: "/home/jenkins/.m2/settings-security.xml"
      name: "m2-secret-dir"
      readOnly: true
      subPath: "settings-security.xml"
    - mountPath: "/home/jenkins/.m2/wrapper"
      name: "volume-4"
      readOnly: false
    - mountPath: "/home/jenkins/.m2/settings.xml"
      name: "m2-secret-dir"
      readOnly: true
      subPath: "settings.xml"
    - mountPath: "/home/jenkins/.ssh"
      name: "volume-1"
      readOnly: false
      subPath: ""
    - mountPath: "/home/jenkins/agent"
      name: "workspace-volume"
      readOnly: false
  nodeSelector:
    kubernetes.io/os: "linux"
  restartPolicy: "Never"
  volumes:
  - name: "volume-0"
    persistentVolumeClaim:
      claimName: "tools-claim-jiro-servlet"
      readOnly: true
  - name: "m2-secret-dir"
    secret:
      secretName: "m2-secret-dir"
  - emptyDir:
      medium: ""
    name: "volume-2"
  - configMap:
      name: "m2-dir"
    name: "m2-dir"
  - configMap:
      name: "known-hosts"
    name: "volume-1"
  - emptyDir:
      medium: ""
    name: "workspace-volume"
  - emptyDir:
      medium: ""
    name: "volume-4"
  - emptyDir:
      medium: ""
    name: "volume-3"

Building remotely on basic-gwwx9 (basic basic-ubuntu) in workspace <https://ci.eclipse.org/servlet/job/servlet-api-continuous-build/jdk=openjdk-latest/ws/>
The recommended git tool is: NONE
using credential github-bot
Cloning the remote Git repository
Cloning repository https://github.com/jakartaee/servlet
 > git init <https://ci.eclipse.org/servlet/job/servlet-api-continuous-build/jdk=openjdk-latest/ws/> # timeout=10
Fetching upstream changes from https://github.com/jakartaee/servlet
 > git --version # timeout=10
 > git --version # 'git version 2.49.0'
using GIT_ASKPASS to set credentials GitHub bot (username/token)
 > git fetch --tags --force --progress -- https://github.com/jakartaee/servlet +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://github.com/jakartaee/servlet # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
Avoid second fetch
Checking out Revision ff77349eade916ce17d0507180b23bfa71a23728 (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f ff77349eade916ce17d0507180b23bfa71a23728 # timeout=10
Commit message: "Fix #864 - re-enable specialchars substitution"
 > git rev-list --no-walk 75354a597da68bae69b9156aef8539d922a18a9a # timeout=10
[openjdk-latest] $ /opt/tools/apache-maven/latest/bin/mvn clean install --batch-mode -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -Pstaging
[INFO] Loading cache configuration from <https://ci.eclipse.org/servlet/job/servlet-api-continuous-build/jdk=openjdk-latest/ws/.mvn/maven-build-cache-config.xml>
[INFO] Using XXMM hash algorithm for cache
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] Jakarta Servlet                                                    [jar]
[INFO] Jakarta Servlet Parent                                             [pom]
[INFO] Jakarta Servlet Specification                                      [pom]
[INFO] Jakarta Servlet TCK                                                [pom]
[INFO] Jakarta Servlet TCK utilities                                      [jar]
[INFO] Jakarta Servlet TCK Runtime                                        [jar]
[INFO] Jakarta Servlet TCK distribution                                   [jar]
[INFO] 
[INFO] ----------------< jakarta.servlet:jakarta.servlet-api >-----------------
[INFO] Building Jakarta Servlet 6.2.0-SNAPSHOT                            [1/7]
[INFO]   from api/pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- clean:3.2.0:clean (default-clean) @ jakarta.servlet-api ---
[INFO] Going to calculate checksum for project [groupId=jakarta.servlet, artifactId=jakarta.servlet-api, version=6.2.0-SNAPSHOT]
[INFO] Scanning plugins configurations to find input files. Probing is enabled, values will be checked for presence in file system
[INFO] Found 108 input files. Project dir processing: 8, plugins: 6 millis
[INFO] Project inputs calculated in 28 ms. XXMM checksum [1755d735f5a3c20c] calculated in 108 ms.
[INFO] Attempting to restore project jakarta.servlet:jakarta.servlet-api from build cache
[ERROR] Cannot read local build
java.nio.file.AccessDeniedException: /home/jenkins/.m2/build-cache
    at sun.nio.fs.UnixException.translateToIOException (UnixException.java:90)
    at sun.nio.fs.UnixException.rethrowAsIOException (UnixException.java:106)
    at sun.nio.fs.UnixException.rethrowAsIOException (UnixException.java:111)
    at sun.nio.fs.UnixFileSystemProvider.createDirectory (UnixFileSystemProvider.java:438)
    at java.nio.file.Files.createDirectory (Files.java:699)
    at java.nio.file.Files.createAndCheckIsDirectory (Files.java:807)
    at java.nio.file.Files.createDirectories (Files.java:793)
    at org.apache.maven.buildcache.LocalCacheRepositoryImpl.artifactCacheDir (LocalCacheRepositoryImpl.java:373)
    at org.apache.maven.buildcache.LocalCacheRepositoryImpl.buildCacheDir (LocalCacheRepositoryImpl.java:366)
    at org.apache.maven.buildcache.LocalCacheRepositoryImpl.localBuildDir (LocalCacheRepositoryImpl.java:405)
    at org.apache.maven.buildcache.LocalCacheRepositoryImpl.localBuildPath (LocalCacheRepositoryImpl.java:393)
    at org.apache.maven.buildcache.LocalCacheRepositoryImpl.findLocalBuild (LocalCacheRepositoryImpl.java:106)
    at org.apache.maven.buildcache.CacheControllerImpl.findLocalBuild (CacheControllerImpl.java:231)
    at org.apache.maven.buildcache.CacheControllerImpl.findCachedBuild (CacheControllerImpl.java:198)
    at org.apache.maven.buildcache.BuildCacheMojosExecutionStrategy.execute (BuildCacheMojosExecutionStrategy.java:128)
    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.DirectMethodHandleAccessor.invoke (DirectMethodHandleAccessor.java:103)
    at java.lang.reflect.Method.invoke (Method.java:580)
    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)
[INFO] Local build was not found by checksum 1755d735f5a3c20c for jakarta.servlet:jakarta.servlet-api
[INFO] 
[INFO] --- enforcer:3.4.1:enforce (enforce-maven) @ jakarta.servlet-api ---
[INFO] Rule 0: org.apache.maven.enforcer.rules.version.RequireMavenVersion passed
[INFO] 
[INFO] --- formatter:2.26.0:format (default) @ jakarta.servlet-api ---
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Jakarta Servlet 6.2.0-SNAPSHOT ..................... FAILURE [ 59.346 s]
[INFO] Jakarta Servlet Parent 6.2.0-SNAPSHOT .............. SKIPPED
[INFO] Jakarta Servlet Specification 6.2-SNAPSHOT ......... SKIPPED
[INFO] Jakarta Servlet TCK 6.2.0-SNAPSHOT ................. SKIPPED
[INFO] Jakarta Servlet TCK utilities 6.2.0-SNAPSHOT ....... SKIPPED
[INFO] Jakarta Servlet TCK Runtime 6.2.0-SNAPSHOT ......... SKIPPED
[INFO] Jakarta Servlet TCK distribution 6.2.0-SNAPSHOT .... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  59.899 s
[INFO] Finished at: 2025-05-19T08:23:36Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal net.revelc.code.formatter:formatter-maven-plugin:2.26.0:format (default) on project jakarta.servlet-api: Execution default of goal net.revelc.code.formatter:formatter-maven-plugin:2.26.0:format failed: Plugin net.revelc.code.formatter:formatter-maven-plugin:2.26.0 or one of its dependencies could not be resolved:
[ERROR] 	Could not find artifact org.eclipse.platform:org.eclipse.equinox.preferences:jar:3.11.200 in sonatype-nexus-staging (https://jakarta.oss.sonatype.org/content/repositories/staging/)
[ERROR] 	Could not transfer artifact org.eclipse.platform:org.eclipse.equinox.preferences:jar:3.11.200 from/to eclipse.maven.central.mirror (https://repo.eclipse.org/content/repositories/maven_central/): status code: 403, reason phrase: Forbidden (403)
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
Build step 'Invoke top-level Maven targets' marked build as failure
[analysis] Skipping execution of recorder since overall result is 'FAILURE'


Back to the top