How to fix "Missing base report" in our setup?

Please search for similar issues before creating a ticket.
All fields below are required.

Description

I’m facing an issue with our Codecov setup, can’t seem to find PR reports due to “Missing base report” error

Commit SHAs

470260283238bd178a2f5c59b76dc5d9403832d1

Repository

https://github.com/superpoweredapp/sp-backend

CI/CD or Build URL

GitHub Actions

Uploader

Bash uploader

Codecov Output

I’ll post in comment to keep this clean

Expected Results

I expect to see the PR results

Actual Results

Additional Information

Base report on main should be there from commits timeline

2021-05-20T19:33:10.2879304Z ##[group]Run bash <(curl -s https://codecov.io/bash)
2021-05-20T19:33:10.2880015Z e[36;1mbash <(curl -s https://codecov.io/bash)e[0m
2021-05-20T19:33:10.2917808Z shell: /usr/bin/bash -e {0}
2021-05-20T19:33:10.2918132Z env:
2021-05-20T19:33:10.2918447Z   COMMIT_MESSAGE: try
2021-05-20T19:33:10.2919198Z   CODECOV_TOKEN: ***
2021-05-20T19:33:10.2919527Z ##[endgroup]
2021-05-20T19:33:10.6107281Z 
2021-05-20T19:33:10.6107919Z   _____          _
2021-05-20T19:33:10.6111136Z  / ____|        | |
2021-05-20T19:33:10.6112592Z | |     ___   __| | ___  ___ _____   __
2021-05-20T19:33:10.6113948Z | |    / _ \ / _` |/ _ \/ __/ _ \ \ / /
2021-05-20T19:33:10.6115305Z | |___| (_) | (_| |  __/ (_| (_) \ V /
2021-05-20T19:33:10.6116687Z  \_____\___/ \__,_|\___|\___\___/ \_/
2021-05-20T19:33:10.6118911Z                               Bash-1.0.2
2021-05-20T19:33:10.6135664Z 
2021-05-20T19:33:10.6135888Z 
2021-05-20T19:33:10.6181094Z e[0;36m==>e[0m git version 2.31.1 found
2021-05-20T19:33:10.6358147Z e[0;36m==>e[0m 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
2021-05-20T19:33:10.6359351Z Release-Date: 2020-01-08
2021-05-20T19:33:10.6360289Z Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 
2021-05-20T19:33:10.6361760Z Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets
2021-05-20T19:33:10.6364678Z e[0;90m==>e[0m GitHub Actions detected.
2021-05-20T19:33:10.6365448Z     Env vars used:
2021-05-20T19:33:10.6366862Z       -> GITHUB_ACTIONS:    true
2021-05-20T19:33:10.6367858Z       -> GITHUB_HEAD_REF:   nikhil/codecov
2021-05-20T19:33:10.6370071Z       -> GITHUB_REF:        refs/pull/127/merge
2021-05-20T19:33:10.6371434Z       -> GITHUB_REPOSITORY: superpoweredapp/sp-backend
2021-05-20T19:33:10.6372867Z       -> GITHUB_RUN_ID:     861576116
2021-05-20T19:33:10.6373831Z       -> GITHUB_SHA:        470260283238bd178a2f5c59b76dc5d9403832d1
2021-05-20T19:33:10.6374776Z       -> GITHUB_WORKFLOW:   CI for PRs
2021-05-20T19:33:10.6548685Z     e[0;90mproject root:e[0m .
2021-05-20T19:33:10.6571544Z e[0;90m-->e[0m token set from env
2021-05-20T19:33:10.6646201Z     e[0;32mYaml not found, that's ok! Learn more ate[0m e[0;36mhttp://docs.codecov.io/docs/codecov-yamle[0m
2021-05-20T19:33:10.7003049Z e[0;90m==>e[0m Running gcov in . e[0;90m(disable via -X gcov)e[0m
2021-05-20T19:33:10.7721314Z e[0;90m==>e[0m Python coveragepy not found
2021-05-20T19:33:10.7726479Z e[0;90m==>e[0m Searching for coverage reports in:
2021-05-20T19:33:10.7727710Z     e[0;32m+e[0m .
2021-05-20T19:33:10.7886483Z     e[0;90m->e[0m Found 1 reports
2021-05-20T19:33:10.7901988Z e[0;90m==>e[0m Detecting git/mercurial file structure
2021-05-20T19:33:10.7996613Z e[0;90m==>e[0m Reading reports
2021-05-20T19:33:10.8047201Z     e[0;32m+e[0m ./coverage/lcov.info e[0;90mbytes=52039e[0m
2021-05-20T19:33:10.8106738Z e[0;90m==>e[0m Appending adjustments
2021-05-20T19:33:10.8108437Z     e[0;36mhttps://docs.codecov.io/docs/fixing-reportse[0m
2021-05-20T19:33:11.0599355Z     e[0;90m->e[0m No adjustments found
2021-05-20T19:33:11.0615726Z e[0;90m==>e[0m Gzipping contents
2021-05-20T19:33:11.0701239Z         12K	/tmp/codecov.Ms8taa.gz
2021-05-20T19:33:11.0725485Z e[0;90m==>e[0m Uploading reports
2021-05-20T19:33:11.0726617Z     e[0;90murl:e[0m https://codecov.io
2021-05-20T19:33:11.0728732Z     e[0;90mquery:e[0m branch=nikhil%2Fcodecov&commit=470260283238bd178a2f5c59b76dc5d9403832d1&build=861576116&build_url=http%3A%2F%2Fgithub.com%2Fsuperpoweredapp%2Fsp-backend%2Factions%2Fruns%2F861576116&name=&tag=&slug=superpoweredapp%2Fsp-backend&service=github-actions&flags=&pr=127&job=CI%20for%20PRs&cmd_args=
2021-05-20T19:33:11.0761236Z e[0;90m->e[0m  Pinging Codecov
2021-05-20T19:33:11.0764759Z https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=nikhil%2Fcodecov&commit=470260283238bd178a2f5c59b76dc5d9403832d1&build=861576116&build_url=http%3A%2F%2Fgithub.com%2Fsuperpoweredapp%2Fsp-backend%2Factions%2Fruns%2F861576116&name=&tag=&slug=superpoweredapp%2Fsp-backend&service=github-actions&flags=&pr=127&job=CI%20for%20PRs&cmd_args=
2021-05-20T19:33:11.7693927Z e[0;90m->e[0m  Uploading to
2021-05-20T19:33:11.7698507Z https://storage.googleapis.com/codecov/v4/raw/2021-05-20/00A4D42670FE9D924D77B6EC8398E1CD/470260283238bd178a2f5c59b76dc5d9403832d1/08ef34b0-e224-4738-81d8-f9f9ec4f7495.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210520%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210520T193311Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=45980e782c8459cb76d10bb0afd315c812e4b109d8b0baade1e406db5d23e5f3
2021-05-20T19:33:11.7765555Z   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
2021-05-20T19:33:11.7771871Z                                  Dload  Upload   Total   Spent    Left  Speed
2021-05-20T19:33:11.7772566Z 
2021-05-20T19:33:11.9210410Z   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
2021-05-20T19:33:11.9214083Z 100 11279    0     0  100 11279      0  78326 --:--:-- --:--:-- --:--:-- 78326
2021-05-20T19:33:11.9260584Z     e[0;32m->e[0m Reports have been successfully queued for processing at e[0;36mhttps://codecov.io/github/superpoweredapp/sp-backend/commit/470260283238bd178a2f5c59b76dc5d9403832d1e[0m

Hi @nikhilro, I noticed that the GitHub integration is installed for the org, but not for this repository. You can follow the steps here. I think this will help with the issue you’re facing.

Hey @tom, thanks for your reply.

The link on that page is a dead-end: Sign in to GitHub · GitHub

This is the link to Codecov installation for us: ~Sign in to GitHub · GitHub
Now this, Sign in to GitHub · GitHub

Do you think that might be the issue?

I reset the codecov installation and I think we might be back in business, thanks!

1 Like