fixeria has abandoned this change. ( https://gerrit.osmocom.org/c/pysim/+/29238 )
Change subject: contrib/jenkins.sh: run pylint on all *.py files
......................................................................
Abandoned
--
To view, visit https://gerrit.osmocom.org/c/pysim/+/29238
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: Ifb1e752cc79fc87211799b355c07ed7fe7052ab5
Gerrit-Change-Number: 29238
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-CC: Jenkins Builder
Gerrit-MessageType: abandon
fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/pysim/+/29236 )
Change subject: contrib/jenkins.sh: execute this script with -x and -e
......................................................................
contrib/jenkins.sh: execute this script with -x and -e
-x Print commands and their arguments as they are executed
-e Exit immediately if a command exits with a non-zero status
Change-Id: I13af70ef770936bec00b050b6c4f988e53ee2833
---
M contrib/jenkins.sh
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/36/29236/1
diff --git a/contrib/jenkins.sh b/contrib/jenkins.sh
index ac5fba8..36bc4ae 100755
--- a/contrib/jenkins.sh
+++ b/contrib/jenkins.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/sh -xe
# jenkins build helper script for pysim. This is how we build on jenkins.osmocom.org
#
# environment variables:
--
To view, visit https://gerrit.osmocom.org/c/pysim/+/29236
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: I13af70ef770936bec00b050b6c4f988e53ee2833
Gerrit-Change-Number: 29236
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-MessageType: newchange
fixeria has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/29202 )
Change subject: BSC_Tests: fix race conditions in TC_chan_alloc_algo_ass_dynamic
......................................................................
BSC_Tests: fix race conditions in TC_chan_alloc_algo_ass_dynamic
In cases a), b), c), d), and e) we're sending one or more Measurement
Reports via the A-bis/RSL, and then immediately triggering a traffic
channel assignment by calling f_TC_chan_alloc_algo(), which sends an
Assignment Request via the A interface.
The above-mentioned messages are sent immediately all together, so it
may happen that the BSC handles the Assignment Request earlier than
the Measurement Report(s). In this case there will be no RxLev
samples, so the BSC would fall-back to ascending allocation order.
Recently we saw this race condition actually happening on Jenkins:
https://jenkins.osmocom.org/jenkins/view/TTCN3/job/ttcn3-bsc-test-sccplite/…
Let's introduce an artificial delay before sending the Assignment
Request, so that the BSC has enough time to process received MRs.
Change-Id: I2fd6508488e935d208a7aba8e2f215b1cc14ad32
---
M bsc/BSC_Tests.ttcn
1 file changed, 4 insertions(+), 0 deletions(-)
Approvals:
laforge: Looks good to me, approved
osmith: Looks good to me, but someone else must approve
Jenkins Builder: Verified
diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn
index 7f4ce46..09cd717 100644
--- a/bsc/BSC_Tests.ttcn
+++ b/bsc/BSC_Tests.ttcn
@@ -11666,6 +11666,7 @@
f_ipa_tx(ts_RSL_MEAS_RES_EMPTY(dt.rsl_chan_nr, 0,
ts_RSL_IE_UplinkMeas(30, 0),
ts_RSL_IE_BS_Power(0)), TRX0);
+ f_sleep(0.3); /* give the IUT some time to process sent MRs */
f_TC_chan_alloc_algo(dt, TRX0);
f_perform_clear_test_ct(dt);
@@ -11677,6 +11678,7 @@
f_ipa_tx(ts_RSL_MEAS_RES_EMPTY(dt.rsl_chan_nr, 1,
ts_RSL_IE_UplinkMeas(48, 0),
ts_RSL_IE_BS_Power(0)), TRX0);
+ f_sleep(0.3); /* give the IUT some time to process sent MRs */
f_TC_chan_alloc_algo(dt, TRX0);
f_perform_clear_test_ct(dt);
@@ -11688,6 +11690,7 @@
f_ipa_tx(ts_RSL_MEAS_RES_EMPTY(dt.rsl_chan_nr, 1,
ts_RSL_IE_UplinkMeas(58, 0),
ts_RSL_IE_BS_Power(0)), TRX0);
+ f_sleep(0.3); /* give the IUT some time to process sent MRs */
f_TC_chan_alloc_algo(dt, TRX3);
f_perform_clear_test_ct(dt);
@@ -11703,6 +11706,7 @@
f_ipa_tx(ts_RSL_MEAS_RES_EMPTY(dt.rsl_chan_nr, 1,
ts_RSL_IE_UplinkMeas(58, 0),
ts_RSL_IE_BS_Power(0)), TRX0);
+ f_sleep(0.3); /* give the IUT some time to process sent MRs */
f_TC_chan_alloc_algo(dt, TRX0);
f_perform_clear_test_ct(dt);
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/29202
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I2fd6508488e935d208a7aba8e2f215b1cc14ad32
Gerrit-Change-Number: 29202
Gerrit-PatchSet: 2
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-MessageType: merged
Attention is currently required from: laforge.
fixeria has posted comments on this change. ( https://gerrit.osmocom.org/c/libsmpp34/+/29219 )
Change subject: contrib/jenkins.sh: actually build with $PARALLEL_MAKE
......................................................................
Patch Set 2:
(1 comment)
Patchset:
PS1:
> I think this was intentional, i.e. libsmpp34 as we inherited had shown parallel_make problems.
I updated the commit message. The parallel build has been fixed back in 2018.
--
To view, visit https://gerrit.osmocom.org/c/libsmpp34/+/29219
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libsmpp34
Gerrit-Branch: master
Gerrit-Change-Id: Iff7e7acfac0b827ce3b1086cea376a438b5af334
Gerrit-Change-Number: 29219
Gerrit-PatchSet: 2
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Comment-Date: Mon, 29 Aug 2022 15:38:22 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: laforge <laforge(a)osmocom.org>
Gerrit-MessageType: comment