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: cross jobs failing #236

Open
yamt opened this issue Jul 12, 2024 · 3 comments
Open

CI: cross jobs failing #236

yamt opened this issue Jul 12, 2024 · 3 comments

Comments

@yamt
Copy link
Owner

yamt commented Jul 12, 2024

cross jobs are failing with "Error: retrieving gpg key timed out."

@yamt
Copy link
Owner Author

yamt commented Jul 13, 2024

now it's failing with a different error.

/home/runner/work/_temp/30a72d92-52fc-4666-ac97-bcf8b21e9042.sh: line 1: ./toywasm: cannot execute binary file: Exec format error

working https://github.com/yamt/toywasm/actions/runs/9882536762/job/27295644533

  Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu20%2F20240708.1
Setting up qemu-user-static (1:7.2+dfsg-5ubuntu2.4~backport20.04.202401110801~ubuntu20.04.1) ...

not working https://github.com/yamt/toywasm/actions/runs/9909452864/job/27399556711

  Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu20%2F20240708.1
Setting up qemu-user-static (1:8.0.4+dfsg-1ubuntu3.23.10.5~backport20.04.202407120432~ubuntu20.04.1) ...

@yamt
Copy link
Owner Author

yamt commented Jul 13, 2024

the qemu package seems working on my local env (focal on docker for mac / x86-64) as far as i invoke it directly on the shell.

5c1c29471734# qemu-arm64-static --version                                     
qemu-aarch64 version 8.0.4 (Debian 1:8.0.4+dfsg-1ubuntu3.23.10.5~backport20.04.202407120432~ubuntu20.04.1)
Copyright (c) 2003-2022 Fabrice Bellard and the QEMU Project developers
5c1c29471734# qemu-arm64-static ./toywasm 
Usage:
        toywasm [OPTIONS] [--] <MODULE> [WASI-ARGS...]
Options:
        --allow-unresolved-functions
        --disable-jump-table
        --disable-localtype-cellidx
        --disable-resulttype-cellidx
        --invoke FUNCTION[ FUNCTION_ARGS...]
        --load MODULE_PATH
        --max-frames NUMBER_OF_FRAMES
        --max-memory MEMORY_LIMIT_IN_BYTES
        --max-stack-cells NUMBER_OF_CELLS
        --repl
        --repl-prompt STRING
        --print-stats
        --timeout TIMEOUT_MS
        --version
        --wasi
        --wasi-dir HOST_DIR[::GUEST_DIR]
        --wasi-env NAME=VAR
Examples:
        Run a wasi module
                toywasm --wasi module
        Load a module and invoke its function
                toywasm --load module --invoke "func arg1 arg2"
5c1c29471734# 

maybe binfmt_misc bits are broken? i'm not sure i can test it on this environment because docker for mac itself has builtin binfmt_misc configuration.

@yamt
Copy link
Owner Author

yamt commented Jul 13, 2024

worked around by #238

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

No branches or pull requests

1 participant