Actions
Bug #41305
closedmgr/dashboard: dashboard tests fail on e2e tests
Status:
Duplicate
Priority:
High
Assignee:
-
Category:
Testing & QA
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
Currently, ceph dashboard tests on github PRs is failing because of e2e test failure.
************************************************** * Failures * ************************************************** 1) RGW users page create, edit & delete user test should create user - Failed: Wait timed out after 10000ms 2) RGW users page create, edit & delete user test should edit users full name, email and max buckets - Failed: Wait timed out after 10008ms 3) RGW users page create, edit & delete user test should delete user - Failed: Wait timed out after 10008ms 4) RGW users page Invalid input test should put invalid input into user creation form and check fields are marked invalid - Failed: Wait timed out after 10004ms 5) RGW users page Invalid input test should put invalid input into user edit form and check fields are marked invalid - Failed: Wait timed out after 10003ms Executed 71 of 71 specs (5 FAILED) in 2 mins 22 secs.
Some failing jenkins jobs:
https://jenkins.ceph.com/job/ceph-dashboard-pull-requests/1119/console
https://jenkins.ceph.com/job/ceph-dashboard-pull-requests/1117/console
https://jenkins.ceph.com/job/ceph-dashboard-pull-requests/1116/console
Files
Updated by Kiefer Chang over 4 years ago
some finding so far:
- Buckets are created and owned by user `0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef` in buckets.e2e-spec.ts test.
(https://github.com/ceph/ceph/blob/8958df969e902226fe1603a57b3a64e708a9e67b/src/pybind/mgr/dashboard/frontend/e2e/rgw/buckets.e2e-spec.ts#L25) - the bucket's owner is changed to `dev` later
(https://github.com/ceph/ceph/blob/8958df969e902226fe1603a57b3a64e708a9e67b/src/pybind/mgr/dashboard/frontend/e2e/rgw/buckets.e2e-spec.ts#L32) - Somehow if we assigned owner to a bucket, a new user called `<uid>.buckets` is created. Maybe this is a bug.
bin/radosgw-admin user list [ "56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234", "testx$9876543210abcdef0123456789abcdef0123456789abcdef0123456789abcdef", "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef", "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef.buckets", <--- "dev.buckets", <---- "test", "testid", "dev" ]
- When navigating to page Object Gateway -> Users in `users.e2e-spec.ts`, frontend gets user list from backend and gets information for every user. If we get information for a user whose uid is ended with .buckets, there will be an error. And the e2e tests fail with timeout because the page continues waiting for result.
Updated by Kiefer Chang over 4 years ago
I also used s3cmd to test RGW behavior. If <user> create a bucket, a new user called <user>.buckets is also automatically created.
Updated by Lenz Grimmer over 4 years ago
- Status changed from New to Duplicate
Duplicate of #41300 (RGW regression)
Updated by Lenz Grimmer over 4 years ago
- Is duplicate of Bug #41300: AssertionError in radosgw-admin-rest task added
Updated by Ernesto Puerta about 3 years ago
- Project changed from mgr to Dashboard
- Category changed from 151 to Testing & QA
Actions