Skip to content

Commit 9286daa

Browse files
Update testing1309.yml
1 parent 41f6509 commit 9286daa

1 file changed

Lines changed: 75 additions & 23 deletions

File tree

‎.github/workflows/testing1309.yml‎

Lines changed: 75 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,94 @@
1-
name: Testing-1087
1+
name: Reproduce 1087
22

33
on:
44
workflow_dispatch:
55

66
jobs:
7-
ubuntu-24-python38:
8-
name: Ubuntu 24.04 / Python 3.8
9-
runs-on: self-hosted
10-
container: ubuntu:24.04
7+
job1-ubuntu-24-container:
8+
name: 1️⃣ Ubuntu 24.04 container / Python 3.8
9+
runs-on: [self-hosted]
10+
container: ubuntu:24.04
1111
steps:
12-
- name: Install prerequisites
12+
- name: Show OS info
1313
run: |
14-
apt-get update
15-
apt-get install -y --no-install-recommends ca-certificates curl git sudo
14+
echo "=== /etc/os-release ==="
15+
cat /etc/os-release
16+
echo "=== glibc ==="
17+
ldd --version | head -1
1618
17-
- name: Set up Python 3.8
18-
uses: actions/setup-python@v5
19+
- name: Ensure sudo is installed
20+
run: |
21+
if ! command -v sudo &> /dev/null; then
22+
apt-get update && apt-get install -y sudo
23+
fi
24+
25+
- name: Fix permissions
26+
run: sudo chown -R $(whoami) /github/home
27+
28+
- uses: actions/checkout@v6
29+
30+
- name: Clear tool cache (force cache miss for clean repro)
31+
run: |
32+
rm -rf /__w/_tool/Python
33+
echo "Tool cache cleared:"
34+
ls -la /__w/_tool/ || true
35+
36+
- uses: actions/setup-python@v5
1937
with:
2038
python-version: '3.8'
2139

22-
- name: Upgrade pip
40+
- name: Show what was cached
41+
run: |
42+
echo "=== Tool cache contents after install ==="
43+
ls -la /__w/_tool/Python/
44+
ls -la /__w/_tool/Python/*/x64/ | head -20
45+
46+
- name: pip install --upgrade pip (job 1 — should succeed)
2347
run: python -m pip install --upgrade pip
2448

25-
ubuntu-20-python38:
26-
name: Ubuntu 20.04 / Python 3.8
27-
needs: ubuntu-24-python38
28-
runs-on: self-hosted
29-
container: ubuntu:20.04
49+
job2-ubuntu-20-container:
50+
name: 2️⃣ Ubuntu 20.04 container / Python 3.8 (BUG surfaces here)
51+
needs: job1-ubuntu-24-container
52+
runs-on: [self-hosted]
53+
container: ubuntu:20.04
3054
steps:
31-
- name: Install prerequisites
55+
- name: Show OS info
3256
run: |
33-
apt-get update
34-
apt-get install -y --no-install-recommends ca-certificates curl git sudo
57+
echo "=== /etc/os-release ==="
58+
cat /etc/os-release
59+
echo "=== glibc ==="
60+
ldd --version | head -1
3561
36-
- name: Set up Python 3.8
37-
uses: actions/setup-python@v5
62+
- name: Ensure sudo is installed
63+
run: |
64+
if ! command -v sudo &> /dev/null; then
65+
apt-get update && apt-get install -y sudo
66+
fi
67+
68+
- name: Fix permissions
69+
run: sudo chown -R $(whoami) /github/home
70+
71+
- uses: actions/checkout@v6
72+
73+
- name: Inspect tool cache populated by job 1
74+
run: |
75+
echo "=== Tool cache contents seen by job 2 ==="
76+
ls -la /__w/_tool/Python/ || echo "(no Python dir)"
77+
ls -la /__w/_tool/Python/*/x64/ 2>/dev/null | head -20 || true
78+
79+
- uses: actions/setup-python@v5
3880
with:
3981
python-version: '3.8'
4082

41-
- name: Upgrade pip
42-
run: python -m pip install --upgrade pip
83+
- name: Show where Python came from
84+
run: |
85+
which python
86+
python --version
87+
echo "pythonLocation=$pythonLocation"
88+
89+
# 👇 The reproducer step from the issue.
90+
# Expected to FAIL with either:
91+
# - "SSLError: Can't connect to HTTPS URL because the SSL module is not available"
92+
# - "version `GLIBC_2.34' not found"
93+
- name: pip install --upgrade pip (job 2 — expected to FAIL)
94+
run: python -m pip install --upgrade pip

0 commit comments

Comments
 (0)