grafana / grafana/pyroscope-python

Investigate musllinux-arm64 CI test hangs for Python 3.9, 3.10, 3.11

オープン
#36 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Rust
スター
4
フォーク
2
平均マージ
2日 4時間
マージ済み PR(30日)
5

説明

## Description

In the `linux-test` CI matrix added in grafana/pyroscope-rs#364, the `musllinux-arm64` variant hangs indefinitely for Python 3.9, 3.10, and 3.11, while 3.12 and 3.13 complete successfully (~37s each).

All four variants started at the same time. The three older versions never complete.

## Observed behaviour

| Job | Status | Duration |
|-----|--------|----------|
| musllinux-arm64 - 3.9 | stuck in_progress | 15+ min |
| musllinux-arm64 - 3.10 | stuck in_progress | 15+ min |
| musllinux-arm64 - 3.11 | stuck in_progress | 15+ min |
| musllinux-arm64 - 3.12 | completed | ~37s |
| musllinux-arm64 - 3.13 | completed | ~37s |

Example run: https://github.com/grafana/pyroscope-rs/actions/runs/22293868489

## Possible causes

- `python:3.9-alpine`, `python:3.10-alpine`, `python:3.11-alpine` images may not have an `arm64` variant on Docker Hub, causing `docker pull` to hang or fail silently
- py-spy may not support profiling on Alpine arm64 for older Python versions
- The test watchdog (120s timeout) fires but the process doesn't exit cleanly inside the container

## Current workaround

These three combinations are excluded from the matrix via `exclude:` in `ci-ffi-python.yml` until the root cause is identified.

## Next steps

- Check Docker Hub for `python:3.9-alpine` / `3.10-alpine` / `3.11-alpine` arm64 manifest availability
- Run the docker pull manually on an arm64 runner to confirm
- Check if py-spy works on Alpine arm64 for these Python versions

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

Start with ci-ffi-python.yml and the linked Actions run, then check Docker Hub manifests for the Python 3.9–3.11 Alpine arm64 images. Reproduce the pulls and py-spy test on an arm64 runner, checking the 120-second watchdog behavior. Done means the hang’s cause is identified and the exclusion or CI configuration can be updated accordingly.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
docker, github-actions, python
領域
ci-cd, devops
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
42/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。