You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The REST API endpoint /user-repo/scan is unstable from time to time. It returns HTTP code 504 when HTTP 200/OK is expected.
Please see the following e2e tests results:
Scenario: Check the Gemini API /api/v1/user-repo/scan response # features/gemini.feature:92
Given Gemini service is running # features/steps/gemini.py:18
And Gemini service git url is https://github.com/jitpack/maven-simple # features/steps/gemini.py:24
And Gemini service git sha is 9466faa13d65044c8430b418327df826f13ca07a # features/steps/gemini.py:30
When I post to Gemini API /api/v1/user-repo/scan # features/steps/gemini.py:80
INFO:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): gemini.api.prod-preview.openshift.io
Then I should get 401 status code # features/steps/common.py:90
And I should receive JSON response containing the error key # features/steps/common.py:116
And I should find the text "Authentication failed" stored under the key error # features/steps/common.py:129
When I acquire the authorization token # features/steps/authorization.py:36
Then I should get the proper authorization token # features/steps/authorization.py:22
When I post to Gemini API /api/v1/user-repo/scan with authorization token # features/steps/gemini.py:80
INFO:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): gemini.api.prod-preview.openshift.io
Then I should get 200 status code # features/steps/common.py:90
Assertion Failed: assert 504 == 200
+ where 504 = <Response [504]>.status_code
+ where <Response [504]> = <behave.runner.Context object at 0x7f4049aefe10>.response
Captured logging:
INFO:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): gemini.api.prod-preview.openshift.io
INFO:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): gemini.api.prod-preview.openshift.io
The text was updated successfully, but these errors were encountered:
The REST API endpoint
/user-repo/scan
is unstable from time to time. It returns HTTP code 504 when HTTP 200/OK is expected.Please see the following e2e tests results:
The text was updated successfully, but these errors were encountered: