https://projects.osmocom.org/https://projects.osmocom.org/favicon.ico?16647414092018-08-14T13:43:23ZOpen Source Mobile CommunicationsOsmoBTS - Bug #3465: TTCN3 tests for osmo-bts failhttps://projects.osmocom.org/issues/3465?journal_id=107592018-08-14T13:43:23Zdexter
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Resolved</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>The reason for the failure was that trxcon and fake-trx were not present. Both containers did not run. That caused the error messages on TTCN3:</p>
<pre>
MTC@lobotron: Test case TC_meas_res_sign_sdcch4 started.
MTC@lobotron: Test case TC_meas_res_sign_sdcch4 finished. Verdict: fail reason: Timeout waiting for { rsp := { verb := "FAKE_TOA", status := ?, params := * } } on port BB_TRXC
</pre>
<p>The the problem was that jenkins still was trying to cd to osmocom-bb-trxcon, even though it was renamed to osmocom-bb-host-master and all scripts were were also updated as well. So the containers for trcxon and fake-trx were not build.</p>
<pre>
+ cd /home/osmocom-build/jenkins/docker-playground/osmocom-bb-trxcon
/tmp/jenkins107667062836676929.sh: 12: cd: can't cd to /home/osmocom-build/jenkins/docker-playground/osmocom-bb-trxcon
</pre>
<pre>
Starting container with fake_trx
+ docker run --rm --network ttcn3-bts-test --ip 172.18.9.21 --name jenkins-ttcn3-bts-test-204-fake_trx -d osmocom-build/osmocom-bb-host-master /tmp/osmocom-bb/src/target/trx_toolkit/fake_trx.py -R 172.18.9.20 -r 172.18.9.22
Unable to find image 'osmocom-build/osmocom-bb-host-master:latest' locally
docker: Error response from daemon: pull access denied for osmocom-build/osmocom-bb-host-master, repository does not exist or may require 'docker login'.
See 'docker run --help'.
+ echo Starting container with trxcon
Starting container with trxcon
+ docker run --rm --network ttcn3-bts-test --ip 172.18.9.22 -v /home/osmocom-build/jenkins/workspace/ttcn3-bts-test/logs/unix:/data/unix --name jenkins-ttcn3-bts-test-204-trxcon -d osmocom-build/osmocom-bb-host-master /usr/local/bin/trxcon -i 172.18.9.21 -s /data/unix/osmocom_l2
Unable to find image 'osmocom-build/osmocom-bb-host-master:latest' locally
docker: Error response from daemon: pull access denied for osmocom-build/osmocom-bb-host-master, repository does not exist or may require 'docker login'.
See 'docker run --help'.
</pre>
<p>The problem turned out to be in the jenkins job configuration. The configuration was updated to use osmocom-bb-host-master as well and now the TTCN3 tests are fine again.</p> OsmoBTS - Bug #3465: TTCN3 tests for osmo-bts failhttps://projects.osmocom.org/issues/3465?journal_id=107642018-08-14T17:45:23Zfixeria
<ul></ul><p>Ah, my bad. I had to update the Jenkins job... Thanks!</p>