-
-
Notifications
You must be signed in to change notification settings - Fork 244
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
[v6.20.0] Console Reporter broken for PHP flavour #2425
Comments
Here are results I got with previous version
Docker image has disgest BTW v6.20.0 has header version identification changed. Now I got
Compare to previous version ! |
And summary table crash gave me other results each time I run it. Sometimes it break results after, sometimes I got this error
|
This may be related to #2348. Which OS are you on, and are you using rootless or rootful Docker? |
@Kurt-von-Laven No it seems to come from parallelization ! I've just tried to disable it with |
That's great to hear. Actually the answer to my previous question may still be relevant to #2348. |
I confim, each time I run with PARALLEL directive enabled, the console reporter crash.
Reminder for me : llaville/php-compatinfo-db@90dfb29 |
Makes sense. I meant this question though:
|
Rootfull Docker (default) on Ubuntu 20.04.2 LTS WSL2 |
Thank you! That helps confirm our theory that the v6.20.0 images can only be pulled using rootful Docker. |
Grmblmblm I hope it's not related to multiprocessing-logging |
FYI: I've just tested version 6.20.1, and this issue still exists ! But the creation date in header was fixed (thanks)
But, bad new, I've noticed that links to This is a chunk of report produced, but all links are affected ! |
Just to compare with previous release that did not have this issue
And all link to megalinter.io descriptors were not broken (usage of |
One possible reason, is that the latest release did not point to v6.20.1 (unavailable on https://megalinter.io) |
After a long period to retrieve full flavor docker image
This issue affect all MegaLinter v6.20.1 versions (and not only the PHP flavor) I can confirm @nvuillam your intuition (3 days ago !!!) |
@llaville on what do you run MegaLinter ? |
If it is multiprocessing-logging, the maintainer took 4 months to accept the PR that fixed the bug, I was close to make a hard-fork :'( |
multiprocessing-logging seems not supporting Python 3.11 (https://github.com/jruere/multiprocessing-logging/blob/master/setup.py), while MegaLinter 6.20.x did it https://github.com/oxsecurity/megalinter/blob/main/Dockerfile#L47 |
@llaville if it was the case everywhere we wouldn't have any MegaLinter 6.20.x working :/ I posted an issue on the repo, maybe they can help :/ Meanwhile, you can remain with the PARALLEL: false workaround, but I understand that's is not good for perfs, especially if you run on an engine with more than 2 cores :/ |
I just had a non-deterministic encounter with the same stack trace as @llaville while running the v6.20.1 JavaScript flavor on ScribeMD/docker-cache. The first time it showed up was also the first time I got ESLint running (although very badly since we're using Yarn, so it can't find any |
This issue has been automatically marked as stale because it has not had recent activity. If you think this issue should stay open, please remove the |
Describe the bug
The summary table is not completed after an analysis.
To Reproduce
docker pull oxsecurity/megalinter-php:v6
(digest:sha256:b38beb2a78234c3719a473b318b9e67651f56423c9a0faf979a1a2c8c2b035d3
)sudo rm -rf megalinter-reports/ && time docker run --rm -v /var/run/docker.sock:/var/run/docker.sock:rw -v $(pwd):/tmp/lint:rw oxsecurity/megalinter-php:v6
on a local git clone of my repository https://github.com/llaville/php-compatinfo-db (master
branch)Expected behavior
As previous version a summary table complete.
Screenshots
Additional context
Local platform : Ubuntu 22.04 LTS on WSL2
The text was updated successfully, but these errors were encountered: