Coverage Chart is missing data for recent months

Description

Coverage Chart is missing data after 10th Nov 2021

CI/CD URL

Codecov Output

Run codecov/codecov-action@v1
/usr/bin/bash codecov.sh -n  -F unittests -Q github-action-v1.5.2 -f ./src/github.com/goharbor/harbor/profile.cov -C 7c2fa19ffc6b7a740fbca07e1b4feedf478e5aee

  _____          _
 / ____|        | |
| |     ___   __| | ___  ___ _____   __
| |    / _ \ / _` |/ _ \/ __/ _ \ \ / /
| |___| (_) | (_| |  __/ (_| (_) \ V /
 \_____\___/ \__,_|\___|\___\___/ \_/
                              Bash-1.0.3


==> git version 2.35.1 found
==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3
Release-Date: 2020-01-08
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 
Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets
==> GitHub Actions detected.
    Env vars used:
      -> GITHUB_ACTIONS:    true
      -> GITHUB_HEAD_REF:   refresh-base224
      -> GITHUB_REF:        refs/pull/16407/merge
      -> GITHUB_REPOSITORY: goharbor/harbor
      -> GITHUB_RUN_ID:     1890985908
      -> GITHUB_SHA:        d12611bd03c8fcb7010930d54336abb693df0531
      -> GITHUB_WORKFLOW:   CI
    project root: .
    Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml
    -> Found 1 reports
==> Detecting git/mercurial file structure
==> Reading reports
    + ./src/github.com/goharbor/harbor/profile.cov bytes=13421072
==> Appending adjustments
    https://docs.codecov.io/docs/fixing-reports
    + Found adjustments
==> Gzipping contents
        1.4M	/tmp/codecov.TG9equ.gz
==> Uploading reports
    url: https://codecov.io
    query: branch=refresh-base224&commit=7c2fa19ffc6b7a740fbca07e1b4feedf478e5aee&build=1890985908&build_url=http%3A%2F%2Fgithub.com%2Fgoharbor%2Fharbor%2Factions%2Fruns%2F1890985908&name=&tag=&slug=goharbor%2Fharbor&service=github-actions&flags=unittests&pr=16407&job=CI&cmd_args=n,F,Q,f,C
->  Pinging Codecov
https://codecov.io/upload/v4?package=github-action-v1.5.2-1.0.3&token=secret&branch=refresh-base224&commit=7c2fa19ffc6b7a740fbca07e1b4feedf478e5aee&build=1890985908&build_url=http%3A%2F%2Fgithub.com%2Fgoharbor%2Fharbor%2Factions%2Fruns%2F1890985908&name=&tag=&slug=goharbor%2Fharbor&service=github-actions&flags=unittests&pr=16407&job=CI&cmd_args=n,F,Q,f,C
->  Uploading to
https://storage.googleapis.com/codecov/v4/raw/2022-02-24/9658CE8798004843E0827EAEF39B4FDB/7c2fa19ffc6b7a740fbca07e1b4feedf478e5aee/ab328cf7-b657-4d35-a4d3-770dfd8a1935.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220224%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220224T035958Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=20202addad2d6c8212c06153c89d650eb69fb986ed2660638ce96a8cfa5dbc83
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 1405k    0     0  100 1405k      0  5531k --:--:-- --:--:-- --:--:-- 5531k
    -> Reports have been successfully queued for processing at https://codecov.io/github/goharbor/harbor/commit/7c2fa19ffc6b7a740fbca07e1b4feedf478e5aee

Expected Results

Coverage Chart data is full, I can see the most recent coverage chart

Actual Results

Coverage Chart is missing data for recent months

Additional Information

Coverage Chart link:Codecov

1 Like

@YangJiao0817 I suspect you may have moved to using main from master as the default branch. You can update that on the Codecov side here in the Default Branch section.

1 Like

@tom Thanks for your reply, that’s exactly the cause of the problem, my problem was solved.

1 Like