Skip to content

Conversation

@schneems
Copy link
Contributor

@schneems schneems commented Nov 11, 2024

Fix #1505 by bypassing redis connection SSL verification.

In #1505 debugging found that trying to connect to a Redis instance with a self-signed certificate via ci-queue would result in no tests being run but the output returning a zero exit code (indicating success). This behavior was reported in Shopify/ci-queue#292 where they shared that it's intentional to handle flaky test workers (shopify scale is much larger than my 16 node setup here).

This PR uses a branch of the ci-queue gem that disables SSL validation by default (allowing connecting to redis servers with self-signed certificates). Differences are here Shopify/ci-queue@main...schneems:ci-queue:schneems/allow-hosted-redis.

The result is that when using these problem versions #1516 is that the suite now executes correctly and reports a failure for the problem versions:

image

After validating that CI behavior I rebased against main which should be green. I'll work towards upstreaming that feature, but in the short term this enables our CI to correctly run tests and report failures.

@schneems schneems force-pushed the schneems/yarn-failure branch 2 times, most recently from 90ed4c3 to 9b6fdc5 Compare November 11, 2024 19:31
@schneems schneems changed the title Emit log order always Emit log order Nov 11, 2024
@schneems schneems force-pushed the schneems/yarn-failure branch 3 times, most recently from c1517b4 to 2c386d5 Compare November 12, 2024 17:50
@schneems schneems changed the title Emit log order Fix tests not executing Nov 12, 2024
Issue #1505 spells out a problem where it appears ci-queue does not fail even when the test suite is broken. I'm unsure why this happens. To debug I'm emitting the tests that run so I can audit to make sure `rspec ./spec/helpers/yarn_installer_spec.rb:6` is executed.

If it's not, then I need to diagnose why. If it is, then perhaps there some ordering bug that's affecting the outcome.
@schneems schneems force-pushed the schneems/yarn-failure branch from 2c386d5 to 2aaad67 Compare November 12, 2024 19:43
@schneems schneems marked this pull request as ready for review November 13, 2024 03:50
@schneems schneems requested a review from a team as a code owner November 13, 2024 03:50
@schneems schneems merged commit a3f4f66 into main Nov 13, 2024
2 of 3 checks passed
@schneems schneems deleted the schneems/yarn-failure branch November 13, 2024 15:11
@heroku-linguist heroku-linguist bot mentioned this pull request Nov 14, 2024
schneems added a commit that referenced this pull request Apr 24, 2025
* Emit log order

Issue #1505 spells out a problem where it appears ci-queue does not fail even when the test suite is broken. I'm unsure why this happens. To debug I'm emitting the tests that run so I can audit to make sure `rspec ./spec/helpers/yarn_installer_spec.rb:6` is executed.

If it's not, then I need to diagnose why. If it is, then perhaps there some ordering bug that's affecting the outcome.

* Update CI-queue

* Update redis version

* Use branch of ci-queue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI doesn't run all tests

2 participants