← All tasks
cppWasmEdge/WasmEdge #4635Not a task: not reproduced

bug: WASI-NN Bitnet CI no longer works

envgap__WasmEdge__WasmEdge-4635

01 / FAILURE SIGNATURE

As reported upstream

Failed to checkout tag: '404980e'
Not a benchmark task.
  • In a clean container the reported failure did not reproduce, or the known fix did not make the project run.

02 / ENVIRONMENT RECIPE

Base commit
96f39fa5b9a246fd4dc6be027e51a96cab3b85c9
Manifest
CMakeLists.txt
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

WasmEdge/WasmEdge #4635 · read the original issue
### Summary

The CI jobs for the WASI-NN bitnet backend failed for a while. It's related to the building process.

### Current State

```
-- WASI-NN: Build bitnet.cpp backend for WASI-NN
-- WASI-NN BitNet backend: Enable x86 TL2
-- Fetching BitNet.cpp source...
[1/9] Creating directories for 'bitnet-populate'
[1/9] Performing download step (git clone) for 'bitnet-populate'
Cloning into 'bitnet-src'...
fatal: invalid reference: 404980e
CMake Error at bitnet-subbuild/bitnet-populate-prefix/tmp/bitnet-populate-gitclone.cmake:49 (message):
  Failed to checkout tag: '404980e'


FAILED: bitnet-populate-prefix/src/bitnet-populate-stamp/bitnet-populate-download /__w/WasmEdge/WasmEdge/build/_deps/bitnet-subbuild/bitnet-populate-prefix/src/bitnet-populate-stamp/bitnet-populate-download 
cd /__w/WasmEdge/WasmEdge/build/_deps && /usr/bin/cmake -P /__w/WasmEdge/WasmEdge/build/_deps/bitnet-subbuild/bitnet-populate-prefix/tmp/bitnet-populate-gitclone.cmake && /usr/bin/cmake -E touch /__w/WasmEdge/WasmEdge/build/_deps/bitnet-subbuild/bitnet-populate-prefix/src/bitnet-populate-stamp/bitnet-populate-download
ninja: build stopped: subcommand failed.

CMake Error at /usr/share/cmake-3.28/Modules/FetchContent.cmake:1679 (message):
  Build step for bitnet failed: 1
Call Stack (most recent call first):
  /usr/share/cmake-3.28/Modules/FetchContent.cmake:1819:EVAL:2 (__FetchContent_directPopulate)
  /usr/share/cmake-3.28/Modules/FetchContent.cmake:1819 (cmake_language)
  cmake/WASINNDeps.cmake:648 (FetchContent_Populate)
  cmake/WASINNDeps.cmake:118 (wasmedge_setup_bitnet_target)
  plugins/wasi_nn/CMakeLists.txt:25 (wasmedge_setup_wasinn_target)


-- Configuring incomplete, errors occurred!
```

### Expected State

Pass the CI without issues.

### Reproduction steps

1. Trigger the Bitnet workflows.  
2. You will receive the failed output as shown in the above section.

### Screenshots

_No response_

### Any logs you want to share for showing the specific issue

_No response_

### Components

Others

### WasmEdge Version or Commit you used

master

### Operating system information

all platform

### Hardware Architecture

all arch

### Compiler flags and options

_No response_
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]