[COMPASS-5911] Saved connections are not being displayed after disconnect on Linux CI Created: 22/Jun/22  Updated: 23/Jun/23  Resolved: 23/Jun/23

Status: Closed
Project: Compass
Component/s: CI, Tech debt
Affects Version/s: None
Fix Version/s: No version

Type: Bug Priority: Major - P3
Reporter: Alena Khineika Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

OS:
node.js / npm versions:
Additional info:


Issue Links:
Duplicate
duplicates COMPASS-6119 Investigate how to fix keychain integ... Closed
Documentation Changes: Not Needed

 Description   

Problem Statement/Rationale

What is going wrong? What action would you like the Engineering team to take?
Saved connections (recent and favorites) are not being displayed on Linux CI on Evergreen (work locally tho and on other platforms).

Steps to Reproduce

How could an engineer replicate the issue you’re reporting?
In the `in-use-encryption.test.ts` test suite enable the `does not store KMS settings if the checkbox is not set` test for Linux.

https://github.com/mongodb-js/compass/blob/COMPASS-5890-e2e-kms-checkbox/packages/compass-e2e-tests/tests/in-use-encryption.test.ts

Expected Results

What do you expect to happen?
E2e tests succeed for Linux.

Actual Results

What do you observe is happening?
E2e tests fail for Linux to display favorites (tried also with recents).

Additional Notes

Any additional information that may be useful to include.

Might be caused by the libraries we use for Linux e.g. gnome-keyring:
https://github.com/mongodb-js/compass/blob/1.29-releases/.github/workflows/check-test.yaml#L34

The readSavedConnectionsFolder function in the test suite verifies that connections are actually stored to disc. Maybe storage-mixing on Linux CI returns the empty folder as a result before files are actually being stored and does not re-render UI when the data comes.



 Comments   
Comment by Anna Henningsen [ 23/Jun/23 ]

Closing this as a duplicate of COMPASS-6119 because we’ve already triaged that one.

Generated at Wed Feb 07 22:41:12 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.