owncloud / ocis

:atom_symbol: ownCloud Infinite Scale Stack
https://doc.owncloud.com/ocis/next/
Apache License 2.0
1.36k stars 180 forks source link

Release 3.0.0 RC1 #6105

Closed individual-it closed 1 year ago

individual-it commented 1 year ago

Tasks

Pre QA Phase

QA Phase

single binary

test new features https://confluence.owncloud.com/display/PROD/Infinite+Scale+3.0+Featureset

docker

docker-compose

helm/k8s @saw-jan

test instance owncloud.works

on test instance

(ping @micbar for accounts)

Collecting errors found

test instance bugs

After QA Phase

ScharfViktor commented 1 year ago

Compatibility test

from 2.0.0 to 3.0.0-rc.1

Create these with the original oCIS version and see if still the same after upgrading:

remarks:

aftrer switching to ocis:3.0.0-rc.1 need to add GRAPH_APPLICATION_ID: random UUID to env see https://github.com/owncloud/ocis/issues/6118

{"level":"info","service":"ocis","event":"ocis: Failed service 'command.SutureService{cfg:(*config.Config)(0x40016174a0)}' (1.000000 failures of 5.000000), restarting: true, error: error parsing mapping JSON: unexpected end of JSON input\nmapping contents:\n","time":"2023-04-25T13:27:34.133686128Z","line":"github.com/owncloud/ocis/v2/ocis/pkg/runtime/service/service.go:184","message":"supervisor: ocis"}


- tag `GET https://ocis.owncloud.test/graph/v1.0/extensions/org.libregraph/tags` 500 code
log: 

{"level":"info","service":"proxy","proto":"HTTP/1.1","request-id":"61c47fbc-f9f8-4938-89e9-300dab7f9346","remote-addr":"192.168.16.1","method":"GET","status":500,"path":"/graph/v1.0/extensions/org.libregraph/tags","duration":21.181458,"bytes":0,"time":"2023-04-25T13:28:07.194669171Z","line":"github.com/owncloud/ocis/v2/services/proxy/pkg/middleware/accesslog.go:28","message":"access-log"}

individual-it commented 1 year ago

smoke test with local storage

Case 1: admin share folder(with file) to marie:

Admin:

Marie:

Admin:

Marie:

Admin:

Marie:

Admin:

Case 2: admin share file to marie:

Admin:

Marie:

Admin:

Marie:

Admin:

Case 3: admin create public links to folder

Admin:

Case 4: admin create link to file

Admin:

Case 5: space story:

Katherine:

Marie:

Einstein:

Case 6: create new user via accounts:

Admin:

Case 7: Search

grgprarup commented 1 year ago

Smoke test with docker

Case 1: admin share folder(with file) to marie:

Admin:

Marie:

Admin:

Marie:

Admin:

Marie:

Admin:

Case 2: admin share file to marie:

Admin:

Marie:

Admin:

Marie:

Admin:

Case 3: admin create public links to folder

Admin:

Case 4: admin create link to file

Admin:

Case 5: space story:

Katherine:

Marie:

Einstein:

Case 6: create new user via accounts:

Admin:

Case 7: Search

ScharfViktor commented 1 year ago

e2e tests agains ocis_traefik using messagepack - successfully

image
ScharfViktor commented 1 year ago

smoke ocis agains ldap

Remarks: Admin can not change/create users or group using Administration Settings but can delete groups and users - fixed here https://github.com/owncloud/ocis/pull/6164

grgprarup commented 1 year ago

smoke test with s3 storage

Case 1: admin share folder(with file) to marie:

Admin:

Marie:

Admin:

Marie:

Admin:

Marie:

Admin:

Case 2: admin share file to marie:

Admin:

Marie:

Admin:

Marie:

Admin:

Case 3: admin create public links to folder

Admin:

Case 4: admin create link to file

Admin:

Case 5: space story:

Katherine:

Marie:

Einstein:

Case 6: create new user via accounts:

Admin:

Case 7: Search

ScharfViktor commented 1 year ago

e2e tests against ldap: image

Remarks:

## no notiffication to user. no configuration in docker compose ![Screenshot 2023-04-27 at 14 22 17](https://user-images.githubusercontent.com/84779829/234860228-2d54fb6f-adea-41c8-9e5d-1373b31aa43e.png) log: ``` {"level":"error","service":"proxy","error":"not found","service":"com.owncloud.userlog.userlog","time":"2023-04-27T12:17:29.423137876Z","line":"github.com/owncloud/ocis/v2/services/proxy/pkg/router/router.go:139","message":"could not select service from the registry"} 2023/04/27 12:17:29 http: proxy error: unsupported protocol scheme "" {"level":"info","service":"proxy","proto":"HTTP/1.1","request-id":"9651f55d-9ade-4abc-b5cc-2359cd6a079e","remote-addr":"172.29.0.1","method":"GET","status":502,"path":"/ocs/v2.php/apps/notifications/api/v1/notifications","duration":10.633583,"bytes":0,"time":"2023-04-27T12:17:29.423246334Z","line":"github.com/owncloud/ocis/v2/services/proxy/pkg/middleware/accesslog.go:28","message":"access-log"} ```
## batch action add users to group gets error 500 ![image](https://user-images.githubusercontent.com/84779829/234861973-0b6df00c-2ef2-408f-9d42-c43aabb3c44a.png) log: ``` {"level":"info","service":"proxy","proto":"HTTP/1.1","request-id":"8274a111-4d0c-4736-bd8e-f31cefea247e","remote-addr":"172.29.0.1","method":"POST","status":204,"path":"/graph/v1.0/groups/be2bdfad-348e-431a-b016-29362024d748/members/$ref","duration":23.627458,"bytes":0,"time":"2023-04-27T12:29:27.500430042Z","line":"github.com/owncloud/ocis/v2/services/proxy/pkg/middleware/accesslog.go:28","message":"access-log"} {"level":"info","service":"graph","request-id":"0484eedc-a675-46f8-8b80-940d94d5651c","error":"LDAP Result Code 16 \"No Such Attribute\": modify/delete: member: no such value","time":"2023-04-27T12:29:27.500694958Z","line":"github.com/owncloud/ocis/v2/services/graph/pkg/identity/ldap_group.go:335","message":"Failed to modify group member entries on PATCH group"} {"level":"info","service":"graph","request-id":"cc2771a2-ec62-41fe-be2f-6c6039d851de","error":"LDAP Result Code 16 \"No Such Attribute\": modify/delete: member: no such value","time":"2023-04-27T12:29:27.500871875Z","line":"github.com/owncloud/ocis/v2/services/graph/pkg/identity/ldap_group.go:335","message":"Failed to modify group member entries on PATCH group"} {"level":"info","service":"proxy","proto":"HTTP/1.1","request-id":"cc2771a2-ec62-41fe-be2f-6c6039d851de","remote-addr":"172.29.0.1","method":"POST","status":500,"path":"/graph/v1.0/groups/be2bdfad-348e-431a-b016-29362024d748/members/$ref","duration":24.471458,"bytes":204,"time":"2023-04-27T12:29:27.501266958Z","line":"github.com/owncloud/ocis/v2/services/proxy/pkg/middleware/accesslog.go:28","message":"access-log"} {"level":"info","service":"proxy","proto":"HTTP/1.1","request-id":"0484eedc-a675-46f8-8b80-940d94d5651c","remote-addr":"172.29.0.1","method":"POST","status":500,"path":"/graph/v1.0/groups/be2bdfad-348e-431a-b016-29362024d748/members/$ref","duration":24.708583,"bytes":204,"time":"2023-04-27T12:29:27.501528833Z","line":"github.com/owncloud/ocis/v2/services/proxy/pkg/middleware/accesslog.go:28","message":"access-log"} {"RemoteAddr":"","User":"","URL":"","Method":"","UserAgent":"","Time":"","App":"admin_audit","Message":"user 'ddc2004c-0977-11eb-9d3f-a793888cd0f8' added user 'be2bdfad-348e-431a-b016-29362024d748' was added to group '91b3705c-6df0-47bb-b98f-2b4eac51ff92'","Action":"group_member_added","CLI":false,"Level":1,"GroupID":"be2bdfad-348e-431a-b016-29362024d748","UserID":"91b3705c-6df0-47bb-b98f-2b4eac51ff92"} ```
ScharfViktor commented 1 year ago

test hello extension- failed same error as here: https://github.com/owncloud/ocis/issues/4986#issuecomment-1310325566

kulmann commented 1 year ago

test hello extension- failed same error as here: #4986 (comment)

That is expected. hello extension is not maintained.

ScharfViktor commented 1 year ago

e2e test against wopi - successfully. 2 failed tests were flaky (Checked that it works)

image

ScharfViktor commented 1 year ago

Smoke Test with Web Office

Collabora

Onlyoffice

Observations

KarunAtreya commented 1 year ago

Smoke test with nfs

Case 1: admin share folder(with file) to marie:

Admin:

Marie:

Admin:

Marie:

Admin:

Marie:

Admin:

Case 2: admin share file to marie:

Admin:

Marie:

Admin:

Marie:

Admin:

Case 3: admin create public links to folder

Admin:

Case 4: admin create link to file

Admin:

Case 5: space story:

Katherine:

Marie:

Einstein:

Case 6: create new user via accounts:

Admin:

Case 7: Search

saw-jan commented 1 year ago

Smoke test (helm/k8s) :heavy_check_mark:

Test cases ### Case 1: admin share folder(with file) to marie: Admin: - [x] upload big file 10gb (Show details, pause upload, resume upload work correct) - [x] upload folder with 803 small images. - [x] Check pagination, count items per page. - [x] upload folder(drag folder) "folder_to_share" with sample.pdf - [x] share folder "folder_to_share" to marie with editor role Marie: - [x] accept "folder_to_share" - [x] upload new file "file.txt" to "folder_to_share" (admin sees file.txt) - [x] open sample.pdf - [x] rename sample.pdf to file.pdf (use rigth click) (admin now sees file.pdf) Admin: - [x] add new file.jpeg to "folder_to_share" - [x] move file.pdf to root (ctrl x -> ctrl v) "personal" (marie can not see file.pdf) - [x] add new "file.txt" (select replace option) create new version. (use drag and drop) - [x] open "file.txt" in text-editor. Change and save. (admin sees "file.txt" updated) Admin: - [x] change share "folder_to_share" from role "editor" to "viewer" (marie cannot rename/move/delete files in folder and cannot create new document in the folder) Marie: - [x] can decline "folder_to_share" - [x] can accept again Admin: - [x] delete folder "folder_to_share" (removed from shared with me, removed from Marie) ## Case 2: admin share file to marie: Admin: - [x] upload file.jpeg - [x] share file.jpeg to marie with role viewer (use main menu. find marie by email marie@example.org) Marie: - [x] accept file - [x] can open/download file - [x] can share/copy quicklink - [x] cannot delete/move/rename file Admin: - [x] share share "file.txt" with editor role Marie: - [x] change content of the file (admin can see new version) Admin: - [x] remove share "file.jpeg" (marie cannot see "file.jpeg") ## Case 3: admin create public links to folder Admin: - [x] create folder "for upload" - [x] add link with name "to_upload" with role "Uploader" with password and expiration date - [x] open link and enter password (can only upload) - [x] upload file (admin can see new file) - [x] change share "for upload" from "Uploader" to "editor" - [x] admin add new file to folder "for upload" - [x] refresh link (file exist) - [x] admin changes password (refresh link has to type new password) ## Case 4: admin create link to file Admin: - [x] create file png - [x] add link with main menu - [x] open link(can open, download, see) in the incognito tab - [x] edit link by adding password - [x] refresh page (input password) - [x] delete link - [x] refresh page (resource not found) - [x] delete file - [x] restore - [x] delete - [x] Empty trash ## Case 5: space story: Katherine: - [x] create space - [x] add space image - [x] add subtitle "for test" - [x] edit description - [x] try to upload file (more 1 Gb) - [x] increase quota to 5Gb and try again - [x] delete file - [x] add member Marie with editor role - [x] add member Einstein with viewer role Marie: - [x] can see space without accepting - [x] change image and description - [x] can upload file/folder and create file and folder - [x] cannot share space or space resource - [x] can see deleted files and can restore files from trash - [x] cannot disable space Einstein: - [x] can see space without accepting - [x] cannot change image and description - [x] cannot upload file/folder and create file and folder - [x] cannot share space - [x] can see deleted files and cannot restore files from trash - [x] cannot disable space ## Case 6: create new user via accounts: Admin: - [x] create new user account - [x] create new group - [x] add user to group - [x] share folder with group - [x] change language - [x] delete users ## Case 7: Search - [x] personal space - [x] project space - [x] share jail
micbar commented 1 year ago

Changes between 3.0.0-rc.2 and 3.0.0-rc.1

Web

oCIS

Reva

Full List of changes

Details

ScharfViktor commented 1 year ago

the rest of the work will be: https://github.com/owncloud/ocis/issues/6230