jaykchen / a-test

Apache License 2.0
0 stars 0 forks source link

wasiTests Fail on ubuntu20.04 (codespace) #40

Open jaykchen opened 1 year ago

jaykchen commented 1 year ago

Description wasiTests Fail.

Current State @L-jasmine ➜ /workspaces/WasmEdge/build (fix/c_plugin) $ LD_LIBRARY_PATH=$(pwd)/lib/api ctest

Test project /workspaces/WasmEdge/build Start 1: wasmedgeAOTCoreTests 1/23 Test #1: wasmedgeAOTCoreTests ............. Passed 31.00 sec Start 2: wasmedgeAOTCacheTests 2/23 Test #2: wasmedgeAOTCacheTests ............ Passed 0.01 sec Start 3: wasmedgeAOTBlake3Tests 3/23 Test #3: wasmedgeAOTBlake3Tests ........... Passed 0.01 sec Start 4: wasmedgeMixcallTests 4/23 Test #4: wasmedgeMixcallTests ............. Passed 0.03 sec Start 5: wasmedgeCommonTests 5/23 Test #5: wasmedgeCommonTests .............. Passed 0.00 sec Start 6: wasmedgeLoaderFileMgrTests 6/23 Test #6: wasmedgeLoaderFileMgrTests ....... Passed 0.00 sec Start 7: wasmedgeLoaderASTTests 7/23 Test #7: wasmedgeLoaderASTTests ........... Passed 0.00 sec Start 8: wasmedgeExecutorCoreTests 8/23 Test #8: wasmedgeExecutorCoreTests ........ Passed 1.08 sec Start 9: wasmedgeThreadTests 9/23 Test #9: wasmedgeThreadTests .............. Passed 1.07 sec Start 10: wasmedgeAPIUnitTests 10/23 Test #10: wasmedgeAPIUnitTests ............. Passed 0.10 sec Start 11: wasmedgeAPIVMCoreTests 11/23 Test #11: wasmedgeAPIVMCoreTests ........... Passed 1.12 sec Start 12: wasmedgeAPIStepsCoreTests 12/23 Test #12: wasmedgeAPIStepsCoreTests ........ Passed 1.08 sec Start 13: wasmedgeAPIAOTCoreTests 13/23 Test #13: wasmedgeAPIAOTCoreTests .......... Passed 12.53 sec Start 14: wasmedgeExternrefTests 14/23 Test #14: wasmedgeExternrefTests ........... Passed 0.01 sec Start 15: wasmedgePluginUnittests 15/23 Test #15: wasmedgePluginUnittests .......... Passed 0.01 sec Start 16: wasiSocketTests 16/23 Test #16: wasiSocketTests .................. Passed 0.01 sec Start 17: wasiTests 17/23 Test #17: wasiTests ........................***Failed 4.00 sec Start 18: wasmedgeHostMockTests 18/23 Test #18: wasmedgeHostMockTests ............ Passed 0.00 sec Start 19: expectedTests 19/23 Test #19: expectedTests .................... Passed 0.00 sec Start 20: spanTests 20/23 Test #20: spanTests ........................ Passed 0.00 sec Start 21: poTests 21/23 Test #21: poTests .......................... Passed 0.00 sec Start 22: wasmedgeMemLimitTests 22/23 Test #22: wasmedgeMemLimitTests ............ Passed 0.00 sec Start 23: wasmedgeErrinfoTests 23/23 Test #23: wasmedgeErrinfoTests ............. Passed 0.00 sec

96% tests passed, 1 tests failed out of 23

Total Test time (real) = 52.12 sec

The following tests FAILED: 17 - wasiTests (Failed) Errors while running CTest Expected Environment Hardware Architecture: x86_64 Operating system: Ubuntu 20.04 (codespace) The following information is optional. Please provide them only if you have built from source.

C++ Compiler version: clang-12 CMake version: CMake flags: -DCMAKE_BUILD_TYPE=RELEASE -DWASMEDGE_BUILD_TESTS=ON Boost version: Steps to Reproduce

follow https://wasmedge.org/book/en/contribute/build_from_src/linux.html#for-ubuntu-2004

export CC=clang-12 export CXX=clang++-12 make build && cd build cmake -DCMAKE_BUILD_TYPE=RELEASE -DWASMEDGE_BUILD_TESTS=ON .. && make LD_LIBRARY_PATH=$(pwd)/lib/api ctest Description wasiTests Fail.

Current State @L-jasmine ➜ /workspaces/WasmEdge/build (fix/c_plugin) $ LD_LIBRARY_PATH=$(pwd)/lib/api ctest

Test project /workspaces/WasmEdge/build Start 1: wasmedgeAOTCoreTests 1/23 Test #1: wasmedgeAOTCoreTests ............. Passed 31.00 sec Start 2: wasmedgeAOTCacheTests 2/23 Test #2: wasmedgeAOTCacheTests ............ Passed 0.01 sec Start 3: wasmedgeAOTBlake3Tests 3/23 Test #3: wasmedgeAOTBlake3Tests ........... Passed 0.01 sec Start 4: wasmedgeMixcallTests 4/23 Test #4: wasmedgeMixcallTests ............. Passed 0.03 sec Start 5: wasmedgeCommonTests 5/23 Test #5: wasmedgeCommonTests .............. Passed 0.00 sec Start 6: wasmedgeLoaderFileMgrTests 6/23 Test #6: wasmedgeLoaderFileMgrTests ....... Passed 0.00 sec Start 7: wasmedgeLoaderASTTests 7/23 Test #7: wasmedgeLoaderASTTests ........... Passed 0.00 sec Start 8: wasmedgeExecutorCoreTests 8/23 Test #8: wasmedgeExecutorCoreTests ........ Passed 1.08 sec Start 9: wasmedgeThreadTests 9/23 Test #9: wasmedgeThreadTests .............. Passed 1.07 sec Start 10: wasmedgeAPIUnitTests 10/23 Test #10: wasmedgeAPIUnitTests ............. Passed 0.10 sec Start 11: wasmedgeAPIVMCoreTests 11/23 Test #11: wasmedgeAPIVMCoreTests ........... Passed 1.12 sec Start 12: wasmedgeAPIStepsCoreTests 12/23 Test #12: wasmedgeAPIStepsCoreTests ........ Passed 1.08 sec Start 13: wasmedgeAPIAOTCoreTests 13/23 Test #13: wasmedgeAPIAOTCoreTests .......... Passed 12.53 sec Start 14: wasmedgeExternrefTests 14/23 Test #14: wasmedgeExternrefTests ........... Passed 0.01 sec Start 15: wasmedgePluginUnittests 15/23 Test #15: wasmedgePluginUnittests .......... Passed 0.01 sec Start 16: wasiSocketTests 16/23 Test #16: wasiSocketTests .................. Passed 0.01 sec Start 17: wasiTests 17/23 Test #17: wasiTests ........................***Failed 4.00 sec Start 18: wasmedgeHostMockTests 18/23 Test #18: wasmedgeHostMockTests ............ Passed 0.00 sec Start 19: expectedTests 19/23 Test #19: expectedTests .................... Passed 0.00 sec Start 20: spanTests 20/23 Test #20: spanTests ........................ Passed 0.00 sec Start 21: poTests 21/23 Test #21: poTests .......................... Passed 0.00 sec Start 22: wasmedgeMemLimitTests 22/23 Test #22: wasmedgeMemLimitTests ............ Passed 0.00 sec Start 23: wasmedgeErrinfoTests 23/23 Test #23: wasmedgeErrinfoTests ............. Passed 0.00 sec

96% tests passed, 1 tests failed out of 23

Total Test time (real) = 52.12 sec

The following tests FAILED: 17 - wasiTests (Failed) Errors while running CTest Expected Environment Hardware Architecture: x86_64 Operating system: Ubuntu 20.04 (codespace) The following information is optional. Please provide them only if you have built from source.

C++ Compiler version: clang-12 CMake version: CMake flags: -DCMAKE_BUILD_TYPE=RELEASE -DWASMEDGE_BUILD_TESTS=ON Boost version: Steps to Reproduce

follow https://wasmedge.org/book/en/contribute/build_from_src/linux.html#for-ubuntu-2004

export CC=clang-12 export CXX=clang++-12 make build && cd build cmake -DCMAKE_BUILD_TYPE=RELEASE -DWASMEDGE_BUILD_TESTS=ON .. && make LD_LIBRARY_PATH=$(pwd)/lib/api ctest

jaykchen commented 1 year ago

@jaykchen flows summarzie

jaykchen commented 1 year ago

@jaykchen flows summarzie

jaykchen commented 1 year ago

@jaykchen flows summarzie

jaykchen commented 1 year ago

@jaykchen flows summarzie

jaykchen commented 1 year ago

@jaykchen flows summarzie

jaykchen commented 1 year ago

@jaykchen flows summarzie

jaykchen commented 1 year ago
    let head = issue_body.chars().take(100).collect::<String>();
    let head = issue_body.chars().take(100).collect::<String>();

@jaykchen flows summarzie

jaykchen commented 1 year ago

@jaykchen flows summarzie

jaykchen commented 1 year ago

@jaykchen flows summarzie

jaykchen commented 1 year ago
send_message_to_channel("ik8", "ch_in", issue_number.to_string());

@jaykchen flows summarzie

jaykchen commented 1 year ago

@jaykchen flows summarzie

jaykchen commented 1 year ago

.clone() @jaykchen flows summarzie

jaykchen commented 1 year ago

.clone() @jaykchen flows summarzie

jaykchen commented 1 year ago

@jaykchen flows summarize