Skip to content
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

ci: error.PermissionDenied on syscall during zig-test wokflow #232

Closed
krichprollsch opened this issue Jun 18, 2024 · 0 comments · Fixed by #233
Closed

ci: error.PermissionDenied on syscall during zig-test wokflow #232

krichprollsch opened this issue Jun 18, 2024 · 0 comments · Fixed by #233
Assignees
Labels
bug Something isn't working

Comments

@krichprollsch
Copy link
Member

The zig-test GH workflow fails with an error.PermissionDenied on master w/o any change on code and container.

Run zig build test -Dengine=v8
run test: error: Reflect tests: OK
error: PermissionDenied
/usr/local/zig/lib/std/os/linux/io_uring.zig:59:22: 0x5a963f in init_params (test)
            .PERM => return error.PermissionDenied,
                     ^
/usr/local/zig/lib/std/os/linux/io_uring.zig:27:16: 0x5a9fd5 in init (test)
        return try IO_Uring.init_params(entries, &params);
               ^
/__w/zig-js-runtime/zig-js-runtime/vendor/tigerbeetle-io/io/linux.zig:33:28: 0x5aa58d in init (test)
        return IO{ .ring = try IO_Uring.init(entries, flags) };
                           ^
/__w/zig-js-runtime/zig-js-runtime/src/loop.zig:48:16: 0x5ab62b in init (test)
        io.* = try IO.init(32, 0);
               ^
/__w/zig-js-runtime/zig-js-runtime/src/engine.zig:43:16: 0x5abb0f in loadEnv__anon_9434 (test)
    var loop = try Loop.init(alloc);
               ^
/__w/zig-js-runtime/zig-js-runtime/src/run_tests.zig:101:13: 0x5ba94f in main (test)
        _ = try eng.loadEnv(&proto_arena, null, proto.exec);
            ^
/__w/zig-js-runtime/zig-js-runtime/src/test_runner.zig:23:5: 0x5be3c3 in main (test)
    try tests.main();
    ^
run test: error: the following command exited with code 1 (expected exited with code 0):
/__w/zig-js-runtime/zig-js-runtime/zig-cache/o/850bdfb57db55da751ebfe36542b5dd1/test --listen=- 
Build Summary: 2/4 steps succeeded; 1 failed (disable with --summary none)
test transitive failure
+- run test failure
error: the following build command failed with exit code 1:
/__w/zig-js-runtime/zig-js-runtime/zig-cache/o/fe980a747346076740f2612450003fc0/build /usr/local/zig/zig /__w/zig-js-runtime/zig-js-runtime /__w/zig-js-runtime/zig-js-runtime/zig-cache /github/home/.cache/zig --seed 0x4ef7a48c test -Dengine=v8
Error: Process completed with exit code 1.

See https://github.com/lightpanda-io/zig-js-runtime/actions/runs/9562815158/job/26359988436 for details.

The last time the test pass was on #229 https://github.com/lightpanda-io/zig-js-runtime/actions/runs/9208534873/job/25330948570

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant