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

[ci] pytest_wrapper needs guards for invalid JUnits #11749

Closed
hpanda-naut opened this issue Jun 16, 2022 · 0 comments · Fixed by #12226
Closed

[ci] pytest_wrapper needs guards for invalid JUnits #11749

hpanda-naut opened this issue Jun 16, 2022 · 0 comments · Fixed by #12226
Labels
actionable has an immediately do-able work plan and a detailed description type:ci Relates to TVM CI infrastructure

Comments

@hpanda-naut
Copy link
Collaborator

hpanda-naut commented Jun 16, 2022

Branch/PR Failing

#11730

Jenkins Link

https://ci.tlcpack.ai/blue/organizations/jenkins/tvm/detail/main/3554/pipeline

The build failed with -

[2022-06-15T18:01:06.040Z] Traceback (most recent call last):

[2022-06-15T18:01:06.040Z]   File "tests/scripts/pytest_wrapper.py", line 135, in <module>

[2022-06-15T18:01:06.040Z]     show_failure_help(failed_suites=other)

[2022-06-15T18:01:06.040Z]   File "tests/scripts/pytest_wrapper.py", line 97, in show_failure_help

[2022-06-15T18:01:06.040Z]     failed_node_ids = failed_test_ids()

[2022-06-15T18:01:06.040Z]   File "tests/scripts/pytest_wrapper.py", line 59, in failed_test_ids

[2022-06-15T18:01:06.040Z]     if len(case.result) > 0 and isinstance(case.result[0], FAILURE_TYPES):

[2022-06-15T18:01:06.040Z] TypeError: object of type 'Skipped' has no len()

script returned exit code 1

cc @Mousius @areusch @driazati

@hpanda-naut hpanda-naut added the type:ci Relates to TVM CI infrastructure label Jun 16, 2022
@driazati driazati changed the title [ci] test wrapper script issue (pytest_wrapper) [ci] pytest_wrapper needs guards for invalid JUnits Jul 19, 2022
@driazati driazati added the actionable has an immediately do-able work plan and a detailed description label Jul 19, 2022
@driazati driazati reopened this Jul 28, 2022
xinetzone pushed a commit to daobook/tvm that referenced this issue Nov 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
actionable has an immediately do-able work plan and a detailed description type:ci Relates to TVM CI infrastructure
Projects
None yet
2 participants