osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ci/+/43344?usp=email )
Change subject: jobs/ttcn3-testsuites-testenv: use tmpfs
......................................................................
jobs/ttcn3-testsuites-testenv: use tmpfs
Reduce wear on the server's SSDs by having the cache in /tmp (which is
now a tmpfs for the jenkins nodes). Move it to the workspace in case the
job fails, so we can analyze what happened.
Related: OS#7068
Change-Id: I4e9cd491f528bda2f556fc6922d8780785d058f6
---
M jobs/ttcn3-testsuites-testenv.yml
1 file changed, 25 insertions(+), 13 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/44/43344/1
diff --git a/jobs/ttcn3-testsuites-testenv.yml b/jobs/ttcn3-testsuites-testenv.yml
index c75f7b8..59b168c 100644
--- a/jobs/ttcn3-testsuites-testenv.yml
+++ b/jobs/ttcn3-testsuites-testenv.yml
@@ -642,20 +642,28 @@
podman pull "$IMAGE"
+ test -n "$WORKSPACE"
+ CACHE_TMPFS=/tmp/jenkins/"$(basename "$WORKSPACE")"
+
# Clean up leftover apt partial directories, which the host system
# user can't remove directly
- for i in _cache/podman/var-lib-apt-debian-*/lists/partial; do
- if [ -e "$i" ]; then
- podman run \
- --rm \
- -v "$PWD:/build" \
- -w /build \
- osmocom-build/debian-trixie-osmo-ttcn3-testenv \
- rm -rvf "$i"
- fi
- done
+ fix_cache_tmpfs_permissions() {{
+ local i
- rm -rf logs _cache .linux
+ for i in "$CACHE_TMPFS"/podman/var-lib-apt-debian-*/lists/partial; do
+ if [ -e "$i" ]; then
+ podman run \
+ --rm \
+ -v "$CACHE_TMPFS:$CACHE_TMPFS" \
+ osmocom-build/debian-trixie-osmo-ttcn3-testenv \
+ rm -rvf "$i"
+ fi
+ done
+ }}
+
+ # Clean up from previous job (possibly aborted)
+ fix_cache_tmpfs_permissions
+ rm -rf logs .linux _cache "$CACHE_TMPFS"
if [ "$KERNEL" != "none" ]; then
mv linux .linux
@@ -679,7 +687,7 @@
if ! ./testenv.py run \
{testsuite} \
--podman \
- --cache "$PWD"/_cache \
+ --cache "$CACHE_TMPFS" \
--ccache ~/ccache/testenv \
--log-dir "$PWD"/logs \
$TESTENV_ARGS; then
@@ -689,7 +697,11 @@
# Free up space from downloaded apt packages, build artifacts etc.
# The osmo-ttcn3-hacks deps dir and ccache are persistent.
if [ "$RC" = 0 ]; then
- rm -rf _cache .linux
+ rm -rf "$CACHE_TMPFS" .linux
+ else
+ fix_cache_tmpfs_permissions
+ rm -f .linux
+ mv "$CACHE_TMPFS" _cache
fi
uptime | grep --color=always -o "load.*"
--
To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/43344?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: I4e9cd491f528bda2f556fc6922d8780785d058f6
Gerrit-Change-Number: 43344
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ci/+/43345?usp=email )
Change subject: jobs/ttcn3-testsuites-testenv: adjust apt pattern
......................................................................
jobs/ttcn3-testsuites-testenv: adjust apt pattern
The current pattern didn't match the path with archives, which means it
could still fail with the following. Adjust it.
+ mv /tmp/jenkins/ttcn3-hss-test-ogs-latest _cache
mv: cannot access '/tmp/jenkins/ttcn3-hss-test-ogs-latest/podman/var-cache-apt-debian-trixie/archives/partial': Permission denied
Change-Id: I82eba41631d520abedc6fb2e2507afbbe618066a
---
M jobs/ttcn3-testsuites-testenv.yml
1 file changed, 4 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/45/43345/1
diff --git a/jobs/ttcn3-testsuites-testenv.yml b/jobs/ttcn3-testsuites-testenv.yml
index 59b168c..b4d114a 100644
--- a/jobs/ttcn3-testsuites-testenv.yml
+++ b/jobs/ttcn3-testsuites-testenv.yml
@@ -650,7 +650,10 @@
fix_cache_tmpfs_permissions() {{
local i
- for i in "$CACHE_TMPFS"/podman/var-lib-apt-debian-*/lists/partial; do
+ # Examples:
+ # * …/podman/var-cache-apt-debian-trixie/archives/partial
+ # * …/podman/var-lib-apt-debian-trixie/lists/partial
+ for i in "$CACHE_TMPFS"/podman/var-*-apt-*/*/partial; do
if [ -e "$i" ]; then
podman run \
--rm \
--
To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/43345?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: I82eba41631d520abedc6fb2e2507afbbe618066a
Gerrit-Change-Number: 43345
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Attention is currently required from: dexter, laforge.
Hello Jenkins Builder, laforge,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/onomondo-eim/+/43089?usp=email
to look at the new patch set (#6).
The following approvals got outdated and were removed:
Verified+1 by Jenkins Builder
Change subject: rest_handler: add API versions and schema validation
......................................................................
rest_handler: add API versions and schema validation
The JSON based REST API currently has no version checking and also
does not use any JSON schema based validation yet. This patch adds
both. An X-ADMIN-PROTOCOL field in the HTTP header informs about
the API version (same style as the JSON interfaces defined in
GSMA SGP.32 and SGP.22 would use). For incoming messages, the
X-ADMIN-PROTOCOL field is checked to prevent outdated clients from
using the REST API.
The incoming and outgoing JSON messages are now validated against
JSON schema files. Those are the same JSON schema file which were
only provided for documentation purposes only before. Now those
files have been fixed up and moved to the priv directory, where
they are now actively used.
Change-Id: I76e91e53a009cedf2cb1a0297db86e9e5fe7047a
Related: SYS#8100
---
M contrib/restop.py
M doc/rest_api.md
R priv/rest_api_info_schema.json
R priv/rest_api_resource_schema.json
R priv/rest_api_response_schema.json
M rebar.config
M rebar.lock
M src/onomondo_eim.app.src
M src/onomondo_eim_app.erl
M src/rest_handler.erl
A src/rest_middleware.erl
11 files changed, 191 insertions(+), 63 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/onomondo-eim refs/changes/89/43089/6
--
To view, visit https://gerrit.osmocom.org/c/onomondo-eim/+/43089?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: onomondo-eim
Gerrit-Branch: master
Gerrit-Change-Id: I76e91e53a009cedf2cb1a0297db86e9e5fe7047a
Gerrit-Change-Number: 43089
Gerrit-PatchSet: 6
Gerrit-Owner: dexter <pmaier(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Attention: dexter <pmaier(a)sysmocom.de>
Attention is currently required from: pespin.
osmith has posted comments on this change by pespin. ( https://gerrit.osmocom.org/c/osmo-sgsn/+/43338?usp=email )
Change subject: pdpctx: Use pdp->teic_own as rate_ctr id
......................................................................
Patch Set 1: Code-Review+2
--
To view, visit https://gerrit.osmocom.org/c/osmo-sgsn/+/43338?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: pespin/rel-1.13.1
Gerrit-Change-Id: I388d7e4550e874cabc51e016d1a35a1074be7ac3
Gerrit-Change-Number: 43338
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Thu, 20 Aug 2026 12:44:47 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes