Skip to content

rust-build-release action fails with podman timeout during container runtime detection #97

@coderabbitai

Description

@coderabbitai

Problem

The rust-build-release GitHub Action is failing when checking for podman availability. The podman info command times out after 10 seconds, causing the entire workflow to fail.

Error Details

Location: .github/actions/rust-build-release/src/main.py line 114 in main() function
Function: runtime_available("podman")
Command: /usr/bin/podman info
Error: TimeoutExpired: Command '['/usr/bin/podman', 'info']' timed out after 9.999988809000115 seconds

Context

This error occurred during a workflow run related to PR #90. The action successfully detects docker as available (docker_present = True) but fails when checking podman availability.

The timeout suggests that podman is present on the runner (/usr/bin/podman exists) but is not responding properly to the info command within the 10-second timeout window.

Potential Solutions

  1. Increase the timeout duration for container runtime checks
  2. Add proper error handling for podman initialization issues
  3. Consider making podman detection optional or implement a fallback mechanism
  4. Investigate if podman service needs to be explicitly started in GitHub Actions environment

References

Reported by: leynos

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions