Travis CI Build no longer showing as check on github pull request page

We are using travis-ci to build and test our open source project, and the result has always been posted to the pull request page. You can see an example here:

For some reason unknown as it stands, travis-CI is no longer posting to the pull request pages:

However, the build is being triggered:

https://travis-ci.org/keylime/keylime/builds/640105611

Anyone have any ideas on why this might be? No changes have been made to the organizations settings or the travis.yml file.

This happens when we lose the credentials that can post to the repository. We have 2 users associated with keylime/keylime, but neither has admin access to it.

“We have 2 users associated with keylime/keylime, but neither has admin access to it.”

Could you let me know where you gathered that info? I am guessing one is me, if so I am the organisation owner and created keylime/keylime?

How would I reinstate credentials again?

@lhinds we have compared our database to what GitHub reports to us on their API manually.

Using the GitHub OAuth token that we have for your user record GitHub’s API is telling us that you do not have admin permissions on the repository keylime/keylime:

$ curl -s -H "Authorization: token $token" https://api.github.com/user | jq .login
"frozencemetery"
$ curl -s -H "Authorization: token $token" https://api.github.com/repos/keylime/keylime | jq .permissions
{
  "admin": false,
  "push": false,
  "pull": true
}

Posting status updates unfortunately requires admin permissions. If you are an admin on this repository I am not sure why GitHub is reporting that you are not. If you are not an admin then the solution would be to find an admin, and ask them to sign up on travis-ci.org.

I have no idea what’s going on then. I am the current owner of the repository and the org. The only instance I have seen of ‘admin’ is that I get rights to force a merge

Other than that there is no other mention of admin grants, just the section allowing me to transfer ownership.

I guess the best bet is to tear this down and create it again (travis / github integration), but I would have liked to have known what went wrong, as no changes were made on our side that I know of. It just stopped posting build statuses to the pull request page.

Could you try the commands that @svenfuchs indicated in the previous post with your own token to see if we somehow ended up with a wrong one for you? (You can find jq here.)

Imprint