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

Can't restart travis-ci job #171

Closed
nunnatsa opened this issue Jun 4, 2020 · 5 comments
Closed

Can't restart travis-ci job #171

nunnatsa opened this issue Jun 4, 2020 · 5 comments

Comments

@nunnatsa
Copy link

nunnatsa commented Jun 4, 2020

When trying to re-run a travis job, it never succeed and reports the following error:

$ $GOPATH/bin/goveralls -service=travis-ci -coverprofile=#####
Bad response status from coveralls: 422
{"message":"service_job_id (####) must be unique for Travis Jobs not supplying a Coveralls Repo Token","error":true}
The command "$GOPATH/bin/goveralls -service=travis-ci -coverprofile=######.coverprofile" exited with 1.
@gdm85
Copy link
Collaborator

gdm85 commented Oct 30, 2020

Have you set COVERALLS_SERVICE_JOB_ID or TRAVIS_JOB_ID?

@nbaztec
Copy link
Collaborator

nbaztec commented Nov 2, 2020

If the travis job id doesn't change on re-run (which I think it doesn't), this can definitely cause the error on coveralls side, since the job_id needs to be unique per push without repo-token or omitted. @gdm85 I think we need a mitigation strategy for this scenario in general.

@gdm85
Copy link
Collaborator

gdm85 commented Nov 2, 2020

What does coveralls.io suggest to do in this case? Travis CI is officially supported by them.

@nbaztec
Copy link
Collaborator

nbaztec commented Nov 2, 2020

Seems to be an issue on coveralls' side.

Can be closed.

@gdm85
Copy link
Collaborator

gdm85 commented Nov 3, 2020

Let's close it until it can be reproduced again and with a better context.

@gdm85 gdm85 closed this as completed Nov 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants