Skip to content

Codecov uploads are flaky #499

@scpeters

Description

@scpeters

Environment

  • OS Version: Ubuntu github-hosted runners, both 22.04 and 24.04
  • Source or binary build? source coverage builds

Description

  • Expected behavior: Code coverage reports should be uploaded for every successful instance of make coverage
  • Actual behavior: often receive error messages "Rate limit reached. Please upload with the Codecov repository upload token to resolve issue."

Steps to reproduce

  1. Open a pull request for a package with coverage checking enabled
  2. Check github actions logs

Output

Example: gz-rendering push to gz-rendering9 gazebosim/gz-rendering@b7973e1 (workflow link)

->  Pinging Codecov
  https://codecov.io/upload/v4?package=bash-1.0.6&token=<hidden>&package=bash-1.0.6&token=&branch=gz-rendering9&commit=b7973e14778baba95c94798b15391183d9261c16&build=14737522666&build_url=https%3A%2F%2Fgithub.com%2Fgazebosim%2Fgz-rendering%2Factions%2Fruns%2F14737522666&name=&tag=&slug=gazebosim%2Fgz-rendering&service=github-actions&flags=&pr=&job=Ubuntu+CI&cmd_args=X,X
  {"message":"Rate limit reached. Please upload with the Codecov repository upload token to resolve issue. Expected time to availability: 3276s."}
  {"message":"Rate limit reached. Please upload with the Codecov repository upload token to resolve issue. Expected time to availability: 3274s."}
  {"message":"Rate limit reached. Please upload with the Codecov repository upload token to resolve issue. Expected time to availability: 3271s."}
  {"message":"Rate limit reached. Please upload with the Codecov repository upload token to resolve issue. Expected time to availability: 3269s."}
  {"message":"Rate limit reached. Please upload with the Codecov repository upload token to resolve issue. Expected time to availability: 3267s."}
  {"message":"Rate limit reached. Please upload with the Codecov repository upload token to resolve issue. Expected time to availability: 3265s."}
  
  429
  ==> Uploading to Codecov
    % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                   Dload  Upload   Total   Spent    Left  Speed
  
    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  100  124k  100   182  100  124k    627   429k --:--:-- --:--:-- --:--:--  429k
  Warning: Problem : HTTP error. Will retry in 2 seconds. 5 retries left.
  
    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  100  124k  100   182  100  124k   1111   762k --:--:-- --:--:-- --:--:--  766k
  Warning: Problem : HTTP error. Will retry in 2 seconds. 4 retries left.
  
    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  100  124k  100   182  100  124k    938   643k --:--:-- --:--:-- --:--:--  647k
  Warning: Problem : HTTP error. Will retry in 2 seconds. 3 retries left.
  
    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  100  124k  100   182  100  124k   1146   786k --:--:-- --:--:-- --:--:--  790k
  Warning: Problem : HTTP error. Will retry in 2 seconds. 2 retries left.
  
    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  100  124k  100   182  100  124k    933   639k --:--:-- --:--:-- --:--:--  644k
  Warning: Problem : HTTP error. Will retry in 2 seconds. 1 retries left.
  
    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
   99  124k    0     0  100  124k      0   699k --:--:-- --:--:-- --:--:--  697k
  100  124k  100   182  100  124k   1019   698k --:--:-- --:--:-- --:--:--  698k
      {'detail': ErrorDetail(string='Rate limit reached. Please upload with the Codecov repository upload token to resolve issue. Expected time to availability: 3265s.', code='throttled')}{'detail': ErrorDetail(string='Rate limit reached. Please upload with the Codecov repository upload token to resolve issue. Expected time to availability: 3262s.', code='throttled')}{'detail': ErrorDetail(string='Rate limit reached. Please upload with the Codecov repository upload token to resolve issue. Expected time to availability: 3260s.', code='throttled')}{'detail': ErrorDetail(string='Rate limit reached. Please upload with the Codecov repository upload token to resolve issue. Expected time to availability: 3258s.', code='throttled')}{'detail': ErrorDetail(string='Rate limit reached. Please upload with the Codecov repository upload token to resolve issue. Expected time to availability: 3256s.', code='throttled')}{'detail': ErrorDetail(string='Rate limit reached. Please upload with the Codecov repository upload token to resolve issue. Expected time to availability: 3254s.', code='throttled')}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Inbox

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions