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
Super-linter actions fails without error #5335
Comments
Hi @kaefferlein ! Can you please re-run this with debug logging enabled? |
@ferrarimarco sure :) |
Thanks for providing the log. It doesn't appear that there's more info in that, unfortunately. Quick question: is the workflow existing with an error on the super-linter step? I see that it's correctly getting some files to lint (line 1822):
But then it stops and proceeds to clean up stuff. PS: you can remove |
nice hint, thanks, then I will remove the default branch setting :) Regarding: Quick question: is the workflow existing with an error on the super-linter step? The workflow is marked as errored in the superlinter step - if I understood your question correctly. Edit: if that might be a useful hint: |
By the way, you can re-run workloads from the GitHub Actions UI, and tick the This is an interesting issue. Does this happen if you run super-linter locally? |
yes, this is really strange 😅 I ran it locally via:
output of the last few lines:
|
Thanks for all this data! What is the exit code that super-linter exits with? |
Also, can you please try with super-linter |
first of all: Thanks a lot for your fast replies ❤️
The local one: via with version 6.1.1:
returned at least a
I also used
|
Ah, this is indeed a bug. Thanks for this report, I'll quickly have a PR out to fix this. |
awesome! |
Don't immediately exit on errors because this will hide diagnostic information, and linter output. Fix #5335
#5336 should take care of this. |
Don't immediately exit on errors because this will hide diagnostic information, and linter output. Fix #5335
Don't immediately exit on errors because this will hide diagnostic information, and linter output. Fix #5335 ci: add docs updates to changelog
Don't immediately exit on errors because this will hide diagnostic information, and linter output. Fix #5335 ci: add docs updates to changelog
@kaefferlein this shouldn't happen anymore. Can you please try again with the You might have to pull it to ensure that it's the new one. (Revision: Thanks! |
@ferrarimarco I've been running into this as well. I can reproduce the issue with latest-slim image. Reproduction steps:
(This is the most recent super-linter:slim-latest, says pushed 9 hours ago. Using slim to test due to smaller image size.) See attached log.txt Snippet of errors:
|
I think the problem may be that super-linter/lib/functions/buildFileList.sh Line 511 in 6c1f40c
SHELL=$(type -p bash) parallel when building the parallel command Line 810 in 6c1f40c
e7bc280fd46d:/# doit() { echo "$@"; }
e7bc280fd46d:/# export -f doit
e7bc280fd46d:/# parallel --will-cite doit ::: 1 2 3
/bin/sh: doit: not found
/bin/sh: doit: not found
/bin/sh: doit: not found
e7bc280fd46d:/# SHELL=$(type -p bash) parallel --will-cite doit ::: 1 2 3
1
2
3 |
Hi @hajapy ! I think what you're experiencing is a different issue. Can you please open a new report? Thanks! |
@ferrarimarco sure thing, new issue created: #5339 I came across this one because the above error snippet also included |
Thanks! |
Is there an existing issue for this?
Current Behavior
I am running a github action with the super-linter v6 and want a successful run. Yet it fails but states no error message. It just stops after the log message
Building the list of files and directories to check
.The action job is marked as failed.
Expected Behavior
Successful run or error message
Super-Linter version
Relevant log output
Steps To Reproduce
Anything else?
No response
The text was updated successfully, but these errors were encountered: