Skip to content

Instantly share code, notes, and snippets.

⋊> dima@bb ⋊> ~ coredumpctl debug 3836963 13:51:34
PID: 3836963 (python3)
UID: 1000 (dima)
GID: 1000 (dima)
Signal: 11 (SEGV)
Timestamp: Wed 2025-06-04 07:03:35 JST (6h ago)
Command Line: /code/operator-xdist-3.7/.venv/bin/python3 -u -c $'import sys;exec(eval(sys.stdin.readline()))'
Executable: /home/dima/3.13-dev/python/install/bin/python3.13d
Control Group: /user.slice/user-1000.slice/user@1000.service/tmux-spawn-f92e4ddc-4a2d-4bf7-a7e2-58abbd1ec088.scope
Unit: user@1000.service

System behaved weird...

root@tracing-integration-tester-0:/var/lib/juju# curl -v --data '{"a":42}' localhost:41293
* Host localhost:41293 was resolved.
* IPv6: ::1
* IPv4: 127.0.0.1
*   Trying [::1]:41293...
* Connected to localhost (::1) port 41293
> POST / HTTP/1.1
Fatal Python error: Segmentation fault
Thread 0x0000730aa34916c0 (most recent call first):
File "/code/operator-xdist-3.6.1/.tox/unit/lib/python3.9/site-packages/execnet/gateway_base.py", line 534 in read
File "/code/operator-xdist-3.6.1/.tox/unit/lib/python3.9/site-packages/execnet/gateway_base.py", line 567 in from_io
File "/code/operator-xdist-3.6.1/.tox/unit/lib/python3.9/site-packages/execnet/gateway_base.py", line 1160 in _thread_receiver
File "/code/operator-xdist-3.6.1/.tox/unit/lib/python3.9/site-packages/execnet/gateway_base.py", line 341 in run
File "/code/operator-xdist-3.6.1/.tox/unit/lib/python3.9/site-packages/execnet/gateway_base.py", line 411 in _perform_spawn
Current thread 0x0000730aa5f0e740 (most recent call first):
[2469010.901237] traps: python[2468223] general protection fault ip:78e1eff33c00 sp:7ffff5600ef8 error:0 in libpython3.8.so.1.0[333c00,78e1efd78000+c97000]
Fatal Python error: Segmentation fault
Thread 0x0000704b0f63f6c0 (most recent call first):
File "/home/dima/.local/share/uv/python/cpython-3.9.22-linux-x86_64-gnu/lib/python3.9/threading.py", line 316 in wait
File "/code/operator/.tox/unit/lib/python3.9/site-packages/opentelemetry/sdk/trace/export/__init__.py", line 258 in worker
File "/home/dima/.local/share/uv/python/cpython-3.9.22-linux-x86_64-gnu/lib/python3.9/threading.py", line 917 in run
File "/home/dima/.local/share/uv/python/cpython-3.9.22-linux-x86_64-gnu/lib/python3.9/threading.py", line 980 in _bootstrap_inner
File "/home/dima/.local/share/uv/python/cpython-3.9.22-linux-x86_64-gnu/lib/python3.9/threading.py", line 937 in _bootstrap
Thread 0x0000704b160516c0 (most recent call first):
Hi peacekeepers, PTAL@ https://github.com/juju/python-libjuju/issues/1263
Juju 3.6.1.1, CK8s, they hit a timeout trying to deploy a locally-built charm, presumably immediately after model has been created.
Feel free to move the issue to juju/juju or bounce it to k8s people.
│ 2025-05-05T21:16:52.400Z [pebble] HTTP API server listening on ":38812". │
│ 2025-05-05T21:16:52.400Z [pebble] Started daemon. │
│ 2025-05-05T21:16:52.419Z [pebble] POST /v1/services 17.917425ms 202 │
│ 2025-05-05T21:16:52.422Z [pebble] Service "container-agent" starting: /charm/bin/containeragent unit --data-dir /var/lib/juju --append-env "PATH=$PATH:/charm/bin" --show-log --charm-modified-version 0 │
│ 2025-05-05T21:16:52.437Z [container-agent] 2025-05
2025-03-13T22:54:50.612Z [container-agent] 2025-03-13 22:54:50 ERROR juju-log Uncaught exception while in charm code: │
2025-03-13T22:54:50.612Z [container-agent] Traceback (most recent call last): │
2025-03-13T22:54:50.612Z [container-agent] File "/var/lib/juju/agents/unit-hexanator-0/charm/venv/ops/model.py", line 3373, in _run
2025-03-13T22:54:50.612Z [container-agent] result = subprocess.run(args, **kwargs) # type: ig
class TracingEvents(Protocol):
@property
def request(self) -> EventSource: ...
def broken(self) -> EventSource: ...
class CertEvents(Protocol):
@property
def something(self) -> EventSource: ...
def other(self) -> EventSource: ...
2025-02-21T02:59:07.1894071Z Current runner version: '2.322.0'
2025-02-21T02:59:07.1921812Z ##[group]Operating System
2025-02-21T02:59:07.1922656Z Ubuntu
2025-02-21T02:59:07.1923194Z 24.04.1
2025-02-21T02:59:07.1923692Z LTS
2025-02-21T02:59:07.1924185Z ##[endgroup]
2025-02-21T02:59:07.1924733Z ##[group]Runner Image
2025-02-21T02:59:07.1925472Z Image: ubuntu-24.04
2025-02-21T02:59:07.1926052Z Version: 20250209.1.0
2025-02-21T02:59:07.1927083Z Included Software: https://github.com/actions/runner-images/blob/ubuntu24/20250209.1/images/ubuntu/Ubuntu2404-Readme.md