[COMPASS-4791] Evergreen: Fix failing tests for @mongodb-js/compass-connect on Ubuntu Created: 05/May/21  Updated: 29/Oct/23  Resolved: 19/May/21

Status: Closed
Project: Compass
Component/s: None
Affects Version/s: None
Fix Version/s: 1.27

Type: Task Priority: Major - P3
Reporter: Sergey Petushkov Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: COMPASS-4479
Documentation Changes: Not Needed

 Description   

See log output at https://evergreen.mongodb.com/task_log_raw/10gen_compass_master_ubuntu_oneshot_compile_test_package_publish_patch_baabac59891cfa588571b8282bc4d2cff765e58c_609258c761837d722f04f1fe_21_05_05_08_35_29/0?type=T&text=true



 Comments   
Comment by Githook User [ 03/Jun/21 ]

Author:

{'name': 'Sergey', 'email': 'petushkov.sergey@gmail.com', 'username': 'gribnoysup'}

Message: test: Make sure all tests are passing on Ubuntu and RHEL COMPASS-4789 COMPASS-4791 COMPASS-4792 COMPASS-4793 COMPASS-4794 (#2199)

  • test(hadron-build): Provide package.json engine values that will not break the build
  • test(storage-mixin): Skip all tests that use keytar on linux

There is an issue with gnome-keyring in CI that needs investigation
and resolution before we can make these tests work properly. For now
we are running those tests only on other platforms that gives us
confidence that the secure backend is actually working

  • test: Always use --no-sandbox when running tests with electron runtime

This is to work around the 'Running as root without --no-sandbox is not supported'
issue on RHEL machines where evergreen always uses root user.

  • test(@mongodb-js/compass-connect): Use xvfb for tests that require it; Do not override mongodb server version set by the CI
  • test(mongodb-connection-model): Do not override mongodb server version set by the CI
  • chore: Remove gnome-keyring workaround as it doesn't seem to work anyway

See https://evergreen.mongodb.com/task_log_raw/10gen_compass_master_ubuntu_oneshot_compile_test_package_publish_patch_deada2be5e2b87484d86691426c75cdf07eec128_60a295de0305b922ca406328_21_05_17_16_12_22/0?type\=T\&text\=true where CI still fails even with the 'fix' being applied in the run

  • ci: Enable tests everywhere
Comment by Githook User [ 19/May/21 ]

Author:

{'name': 'Sergey', 'email': 'petushkov.sergey@gmail.com', 'username': 'gribnoysup'}

Message: test: Make sure all tests are passing on Ubuntu and RHEL COMPASS-4789 COMPASS-4791 COMPASS-4792 COMPASS-4793 COMPASS-4794 (#2199)

  • test(hadron-build): Provide package.json engine values that will not break the build
  • test(storage-mixin): Skip all tests that use keytar on linux

There is an issue with gnome-keyring in CI that needs investigation
and resolution before we can make these tests work properly. For now
we are running those tests only on other platforms that gives us
confidence that the secure backend is actually working

  • test: Always use --no-sandbox when running tests with electron runtime

This is to work around the 'Running as root without --no-sandbox is not supported'
issue on RHEL machines where evergreen always uses root user.

  • test(@mongodb-js/compass-connect): Use xvfb for tests that require it; Do not override mongodb server version set by the CI
  • test(mongodb-connection-model): Do not override mongodb server version set by the CI
  • chore: Remove gnome-keyring workaround as it doesn't seem to work anyway

See https://evergreen.mongodb.com/task_log_raw/10gen_compass_master_ubuntu_oneshot_compile_test_package_publish_patch_deada2be5e2b87484d86691426c75cdf07eec128_60a295de0305b922ca406328_21_05_17_16_12_22/0?type\=T\&text\=true where CI still fails even with the 'fix' being applied in the run

  • ci: Enable tests everywhere
Comment by Githook User [ 19/May/21 ]

Author:

{'name': 'Sergey', 'email': 'petushkov.sergey@gmail.com', 'username': 'gribnoysup'}

Message: test: Make sure all tests are passing on Ubuntu and RHEL COMPASS-4789 COMPASS-4791 COMPASS-4792 COMPASS-4793 COMPASS-4794 (#2199)

  • test(hadron-build): Provide package.json engine values that will not break the build
  • test(storage-mixin): Skip all tests that use keytar on linux

There is an issue with gnome-keyring in CI that needs investigation
and resolution before we can make these tests work properly. For now
we are running those tests only on other platforms that gives us
confidence that the secure backend is actually working

  • test: Always use --no-sandbox when running tests with electron runtime

This is to work around the 'Running as root without --no-sandbox is not supported'
issue on RHEL machines where evergreen always uses root user.

  • test(@mongodb-js/compass-connect): Use xvfb for tests that require it; Do not override mongodb server version set by the CI
  • test(mongodb-connection-model): Do not override mongodb server version set by the CI
  • chore: Remove gnome-keyring workaround as it doesn't seem to work anyway

See https://evergreen.mongodb.com/task_log_raw/10gen_compass_master_ubuntu_oneshot_compile_test_package_publish_patch_deada2be5e2b87484d86691426c75cdf07eec128_60a295de0305b922ca406328_21_05_17_16_12_22/0?type\=T\&text\=true where CI still fails even with the 'fix' being applied in the run

  • ci: Enable tests everywhere
Generated at Wed Feb 07 22:37:28 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.