Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

v1.13 regression causing action to run infinitely

See original GitHub issue

In this run, the “Publish Catch2 Test Results” action runs until the timeout of 6 hours. In this run, I set the version back to 1.12 and the action behaves correctly.

The stacktrace suggests that there’s an infinite loop when crawling files:

Traceback (most recent call last):
  File "/action/", line 212, in <module>
  File "/action/", line 65, in main
    files = get_files(settings.files_glob)
  File "/action/", line 47, in get_files
    for files_glob in multiline_files_globs
  File "/action/", line 48, in <setcomp>
    for file in glob(files_glob[1:], recursive=True)
  File "/usr/local/lib/python3.6/", line 20, in glob
    return list(iglob(pathname, recursive=recursive))
  File "/usr/local/lib/python3.6/", line 71, in _iglob
    for dirname in dirs:
  File "/usr/local/lib/python3.6/", line 72, in _iglob
    for name in glob_in_dir(dirname, basename, dironly):
  File "/usr/local/lib/python3.6/", line 110, in _glob2
    yield from _rlistdir(dirname, dironly)
  File "/usr/local/lib/python3.6/", line 138, in _rlistdir
    for y in _rlistdir(path, dironly):
  File "/usr/local/lib/python3.6/", line 138, in _rlistdir
    for y in _rlistdir(path, dironly):
  File "/usr/local/lib/python3.6/", line 138, in _rlistdir
    for y in _rlistdir(path, dironly):
  [Previous line repeated 13 more times]
  File "/usr/local/lib/python3.6/", line 139, in _rlistdir
    yield os.path.join(x, y)

Relevant section of my workflow yml:

- name: Publish Unit Test Results
  uses: EnricoMi/publish-unit-test-result-action@v1.12
    files: ./**/*.xml
    check_name: Catch2 Test Results
    comment_title: Catch2 Test Results

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

bb1950328commented, May 3, 2021

v1.15 works. Thank you very much for fixing this so quickly.

EnricoMicommented, May 3, 2021

Thanks again for the quick and detailed bug report. Sorry for the disruption.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[CT-1467] [CT-1466] [Regression] v1.3: views instead of temp ...
[CT-1467] [CT-1466] [Regression] v1.3: views instead of temp tables cause parallel sessions interfere: possible data leak and failure #306.
Read more >
Lecture notes on ridge regression - arXiv
This document is a collection of many well-known results on ridge regression. The current status of the document is 'work-in-progress' as it is ......
Read more >
Chapter 10: Basic Time Series Regression
The cumulative effect of Xt on Yt, Yt+1 and Yt+2 is called long run propensity. (LRP) or long run multiplier. LRP ≡ δ0...
Read more >
Causal inference using regression on the treatment variable
Completely randomized experiments need not condition on any pre-treatment variables—this is why we can use a simple difference in means to estimate causal...
Read more >
Solution of Final Exam : 10-701/15-781 Machine Learning
What is the probability that the robot will appear in cell C1 after it executes close to infinitely many actions? Answer: Since actions...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found