Change in docker-playground[master]: ttcn3-bts-test: fix: sleep 1 second before respawning the IUT

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

fixeria gerrit-no-reply at lists.osmocom.org
Wed Dec 16 14:07:12 UTC 2020


fixeria has submitted this change. ( https://gerrit.osmocom.org/c/docker-playground/+/21640 )

Change subject: ttcn3-bts-test: fix: sleep 1 second before respawning the IUT
......................................................................

ttcn3-bts-test: fix: sleep 1 second before respawning the IUT

There has been a lot of changes merged to both osmo-{bsc,bts}, so
now the later seems to be respawning faster then before.  Because
of that, osmo-bts-trx is now reaching the limit of 500 runs on
Jenkins right in the middle of ttcn3-bts-test execution:

  respawn.sh: exiting after 500 runs

causing the remaining test cases to fail due to:

  "BTS_Tests.ttcn:253 : Timeout waiting for RSL bring up"

Most likely, the IUT respawns several times in the windows between
the test cases, i.e. after TITAN finishes one test case and before
it starts another.  Let's instruct respawn.sh to sleep 1 second
before starting the process again.

Change-Id: I09e5a8e7c4d28424cd0d004a8bae3cf0ade2d838
---
M ttcn3-bts-test/jenkins.sh
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  fixeria: Looks good to me, approved; Verified
  pespin: Looks good to me, but someone else must approve



diff --git a/ttcn3-bts-test/jenkins.sh b/ttcn3-bts-test/jenkins.sh
index be6a71c..87e2896 100755
--- a/ttcn3-bts-test/jenkins.sh
+++ b/ttcn3-bts-test/jenkins.sh
@@ -142,7 +142,7 @@
 
 # 1) classic test suite with BSC for OML and trxcon+fake_trx
 start_bsc
-start_bts trx 0
+start_bts trx 1
 start_fake_trx
 start_trxcon
 start_testsuite generic
@@ -178,7 +178,7 @@
 # restart the BSC/BTS and run the testsuite again
 docker container kill ${BUILD_TAG}-bts
 start_bsc
-start_bts trx 0
+start_bts trx 1
 start_testsuite hopping
 # append ':hopping' to the classnames,
 # e.g. "classname='BTS_Tests'" => "classname='BTS_Tests:hopping'"

-- 
To view, visit https://gerrit.osmocom.org/c/docker-playground/+/21640
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-Change-Id: I09e5a8e7c4d28424cd0d004a8bae3cf0ade2d838
Gerrit-Change-Number: 21640
Gerrit-PatchSet: 4
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-CC: daniel <dwillmann at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201216/e67b6005/attachment.htm>


More information about the gerrit-log mailing list