From 0dbade6cf587fa21bb2ee1c081c740b7949a1fe5 Mon Sep 17 00:00:00 2001 From: Tomas Ulin Date: Sun, 23 Aug 2026 14:41:04 +0200 Subject: [PATCH] random test failure --- mysql-test/r/oauth_auto_create.result | 1 + mysql-test/t/oauth_auto_create.test | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/mysql-test/r/oauth_auto_create.result b/mysql-test/r/oauth_auto_create.result index dce181b..f9f7f13 100644 --- a/mysql-test/r/oauth_auto_create.result +++ b/mysql-test/r/oauth_auto_create.result @@ -1,3 +1,4 @@ +call mtr.add_suppression("Authentication requires either RSA keys or SSL encryption"); # # Install and configure the verification key + issuer. auto_create is OFF # by default. diff --git a/mysql-test/t/oauth_auto_create.test b/mysql-test/t/oauth_auto_create.test index 91ecf56..16ec60b 100644 --- a/mysql-test/t/oauth_auto_create.test +++ b/mysql-test/t/oauth_auto_create.test @@ -22,6 +22,16 @@ --source include/not_windows.inc --source oauth_fixtures.inc +# In case (1) below (auto_create OFF + unknown account), the server routes the +# login to its anti-enumeration decoy path, which assigns a RANDOM built-in auth +# plugin to the phantom account. When that plugin is one of the SHA-2 password +# plugins, it logs MY-011248 ("Authentication requires either RSA keys or SSL +# encryption") because the test connects without TLS and no RSA keys are set up. +# The line is an expected artifact of the decoy path (not the vsql_oauth2 +# method), and which plugin gets picked is nondeterministic across platforms, so +# suppress it -- the durable assertion is that the account was NOT created. +call mtr.add_suppression("Authentication requires either RSA keys or SSL encryption"); + --let $pubkey= $autocreate_pubkey --let $token= $autocreate_valid