osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/40419?usp=email )
Change subject: Revert "testenv: use eclipse-titan 11 in Dockerfile"
......................................................................
Revert "testenv: use eclipse-titan 11 in Dockerfile"
We had a lot of fallout from this, revert to version 9.0.0 for now.
This reverts commit 8082d099e3f96da3dfe4348b0e1bd794d93b8b02.
Related: OS#6490
Change-Id: I0a00fd4e031410be102cd6e99ecab4a464503003
---
M _testenv/data/podman/Dockerfile
1 file changed, 4 insertions(+), 4 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/19/40419/1
diff --git a/_testenv/data/podman/Dockerfile b/_testenv/data/podman/Dockerfile
index 9d43cbc..dca8a75 100644
--- a/_testenv/data/podman/Dockerfile
+++ b/_testenv/data/podman/Dockerfile
@@ -4,7 +4,7 @@
# Arguments used after FROM must be specified again
ARG OSMOCOM_REPO_TESTSUITE_MIRROR="https://downloads.osmocom.org"
-ARG OSMOCOM_REPO="$OSMOCOM_REPO_TESTSUITE_MIRROR/packages/osmocom:/nightly/Debian_12/"
+ARG OSMOCOM_REPO="$OSMOCOM_REPO_TESTSUITE_MIRROR/packages/osmocom:/latest/Debian_12/"
# Copy from common dir
COPY obs.key /obs.key
@@ -140,9 +140,9 @@
pip3 install ./osmo-python-tests --break-system-packages && \
rm -rf osmo-python-tests
-# Add eclipse-titan from osmocom:nightly, invalidate cache when :nightly changes
+# Add eclipse-titan from osmocom:latest, invalidate cache when :latest changes
RUN echo "deb [signed-by=/obs.key] $OSMOCOM_REPO ./" \
- > /etc/apt/sources.list.d/osmocom-nightly.list
+ > /etc/apt/sources.list.d/osmocom-latest.list
ADD $OSMOCOM_REPO/Release /tmp/Release
RUN set -x && \
apt-get update && \
@@ -150,7 +150,7 @@
eclipse-titan \
&& \
apt-get clean && \
- rm /etc/apt/sources.list.d/osmocom-nightly.list
+ rm /etc/apt/sources.list.d/osmocom-latest.list
# Add mongodb for open5gs-hss. Using the package from bullseye since bookworm
# mongodb-org package is not available. Furthermore, manually install required
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/40419?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: I0a00fd4e031410be102cd6e99ecab4a464503003
Gerrit-Change-Number: 40419
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Attention is currently required from: fixeria.
osmith has posted comments on this change by fixeria. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/40418?usp=email )
Change subject: testenv: allow passing -j/--jobs together with -b/--binary-repo
......................................................................
Patch Set 1: Code-Review+2
(1 comment)
Patchset:
PS1:
ah yes, those should not have been mutually exclusive. thanks!
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/40418?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I3eb596f2c4e5de1b624c238e34785e798d2099c3
Gerrit-Change-Number: 40418
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Comment-Date: Tue, 03 Jun 2025 06:10:10 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/40418?usp=email )
Change subject: testenv: allow passing -j/--jobs together with -b/--binary-repo
......................................................................
testenv: allow passing -j/--jobs together with -b/--binary-repo
Not only the -j/--jobs is used when building the IUT components,
but also when building the testsuite itself (PARALLEL_MAKE var).
Change-Id: I3eb596f2c4e5de1b624c238e34785e798d2099c3
---
M _testenv/testenv/__init__.py
1 file changed, 0 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/18/40418/1
diff --git a/_testenv/testenv/__init__.py b/_testenv/testenv/__init__.py
index 6118b65..9b5e944 100644
--- a/_testenv/testenv/__init__.py
+++ b/_testenv/testenv/__init__.py
@@ -87,7 +87,6 @@
group.add_argument("-i", "--io-uring", action="store_true", help="set LIBOSMO_IO_BACKEND=IO_URING")
group = sub_run.add_argument_group("source/binary options", "All components are built from source by default.")
- group = group.add_mutually_exclusive_group()
group.add_argument(
"-b",
"--binary-repo",
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/40418?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: I3eb596f2c4e5de1b624c238e34785e798d2099c3
Gerrit-Change-Number: 40418
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
osmith has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/40381?usp=email )
Change subject: testenv: use eclipse-titan 11 in Dockerfile
......................................................................
testenv: use eclipse-titan 11 in Dockerfile
Install eclipse-titan from osmocom:nightly instead of osmocom:latest,
which now has version 11. Once we ensured everything works as expected,
we will upgrade the version in osmocom:latest too.
Change-Id: I660dd6ca93a54087b1d41787c4ed2b64a3ad0437
---
M _testenv/data/podman/Dockerfile
1 file changed, 4 insertions(+), 4 deletions(-)
Approvals:
pespin: Looks good to me, but someone else must approve
fixeria: Looks good to me, approved
Jenkins Builder: Verified
diff --git a/_testenv/data/podman/Dockerfile b/_testenv/data/podman/Dockerfile
index dca8a75..9d43cbc 100644
--- a/_testenv/data/podman/Dockerfile
+++ b/_testenv/data/podman/Dockerfile
@@ -4,7 +4,7 @@
# Arguments used after FROM must be specified again
ARG OSMOCOM_REPO_TESTSUITE_MIRROR="https://downloads.osmocom.org"
-ARG OSMOCOM_REPO="$OSMOCOM_REPO_TESTSUITE_MIRROR/packages/osmocom:/latest/Debian_12/"
+ARG OSMOCOM_REPO="$OSMOCOM_REPO_TESTSUITE_MIRROR/packages/osmocom:/nightly/Debian_12/"
# Copy from common dir
COPY obs.key /obs.key
@@ -140,9 +140,9 @@
pip3 install ./osmo-python-tests --break-system-packages && \
rm -rf osmo-python-tests
-# Add eclipse-titan from osmocom:latest, invalidate cache when :latest changes
+# Add eclipse-titan from osmocom:nightly, invalidate cache when :nightly changes
RUN echo "deb [signed-by=/obs.key] $OSMOCOM_REPO ./" \
- > /etc/apt/sources.list.d/osmocom-latest.list
+ > /etc/apt/sources.list.d/osmocom-nightly.list
ADD $OSMOCOM_REPO/Release /tmp/Release
RUN set -x && \
apt-get update && \
@@ -150,7 +150,7 @@
eclipse-titan \
&& \
apt-get clean && \
- rm /etc/apt/sources.list.d/osmocom-latest.list
+ rm /etc/apt/sources.list.d/osmocom-nightly.list
# Add mongodb for open5gs-hss. Using the package from bullseye since bookworm
# mongodb-org package is not available. Furthermore, manually install required
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/40381?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I660dd6ca93a54087b1d41787c4ed2b64a3ad0437
Gerrit-Change-Number: 40381
Gerrit-PatchSet: 2
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
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>
pespin has submitted this change. ( https://gerrit.osmocom.org/c/libosmocore/+/40369?usp=email )
Change subject: osmo_io: Keep msgb ownership internal during segmentation until read_cb
......................................................................
osmo_io: Keep msgb ownership internal during segmentation until read_cb
Until dispatched to the user over read_cb(), the msgb is considered to
be not-ready-for-user and hence it's kept owned by the iofd.
This resembles more the actual expected parentship tree, since
iofd->pending is freed by osmo_io internally in osmo_iofd_close().
More importat, which should cause less trouble if for instance user of
osmo_iofd wishes to reparent the osmo_io and then free the previous ctx
it passed during osmo_iofd_setup().
Change-Id: I4f41153948b7f1568c7499db53b9620bf2dd9ac4
---
M src/core/osmo_io.c
1 file changed, 4 insertions(+), 1 deletion(-)
Approvals:
Jenkins Builder: Verified
jolly: Looks good to me, but someone else must approve
osmith: Looks good to me, but someone else must approve
pespin: Looks good to me, approved
diff --git a/src/core/osmo_io.c b/src/core/osmo_io.c
index 9d377a8..aaf7bcc 100644
--- a/src/core/osmo_io.c
+++ b/src/core/osmo_io.c
@@ -343,6 +343,7 @@
OSMO_ASSERT(iofd->mode == OSMO_IO_FD_MODE_READ_WRITE);
if (rc <= 0) {
+ talloc_steal(iofd->msgb_alloc.ctx, msg);
iofd->io_ops.read_cb(iofd, rc, msg);
return;
}
@@ -354,6 +355,7 @@
/* It it expected as per API spec that we return the
* return value of read here. The amount of bytes in msg is
* available to the user in msg itself. */
+ talloc_steal(iofd->msgb_alloc.ctx, msg);
iofd->io_ops.read_cb(iofd, rc, msg);
/* The user could unregister/close the iofd during read_cb() above.
* Once that's done, it doesn't expect to receive any more events,
@@ -378,15 +380,16 @@
* \param[in] hdr serialized msghdr containing state of completed I/O */
void iofd_handle_recv(struct osmo_io_fd *iofd, struct msgb *msg, int rc, struct iofd_msghdr *hdr)
{
- talloc_steal(iofd->msgb_alloc.ctx, msg);
switch (iofd->mode) {
case OSMO_IO_FD_MODE_READ_WRITE:
iofd_handle_segmented_read(iofd, msg, rc);
break;
case OSMO_IO_FD_MODE_RECVFROM_SENDTO:
+ talloc_steal(iofd->msgb_alloc.ctx, msg);
iofd->io_ops.recvfrom_cb(iofd, rc, msg, &hdr->osa);
break;
case OSMO_IO_FD_MODE_RECVMSG_SENDMSG:
+ talloc_steal(iofd->msgb_alloc.ctx, msg);
iofd->io_ops.recvmsg_cb(iofd, rc, msg, &hdr->hdr);
break;
default:
--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/40369?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I4f41153948b7f1568c7499db53b9620bf2dd9ac4
Gerrit-Change-Number: 40369
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: daniel <dwillmann(a)sysmocom.de>
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: jolly <andreas(a)eversberg.eu>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>