Cannot sufficiently access commits in (private) repository

Description

I am having trouble accessing the individual commits I make to Codecov from my private Bitbucket repository mmx-tc-xamarin. Every time I login to Codecov, I must again grant access to the Bitbucket repository.

I have tried the workarounds on these pages:

without success.

When looking at the list of commits in the repository overview on Codecov, it only states “Unable to find commit in Bitbucket”. Furthermore, I have a badge associated to Codecov in my README file, but it only states “unknown” code coverage percentage.

Are there any additional things I can do to persistently enable sufficient access between my private Bitbucket repository and Codecov?

CI/CD URL

Please provide a link to the CI/CD run.

Codecov Output

+ ./codecov -t $CODECOV_TOKEN

[2022-01-19T09:45:24.047Z] ['info']

_____ _

/ ____| | |

| | ___ __| | ___ ___ _____ __

| | / _ \ / _ |/ _ / __/ _ \ \ / /`

| |___| (_) | (_| | __/ (_| (_) \ V /

\_____\___/ \__,_|\___|\___\___/ \_/

``

Codecov report uploader 0.1.15

[2022-01-19T09:45:24.054Z] ['info'] => Project root located at: /opt/atlassian/pipelines/agent/build

[2022-01-19T09:45:24.055Z] ['info'] -> Token found by arguments

[2022-01-19T09:45:24.061Z] ['info'] Searching for coverage files...

[2022-01-19T09:45:24.195Z] ['info'] Warning: Some files located via search were excluded from upload.

[2022-01-19T09:45:24.195Z] ['info'] If Codecov did not locate your files, please review https://docs.codecov.com/docs/supported-report-formats

[2022-01-19T09:45:24.196Z] ['info'] => Found 3 possible coverage files:

MMX/DB/MMX.DB.UI.Test/TestResults/0b771d6b-35af-4884-9dc3-76b36e6eb8b8/coverage.cobertura.xml

MMX/SDK/MMX.Core.Test/TestResults/50d7741f-6e56-4975-ac9d-d816dfbc674a/coverage.cobertura.xml

MMX/TC/MMX.TC.UI.Test/TestResults/71dd2aa5-8fdb-4ea6-842b-0b109e9d48d2/coverage.cobertura.xml

[2022-01-19T09:45:24.196Z] ['info'] Processing /opt/atlassian/pipelines/agent/build/MMX/DB/MMX.DB.UI.Test/TestResults/0b771d6b-35af-4884-9dc3-76b36e6eb8b8/coverage.cobertura.xml...

[2022-01-19T09:45:24.207Z] ['info'] Processing /opt/atlassian/pipelines/agent/build/MMX/SDK/MMX.Core.Test/TestResults/50d7741f-6e56-4975-ac9d-d816dfbc674a/coverage.cobertura.xml...

[2022-01-19T09:45:24.213Z] ['info'] Processing /opt/atlassian/pipelines/agent/build/MMX/TC/MMX.TC.UI.Test/TestResults/71dd2aa5-8fdb-4ea6-842b-0b109e9d48d2/coverage.cobertura.xml...

[2022-01-19T09:45:24.325Z] ['info'] Detected Bitbucket as the CI provider.

[2022-01-19T09:45:24.326Z] ['info'] Pinging Codecov: https://codecov.io/upload/v4?package=uploader-0.1.15&token=*******&branch=release%2FTC%2F4.3.0&build=6824&build_url=&commit=595cf4ad564882fdcbf9a09bb61dba75bee08274&job=6824&pr=&service=bitbucket&slug=nwise%2Fmmx-tc-xamarin&name=&tag=&flags=&parent=

[2022-01-19T09:45:24.506Z] ['info'] Uploading...

[2022-01-19T09:45:24.721Z] ['info'] {"status":"success","resultURL":"https://codecov.io/bitbucket/nwise/mmx-tc-xamarin/commit/595cf4ad564882fdcbf9a09bb61dba75bee08274"}

Expected Results

Able to view and compare commits for code coverage in Codecov.

Actual Results

Uploaded commit is not accessible in Codecov, in the overview only “Unable to find commit in Bitbucket” is stated.

Additional Information

N/A

@nwiseanders, have you created a team bot for this repository? If so, can you confirm the bot name?

Well, I am using my own account, nwiseanders, as team bot, and I have included it in the Global YAML. But every time I try to access the repository on Codecov, I am required to login anew, and then I am also required to grant private access. Why is that grant not working one time and for all?

@nwiseanders, can you see if you can access individual commits now? As far as the granting access every time goes, we are aware of the issue and are working on fixing it.

Thanks, @tom , it does look promising now. The first new commit was fully accessible and provided sufficient feedback. I’ll give it a few more tries before I close this issue.

1 Like