Build failed in Jenkins: java-idp-msi #290
Shibboleth Jenkins
noreply at shibboleth.net
Thu Aug 1 10:40:45 UTC 2024
See <http://127.0.0.1:1583/jenkins/job/java-idp-msi/290/display/redirect>
Changes:
------------------------------------------
Started by user Rod Widdowson
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on EC2 (ec2-I2) - WindowsServer2022 (i-0de96c13b5e5f0716) (Windows2022) in workspace <http://127.0.0.1:1583/jenkins/job/java-idp-msi/ws/>
The recommended git tool is: NONE
No credentials specified
> git rev-parse --resolve-git-dir <http://127.0.0.1:1583/jenkins/job/java-idp-msi/ws/.git> # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url https://git.shibboleth.net/git/java-identity-provider # timeout=10
Fetching upstream changes from https://git.shibboleth.net/git/java-identity-provider
> git --version # timeout=10
> git --version # 'git version 2.44.0.windows.1'
> git fetch --tags --force --progress -- https://git.shibboleth.net/git/java-identity-provider +refs/heads/*:refs/remotes/origin/* # timeout=10
> git rev-parse "refs/remotes/origin/main^{commit}" # timeout=10
Checking out Revision adb7195cb35b336184a0a462567c14ccd2e2edb8 (refs/remotes/origin/main)
> git config core.sparsecheckout # timeout=10
> git checkout -f adb7195cb35b336184a0a462567c14ccd2e2edb8 # timeout=10
Commit message: "IDP-2307 MSI build should do a check-m2"
> git rev-list --no-walk adb7195cb35b336184a0a462567c14ccd2e2edb8 # timeout=10
[java-idp-msi] $ cmd.exe /C "\opt\maven_home\bin\mvn.cmd -f idp-msi/pom.xml -Dno-check-m2= -Dsupress.validation=true -Dmaven.repo.local=<http://127.0.0.1:1583/jenkins/job/java-idp-msi/ws/.repository> -V -B clean -P sign-and-push-snapshot install -Dshibboleth.snapshot-repo.password=**** && exit %%ERRORLEVEL%%"
Apache Maven 3.9.5 (57804ffe001d7215b5e7bcb531cf83df38f93546)
Maven home: c:\opt\maven_home
Java version: 17.0.11, vendor: Amazon.com Inc., runtime: c:\opt\jdk\amazon-17
Default locale: en_US, platform encoding: Cp1252
OS name: "windows server 2022", version: "10.0", arch: "amd64", family: "windows"
[INFO] Scanning for projects...
[INFO]
[INFO] ---------------------< net.shibboleth.idp:idp-msi >---------------------
[INFO] Building Shibboleth IdP :: Msi 5.2.0-SNAPSHOT
[INFO] from pom.xml
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- clean:3.1.0:clean (default-clean) @ idp-msi ---
[INFO]
[INFO] --- exec:3.1.0:exec (clean) @ idp-msi ---
MSBuild version 17.7.3+4fca21998 for .NET
Build started 8/1/2024 10:40:08 AM.
1>Project "<http://127.0.0.1:1583/jenkins/job/java-idp-msi/ws/idp-msi\src\main\wix\idp.vcxproj"> on node 1 (Clean target(s)).
1>CoreClean:
Deleting file "<http://127.0.0.1:1583/jenkins/job/java-idp-msi/ws/idp-msi\src\main\wix\bin\Debug\idp.msi".>
Deleting file "<http://127.0.0.1:1583/jenkins/job/java-idp-msi/ws/idp-msi\src\main\wix\bin\Debug\idp.wixpdb".>
Deleting file "<http://127.0.0.1:1583/jenkins/job/java-idp-msi/ws/idp-msi\src\main\wix\obj\Debug\idp.vcxproj.CoreCompileInputs.cache".>
Deleting file "<http://127.0.0.1:1583/jenkins/job/java-idp-msi/ws/idp-msi\src\main\wix\obj\Debug\_IdPGroup_dir.wxs".>
Deleting file "<http://127.0.0.1:1583/jenkins/job/java-idp-msi/ws/idp-msi\src\main\wix\obj\Debug\idp.msi".>
Deleting file "<http://127.0.0.1:1583/jenkins/job/java-idp-msi/ws/idp-msi\src\main\wix\obj\Debug\idp.wixpdb".>
Deleting file "<http://127.0.0.1:1583/jenkins/job/java-idp-msi/ws/idp-msi\src\main\wix\obj\Debug\idp.vcxproj.BindTracking-neutral.txt".>
1>Done Building Project "<http://127.0.0.1:1583/jenkins/job/java-idp-msi/ws/idp-msi\src\main\wix\idp.vcxproj"> (Clean target(s)).
Build succeeded.
0 Warning(s)
0 Error(s)
Time Elapsed 00:00:00.54
[INFO]
[INFO] --- enforcer:3.0.0-M3:enforce (maven-version) @ idp-msi ---
[INFO]
[INFO] --- enforcer:3.0.0-M3:enforce (banned-dependencies) @ idp-msi ---
[INFO]
[INFO] --- dependency:3.3.0:unpack (unpack-dist) @ idp-msi ---
[INFO] Configured Artifact: net.shibboleth.idp:idp-distribution:5.2.0-SNAPSHOT:zip
[INFO] idp-distribution-5.2.0-SNAPSHOT.zip already unpacked.
[INFO]
[INFO] --- exec:3.1.0:exec (compile) @ idp-msi ---
MSBuild version 17.7.3+4fca21998 for .NET
Determining projects to restore...
All projects are up-to-date for restore.
idp -> <http://127.0.0.1:1583/jenkins/job/java-idp-msi/ws/idp-msi\src\main\wix\bin\Debug\idp.msi>
Build succeeded.
0 Warning(s)
0 Error(s)
Time Elapsed 00:00:14.93
[INFO]
[INFO] --- jar:3.2.2:test-jar (default) @ idp-msi ---
[INFO] Skipping packaging of the test-jar
[INFO]
[INFO] --- antrun:3.1.0:run (move-msi-to-target) @ idp-msi ---
[INFO] Executing tasks
[INFO] [copy] Copying 1 file to <http://127.0.0.1:1583/jenkins/job/java-idp-msi/ws/idp-msi\target>
[INFO] Executed tasks
[INFO]
[INFO] --- antrun:3.1.0:run (create-gnupg-homedir-and-import-secret-key-from-env) @ idp-msi ---
[INFO] Executing tasks
[INFO] [mkdir] Created dir: <http://127.0.0.1:1583/jenkins/job/java-idp-msi/ws/idp-msi\gnupg>
[INFO] [copy] Copying 1 file to <http://127.0.0.1:1583/jenkins/job/java-idp-msi/ws/idp-msi\gnupg>
[INFO] [copy] Copying **** to <http://127.0.0.1:1583/jenkins/job/java-idp-msi/ws/idp-msi\gnupg\secring.gpg>
[INFO] Executed tasks
[INFO]
[INFO] --- gpg:3.2.3:sign-and-deploy-file (sign-and-push-msi) @ idp-msi ---
[INFO] Signer 'gpg' is signing 1 file with key default
gpg: keybox 'c:\\opt\\jenkins\\workspace\\java-idp-msi\\idp-msi\\gnupg\\pubring.kbx' created
gpg: starting migration from earlier GnuPG versions
gpg: porting secret keys from 'c:\\opt\\jenkins\\workspace\\java-idp-msi\\idp-msi\\gnupg\\secring.gpg' to gpg-agent
gpg: c:\\opt\\jenkins\\workspace\\java-idp-msi\\idp-msi\\gnupg\\trustdb.gpg: trustdb created
gpg: key E07C0FEA698F7D71: secret key imported
gpg: migration succeeded
[INFO] Downloading from snapshot: https://build.shibboleth.net/nexus-proxy/content/repositories/snapshots/net/shibboleth/idp/idp-msi/5.2.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from snapshot: https://build.shibboleth.net/nexus-proxy/content/repositories/snapshots/net/shibboleth/idp/idp-msi/5.2.0-SNAPSHOT/maven-metadata.xml (1.0 kB at 3.1 kB/s)
[INFO] Uploading to snapshot: https://build.shibboleth.net/nexus-proxy/content/repositories/snapshots/net/shibboleth/idp/idp-msi/5.2.0-SNAPSHOT/idp-msi-5.2.0-20240801.104007-34-msi.msi
[INFO] Uploaded to snapshot: https://build.shibboleth.net/nexus-proxy/content/repositories/snapshots/net/shibboleth/idp/idp-msi/5.2.0-SNAPSHOT/idp-msi-5.2.0-20240801.104007-34-msi.msi (59 MB at 29 MB/s)
[INFO] Uploading to snapshot: https://build.shibboleth.net/nexus-proxy/content/repositories/snapshots/net/shibboleth/idp/idp-msi/5.2.0-SNAPSHOT/idp-msi-5.2.0-20240801.104007-34-msi.msi.asc
[INFO] Uploaded to snapshot: https://build.shibboleth.net/nexus-proxy/content/repositories/snapshots/net/shibboleth/idp/idp-msi/5.2.0-SNAPSHOT/idp-msi-5.2.0-20240801.104007-34-msi.msi.asc (849 B at 94 kB/s)
[INFO] Downloading from snapshot: https://build.shibboleth.net/nexus-proxy/content/repositories/snapshots/net/shibboleth/idp/idp-msi/maven-metadata.xml
[INFO] Downloaded from snapshot: https://build.shibboleth.net/nexus-proxy/content/repositories/snapshots/net/shibboleth/idp/idp-msi/maven-metadata.xml (385 B at 38 kB/s)
[INFO] Uploading to snapshot: https://build.shibboleth.net/nexus-proxy/content/repositories/snapshots/net/shibboleth/idp/idp-msi/5.2.0-SNAPSHOT/maven-metadata.xml
[INFO] Uploaded to snapshot: https://build.shibboleth.net/nexus-proxy/content/repositories/snapshots/net/shibboleth/idp/idp-msi/5.2.0-SNAPSHOT/maven-metadata.xml (1.0 kB at 43 kB/s)
[INFO] Uploading to snapshot: https://build.shibboleth.net/nexus-proxy/content/repositories/snapshots/net/shibboleth/idp/idp-msi/maven-metadata.xml
[INFO] Uploaded to snapshot: https://build.shibboleth.net/nexus-proxy/content/repositories/snapshots/net/shibboleth/idp/idp-msi/maven-metadata.xml (385 B at 18 kB/s)
[INFO]
[INFO] --- clean:3.1.0:clean (delete-gnupg-homedir) @ idp-msi ---
[INFO] Deleting <http://127.0.0.1:1583/jenkins/job/java-idp-msi/ws/idp-msi\gnupg> (includes = [], excludes = [])
[INFO]
[INFO] --- install:3.0.0-M1:install (default-install) @ idp-msi ---
[INFO] Installing <http://127.0.0.1:1583/jenkins/job/java-idp-msi/ws/idp-msi\pom.xml> to <http://127.0.0.1:1583/jenkins/job/java-idp-msi/ws/.repository\net\shibboleth\idp\idp-msi\5.2.0-SNAPSHOT\idp-msi-5.2.0-SNAPSHOT.pom>
[INFO]
[INFO] --- enforcer:3.0.0-M3:enforce (M2-enforce) @ idp-msi ---
[ERROR] Project parent contributes compile dependencies
[INFO] Inferred M2 Root at <http://127.0.0.1:1583/jenkins/job/java-idp-msi/ws/.repository>
[INFO] Signature for aopalliance-1.0 found in classpath store.
[INFO] Signature for asm-3.3.1 found in classpath store.
[INFO] Signature for classworlds-1.1-alpha-2 found in classpath store.
[INFO] Signature for jsr305-1.3.9 found in classpath store.
[INFO] Signature for google-collections-1.0 found in classpath store.
[WARNING] No keyring or asc file found for com.kohlschutter.junixsocket
[ERROR] Could not load keyring for com.kohlschutter.junixsocket
java.io.FileNotFoundException: Could not locate keyring
at net.shibboleth.mvn.enforcer.impl.GPGKeyRing.<init> (GPGKeyRing.java:117)
at net.shibboleth.mvn.enforcer.impl.BaseSigChecker.getKeyRing (BaseSigChecker.java:230)
at net.shibboleth.mvn.enforcer.impl.BaseSigChecker.checkSignature (BaseSigChecker.java:118)
at net.shibboleth.mvn.enforcer.impl.M2SigChecker$M2Visitor.visitFile (M2SigChecker.java:121)
at net.shibboleth.mvn.enforcer.impl.M2SigChecker$M2Visitor.visitFile (M2SigChecker.java:75)
at java.nio.file.Files.walkFileTree (Files.java:2811)
at java.nio.file.Files.walkFileTree (Files.java:2882)
at net.shibboleth.mvn.enforcer.impl.M2SigChecker.testSignatures (M2SigChecker.java:67)
at net.shibboleth.mvn.enforcer.impl.JarEnforcer.performM2Check (JarEnforcer.java:344)
at net.shibboleth.mvn.enforcer.impl.JarEnforcer.execute (JarEnforcer.java:231)
at org.apache.maven.plugins.enforcer.EnforceMojo.execute (EnforceMojo.java:205)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:126)
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:328)
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:283)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:226)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:407)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:348)
[ERROR] Artifact: junixsocket-common Version: 2.9.1 Group: com.kohlschutter.junixsocket No keyring
[ERROR] Artifact: junixsocket-native-common Version: 2.9.1 Group: com.kohlschutter.junixsocket No keyring
[INFO] Signature for commons-chain-1.1 found in classpath store.
[INFO] Signature for commons-digester-1.8 found in classpath store.
[INFO] Signature for dom4j-1.1 found in classpath store.
[INFO] Signature for jsr250-api-1.0 found in classpath store.
[INFO] Signature for javax.inject-1 found in classpath store.
[ERROR] maven-gpg-plugin 3.2.3 KeyId (0x2B172E3E156466E8) not found in keyring for org.apache.maven.plugins
[ERROR] maven-resolver-api 1.9.18 KeyId (0x2B172E3E156466E8) not found in keyring for org.apache.maven.resolver
[ERROR] maven-resolver-util 1.9.18 KeyId (0x2B172E3E156466E8) not found in keyring for org.apache.maven.resolver
[INFO] Signature for bsh-2.0b4 found in classpath store.
[INFO] Signature for plexus-container-default-1.0-alpha-9 found in classpath store.
[INFO] Signature for plexus-i18n-1.0-beta-10 found in classpath store.
[ERROR] plexus-sec-dispatcher 2.0 KeyId (0x8DC6F3D0ABDBD017) not found in keyring for org.codehaus.plexus
[INFO] Signature for oro-2.0.8 found in classpath store.
[ERROR] Signature check over ~m2 failed, check the file <http://127.0.0.1:1583/jenkins/job/java-idp-msi/ws/idp-msi\target\m2SignatureReport.txt>
[WARNING] Rule 0: net.shibboleth.mvn.enforcer.impl.JarEnforcer failed with message:
Signature check over ~m2 failed, check the file <http://127.0.0.1:1583/jenkins/job/java-idp-msi/ws/idp-msi\target\m2SignatureReport.txt>
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 38.650 s
[INFO] Finished at: 2024-08-01T10:40:45Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M3:enforce (M2-enforce) on project idp-msi: Some Enforcer rules have failed. Look above for specific messages explaining why the rule failed. -> [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
More information about the commits
mailing list