Skip to content

Add error handling for sgx ci #4222

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 14, 2025

Conversation

lum1n0us
Copy link
Collaborator

Process completed with exit code 143.

It is a known issue with GitHub-hosted runners. Usually, increasing the swap file can help avoid it. However, sometimes error 143 still occurs. To prevent confusion, let's capture error 143 and allow the CI to pass.

@lum1n0us lum1n0us marked this pull request as draft April 27, 2025 06:42
@lum1n0us lum1n0us force-pushed the fix/capture_ci_143_code branch 2 times, most recently from a2c5637 to ec65023 Compare April 27, 2025 07:26
@lum1n0us lum1n0us marked this pull request as ready for review April 27, 2025 07:26
Copy link
Collaborator

@TianlongLiang TianlongLiang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@yamt
Copy link
Collaborator

yamt commented May 1, 2025

It is a known issue with GitHub-hosted runners. Usually, increasing the swap file can help avoid it.

do you have a reference to a bug ticket or something?

Copy link
Collaborator

@xujuntwt95329 xujuntwt95329 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@TianlongLiang
Copy link
Collaborator

It is a known issue with GitHub-hosted runners. Usually, increasing the swap file can help avoid it.

do you have a reference to a bug ticket or something?

actions/runner-images#6680, there is also an approach we can try: adding -large suffix to ubuntu runner(runs-on: ubuntu-latest-large //THIS LINE HERE)

@yamt
Copy link
Collaborator

yamt commented May 8, 2025

It is a known issue with GitHub-hosted runners. Usually, increasing the swap file can help avoid it.

do you have a reference to a bug ticket or something?

actions/runner-images#6680, there is also an approach we can try: adding -large suffix to ubuntu runner(runs-on: ubuntu-latest-large //THIS LINE HERE)

large runners require some extra money, don't they?

> Process completed with exit code 143.

It will attempt to run spec test scripts three times if they end with code 143.

It is a known issue with GitHub-hosted runners. Usually, increasing the swap
file can help avoid it. However, sometimes error 143 still occurs. To prevent
confusion, let's capture error 143 and allow the CI to pass.
@lum1n0us lum1n0us force-pushed the fix/capture_ci_143_code branch from ec65023 to 9a0bf7a Compare May 12, 2025 03:20
@lum1n0us lum1n0us merged commit 8ad4789 into bytecodealliance:main May 14, 2025
66 checks passed
@lum1n0us lum1n0us deleted the fix/capture_ci_143_code branch May 14, 2025 03:09
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.

4 participants