Skip to content

Console Output

Triggered by Gerrit: https://git.eclipse.org/r/c/basyx/basyx/+/186534
Checking out git https://git.eclipse.org/r/basyx/basyx into /var/jenkins/workspace/Basyx_CI_2@script to read Jenkinsfile_CX
The recommended git tool is: git
No credentials specified
Wiping out workspace first.
Cloning the remote Git repository
Cloning repository https://git.eclipse.org/r/basyx/basyx
 > git init /var/jenkins/workspace/Basyx_CI_2@script # timeout=10
Fetching upstream changes from https://git.eclipse.org/r/basyx/basyx
 > git --version # timeout=10
 > git --version # 'git version 2.20.1'
 > git fetch --tags --force --progress -- https://git.eclipse.org/r/basyx/basyx +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://git.eclipse.org/r/basyx/basyx # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://git.eclipse.org/r/basyx/basyx # timeout=10
Fetching upstream changes from https://git.eclipse.org/r/basyx/basyx
 > git fetch --tags --force --progress -- https://git.eclipse.org/r/basyx/basyx refs/changes/34/186534/1 # timeout=10
 > git rev-parse 99c1dcdd02a0aeb48d0f5964beb4777b94d61296^{commit} # timeout=10
JENKINS-19022: warning: possible memory leak due to Git plugin usage; see: https://plugins.jenkins.io/git/#remove-git-plugin-buildsbybranch-builddata-script
Checking out Revision 99c1dcdd02a0aeb48d0f5964beb4777b94d61296 (refs/changes/34/186534/1)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 99c1dcdd02a0aeb48d0f5964beb4777b94d61296 # timeout=10
Commit message: "Merge remote-tracking branch 'remotes/origin/release_1.0.1_java'"
 > git rev-parse FETCH_HEAD^{commit} # timeout=10
 > git rev-list --no-walk 7f129111090a5022f16bf60c28b554b2a3243b37 # timeout=10
Running in Durability level: PERFORMANCE_OPTIMIZED
[Pipeline] Start of Pipeline
[Pipeline] echo
[WARNING] label option is deprecated. To use a static pod template, use the 'inheritFrom' option.
[Pipeline] podTemplate
[Pipeline] {
[Pipeline] node
Created Pod: kubernetes basyx/basyx-null-630-5sxnq-mvj10
[Normal][basyx/basyx-null-630-5sxnq-mvj10][Scheduled] Successfully assigned basyx/basyx-null-630-5sxnq-mvj10 to okdnode-21
[Normal][basyx/basyx-null-630-5sxnq-mvj10][AddedInterface] Add eth0 [10.40.42.85/23]
[Normal][basyx/basyx-null-630-5sxnq-mvj10][Pulling] Pulling image "postgres:latest"
Still waiting to schedule task
‘basyx-null-630-5sxnq-mvj10’ is offline
[Normal][basyx/basyx-null-630-5sxnq-mvj10][Pulled] Successfully pulled image "postgres:latest" in 9.413120808s
[Normal][basyx/basyx-null-630-5sxnq-mvj10][Created] Created container postgresql
[Normal][basyx/basyx-null-630-5sxnq-mvj10][Started] Started container postgresql
[Normal][basyx/basyx-null-630-5sxnq-mvj10][Pulled] Container image "maven:3.6-jdk-8" already present on machine
[Normal][basyx/basyx-null-630-5sxnq-mvj10][Created] Created container java
[Normal][basyx/basyx-null-630-5sxnq-mvj10][Started] Started container java
[Normal][basyx/basyx-null-630-5sxnq-mvj10][Pulling] Pulling image "iesetps/basyx-ci-cpp:latest"
[Normal][basyx/basyx-null-630-5sxnq-mvj10][Pulled] Successfully pulled image "iesetps/basyx-ci-cpp:latest" in 839.745623ms
[Normal][basyx/basyx-null-630-5sxnq-mvj10][Created] Created container cpp
[Normal][basyx/basyx-null-630-5sxnq-mvj10][Started] Started container cpp
[Normal][basyx/basyx-null-630-5sxnq-mvj10][Pulled] Container image "docker.io/eclipsecbi/jiro-agent-basic:remoting-4.10" already present on machine
[Normal][basyx/basyx-null-630-5sxnq-mvj10][Created] Created container jnlp
[Normal][basyx/basyx-null-630-5sxnq-mvj10][Started] Started container jnlp
Agent basyx-null-630-5sxnq-mvj10 is provisioned from template basyx-null-630-5sxnq
---
apiVersion: "v1"
kind: "Pod"
metadata:
  annotations:
    buildUrl: "http://jenkins-ui.basyx.svc.cluster.local/basyx/job/Basyx_CI_2/630/"
    runUrl: "job/Basyx_CI_2/630/"
  labels:
    jenkins: "slave"
    jenkins/label-digest: "3a517ad0ac438e096a62bc218e189ec48b703dea"
    jenkins/label: "basyx-null-630"
  name: "basyx-null-630-5sxnq-mvj10"
spec:
  containers:
  - command:
    - "cat"
    env:
    - name: "POSTGRES_PASSWORD"
      value: "admin"
    - name: "PGDATA"
      value: "/run/postgresql/data"
    image: "postgres:latest"
    name: "postgresql"
    resources:
      limits:
        memory: "2Gi"
        cpu: "0.5"
      requests:
        memory: "2Gi"
        cpu: "0.5"
    tty: true
    volumeMounts:
    - mountPath: "/home/jenkins/agent"
      name: "workspace-volume"
      readOnly: false
  - command:
    - "cat"
    env:
    - name: "MAVEN_CONFIG"
      value: "/home/jenkins/agent/.m2"
    image: "maven:3.6-jdk-8"
    name: "java"
    resources:
      limits:
        memory: "3Gi"
        cpu: "0.75"
      requests:
        memory: "3Gi"
        cpu: "0.75"
    tty: true
    volumeMounts:
    - mountPath: "/home/jenkins/agent"
      name: "workspace-volume"
      readOnly: false
  - command:
    - "cat"
    image: "iesetps/basyx-ci-cpp:latest"
    name: "cpp"
    resources:
      limits:
        memory: "3Gi"
        cpu: "0.75"
      requests:
        memory: "3Gi"
        cpu: "0.75"
    tty: true
    volumeMounts:
    - mountPath: "/home/jenkins/agent"
      name: "workspace-volume"
      readOnly: false
  - env:
    - name: "JENKINS_SECRET"
      value: "********"
    - name: "JENKINS_TUNNEL"
      value: "jenkins-discovery.basyx.svc.cluster.local:50000"
    - name: "JENKINS_AGENT_NAME"
      value: "basyx-null-630-5sxnq-mvj10"
    - name: "JENKINS_NAME"
      value: "basyx-null-630-5sxnq-mvj10"
    - name: "JENKINS_AGENT_WORKDIR"
      value: "/home/jenkins/agent"
    - name: "JENKINS_URL"
      value: "http://jenkins-ui.basyx.svc.cluster.local/basyx/"
    image: "docker.io/eclipsecbi/jiro-agent-basic:remoting-4.10"
    name: "jnlp"
    resources:
      limits: {}
      requests:
        memory: "256Mi"
        cpu: "100m"
    volumeMounts:
    - mountPath: "/home/jenkins/agent"
      name: "workspace-volume"
      readOnly: false
  nodeSelector:
    kubernetes.io/os: "linux"
  restartPolicy: "Never"
  volumes:
  - emptyDir:
      medium: ""
    name: "workspace-volume"

Running on basyx-null-630-5sxnq-mvj10 in /home/jenkins/agent/workspace/Basyx_CI_2
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Checkout SCM)
[Pipeline] checkout
The recommended git tool is: git
No credentials specified
Wiping out workspace first.
Cloning the remote Git repository
Cloning repository https://git.eclipse.org/r/basyx/basyx
 > git init /home/jenkins/agent/workspace/Basyx_CI_2 # timeout=10
Fetching upstream changes from https://git.eclipse.org/r/basyx/basyx
 > git --version # timeout=10
 > git --version # 'git version 2.20.1'
 > git fetch --tags --force --progress -- https://git.eclipse.org/r/basyx/basyx +refs/heads/*:refs/remotes/origin/* # timeout=10
JENKINS-19022: warning: possible memory leak due to Git plugin usage; see: https://plugins.jenkins.io/git/#remove-git-plugin-buildsbybranch-builddata-script
Checking out Revision 99c1dcdd02a0aeb48d0f5964beb4777b94d61296 (refs/changes/34/186534/1)
 > git config remote.origin.url https://git.eclipse.org/r/basyx/basyx # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://git.eclipse.org/r/basyx/basyx # timeout=10
Fetching upstream changes from https://git.eclipse.org/r/basyx/basyx
 > git fetch --tags --force --progress -- https://git.eclipse.org/r/basyx/basyx refs/changes/34/186534/1 # timeout=10
 > git rev-parse 99c1dcdd02a0aeb48d0f5964beb4777b94d61296^{commit} # timeout=10
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 99c1dcdd02a0aeb48d0f5964beb4777b94d61296 # timeout=10
Commit message: "Merge remote-tracking branch 'remotes/origin/release_1.0.1_java'"
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Setup PostgreSQL)
[Pipeline] container
[Pipeline] {
[Pipeline] sh
+ chmod +x ./ci/init_postgres.sh
+ ./ci/init_postgres.sh postgres
The files belonging to this database system will be owned by user "1002600000".
This user must also own the server process.

The database cluster will be initialized with locale "en_US.utf8".
The default database encoding has accordingly been set to "UTF8".
The default text search configuration will be set to "english".

Data page checksums are disabled.

fixing permissions on existing directory /run/postgresql/data ... ok
creating subdirectories ... ok
selecting dynamic shared memory implementation ... posix
selecting default max_connections ... 100
selecting default shared_buffers ... 128MB
selecting default time zone ... Etc/UTC
creating configuration files ... ok
running bootstrap script ... ok
performing post-bootstrap initialization ... ok
syncing data to disk ... ok

initdb: warning: enabling "trust" authentication for local connections
You can change this by editing pg_hba.conf or using the option -A, or
--auth-local and --auth-host, the next time you run initdb.

Success. You can now start the database server using:

    pg_ctl -D /run/postgresql/data -l logfile start

waiting for server to start....2021-10-15 13:52:32.741 UTC [45] LOG:  starting PostgreSQL 14.0 (Debian 14.0-1.pgdg110+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit
2021-10-15 13:52:32.743 UTC [45] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2021-10-15 13:52:32.749 UTC [46] LOG:  database system was shut down at 2021-10-15 13:52:31 UTC
2021-10-15 13:52:32.753 UTC [45] LOG:  database system is ready to accept connections
 done
server started

./ci/init_postgres.sh: running ./ci/sql/setup_postgres.sql
CREATE DATABASE
You are now connected to database "basyx-map" as user "postgres".
CREATE SCHEMA
CREATE DATABASE
You are now connected to database "basyx-directory" as user "postgres".
CREATE SCHEMA
CREATE TABLE
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1


2021-10-15 13:52:33.904 UTC [45] LOG:  received fast shutdown request
waiting for server to shut down....2021-10-15 13:52:33.908 UTC [45] LOG:  aborting any active transactions
2021-10-15 13:52:33.908 UTC [45] LOG:  background worker "logical replication launcher" (PID 52) exited with exit code 1
2021-10-15 13:52:33.909 UTC [47] LOG:  shutting down
2021-10-15 13:52:33.971 UTC [45] LOG:  database system is shut down
 done
server stopped

PostgreSQL init process complete; ready for start up.

+ pg_ctl start
waiting for server to start....2021-10-15 13:52:34.028 UTC [63] LOG:  starting PostgreSQL 14.0 (Debian 14.0-1.pgdg110+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit
2021-10-15 13:52:34.028 UTC [63] LOG:  listening on IPv4 address "0.0.0.0", port 5432
2021-10-15 13:52:34.028 UTC [63] LOG:  listening on IPv6 address "::", port 5432
2021-10-15 13:52:34.032 UTC [63] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2021-10-15 13:52:34.036 UTC [64] LOG:  database system was shut down at 2021-10-15 13:52:33 UTC
2021-10-15 13:52:34.040 UTC [63] LOG:  database system is ready to accept connections
 done
server started
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Java SDK Tests)
[Pipeline] container
[Pipeline] {
[Pipeline] sh
+ mkdir /home/jenkins/agent/.m2
+ chmod +x ./ci/build_java.sh
+ ./ci/build_java.sh
Working directory: /home/jenkins/agent/workspace/Basyx_CI_2
Home: /
No files changed in Java SDK.
Skipping continous integration tests for Java.
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (C++ SDK Tests)
[Pipeline] container
[Pipeline] {
[Pipeline] sh
+ chmod +x ./ci/build_cpp.sh
+ ./ci/build_cpp.sh
No files changed in C++ SDK.
Skipping continous integration tests for C++.
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // podTemplate
[Pipeline] End of Pipeline
Finished: SUCCESS