Start of Pipeline - (11 min in block) | | | | |
properties - (7 ms in self) | | | | |
node - (1 min 15 sec in block) | r630-2 | | | |
node block - (1 min 15 sec in block) | | | | |
stage - (1 min 15 sec in block) | checkout | | | |
stage block (checkout) - (1 min 15 sec in block) | | | | |
checkout - (0.46 sec in self) | | | | |
sh - (0.27 sec in self) | git rev-parse HEAD | | | |
echo - (<1 ms in self) | r630-2 | | | |
withDockerRegistry - (1 min 8 sec in block) | | | | |
withDockerRegistry block - (1 min 7 sec in block) | | | | |
sh - (1 min 7 sec in self) | ./update-current-linux-os-releases.py false | | | |
sshagent - (0.33 sec in block) | | | | |
sshagent block - (0.27 sec in block) | | | | |
sh - (0.27 sec in self) |
git add current-linux-os-releases.json
if ! git diff-index --quiet HEAD; then
git config user.email "openmodelica@ida.liu.se"
git config user.name "OpenModelica Hudson"
git commit -m 'Updated current OS versions'
git push git@gitlab.liu.se:OpenModelica/apt-build.git HEAD:master
fi
| | | |
readJSON - (8 ms in self) | current-linux-os-releases.json | | | |
readJSON - (7 ms in self) | projects.json | | | |
sh - (0.28 sec in self) | wget -q https://build.openmodelica.org/apt/pool/contrib/openmodelica_1.26.0~dev-50-g3d99764-1.dsc -O- | | | |
sshagent - (1.4 sec in block) | | | | |
sshagent block - (1.3 sec in block) | | | | |
sh - (0.83 sec in self) | ssh hudson@build.openmodelica.org find /var/www/build.openmodelica.org/apt/pool/ -name 'openmodelica_1.26.0~dev-50-g3d99764-1_*.deb' | sed s,/var/www/build.openmodelica.org/apt/pool/contrib-,, | | | |
sh - (0.53 sec in self) | ssh hudson@build.openmodelica.org find /var/www/build.openmodelica.org/rpm/ -name 'openmodelica-*.rpm' | sed s,/var/www/build.openmodelica.org/rpm/,, | | | |
sh - (0.27 sec in self) | wget -q https://build.openmodelica.org/apt/pool/contrib/openmodelica_1.24.5-1.dsc -O- | | | |
sshagent - (0.86 sec in block) | | | | |
sshagent block - (0.81 sec in block) | | | | |
sh - (0.53 sec in self) | ssh hudson@build.openmodelica.org find /var/www/build.openmodelica.org/apt/pool/ -name 'openmodelica_1.24.5-1_*.deb' | sed s,/var/www/build.openmodelica.org/apt/pool/contrib-,, | | | |
sh - (0.27 sec in self) | ssh hudson@build.openmodelica.org find /var/www/build.openmodelica.org/rpm/ -name 'openmodelica-*.rpm' | sed s,/var/www/build.openmodelica.org/rpm/,, | | | |
sh - (0.27 sec in self) | wget -q https://build.openmodelica.org/apt/pool/contrib/openmodelica_1.25.0~dev.beta.1-2-g317879a-1.dsc -O- | | | |
sshagent - (0.89 sec in block) | | | | |
sshagent block - (0.81 sec in block) | | | | |
sh - (0.53 sec in self) | ssh hudson@build.openmodelica.org find /var/www/build.openmodelica.org/apt/pool/ -name 'openmodelica_1.25.0~dev.beta.1-2-g317879a-1_*.deb' | sed s,/var/www/build.openmodelica.org/apt/pool/contrib-,, | | | |
sh - (0.27 sec in self) | ssh hudson@build.openmodelica.org find /var/www/build.openmodelica.org/rpm/ -name 'openmodelica-*.rpm' | sed s,/var/www/build.openmodelica.org/rpm/,, | | | |
echo - (27 ms in self) | Skipping bookworm/openmodelica_1.26.0~dev-50-g3d99764-1_amd64.deb (already exists) | | | |
echo - (58 ms in self) | Skipping bookworm/openmodelica_1.24.5-1_amd64.deb (already exists) | | | |
echo - (90 ms in self) | Skipping bookworm/openmodelica_1.25.0~dev.beta.1-2-g317879a-1_amd64.deb (already exists) | | | |
echo - (31 ms in self) | Skipping focal/openmodelica_1.26.0~dev-50-g3d99764-1_amd64.deb (prefix in ignore list) | | | |
echo - (86 ms in self) | Skipping focal/openmodelica_1.24.5-1_amd64.deb (already exists) | | | |
echo - (4 ms in self) | Skipping focal/openmodelica_1.25.0~dev.beta.1-2-g317879a-1_amd64.deb (prefix in ignore list) | | | |
echo - (30 ms in self) | Skipping jammy/openmodelica_1.26.0~dev-50-g3d99764-1_amd64.deb (already exists) | | | |
echo - (58 ms in self) | Skipping jammy/openmodelica_1.24.5-1_amd64.deb (already exists) | | | |
echo - (4 ms in self) | Skipping jammy/openmodelica_1.25.0~dev.beta.1-2-g317879a-1_amd64.deb (already exists) | | | |
echo - (33 ms in self) | Skipping noble/openmodelica_1.26.0~dev-50-g3d99764-1_amd64.deb (already exists) | | | |
echo - (60 ms in self) | Skipping noble/openmodelica_1.24.5-1_amd64.deb (already exists) | | | |
echo - (5 ms in self) | Skipping noble/openmodelica_1.25.0~dev.beta.1-2-g317879a-1_amd64.deb (already exists) | | | |
echo - (33 ms in self) | Skipping oracular/openmodelica_1.26.0~dev-50-g3d99764-1_amd64.deb (already exists) | | | |
echo - (54 ms in self) | Skipping oracular/openmodelica_1.24.5-1_amd64.deb (already exists) | | | |
echo - (4 ms in self) | Skipping oracular/openmodelica_1.25.0~dev.beta.1-2-g317879a-1_amd64.deb (already exists) | | | |
echo - (29 ms in self) | Skipping bookworm/openmodelica_1.26.0~dev-50-g3d99764-1_armhf.deb (already exists) | | | |
echo - (54 ms in self) | Skipping bookworm/openmodelica_1.24.5-1_armhf.deb (already exists) | | | |
echo - (83 ms in self) | Skipping bookworm/openmodelica_1.25.0~dev.beta.1-2-g317879a-1_armhf.deb (already exists) | | | |
echo - (30 ms in self) | Skipping focal/openmodelica_1.26.0~dev-50-g3d99764-1_armhf.deb (prefix in ignore list) | | | |
echo - (78 ms in self) | Skipping focal/openmodelica_1.24.5-1_armhf.deb (already exists) | | | |
echo - (3 ms in self) | Skipping focal/openmodelica_1.25.0~dev.beta.1-2-g317879a-1_armhf.deb (prefix in ignore list) | | | |
echo - (28 ms in self) | Skipping jammy/openmodelica_1.26.0~dev-50-g3d99764-1_armhf.deb (already exists) | | | |
echo - (53 ms in self) | Skipping jammy/openmodelica_1.24.5-1_armhf.deb (already exists) | | | |
echo - (4 ms in self) | Skipping jammy/openmodelica_1.25.0~dev.beta.1-2-g317879a-1_armhf.deb (already exists) | | | |
echo - (29 ms in self) | Skipping noble/openmodelica_1.26.0~dev-50-g3d99764-1_armhf.deb (already exists) | | | |
echo - (56 ms in self) | Skipping noble/openmodelica_1.24.5-1_armhf.deb (already exists) | | | |
echo - (5 ms in self) | Skipping noble/openmodelica_1.25.0~dev.beta.1-2-g317879a-1_armhf.deb (already exists) | | | |
echo - (30 ms in self) | Skipping bookworm/openmodelica_1.26.0~dev-50-g3d99764-1_arm64.deb (already exists) | | | |
echo - (54 ms in self) | Skipping bookworm/openmodelica_1.24.5-1_arm64.deb (already exists) | | | |
echo - (85 ms in self) | Skipping bookworm/openmodelica_1.25.0~dev.beta.1-2-g317879a-1_arm64.deb (already exists) | | | |
echo - (31 ms in self) | Skipping focal/openmodelica_1.26.0~dev-50-g3d99764-1_arm64.deb (prefix in ignore list) | | | |
echo - (85 ms in self) | Skipping focal/openmodelica_1.24.5-1_arm64.deb (already exists) | | | |
echo - (4 ms in self) | Skipping focal/openmodelica_1.25.0~dev.beta.1-2-g317879a-1_arm64.deb (prefix in ignore list) | | | |
echo - (28 ms in self) | Skipping jammy/openmodelica_1.26.0~dev-50-g3d99764-1_arm64.deb (already exists) | | | |
echo - (54 ms in self) | Skipping jammy/openmodelica_1.24.5-1_arm64.deb (already exists) | | | |
echo - (4 ms in self) | Skipping jammy/openmodelica_1.25.0~dev.beta.1-2-g317879a-1_arm64.deb (already exists) | | | |
echo - (29 ms in self) | Skipping noble/openmodelica_1.26.0~dev-50-g3d99764-1_arm64.deb (already exists) | | | |
echo - (55 ms in self) | Skipping noble/openmodelica_1.24.5-1_arm64.deb (already exists) | | | |
echo - (2 ms in self) | Skipping noble/openmodelica_1.25.0~dev.beta.1-2-g317879a-1_arm64.deb (already exists) | | | |
sh - (0.28 sec in self) | LC_ALL=C date "+%a %b %d %Y" | | | |
sh - (0.53 sec in self) | rm -f openmodelica.spec.tpl && wget -q https://raw.githubusercontent.com/OpenModelica/OpenModelicaBuildScripts/master/rpm/SPECS/openmodelica.spec.tpl | | | |
readFile - (24 ms in self) | openmodelica.spec.tpl | | | |
echo - (33 ms in self) | Skipping el8/openmodelica-nightly-1.26.0~dev~50~g3d99764-1.el8.x86_64.rpm (already exists) | | | |
echo - (96 ms in self) | Skipping el9/openmodelica-nightly-1.26.0~dev~50~g3d99764-1.el9.x86_64.rpm (already exists) | | | |
echo - (31 ms in self) | NOT skipping fc40/openmodelica-nightly-1.26.0~dev~50~g3d99764-1.fc40.x86_64.rpm (not existing or in the ignore list) | | | |
echo - (2 ms in self) | Skipping fc41/openmodelica-nightly-1.26.0~dev~50~g3d99764-1.fc41.x86_64.rpm (already exists) | | | |
stage - (6 ms in block) | build-dep | | | |
stage block (build-dep) - (3 ms in block) | | | | |
echo - (<1 ms in self) | Skipping build dependencies (user's choice) | | | |
stage - (5 min 54 sec in block) | build | | | |
stage block (build) - (5 min 54 sec in block) | | | | |
parallel - (5 min 54 sec in block) | | | | |
parallel block (Branch: fc40 nightly) - (5 min 54 sec in block) | | | | |
timeout - (5 min 54 sec in block) | | | | |
timeout block - (5 min 54 sec in block) | | | | |
node - (5 min 54 sec in block) | linux-2022 | | | |
node block - (5 min 54 sec in block) | | | | |
wrap - (5 min 54 sec in block) | | | | |
wrap block - (5 min 54 sec in block) | | | | |
echo - (1 ms in self) | r7945-1 | | | |
sh - (0.58 sec in self) | rm -rf rpmbuild | | | |
isUnix - (1 ms in self) | | | | |
withEnv - (0.28 sec in block) | JD_TO_PULL | | | |
withEnv block - (0.27 sec in block) | | | | |
sh - (0.27 sec in self) | docker pull "$JD_TO_PULL" | | | |
isUnix - (<1 ms in self) | | | | |
withEnv - (0.28 sec in block) | JD_ID, JD_TO_RUN | | | |
withEnv block - (0.27 sec in block) | | | | |
sh - (0.27 sec in self) | docker inspect -f . "$JD_TO_RUN" | | | |
withDockerContainer - (5 min 40 sec in block) | | | | |
withDockerContainer block - (5 min 38 sec in block) | | | | |
sh - (0.27 sec in self) | cat /var/lib/openmodelica-depends/openmodelica.spec.tpl | | | |
echo - (1 ms in self) | | | | |
writeFile - (4 ms in self) | openmodelica.spec | | | |
sh - (0.26 sec in self) | mkdir -p rpmbuild/SOURCES rpmbuild/SRPMS rpmbuild/RPMS | | | |
sh - (1 sec in self) | HOME="$PWD" spectool -g -R openmodelica.spec | | | |
sh - (5 min 36 sec in self) |
export HOME="$PWD"
if ! rpmbuild --define 'dist .fc40' -ba openmodelica.spec > log 2>&1; then
cat log
exit 1
fi
| | | |
sh - (0.26 sec in self) | find "$PWD" -name "*.rpm" | | | |
sh - (0.27 sec in self) | find "$PWD" -name "*.rpm" | | | |
echo - (1 ms in self) |
FROM docker.openmodelica.org/build-deps:fc40.amd64
COPY rpmbuild/RPMS/x86_64/openmodelica-nightly-1.26.0~dev~50~g3d99764-1.fc40.x86_64.rpm /root
RUN rpm -i /root/openmodelica-nightly-1.26.0~dev~50~g3d99764-1.fc40.x86_64.rpm
| | | |
writeFile - (5 ms in self) | Dockerfile | | | |
isUnix - (3 ms in self) | | | | |
withEnv - (9.5 sec in block) | JD_IMAGE | | | |
withEnv block - (9.5 sec in block) | | | | |
sh - (9.5 sec in self) | docker build -t "$JD_IMAGE" . | | | |
withCredentials - (3.1 sec in block) | | | | |
withCredentials block - (3 sec in block) | | | | |
findFiles - (10 ms in self) | rpmbuild/**/*.rpm | | | |
sh - (0.29 sec in self) | wget --spider -q https://build.openmodelica.org/rpm/fc40/openmodelica-nightly-1.26.0~dev~50~g3d99764-1.fc40.x86_64.rpm || echo fail | | | |
sshPut - (1.6 sec in self) | | | | |
sh - (0.27 sec in self) | wget --spider -q https://build.openmodelica.org/rpm/fc40/openmodelica-nightly-1.26.0~dev~50~g3d99764-1.fc40.src.rpm || echo fail | | | |
sshPut - (0.83 sec in self) | | | | |
stage - (6 ms in block) | release | | | |
stage block (release) - (2 ms in block) | | | | |
stage - (4.9 sec in block) | www-api-json | | | |
stage block (www-api-json) - (4.9 sec in block) | | | | |
node - (4.9 sec in block) | r630-2 | | | |
node block - (4.9 sec in block) | | | | |
git - (2 sec in self) | | | | |
sh - (0.27 sec in self) | git remote -v | grep www.openmodelica.org | | | |
writeFile - (4 ms in self) | static/api/linux.json | | | |
sh - (0.27 sec in self) | git add static/api/linux.json | | | |
sshagent - (2.2 sec in block) | | | | |
sshagent block - (2.1 sec in block) | | | | |
sh - (2.1 sec in self) |
if ! git diff-index --quiet HEAD; then
git config user.email "openmodelica@ida.liu.se"
git config user.name "OpenModelica Hudson"
git commit -m 'Updated Linux versions in the JSON'
GIT_SSH_COMMAND="ssh -o StrictHostKeyChecking=no" git push --set-upstream origin main
fi
| | | |
stage - (3 min 58 sec in block) | buildVM | | | |
stage block (buildVM) - (3 min 58 sec in block) | | | | |
node - (3 min 58 sec in block) | r630-2 | | | |
node block - (3 min 58 sec in block) | | | | |
checkout - (0.64 sec in self) | | | | |
sh - (0.27 sec in self) | git checkout -f f629dff0b08b8630c3f8afb9a97e89c14b4e7da0 | | | |
fileExists - (4 ms in self) | /var/www/build.openmodelica.org/virtual_machines/nightly/openmodelica-1.26.0~dev-50-g3d99764.vdi | | | |
sh - (0.27 sec in self) | cat /etc/fstab || true | | | |
sh - (0.27 sec in self) | sudo umount -l /var/www/build.openmodelica.org/virtual_machines/tmp-build/root/home/openmodelica/.openmodelica/cache || true | | | |
sh - (0.27 sec in self) | sudo umount -l /var/www/build.openmodelica.org/virtual_machines/tmp-build/root/proc || true | | | |
sh - (0.27 sec in self) | sudo umount -l /var/www/build.openmodelica.org/virtual_machines/tmp-build/root || true | | | |
sh - (0.27 sec in self) | rm -f /var/www/build.openmodelica.org/virtual_machines/tmp-build/tmp.raw /var/www/build.openmodelica.org/virtual_machines/tmp-build/tmp.vdi | | | |
sh - (0.29 sec in self) | for VM in `vboxmanage list vms | grep inaccessible | grep -o "{.*}" | tr -d "{}"`; do vboxmanage unregistervm "$VM"; done | | | |
sh - (0.27 sec in self) | for UUID in `vboxmanage list hdds | grep ^UUID: | sed "s/ */ /" | cut -d" " -f2`; do vboxmanage closemedium disk "$UUID"; done | | | |
sh - (1 min 48 sec in self) | 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 | | | |
sh - (1 min 36 sec in self) | mount /var/www/build.openmodelica.org/virtual_machines/tmp-build/root | | | |
sh - (0.28 sec in self) | sudo chroot /var/www/build.openmodelica.org/virtual_machines/tmp-build/root su -l openmodelica -c 'mkdir -p /home/openmodelica/.openmodelica/cache' | | | |
sh - (0.27 sec in self) | sudo mount /var/www/build.openmodelica.org/virtual_machines/tmp-build/root/home/openmodelica/.openmodelica/cache | | | |
sh - (0.27 sec in self) | sudo mount -t proc none /var/www/build.openmodelica.org/virtual_machines/tmp-build/root/proc | | | |
sh - (0.27 sec in self) | sudo chroot /var/www/build.openmodelica.org/virtual_machines/tmp-build/root sh -c 'echo nameserver 8.8.8.8 > /etc/resolv.conf' | | | |
sh - (11 sec in self) | sudo chroot /var/www/build.openmodelica.org/virtual_machines/tmp-build/root apt-get update | | | |
sh - (11 sec in self) | sudo chroot /var/www/build.openmodelica.org/virtual_machines/tmp-build/root apt-get install -qyy ca-certificates curl gnupg lsb-release | | | |
sh - (0.28 sec in self) | curl -fsSL http://build.openmodelica.org/apt/openmodelica.asc | sudo chroot /var/www/build.openmodelica.org/virtual_machines/tmp-build/root gpg --dearmor -o /usr/share/keyrings/openmodelica-keyring.gpg | | | |
sh - (2.1 sec in self) | sudo chroot /var/www/build.openmodelica.org/virtual_machines/tmp-build/root apt-get update | | | |
sh - (0.27 sec in self) | 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 | | | |
sh - (2.1 sec in self) | sudo chroot /var/www/build.openmodelica.org/virtual_machines/tmp-build/root apt-get update | | | |
sh - (0.27 sec in self) | sudo chroot /var/www/build.openmodelica.org/virtual_machines/tmp-build/root apt-cache show omc | | | |
sh - (0.27 sec in self) | sudo chroot /var/www/build.openmodelica.org/virtual_machines/tmp-build/root apt-cache show omc | grep '^Version:' | | | |
sh - (0.31 sec in self) | sudo chroot /var/www/build.openmodelica.org/virtual_machines/tmp-build/root apt-cache show omc | grep '^Version:' | grep '1.26.0~dev-50-g3d99764' | | | |