Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Coveralls returns 422 error: Couldn't find a repository matching this job #632

Closed
vcernomschi opened this issue Oct 6, 2015 · 42 comments
Closed

Comments

@vcernomschi
Copy link

Steps to reproduce:

  1. Generate coverage report by using istanbul.
  2. Send lcov.info file to coveralls.io by using:

cat ${__COVERAGE_PATH}"/lcov.info" | coveralls

where __COVERAGE_PATH valid path to coverage report.

Expected result: lcov.info file is successfully downloaded.

Actual result:
Bad response: 422 {"message":"Couldn't find a repository matching this job.","error":true}

@vcernomschi
Copy link
Author

Was renamed to txt to be able to upload

lcov.txt | uploaded via ZenHub

@eistrati
Copy link

I am experiencing the same issue. Can anyone help?

@avozicov
Copy link

I have the same issue for public repos.

@vcernomschi
Copy link
Author

The issue is still reproducible for all public repos.

1 similar comment
@devs-deep
Copy link

The issue is still reproducible for all public repos.

@nickmerwin
Copy link
Member

@vcernomschi @devs-deep @avozicov @eistrati there are a couple causes for this:

  1. if you're using Travis, you don't need to specify a repo token, but your Github OAuth token must be valid -- try logging out / in on Coveralls.io to refresh it
  2. on other CI's you have to specify a repo token; check your environment variables at build time to be sure COVERALLS_REPO_TOKEN is being set

Let me know how it goes!

@vcernomschi
Copy link
Author

The issue is not reproducible anymore after removing coveralls token

@ad-m
Copy link

ad-m commented Apr 19, 2016

I have this issues to in public coveralls repo.
Here is travis build log: https://travis-ci.org/watchdogpolska/poradnia/jobs/124069972
Here accordinly travis.yml: watchdogpolska/poradnia@2061f2e

@Jarvin-Guan
Copy link

I got the error
Bad response: 422 {"message":"Couldn't find a repository matching this job.","error":true}

link:https://travis-ci.org/Jarvin-Guan/arg-parser/jobs/126830328

indirect added a commit to indirect/lita-tweet that referenced this issue Aug 15, 2016
The coveralls.io instructions say to include the token on Travis, but
this issue says otherwise: lemurheavy/coveralls-public#632
@kpx-dev
Copy link

kpx-dev commented Sep 28, 2016

Deleting the repo inside coveralls.io and add it back works for me, you will loose your coverage history though.

@kasora
Copy link

kasora commented Jun 19, 2017

I forgot to add .coveralls.yml. It works for me now.

@p8ul
Copy link

p8ul commented Sep 17, 2018

Set up JavaScript Coveralls
Login to coveralls and add your enable your repository.
Click on details and show you instructions on how to configure .coveralls.yml file

Here are some quick instructions for this JavaScript project:
add the following line to your .coveralls.yml :

repo_token: your_token_goes_here

@PaulRBerg
Copy link

Just for the record, this also happens when you change the repo's name. Deleting, resyncing and toggling did the trick in my case.

@aleclarson
Copy link

aleclarson commented Dec 7, 2018

I tried using the free TravisCI Github app (which might be Travis Pro?), and Coveralls doesn't like it, even after adding a .coveralls.yml (which wasn't necessary before I tried the Github app).

When I try doing..

cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js

..it no longer throws a 422 error, but the coverage is still not showing up on https://coveralls.io.

I've tried deleting the Coveralls repo, disabling TravisCI and re-enabling via the "Legacy Services Integration" page. Next I guess I'll try renaming the Github repo. 😢

edit: I ended up switching to https://codecov.io

@msangel
Copy link

msangel commented Jan 12, 2019

the error message is very not informative, please make it better
so
for getting it work on public repo I had to do 2 things:

  1. add empty .coveralls.yml file to repo
  2. push because it not working from local pc, only from within travis-ci

@ElliotNB
Copy link

I had this same issue as well for an open source project. I did not need to add an empty .coveralls.yml, but I did need to log in and out of Coveralls.io with my GitHub account a couple of times and disable/re-enable the GitHub apps integration.

@youtux
Copy link

youtux commented Feb 17, 2019

Same issue here https://travis-ci.org/pytest-dev/pytest-bdd/jobs/494573115

@fishcharlie
Copy link

This is happening to me as well. For some reason restarting the builds seems to work most of the time. Any idea how to fix this?

leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this issue Jun 2, 2021
After reading
lemurheavy/coveralls-public#632

GitOrigin-RevId: 58029df26efb58e75e82fe032a60532a25dc93d8
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this issue Jun 3, 2021
After reading
lemurheavy/coveralls-public#632

GitOrigin-RevId: 58029df26efb58e75e82fe032a60532a25dc93d8
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this issue Jun 3, 2021
After reading
lemurheavy/coveralls-public#632

GitOrigin-RevId: 58029df26efb58e75e82fe032a60532a25dc93d8
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this issue Jun 7, 2021
After reading
lemurheavy/coveralls-public#632

GitOrigin-RevId: 58029df26efb58e75e82fe032a60532a25dc93d8
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this issue Jun 8, 2021
After reading
lemurheavy/coveralls-public#632

GitOrigin-RevId: 58029df26efb58e75e82fe032a60532a25dc93d8
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this issue Jun 9, 2021
After reading
lemurheavy/coveralls-public#632

GitOrigin-RevId: 58029df26efb58e75e82fe032a60532a25dc93d8
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this issue Jun 14, 2021
After reading
lemurheavy/coveralls-public#632

GitOrigin-RevId: 58029df26efb58e75e82fe032a60532a25dc93d8
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this issue Jun 15, 2021
After reading
lemurheavy/coveralls-public#632

GitOrigin-RevId: 58029df26efb58e75e82fe032a60532a25dc93d8
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this issue Jun 16, 2021
After reading
lemurheavy/coveralls-public#632

GitOrigin-RevId: 58029df26efb58e75e82fe032a60532a25dc93d8
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this issue Jun 16, 2021
After reading
lemurheavy/coveralls-public#632

GitOrigin-RevId: 58029df26efb58e75e82fe032a60532a25dc93d8
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this issue Jun 23, 2021
After reading
lemurheavy/coveralls-public#632

GitOrigin-RevId: 58029df26efb58e75e82fe032a60532a25dc93d8
@Icaruk
Copy link

Icaruk commented Aug 14, 2021

My problem was that i added coveralls.yml instead .coveralls.yml.
I forgot the dot prefix.

leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this issue Sep 14, 2021
After reading
lemurheavy/coveralls-public#632

GitOrigin-RevId: 58029df26efb58e75e82fe032a60532a25dc93d8
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this issue Sep 16, 2021
After reading
lemurheavy/coveralls-public#632

GitOrigin-RevId: 58029df26efb58e75e82fe032a60532a25dc93d8
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this issue Sep 22, 2021
After reading
lemurheavy/coveralls-public#632

GitOrigin-RevId: 58029df26efb58e75e82fe032a60532a25dc93d8
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this issue Nov 24, 2021
After reading
lemurheavy/coveralls-public#632

GitOrigin-RevId: 58029df26efb58e75e82fe032a60532a25dc93d8
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this issue Feb 3, 2022
After reading
lemurheavy/coveralls-public#632

GitOrigin-RevId: 58029df26efb58e75e82fe032a60532a25dc93d8
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this issue Mar 1, 2022
After reading
lemurheavy/coveralls-public#632

GitOrigin-RevId: 58029df26efb58e75e82fe032a60532a25dc93d8
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this issue Jun 3, 2022
After reading
lemurheavy/coveralls-public#632

GitOrigin-RevId: 58029df26efb58e75e82fe032a60532a25dc93d8
kosteev pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this issue Jul 8, 2022
After reading
lemurheavy/coveralls-public#632

GitOrigin-RevId: 58029df26efb58e75e82fe032a60532a25dc93d8
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this issue Aug 26, 2022
After reading
lemurheavy/coveralls-public#632

GitOrigin-RevId: 58029df26efb58e75e82fe032a60532a25dc93d8
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this issue Oct 3, 2022
After reading
lemurheavy/coveralls-public#632

GitOrigin-RevId: 58029df26efb58e75e82fe032a60532a25dc93d8
aglipska pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this issue Oct 6, 2022
After reading
lemurheavy/coveralls-public#632

GitOrigin-RevId: 58029df26efb58e75e82fe032a60532a25dc93d8
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this issue Dec 6, 2022
After reading
lemurheavy/coveralls-public#632

GitOrigin-RevId: 58029df26efb58e75e82fe032a60532a25dc93d8
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this issue Jan 26, 2023
After reading
lemurheavy/coveralls-public#632

GitOrigin-RevId: 58029df26efb58e75e82fe032a60532a25dc93d8
ahidalgob pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this issue Apr 24, 2023
After reading
lemurheavy/coveralls-public#632

GitOrigin-RevId: 58029df26efb58e75e82fe032a60532a25dc93d8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests