There was a problem getting repo contents from your provider (gitlab integration broken)

Before submitting a topic, please confirm the following

I have read the Community board archiving section above.
I have searched for similar issues before creating this topic.
I have verified that my repository is using the Codecov GitHub app, if using GitHub
I have validated my codecov.yaml configuration file.
I have filled out the below sections to the best of my ability.
I understand that the community boards are a free, best-effort tool. While we hope to have someone on the Codecov team resolve your problem quickly, this is not always possible.


I have 3 private repos in my gitlab cloud organization, and they work just fine. But a new one is having problems. It appears that Codecov can’t communicate with gitlab for this project. All commits stay in “processing”, and it wont detect my codecov.yml nor the different branches


I don’t have a link the pipeline coz is private.

Codecov Output

Please provide the full output of running the uploader on your CI/CD. This will typically have the Codecov logo as ASCII.

[2023-08-15T21:27:15.258Z] ['verbose'] Start of uploader: 1692134835258...
[2023-08-15T21:27:15.259Z] ['info'] 
     _____          _
    / ____|        | |
   | |     ___   __| | ___  ___ _____   __
   | |    / _ \ / _` |/ _ \/ __/ _ \ \ / /
   | |___| (_) | (_| |  __/ (_| (_) \ V /
    \_____\___/ \__,_|\___|\___\___/ \_/
  Codecov report uploader 0.6.2
[2023-08-15T21:27:15.263Z] ['info'] => Project root located at: /builds/gran-torre/luker-console
[2023-08-15T21:27:15.265Z] ['info'] ->  Token found by arguments
[2023-08-15T21:27:15.266Z] ['verbose'] Start of network processing...
[2023-08-15T21:27:15.266Z] ['verbose'] Searching for files in /builds/gran-torre/luker-console
[2023-08-15T21:27:15.271Z] ['verbose'] coveragepy is not installed
[2023-08-15T21:27:15.271Z] ['info'] Searching for coverage files...
[2023-08-15T21:27:15.384Z] ['info'] Warning: Some files located via search were excluded from upload.
[2023-08-15T21:27:15.384Z] ['info'] If Codecov did not locate your files, please review
[2023-08-15T21:27:15.384Z] ['verbose'] Preparing to clean the following coverage paths: web/coverage/cobertura-coverage.xml
[2023-08-15T21:27:15.385Z] ['info'] => Found 1 possible coverage files:
[2023-08-15T21:27:15.385Z] ['verbose'] End of network processing
[2023-08-15T21:27:15.385Z] ['info'] Processing /builds/gran-torre/luker-console/web/coverage/cobertura-coverage.xml...
[2023-08-15T21:27:15.390Z] ['info'] Detected GitLab CI as the CI provider.
[2023-08-15T21:27:15.390Z] ['verbose'] -> Using the following env variables:
[2023-08-15T21:27:15.390Z] ['verbose']      CI_BUILD_ID: undefined
[2023-08-15T21:27:15.390Z] ['verbose']      CI_BUILD_REF: undefined
[2023-08-15T21:27:15.391Z] ['verbose']      CI_BUILD_REF_NAME: undefined
[2023-08-15T21:27:15.391Z] ['verbose']      CI_BUILD_REPO: undefined
[2023-08-15T21:27:15.391Z] ['verbose']      CI_COMMIT_REF_NAME: experimentando
[2023-08-15T21:27:15.391Z] ['verbose']      CI_COMMIT_SHA: 08cfcc5ff21b93a9c710a6b9c4d5a2f894cf4463
[2023-08-15T21:27:15.392Z] ['verbose']      CI_JOB_ID: 4879400316
[2023-08-15T21:27:15.392Z] ['verbose']      CI_MERGE_REQUEST_SOURCE_BRANCH_SHA: undefined
[2023-08-15T21:27:15.392Z] ['verbose']      CI_PROJECT_PATH: gran-torre/luker-console
[2023-08-15T21:27:15.392Z] ['verbose']      CI_REPOSITORY_URL: https://gitlab-ci-token:[MASKED]
[2023-08-15T21:27:15.393Z] ['verbose']      GITLAB_CI: true
[2023-08-15T21:27:15.393Z] ['verbose'] Using the following upload parameters:
[2023-08-15T21:27:15.393Z] ['verbose'] branch
[2023-08-15T21:27:15.393Z] ['verbose'] build
[2023-08-15T21:27:15.393Z] ['verbose'] buildURL
[2023-08-15T21:27:15.394Z] ['verbose'] commit
[2023-08-15T21:27:15.394Z] ['verbose'] job
[2023-08-15T21:27:15.394Z] ['verbose'] pr
[2023-08-15T21:27:15.394Z] ['verbose'] service
[2023-08-15T21:27:15.394Z] ['verbose'] slug
[2023-08-15T21:27:15.394Z] ['verbose'] name
[2023-08-15T21:27:15.394Z] ['verbose'] tag
[2023-08-15T21:27:15.394Z] ['verbose'] flags
[2023-08-15T21:27:15.394Z] ['verbose'] parent
[2023-08-15T21:27:15.396Z] ['info'] Pinging Codecov:*******&branch=experimentando&build=4879400316&build_url=&commit=08cfcc5ff21b93a9c710a6b9c4d5a2f894cf4463&job=&pr=&service=gitlab&slug=gran-torre%2Fluker-console&name=&tag=&flags=&parent=
[2023-08-15T21:27:15.396Z] ['verbose'] Passed token was 36 characters long
[2023-08-15T21:27:15.396Z] ['verbose']
        Content-Type: 'text/plain'
        Content-Encoding: 'gzip'
        X-Reduced-Redundancy: 'false'
[2023-08-15T21:27:15.590Z] ['info'][MASKED]&X-Amz-Date=20230815T212715Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=[MASKED]
[2023-08-15T21:27:15.591Z] ['verbose'] Returned upload url:[MASKED]&X-Amz-Date=20230815T212715Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=[MASKED]
[2023-08-15T21:27:15.591Z] ['info'] Uploading...
[2023-08-15T21:27:15.747Z] ['info'] {"status":"success","resultURL":""}
[2023-08-15T21:27:15.747Z] ['verbose'] End of uploader: 489 milliseconds

Expected Results

I don’t see any reports in codecov, nor comments in the merge request in gitlab. I expect those.

Actual Results

Codecov stuck on procesing reports, and this message in the main screen of the repo: "There was a problem getting repo contents from your provider "

Additional Information

The project with problems is gran-torre/luker-console .

It was a path problem. I was running the tests in a folder, and the coverage paths in cobertura were the culprit.

1 Like