Skip to content

Retry the simulator jobs once on exit 134 - #96

Merged
futamura merged 1 commit into
mainfrom
develop
Sep 1, 2026
Merged

Retry the simulator jobs once on exit 134#96
futamura merged 1 commit into
mainfrom
develop

Conversation

@futamura

@futamura futamura commented Sep 1, 2026

Copy link
Copy Markdown
Owner

Summary

The simulator test jobs occasionally run every test and then abort during teardown with SIGABRT, which xcodebuild reports as exit code 134. It is a simulator fault rather than a failing test — the last occurrence was the visionOS job on run 32100416044 (Abort trap: 6 after the suite had finished), and the documented remedy was to rerun the job by hand.

The simulator step now runs xcodebuild through a run_tests function and retries it once on 134 alone. Any other non-zero status still fails the job immediately, so a real test failure is never retried into a pass. A hang that trips timeout-minutes is cancelled by the runner and is not covered by this.

This is the same change TLDExtractSwift made; the two repositories share this workflow, so they stay identical.

Changes

  • .github/workflows/main.yml: 134-only retry in the test_simulators step.
  • CLAUDE.md: the flake note records that 134 is now retried once and that a timeout is not.
  • CHANGELOG.md: entry under Unreleased.

Verification

  • YAML parses and the step's shell body passes bash -n (GitHub expressions stubbed out).
  • No source or test changes; the CI run on this PR exercises the edited step.

The simulator sometimes runs every test and then aborts during teardown
with SIGABRT, which xcodebuild reports as exit code 134. It is a
simulator fault, not a failing test, and the only remedy so far was to
rerun the job by hand (it hit the visionOS job on run 32100416044).

The step now runs xcodebuild through a function and retries it once on
134 alone; every other non-zero status still fails the job immediately,
so a real failure is never retried into a pass. A hang that trips
timeout-minutes is cancelled by the runner and is not covered.

Same change as TLDExtractSwift, which shares this workflow.
@codecov

codecov Bot commented Sep 1, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@futamura
futamura merged commit 9991cab into main Sep 1, 2026
30 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