client icon indicating copy to clipboard operation
client copied to clipboard

[QA] Scenario `sharee edits content of files shared by sharer` failed in CI

Open amrita-shrestha opened this issue 3 years ago • 5 comments

Pre-submission Checks

  • [X] I checked for similar issues, but could not find any. I also checked the closed issues. I could not contribute additional information to any existing issue.
  • [X] I will take the time to fill in all the required fields. I know that the bug report may be dismissed otherwise due to lack of information.

Describe the QA issue

In CI Scenario: sharee edits content of files shared by sharer failed

Build: https://drone.owncloud.com/owncloud/client/12289

failed in And the user overwrites the file "simple-folder/textfile.txt" with content "overwrite file inside a folder" step with error message

FileNotFoundError: [Errno 2] No such file or directory: '/tmp/client-bdd/Brian/simple-folder/textfile.txt'

Steps to reproduce the issue

    Scenario: sharee edits content of files shared by sharer
        Given user "Alice" has created folder "simple-folder" on the server
        And user "Alice" has uploaded file with content "file inside a folder" to "simple-folder/textfile.txt" on the server
        And user "Alice" has uploaded file with content "file in the root" to "textfile.txt" on the server
        And user "Brian" has been created on the server with default attributes and without skeleton files
        And user "Alice" has shared folder "simple-folder" on the server with user "Brian" with "all" permissions
        And user "Alice" has shared file "textfile.txt" on the server with user "Brian" with "all" permissions
        And user "Brian" has set up a client with default settings
        When the user overwrites the file "textfile.txt" with content "overwrite file in the root"
        And the user overwrites the file "simple-folder/textfile.txt" with content "overwrite file inside a folder"
        And the user waits for the files to sync
        Then as "Brian" the file "simple-folder/textfile.txt" on the server should have the content "overwrite file inside a folder"
        And as "Brian" the file "textfile.txt" on the server should have the content "overwrite file in the root"
        And as "Alice" the file "simple-folder/textfile.txt" on the server should have the content "overwrite file inside a folder"
        And as "Alice" the file "textfile.txt" on the server should have the content "overwrite file in the root"

Logs

Server Logs: https://cache.owncloud.com/public/owncloud/client/12298/guiReportUpload/serverlog.log

GUI Logs: https://cache.owncloud.com/public/owncloud/client/12298/guiReportUpload/index.html

Screenshot

Screenshot from 2022-07-04 12-17-32

amrita-shrestha avatar Jul 04 '22 04:07 amrita-shrestha

image GUI Logs: https://cache.owncloud.com/public/owncloud/client/12531/guiReportUpload/index.html Server Logs: https://cache.owncloud.com/public/owncloud/client/12531/guiReportUpload/serverlog.log

amrita-shrestha avatar Jul 19 '22 16:07 amrita-shrestha

The file syncing issue resulted in the failure of this scenario.

sushmita56 avatar Jul 22 '22 07:07 sushmita56

Reoccured: Server Logs: https://cache.owncloud.com/public/owncloud/client/12608/guiReportUpload/serverlog.log GUI Logs: https://cache.owncloud.com/public/owncloud/client/12608/guiReportUpload/index.html image Screenshot from 2022-07-25 16-44-56

Doubt that And the user waits for the files to sync step not working properly

amrita-shrestha avatar Jul 25 '22 11:07 amrita-shrestha

Reappeared again in the nightly build serverlog_july27.log

Screenshot from 2022-07-27 12-26-20

sushmita56 avatar Jul 27 '22 06:07 sushmita56

Moving this issue to Todo as the PR opened for solving this issue is blocked for now because of other intermittent failures,

sushmita56 avatar Aug 01 '22 04:08 sushmita56

Seems like the issue with syncing Similar issue is report here https://github.com/owncloud/client/issues/9939 So closing this

saw-jan avatar Sep 12 '22 07:09 saw-jan