fixeria has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/27073 )
Change subject: BSC_Tests: add module parameter 'mp_verify_talloc_count'
......................................................................
BSC_Tests: add module parameter 'mp_verify_talloc_count'
This parameter allows to enable/disable checking of the IUT's talloc
report in f_shutdown_helper(). This may be useful when running the
test suite against '-latest' with unfixed memory leaks.
Change-Id: Ic7bf8d9def21083ebda1b94659d72dde2bb5e664
---
M bsc/BSC_Tests.ttcn
1 file changed, 4 insertions(+), 1 deletion(-)
Approvals:
Jenkins Builder: Verified
laforge: Looks good to me, approved
diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn
index 1510af8..dadd5bf 100644
--- a/bsc/BSC_Tests.ttcn
+++ b/bsc/BSC_Tests.ttcn
@@ -709,6 +709,9 @@
/* Value set in osmo-bsc.cfg "ms max power" */
uint8_t mp_exp_ms_power_level := 7;
+
+ /* Whether to check for memory leaks */
+ boolean mp_verify_talloc_count := true;
}
friend function f_gen_test_hdlr_pars(integer bssap_idx := 0) return TestHdlrParams {
@@ -858,7 +861,7 @@
friend function f_shutdown_helper() runs on test_CT {
/* Run the subscr and conn leak test only when the VTY is initialized */
- if (BSCVTY.checkstate("Mapped")) {
+ if (BSCVTY.checkstate("Mapped") and mp_verify_talloc_count) {
f_verify_talloc_count(BSCVTY, {"struct bsc_subscr", "struct gsm_subscriber_connection"});
}
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/27073
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: Ic7bf8d9def21083ebda1b94659d72dde2bb5e664
Gerrit-Change-Number: 27073
Gerrit-PatchSet: 1
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-MessageType: merged
Hello Jenkins Builder,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/osmo-hlr/+/27075
to look at the new patch set (#2).
Change subject: debian: add new 'libosmo-mslookup-utils' package
......................................................................
debian: add new 'libosmo-mslookup-utils' package
Change-Id: I9dbe00187678a5032fb4ae32b496892fdc86ddb7
Related: OS#4706
---
M debian/control
A debian/libosmo-mslookup-utils.install
2 files changed, 11 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-hlr refs/changes/75/27075/2
--
To view, visit https://gerrit.osmocom.org/c/osmo-hlr/+/27075
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-hlr
Gerrit-Branch: master
Gerrit-Change-Id: I9dbe00187678a5032fb4ae32b496892fdc86ddb7
Gerrit-Change-Number: 27075
Gerrit-PatchSet: 2
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-MessageType: newpatchset
fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/27073 )
Change subject: BSC_Tests: add module parameter 'mp_verify_talloc_count'
......................................................................
BSC_Tests: add module parameter 'mp_verify_talloc_count'
This parameter allows to enable/disable checking of the IUT's talloc
report in f_shutdown_helper(). This may be useful when running the
test suite against '-latest' with unfixed memory leaks.
Change-Id: Ic7bf8d9def21083ebda1b94659d72dde2bb5e664
---
M bsc/BSC_Tests.ttcn
1 file changed, 4 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/73/27073/1
diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn
index 1510af8..dadd5bf 100644
--- a/bsc/BSC_Tests.ttcn
+++ b/bsc/BSC_Tests.ttcn
@@ -709,6 +709,9 @@
/* Value set in osmo-bsc.cfg "ms max power" */
uint8_t mp_exp_ms_power_level := 7;
+
+ /* Whether to check for memory leaks */
+ boolean mp_verify_talloc_count := true;
}
friend function f_gen_test_hdlr_pars(integer bssap_idx := 0) return TestHdlrParams {
@@ -858,7 +861,7 @@
friend function f_shutdown_helper() runs on test_CT {
/* Run the subscr and conn leak test only when the VTY is initialized */
- if (BSCVTY.checkstate("Mapped")) {
+ if (BSCVTY.checkstate("Mapped") and mp_verify_talloc_count) {
f_verify_talloc_count(BSCVTY, {"struct bsc_subscr", "struct gsm_subscriber_connection"});
}
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/27073
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: Ic7bf8d9def21083ebda1b94659d72dde2bb5e664
Gerrit-Change-Number: 27073
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-MessageType: newchange
Attention is currently required from: osmith.
Hello osmith, laforge, pespin,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/docker-playground/+/27070
to look at the new patch set (#3).
Change subject: open5gs-master: install dependencies using apt-get build-dep
......................................................................
open5gs-master: install dependencies using apt-get build-dep
This is a 3-rd party project, which may introduce new dependencies
in the future. Rather than maintaining our own list of packages
to install, let's employ 'apt-get build-dep'. This tool parses
'debian/control' and installs all dependencies automatically.
Change-Id: I71ad7256116ee30f15aff38fd38588aa2bfab456
Related: SYS#5602
---
M open5gs-master/Dockerfile
1 file changed, 16 insertions(+), 24 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/docker-playground refs/changes/70/27070/3
--
To view, visit https://gerrit.osmocom.org/c/docker-playground/+/27070
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-Change-Id: I71ad7256116ee30f15aff38fd38588aa2bfab456
Gerrit-Change-Number: 27070
Gerrit-PatchSet: 3
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: osmith <osmith(a)sysmocom.de>
Gerrit-MessageType: newpatchset
Attention is currently required from: osmith, pespin.
fixeria has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmocore/+/27046 )
Change subject: core/utils.h: add OSMO_LIKELY / OSMO_UNLIKELY macros
......................................................................
Patch Set 2:
(1 comment)
Patchset:
PS2:
> no commitlog rationale. […]
I saw this is actively used in the kernel (and there it makes sense, indeed), and in open5gs. Where I believe using OSMO_UNLIKELY makes sense is OSMO_ASSERT, especially for osmo-{bsc,msc} where we assert() in lots of places 'just to be sure'. The scheduler in osmo-bts-trx could also benefit from this. I did not benchmark this though, so I cannot say how much do we gain...
--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/27046
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I0b029654ba050f079eed4a0574a3fa8019677067
Gerrit-Change-Number: 27046
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-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Sat, 05 Feb 2022 14:16:04 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: laforge <laforge(a)osmocom.org>
Gerrit-MessageType: comment