Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump de.rub.nds:protocol-toolkit-bom from 4.1.10 to 4.1.16 #24

Merged
merged 1 commit into from
Oct 24, 2024

build(deps): bump de.rub.nds:protocol-toolkit-bom from 4.1.10 to 4.1.16

d15d1b1
Select commit
Loading
Failed to load commit list.
Merged

build(deps): bump de.rub.nds:protocol-toolkit-bom from 4.1.10 to 4.1.16 #24

build(deps): bump de.rub.nds:protocol-toolkit-bom from 4.1.10 to 4.1.16
d15d1b1
Select commit
Loading
Failed to load commit list.
Jenkins CI - TLS-Attacker / Jenkins failed Oct 24, 2024 in 42s

Build: error in 'sh' step

Build / Shell Script

Error in sh step, with arguments mvn -DskipTests=true package.

script returned exit code 1
Build log
+ mvn -DskipTests=true package
Picked up JAVA_TOOL_OPTIONS: -Dmaven.ext.class.path="/var/lib/jenkins/workspace/attacker-org_X509-Attacker_PR-24@tmp/withMaven47d57b13/pipeline-maven-spy.jar" -Dorg.jenkinsci.plugins.pipeline.maven.reportsFolder="/var/lib/jenkins/workspace/attacker-org_X509-Attacker_PR-24@tmp/withMaven47d57b13" 
[INFO] [jenkins-event-spy] Generate /var/lib/jenkins/workspace/attacker-org_X509-Attacker_PR-24@tmp/withMaven47d57b13/maven-spy-20241024-111146-7839208039266058790010.log.tmp ...
[INFO] Scanning for projects...
[INFO] 
[INFO] ----------------------< de.rub.nds:x509-attacker >----------------------
[INFO] Building X.509-Attacker 3.1.0
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-enforcer-plugin:3.5.0:enforce (enforce-versions) @ x509-attacker ---
[INFO] Rule 0: org.apache.maven.enforcer.rules.version.RequireMavenVersion passed
[INFO] Rule 1: org.apache.maven.enforcer.rules.version.RequireJavaVersion passed
[INFO] 
[INFO] --- spotless-maven-plugin:2.43.0:apply (format) @ x509-attacker ---
[INFO] Spotless.Pom is keeping 1 files clean - 0 were changed to be clean, 0 were already clean, 1 were skipped because caching determined they were already clean
[INFO] Spotless.Markdown is keeping 1 files clean - 0 were changed to be clean, 0 were already clean, 1 were skipped because caching determined they were already clean
[INFO] 
[INFO] --- maven-resources-plugin:3.3.1:resources (default-resources) @ x509-attacker ---
[INFO] Copying 1 resource from src/main/resources to target/classes
[INFO] 
[INFO] --- flatten-maven-plugin:1.6.0:flatten (flatten) @ x509-attacker ---
[INFO] Generating flattened POM of project de.rub.nds:x509-attacker:jar:3.1.0...
[INFO] 
[INFO] --- maven-compiler-plugin:3.13.0:compile (default-compile) @ x509-attacker ---
[INFO] Recompiling the module because of changed source code.
[INFO] Compiling 191 source files with javac [debug target 11] to target/classes
[INFO] /var/lib/jenkins/workspace/attacker-org_X509-Attacker_PR-24/src/main/java/de/rub/nds/x509attacker/filesystem/CertificateIo.java: Some input files use or override a deprecated API.
[INFO] /var/lib/jenkins/workspace/attacker-org_X509-Attacker_PR-24/src/main/java/de/rub/nds/x509attacker/filesystem/CertificateIo.java: Recompile with -Xlint:deprecation for details.
[INFO] /var/lib/jenkins/workspace/attacker-org_X509-Attacker_PR-24/src/main/java/de/rub/nds/x509attacker/x509/model/RelativeDistinguishedName.java: Some input files use unchecked or unsafe operations.
[INFO] /var/lib/jenkins/workspace/attacker-org_X509-Attacker_PR-24/src/main/java/de/rub/nds/x509attacker/x509/model/RelativeDistinguishedName.java: Recompile with -Xlint:unchecked for details.
[INFO] Some messages have been simplified; recompile with -Xdiags:verbose to get full output
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /var/lib/jenkins/workspace/attacker-org_X509-Attacker_PR-24/src/main/java/de/rub/nds/x509attacker/x509/preparator/TimePreparator.java:[64,29] no suitable method found for prepareField(de.rub.nds.asn1.time.TimeField,org.joda.time.DateTime,de.rub.nds.asn1.constants.TimeAccurracy)
    method de.rub.nds.asn1.preparator.Asn1PreparatorHelper.prepareField(de.rub.nds.asn1.model.Asn1BitString,byte[],byte) is not applicable
      (argument mismatch; de.rub.nds.asn1.time.TimeField cannot be converted to de.rub.nds.asn1.model.Asn1BitString)
    method de.rub.nds.asn1.preparator.Asn1PreparatorHelper.prepareField(de.rub.nds.asn1.model.Asn1GeneralizedTime,org.joda.time.DateTime,de.rub.nds.asn1.constants.TimeAccurracy) is not applicable
      (argument mismatch; de.rub.nds.asn1.time.TimeField cannot be converted to de.rub.nds.asn1.model.Asn1GeneralizedTime)
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  5.228 s
[INFO] Finished at: 2024-10-24T11:11:52+02:00
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated /var/lib/jenkins/workspace/attacker-org_X509-Attacker_PR-24@tmp/withMaven47d57b13/maven-spy-20241024-111146-7839208039266058790010.log
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.13.0:compile (default-compile) on project x509-attacker: Compilation failure
[ERROR] /var/lib/jenkins/workspace/attacker-org_X509-Attacker_PR-24/src/main/java/de/rub/nds/x509attacker/x509/preparator/TimePreparator.java:[64,29] no suitable method found for prepareField(de.rub.nds.asn1.time.TimeField,org.joda.time.DateTime,de.rub.nds.asn1.constants.TimeAccurracy)
[ERROR]     method de.rub.nds.asn1.preparator.Asn1PreparatorHelper.prepareField(de.rub.nds.asn1.model.Asn1BitString,byte[],byte) is not applicable
[ERROR]       (argument mismatch; de.rub.nds.asn1.time.TimeField cannot be converted to de.rub.nds.asn1.model.Asn1BitString)
[ERROR]     method de.rub.nds.asn1.preparator.Asn1PreparatorHelper.prepareField(de.rub.nds.asn1.model.Asn1GeneralizedTime,org.joda.time.DateTime,de.rub.nds.asn1.constants.TimeAccurracy) is not applicable
[ERROR]       (argument mismatch; de.rub.nds.asn1.time.TimeField cannot be converted to de.rub.nds.asn1.model.Asn1GeneralizedTime)
[ERROR] -> [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/MojoFailureException

Details

  • Declarative: Checkout SCM (4.7 sec)
    • Clean (5.1 sec)
    • Format Check (6.3 sec)
    • Build (9.7 sec)
      Error: script returned exit code 1
    • Code Analysis (1.5 sec)
    • Unit Tests (1.7 sec)
    • Integration Tests (1.5 sec)
    • Deploy to Internal Nexus Repository (1.5 sec)
    • Declarative: Post Actions (7 sec)