[pygobject/benzea/gio-asyncio] try to get a backtrace




commit fe9239d0b04a09b3a34da65b1d962a4a9b347e95
Author: Benjamin Berg <bberg redhat com>
Date:   Mon Nov 22 19:37:12 2021 +0100

    try to get a backtrace

 .gitlab-ci.yml            | 4 ++++
 .gitlab-ci/test-docker.sh | 6 ++++++
 2 files changed, 10 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ba852c19..acd35ef9 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -65,6 +65,10 @@ pages:
 python3.6:
   variables:
     PYENV_VERSION: "3.6.12"
+  artifacts:
+    expire_in: 1 days
+    paths:
+      - gdb.txt
   <<: *defaults
 
 #python3.7:
diff --git a/.gitlab-ci/test-docker.sh b/.gitlab-ci/test-docker.sh
index bb865a01..5a62cc01 100755
--- a/.gitlab-ci/test-docker.sh
+++ b/.gitlab-ci/test-docker.sh
@@ -2,8 +2,12 @@
 
 set -e
 
+id
+
 python --version
 
+su - apt-get install -y gdb
+
 PYVER=$(python -c "import sys; sys.stdout.write('.'.join(map(str, sys.version_info[:2])))")
 PYIMPL=$(python -c "import sys, platform; sys.stdout.write(platform.python_implementation())")
 SOURCE_DIR="$(pwd)"
@@ -33,6 +37,8 @@ export PKG_CONFIG_PATH="$(python -c 'import sys; sys.stdout.write(sys.prefix)')/
 
 meson _build -Dpython="$(which python)"
 ninja -C _build
+echo "asdf" >gdb.txt
+( echo '!!!!!!!!!!!!!!!!!!!!!!' >> gdb.txt; sleep 70; echo '!!!!!!!!!!!!!!!!!!!!!!'; gdb -p $( pgrep -n -f 
runtests.py ) -batch -x "set logging on" -x "thread apply all bt full" -x quit ) &
 xvfb-run -a meson test --suite pygobject --timeout-multiplier 4 -C _build -v
 rm -Rf _build
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]