Project

General

Profile

Actions

action #88915

closed

Codecov always fails with 404 Not Found - Build has already finished, uploads rejected

Added by livdywan almost 4 years ago. Updated almost 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Regressions/Crashes
Target version:
Start date:
2021-02-22
Due date:
2021-03-09
% Done:

0%

Estimated time:

Description

Observation

Several open PRs currently seem to fail with codecov issues like these ones in the write step:

Use of uninitialized value $report in ucfirst at /usr/bin/cover line 233.
Reading database from /home/squamata/project/cover_db_api
Merging database from cover_db_fullstack
Devel::Cover: Warning: can't open /home/squamata/os-autoinst/autotest.pm for MD5 digest: No such file or directory
Devel::Cover: Warning: can't open /home/squamata/os-autoinst/OpenQA/Isotovideo/Interface.pm for MD5 digest: No such file or directory
[...]
Devel::Cover: Warning: can't open /home/squamata/os-autoinst/signalblocker.pm for MD5 digest: No such file or directory
<80> does not match <35> - using later value at /usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi/Devel/Cover/DB.pm line 325.
<80> does not match <39> - using later value at /usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi/Devel/Cover/DB.pm line 325.
[...]
<80> does not match <121> - using later value at /usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi/Devel/Cover/DB.pm line 325.
<80> does not match <122> - using later value at /usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi/Devel/Cover/DB.pm line 325.
Writing database to cover_db
CircleCI received exit code 0

and these in the select_re step:

Reading database from /home/squamata/project/cover_db
Devel::Cover: Warning: can't locate structure for statement in /home/squamata/os-autoinst/OpenQA/Benchmark/Stopwatch.pm
[...]
lib/OpenQA/App.pm                                         100.0  100.0
[...]
404 Not Found {"detail":"Build has already finished, uploads rejected."}

Acceptance criteria

  • AC1:

Suggestion

  • The list of files reported seems to be unsorted but otherwise the same.
  • os-autoinst/openQA#3742 was the last successful codecov run
  • The errors are the same *except for the last message 404 Not Found {"detail":"Build has already finished, uploads rejected."} instead of 200 OK Coverage reports upload successfully
Actions

Also available in: Atom PDF