Attention is currently required from: fixeria, jolly, laforge, pespin.
Hello Jenkins Builder, fixeria, jolly, laforge,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/37455?usp=email
to look at the new patch set (#3).
The following approvals got outdated and were removed:
Code-Review+1 by fixeria, Code-Review+1 by laforge
Change subject: asterisk: Increase timeout waiting for AMI event FullyBooted
......................................................................
asterisk: Increase timeout waiting for AMI event FullyBooted
Change-Id: Ibd2bbdc4b916b5baca01407bac3cc5e9a99500e3
---
M asterisk/Asterisk_Tests.ttcn
1 file changed, 12 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/55/37455/3
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/37455?usp=email
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: Ibd2bbdc4b916b5baca01407bac3cc5e9a99500e3
Gerrit-Change-Number: 37455
Gerrit-PatchSet: 3
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: jolly <andreas(a)eversberg.eu>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Attention: jolly <andreas(a)eversberg.eu>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: newpatchset
fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/erlang/osmo-s1gw/+/37461?usp=email )
Change subject: sctp_server: do not let sctp_proxy:shutdown() crash the server
......................................................................
sctp_server: do not let sctp_proxy:shutdown() crash the server
Change-Id: Iaeedbc66cab21ec7274f864c8daf86c87f21e633
---
M src/sctp_server.erl
1 file changed, 15 insertions(+), 2 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/erlang/osmo-s1gw refs/changes/61/37461/1
diff --git a/src/sctp_server.erl b/src/sctp_server.erl
index d0484e6..8ea311f 100644
--- a/src/sctp_server.erl
+++ b/src/sctp_server.erl
@@ -197,7 +197,9 @@
client_del(Clients, Aid) ->
case dict:find(Aid, Clients) of
{ok, Client} ->
- sctp_proxy:shutdown(Client#client_state.pid),
+ %% the proxy process might be already dead, so we guard
+ %% against exceptions like noproc or {nodedown,Node}.
+ catch sctp_proxy:shutdown(Client#client_state.pid),
dict:erase(Aid, Clients);
error ->
Clients
@@ -228,7 +230,9 @@
{FromAddr, FromPort} = Client#client_state.addr_port,
?LOG_NOTICE("Terminating eNB connection (id=~p, ~p:~p)", [Aid, FromAddr, FromPort]),
%% request to terminate an MME connection
- sctp_proxy:shutdown(Client#client_state.pid),
+ %% the proxy process might be already dead, so we guard
+ %% against exceptions like noproc or {nodedown,Node}.
+ catch sctp_proxy:shutdown(Client#client_state.pid),
%% gracefully close an eNB connection
gen_sctp:eof(Sock, #sctp_assoc_change{assoc_id = Aid}),
%% ... and so for the remaining clients
--
To view, visit https://gerrit.osmocom.org/c/erlang/osmo-s1gw/+/37461?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: erlang/osmo-s1gw
Gerrit-Branch: master
Gerrit-Change-Id: Iaeedbc66cab21ec7274f864c8daf86c87f21e633
Gerrit-Change-Number: 37461
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-MessageType: newchange
Attention is currently required from: dexter.
fixeria has posted comments on this change. ( https://gerrit.osmocom.org/c/pysim/+/37456?usp=email )
Change subject: pySim-smpp2sim.py: Simulate SMSC+CN+RAN+UE for OTA testing
......................................................................
Patch Set 3:
(5 comments)
File pySim-smpp2sim.py:
https://gerrit.osmocom.org/c/pysim/+/37456/comment/501d4171_5a319bc1
PS3, Line 34: from pprint
no longer used?
https://gerrit.osmocom.org/c/pysim/+/37456/comment/b0223980_2b60ec94
PS3, Line 41: from zope.interface import implementer
curious: what package this belongs to?
https://gerrit.osmocom.org/c/pysim/+/37456/comment/5b06594f_beadc2da
PS3, Line 59: logger = logging.getLogger(__name__)
so you have a module local logger module (which is good), but still mostly using the root logger (`logging.foo()` instead of `logger.foo()`) down below?
https://gerrit.osmocom.org/c/pysim/+/37456/comment/36e53396_371fc409
PS3, Line 95: submit
unused?
https://gerrit.osmocom.org/c/pysim/+/37456/comment/f8ed11e9_6b1dd4e5
PS3, Line 101: data
FYI: you can use `pformat()` from `pprint` as follows:
```
logging.info(pformat(data))
```
in case you still want to achieve pretty printing like in previous patchset revision.
--
To view, visit https://gerrit.osmocom.org/c/pysim/+/37456?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: Ie5bae9d823bca6f6c658bd455303f63bace2258c
Gerrit-Change-Number: 37456
Gerrit-PatchSet: 3
Gerrit-Owner: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: dexter <pmaier(a)sysmocom.de>
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Attention: dexter <pmaier(a)sysmocom.de>
Gerrit-Comment-Date: Wed, 10 Jul 2024 18:32:29 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment