clean_results doesn't work with a large amount of results
See original GitHub issuehttp://allure-srv😗***/allure-docker-service/clean-results?project_id=__proj_id does not work when the results directory contains 44780 files.
Log output during the bug
allure_1 | Cleaning results for PROJECT_ID: __proj_id
allure_1 | /app/cleanAllureResults.sh: line 8: /bin/ls: Argument list too long
allure_1 | Results cleaned for PROJECT_ID: __proj_id
steps to reproduce: send 50000 results, related to a project. try to clean the results for this project.
suggestion:
if youre using rm *
(which raises that exception)
you could replace it with find . -maxdepth 1 -type f -exec rm -r {} +
BTW - Thank you for this great tool, I’m using it for about 3 month without any bugs, and it was really simple to it set up.
Issue Analytics
- State:
- Created 3 years ago
- Comments:14 (9 by maintainers)
Top Results From Across the Web
Clean Results Office and Home Cleaning Service in ...
Clean Results, LLC brings commercial and residential cleaning to a higher level. We specialize in cleaning office, home, apartment, and construction site.
Read more >make clean results in no target with specific makefile name
I have many makefiles under the same project directory. Then I can run make -f Makefile_prune clean , which will execute the clean-up,...
Read more >Release Notes | FortiGate Cloud 22.4.0
Sandbox seven days scan results widget does not have option to uncheck clean results. 848546, Dashboard table fails to load when there is...
Read more >Not Getting the Clean Results You Want?
“We have been using your product and it usually works great! ... using an exorbitant amount of mandrel lubricant during the hose fabrication ......
Read more >Surfacing commands which don`t need rebuild to get clean results ...
I learn and read a lot of things related to surfacing in Rhino with using class-A and ... Surfacing commands which don`t need...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@eilonreifs I will try to fix it earlier. This issue is related to this one https://github.com/fescobar/allure-docker-service/issues/58
@RafaelloLoliop I’ve tested using your bash file to create multiple users. I’ve created more than 40k files and I could reproduce the error. With the fix, the error disappears.