Attention is currently required from: pespin.
fixeria has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/31979 )
Change subject: BTS_Tests: keep pchan configuration unchanged in TC_pcu_*
......................................................................
Patch Set 2:
(1 comment)
File bts/BTS_Tests.ttcn:
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/31979/comment/2a116118_92c8…
PS1, Line 5596: private function f_TC_pcu_common() runs on test_CT {
> feel like you actually want to call this f_init() instead ;)
Done
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/31979
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: I98397ac0fc17ece8f0e41b1ef1c158b47c9de026
Gerrit-Change-Number: 31979
Gerrit-PatchSet: 2
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Sat, 25 Mar 2023 14:31:39 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: comment
Attention is currently required from: pespin.
fixeria has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/31978 )
Change subject: BTS_Tests: do L1CTL.clear in f_pcu_to_l1()
......................................................................
Patch Set 1:
(1 comment)
File bts/BTS_Tests.ttcn:
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/31978/comment/c5ec7478_dd30…
PS1, Line 5574: L1CTL.clear;
> Iedally you should discard those messages in the alt statement, with a repeat; to keep reading.
This is exactly what we're currently doing. But sometimes you may want to instrument the "wildcard" `L1CTL.receive { ... }` statement to print all non-matching messages, and you get tons of BCCH messages, what I find a bit annoying.
> you may run into race conditions here clearing stuff and then reading.
It's unlikely given that it takes the BTS some time to transmit the block over the air (even in the virtual env), but yeah, let's better move this one above. Done in the next patchset.
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/31978
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: I57b745bcfc48dc621359658cd43d2ee622fde49b
Gerrit-Change-Number: 31978
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Sat, 25 Mar 2023 14:31:08 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: comment
Attention is currently required from: fixeria.
Hello Jenkins Builder, pespin,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/31980
to look at the new patch set (#2).
Change subject: BTS_Tests.cfg: set mp_l1_supports_gprs to true
......................................................................
BTS_Tests.cfg: set mp_l1_supports_gprs to true
This parameter enables running additional TC_pcu_* tests.
Both trxcon and virtphy do support GPRS (l1gprs) now.
Change-Id: I68351bf45fa3470a3a25eae2110056abae39af47
---
M bts/BTS_Tests.cfg
1 file changed, 13 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/80/31980/2
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/31980
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: I68351bf45fa3470a3a25eae2110056abae39af47
Gerrit-Change-Number: 31980
Gerrit-PatchSet: 2
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-MessageType: newpatchset
Attention is currently required from: fixeria.
Hello Jenkins Builder, pespin,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/31979
to look at the new patch set (#2).
Change subject: BTS_Tests: keep pchan configuration unchanged in TC_pcu_*
......................................................................
BTS_Tests: keep pchan configuration unchanged in TC_pcu_*
Change [1] fixes support of dynamic timeslots in osmo-bts-virtual,
so we don't need to change the pchan configuration anymore.
Change-Id: I98397ac0fc17ece8f0e41b1ef1c158b47c9de026
Related: [1] osmo-bts.git I5db5b7dd6a8e84cf9a0d84f04a650c2ed8a4e368
---
M bts/BTS_Tests.ttcn
1 file changed, 20 insertions(+), 17 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/79/31979/2
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/31979
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: I98397ac0fc17ece8f0e41b1ef1c158b47c9de026
Gerrit-Change-Number: 31979
Gerrit-PatchSet: 2
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-MessageType: newpatchset
Attention is currently required from: fixeria.
Hello Jenkins Builder, pespin,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/31978
to look at the new patch set (#2).
Change subject: BTS_Tests: do L1CTL.clear in f_pcu_to_l1()
......................................................................
BTS_Tests: do L1CTL.clear in f_pcu_to_l1()
When calling f_pcu_to_l1(), the L1CTL port still contains many BCCH
related L1CTL DATA.ind messages in the queue. It's not a really a
problem since they all get discarded, but still they're producing
lots of useless TTCN_MATCHING log messages.
Change-Id: I57b745bcfc48dc621359658cd43d2ee622fde49b
---
M bts/BTS_Tests.ttcn
1 file changed, 15 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/78/31978/2
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/31978
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: I57b745bcfc48dc621359658cd43d2ee622fde49b
Gerrit-Change-Number: 31978
Gerrit-PatchSet: 2
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-MessageType: newpatchset
Attention is currently required from: neels, pespin.
fixeria has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmocore/+/32043 )
Change subject: logging: add 'logging timezone (localtime|utc)'
......................................................................
Patch Set 1:
(3 comments)
File src/core/logging.c:
https://gerrit.osmocom.org/c/libosmocore/+/32043/comment/d40f1ed3_33eb006c
PS1, Line 874: target->timezone = timezone;
> this should return an int and return an error if user wants to set a timezone for which we don't hav […]
Ack
File src/vty/logging_vty.c:
https://gerrit.osmocom.org/c/libosmocore/+/32043/comment/000f5409_4cdd1a6b
PS1, Line 203: log_set_timezone(tgt, LOG_TIMEZONE_UTC);
> in here, chewck the error code returned and if it failed return CMD_WARNING with a logging saying th […]
Ack
File tests/logging/logging_vty_test.vty:
https://gerrit.osmocom.org/c/libosmocore/+/32043/comment/86cf9698_e2243625
PS1, Line 75: logging_vty_test# logging timestamp ?
> you could add a "logging timezone ?" test here.
See https://gerrit.osmocom.org/c/libosmocore/+/32044.
--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/32043
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I7f868b47bf8f8dfcf85e735f490ae69b18111af4
Gerrit-Change-Number: 32043
Gerrit-PatchSet: 1
Gerrit-Owner: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-CC: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-CC: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Sat, 25 Mar 2023 13:57:28 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: comment
fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/python/osmo-python-tests/+/32063 )
Change subject: InteractVty: re.escape() the VTY prompt in connect()
......................................................................
InteractVty: re.escape() the VTY prompt in connect()
The VTY prompt may contain regular expression metacharacters in it,
so the self.re_prompt will not match as expected. One example is
the modem app in osmocom-bb.git using promot 'OsmocomBB(modem)'.
Change-Id: I47b1f1c1765acb1b935dcbcc54bbb5eb539db4f0
---
M osmopy/osmo_interact/vty.py
1 file changed, 14 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/python/osmo-python-tests refs/changes/63/32063/1
diff --git a/osmopy/osmo_interact/vty.py b/osmopy/osmo_interact/vty.py
index f4b9aff..1cc299c 100755
--- a/osmopy/osmo_interact/vty.py
+++ b/osmopy/osmo_interact/vty.py
@@ -95,7 +95,7 @@
if not self.prompt:
raise Exception('Could not find application name; needed to decode prompts.'
' Initial data was: %r' % data)
- self.re_prompt = re.compile('^%s(?:\(([\w-]*)\))?([#>]) (.*)$' % self.prompt)
+ self.re_prompt = re.compile('^%s(?:\(([\w-]*)\))?([#>]) (.*)$' % re.escape(self.prompt))
def _command(self, command_str, timeout=10):
self.socket.send(command_str.encode())
--
To view, visit https://gerrit.osmocom.org/c/python/osmo-python-tests/+/32063
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: python/osmo-python-tests
Gerrit-Branch: master
Gerrit-Change-Id: I47b1f1c1765acb1b935dcbcc54bbb5eb539db4f0
Gerrit-Change-Number: 32063
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-MessageType: newchange