Stream: git-wasmtime

Topic: wasmtime / issue #6495 Re-enable wasi-http for recent wit...


view this post on Zulip Wasmtime GitHub notifications bot (Jun 01 2023 at 19:03):

alexcrichton commented on issue #6495:

Could this line get flipped as well? Otherwise seems reasonable to me! I'll defer to @pchickey though in case he catches anything I missed.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 01 2023 at 21:10):

brendandburns commented on issue #6495:

Comments addressed (thanks).

I can't seem to figure out the right magic incantation to run just the HTTP tests locally without running the entire test suite. Command line hint welcome.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 01 2023 at 22:01):

pchickey commented on issue #6495:

[phickey@YF2KCQ775L:crates/test-programs]% cargo test --features test_programs --test wasi-http

view this post on Zulip Wasmtime GitHub notifications bot (Jun 01 2023 at 22:49):

brendandburns commented on issue #6495:

[phickey@YF2KCQ775L:crates/test-programs]% cargo test --features test_programs --test wasi-http

When I run this I see:

$ cargo test --features test_programs --test wasi-http
   Compiling test-programs v0.0.0 (/workspaces/wasmtime/crates/test-programs)
error: failed to run custom build command for `test-programs v0.0.0 (/workspaces/wasmtime/crates/test-programs)`

Caused by:
  process didn't exit successfully: `/workspaces/wasmtime/target/debug/build/test-programs-38defddead82d2d5/build-script-build` (exit status: 101)
  --- stdout
  cargo:rerun-if-changed=../wasi-preview1-component-adapter
  wasi reactor adapter: "/workspaces/wasmtime/target/debug/build/test-programs-9cf31c5d68db976e/out/wasi_preview1_component_adapter.reactor.wasm"
  cargo:rerun-if-changed=../wasi-preview1-component-adapter
  wasi command adapter: "/workspaces/wasmtime/target/debug/build/test-programs-9cf31c5d68db976e/out/wasi_preview1_component_adapter.command.wasm"
  cargo:rerun-if-changed=./wasi-tests
  cargo:rerun-if-changed=./command-tests
  cargo:rerun-if-changed=./reactor-tests
  cargo:rerun-if-changed=./wasi-http-tests

  --- stderr
     Compiling wasi-preview1-component-adapter v10.0.0 (/workspaces/wasmtime/crates/wasi-preview1-component-adapter)
      Finished release [optimized] target(s) in 9.12s
     Compiling wasi-preview1-component-adapter v10.0.0 (/workspaces/wasmtime/crates/wasi-preview1-component-adapter)
      Finished release [optimized] target(s) in 2.63s
     Compiling wasi-http-tests v0.0.0 (/workspaces/wasmtime/crates/test-programs/wasi-http-tests)
     Compiling reactor-tests v0.1.0 (/workspaces/wasmtime/crates/test-programs/reactor-tests)
      Finished dev [unoptimized + debuginfo] target(s) in 9.28s
  thread 'main' panicked at 'module "/workspaces/wasmtime/target/debug/build/test-programs-9cf31c5d68db976e/out/wasm32-wasi/debug/reactor_tests.wasm" can be translated to a component: module does not export a function named `cabi_realloc`', crates/test-programs/build.rs:228:10
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

But I can see that the tests run correctly in the full CI run.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 01 2023 at 23:07):

brendandburns commented on issue #6495:

I think that this is ready to merge.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 01 2023 at 23:17):

pchickey commented on issue #6495:

No idea what is going on with that local build failure. Thanks for updating this!

view this post on Zulip Wasmtime GitHub notifications bot (Jun 02 2023 at 00:02):

brendandburns commented on issue #6495:

fwiw, I re-sync'd to head and running tests worked so :shrug:


Last updated: Nov 22 2024 at 17:03 UTC