Agent Sandbox Registry

python-sdk

Verification: small-image ACR push and base sandbox create (2026-10-13)

无中文版

.agents/evidence/verify/2026-10-13-small-image-e2e.md

Verification: small-image ACR push and base sandbox create (2026-10-13)

Follow-up to KI-011 (full image push too slow from this host). One tiny local image, one short ACR push, and one short-lived sandbox from the public base template. Credential values are omitted.

Result

Docker

Dockerfile:

FROM python:3.12-slim
CMD ["python","-c","print(\"abx-tiny-e2e\")"]

Credentials present (names only)

ACR login and push

Last push log lines:

The push refers to repository [registry.cn-hangzhou.aliyuncs.com/<ns>/abx-tiny-e2e]
dca2a125b490: Preparing
b361fa3b9794: Preparing
e1fa2746ad6d: Preparing
15f1c8eb1ab1: Preparing
dca2a125b490: Pushed
e1fa2746ad6d: Pushed

Sandbox create (template=base, ttl 60s) then kill

Attempt 1, same process as the push, E2B_API_KEY exported, http2 left at the default:

h2 4.4.1 was installed with python3 -m pip install --user h2 so the default HTTP/2 client could import.

Attempt 2, after that install, without ABX_SANDBOX_API_KEY:

Attempt 3, process environment only: ABX_SANDBOX_API_KEY set from the existing E2B_API_KEY value, ABX_SANDBOX_BASE_URL set from E2B_API_URL (https://api.cn-hangzhou.e2b.fc.aliyuncs.com):

Runner log (redacted)

cred_presence ACR_NAMESPACE=True len=23 AccessKey=True ALICLOUD_ACCESS_KEY_ID=False AccessSecret=True ALICLOUD_ACCESS_KEY_SECRET=False ABX_SANDBOX_API_KEY=False E2B_API_KEY=True ALIBABA_CLOUD_REGION_ID=False region_used=cn-hangzhou (from API host, not a dedicated env var)
image_inspect exit=0 size_bytes=119448702 stderr=
acr_login ok elapsed=4.86s mode=temp-token keys=['authorizationToken', 'tempUserName']
docker tag exit=0 elapsed=0.02s stderr=
docker push start ref=registry.cn-hangzhou.aliyuncs.com/<ns>/abx-tiny-e2e:dev stall=180s overall=360s
docker push done exit=143 elapsed=243.5s bytes_seen=0 stopped=no progress for 180s layers=15f1c8eb1ab1:preparing, b361fa3b9794:preparing, dca2a125b490:pushed, e1fa2746ad6d:pushed
push_tail:
The push refers to repository [registry.cn-hangzhou.aliyuncs.com/<ns>/abx-tiny-e2e]
dca2a125b490: Preparing
b361fa3b9794: Preparing
e1fa2746ad6d: Preparing
15f1c8eb1ab1: Preparing
dca2a125b490: Pushed
e1fa2746ad6d: Pushed
sandbox create FAIL elapsed=1.84s ModuleNotFoundError: No module named 'h2.config'