Attention is currently required from: pespin.
osmith has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-bts/+/33457 )
Change subject: osmo-bts-sysmo: mute PHY until OML is ready
......................................................................
Patch Set 8:
(1 comment)
File src/osmo-bts-sysmo/l1_if.c:
https://gerrit.osmocom.org/c/osmo-bts/+/33457/comment/b1652469_92d4f055
PS7, Line 1271: oml_mo_rf_lock_chg(&trx->mo, fl1h->last_rf_mute, 0);
> did you check this is not sending StateChg before SW_ACT OML messages are sent?
Do you mean: verify that it does not go into this code path before OML is established?
In my testing it did not. As I understand it would only go there if l1 failed to set the RF to muted (in which case it's right to keep the RF Active LED on).
> How does it look right now?
When OsmoBSC is not running:
- glows shortly on start up
- LED stays off until OsmoBSC is started and OML is established
- when shutting down OsmoBSC, the LED goes off again
- when starting OsmoBSC again, the LED goes on
When OsmoBSC is running before OsmoBTS is running, the LED goes on and stays on.
=> working as expected
--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/33457
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: Ia1769f952fa787202a442a33db5ed4a1f7cbe9c3
Gerrit-Change-Number: 33457
Gerrit-PatchSet: 8
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Mon, 26 Jun 2023 15:58:08 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: comment
Hello Jenkins Builder,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/33465
to look at the new patch set (#2).
Change subject: WIP: sgsn: Fix TC_attach_timeout_after_pdp_act failing
......................................................................
WIP: sgsn: Fix TC_attach_timeout_after_pdp_act failing
Currently not working (?) see my comment below on Gerrit
Change-Id: Ibaf2134247153471bd45d7a7f91155294c6c6de5
---
M sgsn/SGSN_Tests.ttcn
1 file changed, 15 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/65/33465/2
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/33465
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: Ibaf2134247153471bd45d7a7f91155294c6c6de5
Gerrit-Change-Number: 33465
Gerrit-PatchSet: 2
Gerrit-Owner: arehbein <arehbein(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-MessageType: newpatchset
arehbein has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/33465 )
Change subject: WIP: sgsn: Fix TC_attach_timeout_after_pdp_act failing
......................................................................
Patch Set 1:
(1 comment)
This change is ready for review.
Patchset:
PS1:
Somehow haven't yet managed to run my local code on docker-playground due
to changes in docker-playground a few months ago
(I think; it's kind of hard to tell because there are now multiple places
in the repo specifying a URL for osmo-ttcn3-hacks.. I was pretty sure I had
made the right changes everywhere to point docker-playground to my local copy),
or,
this fix doesn't work and I'm currently clueless (because I've seen other tests do
the same; the problem is that the timer timeout event seems to be causing
the test to fail, although I need the timeout as a passing condition).As stated in the commit message I think this should work, but I haven't yet gotten to test it locally.
Would be glad for some pointers... or maybe it's the call to/arguments for `f_start_handler()` ?
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/33465
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: Ibaf2134247153471bd45d7a7f91155294c6c6de5
Gerrit-Change-Number: 33465
Gerrit-PatchSet: 1
Gerrit-Owner: arehbein <arehbein(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Comment-Date: Mon, 26 Jun 2023 15:51:38 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
arehbein has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/33465 )
Change subject: WIP: sgsn: Fix TC_attach_timeout_after_pdp_act failing
......................................................................
WIP: sgsn: Fix TC_attach_timeout_after_pdp_act failing
Somehow haven't yet managed to run my local code on docker-playground due
to changes in docker-playground a few months ago
(I think; it's kind of hard to tell because there are now multiple places
in the repo specifying a URL for osmo-ttcn3-hacks.. I was pretty sure I had
made the right changes everywhere to point docker-playground to my local copy),
or,
this fix doesn't work and I'm currently clueless (because I've seen other tests do
the same; the problem is that the timer timeout event seems to be causing
the test to fail, although I need the timeout as a passing condition).
Change-Id: Ibaf2134247153471bd45d7a7f91155294c6c6de5
---
M sgsn/SGSN_Tests.ttcn
1 file changed, 23 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/65/33465/1
diff --git a/sgsn/SGSN_Tests.ttcn b/sgsn/SGSN_Tests.ttcn
index 7cdf72c..193da7d 100644
--- a/sgsn/SGSN_Tests.ttcn
+++ b/sgsn/SGSN_Tests.ttcn
@@ -1063,7 +1063,9 @@
[] BSSGP[ran_index].receive(tr_GMM_ATTACH_ACCEPT('001'B, ?, ?)) {
setverdict(fail, "Received ", gmm_attach_repeats + 1, "th ATTACH ACCEPT")
}
- [] t_receive_GMM_ATTACH_ACCEPT.timeout { }
+ [] t_receive_GMM_ATTACH_ACCEPT.timeout {
+ setverdict(pass)
+ }
}
setverdict(pass);
@@ -1073,6 +1075,7 @@
var BSSGP_ConnHdlr vc_conn;
f_init();
vc_conn := f_start_handler(refers(f_TC_attach_timeout_after_pdp_act), testcasename(), g_gb, 21);
+ vc_conn.done;
f_cleanup();
}
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/33465
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: Ibaf2134247153471bd45d7a7f91155294c6c6de5
Gerrit-Change-Number: 33465
Gerrit-PatchSet: 1
Gerrit-Owner: arehbein <arehbein(a)sysmocom.de>
Gerrit-MessageType: newchange
Attention is currently required from: pespin, fixeria.
osmith has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-bts/+/33463 )
Change subject: osmo-bts-sysmo/l1_if: move mute_rf_compl_cb up
......................................................................
Patch Set 3:
(1 comment)
File src/osmo-bts-sysmo/l1_if.c:
https://gerrit.osmocom.org/c/osmo-bts/+/33463/comment/a688a1fb_b72e9cca
PS2, Line 1423: int l1if_mute_rf(struct femtol1_hdl *hdl, uint8_t mute[8], l1if_compl_cb *cb)
> You should move l1if_mute_rf too in order to stay in the same place relative to mute_rf_compl_cb().
Done
--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/33463
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I19dbfbd595d3b42c0634a4c38e39cdb314a54266
Gerrit-Change-Number: 33463
Gerrit-PatchSet: 3
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Comment-Date: Mon, 26 Jun 2023 15:35:54 +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: osmith.
Jenkins Builder has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-bts/+/33457 )
Change subject: osmo-bts-sysmo: mute PHY until OML is ready
......................................................................
Patch Set 8:
(1 comment)
File src/osmo-bts-sysmo/l1_if.c:
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-8607):
https://gerrit.osmocom.org/c/osmo-bts/+/33457/comment/76936092_e836c5ee
PS8, Line 1342: int trx_rf_lock(struct gsm_bts_trx *trx, int locked, l1if_compl_cb *cb);
need consistent spacing around '*' (ctx:WxV) (or typedef missing in osmo-ci/lint/checkpatch/typedefs_osmo.txt?)
--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/33457
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: Ia1769f952fa787202a442a33db5ed4a1f7cbe9c3
Gerrit-Change-Number: 33457
Gerrit-PatchSet: 8
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: osmith <osmith(a)sysmocom.de>
Gerrit-Comment-Date: Mon, 26 Jun 2023 15:35:24 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: osmith, fixeria.
Hello Jenkins Builder, fixeria, pespin,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/osmo-bts/+/33463
to look at the new patch set (#3).
Change subject: osmo-bts-sysmo/l1_if: move mute_rf_compl_cb up
......................................................................
osmo-bts-sysmo/l1_if: move mute_rf_compl_cb up
Prepare to use it in a new function above activate_rf_compl_cb.
Change-Id: I19dbfbd595d3b42c0634a4c38e39cdb314a54266
---
M src/osmo-bts-sysmo/l1_if.c
1 file changed, 109 insertions(+), 98 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/63/33463/3
--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/33463
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I19dbfbd595d3b42c0634a4c38e39cdb314a54266
Gerrit-Change-Number: 33463
Gerrit-PatchSet: 3
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-MessageType: newpatchset
Attention is currently required from: osmith.
Hello Jenkins Builder, pespin, fixeria,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/osmo-bts/+/33457
to look at the new patch set (#8).
Change subject: osmo-bts-sysmo: mute PHY until OML is ready
......................................................................
osmo-bts-sysmo: mute PHY until OML is ready
Connecting to OML and PHY is done in parallel. The PHY connection will
always be done first, mute PHY until OML is also ready.
As Pau suggested, move dispatch of NM_EV_SW_ACT to a callback of
trx_rf_lock to have the events serialized and therefore deterministic.
Fixes: SYS#6496
Change-Id: Ia1769f952fa787202a442a33db5ed4a1f7cbe9c3
---
M src/osmo-bts-sysmo/l1_if.c
M src/osmo-bts-sysmo/oml.c
2 files changed, 38 insertions(+), 6 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/57/33457/8
--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/33457
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: Ia1769f952fa787202a442a33db5ed4a1f7cbe9c3
Gerrit-Change-Number: 33457
Gerrit-PatchSet: 8
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: osmith <osmith(a)sysmocom.de>
Gerrit-MessageType: newpatchset