Pavel Emelyanov
9be759828f
transport: test that connection_stage is READY after auth via all process_startup paths
...
The cert-auth path in process_startup (introduced in 20e9619bb1 ) was
missing _ready = true, _authenticating = false, update_scheduling_group()
and on_connection_ready(). The result is that connections authenticated
via certificate show connection_stage = AUTHENTICATING in system.clients
forever, run under the wrong service-level scheduling group, and hold
the uninitialized-connections semaphore slot for the lifetime of the
connection.
Add a parametrized cluster test that verifies all three process_startup
branches result in connection_stage = READY:
- allow_all: AllowAllAuthenticator (no-auth path)
- password: PasswordAuthenticator (SASL/process_auth_response path)
- cert_bypass: CertificateAuthenticator with transport_early_auth_bypass
error injection (cert-auth path -- the buggy one)
The injection is added to certificate_authenticator::authenticate() so
tests can bypass actual TLS certificate parsing while still exercising
the cert-auth code path in process_startup.
The cert_bypass case is marked xfail until the bug is fixed.
Signed-off-by: Pavel Emelyanov <xemul@scylladb.com >
Co-authored-by: Marcin Maliszkiewicz <marcinmal@scylladb.com >
(cherry picked from commit da6fe14035 )
2026-05-15 11:57:06 +02:00
..
2026-05-15 11:57:06 +02:00
2026-04-21 19:31:22 +02:00
2026-01-13 00:38:00 +01:00
2026-05-14 17:15:36 +02:00
2026-01-21 10:47:36 +02:00
2026-01-13 00:38:00 +01:00
2026-04-06 14:25:13 +03:00
2026-01-13 10:22:38 +02:00
2026-01-08 21:55:18 +02:00
2026-01-08 21:55:16 +02:00
2026-01-29 22:46:11 +02:00
2026-05-06 15:00:44 +03:00
2026-04-24 18:31:11 +03:00
2026-01-08 21:55:16 +02:00
2026-01-08 21:55:16 +02:00
2026-04-01 09:58:20 +02:00
2026-01-08 21:55:16 +02:00
2026-01-08 21:55:16 +02:00
2026-01-08 21:55:16 +02:00
2026-01-08 21:55:16 +02:00
2025-11-13 17:00:08 +01:00
2026-01-13 00:38:00 +01:00
2025-12-12 15:11:03 +02:00
2025-09-09 19:01:12 +02:00
2026-03-05 17:46:39 +02:00
2025-12-30 17:34:56 +01:00
2026-01-08 21:55:16 +02:00
2026-02-27 01:38:13 +02:00
2026-01-08 21:55:16 +02:00
2026-01-14 17:50:46 +02:00
2026-01-13 00:38:00 +01:00
2026-01-08 21:55:16 +02:00
2026-01-08 21:55:16 +02:00
2026-01-08 21:55:16 +02:00
2026-04-24 18:31:11 +03:00
2026-01-14 13:11:27 +01:00
2025-09-09 19:01:12 +02:00
2026-02-27 06:32:15 +02:00
2026-04-16 21:09:09 +03:00
2026-05-08 11:24:02 +02:00
2026-01-13 00:38:00 +01:00
2026-01-08 21:55:16 +02:00
2026-01-08 21:55:16 +02:00
2026-04-06 14:21:46 +03:00
2026-01-08 21:55:16 +02:00
2026-01-08 21:55:16 +02:00
2026-01-14 09:55:45 +01:00
2026-04-24 17:55:33 +03:00
2026-05-11 09:38:13 -03:00
2025-08-22 09:51:24 +03:00
2026-03-20 10:32:31 +02:00
2026-03-03 10:21:11 +01:00
2025-10-29 23:32:58 +01:00
2025-12-29 14:22:34 +01:00
2025-09-08 17:14:37 +02:00
2026-01-08 21:55:16 +02:00
2026-01-08 21:55:16 +02:00
2026-02-02 17:02:16 +00:00
2026-01-08 21:55:16 +02:00
2025-08-22 09:51:24 +03:00
2026-04-06 14:22:08 +03:00
2025-11-25 09:15:46 +01:00
2025-12-12 15:11:03 +02:00
2025-11-24 17:12:13 +01:00
2026-01-08 21:55:16 +02:00
2026-01-08 21:55:16 +02:00
2026-01-08 21:53:47 +02:00
2026-03-20 10:27:04 +02:00
2026-03-10 22:48:14 +02:00
2026-01-08 21:55:16 +02:00
2026-01-08 21:55:16 +02:00
2026-03-17 18:04:27 +01:00
2026-01-22 06:55:16 +02:00
2025-10-24 21:23:41 +03:00
2026-01-08 21:55:16 +02:00
2026-01-22 14:13:42 +03:00
2026-01-08 21:55:16 +02:00
2026-04-24 18:31:11 +03:00
2026-01-21 10:47:36 +02:00
2026-05-13 09:37:12 +03:00
2026-01-08 21:55:16 +02:00
2025-12-03 15:35:59 +01:00
2026-01-13 00:38:00 +01:00
2026-01-08 21:55:16 +02:00
2026-01-08 21:55:16 +02:00
2026-02-17 08:35:16 +01:00
2026-04-06 14:20:46 +03:00
2026-01-13 20:45:59 +02:00
2026-02-26 09:26:23 +02:00
2025-10-29 20:13:08 +02:00
2026-04-06 22:07:57 +03:00
2026-01-13 00:38:00 +01:00
2026-01-15 10:25:45 +01:00
2025-09-19 12:50:20 +03:00
2026-01-21 14:56:01 +01:00
2026-01-08 21:55:16 +02:00
2026-04-21 15:11:49 +02:00
2026-01-09 16:11:39 +08:00
2026-05-13 09:42:09 +03:00
2026-04-24 18:31:11 +03:00
2026-01-13 00:38:00 +01:00
2026-01-08 21:55:16 +02:00
2026-01-13 00:38:00 +01:00
2026-05-06 15:00:44 +03:00
2026-05-14 17:14:05 +02:00
2026-02-17 10:03:50 +01:00
2026-02-20 16:35:39 +00:00
2026-01-13 00:38:00 +01:00
2026-04-20 14:18:56 +03:00
2026-01-08 21:55:16 +02:00
2026-01-18 15:36:07 +01:00
2026-01-13 00:38:00 +01:00
2026-02-18 12:36:52 +02:00
2026-01-13 00:38:00 +01:00
2025-09-01 14:16:29 +02:00
2025-08-22 09:51:24 +03:00
2026-01-08 21:55:16 +02:00
2026-03-20 10:22:40 +02:00
2026-01-08 21:55:16 +02:00
2026-01-08 21:55:16 +02:00
2026-01-08 21:55:16 +02:00
2025-09-03 07:25:34 +03:00
2026-04-16 10:39:29 +03:00
2026-01-09 10:01:23 +02:00
2025-12-05 09:26:26 +02:00
2026-01-13 00:38:00 +01:00
2026-01-13 00:38:00 +01:00
2026-01-08 21:55:16 +02:00
2026-01-08 21:55:16 +02:00
2026-01-21 15:17:42 +01:00
2025-08-22 09:51:24 +03:00
2026-04-24 17:58:41 +03:00