]
Filip Brychta reassigned SWSQE-959:
-----------------------------------
Assignee: Filip Brychta
Github PR hooks do not send to PRT
----------------------------------
Key: SWSQE-959
URL:
https://issues.jboss.org/browse/SWSQE-959
Project: Kiali QE
Issue Type: QE Task
Reporter: Hayk Hovsepyan
Assignee: Filip Brychta
Priority: Major
Labels: infrastructure
It seems Token to Github for kiali CI is expired.
Error in jenkins logs:
{code}
Sep 17, 2019 4:16:34 AM org.jenkinsci.plugins.ghprb.GhprbRepository initGhRepository
SEVERE: Error while accessing rate limit API
org.kohsuke.github.HttpException: {"message":"Maximum number of login
attempts exceeded. Please try again
later.","documentation_url":"https://developer.github...
at org.kohsuke.github.Requester.handleApiError(Requester.java:703)
at org.kohsuke.github.Requester._to(Requester.java:306)
at org.kohsuke.github.Requester.to(Requester.java:247)
at org.kohsuke.github.GitHub.getRateLimit(GitHub.java:318)
at
org.jenkinsci.plugins.ghprb.GhprbRepository.initGhRepository(GhprbRepository.java:100)
at org.jenkinsci.plugins.ghprb.GhprbRepository.check(GhprbRepository.java:133)
at org.jenkinsci.plugins.ghprb.GhprbTrigger.run(GhprbTrigger.java:371)
at hudson.triggers.Trigger.checkTriggers(Trigger.java:278)
at hudson.triggers.Trigger$Cron.doRun(Trigger.java:226)
at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:72)
at
jenkins.security.ImpersonatingScheduledExecutorService$1.run(ImpersonatingScheduledExecutorService.java:58)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.kohsuke.github.HttpException: Server returned HTTP response code: 403,
message: 'Forbidden' for URL:
https://api.github.com/rate_limit
at org.kohsuke.github.Requester.parse(Requester.java:646)
at org.kohsuke.github.Requester.parse(Requester.java:607)
at org.kohsuke.github.Requester._to(Requester.java:285)
... 16 more
Caused by: java.io.IOException: Server returned HTTP response code: 403 for URL:
https://api.github.com/rate_limit
at sun.reflect.GeneratedConstructorAccessor2195.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:1944)
at
sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1939)
at java.security.AccessController.doPrivileged(Native Method)
at
sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1938)
at
sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1508)
at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492)
at
sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:263)
at org.kohsuke.github.Requester.parse(Requester.java:625)
... 18 more
Caused by: java.io.IOException: Server returned HTTP response code: 403 for URL:
https://api.github.com/rate_limit
at
sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1894)
at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
at
sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:347)
at org.kohsuke.github.Requester.parse(Requester.java:615)
... 18 more
{code}