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] Test InterfaceAPI.ContainsRunFunctionWithWorkspaceAndConstantPools fails on FreeBSD #12155

Open
yurivict opened this issue Jul 21, 2022 · 0 comments
Labels
type: bug type:ci Relates to TVM CI infrastructure

Comments

@yurivict
Copy link

/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.9.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    0x00, 0x00, 0x00, 0x00, 0x74, 0x33, 0x5f, 0x5f, 0x31, 0x31, 0x30, 0x5f, 0x5f, 0x66, 0x75, 0x6e, \\\n    0x74, 0x76, 0x6d, 0x3a, 0x3a, 0x43, 0x6f, 0x6d\\\n\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif // TVMGEN_ULTIMATE_CAT_SPOTTER_H_\n"
[  FAILED  ] InterfaceAPI.ContainsRunFunctionWithWorkspaceAndConstantPools (0 ms)

Version: 0.9.0
FreeBSD 13.1

@areusch areusch added the needs-triage PRs or issues that need to be investigated by maintainers to find the right assignees to address it label Oct 19, 2022
@driazati driazati added type:ci Relates to TVM CI infrastructure and removed needs-triage PRs or issues that need to be investigated by maintainers to find the right assignees to address it labels Nov 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug type:ci Relates to TVM CI infrastructure
Projects
None yet
Development

No branches or pull requests

3 participants