Build failed in Jenkins: java-idp-msi #178

Shibboleth Jenkins noreply at shibboleth.net
Sun Apr 14 12:33:15 UTC 2024


See <http://127.0.0.1:1583/jenkins/job/java-idp-msi/178/display/redirect>

Changes:


------------------------------------------
Started by upstream project "java-identity-provider-v5-nightly" build number 740
originally caused by:
 Started by user Rod Widdowson
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on EC2 (ec2-I2) - WindowsServer2022 (i-0fb5e07f752108556) (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 936fb83375626431b691729c511f4d4d5eaa4312 (refs/remotes/origin/main)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 936fb83375626431b691729c511f4d4d5eaa4312 # timeout=10
Commit message: "IDP-2258 Windows v5 msi installer prematurely ends, fails install when AD options chosen"
 > git rev-list --no-walk 936fb83375626431b691729c511f4d4d5eaa4312 # timeout=10
[java-idp-msi] $ cmd.exe /C "\opt\maven_home\bin\mvn.cmd -f idp-msi/pom.xml -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.10, 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.1.2-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 4/14/2024 12:32:29 PM.
     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.93
[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.1.2-SNAPSHOT:zip
[INFO] idp-distribution-5.1.2-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:21.80
[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: can't connect to the gpg-agent: End of file
gpg: error: GnuPG agent unusable. Please check that a GnuPG agent can be started.
gpg: migration aborted
gpg: no default secret key: No secret key
gpg: signing failed: No secret key
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  50.488 s
[INFO] Finished at: 2024-04-14T12:33:15Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-gpg-plugin:3.2.3:sign-and-deploy-file (sign-and-push-msi) on project idp-msi: Exit code: 2 -> [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