fescobar / allure-docker-service

This docker container allows you to see up to date reports simply mounting your "allure-results" directory in the container (for a Single Project) or your "projects" directory (for Multiple Projects). Every time appears new results (generated for your tests), Allure Docker Service will detect those changes and it will generate a new report automatically (optional: send results / generate report through API), what you will see refreshing your browser.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"projects/default/reports/latest': No such file or directory" error appears while generating Allure report and next runs do not display at all

ndiakov00 opened this issue · comments

Results upload from GH Actions through unickq/send-to-allure-docker-service-action@v1
The issue starts reproducing from the third upload of the results and the run named "Latest" is missing from the list of runs. Also, after getting this issue - all next uploaded results are not being displayed at list at all.
After getting an error UI looks like this:
image

Logs:

timestamp message
1673918210470 Creating history on results directory for PROJECT_ID: default ...
1673918237672 /app/generateAllureReport.sh: line 66: 7349 Killed allure generate --clean $RESULTS_DIRECTORY -o $STATIC_CONTENT_PROJECTS/$PROJECT_ID/reports/latest
1673918237729 ls: cannot access '/app/allure-docker-api/static/projects/default/reports/latest': No such file or directory
1673918238055 Status: 200

Hi @ndiakov00
First, we do not maintain the action unickq/send-to-allure-docker-service-action@v1.

The latest report is a temporal report that is updated once you generate a new report.
Surely, you are getting the latest report when this one is being updated. Just you need to be patient, wait for that and refresh.