pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmocore/+/39430?usp=email )
Change subject: tests/osmo_io: Introduce small sleeps waiting for read completion
......................................................................
tests/osmo_io: Introduce small sleeps waiting for read completion
Sometimes test_file() fails during jenkins run because it finished the
main loop iterations without having received a read complete cb.
This may be due to filesystem delays due to system load, it's difficult
to say since it only happens sporadically.
Add some small sleeps under each loop iteration (which can end up
waiting up to 10s after full set of iterations) to make sure we receive
the read callback in a timely fashion.
Related: OS#6708
Change-Id: If27e3885aa17edbb7f2428cf6b5b30fb0f987d7d
---
M tests/osmo_io/osmo_io_test.c
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/30/39430/1
diff --git a/tests/osmo_io/osmo_io_test.c b/tests/osmo_io/osmo_io_test.c
index 95d78b0..553368c 100644
--- a/tests/osmo_io/osmo_io_test.c
+++ b/tests/osmo_io/osmo_io_test.c
@@ -126,6 +126,7 @@
if (file_bytes_read == sizeof(TESTDATA) && file_eof_read)
break;
osmo_select_main(1);
+ usleep(100 * 1000);
}
fflush(stdout);
OSMO_ASSERT(file_bytes_read == sizeof(TESTDATA));
--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/39430?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: If27e3885aa17edbb7f2428cf6b5b30fb0f987d7d
Gerrit-Change-Number: 39430
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Attention is currently required from: dotsimon.
Hello Jenkins Builder,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/osmo-msc/+/39428?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: include SM-RP-UI in outgoing GSUP message when presesnt
......................................................................
include SM-RP-UI in outgoing GSUP message when presesnt
Change-Id: I90a607900ac7c86b200c79b7e8c460d4cbb3c3ce
---
M include/osmocom/msc/gsm_04_11_gsup.h
M src/libmsc/gsm_04_11.c
M src/libmsc/gsm_04_11_gsup.c
3 files changed, 26 insertions(+), 7 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/28/39428/2
--
To view, visit https://gerrit.osmocom.org/c/osmo-msc/+/39428?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-Change-Id: I90a607900ac7c86b200c79b7e8c460d4cbb3c3ce
Gerrit-Change-Number: 39428
Gerrit-PatchSet: 2
Gerrit-Owner: dotsimon <implorable-herd(a)yahoo.com>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Attention: dotsimon <implorable-herd(a)yahoo.com>
dotsimon has posted comments on this change by dotsimon. ( https://gerrit.osmocom.org/c/osmo-msc/+/39428?usp=email )
Change subject: include SM-RP-UI in outgoing GSUP message when presesnt
......................................................................
Patch Set 1:
(1 comment)
Patchset:
PS1:
I tested both cases using a local network (LimeSDR, retail device and SIM) with SIM RFM PoR (proof of receipt)
--
To view, visit https://gerrit.osmocom.org/c/osmo-msc/+/39428?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-Change-Id: I90a607900ac7c86b200c79b7e8c460d4cbb3c3ce
Gerrit-Change-Number: 39428
Gerrit-PatchSet: 1
Gerrit-Owner: dotsimon <implorable-herd(a)yahoo.com>
Gerrit-CC: Jenkins Builder
Gerrit-Comment-Date: Tue, 28 Jan 2025 19:58:56 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Jenkins Builder has posted comments on this change by dotsimon. ( https://gerrit.osmocom.org/c/osmo-msc/+/39428?usp=email )
Change subject: include SM-RP-UI in outgoing GSUP message when presesnt
......................................................................
Patch Set 1:
(2 comments)
File src/libmsc/gsm_04_11_gsup.c:
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-21243):
https://gerrit.osmocom.org/c/osmo-msc/+/39428/comment/7890cec9_83840a05?usp… :
PS1, Line 206: if (ui) {
suspect code indent for conditional statements (8, 10)
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-21243):
https://gerrit.osmocom.org/c/osmo-msc/+/39428/comment/5dd9e566_26036b4b?usp… :
PS1, Line 237: if (ui) {
suspect code indent for conditional statements (8, 10)
--
To view, visit https://gerrit.osmocom.org/c/osmo-msc/+/39428?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-Change-Id: I90a607900ac7c86b200c79b7e8c460d4cbb3c3ce
Gerrit-Change-Number: 39428
Gerrit-PatchSet: 1
Gerrit-Owner: dotsimon <implorable-herd(a)yahoo.com>
Gerrit-CC: Jenkins Builder
Gerrit-Comment-Date: Tue, 28 Jan 2025 19:54:37 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Attention is currently required from: fixeria, osmith.
pespin has posted comments on this change by pespin. ( https://gerrit.osmocom.org/c/osmo-upf/+/39419?usp=email )
Change subject: Improve logging reading packets from gtp device
......................................................................
Patch Set 1:
(1 comment)
File src/osmo-upf/upf_gtpu_echo.c:
https://gerrit.osmocom.org/c/osmo-upf/+/39419/comment/3a4e0337_36fe3819?usp… :
PS1, Line 219: return 0;
> You're changing the logic: before your patch it would return `-1`, but now it's returning `0` -- is […]
It's just a regular ofd cb, the return code is not really used unless you pass -EBADF.
I changed it because imho it's just fine returning 0 since it's a expected code path (even if we are not yet doing anything with it other than logging).
--
To view, visit https://gerrit.osmocom.org/c/osmo-upf/+/39419?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmo-upf
Gerrit-Branch: master
Gerrit-Change-Id: Ic3d9ea319122acbaf99ca7d6ff615b5812a085f8
Gerrit-Change-Number: 39419
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Comment-Date: Tue, 28 Jan 2025 19:04:41 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: fixeria <vyanitskiy(a)sysmocom.de>