[jbosstools-issues] [JBoss JIRA] (JBIDE-26276) Create PR check job for RSP (Runtime Server Protocol)

Martin Malina (JIRA) issues at jboss.org
Fri Aug 17 03:23:00 EDT 2018


    [ https://issues.jboss.org/browse/JBIDE-26276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13620394#comment-13620394 ] 

Martin Malina commented on JBIDE-26276:
---------------------------------------

Thanks, [~rob.stryker]. In theory that should be it. But for some reason it doesn't seem to work. 
[~jrichter1], can you help us?
The job is here: https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/Adapters/view/SSP/job/ssp-server-prcheck/
It's configured to use the new repo and here's a testing PR: https://github.com/redhat-developer/rsp-server/pull/4
The job got triggered. But there is nothing displayed on the PR page.

>From the console output it seems that the user does not have permissions, but Rob says he's added the user as a collaborator:
{code}
FileNotFoundException means that the credentials Jenkins is using is probably wrong. Or the user account does not have write access to the repo.
org.kohsuke.github.GHFileNotFoundException: {"message":"Not Found","documentation_url":"https://developer.github.com/v3/repos/statuses/#create-a-status"}
	at org.kohsuke.github.Requester.handleApiError(Requester.java:686)
	at org.kohsuke.github.Requester._to(Requester.java:293)
	at org.kohsuke.github.Requester.to(Requester.java:234)
	at org.kohsuke.github.GHRepository.createCommitStatus(GHRepository.java:1075)
	at org.jenkinsci.plugins.ghprb.extensions.status.GhprbSimpleStatus.createCommitStatus(GhprbSimpleStatus.java:272)
	at org.jenkinsci.plugins.ghprb.extensions.status.GhprbSimpleStatus.onBuildComplete(GhprbSimpleStatus.java:231)
	at org.jenkinsci.plugins.ghprb.GhprbBuilds.onCompleted(GhprbBuilds.java:192)
	at org.jenkinsci.plugins.ghprb.GhprbBuildListener.onCompleted(GhprbBuildListener.java:26)
	at hudson.model.listeners.RunListener.fireCompleted(RunListener.java:211)
	at hudson.model.Run.execute(Run.java:1780)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
	at hudson.model.ResourceController.execute(ResourceController.java:97)
	at hudson.model.Executor.run(Executor.java:405)
Caused by: java.io.FileNotFoundException: https://api.github.com/repos/redhat-developer/rsp-server/statuses/b8de4457be7fdbcefa26f07b55130446c188a18b
	at sun.reflect.GeneratedConstructorAccessor1805.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1926)
	at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1921)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1920)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1490)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1474)
	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
	at org.kohsuke.github.Requester.parse(Requester.java:612)
	at org.kohsuke.github.Requester.parse(Requester.java:594)
	at org.kohsuke.github.Requester._to(Requester.java:272)
	... 11 more
Caused by: java.io.FileNotFoundException: https://api.github.com/repos/redhat-developer/rsp-server/statuses/b8de4457be7fdbcefa26f07b55130446c188a18b
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1872)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1474)
	at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:338)
	at org.kohsuke.github.Requester.parse(Requester.java:602)
	... 13 more
success
{code}
Do you have a clue what could be wrong here?

> Create PR check job for RSP (Runtime Server Protocol)
> -----------------------------------------------------
>
>                 Key: JBIDE-26276
>                 URL: https://issues.jboss.org/browse/JBIDE-26276
>             Project: Tools (JBoss Tools)
>          Issue Type: Task
>          Components: runtime-server-protocol
>            Reporter: Pavol Srna
>            Assignee: Martin Malina
>             Fix For: 4.9.0.AM2
>
>
> https://github.com/robstryker/org.jboss.tools.ssp/blob/master/Jenkinsfile



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jbosstools-issues mailing list