GR tests: match router image to server version, surface docker problem - #13
kaushikpuneet07 wants to merge 2 commits into
Conversation
…errors - Default ROUTER_IMAGE is now derived from SERVER_IMAGE (<repo>/percona-server:X.Y.Z -> <repo>/percona-mysql-router:X.Y.Z), falling back to percona/percona-mysql-router:8.4. A fixed 8.4 router cannot bootstrap against a 9.7 cluster and crash-looped, failing the [router] tests. - mysqlsh_available() only returns False for a missing binary (exit 127); other docker failures (e.g. socket permission denied) now raise with the real error instead of skipping as "mysqlsh not available". - README: document the derived router default. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
… failure
- Default XTRABACKUP_IMAGE is now derived from SERVER_IMAGE
(<repo>/percona-server:X.Y.Z -> <repo>/percona-xtrabackup:X.Y). XtraBackup
refuses servers of another X.Y ("Unsupported server version: '9.7.2-2'"), so
the fixed 8.4 default failed test_backup_restore on 9.7.
- Move the router/xtrabackup image derivation into generic_helper.companion_image().
- On a failed test, attach each node's container state and docker logs tail
to the pytest report; teardown otherwise destroys all server-side evidence.
- README: document the derived defaults.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
|
puneet-work@puneet-work:~/server-qa/test_scripts/ps/group-replication$ SERVER_IMAGE=perconalab/percona-server:9.7.2 pytest -v 2>&1 | tee run-972.log test_backup_restore.py::test_full_and_incremental_backup_restore[haproxy] PASSED [ 4%] ======================= 25 passed in 3846.83s (1:04:06) ======================== |
Uh oh!
There was an error while loading. Please reload this page.