Skip to content

upstream CI report failing #9818

@jrbourbeau

Description

@jrbourbeau

It looks like our upstream CI job is failing during the step where it creates/updates an issue on GitHub (see this build for an example)

 Parsing logs ...
Traceback (most recent call last):
  File "/home/runner/work/_actions/xarray-contrib/issue-from-pytest-log/v1.2.4/parse_logs.py", line 217, in <module>
    preformatted = [preformat_report(report) for report in failed]
  File "/home/runner/work/_actions/xarray-contrib/issue-from-pytest-log/v1.2.4/parse_logs.py", line 217, 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.4/parse_logs.py", line 89, in _
    message = report.longrepr.chain[0][1].message
AttributeError: 'str' object has no attribute 'chain'

Note we're using the latest xarray-contrib/issue-from-pytest-log@v1.2.4 release. cc @keewis for visibility

Metadata

Metadata

Assignees

No one assigned

    Labels

    testsUnit tests and/or continuous integrationupstream

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions