Skip to content

obs_stability: stdlib SigV4 client + repo test-runner pool - #76

Merged
KadenZhang3321 merged 1 commit into
mainfrom
test-obs-hk-stability-v2
Sep 23, 2026
Merged

KadenZhang3321 merged 1 commit into
mainfrom
test-obs-hk-stability-v2

Conversation

@KadenZhang3321

Copy link
Copy Markdown
Collaborator

Follow-up to #75. First dispatch failed: runner images have python3.12 but no pip (ensurepip missing, non-root cannot apt-install), so esdk-obs-python could never bootstrap.

Changes:

  • s3obj.py: stdlib-only AWS SigV4 S3 client (PUT/GET/DELETE). SigV4 GET verified locally against ascend-ci-cache-hk (real 200 responses); PUT path identical algorithm, verified in CI with the writable HW_OBS_AK_HK key (local k8s AK is read-only, PUT returns clean AccessDenied -> proves request signing accepted)
  • default runner_pool switched to repo-scoped test runners: a3-test-2-cn12-001 (CN12), a3-test-2/4 (gy005), cpu-test-8-hk (hk); previous default used org-scale production pool a3-2-cn12-001
  • removed pip bootstrap steps; guarded curl probe; cleanup uses s3obj CLI
  • all scripts pass ruff check/format; yaml + py validated locally

Runner images ship python3 without pip (and jobs run as non-root), so
the first run failed bootstrapping the OBS SDK. Replace it with a
minimal stdlib-only S3 SigV4 client (s3obj.py) for put/get/delete.

Also:
- default reader pool now uses repo-scoped test runners
  (a3-test-*-cn12-001 / gy005 a3-test-* / cpu-test-8-hk)
- guard the curl probe step
- cleanup job uses the stdlib CLI instead of pip

Signed-off-by: KadenZhang3321 <1075567213@gmail.com>
@KadenZhang3321
KadenZhang3321 merged commit 151d2a5 into main Sep 23, 2026
0 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant