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

Shibboleth Jenkins noreply at shibboleth.net
Thu May 9 01:25:39 UTC 2024


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

Changes:


------------------------------------------
Started by upstream project "java-identity-provider-v5-nightly" build number 769
originally caused by:
 Started by upstream project "java-shib-profile-v5-nightly" build number 477
 originally caused by:
  Started by upstream project "java-shib-attribute-v5-nightly" build number 712
  originally caused by:
   Started by upstream project "java-shib-metadata-v5-nightly" build number 703
   originally caused by:
    Started by upstream project "xmlsectool-v4-nightly" build number 492
    originally caused by:
     Started by upstream project "java-opensaml-v5-nightly" build number 752
     originally caused by:
      Started by upstream project "java-metadata-aggregator-0.10-nightly" build number 1511
      originally caused by:
       Started by upstream project "java-shib-shared-v9-nightly" build number 673
       originally caused by:
        Started by upstream project "java-parent-project-v17-nightly" build number 727
        originally caused by:
         Started by upstream project "trigger-nightly-v17" build number 723
         originally caused by:
          Started by timer
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on EC2 (ec2-I2) - WindowsServer2022 (i-0a794ea89d8f9e49a) (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 681fbcc864c7e31927071681aa2c9f8fcc350514 (refs/remotes/origin/main)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 681fbcc864c7e31927071681aa2c9f8fcc350514 # timeout=10
Commit message: "Add an "anybody" access policy."
 > git rev-list --no-walk 681fbcc864c7e31927071681aa2c9f8fcc350514 # 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] Downloading from shibboleth-thirdparty-snapshots: https://build.shibboleth.net/maven/thirdparty-snapshots/net/shibboleth/parent/17.1.3-SNAPSHOT/maven-metadata.xml
[INFO] Downloading from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/parent/17.1.3-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/parent/17.1.3-SNAPSHOT/maven-metadata.xml (780 B at 2.4 kB/s)
[INFO] Downloading from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/parent/17.1.3-SNAPSHOT/parent-17.1.3-20240509.010429-24.pom
[INFO] Downloaded from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/parent/17.1.3-SNAPSHOT/parent-17.1.3-20240509.010429-24.pom (51 kB at 1.4 MB/s)
[INFO] 
[INFO] ---------------------< net.shibboleth.idp:idp-msi >---------------------
[INFO] Building Shibboleth IdP :: Msi 5.1.3-SNAPSHOT
[INFO]   from pom.xml
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] Downloading from shibboleth-thirdparty-snapshots: https://build.shibboleth.net/maven/thirdparty-snapshots/net/shibboleth/shib-support/9.1.3-SNAPSHOT/maven-metadata.xml
[INFO] Downloading from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/shib-support/9.1.3-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/shib-support/9.1.3-SNAPSHOT/maven-metadata.xml (2.0 kB at 83 kB/s)
[INFO] Downloading from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/shib-support/9.1.3-SNAPSHOT/shib-support-9.1.3-20240509.010504-27.pom
[INFO] Downloaded from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/shib-support/9.1.3-SNAPSHOT/shib-support-9.1.3-20240509.010504-27.pom (1.9 kB at 89 kB/s)
[INFO] Downloading from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/shib-shared-parent/9.1.3-SNAPSHOT/maven-metadata.xml
[INFO] Downloading from shibboleth-thirdparty-snapshots: https://build.shibboleth.net/maven/thirdparty-snapshots/net/shibboleth/shib-shared-parent/9.1.3-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/shib-shared-parent/9.1.3-SNAPSHOT/maven-metadata.xml (1.0 kB at 48 kB/s)
[INFO] Downloading from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/shib-shared-parent/9.1.3-SNAPSHOT/shib-shared-parent-9.1.3-20240509.010504-27.pom
[INFO] Downloaded from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/shib-shared-parent/9.1.3-SNAPSHOT/shib-shared-parent-9.1.3-20240509.010504-27.pom (3.6 kB at 180 kB/s)
[INFO] Downloading from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/shib-support/9.1.3-SNAPSHOT/shib-support-9.1.3-20240509.010504-27.jar
[INFO] Downloaded from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/shib-support/9.1.3-SNAPSHOT/shib-support-9.1.3-20240509.010504-27.jar (198 kB at 5.5 MB/s)
[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 5/9/2024 1:24:54 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:01.13
[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.3-SNAPSHOT:zip
[INFO] Downloading from shibboleth-thirdparty-snapshots: https://build.shibboleth.net/maven/thirdparty-snapshots/net/shibboleth/idp/idp-distribution/5.1.3-SNAPSHOT/maven-metadata.xml
[INFO] Downloading from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/idp/idp-distribution/5.1.3-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/idp/idp-distribution/5.1.3-SNAPSHOT/maven-metadata.xml (1.5 kB at 27 kB/s)
[INFO] Downloading from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/idp/idp-distribution/5.1.3-SNAPSHOT/idp-distribution-5.1.3-20240509.012010-27.pom
[INFO] Downloaded from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/idp/idp-distribution/5.1.3-SNAPSHOT/idp-distribution-5.1.3-20240509.012010-27.pom (12 kB at 461 kB/s)
[INFO] Downloading from shibboleth-thirdparty-snapshots: https://build.shibboleth.net/maven/thirdparty-snapshots/net/shibboleth/idp/idp-parent/5.1.3-SNAPSHOT/maven-metadata.xml
[INFO] Downloading from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/idp/idp-parent/5.1.3-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/idp/idp-parent/5.1.3-SNAPSHOT/maven-metadata.xml (1.0 kB at 50 kB/s)
[INFO] Downloading from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/idp/idp-parent/5.1.3-SNAPSHOT/idp-parent-5.1.3-20240509.012010-27.pom
[INFO] Downloaded from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/idp/idp-parent/5.1.3-SNAPSHOT/idp-parent-5.1.3-20240509.012010-27.pom (20 kB at 921 kB/s)
[INFO] Downloading from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/idp/idp-distribution/5.1.3-SNAPSHOT/idp-distribution-5.1.3-20240509.012010-27.zip
[INFO] Downloaded from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/idp/idp-distribution/5.1.3-SNAPSHOT/idp-distribution-5.1.3-20240509.012010-27.zip (44 MB at 55 MB/s)
[INFO] Unpacking <http://127.0.0.1:1583/jenkins/job/java-idp-msi/ws/.repository\net\shibboleth\idp\idp-distribution\5.1.3-SNAPSHOT\idp-distribution-5.1.3-SNAPSHOT.zip> to <http://127.0.0.1:1583/jenkins/job/java-idp-msi/ws/idp-msi\target> with includes "" and excludes ""
[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:19.32
[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:  59.602 s
[INFO] Finished at: 2024-05-09T01:25:39Z
[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