[
https://issues.jboss.org/browse/JBIDE-14023?page=com.atlassian.jira.plugi...
]
Andre Dietisheim edited comment on JBIDE-14023 at 4/17/13 5:01 AM:
-------------------------------------------------------------------
I mailed libra-team on 2013-05-14
{quote}
title: many "500 internal errors" happening for openshift-java-client on STG
Hi
Running my integration test for openshift-java-client the test-suite hits many 500
"internal error" on INT (34 currently and started happening on the 2013-04-10
).
Most of them happen when the client tries to list the available applications:
{"data":null,"errors":{},"messages":[{"exit_code":-1,"field":null,"severity":"error","text":"\nReference
ID:
f0c6ada8cd6dd8f36cb3abc1ce9bc487"}],"status":"internal_server_error","supported_api_versions":[1.0,1.1,1.2,1.3,1.4],"type":null,"version":"1.0"}
at
com.openshift.internal.client.httpclient.UrlConnectionHttpClient.createException(UrlConnectionHttpClient.java:204)
at
com.openshift.internal.client.httpclient.UrlConnectionHttpClient.write(UrlConnectionHttpClient.java:176)
at
com.openshift.internal.client.httpclient.UrlConnectionHttpClient.post(UrlConnectionHttpClient.java:146)
at
com.openshift.internal.client.httpclient.UrlConnectionHttpClient.post(UrlConnectionHttpClient.java:142)
at com.openshift.internal.client.RestService.request(RestService.java:146)
at com.openshift.internal.client.RestService.request(RestService.java:98)
... 68 more
Caused by: java.io.IOException: Server returned HTTP response code: 500 for URL:
https://int.openshift.redhat.com/broker/rest/domains/1366023591076/applic...
at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1459)
at
sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:234)
at
com.openshift.internal.client.httpclient.UrlConnectionHttpClient.write(UrlConnectionHttpClient.java:174)
... 72 more
The very same is not happening neither on STG nor on PROD.
I was wondering if there's any particular reason for this, anything wrong on my side
or is it STG not being stable?
Another frequent error that keeps popping up here and there (on PROD and INT, very rarely
on INT currently) is the following:
com.openshift.client.OpenShiftEndpointException: Could not request
https://openshift.redhat.com/broker/rest/user: Operation failed.Reason given:
"OpenShift::AuthServiceException"
...
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: com.openshift.internal.client.httpclient.HttpClientException:
{"data":null,"messages":[{"exit_code":null,"field":null,"severity":"error","text":"OpenShift::AuthServiceException"}],"status":"internal_server_error","supported_api_versions":[1.0,1.1,1.2,1.3,1.4],"type":null,"version":"1.0"}
at
com.openshift.internal.client.httpclient.UrlConnectionHttpClient.createException(UrlConnectionHttpClient.java:204)
at
com.openshift.internal.client.httpclient.UrlConnectionHttpClient.get(UrlConnectionHttpClient.java:113)
at com.openshift.internal.client.RestService.request(RestService.java:144)
at com.openshift.internal.client.RestService.request(RestService.java:98)
... 67 more
Caused by: java.io.IOException: Server returned HTTP response code: 500 for URL:
https://openshift.redhat.com/broker/rest/user
at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1459)
at
sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:234)
at
com.openshift.internal.client.httpclient.UrlConnectionHttpClient.get(UrlConnectionHttpClient.java:111)
Thanks!
André
{quote}
I started talking to Lili Nader which told me to look the operation references reported in
the error up in the broker logs. I answered her that I could not do that since I had no
root access on INT.
We need to further follow up on this.
was (Author: adietish):
I mailed libra-team on 2013-05-14
{quote}
title: many "500 internal errors" happening for openshift-java-client on STG
Hi
Running my integration test for openshift-java-client the test-suite hits many 500
"internal error" on INT (34 currently and started happening on the 2013-04-10
).
Most of them happen when the client tries to list the available applications:
{"data":null,"errors":{},"messages":[{"exit_code":-1,"field":null,"severity":"error","text":"\nReference
ID:
f0c6ada8cd6dd8f36cb3abc1ce9bc487"}],"status":"internal_server_error","supported_api_versions":[1.0,1.1,1.2,1.3,1.4],"type":null,"version":"1.0"}
at
com.openshift.internal.client.httpclient.UrlConnectionHttpClient.createException(UrlConnectionHttpClient.java:204)
at
com.openshift.internal.client.httpclient.UrlConnectionHttpClient.write(UrlConnectionHttpClient.java:176)
at
com.openshift.internal.client.httpclient.UrlConnectionHttpClient.post(UrlConnectionHttpClient.java:146)
at
com.openshift.internal.client.httpclient.UrlConnectionHttpClient.post(UrlConnectionHttpClient.java:142)
at com.openshift.internal.client.RestService.request(RestService.java:146)
at com.openshift.internal.client.RestService.request(RestService.java:98)
... 68 more
Caused by: java.io.IOException: Server returned HTTP response code: 500 for URL:
https://int.openshift.redhat.com/broker/rest/domains/1366023591076/applic...
at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1459)
at
sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:234)
at
com.openshift.internal.client.httpclient.UrlConnectionHttpClient.write(UrlConnectionHttpClient.java:174)
... 72 more
The very same is not happening neither on STG nor on PROD.
I was wondering if there's any particular reason for this, anything wrong on my side
or is it STG not being stable?
Another frequent error that keeps popping up here and there (on PROD and INT, very rarely
on INT currently) is the following:
com.openshift.client.OpenShiftEndpointException: Could not request
https://openshift.redhat.com/broker/rest/user: Operation failed.Reason given:
"OpenShift::AuthServiceException"
...
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: com.openshift.internal.client.httpclient.HttpClientException:
{"data":null,"messages":[{"exit_code":null,"field":null,"severity":"error","text":"OpenShift::AuthServiceException"}],"status":"internal_server_error","supported_api_versions":[1.0,1.1,1.2,1.3,1.4],"type":null,"version":"1.0"}
at
com.openshift.internal.client.httpclient.UrlConnectionHttpClient.createException(UrlConnectionHttpClient.java:204)
at
com.openshift.internal.client.httpclient.UrlConnectionHttpClient.get(UrlConnectionHttpClient.java:113)
at com.openshift.internal.client.RestService.request(RestService.java:144)
at com.openshift.internal.client.RestService.request(RestService.java:98)
... 67 more
Caused by: java.io.IOException: Server returned HTTP response code: 500 for URL:
https://openshift.redhat.com/broker/rest/user
at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1459)
at
sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:234)
at
com.openshift.internal.client.httpclient.UrlConnectionHttpClient.get(UrlConnectionHttpClient.java:111)
Thanks!
André
{quote}
I started talking to Lili Nader which told me to look the operation references reported in
the error up in the broker logs. I answered her that I could not do that since I had no
root access on INT.
investigate and make sure that openshift-java-client test get blue
when testing PROD, STG and INT
-------------------------------------------------------------------------------------------------
Key: JBIDE-14023
URL:
https://issues.jboss.org/browse/JBIDE-14023
Project: Tools (JBoss Tools)
Issue Type: Task
Components: openshift
Affects Versions: 4.1.0.Alpha2
Reporter: Andre Dietisheim
Assignee: Andre Dietisheim
Fix For: 4.1.0.Beta1
our matrix-test is testing openshift-java-client against PROD, INT and STG which turns
out to be very unreliable. The tests have a lot of issues which I cannot explain (server
answers with 500 "internal error", Auth errors etc.).
On the other hand there's now a test that's using a dedicated instance which runs
perfectly fine (currently blue). This integration test is included in the openshift test
which tests all openshift components:
https://ci.dev.openshift.redhat.com/jenkins/job/broker_extended/
We need to invetigate why the integration tests against PROD, STG and INT are still
unreliable.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira