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

Shibboleth Jenkins noreply at shibboleth.net
Tue Apr 9 09:58:21 UTC 2024


See <http://127.0.0.1:1583/jenkins/job/java-idp-msi/155/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:57:47 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.57
[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:17.50
[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:  31.286 s
[INFO] Finished at: 2024-04-09T09:58:15Z
[INFO] ------------------------------------------------------------------------
[java-idp-msi] $ cmd /c call C:\Users\jenkins\AppData\Local\Temp\jenkins5918696261197362176.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.keyFilePath=**** -D 
Unable to parse command line options: Missing argument for option: D

usage: mvn [options] [<goal(s)>] [<phase(s)>]

Options:
 -am,--also-make                        If project list is specified, also
                                        build projects required by the
                                        list
 -amd,--also-make-dependents            If project list is specified, also
                                        build projects that depend on
                                        projects on the list
 -B,--batch-mode                        Run in non-interactive (batch)
                                        mode (disables output color)
 -b,--builder <arg>                     The id of the build strategy to
                                        use
 -C,--strict-checksums                  Fail the build if checksums don't
                                        match
 -c,--lax-checksums                     Warn if checksums don't match
    --color <arg>                       Defines the color mode of the
                                        output. Supported are 'auto',
                                        'always', 'never'.
 -cpu,--check-plugin-updates            Ineffective, only kept for
                                        backward compatibility
 -D,--define <arg>                      Define a user property
 -e,--errors                            Produce execution error messages
 -emp,--encrypt-master-password <arg>   Encrypt master security password
 -ep,--encrypt-password <arg>           Encrypt server password
 -f,--file <arg>                        Force the use of an alternate POM
                                        file (or directory with pom.xml)
 -fae,--fail-at-end                     Only fail the build afterwards;
                                        allow all non-impacted builds to
                                        continue
 -ff,--fail-fast                        Stop at first failure in
                                        reactorized builds
 -fn,--fail-never                       NEVER fail the build, regardless
                                        of project result
 -gs,--global-settings <arg>            Alternate path for the global
                                        settings file
 -gt,--global-toolchains <arg>          Alternate path for the global
                                        toolchains file
 -h,--help                              Display help information
 -l,--log-file <arg>                    Log file where all build output
                                        will go (disables output color)
 -llr,--legacy-local-repository         UNSUPPORTED: Use of this option
                                        will make Maven invocation fail.
 -N,--non-recursive                     Do not recurse into sub-projects
 -npr,--no-plugin-registry              Ineffective, only kept for
                                        backward compatibility
 -npu,--no-plugin-updates               Ineffective, only kept for
                                        backward compatibility
 -nsu,--no-snapshot-updates             Suppress SNAPSHOT updates
 -ntp,--no-transfer-progress            Do not display transfer progress
                                        when downloading or uploading
 -o,--offline                           Work offline
 -P,--activate-profiles <arg>           Comma-delimited list of profiles
                                        to activate
 -pl,--projects <arg>                   Comma-delimited list of specified
                                        reactor projects to build instead
                                        of all projects. A project can be
                                        specified by [groupId]:artifactId
                                        or by its relative path
 -q,--quiet                             Quiet output - only show errors
 -rf,--resume-from <arg>                Resume reactor from specified
                                        project
 -s,--settings <arg>                    Alternate path for the user
                                        settings file
 -t,--toolchains <arg>                  Alternate path for the user
                                        toolchains file
 -T,--threads <arg>                     Thread count, for instance 4 (int)
                                        or 2C/2.5C (int/float) where C is
                                        core multiplied
 -U,--update-snapshots                  Forces a check for missing
                                        releases and updated snapshots on
                                        remote repositories
 -up,--update-plugins                   Ineffective, only kept for
                                        backward compatibility
 -v,--version                           Display version information
 -V,--show-version                      Display version information
                                        WITHOUT stopping build
 -X,--debug                             Produce execution debug output

[ERROR] Error executing Maven.
org.apache.commons.cli.MissingArgumentException: Missing argument for option: D
	at org.apache.commons.cli.Parser.processArgs(Parser.java:246)
	at org.apache.commons.cli.Parser.processOption(Parser.java:275)
	at org.apache.commons.cli.Parser.parse(Parser.java:184)
	at org.apache.commons.cli.Parser.parse(Parser.java:84)
	at org.apache.maven.cli.CLIManager.parse(CLIManager.java:303)
	at org.apache.maven.cli.MavenCli.cli(MavenCli.java:402)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:272)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:206)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/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)

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