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

[QA] Sometimes some GUI tests fail with xfce login window #9953

Closed
2 tasks done
saw-jan opened this issue Jul 25, 2022 · 11 comments
Closed
2 tasks done

[QA] Sometimes some GUI tests fail with xfce login window #9953

saw-jan opened this issue Jul 25, 2022 · 11 comments
Assignees
Labels

Comments

@saw-jan
Copy link
Member

saw-jan commented Jul 25, 2022

Pre-submission Checks

  • 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.
  • 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

While running GUI tests, some tests fails and the screenshots of those test failures has xfce login window.

Steps to reproduce the issue

Run GUI tests in CI

Screenshots

logging_out

Failed Scenarios:

  • logging out
  • simple sharing of a file by public link with default expiration date
  • simple sharing of a file by public link with password and expiration date.png
  • simple sharing of file and folder by public link with expiration date.png

NOTE: We need to figure out whether the above tests failed due to this login window or not.

Similar issues

@saw-jan
Copy link
Member Author

saw-jan commented Jul 25, 2022

Failed Scenario: logging out
GUI report:
ss

Server log: logging_out.log

Scenario: Expiration related
GUI report:
dc-exp-dui-report
dc-ss-exp-lookup

@amrita-shrestha
Copy link
Contributor

amrita-shrestha commented Jul 26, 2022

Reoccured again:

Scenario failed:

  • logging out
  • simple sharing of file and folder by public link with expiration date
  • simple sharing of file by public link with password and expiration date

Screenshots

Screenshot

image

Screenshot

image

Screenshot

image

@saw-jan
Copy link
Member Author

saw-jan commented Jul 26, 2022

@amrita-shrestha @sushmita56 any tests that fail with this issue, please, report here. And close existing issues related to this.

@TheOneRing
Copy link
Member

TheOneRing commented Jul 26, 2022

That appears to be the system login screen?
And ah yes thats exactly what this issue is about 🙈

@saw-jan
Copy link
Member Author

saw-jan commented Jul 27, 2022

I suspect, this is also related with #9952
Authentication-popup is mainly caused by gnome-keyring-daemon

@amrita-shrestha
Copy link
Contributor

amrita-shrestha commented Jul 27, 2022

Not sure if this scenario failed due to this issue or not.
Scenario: try to self-share a file/folder
Server log:
serverlog.log

Screenshot

image

@TheOneRing
Copy link
Member

It appears that no user is logged in, if no user is logged in the keychain(password storage backend) can be unavailable.
As only some tests fail, I have to think on auto log out after x min of inactivity.

Maybe use https://manpages.ubuntu.com/manpages/bionic/man1/caffeinate.1.html ?

@saw-jan
Copy link
Member Author

saw-jan commented Jul 27, 2022

It appears that no user is logged in, if no user is logged in the keychain(password storage backend) can be unavailable. As only some tests fail, I have to think on auto log out after x min of inactivity.

Maybe use https://manpages.ubuntu.com/manpages/bionic/man1/caffeinate.1.html ?

So, I guess, this should be implemented in squish docker image while running squishrunner command.

@saw-jan
Copy link
Member Author

saw-jan commented Aug 1, 2022

So, I guess, this should be implemented in squish docker image while running squishrunner command.

Instead of using caffeinate, we came into the conclusion that disabling auto-lock would be the best approach for CI.

@saw-jan
Copy link
Member Author

saw-jan commented Aug 4, 2022

The possible fix PR has been merged but could not test this behavior due to the new issue.
Blocked until owncloud-ci/squish#34

@saw-jan
Copy link
Member Author

saw-jan commented Sep 6, 2022

Must be fixed by this PR #10046

@saw-jan saw-jan closed this as completed Sep 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants