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

[Bug] One test fails: InterfaceAPI.ContainsRunFunctionWithWorkspaceAndConstantPools #13131

Open
yurivict opened this issue Oct 19, 2022 · 0 comments
Labels
needs-triage PRs or issues that need to be investigated by maintainers to find the right assignees to address it type: bug

Comments

@yurivict
Copy link

[ RUN      ] InterfaceAPI.ContainsRunFunctionWithWorkspaceAndConstantPools
/wrkdirs/usr/ports/devel/googletest/work/googletest-release-1.12.1/googletest/src/gtest-port.cc:714: Failure
Value of: is_valid_
  Actual: false
Expected: true
Regular expression "#define TVMGEN_ULTIMATE_CAT_SPOTTER_MY_CONSTANT_POOL_CONSTANT_POOL_DATA \\\
    0x\w\w, 0x\w\w, 0x\w\w, 0x\w\w, 0x\w\w, 0x\w\w, 0x\w\w, 0x\w\w, 0x\w\w, 0x\w\w, 0x\w\w, 0x\w\w, 0x\w\w, 0x\w\w, 0x\w\w, 0x\w\w, \\\
    0x\w\w, 0x\w\w, 0x\w\w, 0x\w\w, 0x\w\w, 0x\w\w, 0x\w\w, 0x\w\w\\\
" is not a valid POSIX Extended regular expression.
/disk-samsung/freebsd-ports/misc/tvm/work/tvm-0.10.0/tests/cpp/target/source/interface_c_test.cc:169: Failure
Value of: header_source
Expected: contains regular expression "#define TVMGEN_ULTIMATE_CAT_SPOTTER_MY_CONSTANT_POOL_CONSTANT_POOL_DATA \\\\\\\n    0x\\w\\w, 0x\\w\\w, 0x\\w\\w, 0x\\w\\w, 0x\\w\\w, 0x\\w\\w, 0x\\w\\w, 0x\\w\\w, 0x\\w\\w, 0x\\w\\w, 0x\\w\\w, 0x\\w\\w, 0x\\w\\w, 0x\\w\\w, 0x\\w\\w, 0x\\w\\w, \\\\\\\n    0x\\w\\w, 0x\\w\\w, 0x\\w\\w, 0x\\w\\w, 0x\\w\\w, 0x\\w\\w, 0x\\w\\w, 0x\\w\\w\\\\\\\n"
  Actual: "#ifndef TVMGEN_ULTIMATE_CAT_SPOTTER_H_\n#define TVMGEN_ULTIMATE_CAT_SPOTTER_H_\n#include <stdint.h>\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n/*!\n * \\brief Input tensor pointers for TVM module \"ultimate_cat_spotter\" \n */\nstruct tvmgen_ultimate_cat_spotter_inputs {\n  void* input;\n};\n\n/*!\n * \\brief Output tensor pointers for TVM module \"ultimate_cat_spotter\" \n */\nstruct tvmgen_ultimate_cat_spotter_outputs {\n  void* output;\n};\n\n/*!\n * \\brief Workspace pool pointers for TVM module \"ultimate_cat_spotter\" \n */\nstruct tvmgen_ultimate_cat_spotter_workspace_pools {\n  void* my_memory_pool;\n  void* my_constant_pool;\n};\n\n/*!\n * \\brief entrypoint function for TVM module \"ultimate_cat_spotter\"\n * \\param inputs Input tensors for the module \n * \\param outputs Output tensors for the module \n * \\param workspace_pools Workspace memory pool pointers for the module \n */\nint32_t tvmgen_ultimate_cat_spotter_run(\n  struct tvmgen_ultimate_cat_spotter_inputs* inputs,\n  struct tvmgen_ultimate_cat_spotter_outputs* outputs,\n  struct tvmgen_ultimate_cat_spotter_workspace_pools* workspace_pools\n);\n/*!\n * \\brief Workspace size for TVM module \"ultimate_cat_spotter\" \n */\n#define TVMGEN_ULTIMATE_CAT_SPOTTER_WORKSPACE_SIZE 0\n/*!\n * \\brief my_memory_pool size for TVM module \"ultimate_cat_spotter\" \n */\n#define TVMGEN_ULTIMATE_CAT_SPOTTER_MY_MEMORY_POOL_WORKSPACE_POOL_SIZE 100000\n/*!\n * \\brief my_constant_pool initialization data for TVM module \"ultimate_cat_spotter\" \n */\n#define TVMGEN_ULTIMATE_CAT_SPOTTER_MY_CONSTANT_POOL_CONSTANT_POOL_SIZE 24\n#define TVMGEN_ULTIMATE_CAT_SPOTTER_MY_CONSTANT_POOL_CONSTANT_POOL_DATA \\\n    0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xd0, 0x5e, 0x31, 0x00, 0x00, 0x00, 0x00, 0x00, \\\n    0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00\\\n\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif // TVMGEN_ULTIMATE_CAT_SPOTTER_H_\n"
[  FAILED  ] InterfaceAPI.ContainsRunFunctionWithWorkspaceAndConstantPools (1 ms)

Version: 0.10.0
clang-14
FreeBSD 13.1 STABLE

@yurivict yurivict added needs-triage PRs or issues that need to be investigated by maintainers to find the right assignees to address it type: bug labels Oct 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-triage PRs or issues that need to be investigated by maintainers to find the right assignees to address it type: bug
Projects
None yet
Development

No branches or pull requests

1 participant