[midPoint-ci] Build failed in Jenkins: Connector LDAP #10

Jenkins noreply at evolveum.com
Mon Mar 17 12:05:10 CET 2025


See <https://jenkins.evolveum.com/job/connector-ldap/10/display/redirect>

Changes:


------------------------------------------
Started by user Anton Tkacik
Obtained jenkins-pipeline from git https://github.com/Evolveum/connector-ldap.git
[Pipeline] Start of Pipeline
[Pipeline] podTemplate
[Pipeline] {
[Pipeline] node
Created Pod: kubernetes jenkins/connector-ldap-10-jr2nf-1g2z6-58psv
Still waiting to schedule task
‘connector-ldap-10-jr2nf-1g2z6-58psv’ is offline
Agent connector-ldap-10-jr2nf-1g2z6-58psv is provisioned from template connector-ldap_10-jr2nf-1g2z6
---
apiVersion: "v1"
kind: "Pod"
metadata:
  annotations:
    kubernetes.jenkins.io/last-refresh: "1742209468404"
    buildUrl: "https://jenkins.evolveum.com/job/connector-ldap/10/"
    runUrl: "job/connector-ldap/10/"
  labels:
    jenkins/jenkins-jenkins-agent: "true"
    jenkins/label-digest: "20725498cb99b707fea07ecb3d3a4ad610e5c285"
    jenkins/label: "connector-ldap_10-jr2nf"
    kubernetes.jenkins.io/controller: "https___jenkins_evolveum_comx"
  name: "connector-ldap-10-jr2nf-1g2z6-58psv"
  namespace: "jenkins"
spec:
  activeDeadlineSeconds: 600
  containers:
  - command:
    - "cat"
    image: "maven:3.8.5-openjdk-11"
    imagePullPolicy: "IfNotPresent"
    name: "maven"
    resources:
      limits:
        memory: "8Gi"
        cpu: "8"
      requests:
        memory: "8Gi"
        cpu: "8"
    securityContext:
      privileged: false
      runAsUser: 0
    tty: true
    volumeMounts:
    - mountPath: "/root/jenkins-nexus"
      name: "volume-0"
      readOnly: false
    - mountPath: "/home/jenkins/agent"
      name: "workspace-volume"
      readOnly: false
  - env:
    - name: "JENKINS_SECRET"
      value: "********"
    - name: "JENKINS_TUNNEL"
      value: "jenkins-agent:50000"
    - name: "JENKINS_AGENT_NAME"
      value: "connector-ldap-10-jr2nf-1g2z6-58psv"
    - name: "REMOTING_OPTS"
      value: "-noReconnectAfter 1d"
    - name: "JENKINS_NAME"
      value: "connector-ldap-10-jr2nf-1g2z6-58psv"
    - name: "JENKINS_AGENT_WORKDIR"
      value: "/home/jenkins/agent"
    - name: "JENKINS_URL"
      value: "https://jenkins.evolveum.com/"
    image: "jenkins/inbound-agent:4.13-2-alpine"
    imagePullPolicy: "IfNotPresent"
    name: "jnlp"
    resources:
      limits:
        memory: "1Gi"
        cpu: "1"
      requests:
        memory: "1Gi"
        cpu: "1"
    securityContext:
      privileged: false
      runAsUser: 0
    tty: false
    volumeMounts:
    - mountPath: "/root/jenkins-nexus"
      name: "volume-0"
      readOnly: false
    - mountPath: "/home/jenkins/agent"
      name: "workspace-volume"
      readOnly: false
  nodeSelector:
    node: "jenkins"
  restartPolicy: "Never"
  volumes:
  - name: "volume-0"
    secret:
      secretName: "jenkins-nexus"
  - name: "workspace-volume"
    persistentVolumeClaim:
      claimName: "pvc-workspace-connector-ldap-10-jr2nf-1g2z6-58psv"
      readOnly: false

Running on connector-ldap-10-jr2nf-1g2z6-58psv in /home/jenkins/agent/workspace/connector-ldap
[Pipeline] {
[Pipeline] stage
[Pipeline] { (checkout)
[Pipeline] retry
[Pipeline] {
[Pipeline] git
Selected Git installation does not exist. Using Default
The recommended git tool is: NONE
No credentials specified
Cloning the remote Git repository
Cloning repository https://github.com/Evolveum/connector-ldap.git
 > git init /home/jenkins/agent/workspace/connector-ldap # timeout=10
Fetching upstream changes from https://github.com/Evolveum/connector-ldap.git
 > git --version # timeout=10
 > git --version # 'git version 2.34.2'
 > git fetch --tags --force --progress -- https://github.com/Evolveum/connector-ldap.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://github.com/Evolveum/connector-ldap.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
Avoid second fetch
Checking out Revision afa04503cf4469a50642dac68d8406a6032081c2 (refs/remotes/origin/support-3.7)
 > git rev-parse refs/remotes/origin/support-3.7^{commit} # timeout=10
 > git config core.sparsecheckout # timeout=10
 > git checkout -f afa04503cf4469a50642dac68d8406a6032081c2 # timeout=10
 > git branch -a -v --no-abbrev # timeout=10
 > git checkout -b support-3.7 afa04503cf4469a50642dac68d8406a6032081c2 # timeout=10
Commit message: "Release 3.7.4"
 > git rev-list --no-walk afa04503cf4469a50642dac68d8406a6032081c2 # timeout=10
[Pipeline] }
[Pipeline] // retry
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (build)
[Pipeline] container
[Pipeline] {
[Pipeline] withCredentials
Masking supported pattern matches of $DTRACK_URL or $DTRACK_TOKEN
[Pipeline] {
[Pipeline] sh
+ mkdir -p /root/.m2
+ ln -s ../jenkins-nexus/settings.xml /root/.m2/settings.xml
+ '[' 0 -ge 1 ']'
+ mvn -B -ntp -P sbom,dependencytrack clean deploy -DdeployAtEnd=true
[INFO] Scanning for projects...
[INFO] 
[INFO] ----------------< com.evolveum.polygon:connector-ldap >-----------------
[INFO] Building LDAP Connector 3.7.4
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ connector-ldap ---
[INFO] 
[INFO] --- maven-resources-plugin:3.3.1:resources (default-resources) @ connector-ldap ---
[INFO] Copying 3 resources from src/main/resources to target/classes
[INFO] 
[INFO] --- maven-compiler-plugin:3.12.1:compile (default-compile) @ connector-ldap ---
[INFO] Recompiling the module because of changed dependency.
[INFO] Compiling 50 source files with javac [debug target 17] to target/classes
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  9.376 s
[INFO] Finished at: 2025-03-17T11:05:09Z
[INFO] ------------------------------------------------------------------------
[WARNING] The requested profile "sbom" could not be activated because it does not exist.
[WARNING] The requested profile "dependencytrack" could not be activated because it does not exist.
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.12.1:compile (default-compile) on project connector-ldap: Fatal error compiling: error: invalid target release: 17 -> [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
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // stage
[Pipeline] error
[Pipeline] step


More information about the midPoint-ci mailing list