[midPoint-ci] Build failed in Jenkins: midPoint - master - Native repo, PG 15, JDK 11 #50

Jenkins noreply at evolveum.com
Wed Mar 22 14:10:24 CET 2023


See <https://jenkins.evolveum.com/job/midpoint-master-native-pg15-jdk11/50/display/redirect>

Changes:


------------------------------------------
Started by user Richard Richter
Obtained tools/jenkins/midpoint-main-nativepg-pipeline from git https://github.com/Evolveum/midpoint.git
[Pipeline] Start of Pipeline
[Pipeline] podTemplate
[Pipeline] {
[Pipeline] node
Created Pod: kubernetes jenkins/midpoint-master-native-pg15-jdk11-50-3fm41-0tc7h-b8m7f
Still waiting to schedule task
‘midpoint-master-native-pg15-jdk11-50-3fm41-0tc7h-b8m7f’ is offline
Agent midpoint-master-native-pg15-jdk11-50-3fm41-0tc7h-b8m7f is provisioned from template midpoint-master-native-pg15-jdk11_50-3fm41-0tc7h
---
apiVersion: "v1"
kind: "Pod"
metadata:
  annotations:
    buildUrl: "https://jenkins.evolveum.com/job/midpoint-master-native-pg15-jdk11/50/"
    runUrl: "job/midpoint-master-native-pg15-jdk11/50/"
  labels:
    jenkins/jenkins-jenkins-agent: "true"
    jenkins/label-digest: "f206f51a5f65ee02172584d4423e609d746c330c"
    jenkins/label: "midpoint-master-native-pg15-jdk11_50-3fm41"
  name: "midpoint-master-native-pg15-jdk11-50-3fm41-0tc7h-b8m7f"
  namespace: "jenkins"
spec:
  activeDeadlineSeconds: 21600
  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: "/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: "midpoint-master-native-pg15-jdk11-50-3fm41-0tc7h-b8m7f"
    - name: "JENKINS_NAME"
      value: "midpoint-master-native-pg15-jdk11-50-3fm41-0tc7h-b8m7f"
    - 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: "/home/jenkins/agent"
      name: "workspace-volume"
      readOnly: false
  - env:
    - name: "POSTGRES_USER"
      value: "midtest"
    - name: "POSTGRES_INITDB_ARGS"
      value: "--lc-collate=en_US.utf8 --lc-ctype=en_US.utf8"
    - name: "POSTGRES_PASSWORD"
      value: "password"
    image: "postgres:15-alpine"
    imagePullPolicy: "IfNotPresent"
    name: "postgres"
    ports:
    - containerPort: 5432
      name: "postgres"
    resources:
      limits:
        memory: "4Gi"
        cpu: "2"
      requests:
        memory: "4Gi"
        cpu: "2"
    securityContext:
      privileged: false
      runAsUser: 0
    tty: true
    volumeMounts:
    - mountPath: "/home/jenkins/agent"
      name: "workspace-volume"
      readOnly: false
  nodeSelector:
    kubernetes.io/os: "linux"
  restartPolicy: "Never"
  volumes:
  - name: "workspace-volume"
    persistentVolumeClaim:
      claimName: "pvc-workspace-midpoint-master-native-pg15-jdk11-50-3fm41-0tc7h-b8m7f"
      readOnly: false

Running on midpoint-master-native-pg15-jdk11-50-3fm41-0tc7h-b8m7f in /home/jenkins/agent/workspace/midpoint-master-native-pg15-jdk11
[Pipeline] {
[Pipeline] stage
[Pipeline] { (checkout)
[Pipeline] git
The recommended git tool is: git
No credentials specified
Cloning the remote Git repository
Cloning repository https://github.com/Evolveum/midpoint.git
 > git init /home/jenkins/agent/workspace/midpoint-master-native-pg15-jdk11 # timeout=10
Fetching upstream changes from https://github.com/Evolveum/midpoint.git
 > git --version # timeout=10
 > git --version # 'git version 2.34.2'
 > git fetch --tags --force --progress -- https://github.com/Evolveum/midpoint.git +refs/heads/*:refs/remotes/origin/* # timeout=10
Avoid second fetch
Checking out Revision e9469a942a9a94b9ab11d0dd5eb157ec4ee4db4c (refs/remotes/origin/master)
Commit message: "Native PG Jenkins pipeline ability to test DB upgrade from specified tag"
 > git config remote.origin.url https://github.com/Evolveum/midpoint.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 > git config core.sparsecheckout # timeout=10
 > git checkout -f e9469a942a9a94b9ab11d0dd5eb157ec4ee4db4c # timeout=10
 > git branch -a -v --no-abbrev # timeout=10
 > git checkout -b master e9469a942a9a94b9ab11d0dd5eb157ec4ee4db4c # timeout=10
 > git rev-list --no-walk 80536bba937323e1d0e4b28b24f0384a16106ac8 # timeout=10
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (db-init)
[Pipeline] container
[Pipeline] {
[Pipeline] sh
+ psql --version
psql (PostgreSQL) 15.2
+ wget https://github.com/Evolveum/midpoint/blob/v4.4.4/config/sql/native-new/postgres-new.sql
Connecting to github.com (140.82.121.4:443)
saving to 'postgres-new.sql'
postgres-new.sql     100% |********************************|  744k  0:00:00 ETA
'postgres-new.sql' saved
+ wget https://github.com/Evolveum/midpoint/blob/v4.4.4/config/sql/native-new/postgres-new-audit.sql
Connecting to github.com (140.82.121.4:443)
saving to 'postgres-new-audit.sql'
postgres-new-audit.s 100% |********************************|  242k  0:00:00 ETA
'postgres-new-audit.sql' saved
+ psql -v ON_ERROR_STOP=1 -q -U midtest -f postgres-new.sql -f postgres-new-audit.sql -f config/sql/native-new/postgres-new-quartz.sql
psql:postgres-new.sql:209: ERROR:  syntax error at or near "<!"
LINE 1: <!DOCTYPE html>
        ^
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // stage
[Pipeline] error
[Pipeline] step


More information about the midPoint-ci mailing list