Skip to content

ValueError: unknown test id #14

@jrbourbeau

Description

@jrbourbeau

We're getting the following error over in dask/dask in this CI build

 Parsing logs ...
Traceback (most recent call last):
  File "/home/runner/work/_actions/xarray-contrib/issue-from-pytest-log/v1.2.5/parse_logs.py", line 220, in <module>
    preformatted = [preformat_report(report) for report in failed]
  File "/home/runner/work/_actions/xarray-contrib/issue-from-pytest-log/v1.2.5/parse_logs.py", line 220, in <listcomp>
    preformatted = [preformat_report(report) for report in failed]
  File "/usr/share/miniconda3/envs/test-environment/lib/python3.10/functools.py", line 889, in wrapper
    return dispatch(args[0].__class__)(*args, **kw)
  File "/home/runner/work/_actions/xarray-contrib/issue-from-pytest-log/v1.2.5/parse_logs.py", line 101, in _
    parsed = parse_nodeid(report.nodeid)
  File "/home/runner/work/_actions/xarray-contrib/issue-from-pytest-log/v1.2.5/parse_logs.py", line 75, in parse_nodeid
    raise ValueError(f"unknown test id: {nodeid}")
ValueError: unknown test id: dask/array/tests/test_stats.py

I should also note that we're using the latest 1.2.5 release of xarray-contrib/issue-from-pytest-log. Happy to provide any additional context that's needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions