[midPoint-ci] Build failed in Jenkins: midPoint - master - Native repo, PG 14, JDK 17 #322

Jenkins noreply at evolveum.com
Fri Aug 4 06:51:20 CEST 2023


See <https://jenkins.evolveum.com/job/midpoint-master-native-pg14-jdk17/322/display/redirect>

Changes:


------------------------------------------
Started by an SCM change
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-pg14-jdk17-322-9895t-wbf99-wgqbc
Still waiting to schedule task
‘midpoint-master-native-pg14-jdk17-322-9895t-wbf99-wgqbc’ is offline
Agent midpoint-master-native-pg14-jdk17-322-9895t-wbf99-wgqbc is provisioned from template midpoint-master-native-pg14-jdk17_322-9895t-wbf99
---
apiVersion: "v1"
kind: "Pod"
metadata:
  annotations:
    buildUrl: "https://jenkins.evolveum.com/job/midpoint-master-native-pg14-jdk17/322/"
    runUrl: "job/midpoint-master-native-pg14-jdk17/322/"
  labels:
    jenkins/jenkins-jenkins-agent: "true"
    jenkins/label-digest: "5642e5a6a47836913607afcb2698142080ba2fa0"
    jenkins/label: "midpoint-master-native-pg14-jdk17_322-9895t"
  name: "midpoint-master-native-pg14-jdk17-322-9895t-wbf99-wgqbc"
  namespace: "jenkins"
spec:
  activeDeadlineSeconds: 21600
  containers:
  - command:
    - "cat"
    image: "maven:3.8.5-openjdk-17"
    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-pg14-jdk17-322-9895t-wbf99-wgqbc"
    - name: "JENKINS_NAME"
      value: "midpoint-master-native-pg14-jdk17-322-9895t-wbf99-wgqbc"
    - 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:14-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:
    cpu: "E5-2680"
  restartPolicy: "Never"
  volumes:
  - name: "workspace-volume"
    persistentVolumeClaim:
      claimName: "pvc-workspace-midpoint-master-native-pg14-jdk17-322-9895t-wbf99-wgqbc"
      readOnly: false

Running on midpoint-master-native-pg14-jdk17-322-9895t-wbf99-wgqbc in /home/jenkins/agent/workspace/midpoint-master-native-pg14-jdk17
[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-pg14-jdk17 # 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 4a3fec3d2c276f371c4653ef484d6589e2434537 (refs/remotes/origin/master)
 > 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 4a3fec3d2c276f371c4653ef484d6589e2434537 # timeout=10
 > git branch -a -v --no-abbrev # timeout=10
 > git checkout -b master 4a3fec3d2c276f371c4653ef484d6589e2434537 # timeout=10
Commit message: "Merge branch 'master' of github.com:Evolveum/midpoint"
 > git rev-list --no-walk 6dabcd865d3b5b4ab6ed627ce4d0ea5e0d331ee0 # timeout=10
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (db-init)
[Pipeline] container
[Pipeline] {
[Pipeline] sh
+ psql --version
psql (PostgreSQL) 14.7
+ psql -v ON_ERROR_STOP=1 -q -U midtest -f config/sql/native-new/postgres-new.sql -f config/sql/native-new/postgres-new-audit.sql -f config/sql/native-new/postgres-new-quartz.sql
psql:config/sql/native-new/postgres-new.sql:29: NOTICE:  schema "public" already exists, skipping
psql:config/sql/native-new/postgres-new.sql:174: NOTICE:  gen_random_uuid already exists, skipping create EXTENSION pgcrypto
psql:config/sql/native-new/postgres-new.sql:329: NOTICE:  moving and merging column "objecttype" with inherited definition
DETAIL:  User-specified column moved to the position of the inherited column.
psql:config/sql/native-new/postgres-new.sql:376: NOTICE:  merging column "owneroid" with inherited definition
psql:config/sql/native-new/postgres-new.sql:376: NOTICE:  moving and merging column "referencetype" with inherited definition
DETAIL:  User-specified column moved to the position of the inherited column.
psql:config/sql/native-new/postgres-new.sql:389: NOTICE:  merging column "owneroid" with inherited definition
psql:config/sql/native-new/postgres-new.sql:389: NOTICE:  moving and merging column "referencetype" with inherited definition
DETAIL:  User-specified column moved to the position of the inherited column.
psql:config/sql/native-new/postgres-new.sql:402: NOTICE:  merging column "owneroid" with inherited definition
psql:config/sql/native-new/postgres-new.sql:402: NOTICE:  moving and merging column "referencetype" with inherited definition
DETAIL:  User-specified column moved to the position of the inherited column.
psql:config/sql/native-new/postgres-new.sql:416: NOTICE:  merging column "owneroid" with inherited definition
psql:config/sql/native-new/postgres-new.sql:416: NOTICE:  moving and merging column "referencetype" with inherited definition
DETAIL:  User-specified column moved to the position of the inherited column.
psql:config/sql/native-new/postgres-new.sql:430: NOTICE:  merging column "owneroid" with inherited definition
psql:config/sql/native-new/postgres-new.sql:430: NOTICE:  moving and merging column "referencetype" with inherited definition
DETAIL:  User-specified column moved to the position of the inherited column.
psql:config/sql/native-new/postgres-new.sql:443: NOTICE:  merging column "owneroid" with inherited definition
psql:config/sql/native-new/postgres-new.sql:443: NOTICE:  moving and merging column "referencetype" with inherited definition
DETAIL:  User-specified column moved to the position of the inherited column.
psql:config/sql/native-new/postgres-new.sql:483: NOTICE:  moving and merging column "objecttype" with inherited definition
DETAIL:  User-specified column moved to the position of the inherited column.
psql:config/sql/native-new/postgres-new.sql:495: NOTICE:  merging column "owneroid" with inherited definition
psql:config/sql/native-new/postgres-new.sql:495: NOTICE:  moving and merging column "referencetype" with inherited definition
DETAIL:  User-specified column moved to the position of the inherited column.
psql:config/sql/native-new/postgres-new.sql:508: NOTICE:  merging column "owneroid" with inherited definition
psql:config/sql/native-new/postgres-new.sql:508: NOTICE:  moving and merging column "referencetype" with inherited definition
DETAIL:  User-specified column moved to the position of the inherited column.
psql:config/sql/native-new/postgres-new.sql:522: NOTICE:  merging column "owneroid" with inherited definition
psql:config/sql/native-new/postgres-new.sql:522: NOTICE:  moving and merging column "containertype" with inherited definition
DETAIL:  User-specified column moved to the position of the inherited column.
psql:config/sql/native-new/postgres-new.sql:532: NOTICE:  merging column "oid" with inherited definition
psql:config/sql/native-new/postgres-new.sql:532: NOTICE:  merging column "objecttype" with inherited definition
psql:config/sql/native-new/postgres-new.sql:578: NOTICE:  merging column "oid" with inherited definition
psql:config/sql/native-new/postgres-new.sql:578: NOTICE:  merging column "objecttype" with inherited definition
psql:config/sql/native-new/postgres-new.sql:619: NOTICE:  moving and merging column "objecttype" with inherited definition
DETAIL:  User-specified column moved to the position of the inherited column.
psql:config/sql/native-new/postgres-new.sql:635: NOTICE:  merging column "oid" with inherited definition
psql:config/sql/native-new/postgres-new.sql:635: NOTICE:  merging column "objecttype" with inherited definition
psql:config/sql/native-new/postgres-new.sql:661: NOTICE:  merging column "oid" with inherited definition
psql:config/sql/native-new/postgres-new.sql:661: NOTICE:  merging column "objecttype" with inherited definition
psql:config/sql/native-new/postgres-new.sql:686: NOTICE:  merging column "oid" with inherited definition
psql:config/sql/native-new/postgres-new.sql:686: NOTICE:  merging column "objecttype" with inherited definition
psql:config/sql/native-new/postgres-new.sql:715: NOTICE:  merging column "oid" with inherited definition
psql:config/sql/native-new/postgres-new.sql:715: NOTICE:  merging column "objecttype" with inherited definition
psql:config/sql/native-new/postgres-new.sql:744: NOTICE:  merging column "owneroid" with inherited definition
psql:config/sql/native-new/postgres-new.sql:744: NOTICE:  moving and merging column "referencetype" with inherited definition
DETAIL:  User-specified column moved to the position of the inherited column.
psql:config/sql/native-new/postgres-new.sql:881: NOTICE:  merging column "oid" with inherited definition
psql:config/sql/native-new/postgres-new.sql:881: NOTICE:  merging column "objecttype" with inherited definition
psql:config/sql/native-new/postgres-new.sql:905: NOTICE:  merging column "owneroid" with inherited definition
psql:config/sql/native-new/postgres-new.sql:905: NOTICE:  moving and merging column "referencetype" with inherited definition
DETAIL:  User-specified column moved to the position of the inherited column.
psql:config/sql/native-new/postgres-new.sql:938: NOTICE:  merging column "oid" with inherited definition
psql:config/sql/native-new/postgres-new.sql:938: NOTICE:  merging column "objecttype" with inherited definition
psql:config/sql/native-new/postgres-new.sql:984: NOTICE:  merging column "oid" with inherited definition
psql:config/sql/native-new/postgres-new.sql:984: NOTICE:  merging column "objecttype" with inherited definition
psql:config/sql/native-new/postgres-new.sql:1003: NOTICE:  merging column "oid" with inherited definition
psql:config/sql/native-new/postgres-new.sql:1003: NOTICE:  merging column "objecttype" with inherited definition
psql:config/sql/native-new/postgres-new.sql:1021: NOTICE:  merging column "oid" with inherited definition
psql:config/sql/native-new/postgres-new.sql:1021: NOTICE:  merging column "objecttype" with inherited definition
psql:config/sql/native-new/postgres-new.sql:1046: NOTICE:  merging column "oid" with inherited definition
psql:config/sql/native-new/postgres-new.sql:1046: NOTICE:  merging column "objecttype" with inherited definition
psql:config/sql/native-new/postgres-new.sql:1071: NOTICE:  merging column "oid" with inherited definition
psql:config/sql/native-new/postgres-new.sql:1071: NOTICE:  merging column "objecttype" with inherited definition
psql:config/sql/native-new/postgres-new.sql:1094: NOTICE:  merging column "oid" with inherited definition
psql:config/sql/native-new/postgres-new.sql:1094: NOTICE:  merging column "objecttype" with inherited definition
psql:config/sql/native-new/postgres-new.sql:1117: NOTICE:  merging column "oid" with inherited definition
psql:config/sql/native-new/postgres-new.sql:1117: NOTICE:  merging column "objecttype" with inherited definition
psql:config/sql/native-new/postgres-new.sql:1142: NOTICE:  merging column "oid" with inherited definition
psql:config/sql/native-new/postgres-new.sql:1142: NOTICE:  merging column "objecttype" with inherited definition
psql:config/sql/native-new/postgres-new.sql:1165: NOTICE:  merging column "oid" with inherited definition
psql:config/sql/native-new/postgres-new.sql:1165: NOTICE:  merging column "objecttype" with inherited definition
psql:config/sql/native-new/postgres-new.sql:1195: NOTICE:  merging column "owneroid" with inherited definition
psql:config/sql/native-new/postgres-new.sql:1195: NOTICE:  moving and merging column "containertype" with inherited definition
DETAIL:  User-specified column moved to the position of the inherited column.
psql:config/sql/native-new/postgres-new.sql:1214: NOTICE:  merging column "oid" with inherited definition
psql:config/sql/native-new/postgres-new.sql:1214: NOTICE:  merging column "objecttype" with inherited definition
psql:config/sql/native-new/postgres-new.sql:1245: NOTICE:  merging column "oid" with inherited definition
psql:config/sql/native-new/postgres-new.sql:1245: NOTICE:  merging column "objecttype" with inherited definition
psql:config/sql/native-new/postgres-new.sql:1293: NOTICE:  merging column "oid" with inherited definition
psql:config/sql/native-new/postgres-new.sql:1293: NOTICE:  merging column "objecttype" with inherited definition
psql:config/sql/native-new/postgres-new.sql:1326: NOTICE:  merging column "owneroid" with inherited definition
psql:config/sql/native-new/postgres-new.sql:1326: NOTICE:  moving and merging column "containertype" with inherited definition
DETAIL:  User-specified column moved to the position of the inherited column.
psql:config/sql/native-new/postgres-new.sql:1326: ERROR:  invalid input value for enum containertype: "AFFECTED_RESOURCE_OBJECTS"
LINE 3: ... containerType ContainerType GENERATED ALWAYS AS ('AFFECTED_...
                                                             ^
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // stage
[Pipeline] error
[Pipeline] step


More information about the midPoint-ci mailing list