question-mark
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.

clean_results doesn't work with a large amount of results

See original GitHub issue

http://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:closed
  • Created 3 years ago
  • Comments:14 (9 by maintainers)

github_iconTop GitHub Comments

4reactions
fescobarcommented, Dec 1, 2020

@eilonreifs I will try to fix it earlier. This issue is related to this one https://github.com/fescobar/allure-docker-service/issues/58

1reaction
fescobarcommented, Jan 18, 2021

@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.

Read more comments on GitHub >

github_iconTop 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 >

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 Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found