lists.osmocom.org
Sign In Sign Up
Manage this list Sign In Sign Up

Keyboard Shortcuts

Thread View

  • j: Next unread message
  • k: Previous unread message
  • j a: Jump to all threads
  • j l: Jump to MailingList overview

gerrit-log

Thread Start a new thread
Download
Threads by month
  • ----- 2026 -----
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2025 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2024 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2023 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2022 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
gerrit-log@lists.osmocom.org

September 2026

  • 1 participants
  • 1894 discussions
[XL] Change in osmo-sgsn[master]: Rework SGSN code to use new libvlr code
by laforge 22 Sep '26

22 Sep '26
Attention is currently required from: lynxis lazus, pespin. laforge has posted comments on this change by lynxis lazus. ( https://gerrit.osmocom.org/c/osmo-sgsn/+/39562?usp=email ) Change subject: Rework SGSN code to use new libvlr code ...................................................................... Patch Set 22: (3 comments) File src/sgsn/gprs_gmm.c: https://gerrit.osmocom.org/c/osmo-sgsn/+/39562/comment/bf8582c1_c28ae726?us… : PS16, Line 2327: static int vlr_tx_auth_req_cb(void *ref, struct vlr_auth_tuple *at, bool send_autn) > But the libvlr is very connected to the GMM layer. […] Acknowledged https://gerrit.osmocom.org/c/osmo-sgsn/+/39562/comment/2ccd1e29_d194fe35?us… : PS16, Line 2577: int gmm_vlr_init(struct sgsn_instance *sgi) > I would like to keep it as it is atm. […] Acknowledged File src/sgsn/gprs_gmm.c: https://gerrit.osmocom.org/c/osmo-sgsn/+/39562/comment/fe229de3_b11a7edb?us… : PS17, Line 2602: osmo_vlr_set_log_cat(OSMO_VLR_LOGC_VLR, DVLR); > I'm using it now. Still not happy with the usage of SGS fsm, but it doesn't hurt atm. […] Done -- To view, visit https://gerrit.osmocom.org/c/osmo-sgsn/+/39562?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: comment Gerrit-Project: osmo-sgsn Gerrit-Branch: master Gerrit-Change-Id: I9c5b4ec1b337c35e85c2d1a3d09b318380ae6ef8 Gerrit-Change-Number: 39562 Gerrit-PatchSet: 22 Gerrit-Owner: lynxis lazus <lynxis(a)fe80.eu> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <laforge(a)osmocom.org> Gerrit-Reviewer: pespin <pespin(a)sysmocom.de> Gerrit-Attention: pespin <pespin(a)sysmocom.de> Gerrit-Attention: lynxis lazus <lynxis(a)fe80.eu> Gerrit-Comment-Date: Tue, 22 Sep 2026 14:45:08 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Comment-In-Reply-To: pespin <pespin(a)sysmocom.de> Comment-In-Reply-To: lynxis lazus <lynxis(a)fe80.eu>
1 0
0 0
[S] Change in osmo-ci[master]: OBS: asan: build osmocom-bb host tools with asan
by fixeria 22 Sep '26

22 Sep '26
Attention is currently required from: osmith. fixeria has posted comments on this change by osmith. ( https://gerrit.osmocom.org/c/osmo-ci/+/43704?usp=email ) Change subject: OBS: asan: build osmocom-bb host tools with asan ...................................................................... Patch Set 2: Code-Review+2 -- To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/43704?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: comment Gerrit-Project: osmo-ci Gerrit-Branch: master Gerrit-Change-Id: I370f1a7dfd3815d75fca9e447b80a581bf3e2c7d Gerrit-Change-Number: 43704 Gerrit-PatchSet: 2 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: Tue, 22 Sep 2026 14:26:16 +0000 Gerrit-HasComments: No Gerrit-Has-Labels: Yes
1 0
0 0
[XS] Change in osmo-sgsn[master]: sgsn: vty: guard NULL iu.ue_ctx when dumping
by lynxis lazus 22 Sep '26

22 Sep '26
lynxis lazus has submitted this change. ( https://gerrit.osmocom.org/c/osmo-sgsn/+/43587?usp=email ) Change subject: sgsn: vty: guard NULL iu.ue_ctx when dumping ...................................................................... sgsn: vty: guard NULL iu.ue_ctx when dumping vty_dump_mmctx() reads mm->iu.ue_ctx->conn_id without checking the pointer whenever mm->ran_type is MM_CTX_T_UTRAN_Iu. iu.ue_ctx is NULL for an attached subscriber whose Iu connection has been released. Both paths that do it leave the MM context in place and only clear the pointer: sgsn_mm_ctx_iu_ranap_release_free() and sgsn_mm_ctx_iu_ranap_free() in mmctx.c both end with "mmctx->iu.ue_ctx = NULL". Both also open with "if (!mmctx->iu.ue_ctx) return", so the rest of the file already treats a live MM context with no ue_ctx as an ordinary state. Releasing the Iu connection on inactivity while the subscriber stays attached is standard behaviour, so this is reachable in normal operation, not only after an error. Any "show mm-context" command then dereferences NULL and takes osmo-sgsn down with it. This was hit during Iu integration testing, after a completed GMM Attach followed by an Iu release. Guard the read. The connection id stays 0 when there is no connection, which is what the Gb branch already does for an unset TLLI. The MM state printed just below comes from iu.mm_state_fsm, which is untouched by the release, so the line still reports PMM-IDLE and no information is lost. Change-Id: I19d380401edcdce18586ed9de26cfe85c925c1f2 Signed-off-by: Andrei Gosman <andrei.gosman(a)gmail.com> --- M src/sgsn/sgsn_vty.c 1 file changed, 5 insertions(+), 1 deletion(-) Approvals: Jenkins Builder: Verified laforge: Looks good to me, but someone else must approve lynxis lazus: Looks good to me, approved fixeria: Looks good to me, but someone else must approve diff --git a/src/sgsn/sgsn_vty.c b/src/sgsn/sgsn_vty.c index ff14589..3d8a3bd 100644 --- a/src/sgsn/sgsn_vty.c +++ b/src/sgsn/sgsn_vty.c @@ -666,7 +666,11 @@ switch(mm->ran_type) { case MM_CTX_T_UTRAN_Iu: #if BUILD_IU - id = mm->iu.ue_ctx->conn_id; + /* The Iu connection can be released while the MM context stays + * attached, which leaves iu.ue_ctx NULL; there is no connection + * id to show then. The MM state below still reports PMM-IDLE. */ + if (mm->iu.ue_ctx) + id = mm->iu.ue_ctx->conn_id; mm_state_name = osmo_fsm_inst_state_name(mm->iu.mm_state_fsm); #endif break; -- To view, visit https://gerrit.osmocom.org/c/osmo-sgsn/+/43587?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: merged Gerrit-Project: osmo-sgsn Gerrit-Branch: master Gerrit-Change-Id: I19d380401edcdce18586ed9de26cfe85c925c1f2 Gerrit-Change-Number: 43587 Gerrit-PatchSet: 2 Gerrit-Owner: andrei.gosman(a)gmail.com <andrei.gosman(a)gmail.com> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: laforge <laforge(a)osmocom.org> Gerrit-Reviewer: lynxis lazus <lynxis(a)fe80.eu> Gerrit-CC: pespin <pespin(a)sysmocom.de>
1 0
0 0
[XS] Change in osmo-sgsn[master]: sgsn: vty: guard NULL iu.ue_ctx when dumping
by lynxis lazus 22 Sep '26

22 Sep '26
Attention is currently required from: andrei.gosman(a)gmail.com. lynxis lazus has posted comments on this change by andrei.gosman(a)gmail.com. ( https://gerrit.osmocom.org/c/osmo-sgsn/+/43587?usp=email ) Change subject: sgsn: vty: guard NULL iu.ue_ctx when dumping ...................................................................... Patch Set 1: Code-Review+2 -- To view, visit https://gerrit.osmocom.org/c/osmo-sgsn/+/43587?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: comment Gerrit-Project: osmo-sgsn Gerrit-Branch: master Gerrit-Change-Id: I19d380401edcdce18586ed9de26cfe85c925c1f2 Gerrit-Change-Number: 43587 Gerrit-PatchSet: 1 Gerrit-Owner: andrei.gosman(a)gmail.com <andrei.gosman(a)gmail.com> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: laforge <laforge(a)osmocom.org> Gerrit-Reviewer: lynxis lazus <lynxis(a)fe80.eu> Gerrit-CC: pespin <pespin(a)sysmocom.de> Gerrit-Attention: andrei.gosman(a)gmail.com <andrei.gosman(a)gmail.com> Gerrit-Comment-Date: Tue, 22 Sep 2026 14:01:50 +0000 Gerrit-HasComments: No Gerrit-Has-Labels: Yes
1 0
0 0
[S] Change in onomondo-ipa[master]: Add option to forbid polling given eIM(s)
by dexter 22 Sep '26

22 Sep '26
Attention is currently required from: jolly. dexter has posted comments on this change by jolly. ( https://gerrit.osmocom.org/c/onomondo-ipa/+/43705?usp=email ) Change subject: Add option to forbid polling given eIM(s) ...................................................................... Patch Set 1: (2 comments) File src/ipa/libipa/ipad.c: https://gerrit.osmocom.org/c/onomondo-ipa/+/43705/comment/e661f7b3_53d70b17… : PS1, Line 390: } We now have two loops that somehow interact with each other. The while loop here and the for loop where eim_init is called. Why not simply return a -EACCES here. And continue without doing anything at where the function is called. I think this would result in simpler code. File src/ipa/main.c: https://gerrit.osmocom.org/c/onomondo-ipa/+/43705/comment/3bdbfaff_48406794… : PS1, Line 186: if (forbidden_eim_index == IPA_MAX_FORBIDDEN_IDS) { I recommend to use >= in those situations. Nothing wrong with ==, but I always think what if a radioactive particle strikes the CPU register that or the memory location where forbidden_eim_index is stored in ;-) You could also write: ``` if (forbidden_eim_index < IPA_MAX_FORBIDDEN_IDS) { cfg.forbidden .... break; } printf("Too.... break; ``` I think that would look more elegant. -- To view, visit https://gerrit.osmocom.org/c/onomondo-ipa/+/43705?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: comment Gerrit-Project: onomondo-ipa Gerrit-Branch: master Gerrit-Change-Id: Ic6489207e54cdfff57cd214482ac4a071e154c94 Gerrit-Change-Number: 43705 Gerrit-PatchSet: 1 Gerrit-Owner: jolly <andreas(a)eversberg.eu> Gerrit-Reviewer: Jenkins Builder Gerrit-CC: dexter <pmaier(a)sysmocom.de> Gerrit-Attention: jolly <andreas(a)eversberg.eu> Gerrit-Comment-Date: Tue, 22 Sep 2026 13:37:39 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No
1 0
0 0
[S] Change in osmo-ttcn3-hacks[master]: IPAd: Add test to verify IPAd polling non forbidden eIMs only
by jolly 22 Sep '26

22 Sep '26
jolly has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43706?usp=email ) Change subject: IPAd: Add test to verify IPAd polling non forbidden eIMs only ...................................................................... IPAd: Add test to verify IPAd polling non forbidden eIMs only A command line options allows to block forbidden eIMs. Verify that the eIM with the given eIM ID is not polled. The other eIM is expected to be polled. Related: SYS#8101 Change-Id: Ib946fee6ad8a448cfa4411966e3d4927cbf30033 --- M ipad/IPAd_Tests.ttcn 1 file changed, 17 insertions(+), 1 deletion(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/06/43706/1 diff --git a/ipad/IPAd_Tests.ttcn b/ipad/IPAd_Tests.ttcn index adbe64d..36a8d2c 100644 --- a/ipad/IPAd_Tests.ttcn +++ b/ipad/IPAd_Tests.ttcn @@ -807,11 +807,15 @@ private function f_TC_proc_euicc_data_req(charstring id) runs on IPAd_ConnHdlr { var integer i; - f_exec_ipad(); + f_exec_ipad("-f skipEIM"); f_es10x_init(); f_http_register(); for (i := 0; i < sizeof(g_pars.eim_list); i := i + 1) { + /* We expect a skipped eIM not to be polled. */ + if (g_pars.eim_list[i].eim_id == "skipEIM") { + continue; + } f_package_euicc_data_req(id, g_pars.eim_list[i].eim_id); if (i < sizeof(g_pars.eim_list) - 1) { @@ -855,6 +859,17 @@ setverdict(pass); } +testcase TC_proc_euicc_data_req_2eim_skip() runs on MTC_CT { + var charstring id := testcasename(); + var IPAd_ConnHdlrPars pars := f_init_pars({ { eim_id := "skipEIM", eim_fqdn := omit }, + { eim_id := "myEIM_2", eim_fqdn := omit } }); + var IPAd_ConnHdlr vc_conn; + f_init(id); + vc_conn := f_start_handler(refers(f_TC_proc_euicc_data_req), pars); + vc_conn.done; + setverdict(pass); +} + /* A testcase to try out what happens when the eIM package request is rejected */ private function f_TC_get_eim_pkg_req_rej(charstring id) runs on IPAd_ConnHdlr { f_exec_ipad(); @@ -1293,6 +1308,7 @@ execute ( TC_proc_euicc_pkg_dwnld_exec_rollback() ); execute ( TC_proc_euicc_data_req() ); execute ( TC_proc_euicc_data_req_2eim() ); + execute ( TC_proc_euicc_data_req_2eim_skip() ); execute ( TC_get_eim_pkg_req_rej() ); execute ( TC_func_exec_fallback_mech() ); execute ( TC_func_ret_from_fallback() ); -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43706?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-Change-Id: Ib946fee6ad8a448cfa4411966e3d4927cbf30033 Gerrit-Change-Number: 43706 Gerrit-PatchSet: 1 Gerrit-Owner: jolly <andreas(a)eversberg.eu>
1 0
0 0
[S] Change in onomondo-ipa[master]: Add option to forbid polling given eIM(s)
by jolly 22 Sep '26

22 Sep '26
jolly has uploaded this change for review. ( https://gerrit.osmocom.org/c/onomondo-ipa/+/43705?usp=email ) Change subject: Add option to forbid polling given eIM(s) ...................................................................... Add option to forbid polling given eIM(s) An eUICC may have eIM configuration data of one or more eIMs that cannot be removed. Prevent polling theses eIMs by adding an option that blocks one or multiple eIM IDs. Related: SYS#8101 Change-Id: Ic6489207e54cdfff57cd214482ac4a071e154c94 --- M include/onomondo/ipa/ipad.h M src/ipa/libipa/ipad.c M src/ipa/main.c 3 files changed, 37 insertions(+), 9 deletions(-) git pull ssh://gerrit.osmocom.org:29418/onomondo-ipa refs/changes/05/43705/1 diff --git a/include/onomondo/ipa/ipad.h b/include/onomondo/ipa/ipad.h index af8de91..4aecb65 100644 --- a/include/onomondo/ipa/ipad.h +++ b/include/onomondo/ipa/ipad.h @@ -12,6 +12,7 @@ #define IPA_LEN_TAC 4 #define IPA_LEN_ALLOWED_CA 20 #define IPE_LEN_EIM_ID 256 +#define IPA_MAX_FORBIDDEN_IDS 5 struct ipa_context; struct ipa_buf; @@ -45,6 +46,8 @@ * used.) */ char *preferred_eim_id; + char *forbidden_eim_ids[IPA_MAX_FORBIDDEN_IDS]; + /*! force the IPAd to process only one eUICC package (debug, use with caution) */ bool one_euicc_pkg_only; diff --git a/src/ipa/libipa/ipad.c b/src/ipa/libipa/ipad.c index fa91961..00ac9b3 100644 --- a/src/ipa/libipa/ipad.c +++ b/src/ipa/libipa/ipad.c @@ -354,7 +354,7 @@ return -EINVAL; } -static int eim_init(struct ipa_context *ctx, int index) +static int eim_init(struct ipa_context *ctx, int *index) { struct ipa_es10b_eim_cfg_data *eim_cfg_data = NULL; struct EimConfigurationData *eim_cfg_data_item = NULL; @@ -366,12 +366,27 @@ goto error; } - /* In case no preferred_eim_id is set, the eIM configuration item of the given index will be pulled from the list */ - rc = ipa_es10b_get_eim_cfg_data_filter(&eim_cfg_data_item, eim_cfg_data, ctx->cfg->preferred_eim_id, index); - if (rc) { - if (rc != -ENOENT) - IPA_LOGP(SIPA, LERROR, "no suitable EimConfigurationData item present.\n"); - goto error; + while (1) { + /* In case no preferred_eim_id is set, the eIM configuration item of the given index will be pulled from the list */ + rc = ipa_es10b_get_eim_cfg_data_filter(&eim_cfg_data_item, eim_cfg_data, ctx->cfg->preferred_eim_id, (*index)); + if (rc) { + if (rc != -ENOENT) + IPA_LOGP(SIPA, LERROR, "no suitable EimConfigurationData item present.\n"); + goto error; + } + /* Skip blocked eIM IDs. Increment index in this case. */ + if (!ctx->cfg->preferred_eim_id || ctx->cfg->preferred_eim_id[0] == '\0') { + int i; + const char *eim_id; + + for (i = 0; (eim_id = ctx->cfg->forbidden_eim_ids[i]) && i < IPA_MAX_FORBIDDEN_IDS; i++) { + if (IPA_ASN_STR_CMP_BUF(&eim_cfg_data_item->eimId, eim_id, strlen(eim_id))) { + (*index)++; + continue; + } + } + } + break; } IPA_FREE(ctx->eim_id); @@ -506,7 +521,7 @@ /* Loop through all eIM, if no preferred eIM ID is specified. */ for (index = 0; ; index++) { IPA_LOGP(SIPA, LINFO, "-----------------------------8<-----------------------------\n"); - rc = eim_init(ctx, index); + rc = eim_init(ctx, &index); if (rc < 0) { if (rc == -ENOENT) { IPA_LOGP(SIPA, LINFO, "all eIMs polled!\n"); diff --git a/src/ipa/main.c b/src/ipa/main.c index 183a584..e36b529 100644 --- a/src/ipa/main.c +++ b/src/ipa/main.c @@ -45,6 +45,7 @@ printf(" -h .......................... print this text.\n"); printf(" -t TAC ...................... set TAC (default: %s)\n", DEFAULT_TAC); printf(" -e eimId .................... set preferred eIM (in case the eUICC has multiple)\n"); + printf(" -f eimId .................... set forbidden eIMs (may call this option multiple times)\n"); printf(" -r N ........................ set reader number (default: %d)\n", DEFAULT_READER_NUMBER); printf(" -c N ........................ set logical channel number (default: %d)\n", DEFAULT_CHANNEL_NUMBER); printf(" -R .......................... Make eUICC send a CAT refresh after switching profile\n"); @@ -152,6 +153,7 @@ char *getopt_nvstate_path = DEFAULT_NVSTATE_PATH; struct ipa_buf *nvstate_load = NULL; struct ipa_buf *nvstate_save = NULL; + int forbidden_eim_index = 0; signal(SIGUSR1, sig_usr1); @@ -165,7 +167,7 @@ /* Overwrite configuration values with user defined parameters */ while (1) { - opt = getopt(argc, argv, "ht:e:r:c:Rn:C:SIEy:a1D:"); + opt = getopt(argc, argv, "ht:e:f:r:c:Rn:C:SIEy:a1D:"); if (opt == -1) break; @@ -180,6 +182,14 @@ case 'e': cfg.preferred_eim_id = optarg; break; + case 'f': + if (forbidden_eim_index == IPA_MAX_FORBIDDEN_IDS) { + printf("Too many forbidden eIM IDs given!\n"); + opt = -1; + break; + } + cfg.forbidden_eim_ids[forbidden_eim_index++] = optarg; + break; case 'r': cfg.reader_num = atoi(optarg); break; -- To view, visit https://gerrit.osmocom.org/c/onomondo-ipa/+/43705?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: onomondo-ipa Gerrit-Branch: master Gerrit-Change-Id: Ic6489207e54cdfff57cd214482ac4a071e154c94 Gerrit-Change-Number: 43705 Gerrit-PatchSet: 1 Gerrit-Owner: jolly <andreas(a)eversberg.eu>
1 0
0 0
[S] Change in osmo-ci[master]: OBS: asan: build osmocom-bb host tools with asan
by pespin 22 Sep '26

22 Sep '26
Attention is currently required from: fixeria, osmith. pespin has posted comments on this change by osmith. ( https://gerrit.osmocom.org/c/osmo-ci/+/43704?usp=email ) Change subject: OBS: asan: build osmocom-bb host tools with asan ...................................................................... Patch Set 2: Code-Review+1 -- To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/43704?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: comment Gerrit-Project: osmo-ci Gerrit-Branch: master Gerrit-Change-Id: I370f1a7dfd3815d75fca9e447b80a581bf3e2c7d Gerrit-Change-Number: 43704 Gerrit-PatchSet: 2 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-Comment-Date: Tue, 22 Sep 2026 12:22:45 +0000 Gerrit-HasComments: No Gerrit-Has-Labels: Yes
1 0
0 0
[S] Change in osmo-ci[master]: OBS: asan: build osmocom-bb host tools with asan
by osmith 22 Sep '26

22 Sep '26
Attention is currently required from: fixeria, pespin. Hello Jenkins Builder, fixeria, pespin, I'd like you to reexamine a change. Please visit https://gerrit.osmocom.org/c/osmo-ci/+/43704?usp=email to look at the new patch set (#2). The following approvals got outdated and were removed: Verified+1 by Jenkins Builder Change subject: OBS: asan: build osmocom-bb host tools with asan ...................................................................... OBS: asan: build osmocom-bb host tools with asan Fix that osmocom-bb host tools like trxcon do not get built with --sanitize. Because of this they cannot be started when installed from the osmocom:nightly:asan repository: ==642==ASan runtime does not come first in initial library list; you should either link runtime to your application or manually preload it with LD_PRELOAD. Change-Id: I370f1a7dfd3815d75fca9e447b80a581bf3e2c7d --- M scripts/obs/lib/debian.py 1 file changed, 24 insertions(+), 2 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/04/43704/2 -- To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/43704?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: newpatchset Gerrit-Project: osmo-ci Gerrit-Branch: master Gerrit-Change-Id: I370f1a7dfd3815d75fca9e447b80a581bf3e2c7d Gerrit-Change-Number: 43704 Gerrit-PatchSet: 2 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: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Attention: pespin <pespin(a)sysmocom.de>
1 0
0 0
[S] Change in osmo-ci[master]: OBS: asan: build osmocom-bb host tools with asan
by osmith 22 Sep '26

22 Sep '26
osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ci/+/43704?usp=email ) Change subject: OBS: asan: build osmocom-bb host tools with asan ...................................................................... OBS: asan: build osmocom-bb host tools with asan Fix that osmocom-bb host tools like trxcon do not get built with --sanitize. Because of this they cannot be started when installed from the osmocom:nightly:asan repository: ==642==ASan runtime does not come first in initial library list; you should either link runtime to your application or manually preload it with LD_PRELOAD. Change-Id: I370f1a7dfd3815d75fca9e447b80a581bf3e2c7d --- M scripts/obs/lib/debian.py 1 file changed, 27 insertions(+), 5 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/04/43704/1 diff --git a/scripts/obs/lib/debian.py b/scripts/obs/lib/debian.py index f3b18ec..3459eb9 100644 --- a/scripts/obs/lib/debian.py +++ b/scripts/obs/lib/debian.py @@ -111,11 +111,8 @@ changelog_add_entry(project, version) -def configure_append(project, parameters): - """Add one or more configure parameters like --enable-sanitize to the - dh_auto_configure line, also add the override_dh_auto_configure block - if missing.""" - print(f"{project}: adding configure parameters: {parameters}") +def configure_append_debian_rules(project, parameters): + print(f"{project}: adding configure parameters to debian/rules: {parameters}") rules = f"{lib.git.get_repo_path(project)}/debian/rules" override_found = False with open(rules, "r") as f: @@ -143,6 +140,31 @@ f.writelines(lines) +def configure_append_src_makefile(project, parameters): + """For osmocom-bb we need to adjust places where HOST_CONFARGS is used in + src/Makefile.""" + makefile = f"{lib.git.get_repo_path(project)}/src/Makefile" + if not os.path.exists(makefile): + return + print(f"{project}: adding configure parameters to src/Makefile: {parameters}") + lib.run_cmd( + [ + "sed", + "-i", + f"s/$(HOST_CONFARGS)/$(HOST_CONFARGS) {parameters}/g", + makefile, + ] + ) + + +def configure_append(project, parameters): + """Add one or more configure parameters like --enable-sanitize to the + dh_auto_configure line, also add the override_dh_auto_configure block + if missing.""" + configure_append_debian_rules(project, parameters) + configure_append_src_makefile(project, parameters) + + def disable_manuals(project): """Disabling manuals speeds up the build time significantly, we don't need them for e.g. the asan repository.""" -- To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/43704?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: osmo-ci Gerrit-Branch: master Gerrit-Change-Id: I370f1a7dfd3815d75fca9e447b80a581bf3e2c7d Gerrit-Change-Number: 43704 Gerrit-PatchSet: 1 Gerrit-Owner: osmith <osmith(a)sysmocom.de>
1 0
0 0
  • ← Newer
  • 1
  • ...
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • ...
  • 190
  • Older →

HyperKitty Powered by HyperKitty version 1.3.12.