-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Tests test_ldap_external_user_directory occasionally flaky #65762
Copy link
Copy link
Closed
Labels
testingSpecial issue with list of bugs found by CISpecial issue with list of bugs found by CI
Description
Integration tests test_ldap_external_user_directory are flaky
Example report
It is interesting that it has not failed for months, and now it only fails in aarch64.
=================================== FAILURES ===================================
___________________________ test_authentication_pass ___________________________
[gw3] linux -- Python 3.10.12 /usr/bin/python3
def test_authentication_pass():
> assert instance.query(
"select currentUser()", user="janedoe", password="qwerty"
) == TSV([["janedoe"]])
test_ldap_external_user_directory/test.py:52:
.........................................................................
.........................................................................
E helpers.client.QueryRuntimeException: Client failed! Return code: 4, stderr: Code: 516. DB::Exception: Received from 172.16.9.3:9000. DB::Exception: janedoe: Authentication failed: password is incorrect, or there is no user with such name.. Stack trace:
E
E 0. DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c343e08
E 1. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007b9f21c
E 2. DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, String const&) const @ 0x000000000f10cce4
E 3. DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001024ff20
E 4. DB::TCPHandler::receiveHello() @ 0x00000000112643b4
E 5. DB::TCPHandler::runImpl() @ 0x000000001125ab4c
E 6. DB::TCPHandler::run() @ 0x0000000011273048
E 7. Poco::Net::TCPServerConnection::start() @ 0x00000000135ae698
E 8. Poco::Net::TCPServerDispatcher::run() @ 0x00000000135aeb74
E 9. Poco::PooledThread::run() @ 0x0000000013579574
E 10. Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000013577950
E 11. ? @ 0x000000000007d5c8
E 12. ? @ 0x00000000000e5edc
E . (AUTHENTICATION_FAILED)
helpers/client.py:239: QueryRuntimeException
------------------------------ Captured log call -------------------------------
2024-06-26 04:06:01 [ 517 ] DEBUG : Executing query select currentUser() on instance (cluster.py:3449, query)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
testingSpecial issue with list of bugs found by CISpecial issue with list of bugs found by CI