-
Bug
-
Resolution: Unresolved
-
Major
-
Production
running Jenkins PR coverage plugin and observing the log output below coming from github-plugin. Issue I am seeing is my Github PAT token is getting disabled. however this action output concerns me where github-plugin is executing a null safe and trying to create a new token. no idea why/how this is happening, but its taking down our entire PR/Gitflow.
root problem is github-pr-coverage-status plugin is failing with the below credential message. ref https://github.com/jenkinsci/github-pr-coverage-status-plugin
```
Nov 24, 2020 7:13:37 PM FINE org.jenkinsci.plugins.github.internal.GitHubLoginFunction applyNullSafe
Create new GH client with creds id JenkinsGithubToken
Nov 24, 2020 7:13:38 PM WARNING org.jenkinsci.plugins.github.internal.GitHubLoginFunction applyNullSafe
Failed to login with creds JenkinsGithubToken java.io.FileNotFoundException: https://github.<redacted>.com/api/v3/user at org.kohsuke.github.extras.okhttp3.ObsoleteUrlFactory$OkHttpURLConnection.getInputStream(ObsoleteUrlFactory.java:488) at org.kohsuke.github.extras.okhttp3.ObsoleteUrlFactory$DelegatingHttpsURLConnection.getInputStream(ObsoleteUrlFactory.java:1201) at org.kohsuke.github.GitHubHttpUrlConnectionClient$HttpURLConnectionResponseInfo.bodyStream(GitHubHttpUrlConnectionClient.java:197) at org.kohsuke.github.GitHubResponse$ResponseInfo.getBodyAsString(GitHubResponse.java:326) at org.kohsuke.github.GitHubResponse.parseBody(GitHubResponse.java:91) at org.kohsuke.github.GitHubClient.lambda$fetch$0(GitHubClient.java:145) at org.kohsuke.github.GitHubClient.createResponse(GitHubClient.java:461) at org.kohsuke.github.GitHubClient.sendRequest(GitHubClient.java:412)```
Versions:
Jenkins CentOS Docker 2.267
Github Plugin 1.32.0
Github-pr-coverage-status-plugin 2.1.1
github enterprise 2.22.3