osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/docker-playground/+/43140?usp=email )
Change subject: ttcn3-asterisk-ims-ue-test: set execfn
......................................................................
ttcn3-asterisk-ims-ue-test: set execfn
The wrapper_core_bt_on_error.sh should get a backtrace if a coredump
appears. This didn't work because the execfn could not be extracted via
file:
$ file core
core: ELF 64-bit LSB core file, x86-64, version 1 (SYSV), too many program headers (2201)
Add a fallback execfn path so it works in this case too.
Change-Id: Ia6b170b127d6458c3e74b1a32a549b04ae460c75
---
M common/wrapper_core_bt_on_error.sh
M ttcn3-asterisk-ims-ue-test/jenkins.sh
2 files changed, 8 insertions(+), 2 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/docker-playground refs/changes/40/43140/1
diff --git a/common/wrapper_core_bt_on_error.sh b/common/wrapper_core_bt_on_error.sh
index ca1eaef..31579fe 100755
--- a/common/wrapper_core_bt_on_error.sh
+++ b/common/wrapper_core_bt_on_error.sh
@@ -22,8 +22,13 @@
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
+ if [ -n "$BT_ON_ERR_EXECFN_FALLBACK" ]; then
+ msg "Failed to get execfn, using BT_ON_ERR_EXECFN_FALLBACK: $BT_ON_ERR_EXECFN_FALLBACK"
+ execfn="$BT_ON_ERR_EXECFN_FALLBACK"
+ else
+ msg "Failed to get execfn, ignoring... consider setting BT_ON_ERR_EXECFN_FALLBACK"
+ continue
+ fi
fi
echo
diff --git a/ttcn3-asterisk-ims-ue-test/jenkins.sh b/ttcn3-asterisk-ims-ue-test/jenkins.sh
index 0de3d8c..3512772 100755
--- a/ttcn3-asterisk-ims-ue-test/jenkins.sh
+++ b/ttcn3-asterisk-ims-ue-test/jenkins.sh
@@ -55,6 +55,7 @@
--cap-add=SYS_RESOURCE \
$(docker_network_params $SUBNET $ASTERISK_IP_SUFFIX) \
-e "DNS_IPADDR=${DNS_IPADDR}" \
+ -e "BT_ON_ERR_EXECFN_FALLBACK=/usr/sbin/asterisk" \
--ulimit core=-1 \
-v "$VOL_BASE_DIR/asterisk-${test_config}:/data" \
-w /data \
--
To view, visit https://gerrit.osmocom.org/c/docker-playground/+/43140?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-Change-Id: Ia6b170b127d6458c3e74b1a32a549b04ae460c75
Gerrit-Change-Number: 43140
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Attention is currently required from: Hoernchen, laforge.
lynxis lazus has posted comments on this change by Hoernchen. ( https://gerrit.osmocom.org/c/simtrace2/+/43127?usp=email )
Change subject: firmware: protect uart_tx_queue against ISR
......................................................................
Patch Set 1:
(1 comment)
Patchset:
PS1:
> Needs a fixed llist_add_tail_irqsafe(), which called __enable_irq() instead of
> restoring the saved PRIMASK for some unknown reason?!?!?!?
I guess this was overlooked, when looking into the commit, it was still a `WIP` commit which just forgot to replace it as well.
--
To view, visit https://gerrit.osmocom.org/c/simtrace2/+/43127?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: simtrace2
Gerrit-Branch: master
Gerrit-Change-Id: I7d9cdcc56263b27dfd4649dfb1da1d67761ee923
Gerrit-Change-Number: 43127
Gerrit-PatchSet: 1
Gerrit-Owner: Hoernchen <ewild(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Attention: Hoernchen <ewild(a)sysmocom.de>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Comment-Date: Wed, 29 Jul 2026 16:54:58 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No