Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

e2e test failing intermittently #11669

Open
Salipa-Gurung opened this issue Sep 27, 2024 · 3 comments
Open

e2e test failing intermittently #11669

Salipa-Gurung opened this issue Sep 27, 2024 · 3 comments
Assignees

Comments

@Salipa-Gurung
Copy link
Contributor

Description

Build: https://drone.owncloud.com/owncloud/web/47922/15/8

Failures:

1) Scenario: access token renewal via iframe (attempt 2) # tests/e2e/cucumber/features/oidc/iframeTokenRenewal.feature:8
   ✖ Before # file:/var/www/owncloud/web/tests/e2e/cucumber/environment/index.ts:28
       Error: Logon failed: Expected status code be 200 but received 502 Message: Bad Gateway
           at getAuthorizedEndPoint (file:///var/www/owncloud/web/tests/e2e/support/api/token/utils.ts:26:15)
           at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
           at async setAccessAndRefreshToken (file:///var/www/owncloud/web/tests/e2e/support/api/token/utils.ts:76:38)
           at async setAccessToken (file:///var/www/owncloud/web/tests/e2e/support/utils/tokenHelper.ts:19:5)
           at async setAdminToken (file:///var/www/owncloud/web/tests/e2e/cucumber/environment/index.ts:183:12)
           at async World.<anonymous> (file:///var/www/owncloud/web/tests/e2e/cucumber/environment/index.ts:60:13)
   - Given "Admin" creates following users using API # file:/var/www/owncloud/web/tests/e2e/cucumber/steps/api.ts:4
       | id    |
       | Alice |
   - And "Admin" assigns following roles to the users using API # file:/var/www/owncloud/web/tests/e2e/cucumber/steps/api.ts:11
       | id    | role        |
       | Alice | Space Admin |
   - And "Alice" logs in # file:/var/www/owncloud/web/tests/e2e/cucumber/steps/ui/session.ts:33
   - And "Alice" opens the "files" app # file:/var/www/owncloud/web/tests/e2e/cucumber/steps/ui/application.ts:9
   - And "Alice" navigates to the projects space page # file:/var/www/owncloud/web/tests/e2e/cucumber/steps/ui/spaces.ts:9
   - And "Alice" creates the following project spaces # file:/var/www/owncloud/web/tests/e2e/cucumber/steps/ui/spaces.ts:14
       | name | id     |
       | team | team.1 |
   - When "Alice" waits for token renewal via iframe # file:/var/www/owncloud/web/tests/e2e/cucumber/steps/ui/session.ts:60
   - And "Alice" navigates to the project space "team.1" # file:/var/www/owncloud/web/tests/e2e/cucumber/steps/ui/spaces.ts:21
   - And "Alice" creates the following resources # file:/var/www/owncloud/web/tests/e2e/cucumber/steps/ui/resources.ts:7
       | resource     | type   |
       | space-folder | folder |
   - Then following resources should be displayed in the files list for user "Alice" # file:/var/www/owncloud/web/tests/e2e/cucumber/steps/ui/resources.ts:228
       | resource     |
       | space-folder |
   - And "Alice" logs out # file:/var/www/owncloud/web/tests/e2e/cucumber/steps/ui/session.ts:42
   ✔ After # file:/var/www/owncloud/web/tests/e2e/cucumber/environment/index.ts:91
@PrajwolAmatya PrajwolAmatya self-assigned this Oct 15, 2024
@PrajwolAmatya
Copy link
Contributor

ocis logs:

{"level":"error","service":"proxy","error":"not found","service":"com.owncloud.web.idp","time":"2024-10-08T04:23:48Z","message":"could not select service from the registry"}
2024/10/08 04:23:48 http: proxy error: unsupported protocol scheme ""
{"level":"error","service":"proxy","error":"not found","service":"com.owncloud.web.idp","time":"2024-10-08T04:23:48Z","message":"could not select service from the registry"}
2024/10/08 04:23:48 http: proxy error: unsupported protocol scheme ""

@PrajwolAmatya
Copy link
Contributor

Related PR #11791.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants