Started by user Pop Adrian Checking out git git@gitlab.liu.se:OpenModelica/apt-build.git into /var/jenkins_home/workspace/LINUX_BUILDS_script/774335cde2ee91721c4d3a9602bc561368b7238bad469d39685cbed3758a99b0 to read Jenkinsfile Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential Hudson-SSH-Key > git rev-parse --resolve-git-dir /var/jenkins_home/workspace/LINUX_BUILDS_script/774335cde2ee91721c4d3a9602bc561368b7238bad469d39685cbed3758a99b0/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@gitlab.liu.se:OpenModelica/apt-build.git # timeout=10 Cleaning workspace > git rev-parse --verify HEAD # timeout=10 Resetting working tree > git reset --hard # timeout=10 > git clean -fdx # timeout=10 Fetching upstream changes from git@gitlab.liu.se:OpenModelica/apt-build.git > git --version # timeout=10 > git --version # 'git version 2.39.2' using GIT_SSH to set credentials SSH Key for user Hudson > git fetch --tags --force --progress -- git@gitlab.liu.se:OpenModelica/apt-build.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 Checking out Revision f5bf2261a2b0fb22ab51eeb7243e614d7a672f3e (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f f5bf2261a2b0fb22ab51eeb7243e614d7a672f3e # timeout=10 Commit message: "Updated nightly build" > git rev-list --no-walk f5bf2261a2b0fb22ab51eeb7243e614d7a672f3e # timeout=10 Cleaning workspace > git rev-parse --verify HEAD # timeout=10 Resetting working tree > git reset --hard # timeout=10 > git clean -fdx # timeout=10 [Pipeline] Start of Pipeline [Pipeline] properties [Pipeline] node Running on r630-2 in /var/lib/jenkins/ws/LINUX_BUILDS [Pipeline] { [Pipeline] stage [Pipeline] { (checkout) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential Hudson-SSH-Key Fetching changes from the remote Git repository Cleaning workspace Checking out Revision f5bf2261a2b0fb22ab51eeb7243e614d7a672f3e (refs/remotes/origin/master) Commit message: "Updated nightly build" Cleaning workspace [Pipeline] sh + git rev-parse HEAD [Pipeline] echo r630-2 [Pipeline] withDockerRegistry $ docker login -u jenkins-nexus -p ******** https://docker.openmodelica.org > git rev-parse --resolve-git-dir /var/lib/jenkins/ws/LINUX_BUILDS/.git # timeout=10 > git config remote.origin.url git@gitlab.liu.se:OpenModelica/apt-build.git # timeout=10 > git rev-parse --verify HEAD # timeout=10 Resetting working tree > git reset --hard # timeout=10 > git clean -fdx # timeout=10 Fetching upstream changes from git@gitlab.liu.se:OpenModelica/apt-build.git > git --version # timeout=10 > git --version # 'git version 2.34.1' using GIT_SSH to set credentials SSH Key for user Hudson > git fetch --tags --force --progress -- git@gitlab.liu.se:OpenModelica/apt-build.git +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 f5bf2261a2b0fb22ab51eeb7243e614d7a672f3e # timeout=10 > git rev-parse --verify HEAD # timeout=10 Resetting working tree > git reset --hard # timeout=10 > git clean -fdx # timeout=10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /var/lib/jenkins/ws/LINUX_BUILDS_tmp/d885683b-64a5-4778-8f04-17715c2824d6/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded [Pipeline] { [Pipeline] sh + ./update-current-linux-os-releases.py false {'deb-all': ['bookworm', 'bullseye', 'focal', 'jammy', 'mantic', 'noble'], 'deb-arch-os': {'amd64': ['bookworm', 'bullseye', 'focal', 'jammy', 'mantic', 'noble'], 'arm64': ['bookworm', 'bullseye', 'focal', 'jammy', 'noble'], 'armhf': ['bookworm', 'bullseye', 'focal', 'jammy', 'noble'], 'i386': []}, 'deb-lts': ['bookworm', 'bullseye', 'focal', 'jammy', 'noble'], 'deb-old': [], 'docker': {'bookworm': 'debian:bookworm', 'bullseye': 'debian:bullseye', 'el7': 'centos:7', 'el8': 'almalinux:8', 'el9': 'almalinux:9', 'fc39': 'fedora:39', 'fc40': 'fedora:40', 'focal': 'ubuntu:focal', 'jammy': 'ubuntu:jammy', 'mantic': 'ubuntu:mantic', 'noble': 'ubuntu:noble'}, 'eol': {'bookworm': '2026-06-10', 'bullseye': '2024-07-31', 'el7': '2024-06-30', 'el8': '2029-03-01', 'el9': '2032-05-31', 'fc39': '2024-11-12', 'fc40': '2025-05-13', 'focal': '2025-04-02', 'jammy': '2027-04-01', 'mantic': '2024-07-11', 'noble': '2029-04-25'}, 'pkg': {'clang': {'bookworm': '14.0', 'bullseye': '11.0', 'el7': '-', 'el8': '-', 'el9': '-', 'fc39': '-', 'fc40': '-', 'focal': '10.0', 'jammy': '14.0', 'mantic': '16.0', 'noble': '18.0'}, 'cmake': {'bookworm': '3.25.1', 'bullseye': '3.18.4', 'el7': '3.17.5', 'el8': '3.20.2', 'el9': '3.20.2', 'fc39': '3.27.7', 'fc40': '3.28.2', 'focal': '3.16.3', 'jammy': '3.22.1', 'mantic': '3.27.4', 'noble': '3.28.3'}, 'gcc': {'bookworm': '12.2.0', 'bullseye': '10.2.1', 'el7': '11.2.1', 'el8': '8.5.0', 'el9': '11.4.1', 'fc39': '13.2.1', 'fc40': '14.0.1', 'focal': '9.3.0', 'jammy': '11.2.0', 'mantic': '13.2.0', 'noble': '13.2.0'}}, 'rpm': ['el7', 'el8', 'el9', 'fc39', 'fc40']} Not LTS: mantic Not LTS: el7 Not LTS: el8 Not LTS: el9 Not LTS: fc39 Not LTS: fc40 Created current-linux-os-releases.json. Now checking repos. [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] sshagent [ssh-agent] Using credentials hudson (SSH Key for user Hudson) [ssh-agent] Looking for ssh-agent implementation... [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) $ ssh-agent SSH_AUTH_SOCK=/tmp/ssh-XXXXXXVkZngf/agent.3604218 SSH_AGENT_PID=3604220 Running ssh-add (command line suppressed) Identity added: /var/lib/jenkins/ws/LINUX_BUILDS_tmp/private_key_10223513450557422463.key (/var/lib/jenkins/ws/LINUX_BUILDS_tmp/private_key_10223513450557422463.key) [ssh-agent] Started. [Pipeline] { [Pipeline] sh + git add current-linux-os-releases.json + git diff-index --quiet HEAD [Pipeline] } $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 3604220 killed; [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] readJSON [Pipeline] readJSON [Pipeline] sh + wget -q https://build.openmodelica.org/apt/pool/contrib/openmodelica_1.24.0~dev-168-g907b8bd-1.dsc -O- [Pipeline] sshagent [ssh-agent] Using credentials hudson (SSH Key for user Hudson) [ssh-agent] Looking for ssh-agent implementation... [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) $ ssh-agent SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhkMe1T/agent.3604246 SSH_AGENT_PID=3604248 Running ssh-add (command line suppressed) Identity added: /var/lib/jenkins/ws/LINUX_BUILDS_tmp/private_key_14898102052995316043.key (/var/lib/jenkins/ws/LINUX_BUILDS_tmp/private_key_14898102052995316043.key) [ssh-agent] Started. [Pipeline] { [Pipeline] sh + + sshsed hudson@build.openmodelica.org s,/var/www/build.openmodelica.org/apt/pool/contrib-,, find /var/www/build.openmodelica.org/apt/pool/ -name openmodelica_1.24.0~dev-168-g907b8bd-1_*.deb [Pipeline] sh + + sshsed hudson@build.openmodelica.org s,/var/www/build.openmodelica.org/rpm/,, find /var/www/build.openmodelica.org/rpm/ -name openmodelica-*.rpm [Pipeline] } $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 3604248 killed; [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sh + wget -q https://build.openmodelica.org/apt/pool/contrib/openmodelica_1.23.0-1.dsc -O- [Pipeline] sshagent [ssh-agent] Using credentials hudson (SSH Key for user Hudson) [ssh-agent] Looking for ssh-agent implementation... [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) $ ssh-agent SSH_AUTH_SOCK=/tmp/ssh-XXXXXXEZqvOp/agent.3604560 SSH_AGENT_PID=3604562 Running ssh-add (command line suppressed) Identity added: /var/lib/jenkins/ws/LINUX_BUILDS_tmp/private_key_1414999683637241018.key (/var/lib/jenkins/ws/LINUX_BUILDS_tmp/private_key_1414999683637241018.key) [ssh-agent] Started. [Pipeline] { [Pipeline] sh + ssh hudson@build.openmodelica.org find /var/www/build.openmodelica.org/apt/pool/ -name openmodelica_1.23.0-1_*.deb + sed s,/var/www/build.openmodelica.org/apt/pool/contrib-,, [Pipeline] sh + ssh hudson@build.openmodelica.org find+ /var/www/build.openmodelica.org/rpm/ -namesed openmodelica-*.rpm s,/var/www/build.openmodelica.org/rpm/,, [Pipeline] } $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 3604562 killed; [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sh + wget -q https://build.openmodelica.org/apt/pool/contrib/openmodelica_1.23.0~3-g4080a7b-1.dsc -O- [Pipeline] sshagent [ssh-agent] Using credentials hudson (SSH Key for user Hudson) [ssh-agent] Looking for ssh-agent implementation... [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) $ ssh-agent SSH_AUTH_SOCK=/tmp/ssh-XXXXXXGQLOGq/agent.3604696 SSH_AGENT_PID=3604698 Running ssh-add (command line suppressed) Identity added: /var/lib/jenkins/ws/LINUX_BUILDS_tmp/private_key_12007907175792153326.key (/var/lib/jenkins/ws/LINUX_BUILDS_tmp/private_key_12007907175792153326.key) [ssh-agent] Started. [Pipeline] { [Pipeline] sh + ssh hudson@build.openmodelica.org find /var/www/build.openmodelica.org/apt/pool/ -name openmodelica_1.23.0~3-g4080a7b-1_*.deb + sed s,/var/www/build.openmodelica.org/apt/pool/contrib-,, [Pipeline] sh + + ssh hudson@build.openmodelica.orgsed find s,/var/www/build.openmodelica.org/rpm/,, /var/www/build.openmodelica.org/rpm/ -name openmodelica-*.rpm [Pipeline] } $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 3604698 killed; [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo Skipping bookworm/openmodelica_1.24.0~dev-168-g907b8bd-1_amd64.deb (already exists) [Pipeline] echo Skipping bookworm/openmodelica_1.23.0-1_amd64.deb (already exists) [Pipeline] echo Skipping bookworm/openmodelica_1.23.0~3-g4080a7b-1_amd64.deb (already exists) [Pipeline] echo Skipping bullseye/openmodelica_1.24.0~dev-168-g907b8bd-1_amd64.deb (already exists) [Pipeline] echo Skipping bullseye/openmodelica_1.23.0-1_amd64.deb (already exists) [Pipeline] echo Skipping bullseye/openmodelica_1.23.0~3-g4080a7b-1_amd64.deb (already exists) [Pipeline] echo Skipping focal/openmodelica_1.24.0~dev-168-g907b8bd-1_amd64.deb (already exists) [Pipeline] echo Skipping focal/openmodelica_1.23.0-1_amd64.deb (already exists) [Pipeline] echo Skipping focal/openmodelica_1.23.0~3-g4080a7b-1_amd64.deb (already exists) [Pipeline] echo Skipping jammy/openmodelica_1.24.0~dev-168-g907b8bd-1_amd64.deb (already exists) [Pipeline] echo Skipping jammy/openmodelica_1.23.0-1_amd64.deb (already exists) [Pipeline] echo Skipping jammy/openmodelica_1.23.0~3-g4080a7b-1_amd64.deb (already exists) [Pipeline] echo Skipping mantic/openmodelica_1.24.0~dev-168-g907b8bd-1_amd64.deb (already exists) [Pipeline] echo Skipping mantic/openmodelica_1.23.0-1_amd64.deb (already exists) [Pipeline] echo Skipping mantic/openmodelica_1.23.0~3-g4080a7b-1_amd64.deb (already exists) [Pipeline] echo Skipping noble/openmodelica_1.24.0~dev-168-g907b8bd-1_amd64.deb (already exists) [Pipeline] echo Skipping noble/openmodelica_1.23.0-1_amd64.deb (already exists) [Pipeline] echo Skipping noble/openmodelica_1.23.0~3-g4080a7b-1_amd64.deb (already exists) [Pipeline] echo Skipping bookworm/openmodelica_1.24.0~dev-168-g907b8bd-1_armhf.deb (already exists) [Pipeline] echo Skipping bookworm/openmodelica_1.23.0-1_armhf.deb (already exists) [Pipeline] echo Skipping bookworm/openmodelica_1.23.0~3-g4080a7b-1_armhf.deb (already exists) [Pipeline] echo Skipping bullseye/openmodelica_1.24.0~dev-168-g907b8bd-1_armhf.deb (already exists) [Pipeline] echo Skipping bullseye/openmodelica_1.23.0-1_armhf.deb (already exists) [Pipeline] echo Skipping bullseye/openmodelica_1.23.0~3-g4080a7b-1_armhf.deb (already exists) [Pipeline] echo Skipping focal/openmodelica_1.24.0~dev-168-g907b8bd-1_armhf.deb (already exists) [Pipeline] echo Skipping focal/openmodelica_1.23.0-1_armhf.deb (already exists) [Pipeline] echo Skipping focal/openmodelica_1.23.0~3-g4080a7b-1_armhf.deb (already exists) [Pipeline] echo Skipping jammy/openmodelica_1.24.0~dev-168-g907b8bd-1_armhf.deb (already exists) [Pipeline] echo Skipping jammy/openmodelica_1.23.0-1_armhf.deb (already exists) [Pipeline] echo Skipping jammy/openmodelica_1.23.0~3-g4080a7b-1_armhf.deb (already exists) [Pipeline] echo Skipping noble/openmodelica_1.24.0~dev-168-g907b8bd-1_armhf.deb (already exists) [Pipeline] echo Skipping noble/openmodelica_1.23.0-1_armhf.deb (already exists) [Pipeline] echo Skipping noble/openmodelica_1.23.0~3-g4080a7b-1_armhf.deb (already exists) [Pipeline] echo Skipping bookworm/openmodelica_1.24.0~dev-168-g907b8bd-1_arm64.deb (already exists) [Pipeline] echo Skipping bookworm/openmodelica_1.23.0-1_arm64.deb (already exists) [Pipeline] echo Skipping bookworm/openmodelica_1.23.0~3-g4080a7b-1_arm64.deb (already exists) [Pipeline] echo Skipping bullseye/openmodelica_1.24.0~dev-168-g907b8bd-1_arm64.deb (already exists) [Pipeline] echo Skipping bullseye/openmodelica_1.23.0-1_arm64.deb (already exists) [Pipeline] echo Skipping bullseye/openmodelica_1.23.0~3-g4080a7b-1_arm64.deb (already exists) [Pipeline] echo Skipping focal/openmodelica_1.24.0~dev-168-g907b8bd-1_arm64.deb (already exists) [Pipeline] echo Skipping focal/openmodelica_1.23.0-1_arm64.deb (already exists) [Pipeline] echo Skipping focal/openmodelica_1.23.0~3-g4080a7b-1_arm64.deb (already exists) [Pipeline] echo Skipping jammy/openmodelica_1.24.0~dev-168-g907b8bd-1_arm64.deb (already exists) [Pipeline] echo Skipping jammy/openmodelica_1.23.0-1_arm64.deb (already exists) [Pipeline] echo Skipping jammy/openmodelica_1.23.0~3-g4080a7b-1_arm64.deb (already exists) [Pipeline] echo Skipping noble/openmodelica_1.24.0~dev-168-g907b8bd-1_arm64.deb (already exists) [Pipeline] echo Skipping noble/openmodelica_1.23.0-1_arm64.deb (already exists) [Pipeline] echo Skipping noble/openmodelica_1.23.0~3-g4080a7b-1_arm64.deb (already exists) [Pipeline] sh + LC_ALL=C date +%a %b %d %Y [Pipeline] sh + rm -f openmodelica.spec.tpl + wget -q https://raw.githubusercontent.com/OpenModelica/OpenModelicaBuildScripts/master/rpm/SPECS/openmodelica.spec.tpl [Pipeline] readFile [Pipeline] echo Skipping el7/openmodelica-1.18-1.18.1-1.el7.x86_64.rpm (in ignore list) [Pipeline] echo Skipping el7/openmodelica-1.19-1.19.3-1.el7.x86_64.rpm (already exists) [Pipeline] echo Skipping el7/openmodelica-1.20-1.20.0~1~g2faf7aa-1.el7.x86_64.rpm (already exists) [Pipeline] echo Skipping el7/openmodelica-nightly-1.24.0~dev~168~g907b8bd-1.el7.x86_64.rpm (already exists) [Pipeline] echo Skipping el8/openmodelica-1.18-1.18.1-1.el8.x86_64.rpm (already exists) [Pipeline] echo Skipping el8/openmodelica-1.19-1.19.3-1.el8.x86_64.rpm (already exists) [Pipeline] echo Skipping el8/openmodelica-1.20-1.20.0~1~g2faf7aa-1.el8.x86_64.rpm (already exists) [Pipeline] echo Skipping el8/openmodelica-nightly-1.24.0~dev~168~g907b8bd-1.el8.x86_64.rpm (already exists) [Pipeline] echo Skipping el9/openmodelica-1.18-1.18.1-1.el9.x86_64.rpm (in ignore list) [Pipeline] echo Skipping el9/openmodelica-1.19-1.19.3-1.el9.x86_64.rpm (already exists) [Pipeline] echo Skipping el9/openmodelica-1.20-1.20.0~1~g2faf7aa-1.el9.x86_64.rpm (already exists) [Pipeline] echo Skipping el9/openmodelica-nightly-1.24.0~dev~168~g907b8bd-1.el9.x86_64.rpm (already exists) [Pipeline] echo Skipping fc39/openmodelica-1.18-1.18.1-1.fc39.x86_64.rpm (in ignore list) [Pipeline] echo Skipping fc39/openmodelica-1.19-1.19.3-1.fc39.x86_64.rpm (in ignore list) [Pipeline] echo Skipping fc39/openmodelica-1.20-1.20.0~1~g2faf7aa-1.fc39.x86_64.rpm (in ignore list) [Pipeline] echo NOT skipping fc39/openmodelica-nightly-1.24.0~dev~168~g907b8bd-1.fc39.x86_64.rpm (not existing or in the ignore list) [Pipeline] echo Skipping fc40/openmodelica-1.18-1.18.1-1.fc40.x86_64.rpm (in ignore list) [Pipeline] echo Skipping fc40/openmodelica-1.19-1.19.3-1.fc40.x86_64.rpm (in ignore list) [Pipeline] echo Skipping fc40/openmodelica-1.20-1.20.0~1~g2faf7aa-1.fc40.x86_64.rpm (in ignore list) [Pipeline] echo Skipping fc40/openmodelica-nightly-1.24.0~dev~168~g907b8bd-1.fc40.x86_64.rpm (already exists) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // node [Pipeline] stage [Pipeline] { (build-dep) [Pipeline] echo Skipping build dependencies (user's choice) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (build) [Pipeline] parallel [Pipeline] { (Branch: fc39 nightly) [Pipeline] timeout Timeout set to expire in 14 hr [Pipeline] { [Pipeline] node Running on r7945-1 in /var/lib/jenkins/ws/LINUX_BUILDS [Pipeline] { [Pipeline] wrap [Pipeline] { [Pipeline] echo r7945-1 [Pipeline] sh + rm -rf rpmbuild [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh + docker pull docker.openmodelica.org/build-deps:fc39.amd64 fc39.amd64: Pulling from build-deps 8237fce9fd6b: Pulling fs layer fe4b4be8196e: Pulling fs layer c709ba2d7e08: Pulling fs layer fe4b4be8196e: Verifying Checksum fe4b4be8196e: Download complete 8237fce9fd6b: Verifying Checksum 8237fce9fd6b: Download complete 8237fce9fd6b: Pull complete fe4b4be8196e: Pull complete c709ba2d7e08: Verifying Checksum c709ba2d7e08: Download complete c709ba2d7e08: Pull complete Digest: sha256:4d26e29e9afcfbfa3ece682956a77f6e2f79e01a7531bd4ca73b63aefeec3b55 Status: Downloaded newer image for docker.openmodelica.org/build-deps:fc39.amd64 docker.openmodelica.org/build-deps:fc39.amd64 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh + docker inspect -f . docker.openmodelica.org/build-deps:fc39.amd64 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer r7945-1 does not seem to be running inside a container $ docker run -t -d -u 1001:1001 --privileged -w /var/lib/jenkins/ws/LINUX_BUILDS -v /var/lib/jenkins/ws/LINUX_BUILDS:/var/lib/jenkins/ws/LINUX_BUILDS:rw,z -v /var/lib/jenkins/ws/LINUX_BUILDS_tmp:/var/lib/jenkins/ws/LINUX_BUILDS_tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** docker.openmodelica.org/build-deps:fc39.amd64 cat [Pipeline] { [Pipeline] sh + cat /var/lib/openmodelica-depends/openmodelica.spec.tpl [Pipeline] echo # See also Jenkinsfile in apt-build repository for stuff that is installed BEFORE everything here # Don't try fancy stuff like debuginfo, which is useless on binary-only # packages. Don't strip binary too # Be sure buildpolicy set to do nothing %define __spec_install_post %{nil} %define debug_package %{nil} %define __os_install_post %{_dbpath}/brp-compress Summary: OpenModelica Name: openmodelica-nightly Version: 1.24.0~dev~168~g907b8bd Release: 1%{?dist} License: OSMC-PL Group: Development/Tools # spectool -g -R SPECS/xxx.spec # sudo yum-builddep SPECS/xxx.spec SOURCE0 : https://build.openmodelica.org/apt/pool/contrib/openmodelica_1.24.0~dev-168-g907b8bd.orig.tar.xz SOURCE1 : https://openmodelica.org/doc/openmodelica-doc-latest.tar.xz URL: https://openmodelica.org/ %if 0%{?rhel} == 6 Autoreq: 0 Requires: readline Requires: qt5-qtbase Requires: qt5-qtsvg Requires: qt5-qtwebkit Requires: qt5-qtxmlpatterns Requires: libffi %endif Autoprov: 0 Prefix: /opt/%{name} Prefix: %{_bindir} %global __requires_exclude ^(lib.*Modelica.*|lib[oO][mM][^n].*[.]so.*|libklu[.]so.*|libsuitesparseconfig[.]so.*|libqjson[.]so.*|libfmi.*[.]so.*|libumfpack[.]so.*|libamd[.]so.*|libzlib[.]so.*|libbtf[.]so.*|libcminpack[.]so.*|libcoinmumps[.]so.*|libipopt[.]so.*|liblis[.]so.*|/usr/bin/python|libzmq[.]so.*|libtf[.]so.*|libcolamd[.]so.*|libsundials.*)$ # Recommended (for the repo): git rpm-build rpmdevtools epel-release %if 0%{?rhel} > 0 # CentOS / RHEL requires the EPEL repository (for omniORB, etc) BuildRequires: epel-release Requires: epel-release %endif Requires: lapack-devel Requires: make Requires: gcc Requires: gcc-gfortran Requires: gcc-c++ BuildRequires: automake %if 0%{?rhel} >= 8 %define withomniorb --without-omniORB %else %define withomniorb --with-omniORB BuildRequires: omniORB-devel BuildRequires: lpsolve-devel %endif BuildRequires: expat-devel BuildRequires: bison BuildRequires: flex BuildRequires: lapack-devel BuildRequires: libtool BuildRequires: uuid BuildRequires: uuid-devel BuildRequires: hdf5-devel BuildRequires: boost-devel BuildRequires: boost-static BuildRequires: hwloc-devel BuildRequires: readline-devel BuildRequires: libffi-devel BuildRequires: curl-devel BuildRequires: gettext BuildRequires: make BuildRequires: java BuildRequires: tar BuildRequires: xz BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: gcc-gfortran BuildRequires: qt5-qtwebkit-devel BuildRequires: qt5-linguist BuildRequires: qt5-qttools BuildRequires: qt5-qtbase-devel BuildRequires: qt5-qtsvg-devel %if 0%{?rhel} >= 7 BuildRequires: qt5-qt3d-devel %endif BuildRequires: qt5-qtxmlpatterns-devel # Use cmake versions > 3. On EL7 this is provided by cmake3 package. # On EL > 7 it is just cmake. %if 0%{?rhel} == 7 BuildRequires: cmake3 %define cmakecommand CMAKE=cmake3 %else BuildRequires: cmake %define cmakecommand CMAKE=cmake %endif # The base centos:8 image (we use for our build-deps:el8 image) comes with # broken cmake package due to old libarchive (v3.3.2). v3.3.3 Seems to work. # Once the base image is updated this can be removed. %if 0%{?rhel} == 8 BuildRequires: libarchive >= 3.3.3 %endif # Use gcc-11 on EL8 as well. devtoolset does not seem to be available on # EL8. One is supposed to use gcc-toolset instead. %{?el8:Requires: gcc-toolset-11-gcc gcc-toolset-11-gcc-c++ gcc-toolset-11-gcc-gfortran} %if 0%{?rhel} == 8 BuildRequires: gcc-toolset-11-gcc gcc-toolset-11-gcc-c++ gcc-toolset-11-gcc-gfortran %define devtoolsconfigureflags CC=/opt/rh/gcc-toolset-11/root/usr/bin/gcc CXX=/opt/rh/gcc-toolset-11/root/usr/bin/g++ FC=/opt/rh/gcc-toolset-11/root/usr/bin/gfortran AS=/opt/rh/gcc-toolset-11/root/usr/bin/as %endif # EL7 has -static-libstdc++ inside devtools (but the system g++ doesn't know the flag) -- adrpo: check this, also for el6 %{?el7:Requires: devtoolset-11-gcc} %{?el7:Requires: devtoolset-11-gcc-c++} %{?el7:Requires: devtoolset-11-gcc-gfortran} %if 0%{?rhel} <= 7 && 0%{?rhel} >= 1 BuildRequires: devtoolset-11-gcc devtoolset-11-gcc-c++ devtoolset-11-gcc-gfortran %define devtoolsconfigureflags CC=/opt/rh/devtoolset-11/root/usr/bin/gcc CXX=/opt/rh/devtoolset-11/root/usr/bin/g++ FC=/opt/rh/devtoolset-11/root/usr/bin/gfortran %endif %if 0%{?fedora} >= 25 BuildRequires: OpenSceneGraph-devel %endif # We should use clang, but OMEdit doesn't compile with it due to odd default qmake flags Requires: gcc Requires: gcc-c++ Requires: lapack-devel Requires(post): %{_sbindir}/update-alternatives Requires(postun): %{_sbindir}/update-alternatives # CentOS doesn't have suggests %if 0%{?fedora} >= 24 || 0%{?rhel} >= 8 Suggests: boost-devel Suggests: boost-static Suggests: lapack-static Suggests: openblas-static %else Requires: boost-devel Requires: boost-static %endif BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root %description %{summary} %prep %setup -q -n openmodelica_1.24.0~dev-168-g907b8bd tar xJf %{_sourcedir}/openmodelica-doc-latest.tar.xz %if 0%{?rhel} <= 7 && 0%{?rhel} >= 1 source /opt/rh/devtoolset-11/enable %endif %if 0%{?rhel} == 8 source /opt/rh/gcc-toolset-11/enable %endif autoreconf --install ./configure CFLAGS="-Os" CXXFLAGS="-Os" QTDIR=/usr/%{_lib}/qt5/ %{withomniorb} %{?devtoolsconfigureflags} --without-omc --prefix=/opt/%{name} --without-omlibrary %{cmakecommand} %build %if 0%{?rhel} <= 7 && 0%{?rhel} >= 1 source /opt/rh/devtoolset-11/enable %endif %if 0%{?rhel} == 8 source /opt/rh/gcc-toolset-11/enable %endif make -j8 test ! -f libraries/install-index.json || make -j8 omlibrary %install rm -rf %{buildroot} make install DESTDIR="%{buildroot}" mkdir -p %{buildroot}/opt/%{name}/lib/ %{buildroot}/opt/%{name}/share/doc/omc/ %{buildroot}%{_bindir} ln -s /usr/lib/omlibrary %{buildroot}/opt/%{name}/lib/ ln -s /opt/%{name}/bin/omc %{buildroot}%{_bindir}/omc-nightly ln -s /opt/%{name}/bin/OMEdit %{buildroot}%{_bindir}/OMEdit-nightly ln -s /opt/%{name}/bin/OMShell %{buildroot}%{_bindir}/OMShell-nightly ln -s /opt/%{name}/bin/OMShell-terminal %{buildroot}%{_bindir}/OMShell-terminal-nightly ln -s /opt/%{name}/bin/OMNotebook %{buildroot}%{_bindir}/OMNotebook-nightly ln -s /opt/%{name}/bin/OMPlot %{buildroot}%{_bindir}/OMPlot-nightly touch %{buildroot}%{_bindir}/omc touch %{buildroot}%{_bindir}/OMEdit touch %{buildroot}%{_bindir}/OMShell touch %{buildroot}%{_bindir}/OMShell-terminal touch %{buildroot}%{_bindir}/OMNotebook touch %{buildroot}%{_bindir}/OMPlot cp -a openmodelica-doc*/* %{buildroot}/opt/%{name}/share/doc/omc/ %postun if [ "$1" -ge "1" ]; then if [ "`readlink %{_sysconfdir}/alternatives/openmodelica`" == "%{_bindir}/omc-nightly" ]; then %{_sbindir}/alternatives --set openmodelica %{_bindir}/omc-nightly fi fi %post %{_sbindir}/update-alternatives --install %{_bindir}/omc openmodelica %{_bindir}/omc-nightly 1018000 \ --slave %{_bindir}/OMEdit openmodelica-OMEdit %{_bindir}/OMEdit-nightly \ --slave %{_bindir}/OMShell openmodelica-OMShell %{_bindir}/OMShell-nightly \ --slave %{_bindir}/OMShell-terminal openmodelica-OMShell-terminal %{_bindir}/OMShell-terminal-nightly \ --slave %{_bindir}/OMNotebook openmodelica-OMNotebook %{_bindir}/OMNotebook-nightly \ --slave %{_bindir}/OMPlot openmodelica-OMPlot %{_bindir}/OMPlot-nightly %preun if [ $1 = 0 ]; then %{_sbindir}/update-alternatives --remove openmodelica %{_bindir}/omc-nightly fi %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) /opt/%{name}/* %{_bindir}/*-nightly %ghost %{_bindir}/omc %ghost %{_bindir}/OMEdit %ghost %{_bindir}/OMShell %ghost %{_bindir}/OMShell-terminal %ghost %{_bindir}/OMNotebook %ghost %{_bindir}/OMPlot %changelog * Tue Jun 25 2024 OpenModelica ${version}-1 - First Build [Pipeline] writeFile [Pipeline] sh + mkdir -p rpmbuild/SOURCES rpmbuild/SRPMS rpmbuild/RPMS [Pipeline] sh + HOME=/var/lib/jenkins/ws/LINUX_BUILDS + spectool -g -R openmodelica.spec N/A% of 59.1 MiB | | Elapsed Time: 0:00:00 ETA: --:--:-- 1% of 59.1 MiB | | Elapsed Time: 0:00:00 ETA: 00:00:00 11% of 59.1 MiB |## | Elapsed Time: 0:00:00 ETA: 0:00:00 $ docker top 7f24c211f57684741695e10b720a142baf8a8065765e4694dea4bfb691248c97 -eo pid,comm 21% of 59.1 MiB |#### | Elapsed Time: 0:00:00 ETA: 0:00:00 31% of 59.1 MiB |###### | Elapsed Time: 0:00:00 ETA: 0:00:00 40% of 59.1 MiB |######## | Elapsed Time: 0:00:00 ETA: 0:00:00 50% of 59.1 MiB |########### | Elapsed Time: 0:00:00 ETA: 0:00:00 60% of 59.1 MiB |############# | Elapsed Time: 0:00:00 ETA: 0:00:00 70% of 59.1 MiB |############### | Elapsed Time: 0:00:00 ETA: 0:00:00 81% of 59.1 MiB |################# | Elapsed Time: 0:00:00 ETA: 0:00:00 91% of 59.1 MiB |#################### | Elapsed Time: 0:00:00 ETA: 0:00:00 100% of 59.1 MiB |######################| Elapsed Time: 0:00:00 Time: 0:00:00 N/A% of 10.6 MiB | | Elapsed Time: 0:00:00 ETA: --:--:-- 45% of 10.6 MiB |########## | Elapsed Time: 0:00:00 ETA: 00:00:00 98% of 10.6 MiB |##################### | Elapsed Time: 0:00:00 ETA: 0:00:00 100% of 10.6 MiB |######################| Elapsed Time: 0:00:00 Time: 0:00:00 Downloading: https://build.openmodelica.org/apt/pool/contrib/openmodelica_1.24.0~dev-168-g907b8bd.orig.tar.xz Downloaded: openmodelica_1.24.0~dev-168-g907b8bd.orig.tar.xz Downloading: https://openmodelica.org/doc/openmodelica-doc-latest.tar.xz Downloaded: openmodelica-doc-latest.tar.xz [Pipeline] sh + export HOME=/var/lib/jenkins/ws/LINUX_BUILDS + HOME=/var/lib/jenkins/ws/LINUX_BUILDS + rpmbuild --define 'dist .fc39' -ba openmodelica.spec [Pipeline] sh + find /var/lib/jenkins/ws/LINUX_BUILDS -name '*.rpm' /var/lib/jenkins/ws/LINUX_BUILDS/rpmbuild/RPMS/x86_64/openmodelica-nightly-1.24.0~dev~168~g907b8bd-1.fc39.x86_64.rpm /var/lib/jenkins/ws/LINUX_BUILDS/rpmbuild/SRPMS/openmodelica-nightly-1.24.0~dev~168~g907b8bd-1.fc39.src.rpm [Pipeline] } $ docker stop --time=1 7f24c211f57684741695e10b720a142baf8a8065765e4694dea4bfb691248c97 [Pipeline] // withDockerContainer [Pipeline] sh + find /var/lib/jenkins/ws/LINUX_BUILDS -name *.rpm /var/lib/jenkins/ws/LINUX_BUILDS/rpmbuild/RPMS/x86_64/openmodelica-nightly-1.24.0~dev~168~g907b8bd-1.fc39.x86_64.rpm /var/lib/jenkins/ws/LINUX_BUILDS/rpmbuild/SRPMS/openmodelica-nightly-1.24.0~dev~168~g907b8bd-1.fc39.src.rpm [Pipeline] echo FROM docker.openmodelica.org/build-deps:fc39.amd64 COPY rpmbuild/RPMS/x86_64/openmodelica-nightly-1.24.0~dev~168~g907b8bd-1.fc39.x86_64.rpm /root RUN rpm -i /root/openmodelica-nightly-1.24.0~dev~168~g907b8bd-1.fc39.x86_64.rpm [Pipeline] writeFile [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh + docker build -t rpm-build-tmp . DEPRECATED: The legacy builder is deprecated and will be removed in a future release. Install the buildx component to build images with BuildKit: https://docs.docker.com/go/buildx/ Sending build context to Docker daemon 258.7MB Step 1/3 : FROM docker.openmodelica.org/build-deps:fc39.amd64 ---> 80d44c85c12b Step 2/3 : COPY rpmbuild/RPMS/x86_64/openmodelica-nightly-1.24.0~dev~168~g907b8bd-1.fc39.x86_64.rpm /root $ docker rm -f --volumes 7f24c211f57684741695e10b720a142baf8a8065765e4694dea4bfb691248c97 ---> 0dabb0fdc77d Step 3/3 : RUN rpm -i /root/openmodelica-nightly-1.24.0~dev~168~g907b8bd-1.fc39.x86_64.rpm ---> Running in a1cabf49d60a Removing intermediate container a1cabf49d60a ---> ea39d0be40ea Successfully built ea39d0be40ea Successfully tagged rpm-build-tmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] withCredentials Masking supported pattern matches of $identity [Pipeline] { [Pipeline] findFiles [Pipeline] sh + wget --spider -q https://build.openmodelica.org/rpm/fc39/openmodelica-nightly-1.24.0~dev~168~g907b8bd-1.fc39.x86_64.rpm + echo fail [Pipeline] sshPut Sending a file/directory to build[build.openmodelica.org]: from: /var/lib/jenkins/ws/LINUX_BUILDS/rpmbuild/RPMS/x86_64/openmodelica-nightly-1.24.0~dev~168~g907b8bd-1.fc39.x86_64.rpm into: /var/www/build.openmodelica.org/rpm/fc39/ [Pipeline] sh + wget --spider -q https://build.openmodelica.org/rpm/fc39/openmodelica-nightly-1.24.0~dev~168~g907b8bd-1.fc39.src.rpm + echo fail [Pipeline] sshPut [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // wrap [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (release) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (www-api-json) [Pipeline] node Running on r630-2 in /var/lib/jenkins/ws/LINUX_BUILDS [Pipeline] { [Pipeline] git The recommended git tool is: git using credential Hudson-SSH-Key Fetching changes from the remote Git repository Sending a file/directory to build[build.openmodelica.org]: from: /var/lib/jenkins/ws/LINUX_BUILDS/rpmbuild/SRPMS/openmodelica-nightly-1.24.0~dev~168~g907b8bd-1.fc39.src.rpm into: /var/www/build.openmodelica.org/rpm/fc39/ > git rev-parse --resolve-git-dir /var/lib/jenkins/ws/LINUX_BUILDS/.git # timeout=10 > git config remote.origin.url git@github.com:OpenModelica/www.openmodelica.org.git # timeout=10 Fetching upstream changes from git@github.com:OpenModelica/www.openmodelica.org.git > git --version # timeout=10 > git --version # 'git version 2.34.1' using GIT_SSH to set credentials SSH Key for user Hudson > git fetch --tags --force --progress -- git@github.com:OpenModelica/www.openmodelica.org.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 57c594d3c8cff68eee36526aac9f138c97dc5427 (refs/remotes/origin/main) Commit message: "Updated Linux versions in the JSON" > git rev-parse refs/remotes/origin/main^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 57c594d3c8cff68eee36526aac9f138c97dc5427 # timeout=10 > git branch -a -v --no-abbrev # timeout=10 > git branch -D main # timeout=10 > git checkout -b main 57c594d3c8cff68eee36526aac9f138c97dc5427 # timeout=10 > git rev-list --no-walk 57c594d3c8cff68eee36526aac9f138c97dc5427 # timeout=10 [Pipeline] sh + git remote -v + grep www.openmodelica.org origin git@github.com:OpenModelica/www.openmodelica.org.git (fetch) origin git@github.com:OpenModelica/www.openmodelica.org.git (push) [Pipeline] writeFile [Pipeline] sh + git add static/api/linux.json [Pipeline] sshagent [ssh-agent] Using credentials hudson (SSH Key for user Hudson) [ssh-agent] Looking for ssh-agent implementation... [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) $ ssh-agent SSH_AUTH_SOCK=/tmp/ssh-XXXXXX7in6n9/agent.3615697 SSH_AGENT_PID=3615699 Running ssh-add (command line suppressed) Identity added: /var/lib/jenkins/ws/LINUX_BUILDS_tmp/private_key_9678481558114147249.key (/var/lib/jenkins/ws/LINUX_BUILDS_tmp/private_key_9678481558114147249.key) [ssh-agent] Started. [Pipeline] { [Pipeline] sh + git diff-index --quiet HEAD + git config user.email openmodelica@ida.liu.se + git config user.name OpenModelica Hudson + git commit -m Updated Linux versions in the JSON [main 9bec6b4c] Updated Linux versions in the JSON 1 file changed, 1 insertion(+), 1 deletion(-) + GIT_SSH_COMMAND=ssh -o StrictHostKeyChecking=no git push --set-upstream origin main remote: Bypassed rule violations for refs/heads/main: remote: remote: - Changes must be made through a pull request. remote: remote: - Required status check "continuous-integration/jenkins/pr-merge" is expected. remote: To github.com:OpenModelica/www.openmodelica.org.git 57c594d3..9bec6b4c main -> main Branch 'main' set up to track remote branch 'main' from 'origin'. [Pipeline] } $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 3615699 killed; [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (buildVM) [Pipeline] node Running on r630-2 in /var/lib/jenkins/ws/LINUX_BUILDS [Pipeline] { [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential Hudson-SSH-Key Fetching changes from the remote Git repository Cleaning workspace Checking out Revision f5bf2261a2b0fb22ab51eeb7243e614d7a672f3e (refs/remotes/origin/master) Commit message: "Updated nightly build" Cleaning workspace [Pipeline] sh + git checkout -f f5bf2261a2b0fb22ab51eeb7243e614d7a672f3e HEAD is now at f5bf2261 Updated nightly build [Pipeline] fileExists [Pipeline] sh > git rev-parse --resolve-git-dir /var/lib/jenkins/ws/LINUX_BUILDS/.git # timeout=10 > git config remote.origin.url git@gitlab.liu.se:OpenModelica/apt-build.git # timeout=10 > git rev-parse --verify HEAD # timeout=10 Resetting working tree > git reset --hard # timeout=10 > git clean -fdx # timeout=10 Fetching upstream changes from git@gitlab.liu.se:OpenModelica/apt-build.git > git --version # timeout=10 > git --version # 'git version 2.34.1' using GIT_SSH to set credentials SSH Key for user Hudson > git fetch --tags --force --progress -- git@gitlab.liu.se:OpenModelica/apt-build.git +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 f5bf2261a2b0fb22ab51eeb7243e614d7a672f3e # timeout=10 > git rev-parse --verify HEAD # timeout=10 Resetting working tree > git reset --hard # timeout=10 > git clean -fdx # timeout=10 + cat /etc/fstab # /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5). # # # / was on /dev/ubuntu-vg/ubuntu-lv during curtin installation /dev/disk/by-id/dm-uuid-LVM-Tokab4BBdscvtsLRbubqfY4bXiYWpbDBNSc3iT1SaO8gqsfiGFbEcWT4e8AZrzIz / ext4 defaults 0 1 # /boot was on /dev/sde2 during curtin installation /dev/disk/by-uuid/39585fc8-6542-46fb-b003-fbb004190f60 /boot ext4 defaults 0 1 #/swap.img none swap sw 0 0 /var/www/build.openmodelica.org/virtual_machines/tmp-build/tmp.raw /var/www/build.openmodelica.org/virtual_machines/tmp-build/root ext4 noauto,offset=257949696,users,exec,dev 0 2 /var/www/build.openmodelica.org/virtual_machines/tmp-build/cache /var/www/build.openmodelica.org/virtual_machines/tmp-build/root/home/openmodelica/.openmodelica/cache none noauto,bind,users 0 2 [Pipeline] sh + sudo umount -l /var/www/build.openmodelica.org/virtual_machines/tmp-build/root/home/openmodelica/.openmodelica/cache umount: /var/www/build.openmodelica.org/virtual_machines/tmp-build/root/home/openmodelica/.openmodelica/cache: no mount point specified. + true [Pipeline] sh + sudo umount -l /var/www/build.openmodelica.org/virtual_machines/tmp-build/root/proc umount: /var/www/build.openmodelica.org/virtual_machines/tmp-build/root/proc: not mounted. + true [Pipeline] sh + sudo umount -l /var/www/build.openmodelica.org/virtual_machines/tmp-build/root umount: /var/www/build.openmodelica.org/virtual_machines/tmp-build/root: not mounted. + true [Pipeline] sh + rm -f /var/www/build.openmodelica.org/virtual_machines/tmp-build/tmp.raw /var/www/build.openmodelica.org/virtual_machines/tmp-build/tmp.vdi [Pipeline] sh + vboxmanage list vms + grep inaccessible + grep -o {.*} + tr -d {} [Pipeline] sh + vboxmanage list hdds + grep ^UUID: + sed s/ */ / + cut -d -f2 + vboxmanage closemedium disk bce00fc3-7000-4342-92c5-51fb241e3ef4 + vboxmanage closemedium disk 97644eeb-3180-4206-b251-9b36c6d4be6c [Pipeline] sh + VBoxManage clonehd /var/www/build.openmodelica.org/virtual_machines/base_image/OpenModelicaUbuntu22.04.vdi /var/www/build.openmodelica.org/virtual_machines/tmp-build/tmp.raw --format RAW 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100% Clone medium created in format 'RAW'. UUID: 4dce6150-3899-4c37-855c-fb3317cae230 [Pipeline] sh + mount /var/www/build.openmodelica.org/virtual_machines/tmp-build/root [Pipeline] sh + sudo chroot /var/www/build.openmodelica.org/virtual_machines/tmp-build/root su -l openmodelica -c mkdir -p /home/openmodelica/.openmodelica/cache [Pipeline] sh + sudo mount /var/www/build.openmodelica.org/virtual_machines/tmp-build/root/home/openmodelica/.openmodelica/cache [Pipeline] sh + sudo mount -t proc none /var/www/build.openmodelica.org/virtual_machines/tmp-build/root/proc [Pipeline] sh + sudo chroot /var/www/build.openmodelica.org/virtual_machines/tmp-build/root sh -c echo nameserver 8.8.8.8 > /etc/resolv.conf [Pipeline] sh + sudo chroot /var/www/build.openmodelica.org/virtual_machines/tmp-build/root apt-get update Hit:1 http://se.archive.ubuntu.com/ubuntu jammy InRelease Get:2 http://se.archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB] Get:3 http://se.archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB] Get:4 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB] Get:5 http://se.archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [1,736 kB] Get:6 http://se.archive.ubuntu.com/ubuntu jammy-updates/main i386 Packages [643 kB] Get:7 http://se.archive.ubuntu.com/ubuntu jammy-updates/main Translation-en [319 kB] Get:8 http://se.archive.ubuntu.com/ubuntu jammy-updates/main amd64 DEP-11 Metadata [103 kB] Get:9 http://se.archive.ubuntu.com/ubuntu jammy-updates/main DEP-11 48x48 Icons [37.5 kB] Get:10 http://se.archive.ubuntu.com/ubuntu jammy-updates/main DEP-11 64x64 Icons [56.8 kB] Get:11 http://se.archive.ubuntu.com/ubuntu jammy-updates/main amd64 c-n-f Metadata [16.1 kB] Get:12 http://se.archive.ubuntu.com/ubuntu jammy-updates/restricted i386 Packages [38.9 kB] Get:13 http://se.archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [2,000 kB] Get:14 http://se.archive.ubuntu.com/ubuntu jammy-updates/restricted Translation-en [340 kB] Get:15 http://se.archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 DEP-11 Metadata [212 B] Get:16 http://se.archive.ubuntu.com/ubuntu jammy-updates/restricted DEP-11 48x48 Icons [29 B] Get:17 http://se.archive.ubuntu.com/ubuntu jammy-updates/restricted DEP-11 64x64 Icons [29 B] Get:18 http://se.archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 c-n-f Metadata [520 B] Get:19 http://se.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1,088 kB] Get:20 http://se.archive.ubuntu.com/ubuntu jammy-updates/universe i386 Packages [708 kB] Get:21 http://se.archive.ubuntu.com/ubuntu jammy-updates/universe Translation-en [251 kB] Get:22 http://se.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 DEP-11 Metadata [341 kB] Get:23 http://se.archive.ubuntu.com/ubuntu jammy-updates/universe DEP-11 48x48 Icons [227 kB] Get:24 http://se.archive.ubuntu.com/ubuntu jammy-updates/universe DEP-11 64x64 Icons [364 kB] Get:25 http://se.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 c-n-f Metadata [22.1 kB] Get:26 http://se.archive.ubuntu.com/ubuntu jammy-updates/multiverse i386 Packages [4,744 B] Get:27 http://se.archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages [43.3 kB] Get:28 http://se.archive.ubuntu.com/ubuntu jammy-updates/multiverse Translation-en [10.8 kB] Get:29 http://se.archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 DEP-11 Metadata [940 B] Get:30 http://se.archive.ubuntu.com/ubuntu jammy-updates/multiverse DEP-11 48x48 Icons [1,867 B] Get:31 http://se.archive.ubuntu.com/ubuntu jammy-updates/multiverse DEP-11 64x64 Icons [2,497 B] Get:32 http://se.archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 c-n-f Metadata [472 B] Get:33 http://se.archive.ubuntu.com/ubuntu jammy-backports/main i386 Packages [59.3 kB] Get:34 http://se.archive.ubuntu.com/ubuntu jammy-backports/main amd64 Packages [67.1 kB] Get:35 http://se.archive.ubuntu.com/ubuntu jammy-backports/main Translation-en [11.0 kB] Get:36 http://se.archive.ubuntu.com/ubuntu jammy-backports/main amd64 DEP-11 Metadata [6,772 B] Get:37 http://se.archive.ubuntu.com/ubuntu jammy-backports/main DEP-11 48x48 Icons [16.1 kB] Get:38 http://se.archive.ubuntu.com/ubuntu jammy-backports/main DEP-11 64x64 Icons [21.3 kB] Get:39 http://se.archive.ubuntu.com/ubuntu jammy-backports/main amd64 c-n-f Metadata [388 B] Get:40 http://se.archive.ubuntu.com/ubuntu jammy-backports/restricted amd64 DEP-11 Metadata [212 B] Get:41 http://se.archive.ubuntu.com/ubuntu jammy-backports/restricted DEP-11 48x48 Icons [29 B] Get:42 http://se.archive.ubuntu.com/ubuntu jammy-backports/restricted DEP-11 64x64 Icons [29 B] Get:43 http://se.archive.ubuntu.com/ubuntu jammy-backports/universe amd64 Packages [27.2 kB] Get:44 http://se.archive.ubuntu.com/ubuntu jammy-backports/universe i386 Packages [16.0 kB] Get:45 http://se.archive.ubuntu.com/ubuntu jammy-backports/universe Translation-en [16.3 kB] Get:46 http://se.archive.ubuntu.com/ubuntu jammy-backports/universe amd64 DEP-11 Metadata [21.1 kB] Get:47 http://se.archive.ubuntu.com/ubuntu jammy-backports/universe DEP-11 48x48 Icons [15.7 kB] Get:48 http://se.archive.ubuntu.com/ubuntu jammy-backports/universe DEP-11 64x64 Icons [25.6 kB] Get:49 http://se.archive.ubuntu.com/ubuntu jammy-backports/universe amd64 c-n-f Metadata [644 B] Get:50 http://se.archive.ubuntu.com/ubuntu jammy-backports/multiverse amd64 DEP-11 Metadata [212 B] Get:51 http://se.archive.ubuntu.com/ubuntu jammy-backports/multiverse DEP-11 48x48 Icons [29 B] Get:52 http://se.archive.ubuntu.com/ubuntu jammy-backports/multiverse DEP-11 64x64 Icons [29 B] Get:53 http://security.ubuntu.com/ubuntu jammy-security/main i386 Packages [486 kB] Get:54 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [1,526 kB] Get:55 http://security.ubuntu.com/ubuntu jammy-security/main Translation-en [261 kB] Get:56 http://security.ubuntu.com/ubuntu jammy-security/main amd64 DEP-11 Metadata [43.2 kB] Get:57 http://security.ubuntu.com/ubuntu jammy-security/main DEP-11 48x48 Icons [16.9 kB] Get:58 http://security.ubuntu.com/ubuntu jammy-security/main DEP-11 64x64 Icons [26.5 kB] Get:59 http://security.ubuntu.com/ubuntu jammy-security/main amd64 c-n-f Metadata [11.4 kB] Get:60 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [1,937 kB] Get:61 http://security.ubuntu.com/ubuntu jammy-security/restricted i386 Packages [36.5 kB] Get:62 http://security.ubuntu.com/ubuntu jammy-security/restricted Translation-en [330 kB] Get:63 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 DEP-11 Metadata [208 B] Get:64 http://security.ubuntu.com/ubuntu jammy-security/restricted DEP-11 48x48 Icons [29 B] Get:65 http://security.ubuntu.com/ubuntu jammy-security/restricted DEP-11 64x64 Icons [29 B] Get:66 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 c-n-f Metadata [520 B] Get:67 http://security.ubuntu.com/ubuntu jammy-security/universe i386 Packages [608 kB] Get:68 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [860 kB] Get:69 http://security.ubuntu.com/ubuntu jammy-security/universe Translation-en [167 kB] Get:70 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 DEP-11 Metadata [89.2 kB] Get:71 http://security.ubuntu.com/ubuntu jammy-security/universe DEP-11 48x48 Icons [41.0 kB] Get:72 http://security.ubuntu.com/ubuntu jammy-security/universe DEP-11 64x64 Icons [62.8 kB] Get:73 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 c-n-f Metadata [16.8 kB] Get:74 http://security.ubuntu.com/ubuntu jammy-security/multiverse i386 Packages [1,356 B] Get:75 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 Packages [37.2 kB] Get:76 http://security.ubuntu.com/ubuntu jammy-security/multiverse Translation-en [7,588 B] Get:77 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 DEP-11 Metadata [208 B] Get:78 http://security.ubuntu.com/ubuntu jammy-security/multiverse DEP-11 48x48 Icons [29 B] Get:79 http://security.ubuntu.com/ubuntu jammy-security/multiverse DEP-11 64x64 Icons [29 B] Get:80 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 c-n-f Metadata [260 B] Fetched 15.6 MB in 2s (6,964 kB/s) Reading package lists... [Pipeline] sh + sudo chroot /var/www/build.openmodelica.org/virtual_machines/tmp-build/root apt-get install -qyy ca-certificates curl gnupg lsb-release Reading package lists... Building dependency tree... Reading state information... lsb-release is already the newest version (11.1.0ubuntu4). lsb-release set to manually installed. The following additional packages will be installed: dirmngr gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf gpgsm gpgv libcurl4 Suggested packages: tor parcimonie xloadimage scdaemon The following NEW packages will be installed: curl The following packages will be upgraded: ca-certificates dirmngr gnupg gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf gpgsm gpgv libcurl4 13 upgraded, 1 newly installed, 0 to remove and 420 not upgraded. Need to get 2,885 kB of archives. After this operation, 479 kB of additional disk space will be used. Get:1 http://se.archive.ubuntu.com/ubuntu jammy-updates/main amd64 gpg-wks-client amd64 2.2.27-3ubuntu2.1 [62.7 kB] Get:2 http://se.archive.ubuntu.com/ubuntu jammy-updates/main amd64 dirmngr amd64 2.2.27-3ubuntu2.1 [293 kB] Get:3 http://se.archive.ubuntu.com/ubuntu jammy-updates/main amd64 gnupg-utils amd64 2.2.27-3ubuntu2.1 [308 kB] Get:4 http://se.archive.ubuntu.com/ubuntu jammy-updates/main amd64 gpg-wks-server amd64 2.2.27-3ubuntu2.1 [57.5 kB] Get:5 http://se.archive.ubuntu.com/ubuntu jammy-updates/main amd64 gpg-agent amd64 2.2.27-3ubuntu2.1 [209 kB] Get:6 http://se.archive.ubuntu.com/ubuntu jammy-updates/main amd64 gpg amd64 2.2.27-3ubuntu2.1 [519 kB] Get:7 http://se.archive.ubuntu.com/ubuntu jammy-updates/main amd64 gpgconf amd64 2.2.27-3ubuntu2.1 [94.2 kB] Get:8 http://se.archive.ubuntu.com/ubuntu jammy-updates/main amd64 gnupg-l10n all 2.2.27-3ubuntu2.1 [54.4 kB] Get:9 http://se.archive.ubuntu.com/ubuntu jammy-updates/main amd64 gnupg all 2.2.27-3ubuntu2.1 [315 kB] Get:10 http://se.archive.ubuntu.com/ubuntu jammy-updates/main amd64 gpgsm amd64 2.2.27-3ubuntu2.1 [197 kB] Get:11 http://se.archive.ubuntu.com/ubuntu jammy-updates/main amd64 gpgv amd64 2.2.27-3ubuntu2.1 [137 kB] Get:12 http://se.archive.ubuntu.com/ubuntu jammy-updates/main amd64 ca-certificates all 20230311ubuntu0.22.04.1 [155 kB] Get:13 http://se.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libcurl4 amd64 7.81.0-1ubuntu1.16 [290 kB] Get:14 http://se.archive.ubuntu.com/ubuntu jammy-updates/main amd64 curl amd64 7.81.0-1ubuntu1.16 [194 kB] debconf: unable to initialize frontend: Dialog debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Readline debconf: (This frontend requires a controlling tty.) debconf: falling back to frontend: Teletype dpkg-preconfigure: unable to re-open stdin: Fetched 2,885 kB in 0s (16.1 MB/s) E: Can not write log (Is /dev/pts mounted?) - posix_openpt (2: No such file or directory) (Reading database ... 156044 files and directories currently installed.) Preparing to unpack .../00-gpg-wks-client_2.2.27-3ubuntu2.1_amd64.deb ... Unpacking gpg-wks-client (2.2.27-3ubuntu2.1) over (2.2.27-3ubuntu2) ... Preparing to unpack .../01-dirmngr_2.2.27-3ubuntu2.1_amd64.deb ... Unpacking dirmngr (2.2.27-3ubuntu2.1) over (2.2.27-3ubuntu2) ... Preparing to unpack .../02-gnupg-utils_2.2.27-3ubuntu2.1_amd64.deb ... Unpacking gnupg-utils (2.2.27-3ubuntu2.1) over (2.2.27-3ubuntu2) ... Preparing to unpack .../03-gpg-wks-server_2.2.27-3ubuntu2.1_amd64.deb ... Unpacking gpg-wks-server (2.2.27-3ubuntu2.1) over (2.2.27-3ubuntu2) ... Preparing to unpack .../04-gpg-agent_2.2.27-3ubuntu2.1_amd64.deb ... Unpacking gpg-agent (2.2.27-3ubuntu2.1) over (2.2.27-3ubuntu2) ... Preparing to unpack .../05-gpg_2.2.27-3ubuntu2.1_amd64.deb ... Unpacking gpg (2.2.27-3ubuntu2.1) over (2.2.27-3ubuntu2) ... Preparing to unpack .../06-gpgconf_2.2.27-3ubuntu2.1_amd64.deb ... Unpacking gpgconf (2.2.27-3ubuntu2.1) over (2.2.27-3ubuntu2) ... Preparing to unpack .../07-gnupg-l10n_2.2.27-3ubuntu2.1_all.deb ... Unpacking gnupg-l10n (2.2.27-3ubuntu2.1) over (2.2.27-3ubuntu2) ... Preparing to unpack .../08-gnupg_2.2.27-3ubuntu2.1_all.deb ... Unpacking gnupg (2.2.27-3ubuntu2.1) over (2.2.27-3ubuntu2) ... Preparing to unpack .../09-gpgsm_2.2.27-3ubuntu2.1_amd64.deb ... Unpacking gpgsm (2.2.27-3ubuntu2.1) over (2.2.27-3ubuntu2) ... Preparing to unpack .../10-gpgv_2.2.27-3ubuntu2.1_amd64.deb ... Unpacking gpgv (2.2.27-3ubuntu2.1) over (2.2.27-3ubuntu2) ... Setting up gpgv (2.2.27-3ubuntu2.1) ... (Reading database ... 156044 files and directories currently installed.) Preparing to unpack .../ca-certificates_20230311ubuntu0.22.04.1_all.deb ... Unpacking ca-certificates (20230311ubuntu0.22.04.1) over (20211016) ... Preparing to unpack .../libcurl4_7.81.0-1ubuntu1.16_amd64.deb ... Unpacking libcurl4:amd64 (7.81.0-1ubuntu1.16) over (7.81.0-1ubuntu1.1) ... Selecting previously unselected package curl. Preparing to unpack .../curl_7.81.0-1ubuntu1.16_amd64.deb ... Unpacking curl (7.81.0-1ubuntu1.16) ... Setting up ca-certificates (20230311ubuntu0.22.04.1) ... debconf: unable to initialize frontend: Dialog debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Readline debconf: (This frontend requires a controlling tty.) debconf: falling back to frontend: Teletype Updating certificates in /etc/ssl/certs... rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL 19 added, 9 removed; done. Setting up gnupg-l10n (2.2.27-3ubuntu2.1) ... Setting up gpgconf (2.2.27-3ubuntu2.1) ... Setting up libcurl4:amd64 (7.81.0-1ubuntu1.16) ... Setting up curl (7.81.0-1ubuntu1.16) ... Setting up gpg (2.2.27-3ubuntu2.1) ... Setting up gnupg-utils (2.2.27-3ubuntu2.1) ... Setting up gpg-agent (2.2.27-3ubuntu2.1) ... Setting up gpgsm (2.2.27-3ubuntu2.1) ... Setting up dirmngr (2.2.27-3ubuntu2.1) ... Setting up gpg-wks-server (2.2.27-3ubuntu2.1) ... Setting up gpg-wks-client (2.2.27-3ubuntu2.1) ... Setting up gnupg (2.2.27-3ubuntu2.1) ... Processing triggers for libc-bin (2.35-0ubuntu3) ... Processing triggers for man-db (2.10.2-1) ... Processing triggers for install-info (6.8-4build1) ... Processing triggers for ca-certificates (20230311ubuntu0.22.04.1) ... Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done. Running hooks in /etc/ca-certificates/update.d... done. [Pipeline] sh + + curl -fsSLsudo http://build.openmodelica.org/apt/openmodelica.asc chroot /var/www/build.openmodelica.org/virtual_machines/tmp-build/root gpg --dearmor -o /usr/share/keyrings/openmodelica-keyring.gpg [Pipeline] sh + sudo chroot /var/www/build.openmodelica.org/virtual_machines/tmp-build/root apt-get update Hit:1 http://se.archive.ubuntu.com/ubuntu jammy InRelease Hit:2 http://se.archive.ubuntu.com/ubuntu jammy-updates InRelease Hit:3 http://se.archive.ubuntu.com/ubuntu jammy-backports InRelease Hit:4 http://security.ubuntu.com/ubuntu jammy-security InRelease Reading package lists... [Pipeline] sh + echo deb [arch=amd64 signed-by=/usr/share/keyrings/openmodelica-keyring.gpg] http://build.openmodelica.org/apt jammy nightly + sudo chroot /var/www/build.openmodelica.org/virtual_machines/tmp-build/root tee /etc/apt/sources.list.d/openmodelica.list deb [arch=amd64 signed-by=/usr/share/keyrings/openmodelica-keyring.gpg] http://build.openmodelica.org/apt jammy nightly [Pipeline] sh + sudo chroot /var/www/build.openmodelica.org/virtual_machines/tmp-build/root apt-get update Hit:1 http://se.archive.ubuntu.com/ubuntu jammy InRelease Hit:3 http://se.archive.ubuntu.com/ubuntu jammy-updates InRelease Hit:4 http://se.archive.ubuntu.com/ubuntu jammy-backports InRelease Ign:2 https://build.openmodelica.org/apt jammy InRelease Get:5 https://build.openmodelica.org/apt jammy Release [26.3 kB] Get:6 https://build.openmodelica.org/apt jammy Release.gpg [488 B] Hit:7 http://security.ubuntu.com/ubuntu jammy-security InRelease Get:8 https://build.openmodelica.org/apt jammy/nightly amd64 Packages [5,961 B] Fetched 32.7 kB in 0s (80.5 kB/s) Reading package lists... [Pipeline] sh + sudo chroot /var/www/build.openmodelica.org/virtual_machines/tmp-build/root apt-cache show omc Package: omc Architecture: amd64 Version: 1.24.0~dev-165-g8ede334-1 Priority: optional Section: math Source: openmodelica Maintainer: OpenModelica Build System Installed-Size: 548 Depends: clang, cmake, build-essential, libexpat1-dev, liblapack-dev, zip, unzip, omc-common, libomc, libomcsimulation, libc6 (>= 2.34) Recommends: libomccpp, omplot, gnuplot-nox, xsltproc, libsaxonb-java Suggests: python-beautifulsoup Breaks: omlib-modelica-3.2.3, omlib-modelica-4.0.0, omlib-modelicaservices-3.2.3, omlib-modelicaservices-4.0.0 Filename: pool/contrib-jammy/omc_1.24.0~dev-165-g8ede334-1_amd64.deb Size: 119530 MD5sum: 7269b02073bb16fb7e00f3068ada37db SHA1: 6d77c6f8b2f6619a86ea5f56521ad0332fc6b4a1 SHA256: 6ec0d4ba6e5b890053d61ade5fc091b9535edf7cb8e64a39dccf30e710d0eb4e SHA512: 19ffd2ef8b869eceddfe0b23a86f2539c85a61f792f16a5bf49cc9eade1f061a125f920ab935654075b08152080ff680c93dcb05ffaa846213f52eedbad2257f Description: The OpenModelica Compiler This is the core of the OpenModelica project. It can be used stand-alone as a compiler. It is recommended to use it together with an OpenModelica client, such as OMShell (textual interface), OMNotebook (for teaching purposes) or OMEdit (graphical modeling). Description-md5: 45e8f0c20a91294f90760327b30dae2f [Pipeline] sh + sudo+ chroot /var/www/build.openmodelica.org/virtual_machines/tmp-build/rootgrep apt-cache ^Version: show omc Version: 1.24.0~dev-165-g8ede334-1 [Pipeline] sh + sudo chroot /var/www/build.openmodelica.org/virtual_machines/tmp-build/root apt-cache show omc + grep ^Version: + grep 1.24.0~dev-168-g907b8bd [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] End of Pipeline ERROR: script returned exit code 1 Finished: FAILURE