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 2025

  • 1 participants
  • 1216 discussions
[L] Change in osmo-ttcn3-hacks[master]: s1gw: implement the REST interface client
by osmith 29 Sep '25

29 Sep '25
Attention is currently required from: fixeria, laforge. osmith has posted comments on this change by fixeria. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/41125?usp=email ) Change subject: s1gw: implement the REST interface client ...................................................................... Patch Set 3: Code-Review+1 -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/41125?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: Ic6e8b46b7de4fb72139b017fc9a9c83f92fc1541 Gerrit-Change-Number: 41125 Gerrit-PatchSet: 3 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: laforge <laforge(a)osmocom.org> Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Comment-Date: Mon, 29 Sep 2025 06:49:25 +0000 Gerrit-HasComments: No Gerrit-Has-Labels: Yes
1 0
0 0
[S] Change in osmo-ttcn3-hacks[master]: s1gw: track eNB connection, fail immediately on loss
by osmith 29 Sep '25

29 Sep '25
Attention is currently required from: fixeria. osmith has posted comments on this change by fixeria. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/41169?usp=email ) Change subject: s1gw: track eNB connection, fail immediately on loss ...................................................................... Patch Set 1: Code-Review+1 -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/41169?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: I34a3d30270f1236908643b60fc8abe590a780b89 Gerrit-Change-Number: 41169 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: Mon, 29 Sep 2025 06:46:15 +0000 Gerrit-HasComments: No Gerrit-Has-Labels: Yes
1 0
0 0
[S] Change in osmo-ttcn3-hacks[master]: library/HTTP_Adapter: do not hard-code 'Content-Type'
by osmith 29 Sep '25

29 Sep '25
Attention is currently required from: fixeria, laforge. osmith has posted comments on this change by fixeria. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/41124?usp=email ) Change subject: library/HTTP_Adapter: do not hard-code 'Content-Type' ...................................................................... Patch Set 2: Code-Review+2 -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/41124?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: Ie35ffc56b4fedc0b4d8c4a689a2232b515b7b326 Gerrit-Change-Number: 41124 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: laforge <laforge(a)osmocom.org> Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Comment-Date: Mon, 29 Sep 2025 06:44:32 +0000 Gerrit-HasComments: No Gerrit-Has-Labels: Yes
1 0
0 0
[S] Change in osmo-ci[master]: scripts/wrapper_core_bt_on_error: new script
by osmith 29 Sep '25

29 Sep '25
osmith has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ci/+/41155?usp=email ) Change subject: scripts/wrapper_core_bt_on_error: new script ...................................................................... scripts/wrapper_core_bt_on_error: new script Add a wrapper script that runs a given program, and checks the exit code. If it is not 0, and a core file appears, then load the coredump in gdb and display its backtrace. Change-Id: I9673abf3ae3b154505ea09237d37d7da4bf5d57f --- A scripts/wrapper_core_bt_on_error.sh 1 file changed, 38 insertions(+), 0 deletions(-) Approvals: fixeria: Looks good to me, but someone else must approve Jenkins Builder: Verified daniel: Looks good to me, approved diff --git a/scripts/wrapper_core_bt_on_error.sh b/scripts/wrapper_core_bt_on_error.sh new file mode 100755 index 0000000..ca1eaef --- /dev/null +++ b/scripts/wrapper_core_bt_on_error.sh @@ -0,0 +1,38 @@ +#!/bin/sh +# Copyright 2025 sysmocom - s.f.m.c. GmbH +# SPDX-License-Identifier: GPL-3.0-or-later +# Run a program and check for coredumps if it does not exit with 0. If there +# are any coredumps, then show the backtrace. +msg() { + echo "[wrapper_core_bt_on_error] $@" +} + +if [ $# -lt 1 ]; then + echo "usage: wrapper_core_bt_on_error.sh PROGRAM [ARG1 [ARG2 […]]]" + exit 1 +fi + +ulimit -c unlimited + +"$@" +RC=$? + +if [ "$RC" != 0 ]; then + for i in $(find -name 'core' -type f); do + msg "Found coredump: $i" + execfn="$(file "$i" | grep -P -o "execfn: '.*?'" | cut -d "'" -f 2)" + if [ -z "$execfn" ] || ! [ -e "$execfn" ]; then + msg "Failed to get execfn, ignoring..." + continue + fi + + echo + gdb --batch \ + "$execfn" \ + "$i" \ + -ex bt \ + | tee "$i.backtrace" + echo + done + exit $RC +fi -- To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/41155?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: merged Gerrit-Project: osmo-ci Gerrit-Branch: master Gerrit-Change-Id: I9673abf3ae3b154505ea09237d37d7da4bf5d57f Gerrit-Change-Number: 41155 Gerrit-PatchSet: 2 Gerrit-Owner: osmith <osmith(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: daniel <dwillmann(a)sysmocom.de> Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
1 0
0 0
[M] Change in osmo-ci[master]: testenv-coredump-helper: remove
by osmith 29 Sep '25

29 Sep '25
osmith has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ci/+/41154?usp=email ) Change subject: testenv-coredump-helper: remove ...................................................................... testenv-coredump-helper: remove After looking at this again, it makes more sense to keep /proc/sys/kernel/core_pattern as "core" on build4 and build5, which we use for jenkins jobs instead of installing systemd's coredumpctl and making all coredumps go through that. The motivation for using coredumpctl in testenv was that lots of developers may have it already installed (though I'm not sure about that anymore), and that it gives a nice API for retrieving the related executable name to a coredump instead of having to parse the output of e.g. "file". Using coredumpctl had the disadvantage that coredumps for all other jobs, such as the master-builds are also caught by that and cannot be easily placed in the workspace directory. I have started implementing this by extending testenv-coredump-helper to communicate through a socket and mounting that socket inside docker containers running contrib/jenkins.sh (host -> lxc -> docker), and it works, but this complexity is not useful here. Instead the related patch will make testenv pick the core files when coredumpctl is not available, and read the path from "file", making testenv-coredump-helper obsolete. Related: osmo-ttcn3-hacks Ia765b01432e4cb4cd36c45de874b966e3ebf55bc Change-Id: I2959c6e6d97d5691ee2a4ae5d49a351eb5811f10 --- D ansible/roles/testenv-coredump-helper/README.md D ansible/roles/testenv-coredump-helper/files/testenv-coredump-helper.py D ansible/roles/testenv-coredump-helper/files/testenv-coredump-helper.service D ansible/roles/testenv-coredump-helper/handlers/main.yml D ansible/roles/testenv-coredump-helper/tasks/main.yml M ansible/setup-build-host.yml 6 files changed, 0 insertions(+), 210 deletions(-) Approvals: daniel: Looks good to me, but someone else must approve fixeria: Looks good to me, but someone else must approve osmith: Looks good to me, approved Jenkins Builder: Verified diff --git a/ansible/roles/testenv-coredump-helper/README.md b/ansible/roles/testenv-coredump-helper/README.md deleted file mode 100644 index d27f457..0000000 --- a/ansible/roles/testenv-coredump-helper/README.md +++ /dev/null @@ -1,49 +0,0 @@ -# testenv-coredump-helper - -A simple webserver to make Osmocom related coredumps available in LXCs. - -## Architecture - -``` -.-----------------------------------------------------------------------------. -| build host (build4) .--------------------------.| -| | LXC (deb12build-ansible) || -| | || -| shell | HTTP || -| coredumpctl --------- testenv-coredump-helper ------------- testenv || -| |__________________________|| -|_____________________________________________________________________________| -``` - -## What this script does - -This role installs a systemd service running the script in -`files/testenv-coredump-helper.py`, which runs a HTTP server on port `8042` of -the `lxcbr0`'s IP (e.g. `10.0.3.1`) on the build host. The IP is detected -dynamically as it is random on each build host. - -The HTTP server provides one GET endpoint `/core`. When it is requested (by -testenv running inside the LXC), the script runs `coredumpctl` with parameters -to check for any coredump within the last three seconds that was created for -any Osmocom specific program (starting with `osmo-*` or `open5gs-*`). - -* If no matching coredump was found, it returns HTTP status code `404`. - -* If a matching coredump was found, it returns HTTP status code `200`, sends - the path to the executable in an `X-Executable-Path` header and sends the - coredump itself as body. - -The coredump and path to the executable are retrieved from `coredumpctl`. The -coredump is stored in a temporary file for the duration of the transfer. - -## Client implementation - -The clientside implementation is in `osmo-ttcn3-hacks.git`, -`_testenv/testenv/coredump.py` in the `get_from_coredumpctl_lxc_host()` -function. - -## Maximum coredump size - -The `testenv-coredump-helper` script does not limit the size of the coredump, -however a maximum size that `systemd-coredump` accepts can be configured in -`/etc/systemd/coredump.conf`. diff --git a/ansible/roles/testenv-coredump-helper/files/testenv-coredump-helper.py b/ansible/roles/testenv-coredump-helper/files/testenv-coredump-helper.py deleted file mode 100644 index a56bd0f..0000000 --- a/ansible/roles/testenv-coredump-helper/files/testenv-coredump-helper.py +++ /dev/null @@ -1,112 +0,0 @@ -#!/usr/bin/env python3 -# Copyright 2025 sysmocom - s.f.m.c. GmbH -# SPDX-License-Identifier: GPL-3.0-or-later -# Simple webserver to make Osmocom related coredumps available in LXCs. See -# ../README.md and OS#6769 for details. -import datetime -import fnmatch -import http.server -import json -import os -import shutil -import signal -import socket -import socketserver -import subprocess -import sys -import tempfile - - -NETDEV = "lxcbr0" -IP_PATTERN = "10.0.*" -PORT = 8042 - - -def find_lxc_ip(): - cmd = ["ip", "-j", "-o", "-4", "addr", "show", "dev", NETDEV] - p = subprocess.run(cmd, capture_output=True, text=True, check=True) - ret = json.loads(p.stdout)[0]["addr_info"][0]["local"] - if not fnmatch.fnmatch(ret, IP_PATTERN): - print(f"ERROR: IP doesn't match pattern {IP_PATTERN}: {ret}") - sys.exit(1) - return ret - - -def executable_is_relevant(exe): - basename = os.path.basename(exe) - patterns = [ - "open5gs-*", - "osmo-*", - ] - - for pattern in patterns: - if fnmatch.fnmatch(basename, pattern): - return True - - return False - - -class CustomRequestHandler(http.server.SimpleHTTPRequestHandler): - def do_GET(self): - if self.path == "/core": - # Check for any coredump within last 3 seconds - since = (datetime.datetime.now() - datetime.timedelta(seconds=3)).strftime("%Y-%m-%d %H:%M:%S") - cmd = ["coredumpctl", "-q", "-S", since, "--json=short", "-n1"] - - p = subprocess.run(cmd, capture_output=True, text=True) - if p.returncode != 0: - self.send_error(404, "No coredump found") - return None - - # Check if the coredump executable is from osmo-*, open5gs-*, etc. - coredump = json.loads(p.stdout)[0] - if not executable_is_relevant(coredump["exe"]): - self.send_error(404, "No coredump found") - return None - - # Put coredump into a temporary file and return it - with tempfile.TemporaryDirectory() as tmpdirname: - core_path = os.path.join(tmpdirname, "core") - cmd = [ - "coredumpctl", - "dump", - "-q", - "-S", - since, - "-o", - core_path, - str(coredump["pid"]), - coredump["exe"], - ] - subprocess.run(cmd, stdout=subprocess.DEVNULL, check=True) - - with open(core_path, "rb") as f: - self.send_response(200) - self.send_header("X-Executable-Path", coredump["exe"]) - self.end_headers() - self.wfile.write(f.read()) - else: - self.send_error(404, "File Not Found") - - -def signal_handler(sig, frame): - sys.exit(0) - - -def main(): - if not shutil.which("coredumpctl"): - print("ERROR: coredumpctl not found!") - sys.exit(1) - - ip = os.environ.get("LXC_HOST_IP") or find_lxc_ip() - print(f"Listening on {ip}:{PORT}") - signal.signal(signal.SIGINT, signal_handler) - with socketserver.TCPServer((ip, PORT), CustomRequestHandler, False) as httpd: - httpd.socket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) - httpd.server_bind() - httpd.server_activate() - httpd.serve_forever() - - -if __name__ == "__main__": - main() diff --git a/ansible/roles/testenv-coredump-helper/files/testenv-coredump-helper.service b/ansible/roles/testenv-coredump-helper/files/testenv-coredump-helper.service deleted file mode 100644 index ef5a851..0000000 --- a/ansible/roles/testenv-coredump-helper/files/testenv-coredump-helper.service +++ /dev/null @@ -1,12 +0,0 @@ -[Unit] -Description=testenv coredump helper -After=lxc.service - -[Service] -Environment="PYTHONUNBUFFERED=1" -Type=simple -Restart=always -ExecStart=/opt/testenv-coredump-helper/testenv-coredump-helper - -[Install] -WantedBy=multi-user.target diff --git a/ansible/roles/testenv-coredump-helper/handlers/main.yml b/ansible/roles/testenv-coredump-helper/handlers/main.yml deleted file mode 100644 index 0f7ef57..0000000 --- a/ansible/roles/testenv-coredump-helper/handlers/main.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- name: restart testenv-coredump-helper - service: - name: testenv-coredump-helper - state: restarted diff --git a/ansible/roles/testenv-coredump-helper/tasks/main.yml b/ansible/roles/testenv-coredump-helper/tasks/main.yml deleted file mode 100644 index 9ff2769..0000000 --- a/ansible/roles/testenv-coredump-helper/tasks/main.yml +++ /dev/null @@ -1,31 +0,0 @@ ---- -- name: install coredumpctl - apt: - name: - - systemd-coredump - cache_valid_time: 3600 - update_cache: yes - -- name: mkdir /opt/testenv-coredump-helper - ansible.builtin.file: - path: /opt/testenv-coredump-helper - state: directory - -- name: install testenv-coredump-helper - ansible.builtin.copy: - src: testenv-coredump-helper.py - dest: /opt/testenv-coredump-helper/testenv-coredump-helper - mode: '0755' - notify: restart testenv-coredump-helper - -- name: install testenv-coredump-helper service - ansible.builtin.copy: - src: testenv-coredump-helper.service - dest: /etc/systemd/system/testenv-coredump-helper.service - mode: '0644' - notify: restart testenv-coredump-helper - -- name: enable testenv-coredump-helper service - ansible.builtin.systemd_service: - name: testenv-coredump-helper - enabled: true diff --git a/ansible/setup-build-host.yml b/ansible/setup-build-host.yml index d1d9874..ed8def5 100644 --- a/ansible/setup-build-host.yml +++ b/ansible/setup-build-host.yml @@ -18,4 +18,3 @@ update_cache: yes roles: - name: apt-allow-relinfo-change - - name: testenv-coredump-helper -- To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/41154?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: merged Gerrit-Project: osmo-ci Gerrit-Branch: master Gerrit-Change-Id: I2959c6e6d97d5691ee2a4ae5d49a351eb5811f10 Gerrit-Change-Number: 41154 Gerrit-PatchSet: 2 Gerrit-Owner: osmith <osmith(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: daniel <dwillmann(a)sysmocom.de> Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
1 0
0 0
[S] Change in osmo-ci[master]: jobs/master,gerrit: use wrapper_core_bt_on_error
by osmith 29 Sep '25

29 Sep '25
osmith has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ci/+/41156?usp=email ) Change subject: jobs/master,gerrit: use wrapper_core_bt_on_error ...................................................................... jobs/master,gerrit: use wrapper_core_bt_on_error When the exit code isn't 0, find coredumps and display their backtraces. Change-Id: Idc893969b158e11d5ae17d0c0a05b52e662f8929 --- M jobs/gerrit-verifications.yml M jobs/master-builds.yml 2 files changed, 26 insertions(+), 22 deletions(-) Approvals: daniel: Looks good to me, approved fixeria: Looks good to me, but someone else must approve Jenkins Builder: Verified diff --git a/jobs/gerrit-verifications.yml b/jobs/gerrit-verifications.yml index 5dcc36e..3d8eb38 100644 --- a/jobs/gerrit-verifications.yml +++ b/jobs/gerrit-verifications.yml @@ -65,6 +65,7 @@ -w /build \ -i \ -u build \ + -v "$HOME/osmo-ci:/osmo-ci:ro" \ -v "$PWD:/build" \ docker_run_ccache: | CCACHE_DIR="$HOME/ccache/gerrit-verifications" @@ -86,6 +87,7 @@ -w /build \ -i \ -u build \ + -v "$HOME/osmo-ci:/osmo-ci:ro" \ -v "$PWD:/build" \ \ -e CCACHE_DIR="/ccache" \ @@ -97,7 +99,8 @@ docker_img_aram_applet: 'registry.osmocom.org/osmocom-build/debian-bookworm-aram-applet' docker_img_rp2040: 'registry.osmocom.org/osmocom-build/debian-bookworm-rp2040' timeout_cmd: '/usr/bin/timeout 30m' - cmd: '{docker_run_ccache} {docker_img} {timeout_cmd} /build/contrib/jenkins.sh' + wrapper_cmd: '{timeout_cmd} /osmo-ci/scripts/wrapper_core_bt_on_error.sh' + cmd: '{docker_run_ccache} {docker_img} {wrapper_cmd} /build/contrib/jenkins.sh' gerrit_url: 'ssh://jenkins@gerrit.osmocom.org:29418' repos_url: '{gerrit_url}/{repos}' gerrit_project: '{repos}' @@ -158,7 +161,7 @@ a1_name: arch a1: !!python/tuple [arm-none-eabi, amd64] combination_filter: '!(arch=="arm-none-eabi" && label=="FreeBSD_amd64")' - cmd: '{docker_run_ccache} {docker_img} {timeout_cmd} /build/contrib/jenkins_arch.sh "$arch"' + cmd: '{docker_run_ccache} {docker_img} {wrapper_cmd} /build/contrib/jenkins_arch.sh "$arch"' pipeline_binpkgs: "centos:7 debian:11 debian:13" # centos7: SYS#6760 - libsmpp34 @@ -209,7 +212,7 @@ {docker_run_ccache} \ -e FIRMWARE_VERSION="$FIRMWARE_VERSION" \ -e WITH_MANUALS="$WITH_MANUALS" \ - "$DOCKER_IMG" {timeout_cmd} $SETARCH_CMD /build/contrib/jenkins_bts_model.sh "$BTS_MODEL" + "$DOCKER_IMG" {wrapper_cmd} $SETARCH_CMD /build/contrib/jenkins_bts_model.sh "$BTS_MODEL" - osmo_dia2gsup: repos_url: '{gerrit_url}/erlang/{repos}' @@ -280,7 +283,7 @@ {docker_run_ccache} \ -e GTP="$GTP" \ -e WITH_MANUALS="$WITH_MANUALS" \ - {docker_img} {timeout_cmd} /build/contrib/jenkins.sh + {docker_img} {wrapper_cmd} /build/contrib/jenkins.sh - osmo-gsm-manuals @@ -306,7 +309,7 @@ {docker_run_ccache} \ -e IU="$IU" \ -e WITH_MANUALS="$WITH_MANUALS" \ - {docker_img} {timeout_cmd} /build/contrib/jenkins.sh + {docker_img} {wrapper_cmd} /build/contrib/jenkins.sh - osmo-pcap: pipeline_binpkgs: "centos:7 debian:11 debian:13" # centos7: SYS#6760 @@ -342,7 +345,7 @@ -e with_vty="$with_vty" \ -e with_dsp="$with_dsp" \ -e WITH_MANUALS="$WITH_MANUALS" \ - "$DOCKER_IMG" {timeout_cmd} $SETARCH_CMD /build/contrib/jenkins.sh + "$DOCKER_IMG" {wrapper_cmd} $SETARCH_CMD /build/contrib/jenkins.sh - osmo-python-tests: repos_url: '{gerrit_url}/python/{repos}' @@ -386,7 +389,7 @@ {docker_run_ccache} \ -e IU="$IU" \ -e WITH_MANUALS="$WITH_MANUALS" \ - {docker_img} {timeout_cmd} /build/contrib/jenkins.sh + {docker_img} {wrapper_cmd} /build/contrib/jenkins.sh - osmo_ss7: repos_url: '{gerrit_url}/erlang/{repos}' @@ -418,7 +421,7 @@ {docker_run_ccache} \ -e INSTR="$INSTR" \ -e WITH_MANUALS="$WITH_MANUALS" \ - "$DOCKER_IMG" {timeout_cmd} $SETARCH_CMD /build/contrib/jenkins.sh + "$DOCKER_IMG" {wrapper_cmd} $SETARCH_CMD /build/contrib/jenkins.sh - osmocom-bb: pipeline_binpkgs: "debian:12 debian:13" @@ -482,7 +485,7 @@ -e PFCP="$PFCP" \ -e WITH_MANUALS="$WITH_MANUALS" \ -e NFTABLES="$NFTABLES" \ - {docker_img} {timeout_cmd} /build/contrib/jenkins.sh + {docker_img} {wrapper_cmd} /build/contrib/jenkins.sh - osmo-upf diff --git a/jobs/master-builds.yml b/jobs/master-builds.yml index 1ed04f2..d720dfb 100644 --- a/jobs/master-builds.yml +++ b/jobs/master-builds.yml @@ -82,7 +82,8 @@ docker_img_aram_applet: 'registry.osmocom.org/osmocom-build/debian-bookworm-aram-applet' docker_img_rp2040: 'registry.osmocom.org/osmocom-build/debian-bookworm-rp2040' timeout_cmd: '/usr/bin/timeout 30m' - cmd: '{docker_run_ccache} {docker_img} {timeout_cmd} /build/contrib/jenkins.sh' + wrapper_cmd: '{timeout_cmd} /osmo-ci/scripts/wrapper_core_bt_on_error.sh' + cmd: '{docker_run_ccache} {docker_img} {wrapper_cmd} /build/contrib/jenkins.sh' trigger: email: jenkins-notifications(a)lists.osmocom.org laforge(a)gnumonks.org gerrit_url: 'https://gerrit.osmocom.org' @@ -149,7 +150,7 @@ repos_url: '{gitea_url}/sdr/{repos}' cmd: | {docker_run_ccache} \ - {docker_img} {timeout_cmd} sh -ex -c \ + {docker_img} {wrapper_cmd} sh -ex -c \ 'autoreconf -fi; \ ./configure; \ $MAKE $PARALLEL_MAKE; \ @@ -207,7 +208,7 @@ a1_name: arch a1: !!python/tuple [arm-none-eabi, amd64] combination_filter: '!(arch=="arm-none-eabi" && label=="FreeBSD_amd64")' - cmd: '{docker_run_ccache} {docker_img} {timeout_cmd} /build/contrib/jenkins_arch.sh "$arch"' + cmd: '{docker_run_ccache} {docker_img} {wrapper_cmd} /build/contrib/jenkins_arch.sh "$arch"' # Full triggers would be: # trigger: > # master-libosmo-netif, master-libosmo-abis, master-libosmo-sigtran, @@ -376,7 +377,7 @@ {docker_run_ccache} \ -e GTP="$GTP" \ -e WITH_MANUALS="$WITH_MANUALS" \ - {docker_img} {timeout_cmd} /build/contrib/jenkins.sh + {docker_img} {wrapper_cmd} /build/contrib/jenkins.sh trigger: master-osmo-sgsn - osmo-upf @@ -426,7 +427,7 @@ {docker_run_ccache} \ -e IU="$IU" \ -e WITH_MANUALS="$WITH_MANUALS" \ - {docker_img} {timeout_cmd} /build/contrib/jenkins.sh + {docker_img} {wrapper_cmd} /build/contrib/jenkins.sh - osmo-pcap @@ -460,14 +461,14 @@ -e with_vty="$with_vty" \ -e with_dsp="$with_dsp" \ -e WITH_MANUALS="$WITH_MANUALS" \ - "$DOCKER_IMG" {timeout_cmd} $SETARCH_CMD /build/contrib/jenkins.sh + "$DOCKER_IMG" {wrapper_cmd} $SETARCH_CMD /build/contrib/jenkins.sh - osmo-python-tests: repos_url: '{gerrit_url}/python/{repos}' - ot290-gsmtap: repos_url: '{gitea_url}/phone-side/{repos}' - cmd: '{docker_run_ccache} {docker_img} {timeout_cmd} make -C /build/src' + cmd: '{docker_run_ccache} {docker_img} {wrapper_cmd} make -C /build/src' - pyosmocom: repos_url: '{gerrit_url}/python/{repos}' @@ -505,7 +506,7 @@ {docker_run_ccache} \ -e IU="$IU" \ -e WITH_MANUALS="$WITH_MANUALS" \ - {docker_img} {timeout_cmd} /build/contrib/jenkins.sh + {docker_img} {wrapper_cmd} /build/contrib/jenkins.sh - osmo-sip-connector: email: jenkins-notifications(a)lists.osmocom.org laforge(a)gnumonks.org holger(a)freyther.de @@ -535,7 +536,7 @@ {docker_run_ccache} \ -e INSTR="$INSTR" \ -e WITH_MANUALS="$WITH_MANUALS" \ - "$DOCKER_IMG" {timeout_cmd} $SETARCH_CMD /build/contrib/jenkins.sh + "$DOCKER_IMG" {wrapper_cmd} $SETARCH_CMD /build/contrib/jenkins.sh - osmocom-bb - osmo-sysmon @@ -564,14 +565,14 @@ repos_url: '{gitea_url}/sim-card/{repos}' email: jenkins-notifications(a)lists.osmocom.org laforge(a)gnumonks.org kredon(a)sysmocom.de - simtrace2: - cmd: '{docker_run_ccache} {docker_img} {timeout_cmd} /build/contrib/jenkins.sh --publish' + cmd: '{docker_run_ccache} {docker_img} {wrapper_cmd} /build/contrib/jenkins.sh --publish' email: jenkins-notifications(a)lists.osmocom.org laforge(a)gnumonks.org kredon(a)sysmocom.de ssh: - binaries_ftp.osmocom.org - docs_ftp.osmocom.org - osmo-opencm3-projects: repos_url: '{gitea_url}/electronics/{repos}' - cmd: '{docker_run} {docker_img} {timeout_cmd} /build/contrib/jenkins.sh --publish' + cmd: '{docker_run} {docker_img} {wrapper_cmd} /build/contrib/jenkins.sh --publish' email: jenkins-notifications(a)lists.osmocom.org laforge(a)gnumonks.org kredon(a)sysmocom.de ssh: - binaries_ftp.osmocom.org @@ -602,7 +603,7 @@ -e PFCP="$PFCP" \ -e WITH_MANUALS="$WITH_MANUALS" \ -e NFTABLES="$NFTABLES" \ - {docker_img} {timeout_cmd} /build/contrib/jenkins.sh + {docker_img} {wrapper_cmd} /build/contrib/jenkins.sh - rtl-sdr: repos_url: '{gitea_url}/sdr/{repos}' @@ -649,7 +650,7 @@ cmd: | rm -rf osmo-ci git clone --depth=1 https://gerrit.osmocom.org/osmo-ci -b master - {docker_run_ccache} {docker_img} {timeout_cmd} /build/osmo-ci/scripts/xgoldmon-jenkins.sh + {docker_run_ccache} {docker_img} {wrapper_cmd} /build/osmo-ci/scripts/xgoldmon-jenkins.sh jobs: - 'master-{repos}' -- To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/41156?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: merged Gerrit-Project: osmo-ci Gerrit-Branch: master Gerrit-Change-Id: Idc893969b158e11d5ae17d0c0a05b52e662f8929 Gerrit-Change-Number: 41156 Gerrit-PatchSet: 2 Gerrit-Owner: osmith <osmith(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: daniel <dwillmann(a)sysmocom.de> Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
1 0
0 0
[XS] Change in osmo-ci[master]: jobs/master,gerrit: set CFLAGS=-g
by osmith 29 Sep '25

29 Sep '25
osmith has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ci/+/41157?usp=email ) Change subject: jobs/master,gerrit: set CFLAGS=-g ...................................................................... jobs/master,gerrit: set CFLAGS=-g Generate debug symbols, so backtraces from coredumps become more useful. Change-Id: Ieff8670e376f140a672a800961be753028cf7b6f --- M jobs/gerrit-verifications.yml M jobs/master-builds.yml 2 files changed, 4 insertions(+), 0 deletions(-) Approvals: fixeria: Looks good to me, approved Jenkins Builder: Verified diff --git a/jobs/gerrit-verifications.yml b/jobs/gerrit-verifications.yml index 3d8eb38..614abde 100644 --- a/jobs/gerrit-verifications.yml +++ b/jobs/gerrit-verifications.yml @@ -55,6 +55,7 @@ --security-opt seccomp=$HOME/osmo-ci/_docker_playground/seccomp_profile.json \ --ulimit fsize=1000000000 \ -e ASCIIDOC_WARNINGS_CHECK="1" \ + -e CFLAGS="-g" \ -e HOME=/build \ -e JOB_NAME="$JOB_NAME" \ -e MAKE=make \ @@ -77,6 +78,7 @@ --security-opt seccomp=$HOME/osmo-ci/_docker_playground/seccomp_profile.json \ --ulimit fsize=1000000000 \ -e ASCIIDOC_WARNINGS_CHECK="1" \ + -e CFLAGS="-g" \ -e HOME=/build \ -e JOB_NAME="$JOB_NAME" \ -e MAKE=make \ diff --git a/jobs/master-builds.yml b/jobs/master-builds.yml index d720dfb..dbdfe51 100644 --- a/jobs/master-builds.yml +++ b/jobs/master-builds.yml @@ -28,6 +28,7 @@ --security-opt seccomp=$HOME/osmo-ci/_docker_playground/seccomp_profile.json \ --ulimit fsize=1000000000 \ -e ASCIIDOC_WARNINGS_CHECK="1" \ + -e CFLAGS="-g" \ -e HOME=/build \ -e IS_MASTER_BUILD=1 \ -e JOB_NAME="$JOB_NAME" \ @@ -55,6 +56,7 @@ --security-opt seccomp=$HOME/osmo-ci/_docker_playground/seccomp_profile.json \ --ulimit fsize=1000000000 \ -e ASCIIDOC_WARNINGS_CHECK="1" \ + -e CFLAGS="-g" \ -e HOME=/build \ -e IS_MASTER_BUILD=1 \ -e JOB_NAME="$JOB_NAME" \ -- To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/41157?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: merged Gerrit-Project: osmo-ci Gerrit-Branch: master Gerrit-Change-Id: Ieff8670e376f140a672a800961be753028cf7b6f Gerrit-Change-Number: 41157 Gerrit-PatchSet: 2 Gerrit-Owner: osmith <osmith(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
1 0
0 0
[M] Change in osmo-ci[master]: testenv-coredump-helper: remove
by osmith 29 Sep '25

29 Sep '25
osmith has posted comments on this change by osmith. ( https://gerrit.osmocom.org/c/osmo-ci/+/41154?usp=email ) Change subject: testenv-coredump-helper: remove ...................................................................... Patch Set 1: Code-Review+2 -- To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/41154?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: I2959c6e6d97d5691ee2a4ae5d49a351eb5811f10 Gerrit-Change-Number: 41154 Gerrit-PatchSet: 1 Gerrit-Owner: osmith <osmith(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: daniel <dwillmann(a)sysmocom.de> Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: osmith <osmith(a)sysmocom.de> Gerrit-Comment-Date: Mon, 29 Sep 2025 06:28:32 +0000 Gerrit-HasComments: No Gerrit-Has-Labels: Yes
1 0
0 0
[XS] Change in osmo-ttcn3-hacks[master]: testenv: run daemons with 'ulimit -c unlimited'
by osmith 29 Sep '25

29 Sep '25
osmith has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/41151?usp=email ) Change subject: testenv: run daemons with 'ulimit -c unlimited' ...................................................................... testenv: run daemons with 'ulimit -c unlimited' Prepare to support getting core files without having systemd-coredump installed, as we plan to uninstall it from the jenkins servers to make retrieving coredumps for other jobs feasible again. When starting daemons, set the maximum core file size to unlimited. Otherwise it might be at 0, resulting in no core files getting generated. I have considered using resource.setrlimit() on the python process instead, but this wouldn't work when spawning the daemons inside the podman container. Change-Id: Ideaf0386c8d6111c2634f276f926e976023ff511 --- M _testenv/testenv/daemons.py 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: daniel: Looks good to me, approved fixeria: Looks good to me, but someone else must approve Jenkins Builder: Verified diff --git a/_testenv/testenv/daemons.py b/_testenv/testenv/daemons.py index d4804d0..3a38850 100644 --- a/_testenv/testenv/daemons.py +++ b/_testenv/testenv/daemons.py @@ -53,7 +53,7 @@ pipe = f"2>&1 | tee {shlex.quote(log)}" else: pipe = f">{shlex.quote(log)} 2>&1" - cmd = ["sh", "-c", f"{program} {pipe}"] + cmd = ["sh", "-c", f"ulimit -c unlimited; {program} {pipe}"] env = {} if testenv.args.io_uring: -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/41151?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: Ideaf0386c8d6111c2634f276f926e976023ff511 Gerrit-Change-Number: 41151 Gerrit-PatchSet: 1 Gerrit-Owner: osmith <osmith(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: daniel <dwillmann(a)sysmocom.de> Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
1 0
0 0
[XS] Change in osmo-ttcn3-hacks[master]: testenv: add empty lines around backtrace
by osmith 29 Sep '25

29 Sep '25
osmith has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/41153?usp=email ) Change subject: testenv: add empty lines around backtrace ...................................................................... testenv: add empty lines around backtrace Make the backtrace stand out visually from the rest of the logs. Change-Id: Icd75379a875b72ddf3364895bc6a0afc57d2901e --- M _testenv/testenv/coredump.py 1 file changed, 3 insertions(+), 2 deletions(-) Approvals: fixeria: Looks good to me, approved Jenkins Builder: Verified diff --git a/_testenv/testenv/coredump.py b/_testenv/testenv/coredump.py index d3fa35f..d436551 100644 --- a/_testenv/testenv/coredump.py +++ b/_testenv/testenv/coredump.py @@ -118,12 +118,13 @@ logging.info("Running gdb to get a backtrace") - cmd = "gdb" + cmd = "echo; gdb" cmd += " --batch" cmd += f" {shlex.quote(executable_path)}" cmd += f" {shlex.quote(core_path)}" cmd += " -ex bt" - cmd += f" | tee {shlex.quote(core_path)}.backtrace" + cmd += f" | tee {shlex.quote(core_path)}.backtrace;" + cmd += " echo" testenv.cmd.run(cmd) -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/41153?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: Icd75379a875b72ddf3364895bc6a0afc57d2901e Gerrit-Change-Number: 41153 Gerrit-PatchSet: 2 Gerrit-Owner: osmith <osmith(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
1 0
0 0
  • ← Newer
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • ...
  • 122
  • Older →

HyperKitty Powered by HyperKitty version 1.3.12.