https://osmocom.org/https://osmocom.org/favicon.ico?16647414092021-03-03T09:36:34ZOpen Source Mobile CommunicationsOsmoTRX - Feature #5055: set up two additional rpi4-deb9build slaveshttps://osmocom.org/issues/5055?journal_id=214512021-03-03T09:36:34Zlaforge
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Stalled</i></li></ul><p>some network relatd problems came up, expect to deploy the units tomorrow.</p> OsmoTRX - Feature #5055: set up two additional rpi4-deb9build slaveshttps://osmocom.org/issues/5055?journal_id=214582021-03-04T08:16:44Zlaforge
<ul><li><strong>Status</strong> changed from <i>Stalled</i> to <i>New</i></li><li><strong>Assignee</strong> changed from <i>osmith</i> to <i>roh</i></li></ul><p>the two pre-configured (SSH, fixed IP) RPI4 units + power supplies (+ uHDMI adapter, + label for the existing one) are with Maike an will be in AM93 today.</p>
<p><a class="user active" href="https://osmocom.org/users/72">roh</a>, please connect them tomorrow. I think for now it is best to simply put them next to the first rpi4-deb9build. We can think of a more proper solution later on. Once connected , plesae re-assign to <a class="user active" href="https://osmocom.org/users/301771">osmith</a>.</p>
<p>Oliver: They underlying rapsbian will be coming up at 10.9.25.60 and 10.9.25.70 (standard pi/raspberry/sudo at the moment, no ssh keys installed yet). The lxc for debian9 will have to be created. Please make sure to use bridged mode on lxcbr0 with static IP of 10.9.25.61 and 10.9.25.71 for the deb9build lxc containers.</p> OsmoTRX - Feature #5055: set up two additional rpi4-deb9build slaveshttps://osmocom.org/issues/5055?journal_id=214842021-03-05T15:52:27Zroh
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>In Progress</i></li><li><strong>Assignee</strong> changed from <i>roh</i> to <i>osmith</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>20</i></li></ul><p>physical setup done.</p>
<p>the machines are now reachable.</p>
<pre>
rpi4-1 dc:a6:32:4a:4b:ba 25 10.9.25.50 raspberry pi buildhost for jenkins
rpi4-2 dc:a6:32:d6:76:5c 25 10.9.25.60 raspberry pi buildhost for jenkins
rpi4-3 dc:a6:32:d6:76:70 25 10.9.25.70 raspberry pi buildhost for jenkins
</pre>
<p><a class="user active" href="https://osmocom.org/users/301771">osmith</a> please send me a sshkey (mail or jabber) to add to the old(first) host, so you have access there too.</p> OsmoTRX - Feature #5055: set up two additional rpi4-deb9build slaveshttps://osmocom.org/issues/5055?journal_id=214852021-03-05T15:54:41Zroh
<ul></ul><p>ps: one micro-hdmi adapter is with the 3 rpi, the other one is in the hdmi slk in office1.</p> OsmoTRX - Feature #5055: set up two additional rpi4-deb9build slaveshttps://osmocom.org/issues/5055?journal_id=214882021-03-05T16:20:11Zlaforge
<ul></ul><p>On Fri, Mar 05, 2021 at 03:52:29PM +0000, roh [REDMINE] wrote:</p>
<blockquote>
<p><a class="user active" href="https://osmocom.org/users/301771">osmith</a> please send me a sshkey (mail or jabber) to add to the old(first) host, so you have access there too.</p>
</blockquote>
<p>I've added osmith' key to all three now.</p> OsmoTRX - Feature #5055: set up two additional rpi4-deb9build slaveshttps://osmocom.org/issues/5055?journal_id=215222021-03-08T08:52:35Zosmith
<ul></ul><p>SSH login works, I'm proceeding with set up.</p> OsmoTRX - Feature #5055: set up two additional rpi4-deb9build slaveshttps://osmocom.org/issues/5055?journal_id=215252021-03-08T14:54:38Zosmith
<ul><li><strong>% Done</strong> changed from <i>20</i> to <i>50</i></li></ul><p>I've missed the lxc container part and directly set up the raspian10 hosts as jenkins nodes.</p>
<p>Most of the jenkins jobs utilize docker, so for the original plan we would need to get docker in deb9 in lxc on raspian 10 running. But Harald told me he already tried it, and it doesn't work out of the box because of kernel incompatibilities, and that he already spent four hours on it. Since most jobs run in docker anyway, we decided to keep the setup with having raspbian10 configured as jenkins node without the lxc in-between.</p>
<blockquote>
<ul>
<li>apply the ansible playbook for creating a jenkins slave</li>
<li>create the slaves in jenkins</li>
<li>create some kind of group ("label") for rpi4 builds</li>
<li>make all 4 rpi4-deb9build slaves share that label</li>
<li>make existing build jobs use that label instead of the specific rpi4-deb9build slave directly</li>
</ul>
</blockquote>
<p>All done. New label: <br /><a class="external" href="https://jenkins.osmocom.org/jenkins/label/rpi4-raspbian10/">https://jenkins.osmocom.org/jenkins/label/rpi4-raspbian10/</a></p>
<p>Related patches:<br /><a class="external" href="https://gerrit.osmocom.org/q/topic:new-raspberries">https://gerrit.osmocom.org/q/topic:new-raspberries</a></p>
<hr />
<p>I'm fixing up permission errors now:<br /><a class="external" href="https://jenkins.osmocom.org/jenkins/job/gerrit-osmo-pcu/1818/FIRMWARE_VERSION=master,WITH_MANUALS=0,label=rpi4-raspbian10,with_dsp=none,with_vty=False/console">https://jenkins.osmocom.org/jenkins/job/gerrit-osmo-pcu/1818/FIRMWARE_VERSION=master,WITH_MANUALS=0,label=rpi4-raspbian10,with_dsp=none,with_vty=False/console</a></p> OsmoTRX - Feature #5055: set up two additional rpi4-deb9build slaveshttps://osmocom.org/issues/5055?journal_id=215272021-03-08T16:31:08Zosmith
<ul><li><strong>% Done</strong> changed from <i>50</i> to <i>80</i></li></ul><p>The permission error is fixed now, it was caused by jenkins user not having UID=1000.</p>
<ul>
<li><a class="external" href="https://gerrit.osmocom.org/c/osmo-ci/+/23274">https://gerrit.osmocom.org/c/osmo-ci/+/23274</a> ansible: explicitly give jenkins user UID=1000</li>
<li><a class="external" href="https://gerrit.osmocom.org/c/osmo-ci/+/23275">https://gerrit.osmocom.org/c/osmo-ci/+/23275</a> ansible: remove raspbian default user "pi"</li>
</ul>
<p>gerrit-osmo-pcu is working again.</p> OsmoTRX - Feature #5055: set up two additional rpi4-deb9build slaveshttps://osmocom.org/issues/5055?journal_id=215282021-03-08T16:56:48Zosmith
<ul><li><strong>% Done</strong> changed from <i>80</i> to <i>90</i></li></ul> OsmoTRX - Feature #5055: set up two additional rpi4-deb9build slaveshttps://osmocom.org/issues/5055?journal_id=215292021-03-09T08:35:31Zosmith
<ul><li><strong>% Done</strong> changed from <i>90</i> to <i>80</i></li></ul><p>master-osmo-bts and master-osmo-trx failures are a regression of the new raspberry pi setup. Both jobs were not building in docker yet. I'm migrating them to docker.</p>
<p>For master-osmo-bts, this works already (jenkins job adjusted, I'll push the config to gerrit once osmo-trx also works).</p>
<p>master-osmo-trx needs liblimesuite-dev to be added to the debian-stretch-jenkins docker image. I'm currently verifying that this makes the build pass.</p> OsmoTRX - Feature #5055: set up two additional rpi4-deb9build slaveshttps://osmocom.org/issues/5055?journal_id=215342021-03-09T11:17:32Zosmith
<ul><li><strong>% Done</strong> changed from <i>80</i> to <i>90</i></li></ul><p>master-osmo-{trx,bts} work again.</p>
Related patches:
<ul>
<li><a class="external" href="https://gerrit.osmocom.org/c/osmo-ci/+/23283">https://gerrit.osmocom.org/c/osmo-ci/+/23283</a></li>
<li><a class="external" href="https://gerrit.osmocom.org/c/docker-playground/+/23280">https://gerrit.osmocom.org/c/docker-playground/+/23280</a></li>
</ul> OsmoTRX - Feature #5055: set up two additional rpi4-deb9build slaveshttps://osmocom.org/issues/5055?journal_id=215352021-03-09T14:18:31Zosmith
<ul><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Resolved</i></li><li><strong>% Done</strong> changed from <i>90</i> to <i>100</i></li></ul>