Stream: git-wasmtime

Topic: wasmtime / PR #14424 Fix spurious failure testing craneli...


view this post on Zulip Wasmtime GitHub notifications bot (Sep 25 2026 at 17:28):

alexcrichton opened PR #14424 from alexcrichton:fix-flak to bytecodealliance:main:

This commit is an attempt at fixing the spurious failure that happened at https://github.com/bytecodealliance/wasmtime/actions/runs/36156707251/job/108142997495. While I don't know exactly what happened the hunch is that one thread of the process opened up a shell script for writing, another thread in the process fork'd which then keeps the fd open for writing before any exec`, and then the original thread tries to execute the file. This then fails because the fd is open for writing and thus can't be opened for execution.

The fix here is to avoid writing something to the filesystem and fiddle with sh arguments to pass the script in differently.

<!--
Please make sure you include the following information:

Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.html

Please review the Bytecode Alliance's AI tool usage policy at
https://github.com/bytecodealliance/governance/blob/main/AI_TOOL_POLICY.md

Please ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->

view this post on Zulip Wasmtime GitHub notifications bot (Sep 25 2026 at 17:28):

alexcrichton requested cfallin for a review on PR #14424.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 25 2026 at 17:28):

alexcrichton requested wasmtime-compiler-reviewers for a review on PR #14424.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 25 2026 at 18:48):

github-actions[bot] added the label isle on PR #14424.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 25 2026 at 18:48):

github-actions[bot] added the label cranelift on PR #14424.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 25 2026 at 18:49):

github-actions[bot] commented on PR #14424:

Subscribe to Label Action

cc @avanhatt, @cfallin, @fitzgen, @mmcloughlin

<details>
This issue or pull request has been labeled: "cranelift", "isle"

Thus the following users have been cc'd because of the following labels:

To subscribe or unsubscribe from this label, edit the <code>.github/subscribe-to-label.json</code> configuration file.

Learn more.
</details>

view this post on Zulip Wasmtime GitHub notifications bot (Sep 25 2026 at 19:02):

:thumbs_up: cfallin submitted PR review:

Thanks for tracking this down!

view this post on Zulip Wasmtime GitHub notifications bot (Sep 25 2026 at 19:02):

cfallin added PR #14424 Fix spurious failure testing cranelift-isle-veri-caching to the merge queue.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 25 2026 at 19:57):

:check: cfallin merged PR #14424.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 25 2026 at 19:57):

cfallin removed PR #14424 Fix spurious failure testing cranelift-isle-veri-caching from the merge queue.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 25 2026 at 20:40):

alexcrichton edited PR #14424:

This commit is an attempt at fixing the spurious failure that happened at https://github.com/bytecodealliance/wasmtime/actions/runs/36156707251/job/108142997495. While I don't know exactly what happened the hunch is that one thread of the process opened up a shell script for writing, another thread in the process fork'd which then keeps the fd open for writing before any exec, and then the original thread tries to execute the file. This then fails because the fd is open for writing and thus can't be opened for execution.

The fix here is to avoid writing something to the filesystem and fiddle with sh arguments to pass the script in differently.

<!--
Please make sure you include the following information:

Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.html

Please review the Bytecode Alliance's AI tool usage policy at
https://github.com/bytecodealliance/governance/blob/main/AI_TOOL_POLICY.md

Please ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->


Last updated: Oct 11 2026 at 04:10 UTC