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.

generateAllureReport.sh fails when no. of allure-results files increases

See original GitHub issue

When the test cases increases, the resulting number of files in allure-results keeps of increasing. Before generating new report. Allure deletes the old reports using allure generate --clean

Deleting 1000s of files at one go gives out this error:

Detecting new results… Generating report Report successfully generated to allure-report Detecting new results… /app/checkAllureResultsFiles.sh: line 24: /app/generateAllureReport.sh: Argument list too long /app/checkAllureResultsFiles.sh: line 26: /bin/sleep: Argument list too long /app/checkAllureResultsFiles.sh: line 20: /bin/ls: Argument list too long Detecting new results… Generating report Report successfully generated to allure-report Detecting new results… /app/checkAllureResultsFiles.sh: line 24: /app/generateAllureReport.sh: Argument list too long /app/checkAllureResultsFiles.sh: line 26: /bin/sleep: Argument list too long /app/checkAllureResultsFiles.sh: line 20: /bin/ls: Argument list too long Detecting new results… Generating report Report successfully generated to allure-report Detecting new results… /app/checkAllureResultsFiles.sh: line 24: /app/generateAllureReport.sh: Argument list too long /app/checkAllureResultsFiles.sh: line 26: /bin/sleep: Argument list too long /app/checkAllureResultsFiles.sh: line 20: /bin/ls: Argument list too long

Resolution: According to me, before running allure generate --clean in generateAllureReport.sh you should delete the existing files in allure-results using the resolution given here

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
fescobarcommented, Oct 31, 2018

I’m closing this issue. I understand the issue reported was fixed. Thanks.

1reaction
fescobarcommented, Oct 31, 2018

@abhimassive Please create another issue for this and give me more details like commands or any explanation about what do you want to do.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can't generate allure-report from Jenkins with Docker
I'm trying to generate an Allure report for my cypress tests using jenkins + docker, current jenkins server is installed on mac.
Read more >
allure-framework/allure-core - Gitter
"Local files can no longer access other files in the same directory. ... .com/how-to-fix-cross-origin-request-security-cors-error-in-firefox-chrome-and-ie/.
Read more >
Allure Framework
7.1.2. Generate HTML report from Allure results. The Reporter will generate xml files inside of a resultsDir , then we need to generate...
Read more >
Add dropdown to select visibility of container registry feature
This merge request adds or changes documentation files. A review from the Technical Writing team before you merge is recommended.
Read more >
以及配置allure服务,以下是....
I have report.sh file that can send a slack message. report.sh file takes. Step 1: Add required dependencies in pom.xml. In order to...
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