|
15:46:04 AuthnTests.mandatory_client_cert_ui_login_test... failed [0.75s]
|
15:46:04 AssertionError: "ALERT_CERTIFICATE_REQUIRED" is missing in "HTTPSConnectionPool(host='127.0.0.1', port=19010): Max retries exceeded with url: /uilogin (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:2427)')))"
|
15:46:04 ================== AuthnTests.mandatory_client_cert_ui_login_test output begin =================
|
15:46:04 Generated cert: -----BEGIN CERTIFICATE-----
|
15:46:04 MIIDODCCAiCgAwIBAgIIF7h6JnC1MQkwDQYJKoZIhvcNAQELBQAwJDEiMCAGA1UE
|
15:46:04 AxMZQ291Y2hiYXNlIFNlcnZlciAxYmVmNDI4YjAeFw0yNDAyMjgyMzQ2MDRaFw0y
|
15:46:04 NjA2MDIyMzQ2MDRaMBsxGTAXBgNVBAMTEFRFU1QgQ0xJRU5UIENFUlQwggEiMA0G
|
15:46:04 CSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC1d0dpF7wUMwLMBoMba8CBpi3LjMc3
|
15:46:04 EZp0dh/P8RhL3yNMXaG6j2azoTljx3/ip1pt4U6OY1SCMJcUZwa0dNZSsLdg6v0q
|
15:46:04 zZ7Qe9Wb3CnQ9jMK6t/ob5pWhLt2Sj1XDvhhvC/NCZ/GSL3tBgU1D34l2Sf5fvNh
|
15:46:04 lCaV1+obLsTX/yfSolyNqgQtNDgiaod4vlLuJJckj7eDm9G5exDYBuhZjqZmQ75l
|
15:46:04 uKvMQC3YdIQ/5fXV9W3M+oHgLfoDvuotidUAgrQo/rqGEjNtnLlMzFrkhl2FiTQN
|
15:46:04 Nar8CNrCk/sJ/HqvcWl45+WgO7HMBZsSrK6w1Tf2A1/5QBT3hw/XhuaHAgMBAAGj
|
15:46:04 dzB1MA4GA1UdDwEB/wQEAwIFoDATBgNVHSUEDDAKBggrBgEFBQcDAjAMBgNVHRMB
|
15:46:04 Af8EAjAAMB8GA1UdIwQYMBaAFF4h6B5ePGPhk1ruJayx0jSDkSngMB8GA1UdEQQY
|
15:46:04 MBaBFGl5ZjRqNmZrQGV4YW1wbGUuY29tMA0GCSqGSIb3DQEBCwUAA4IBAQAsDQCo
|
15:46:04 sSCtkoMR9l9Vq7b0FiecH8XN1PBJx7v2ILBBYNNg9UguEFbdoGYpb0mVB4XE3f5B
|
15:46:04 Km2qw/ILxX8kA6Y1bOzpTPiwo+nxecnEdblk2ApPb99ViHiYXBHjeo4Frcfh3E1l
|
15:46:04 6kf0U8SbEXCOwljq6n7rMB6s8UAphC5pMAjWSxI9ZEP7pyt0iMS1AM75UmNtH6sg
|
15:46:04 drsnlnC5C8UDyHUnDJvGSVok2eMHAR2XdlIX9f04W0osiZJJ13e5yvnU4qPBSU+M
|
15:46:04 hwoajC2E6VFIoN4y18Wl3y5LNcZTbfiZ/WBrj7rlGS03c5KYJ7ycdyKZmb9N4Ft+
|
15:46:04 E7WN2/TWLD6QAKYy
|
15:46:04 -----END CERTIFICATE-----
|
15:46:04 Generated key:
|
15:46:04 -----BEGIN RSA PRIVATE KEY-----
|
15:46:04 MIIEpAIBAAKCAQEAtXdHaRe8FDMCzAaDG2vAgaYty4zHNxGadHYfz/EYS98jTF2h
|
15:46:04 uo9ms6E5Y8d/4qdabeFOjmNUgjCXFGcGtHTWUrC3YOr9Ks2e0HvVm9wp0PYzCurf
|
15:46:04 6G+aVoS7dko9Vw74YbwvzQmfxki97QYFNQ9+Jdkn+X7zYZQmldfqGy7E1/8n0qJc
|
15:46:04 jaoELTQ4ImqHeL5S7iSXJI+3g5vRuXsQ2AboWY6mZkO+ZbirzEAt2HSEP+X11fVt
|
15:46:04 zPqB4C36A77qLYnVAIK0KP66hhIzbZy5TMxa5IZdhYk0DTWq/AjawpP7Cfx6r3Fp
|
15:46:04 eOfloDuxzAWbEqyusNU39gNf+UAU94cP14bmhwIDAQABAoIBAGD7I1X+Ek01Sexi
|
15:46:04 GpWAC7z+ZAEh9qHurX5KVwwZzKNX2JSKgdGjq/6aToKN70HhsMmCnSop2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mRQKIlSpc/fgPj+rsmlfENL/e57TBhJKaQlab0
|
15:46:04 JgbCsQKBgQCoW5rbQJrQcCGQm/ZiynPhtyTQq6NHOh6yvrqR1by6dAfAlUNJf6z1
|
15:46:04 BDMpJuWK7DRReaQmujM8nXhrLDvFb/lG8Wqyuw7L4OWxfXCgscKdMwmcLcSNIBcU
|
15:46:04 JTdEhdgRFnzOaQn1e04tYPAEIVUiQc8+vk3rKGA8tlFisWBmq0vvRw==
|
15:46:04 -----END RSA PRIVATE KEY-----
|
15:46:04
|
15:46:04 sending POST http://127.0.0.1:9010/node/controller/loadTrustedCAs {'timeout': 60} (expected code 200)
|
15:46:04 result: 200
|
15:46:04 sending POST http://127.0.0.1:9010/settings/clientCertAuth {'json': {'prefixes': [{'delimiter': '@', 'path': 'san.email', 'prefix': ''}], 'state': 'mandatory'}, 'timeout': 60} (expected code None)
|
15:46:04 result: 202
|
15:46:04 sending DELETE http://127.0.0.1:9010/pools/default/trustedCAs/1 {'timeout': 60} (expected code None)
|
15:46:04 result: 204
|
15:46:04 sending POST http://127.0.0.1:9010/settings/clientCertAuth {'json': {'prefixes': [{'delimiter': '', 'path': 'subject.cn', 'prefix': ''}], 'state': 'disable'}, 'timeout': 60} (expected code None)
|
15:46:04 result: 202
|
15:46:04 =================== AuthnTests.mandatory_client_cert_ui_login_test output end ==================
|
15:46:04
|
15:46:04 Traceback with variables (most recent call last):
|
15:46:04 File "/home/couchbase/jenkins/workspace/ns-server-cluster-tests/trinity/ns_server/cluster_tests/testlib/testlib.py", line 190, in safe_test_function_call
|
15:46:04 res = apply_with_seed(testset, testfunction, args, seed)
|
15:46:04 testset = <testsets.authn_tests.AuthnTests object at 0x7f483d30d150>
|
15:46:04 testfunction = 'mandatory_client_cert_ui_login_test'
|
15:46:04 args = []
|
15:46:04 testiter = 0
|
15:46:04 verbose = True
|
15:46:04 intercept_output = True
|
15:46:04 seed = b'\xb3R\x8ep\x8eNV\xd9\xee\xa76,.\xddnu'
|
15:46:04 dry_run = False
|
15:46:04 res = None
|
15:46:04 error = None
|
15:46:04 testname = 'AuthnTests.mandatory_client_cert_ui_login_test'
|
15:46:04 report_call = <contextlib._GeneratorContextManager object at 0x7f483d87c3d0>
|
15:46:04 e = AssertionError('"ALERT_CERTIFICATE_REQUIRED" is missing in "HTTPSConnectionPool(host=\'127.0.0.1\', port=19010): Max retries exceeded with url: /uilogin (Caused by SSLError(SSLEOFError(8, \'EOF occurred in violation of protocol (_ssl.c:2427)\')))"')
|
15:46:04 cscheme = <traceback_with_variables.color.ColorScheme object at 0x7f483d96f6d0>
|
15:46:04 File "/home/couchbase/jenkins/workspace/ns-server-cluster-tests/trinity/ns_server/cluster_tests/testlib/testlib.py", line 203, in apply_with_seed
|
15:46:04 return getattr(obj, func)(*args)
|
15:46:04 obj = <testsets.authn_tests.AuthnTests object at 0x7f483d30d150>
|
15:46:04 func = 'mandatory_client_cert_ui_login_test'
|
15:46:04 args = []
|
15:46:04 seed = b'\xb3R\x8ep\x8eNV\xd9\xee\xa76,.\xddnu'
|
15:46:04 rand_state = (3, (2147483648, 1134518641, 4184991656, 1364560324, 133422164, 1258503912, 2524899358, 3951621370, 2373041293, 1079567550, 3439676944, 1375598633, 2644796937, 979985603, 1160913592, 2384721743, 1138211099, 1517488526, 471174518, 842291969, 3281551951, 3988875587, 2622196480, 3169802044, 1026332305, 115217297, 3287839263, 533990458, 2991221401, 2759939587, 3953404005, 2835936090, 1929850679, 1805632353, 2138665734, 1537949212, 1832252228, 1842661826, 3509629172, 2761280334, 971417901, 23562400, 2648793755, 2270888159, 4244154808, 2911291844, 2521755973, 4120809104, 2956650567, 187845092, 2038568945, 1589412808, 475647011, 1220133106, 788647360, 1703002755, 2332013008, 1172963032, 930009631, 3381723791, 531229564, 1231724385, 2951383284, 1443457657, 1447279800, 2273238706, 1634085362, 77221030, 485964348, 3400735270, 1238945406, 3797973372, 2985367886, 3767155596, 2123711850, 2999596736, 3826038178, 2216884656, 1876999859, 3873899136, 13281233, 1178579578, 3891942336, 2752751935, 185900...
|
15:46:04 File "/home/couchbase/jenkins/workspace/ns-server-cluster-tests/trinity/ns_server/cluster_tests/testsets/authn_tests.py", line 185, in mandatory_client_cert_ui_login_test
|
15:46:04 self.client_cert_ui_login_base(mandatory=True)
|
15:46:04 self = <testsets.authn_tests.AuthnTests object at 0x7f483d30d150>
|
15:46:04 File "/home/couchbase/jenkins/workspace/ns-server-cluster-tests/trinity/ns_server/cluster_tests/testsets/authn_tests.py", line 219, in client_cert_ui_login_base
|
15:46:04 testlib.assert_in(CERT_REQUIRED_ALERT, str(e))
|
15:46:04 self = <testsets.authn_tests.AuthnTests object at 0x7f483d30d150>
|
15:46:04 mandatory = True
|
15:46:04 user = 'b5b3qew9'
|
15:46:04 password = 'm5zts0mr'
|
15:46:04 cert_user = 'iyf4j6fk'
|
15:46:04 node = {'url': 'http://127.0.0.1:9010', 'hostname_cached': '127.0.0.1:9010', 'host': '127.0.0.1', 'port': 9010, 'auth': ('Administrator', 'asdasd'), 'data_path_cache': '/home/couchbase/jenkins/workspace/ns-server-cluster-tests/trinity/ns_server/cluster_tests/test_cluster_data-2/data/n_10', 'tls_port_cache': 19010, 'services_cached': None}
|
15:46:04 server_ca_file = '/home/couchbase/jenkins/workspace/ns-server-cluster-tests/trinity/ns_server/cluster_tests/test_cluster_data-2/data/n_10/config/certs/ca.pem'
|
15:46:04 client_cert_file = '/tmp/tmpa3hcp_rt'
|
15:46:04 File "/home/couchbase/jenkins/workspace/ns-server-cluster-tests/trinity/ns_server/cluster_tests/testlib/testlib.py", line 473, in assert_in
|
15:46:04 assert what in where, f'"{what}" is missing in "{where}"'
|
15:46:04 what = 'ALERT_CERTIFICATE_REQUIRED'
|
15:46:04 where = "HTTPSConnectionPool(host='127.0.0.1', port=19010): Max retries exceeded with url: /uilogin (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:2427)')))"
|
15:46:04 builtins.AssertionError: "ALERT_CERTIFICATE_REQUIRED" is missing in "HTTPSConnectionPool(host='127.0.0.1', port=19010): Max retries exceeded with url: /uilogin (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:2427)')))"
|