Skip to content
Failed

Console Output

Skipping 75 KB.. Full Log
05:04:53 Requires: qt5-qtxmlpatterns
05:04:53 Requires: libffi
05:04:53 %endif
05:04:53 Autoprov: 0
05:04:53 Prefix: /opt/%{name}
05:04:53 Prefix: %{_bindir}
05:04:53 
05:04:53 %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.*)$
05:04:53 
05:04:53 # Recommended (for the repo): git rpm-build rpmdevtools epel-release
05:04:53 %if 0%{?rhel} > 0
05:04:53 # CentOS / RHEL requires the EPEL repository (for omniORB, etc)
05:04:53 BuildRequires: epel-release
05:04:53 Requires: epel-release
05:04:53 %endif
05:04:53 
05:04:53 Requires: lapack-devel
05:04:53 Requires: make
05:04:53 Requires: gcc
05:04:53 Requires: gcc-gfortran
05:04:53 Requires: gcc-c++
05:04:53 
05:04:53 BuildRequires: automake
05:04:53 %if 0%{?rhel} >= 8
05:04:53 %define withomniorb --without-omniORB
05:04:53 %else
05:04:53 %define withomniorb --with-omniORB
05:04:53 BuildRequires: omniORB-devel
05:04:53 BuildRequires: lpsolve-devel
05:04:53 %endif
05:04:53 BuildRequires: expat-devel
05:04:53 BuildRequires: bison
05:04:53 BuildRequires: flex
05:04:53 BuildRequires: lapack-devel
05:04:53 BuildRequires: libtool
05:04:53 BuildRequires: uuid
05:04:53 BuildRequires: uuid-devel
05:04:53 BuildRequires: hdf5-devel
05:04:53 BuildRequires: boost-devel
05:04:53 BuildRequires: boost-static
05:04:53 BuildRequires: hwloc-devel
05:04:53 BuildRequires: readline-devel
05:04:53 BuildRequires: libffi-devel
05:04:53 BuildRequires: curl-devel
05:04:53 BuildRequires: gettext
05:04:53 BuildRequires: make
05:04:53 BuildRequires: java
05:04:53 BuildRequires: tar
05:04:53 BuildRequires: xz
05:04:53 BuildRequires: gcc
05:04:53 BuildRequires: gcc-c++
05:04:53 BuildRequires: gcc-gfortran
05:04:53 %if 0%{?rhel} <= 9
05:04:53 BuildRequires: qt5-qtwebkit-devel
05:04:53 BuildRequires: qt5-linguist
05:04:53 BuildRequires: qt5-qttools
05:04:53 BuildRequires: qt5-qtbase-devel
05:04:53 BuildRequires: qt5-qtsvg-devel
05:04:53 BuildRequires: qt5-qtxmlpatterns-devel
05:04:53 %else 
05:04:53 # el 10 does not have qt5-qtwebkit anymore, use qt6
05:04:53 BuildRequires: qt6-qtwebengine-devel
05:04:53 BuildRequires: qt6-linguist
05:04:53 BuildRequires: qt6-qttools
05:04:53 BuildRequires: qt6-qtbase-devel
05:04:53 BuildRequires: qt6-qtsvg-devel
05:04:53 BuildRequires: qt6-qt3d-devel
05:04:53 BuildRequires: qt6-qt5compat-devel
05:04:53 BuildRequires: qt6-qthttpserver-devel
05:04:53 %endif
05:04:53 %if 0%{?rhel} >= 7
05:04:53 BuildRequires: qt5-qt3d-devel
05:04:53 %endif
05:04:53 
05:04:53 
05:04:53 # Use cmake versions > 3. On EL7 this is provided by cmake3 package.
05:04:53 # On EL > 7 it is just cmake.
05:04:53 %if 0%{?rhel} == 7
05:04:53 BuildRequires: cmake3
05:04:53 %define cmakecommand CMAKE=cmake3
05:04:53 %else
05:04:53 BuildRequires: cmake
05:04:53 %define cmakecommand CMAKE=cmake
05:04:53 %endif
05:04:53 
05:04:53 # The base centos:8 image (we use for our build-deps:el8 image) comes with
05:04:53 # broken cmake package due to old libarchive (v3.3.2). v3.3.3 Seems to work.
05:04:53 # Once the base image is updated this can be removed.
05:04:53 %if 0%{?rhel} == 8
05:04:53 BuildRequires: libarchive >= 3.3.3
05:04:53 %endif
05:04:53 
05:04:53 # Use gcc-11 on EL8 as well. devtoolset does not seem to be available on
05:04:53 # EL8. One is supposed to use gcc-toolset instead.
05:04:53 %{?el8:Requires: gcc-toolset-11-gcc gcc-toolset-11-gcc-c++ gcc-toolset-11-gcc-gfortran}
05:04:53 %if 0%{?rhel} == 8
05:04:53 BuildRequires: gcc-toolset-11-gcc gcc-toolset-11-gcc-c++ gcc-toolset-11-gcc-gfortran
05:04:53 %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
05:04:53 %endif
05:04:53 
05:04:53 # EL7 has -static-libstdc++ inside devtools (but the system g++ does not know the flag) -- adrpo: check this, also for el6
05:04:53 %{?el7:Requires: devtoolset-11-gcc}
05:04:53 %{?el7:Requires: devtoolset-11-gcc-c++}
05:04:53 %{?el7:Requires: devtoolset-11-gcc-gfortran}
05:04:53 
05:04:53 %if 0%{?rhel} <= 7 && 0%{?rhel} >= 1
05:04:53 BuildRequires: devtoolset-11-gcc devtoolset-11-gcc-c++ devtoolset-11-gcc-gfortran
05:04:53 %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
05:04:53 %endif
05:04:53 
05:04:53 %if 0%{?fedora} >= 25
05:04:53 BuildRequires: OpenSceneGraph-devel
05:04:53 %endif
05:04:53 
05:04:53 %if 0%{?rhel} >= 10
05:04:53 %define withqt6 --with-qt6
05:04:53 %define omqtversion=QT6
05:04:53 %else
05:04:53 %define withqt6 ''
05:04:53 %define omqtversion=QT5
05:04:53 %endif
05:04:53 
05:04:53 
05:04:53 # We should use clang, but OMEdit does not compile with it due to odd default qmake flags
05:04:53 Requires: gcc
05:04:53 Requires: gcc-c++
05:04:53 Requires: lapack-devel
05:04:53 
05:04:53 Requires(post): %{_sbindir}/update-alternatives
05:04:53 Requires(postun): %{_sbindir}/update-alternatives
05:04:53 
05:04:53 # CentOS does not have suggests
05:04:53 %if 0%{?fedora} >= 24 || 0%{?rhel} >= 8
05:04:53 Suggests: boost-devel
05:04:53 Suggests: boost-static
05:04:53 Suggests: lapack-static
05:04:53 Suggests: openblas-static
05:04:53 %else
05:04:53 Requires: boost-devel
05:04:53 Requires: boost-static
05:04:53 %endif
05:04:53 
05:04:53 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
05:04:53 
05:04:53 %description
05:04:53 %{summary}
05:04:53 
05:04:53 %prep
05:04:53 
05:04:53 %setup -q -n openmodelica_1.27.0~dev-574-g5a19131
05:04:53 tar xJf %{_sourcedir}/openmodelica-doc-latest.tar.xz
05:04:53 
05:04:53 
05:04:53 
05:04:53 %if 0%{?rhel} <= 7 && 0%{?rhel} >= 1
05:04:53 source /opt/rh/devtoolset-11/enable
05:04:53 %endif
05:04:53 
05:04:53 %if 0%{?rhel} == 8
05:04:53 source /opt/rh/gcc-toolset-11/enable
05:04:53 %endif
05:04:53 
05:04:53 export LANG=C.UTF-8
05:04:53 autoreconf --install
05:04:53 ./configure CFLAGS="-Os" CXXFLAGS="-Os" QTDIR=/usr/%{_lib}/{omqtversion} %{withomniorb} %{withqt6}  %{?devtoolsconfigureflags} --without-omc --prefix=/opt/%{name} --without-omlibrary %{cmakecommand}
05:04:53 
05:04:53 %build
05:04:53 
05:04:53 %if 0%{?rhel} <= 7 && 0%{?rhel} >= 1
05:04:53 export LANG=C.UTF-8
05:04:53 source /opt/rh/devtoolset-11/enable
05:04:53 %endif
05:04:53 
05:04:53 %if 0%{?rhel} == 8
05:04:53 export LANG=C.UTF-8
05:04:53 source /opt/rh/gcc-toolset-11/enable
05:04:53 %endif
05:04:53 
05:04:53 export LANG=C.UTF-8
05:04:53 make -j8
05:04:53 test ! -f libraries/install-index.json || make -j8 omlibrary
05:04:53 
05:04:53 %install
05:04:53 rm -rf %{buildroot}
05:04:53 make install DESTDIR="%{buildroot}"
05:04:53 mkdir -p %{buildroot}/opt/%{name}/lib/ %{buildroot}/opt/%{name}/share/doc/omc/ %{buildroot}%{_bindir}
05:04:53 ln -s /usr/lib/omlibrary %{buildroot}/opt/%{name}/lib/
05:04:53 ln -s /opt/%{name}/bin/omc %{buildroot}%{_bindir}/omc-nightly
05:04:53 ln -s /opt/%{name}/bin/OMEdit %{buildroot}%{_bindir}/OMEdit-nightly
05:04:53 ln -s /opt/%{name}/bin/OMShell %{buildroot}%{_bindir}/OMShell-nightly
05:04:53 ln -s /opt/%{name}/bin/OMShell-terminal %{buildroot}%{_bindir}/OMShell-terminal-nightly
05:04:53 ln -s /opt/%{name}/bin/OMNotebook %{buildroot}%{_bindir}/OMNotebook-nightly
05:04:53 ln -s /opt/%{name}/bin/OMPlot %{buildroot}%{_bindir}/OMPlot-nightly
05:04:53 touch %{buildroot}%{_bindir}/omc
05:04:53 touch %{buildroot}%{_bindir}/OMEdit
05:04:53 touch %{buildroot}%{_bindir}/OMShell
05:04:53 touch %{buildroot}%{_bindir}/OMShell-terminal
05:04:53 touch %{buildroot}%{_bindir}/OMNotebook
05:04:53 touch %{buildroot}%{_bindir}/OMPlot
05:04:53 cp -a openmodelica-doc*/* %{buildroot}/opt/%{name}/share/doc/omc/
05:04:53 
05:04:53 %postun
05:04:53 if [ "$1" -ge "1" ]; then
05:04:53   if [ "`readlink %{_sysconfdir}/alternatives/openmodelica`" == "%{_bindir}/omc-nightly" ]; then
05:04:53     %{_sbindir}/alternatives --set openmodelica %{_bindir}/omc-nightly
05:04:53   fi
05:04:53 fi
05:04:53 
05:04:53 %post
05:04:53 %{_sbindir}/update-alternatives --install %{_bindir}/omc openmodelica %{_bindir}/omc-nightly 1018000 \
05:04:53   --slave %{_bindir}/OMEdit openmodelica-OMEdit %{_bindir}/OMEdit-nightly \
05:04:53   --slave %{_bindir}/OMShell openmodelica-OMShell %{_bindir}/OMShell-nightly \
05:04:53   --slave %{_bindir}/OMShell-terminal openmodelica-OMShell-terminal %{_bindir}/OMShell-terminal-nightly \
05:04:53   --slave %{_bindir}/OMNotebook openmodelica-OMNotebook %{_bindir}/OMNotebook-nightly \
05:04:53   --slave %{_bindir}/OMPlot openmodelica-OMPlot %{_bindir}/OMPlot-nightly
05:04:53 
05:04:53 %preun
05:04:53 if [ $1 = 0 ]; then
05:04:53   %{_sbindir}/update-alternatives --remove openmodelica %{_bindir}/omc-nightly
05:04:53 fi
05:04:53 
05:04:53 %clean
05:04:53 rm -rf %{buildroot}
05:04:53 
05:04:53 %files
05:04:53 %defattr(-,root,root,-)
05:04:53 /opt/%{name}/*
05:04:53 %{_bindir}/*-nightly
05:04:53 %ghost %{_bindir}/omc
05:04:53 %ghost %{_bindir}/OMEdit
05:04:53 %ghost %{_bindir}/OMShell
05:04:53 %ghost %{_bindir}/OMShell-terminal
05:04:53 %ghost %{_bindir}/OMNotebook
05:04:53 %ghost %{_bindir}/OMPlot
05:04:53 
05:04:53 %changelog
05:04:53 * Mon Jun 01 2026  OpenModelica <openmodelica@ida.liu.se> ${version}-1
05:04:53 - First Build
[Pipeline] writeFile
[Pipeline] sh
05:04:54 + mkdir -p rpmbuild/SOURCES rpmbuild/SRPMS rpmbuild/RPMS
[Pipeline] sh
05:04:54 + HOME=/var/lib/jenkins/ws/LINUX_BUILDS
05:04:54 + spectool -g -R openmodelica.spec
05:04:54 warning: openmodelica.spec: line 147: Macro %omqtversion needs whitespace before body
05:04:54   0% of  74.0 MiB |                      | Elapsed Time: 0:00:00 ETA:  --:--:--
05:04:54   7% of  74.0 MiB |#                     | Elapsed Time: 0:00:00 ETA:   0:00:00
05:04:54  15% of  74.0 MiB |###                   | Elapsed Time: 0:00:00 ETA:   0:00:00
05:04:54  22% of  74.0 MiB |#####                 | Elapsed Time: 0:00:00 ETA:   0:00:00
05:04:54  30% of  74.0 MiB |######                | Elapsed Time: 0:00:00 ETA:   0:00:00
05:04:54  37% of  74.0 MiB |########              | Elapsed Time: 0:00:00 ETA:   0:00:00
05:04:55  45% of  74.0 MiB |##########            | Elapsed Time: 0:00:00 ETA:   0:00:00
05:04:55  53% of  74.0 MiB |###########           | Elapsed Time: 0:00:00 ETA:   0:00:00
05:04:55  60% of  74.0 MiB |#############         | Elapsed Time: 0:00:00 ETA:   0:00:00
05:04:55  68% of  74.0 MiB |###############       | Elapsed Time: 0:00:00 ETA:   0:00:00
05:04:55  75% of  74.0 MiB |################      | Elapsed Time: 0:00:00 ETA:   0:00:00
05:04:55  83% of  74.0 MiB |##################    | Elapsed Time: 0:00:00 ETA:   0:00:00
05:04:55  91% of  74.0 MiB |####################  | Elapsed Time: 0:00:00 ETA:   0:00:00
05:04:55  98% of  74.0 MiB |##################### | Elapsed Time: 0:00:00 ETA:   0:00:00
05:04:55 100% of  74.0 MiB |######################| Elapsed Time: 0:00:00 Time:  0:00:00
05:04:55   0% of  10.6 MiB |                      | Elapsed Time: 0:00:00 ETA:  --:--:--
05:04:55  50% of  10.6 MiB |###########           | Elapsed Time: 0:00:00 ETA:   0:00:00
05:04:55 100% of  10.6 MiB |######################| Elapsed Time: 0:00:00 Time:  0:00:00
05:04:55 Downloading: https://build.openmodelica.org/apt/pool/contrib/openmodelica_1.27.0~dev-574-g5a19131.orig.tar.xz
05:04:55 Downloaded: openmodelica_1.27.0~dev-574-g5a19131.orig.tar.xz
05:04:55 Downloading: https://openmodelica.org/doc/openmodelica-doc-latest.tar.xz
05:04:55 Downloaded: openmodelica-doc-latest.tar.xz
[Pipeline] sh
05:04:55 + echo LANG:
05:04:55 LANG:
05:04:55 + export HOME=/var/lib/jenkins/ws/LINUX_BUILDS
05:04:55 + HOME=/var/lib/jenkins/ws/LINUX_BUILDS
05:04:55 + export LANG=C.UTF-8
05:04:55 + LANG=C.UTF-8
05:04:55 + rpmbuild --define 'dist .fc44' -ba openmodelica.spec
[Pipeline] sh
05:11:32 + find /var/lib/jenkins/ws/LINUX_BUILDS -name '*.rpm'
05:11:32 /var/lib/jenkins/ws/LINUX_BUILDS/rpmbuild/RPMS/x86_64/openmodelica-nightly-1.27.0~dev~574~g5a19131-1.fc44.x86_64.rpm
05:11:32 /var/lib/jenkins/ws/LINUX_BUILDS/rpmbuild/SRPMS/openmodelica-nightly-1.27.0~dev~574~g5a19131-1.fc44.src.rpm
[Pipeline] }
$ docker stop --time=1 ce46dfe4be7cd5c578b8bd5c604ef09021bb2134686d4c1b8646403b24f400e3
[Pipeline] // withDockerContainer
[Pipeline] sh
05:11:34 + find /var/lib/jenkins/ws/LINUX_BUILDS -name *.rpm
05:11:34 /var/lib/jenkins/ws/LINUX_BUILDS/rpmbuild/RPMS/x86_64/openmodelica-nightly-1.27.0~dev~574~g5a19131-1.fc44.x86_64.rpm
05:11:34 /var/lib/jenkins/ws/LINUX_BUILDS/rpmbuild/SRPMS/openmodelica-nightly-1.27.0~dev~574~g5a19131-1.fc44.src.rpm
Did you forget the `def` keyword? WorkflowScript seems to be setting a field named dockerfiletext (to a value of type GStringImpl) which could lead to memory leaks or other issues.
[Pipeline] echo
05:11:34 
05:11:34 FROM docker.openmodelica.org/build-deps:fc44.amd64
05:11:34 COPY rpmbuild/RPMS/x86_64/openmodelica-nightly-1.27.0~dev~574~g5a19131-1.fc44.x86_64.rpm /root
05:11:34 RUN rpm -i /root/openmodelica-nightly-1.27.0~dev~574~g5a19131-1.fc44.x86_64.rpm
05:11:34 
[Pipeline] writeFile
[Pipeline] isUnix
[Pipeline] withEnv
[Pipeline] {
[Pipeline] sh
05:11:34 + docker build -t rpm-build-tmp .
05:11:34 #0 building with "default" instance using docker driver
05:11:34 
05:11:34 #1 [internal] load build definition from Dockerfile
05:11:34 #1 transferring dockerfile: 266B done
05:11:34 #1 DONE 0.0s
05:11:34 
05:11:34 #2 [internal] load metadata for docker.openmodelica.org/build-deps:fc44.amd64
05:11:34 #2 DONE 0.0s
05:11:34 
05:11:34 #3 [internal] load .dockerignore
05:11:34 #3 transferring context: 2B done
05:11:34 #3 DONE 0.0s
05:11:34 
05:11:34 #4 [1/3] FROM docker.openmodelica.org/build-deps:fc44.amd64
05:11:34 #4 CACHED
05:11:34 
05:11:34 #5 [internal] load build context
05:11:34 #5 transferring context: 133.60MB 0.2s done
$ docker rm -f --volumes ce46dfe4be7cd5c578b8bd5c604ef09021bb2134686d4c1b8646403b24f400e3
05:11:34 #5 DONE 0.3s
05:11:34 
05:11:34 #6 [2/3] COPY rpmbuild/RPMS/x86_64/openmodelica-nightly-1.27.0~dev~574~g5a19131-1.fc44.x86_64.rpm /root
05:11:34 #6 DONE 0.2s
05:11:35 
05:11:35 #7 [3/3] RUN rpm -i /root/openmodelica-nightly-1.27.0~dev~574~g5a19131-1.fc44.x86_64.rpm
05:11:36 #7 DONE 1.7s
05:11:36 
05:11:36 #8 exporting to image
05:11:36 #8 exporting layers
05:11:37 #8 exporting layers 0.5s done
05:11:37 #8 writing image sha256:a7389ed7ab67ee357e20279ba66d6a4856005c23001c8087c36bb1e8e76416b7 done
05:11:37 #8 naming to docker.io/library/rpm-build-tmp done
05:11:37 #8 DONE 0.5s
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] withCredentials
05:11:37 Masking supported pattern matches of $identity
[Pipeline] {
[Pipeline] findFiles
[Pipeline] sh
05:11:37 + wget --spider -q https://build.openmodelica.org/rpm/fc44/openmodelica-nightly-1.27.0~dev~574~g5a19131-1.fc44.x86_64.rpm
05:11:37 + 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.27.0~dev~574~g5a19131-1.fc44.x86_64.rpm into: /var/www/build.openmodelica.org/rpm/fc44/
[Pipeline] sh
05:11:39 + wget --spider -q https://build.openmodelica.org/rpm/fc44/openmodelica-nightly-1.27.0~dev~574~g5a19131-1.fc44.src.rpm
05:11:39 + echo fail
[Pipeline] sshPut
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] }
[Pipeline] // wrap
[Pipeline] }
Sending a file/directory to build[build.openmodelica.org]: from: /var/lib/jenkins/ws/LINUX_BUILDS/rpmbuild/SRPMS/openmodelica-nightly-1.27.0~dev~574~g5a19131-1.fc44.src.rpm into: /var/www/build.openmodelica.org/rpm/fc44/
[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] {
Did you forget the `def` keyword? WorkflowScript seems to be setting a field named prettyJSON (to a value of type String) which could lead to memory leaks or other issues.
[Pipeline] git
The recommended git tool is: git
using credential Hudson-SSH-Key
Fetching changes from the remote Git repository
 > 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.43.0'
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 d8d08e5157006c8d293440fb99dfe7dc647d1e9d (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 d8d08e5157006c8d293440fb99dfe7dc647d1e9d # timeout=10
 > git branch -a -v --no-abbrev # timeout=10
 > git branch -D main # timeout=10
 > git checkout -b main d8d08e5157006c8d293440fb99dfe7dc647d1e9d # timeout=10
 > git rev-list --no-walk 5bf00c1947339ea2588a920b122d4880d5484e4f # 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
SSH_AUTH_SOCK=/tmp/ssh-5bydijWZui27/agent.3504915
SSH_AGENT_PID=3504917
Running ssh-add (command line suppressed)
Identity added: /var/lib/jenkins/ws/LINUX_BUILDS_tmp/private_key_12975056107515804551.key (/var/lib/jenkins/ws/LINUX_BUILDS_tmp/private_key_12975056107515804551.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 ea41df95] 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
   d8d08e51..ea41df95  main -> main
branch 'main' set up to track 'origin/main'.
[Pipeline] }
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 3504917 killed;
[ssh-agent] Stopped.
[Pipeline] // sshagent
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (buildVM nightly)
[Pipeline] node
Running on r630-2 in /var/lib/jenkins/ws/LINUX_BUILDS
[Pipeline] {
[Pipeline] checkout
The recommended git tool is: git
using credential Hudson-SSH-Key
Fetching changes from the remote Git repository
Cleaning workspace
Checking out Revision f3ee42276985d34fcfa4749d663bc21e275d5368 (refs/remotes/origin/master)
Commit message: "Updated nightly build"
Cleaning workspace
[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.43.0'
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 f3ee42276985d34fcfa4749d663bc21e275d5368 # timeout=10
 > git rev-parse --verify HEAD # timeout=10
Resetting working tree
 > git reset --hard # timeout=10
 > git clean -fdx # timeout=10
+ git checkout -f f3ee42276985d34fcfa4749d663bc21e275d5368
HEAD is now at f3ee4227 Updated nightly build
[Pipeline] fileExists
[Pipeline] sh
+ 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).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / 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/tmp/tmp-build/tmp.raw /var/www/tmp/tmp-build/root ext4 noauto,offset=257949696,users,exec,dev 0 2
/var/www/tmp/tmp-build/tmp.raw /var/www/tmp/tmp-build/root ext4 noauto,users,exec,dev,loop,offset=257949696 0 2
/var/www/tmp/tmp-build/cache /var/www/tmp/tmp-build/root/home/openmodelica/.openmodelica/cache none noauto,bind,users 0 2
[Pipeline] sh
+ sudo umount -l /var/www/tmp/tmp-build/root/home/openmodelica/.openmodelica/cache
umount: /var/www/tmp/tmp-build/root/home/openmodelica/.openmodelica/cache: not mounted.
+ true
[Pipeline] sh
+ sudo umount -l /var/www/tmp/tmp-build/root/proc
umount: /var/www/tmp/tmp-build/root/proc: not mounted.
+ true
[Pipeline] sh
+ sudo umount -l /var/www/tmp/tmp-build/root
[Pipeline] sh
+ rm -f /var/www/tmp/tmp-build/tmp.raw /var/www/tmp/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 f0e9a5aa-ff6c-490c-880d-bf34c9ddfe37
[Pipeline] sh
+ VBoxManage clonehd /var/www/build.openmodelica.org/virtual_machines/base_image/OpenModelicaUbuntu22.04.vdi /var/www/tmp/tmp-build/tmp.raw --format RAW
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Clone medium created in format 'RAW'. UUID: 7faab275-ed8c-48cd-b750-ae6e0db87c83
[Pipeline] sh
+ mount /var/www/tmp/tmp-build/root
[Pipeline] sh
+ sudo chroot /var/www/tmp/tmp-build/root su -l openmodelica -c mkdir -p /home/openmodelica/.openmodelica/cache
[Pipeline] sh
+ sudo mount /var/www/tmp/tmp-build/root/home/openmodelica/.openmodelica/cache
mount: /var/www/tmp/tmp-build/root/home/openmodelica/.openmodelica/cache: special device /var/www/tmp/tmp-build/cache does not exist.
       dmesg(1) may have more information after failed mount system call.
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // stage
[Pipeline] End of Pipeline
ERROR: script returned exit code 32
Finished: FAILURE