Skip to content

Wasm testsuite failure: Inappropriate ioctl for device (os error 25)

When testing the wasm backend, certain test cases currently fail with:

Caused by:
    0: failed to invoke command default
    1: error while executing at wasm backtrace:
           0: 0xcb459 - <unknown>!__wasi_poll_oneoff
           1: 0xca886 - <unknown>!poll
           2: 0x32102 - <unknown>!fdReady
           3: 0x3690b - <unknown>!base_GHCziIOziFD_zdwreadRawBufferPtr_entry
           4: 0xaaecc - <unknown>!StgRun
           5: 0x8d106 - <unknown>!scheduleWaitThread
           6: 0x83446 - <unknown>!rts_evalLazyIO
           7: 0x83572 - <unknown>!hs_main
           8: 0x6cf7 - <unknown>!main
           9: 0xcb2e0 - <unknown>!__main_void
          10: 0x6b27 - <unknown>!_start
    2: Unknown OS error
    3: Inappropriate ioctl for device (os error 25)

The same error manifest as permission denied (Operation not permitted) using nodejs/uvwasi. The cause is likely https://github.com/bytecodealliance/wasmtime/issues/6239, for the time being I'd say let's simply mark them as expect_broken.

Edited by Cheng Shao
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information