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

Shibboleth Jenkins noreply at shibboleth.net
Tue Apr 9 09:52:12 UTC 2024


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

Changes:


------------------------------------------
Started by user Rod Widdowson
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on EC2 (ec2-I2) - WindowsServer2022 (i-0607542e777b1fd75) (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.42.0.windows.2'
 > 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/dev/IDP-2147^{commit}" # timeout=10
Checking out Revision bb34bf299de31bf5207a2c04c8c4e79ff22c4b60 (refs/remotes/origin/dev/IDP-2147)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f bb34bf299de31bf5207a2c04c8c4e79ff22c4b60 # timeout=10
Commit message: "Move parent project for idp-msi forward"
 > git rev-list --no-walk bb34bf299de31bf5207a2c04c8c4e79ff22c4b60 # 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 release install && 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] Deleting <http://127.0.0.1:1583/jenkins/job/java-idp-msi/ws/idp-msi\target>
[INFO] 
[INFO] --- exec:3.1.0:exec (clean) @ idp-msi ---
MSBuild version 17.7.3+4fca21998 for .NET
Build started 4/9/2024 9:51: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.90
[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] Unpacking <http://127.0.0.1:1583/jenkins/job/java-idp-msi/ws/.repository\net\shibboleth\idp\idp-distribution\5.1.2-SNAPSHOT\idp-distribution-5.1.2-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:18.37
[INFO] 
[INFO] --- jar:3.2.2:test-jar (default) @ idp-msi ---
[INFO] Skipping packaging of the test-jar
[INFO] 
[INFO] >>> source:3.2.1:jar (attach-sources) > generate-sources @ idp-msi >>>
[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] <<< source:3.2.1:jar (attach-sources) < generate-sources @ idp-msi <<<
[INFO] 
[INFO] 
[INFO] --- source:3.2.1:jar (attach-sources) @ idp-msi ---
[INFO] 
[INFO] --- antrun:1.8:run (move-msi-to-target) @ idp-msi ---
[INFO] Executing tasks

main:
     [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] --- 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.1.2-SNAPSHOT\idp-msi-5.1.2-SNAPSHOT.pom>
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  35.390 s
[INFO] Finished at: 2024-04-09T09:51:39Z
[INFO] ------------------------------------------------------------------------
[java-idp-msi] $ cmd /c call C:\Users\jenkins\AppData\Local\Temp\jenkins16236961898292670992.bat

jenkins at SHIB-WINDOWSSER <http://127.0.0.1:1583/jenkins/job/java-idp-msi/ws/>cd> idp-msi 

jenkins at SHIB-WINDOWSSER <http://127.0.0.1:1583/jenkins/job/java-idp-msi/ws/idp-msi>cmd.exe> /C \opt\maven_home\bin\mvn.cmd help:evaluate -Dexpression=project.version -q -DforceStdout  1>version.txt 

jenkins at SHIB-WINDOWSSER <http://127.0.0.1:1583/jenkins/job/java-idp-msi/ws/idp-msi>REM> Throw away first output 

jenkins at SHIB-WINDOWSSER <http://127.0.0.1:1583/jenkins/job/java-idp-msi/ws/idp-msi>cmd.exe> /C \opt\maven_home\bin\mvn.cmd help:evaluate -Dexpression=project.version -q -DforceStdout  1>version.txt 

jenkins at SHIB-WINDOWSSER <http://127.0.0.1:1583/jenkins/job/java-idp-msi/ws/idp-msi>for> /F "tokens=* USEBACKQ" %F in (`type version.txt`) do (set VERSION=%F ) 

jenkins at SHIB-WINDOWSSER <http://127.0.0.1:1583/jenkins/job/java-idp-msi/ws/idp-msi>(set> VERSION=5.1.2-SNAPSHOT ) 

jenkins at SHIB-WINDOWSSER <http://127.0.0.1:1583/jenkins/job/java-idp-msi/ws/idp-msi>echo> "Version: 5.1.2-SNAPSHOT" 
"Version: 5.1.2-SNAPSHOT"

jenkins at SHIB-WINDOWSSER <http://127.0.0.1:1583/jenkins/job/java-idp-msi/ws/idp-msi>cmd.exe> /C \opt\maven_home\bin\mvn.cmd -DskipTests gpg:sign-and-deploy-file -Durl=http://127.0.0.1:1581/nexus/content/repositories/snapshots -DrepositoryId=snapshots -Dfile=target/shibboleth-identity-provider-5.1.2-SNAPSHOT-x64.msi -DgroupId=net.shibboleth.idp -DartifactId=idp-msi -Dversion=5.1.2-SNAPSHOT -DgeneratePom=false -Dpackaging=jar -Dclassifier=msi -Dgpg.homedir= 
[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] --- gpg:3.1.0:sign-and-deploy-file (default-cli) @ idp-msi ---
Downloading from shibboleth-releases: https://build.shibboleth.net/maven/releases/org/codehaus/plexus/plexus-component-annotations/1.5.4/plexus-component-annotations-1.5.4.pom
Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-component-annotations/1.5.4/plexus-component-annotations-1.5.4.pom
Progress (1): 815 B                   Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-component-annotations/1.5.4/plexus-component-annotations-1.5.4.pom (815 B at 11 kB/s)
Downloading from shibboleth-releases: https://build.shibboleth.net/maven/releases/org/codehaus/plexus/plexus-containers/1.5.4/plexus-containers-1.5.4.pom
Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-containers/1.5.4/plexus-containers-1.5.4.pom
Progress (1): 1.4/4.2 kBProgress (1): 2.8/4.2 kBProgress (1): 4.1/4.2 kBProgress (1): 4.2 kB                        Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-containers/1.5.4/plexus-containers-1.5.4.pom (4.2 kB at 385 kB/s)
Downloading from shibboleth-releases: https://build.shibboleth.net/maven/releases/org/codehaus/plexus/plexus/2.0.5/plexus-2.0.5.pom
Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus/2.0.5/plexus-2.0.5.pom
Progress (1): 1.4/17 kBProgress (1): 2.8/17 kBProgress (1): 4.1/17 kBProgress (1): 5.5/17 kBProgress (1): 6.9/17 kBProgress (1): 8.3/17 kBProgress (1): 9.7/17 kBProgress (1): 11/17 kB Progress (1): 12/17 kBProgress (1): 14/17 kBProgress (1): 15/17 kBProgress (1): 17/17 kBProgress (1): 17 kB                      Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus/2.0.5/plexus-2.0.5.pom (17 kB at 867 kB/s)
Downloading from shibboleth-releases: https://build.shibboleth.net/maven/releases/org/codehaus/plexus/plexus-utils/3.4.2/plexus-utils-3.4.2.pom
Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/3.4.2/plexus-utils-3.4.2.pom
Progress (1): 1.4/8.2 kBProgress (1): 2.8/8.2 kBProgress (1): 4.1/8.2 kBProgress (1): 5.5/8.2 kBProgress (1): 6.9/8.2 kBProgress (1): 8.2 kB                        Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/3.4.2/plexus-utils-3.4.2.pom (8.2 kB at 632 kB/s)
Downloading from shibboleth-releases: https://build.shibboleth.net/maven/releases/org/sonatype/plexus/plexus-sec-dispatcher/1.4/plexus-sec-dispatcher-1.4.pom
Downloading from central: https://repo.maven.apache.org/maven2/org/sonatype/plexus/plexus-sec-dispatcher/1.4/plexus-sec-dispatcher-1.4.pom
Progress (1): 1.4/3.0 kBProgress (1): 2.8/3.0 kBProgress (1): 3.0 kB                        Downloaded from central: https://repo.maven.apache.org/maven2/org/sonatype/plexus/plexus-sec-dispatcher/1.4/plexus-sec-dispatcher-1.4.pom (3.0 kB at 296 kB/s)
Downloading from shibboleth-releases: https://build.shibboleth.net/maven/releases/org/codehaus/plexus/plexus-utils/3.4.2/plexus-utils-3.4.2.jar
Downloading from shibboleth-releases: https://build.shibboleth.net/maven/releases/org/sonatype/plexus/plexus-sec-dispatcher/1.4/plexus-sec-dispatcher-1.4.jar
Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/3.4.2/plexus-utils-3.4.2.jar
Progress (1): 16/267 kBProgress (1): 33/267 kBProgress (1): 49/267 kBProgress (1): 66/267 kBProgress (1): 82/267 kBProgress (1): 98/267 kBProgress (1): 115/267 kBProgress (1): 131/267 kBProgress (1): 147/267 kBProgress (1): 164/267 kBProgress (1): 180/267 kBProgress (1): 197/267 kBProgress (1): 213/267 kBProgress (1): 229/267 kBProgress (1): 246/267 kBProgress (1): 262/267 kBProgress (1): 267 kB                        Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/3.4.2/plexus-utils-3.4.2.jar (267 kB at 7.6 MB/s)
Downloading from central: https://repo.maven.apache.org/maven2/org/sonatype/plexus/plexus-sec-dispatcher/1.4/plexus-sec-dispatcher-1.4.jar
Progress (1): 16/28 kBProgress (1): 28 kB                      Downloaded from central: https://repo.maven.apache.org/maven2/org/sonatype/plexus/plexus-sec-dispatcher/1.4/plexus-sec-dispatcher-1.4.jar (28 kB at 2.5 MB/s)
gpg: keybox '<http://127.0.0.1:1583/jenkins/job/java-idp-msi/ws/idp-msi/pubring.kbx'> created
gpg: can't connect to the agent: Invalid value passed to IPC
gpg: no default secret key: No secret key
gpg: signing failed: No secret key
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  17.944 s
[INFO] Finished at: 2024-04-09T09:52:11Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-gpg-plugin:3.1.0:sign-and-deploy-file (default-cli) 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

jenkins at SHIB-WINDOWSSER <http://127.0.0.1:1583/jenkins/job/java-idp-msi/ws/idp-msi>exit> 1 
Build step 'Execute Windows batch command' marked build as failure


More information about the commits mailing list