Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jsp-dev] Build failed in Jenkins: jsp-api-master » openjdk-latest #37

Thanks, I'll continue on with updating the draft PR and refreshing the apidocs/spec docs and making some of the minor changes that have been requested.

Regards,

Paul Nicolucci

On Wed, Oct 21, 2020 at 2:32 PM arjan tijms <arjan.tijms@xxxxxxxxx> wrote:
Hi,

I saw that, good! :)

On Wed, Oct 21, 2020 at 8:31 PM Joakim Erdfelt <joakim.erdfelt@xxxxxxxxx> wrote:

On Wed, Oct 21, 2020 at 1:24 PM arjan tijms <arjan.tijms@xxxxxxxxx> wrote:
Hi,

Yes, sounds reasonable. I had to update plugin versions before to overcome "weird" problems.

Kind regards.
Arjan

On Wed, Oct 21, 2020 at 8:07 PM Paul Nicolucci <pnicolucci@xxxxxxxxx> wrote:
I built locally with 5.1.1 and it looks fine as well.

I have a PR here if folks could review I can merge and we'll see if the build goes back to a normal state: https://github.com/eclipse-ee4j/jsp-api/pull/191

Thanks,

Paul Nicolucci

On Wed, Oct 21, 2020 at 1:27 PM Joakim Erdfelt <joakim.erdfelt@xxxxxxxxx> wrote:
Perhaps we should upgrade the felix maven-bundle-plugin?

It failed on ...

org.apache.felix:maven-bundle-plugin:4.2.1:manifest 

Version 5.1.1 is available ...


On Wed, Oct 21, 2020 at 11:59 AM Paul Nicolucci <pnicolucci@xxxxxxxxx> wrote:
Yea I saw that exception, do we need to get a clean build before moving forward with our draft PR for the ballot? Or can we just safely ignore this for now?

Thanks,

Paul Nicolucci

On Wed, Oct 21, 2020 at 10:08 AM arjan tijms <arjan.tijms@xxxxxxxxx> wrote:
Hi,

It seems to be a concurrent modification exception in a Maven plug-in, which is odd, but seemingly utterly unrelated to the changes you did. 

See:

[INFO] --- maven-bundle-plugin:4.2.1:manifest (bundle-manifest) @ jakarta.servlet.jsp-api ---
[ERROR] An internal error occurred
java.util.ConcurrentModificationException
    at java.util.TreeMap.callMappingFunctionWithCheck (TreeMap.java:742)
    at java.util.TreeMap.computeIfAbsent (TreeMap.java:596)
    at aQute.bnd.osgi.Jar.putResource (Jar.java:288)
    at aQute.bnd.osgi.Jar$1.visitFile (Jar.java:202)
    at aQute.bnd.osgi.Jar$1.visitFile (Jar.java:177)
    at java.nio.file.Files.walkFileTree (Files.java:2804)
    at aQute.bnd.osgi.Jar.buildFromDirectory (Jar.java:176)
    at aQute.bnd.osgi.Jar.<init> (Jar.java:119)
    at aQute.bnd.osgi.Jar.<init> (Jar.java:172)
    at org.apache.felix.bundleplugin.BundlePlugin.getOSGiBuilder (BundlePlugin.java:604)
    at org.apache.felix.bundleplugin.ManifestPlugin.getAnalyzer (ManifestPlugin.java:285)
    at org.apache.felix.bundleplugin.ManifestPlugin.execute (ManifestPlugin.java:111)
    at org.apache.felix.bundleplugin.BundlePlugin.execute (BundlePlugin.java:364)

Kind regards,
Arjan Tijms



On Wed, Oct 21, 2020 at 4:02 PM Paul Nicolucci <pnicolucci@xxxxxxxxx> wrote:
Hi,

I see the build failed but it doesn't really look related to the changes I made. Is this something to be concerned about? Can we have it run again somehow?

Thanks,

Paul Nicolucci

On Wed, Oct 21, 2020 at 9:06 AM <ci-admin@xxxxxxxxxxx> wrote:
See <https://ci.eclipse.org/jsp/job/jsp-api-master/jdk=openjdk-latest/37/display/redirect?page=changes>

Changes:

[pnicolucci] Add sentence to Preface for references of JSP in spec doc.


------------------------------------------
Started by upstream project "jsp-api-master" build number 37
originally caused by:
 Started by an SCM change
Running as SYSTEM
Agent basic-hvfs0 is provisioned from template basic
---
apiVersion: "v1"
kind: "Pod"
metadata:
  annotations: {}
  labels:
    jenkins: "slave"
    jenkins/label: ""
  name: "basic-hvfs0"
spec:
  containers:
  - env:
    - name: "JENKINS_SECRET"
      value: "********"
    - name: "JENKINS_TUNNEL"
      value: "jenkins-discovery.jsp.svc.cluster.local:50000"
    - name: "JENKINS_AGENT_NAME"
      value: "basic-hvfs0"
    - name: "JENKINS_REMOTING_JAVA_OPTS"
      value: "-showversion -XshowSettings:vm -Xmx256m -Dsun.zip.disableMemoryMapping=true\
        \ -Dorg.jenkinsci.remoting.engine.JnlpProtocol3.disabled=true -Dorg.jenkinsci.plugins.gitclient.CliGitAPIImpl.useSETSID=true"
    - name: "JAVA_TOOL_OPTIONS"
      value: ""
    - name: "_JAVA_OPTIONS"
      value: ""
    - name: "OPENJ9_JAVA_OPTIONS"
      value: "-XX:+IgnoreUnrecognizedVMOptions -XX:+IdleTuningCompactOnIdle -XX:+IdleTuningGcOnIdle"
    - name: "JENKINS_NAME"
      value: "basic-hvfs0"
    - name: "JENKINS_AGENT_WORKDIR"
      value: "/home/jenkins/agent"
    - name: "JENKINS_URL"
      value: "http://jenkins-ui.jsp.svc.cluster.local/jsp/"
    image: "docker.io/eclipsecbi/jiro-agent-basic:remoting-4.2.1"
    imagePullPolicy: "Always"
    name: "jnlp"
    resources:
      limits:
        memory: "4096Mi"
        cpu: "2000m"
      requests:
        memory: "4096Mi"
        cpu: "1000m"
    securityContext:
      privileged: false
    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
    - mountPath: "/home/jenkins/agent"
      name: "workspace-volume"
      readOnly: false
    workingDir: "/home/jenkins/agent"
  nodeSelector:
    beta.kubernetes.io/os: "linux"
  restartPolicy: "Never"
  securityContext: {}
  volumes:
  - name: "volume-0"
    persistentVolumeClaim:
      claimName: "tools-claim-jiro-jsp"
      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-hvfs0 in workspace <https://ci.eclipse.org/jsp/job/jsp-api-master/jdk=openjdk-latest/ws/>
using credential github-bot-ssh
Cloning the remote Git repository
Cloning repository https://github.com/eclipse-ee4j/jsp-api
 > git init <https://ci.eclipse.org/jsp/job/jsp-api-master/jdk=openjdk-latest/ws/> # timeout=10
Fetching upstream changes from https://github.com/eclipse-ee4j/jsp-api
 > git --version # timeout=10
using GIT_SSH to set credentials GitHub bot SSH
 > git fetch --tags --force --progress -- https://github.com/eclipse-ee4j/jsp-api +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://github.com/eclipse-ee4j/jsp-api # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://github.com/eclipse-ee4j/jsp-api # timeout=10
Fetching upstream changes from https://github.com/eclipse-ee4j/jsp-api
using GIT_SSH to set credentials GitHub bot SSH
 > git fetch --tags --force --progress -- https://github.com/eclipse-ee4j/jsp-api +refs/heads/*:refs/remotes/origin/* # timeout=10
Checking out Revision dcbb78d8846fe9089adfe4709cb96179a588a4c6 (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f dcbb78d8846fe9089adfe4709cb96179a588a4c6 # timeout=10
Commit message: "Merge pull request #189 from pnicolucci/AddJSPReferenceTextToSpec"
 > git rev-list --no-walk 085a68eca446c3d73adcb350f4ba9972401a8f8b # 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] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Jakarta Server Pages API                                           [jar]
[INFO] Jakarta Server Pages Specification                                 [pom]
[INFO] Jakarta Debugging Support for Other Languages Specification        [pom]
[INFO] Jakarta Server Pages implementation                                [jar]
[INFO] Jakarta Server Pages API                                           [pom]
[INFO]
[INFO] ------------< jakarta.servlet.jsp:jakarta.servlet.jsp-api >-------------
[INFO] Building Jakarta Server Pages API 3.0.0-SNAPSHOT                   [1/5]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ jakarta.servlet.jsp-api ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-maven) @ jakarta.servlet.jsp-api ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ jakarta.servlet.jsp-api ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] Copying 2 resources to META-INF
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ jakarta.servlet.jsp-api ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 46 source files to <https://ci.eclipse.org/jsp/job/jsp-api-master/jdk=openjdk-latest/ws/api/target/classes>
[INFO]
[INFO] --- maven-bundle-plugin:4.2.1:manifest (bundle-manifest) @ jakarta.servlet.jsp-api ---
[ERROR] An internal error occurred
java.util.ConcurrentModificationException
    at java.util.TreeMap.callMappingFunctionWithCheck (TreeMap.java:742)
    at java.util.TreeMap.computeIfAbsent (TreeMap.java:596)
    at aQute.bnd.osgi.Jar.putResource (Jar.java:288)
    at aQute.bnd.osgi.Jar$1.visitFile (Jar.java:202)
    at aQute.bnd.osgi.Jar$1.visitFile (Jar.java:177)
    at java.nio.file.Files.walkFileTree (Files.java:2804)
    at aQute.bnd.osgi.Jar.buildFromDirectory (Jar.java:176)
    at aQute.bnd.osgi.Jar.<init> (Jar.java:119)
    at aQute.bnd.osgi.Jar.<init> (Jar.java:172)
    at org.apache.felix.bundleplugin.BundlePlugin.getOSGiBuilder (BundlePlugin.java:604)
    at org.apache.felix.bundleplugin.ManifestPlugin.getAnalyzer (ManifestPlugin.java:285)
    at org.apache.felix.bundleplugin.ManifestPlugin.execute (ManifestPlugin.java:111)
    at org.apache.felix.bundleplugin.BundlePlugin.execute (BundlePlugin.java:364)
    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)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:64)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:564)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Jakarta Server Pages API 3.0.0-SNAPSHOT ............ FAILURE [01:03 min]
[INFO] Jakarta Server Pages Specification 3.0-SNAPSHOT .... SKIPPED
[INFO] Jakarta Debugging Support for Other Languages Specification 2.0-SNAPSHOT SKIPPED
[INFO] Jakarta Server Pages implementation 3.0.0-SNAPSHOT . SKIPPED
[INFO] Jakarta Server Pages API 3.0.0-SNAPSHOT ............ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  01:04 min
[INFO] Finished at: 2020-10-21T13:06:26Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.felix:maven-bundle-plugin:4.2.1:manifest (bundle-manifest) on project jakarta.servlet.jsp-api: Internal error in maven-bundle-plugin: ConcurrentModificationException -> [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/MojoExecutionException
Build step 'Invoke top-level Maven targets' marked build as failure
_______________________________________________
jsp-dev mailing list
jsp-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jsp-dev
_______________________________________________
jsp-dev mailing list
jsp-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jsp-dev
_______________________________________________
jsp-dev mailing list
jsp-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jsp-dev
_______________________________________________
jsp-dev mailing list
jsp-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jsp-dev
_______________________________________________
jsp-dev mailing list
jsp-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jsp-dev
_______________________________________________
jsp-dev mailing list
jsp-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jsp-dev
_______________________________________________
jsp-dev mailing list
jsp-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jsp-dev
_______________________________________________
jsp-dev mailing list
jsp-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jsp-dev
_______________________________________________
jsp-dev mailing list
jsp-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jsp-dev

Back to the top