<freeStyleBuild _class='hudson.model.FreeStyleBuild'><action _class='hudson.model.CauseAction'><cause _class='hudson.triggers.SCMTrigger$SCMTriggerCause'><shortDescription>Started by an SCM change</shortDescription></cause></action><action></action><action _class='jenkins.metrics.impl.TimeInQueueAction'><blockedDurationMillis>0</blockedDurationMillis><blockedTimeMillis>0</blockedTimeMillis><buildableDurationMillis>1</buildableDurationMillis><buildableTimeMillis>1</buildableTimeMillis><buildingDurationMillis>1069</buildingDurationMillis><executingTimeMillis>1069</executingTimeMillis><executorUtilization>1.0</executorUtilization><subTaskCount>0</subTaskCount><waitingDurationMillis>8690</waitingDurationMillis><waitingTimeMillis>8690</waitingTimeMillis></action><action _class='hudson.plugins.git.util.BuildData'><buildsByBranchName><refsremotesoriginmaster _class='hudson.plugins.git.util.Build'><buildNumber>411</buildNumber><marked><SHA1>193feff80f5895ee50e79e36467d5bde2931b63f</SHA1><branch><SHA1>193feff80f5895ee50e79e36467d5bde2931b63f</SHA1><name>refs/remotes/origin/master</name></branch></marked><revision><SHA1>193feff80f5895ee50e79e36467d5bde2931b63f</SHA1><branch><SHA1>193feff80f5895ee50e79e36467d5bde2931b63f</SHA1><name>refs/remotes/origin/master</name></branch></revision></refsremotesoriginmaster></buildsByBranchName><lastBuiltRevision><SHA1>193feff80f5895ee50e79e36467d5bde2931b63f</SHA1><branch><SHA1>193feff80f5895ee50e79e36467d5bde2931b63f</SHA1><name>refs/remotes/origin/master</name></branch></lastBuiltRevision><remoteUrl>https://gerrit.osmocom.org/docker-playground</remoteUrl><scmName></scmName></action><action></action><action></action><action _class='org.jenkinsci.plugins.displayurlapi.actions.RunDisplayAction'></action><building>false</building><displayName>#411</displayName><duration>1069</duration><estimatedDuration>255</estimatedDuration><fullDisplayName>update-osmo-ci-on-slaves-dp #411</fullDisplayName><id>411</id><inProgress>false</inProgress><keepLog>false</keepLog><number>411</number><queueId>921081</queueId><result>SUCCESS</result><timestamp>1669826769265</timestamp><url>https://jenkins.osmocom.org/jenkins/view/SDR/job/update-osmo-ci-on-slaves-dp/411/</url><builtOn>gtp0-deb9build</builtOn><changeSet _class='hudson.plugins.git.GitChangeSetList'><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>release-tarball-build-dist/Dockerfile</affectedPath><commitId>59f3aa83d54e40ae7741774e0c8fc3456f0eca15</commitId><timestamp>1669820660000</timestamp><author><absoluteUrl>https://jenkins.osmocom.org/jenkins/user/osmith</absoluteUrl><fullName>Oliver Smith</fullName></author><authorEmail>osmith@sysmocom.de</authorEmail><comment>release-tarball-build-dist: order install pkgs

Change-Id: I059f400db20e858b379704363e32d39a7897984a
</comment><date>2022-11-30 16:04:20 +0100</date><id>59f3aa83d54e40ae7741774e0c8fc3456f0eca15</id><msg>release-tarball-build-dist: order install pkgs</msg><path><editType>edit</editType><file>release-tarball-build-dist/Dockerfile</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>release-tarball-build-dist/Dockerfile</affectedPath><affectedPath>release-tarball-build-dist/jenkins.sh</affectedPath><affectedPath>release-tarball-build-dist/known_hosts</affectedPath><affectedPath>release-tarball-build-dist/osmocom-release-tarballs.sh</affectedPath><commitId>c4f160e2c2b8a76c18a8fa6ee161245f49b5f01e</commitId><timestamp>1669823487000</timestamp><author><absoluteUrl>https://jenkins.osmocom.org/jenkins/user/osmith</absoluteUrl><fullName>Oliver Smith</fullName></author><authorEmail>osmith@sysmocom.de</authorEmail><comment>release-tarball-build-dist: move rsync into docker

Prepare to use ssh inside the docker container to check if tarballs
already exist, see the next patch.

Remove the '' around UserKnownHostsFile as using SSH_COMMAND in the next
patch without rsync fails otherwise with:
  command-line: line 0: Bad configuration option: 'userknownhostsfile

Change-Id: I6dfe5d587d05063c6cf2c9ec683e7b7e499b79c1
</comment><date>2022-11-30 16:51:27 +0100</date><id>c4f160e2c2b8a76c18a8fa6ee161245f49b5f01e</id><msg>release-tarball-build-dist: move rsync into docker</msg><path><editType>edit</editType><file>release-tarball-build-dist/Dockerfile</file></path><path><editType>add</editType><file>release-tarball-build-dist/known_hosts</file></path><path><editType>edit</editType><file>release-tarball-build-dist/osmocom-release-tarballs.sh</file></path><path><editType>edit</editType><file>release-tarball-build-dist/jenkins.sh</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>release-tarball-build-dist/osmocom-release-tarballs.sh</affectedPath><commitId>757396a61b6ac06098d3a28101e2e42366453dbe</commitId><timestamp>1669823533000</timestamp><author><absoluteUrl>https://jenkins.osmocom.org/jenkins/user/osmith</absoluteUrl><fullName>Oliver Smith</fullName></author><authorEmail>osmith@sysmocom.de</authorEmail><comment>release-tarball-build-dist: check exists on server

Previously this job relied on always running on the same jenkins node,
and having the previously built release tarballs in a workspace
directory that does not get removed. It would only skip building a
release tarball if the file already exists locally.

As part of OS#5793 this job needs to be moved away from that jenkins
node. When trying to run the job on a different node, it will build all
release tarballs again which takes unnecessarsily long and actually
fails on libosmocore-0.9.4 due to a missing python2.

This probably happens because the job was refactored at some point and I
didn't realize that the python2 dep is now missing as the previous
tarballs existed.

In general it doesn't make much sense to build previous release tarballs
again and to always keep the legacy environments around for that. Change
the code to check if a tarball exists on the server, and skip building
the tarball in that case.

Related: OS#5793
Related: https://jenkins.osmocom.org/jenkins/view/All%20no%20Gerrit/job/Osmocom-release-tarballs/1281/console
Change-Id: I4b8c149c9cdbe7c613eea5d9be15794de5e5ddce
</comment><date>2022-11-30 16:52:13 +0100</date><id>757396a61b6ac06098d3a28101e2e42366453dbe</id><msg>release-tarball-build-dist: check exists on server</msg><path><editType>edit</editType><file>release-tarball-build-dist/osmocom-release-tarballs.sh</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>release-tarball-build-dist/osmocom-release-tarballs.sh</affectedPath><commitId>858178e4e3032adc7d14c67396ec5335e5d61168</commitId><timestamp>1669825688000</timestamp><author><absoluteUrl>https://jenkins.osmocom.org/jenkins/user/osmith</absoluteUrl><fullName>Oliver Smith</fullName></author><authorEmail>osmith@sysmocom.de</authorEmail><comment>release-tarball-build-dist: fix missing dir crash

Don't fail if no tarball was generated and therefore the
_release_tarballs directory does not exist.

Related: OS#5793
Change-Id: Ib7c551e5376776eb267140bc4b897d5bb1634cbc
</comment><date>2022-11-30 17:28:08 +0100</date><id>858178e4e3032adc7d14c67396ec5335e5d61168</id><msg>release-tarball-build-dist: fix missing dir crash</msg><path><editType>edit</editType><file>release-tarball-build-dist/osmocom-release-tarballs.sh</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>release-tarball-build-dist/Dockerfile</affectedPath><commitId>193feff80f5895ee50e79e36467d5bde2931b63f</commitId><timestamp>1669825691000</timestamp><author><absoluteUrl>https://jenkins.osmocom.org/jenkins/user/osmith</absoluteUrl><fullName>Oliver Smith</fullName></author><authorEmail>osmith@sysmocom.de</authorEmail><comment>release-tarball-build-dist: fix permission errors

Run all commands inside the docker containers as a user with the same
UID as on the host system, not as root. This is a good idea in general
and also fixes permission problems when jenkins tries to wipe the
workspace.

Related: OS#5793
Change-Id: I0d949e5ab4b1a709d18a316def0a98c3b244457e
</comment><date>2022-11-30 17:28:11 +0100</date><id>193feff80f5895ee50e79e36467d5bde2931b63f</id><msg>release-tarball-build-dist: fix permission errors</msg><path><editType>edit</editType><file>release-tarball-build-dist/Dockerfile</file></path></item><kind>git</kind></changeSet><culprit><absoluteUrl>https://jenkins.osmocom.org/jenkins/user/osmith</absoluteUrl><fullName>Oliver Smith</fullName></culprit></freeStyleBuild>