-
Notifications
You must be signed in to change notification settings - Fork 135
Labels
Description
Summary
The following example tests are failing in CI due to Docker/Apptainer environment issues:
examples/02_remote_agent_server/02_convo_with_docker_sandboxed_server.pyexamples/02_remote_agent_server/03_browser_use_with_docker_sandboxed_server.pyexamples/02_remote_agent_server/04_convo_with_api_sandboxed_server.pyexamples/02_remote_agent_server/05_vscode_with_docker_sandboxed_server.pyexamples/02_remote_agent_server/08_convo_with_apptainer_sandboxed_server.py
Context
These failures were observed in PR #1884 (Release v1.11.0). The examples require Docker or Apptainer to be available and properly configured in the CI environment.
Current CI Setup
The run-examples.yml workflow:
- Runs on
blacksmith-2vcpu-ubuntu-2404 - Sets up Apptainer via
eWaterCycle/setup-apptainer@v2 - Does NOT explicitly set up Docker
Potential Issues
- Docker availability: The CI runner may not have Docker available or properly configured
- Image pull failures: The examples try to pull
ghcr.io/openhands/agent-server:latest-pythonwhich may fail due to authentication or network issues - Apptainer configuration: While Apptainer is set up, there may be configuration issues preventing it from working correctly
- Resource constraints: The 2-vCPU runner may not have sufficient resources for container operations
Suggested Fixes
- Add Docker setup to CI: Add a step to ensure Docker is available and running
- Add skip conditions: Make these examples skip gracefully when Docker/Apptainer is not available
- Add to excluded list: If these tests are not critical for CI, add them to
_EXCLUDED_EXAMPLESintests/examples/test_examples.py - Improve error handling: Add better error messages when container runtime is not available
Related
- PR Release v1.11.0 #1884 - Release v1.11.0
- Workflow run: https://github.com/OpenHands/software-agent-sdk/actions/runs/21638613089
Reactions are currently unavailable