fixing old typo #2728
+1
−1
Open
fixing old typo #2728
jenkins-snowflake-github-app-3 / Jenkins
failed
Dec 30, 2025 in 16m 44s
Test Authentication: error in 'sh' step
Test / Test / Test Python 39 FIPS / Building RT-FIPS-PyConnector39
Error in build (Building RT-FIPS-PyConnector39) step.
null
Test Authentication / Test Authentication / Shell Script
Error in sh step, with arguments #!/bin/bash -e $WORKSPACE/ci/test_authentication.sh .
script returned exit code 1
Build log
[2025-12-30T21:15:06.171Z] Use /sbin/ip
[2025-12-30T21:15:08.759Z] Unable to find image 'nexus.int.snowflakecomputing.com:8086/docker/snowdrivers-****-external-browser-python:3' locally
[2025-12-30T21:15:08.759Z] 3: Pulling from docker/snowdrivers-****-external-browser-python
[2025-12-30T21:15:08.759Z] ebed137c7c18: Pulling fs layer
[2025-12-30T21:15:08.759Z] c2e76af9483f: Pulling fs layer
[2025-12-30T21:15:08.759Z] 37f838b71c6b: Pulling fs layer
[2025-12-30T21:15:08.759Z] 873a4c802874: Pulling fs layer
[2025-12-30T21:15:08.759Z] ce90112df955: Pulling fs layer
[2025-12-30T21:15:08.759Z] 787104c2d8bc: Pulling fs layer
[2025-12-30T21:15:08.759Z] f809fc3353aa: Pulling fs layer
[2025-12-30T21:15:08.759Z] b02ac2c75cc3: Pulling fs layer
[2025-12-30T21:15:08.759Z] 3a76721660c9: Pulling fs layer
[2025-12-30T21:15:08.759Z] 5349a534b6ef: Pulling fs layer
[2025-12-30T21:15:08.759Z] 30d5aa2b2a6e: Pulling fs layer
[2025-12-30T21:15:08.759Z] 0ec37b4e63f6: Pulling fs layer
[2025-12-30T21:15:08.759Z] ce90112df955: Waiting
[2025-12-30T21:15:08.759Z] 9973c027b516: Pulling fs layer
[2025-12-30T21:15:08.759Z] 787104c2d8bc: Waiting
[2025-12-30T21:15:08.759Z] aedcfb5eb09a: Pulling fs layer
[2025-12-30T21:15:08.759Z] f809fc3353aa: Waiting
[2025-12-30T21:15:08.759Z] 65f321af4351: Pulling fs layer
[2025-12-30T21:15:08.759Z] 69c292034e41: Pulling fs layer
[2025-12-30T21:15:08.759Z] af31898c1409: Pulling fs layer
[2025-12-30T21:15:08.759Z] 96ebfa43ceae: Pulling fs layer
[2025-12-30T21:15:08.759Z] 2e2a7c1c2f9a: Pulling fs layer
[2025-12-30T21:15:08.759Z] df5675b88f71: Pulling fs layer
[2025-12-30T21:15:08.759Z] b02ac2c75cc3: Waiting
[2025-12-30T21:15:08.759Z] 3a76721660c9: Waiting
[2025-12-30T21:15:08.759Z] 5349a534b6ef: Waiting
[2025-12-30T21:15:08.759Z] 30d5aa2b2a6e: Waiting
[2025-12-30T21:15:08.759Z] 0ec37b4e63f6: Waiting
[2025-12-30T21:15:08.759Z] 9973c027b516: Waiting
[2025-12-30T21:15:08.759Z] aedcfb5eb09a: Waiting
[2025-12-30T21:15:08.759Z] 65f321af4351: Waiting
[2025-12-30T21:15:08.759Z] 69c292034e41: Waiting
[2025-12-30T21:15:08.759Z] af31898c1409: Waiting
[2025-12-30T21:15:08.759Z] 96ebfa43ceae: Waiting
[2025-12-30T21:15:08.759Z] 2e2a7c1c2f9a: Waiting
[2025-12-30T21:15:08.759Z] df5675b88f71: Waiting
[2025-12-30T21:15:08.759Z] 873a4c802874: Waiting
[2025-12-30T21:15:09.055Z] c2e76af9483f: Verifying Checksum
[2025-12-30T21:15:09.055Z] c2e76af9483f: Download complete
[2025-12-30T21:15:09.656Z] ebed137c7c18: Verifying Checksum
[2025-12-30T21:15:09.656Z] ebed137c7c18: Download complete
[2025-12-30T21:15:09.656Z] ce90112df955: Verifying Checksum
[2025-12-30T21:15:09.656Z] ce90112df955: Download complete
[2025-12-30T21:15:09.656Z] 37f838b71c6b: Verifying Checksum
[2025-12-30T21:15:09.656Z] 37f838b71c6b: Download complete
[2025-12-30T21:15:09.656Z] f809fc3353aa: Verifying Checksum
[2025-12-30T21:15:09.656Z] f809fc3353aa: Download complete
[2025-12-30T21:15:09.952Z] b02ac2c75cc3: Verifying Checksum
[2025-12-30T21:15:09.952Z] b02ac2c75cc3: Download complete
[2025-12-30T21:15:09.952Z] 3a76721660c9: Verifying Checksum
[2025-12-30T21:15:09.952Z] 3a76721660c9: Download complete
[2025-12-30T21:15:10.248Z] 787104c2d8bc: Verifying Checksum
[2025-12-30T21:15:10.249Z] 787104c2d8bc: Download complete
[2025-12-30T21:15:10.249Z] 30d5aa2b2a6e: Verifying Checksum
[2025-12-30T21:15:10.249Z] 30d5aa2b2a6e: Download complete
[2025-12-30T21:15:10.550Z] 0ec37b4e63f6: Verifying Checksum
[2025-12-30T21:15:10.550Z] 0ec37b4e63f6: Download complete
[2025-12-30T21:15:10.550Z] 9973c027b516: Verifying Checksum
[2025-12-30T21:15:10.550Z] 9973c027b516: Download complete
[2025-12-30T21:15:10.550Z] aedcfb5eb09a: Verifying Checksum
[2025-12-30T21:15:10.550Z] aedcfb5eb09a: Download complete
[2025-12-30T21:15:10.550Z] 65f321af4351: Download complete
[2025-12-30T21:15:10.550Z] 69c292034e41: Verifying Checksum
[2025-12-30T21:15:10.550Z] 69c292034e41: Download complete
[2025-12-30T21:15:10.550Z] af31898c1409: Verifying Checksum
[2025-12-30T21:15:10.550Z] af31898c1409: Download complete
[2025-12-30T21:15:10.550Z] 96ebfa43ceae: Verifying Checksum
[2025-12-30T21:15:10.550Z] 96ebfa43ceae: Download complete
[2025-12-30T21:15:11.532Z] 2e2a7c1c2f9a: Verifying Checksum
[2025-12-30T21:15:11.532Z] 2e2a7c1c2f9a: Download complete
[2025-12-30T21:15:11.832Z] df5675b88f71: Verifying Checksum
[2025-12-30T21:15:11.832Z] df5675b88f71: Download complete
[2025-12-30T21:15:12.178Z] ebed137c7c18: Pull complete
[2025-12-30T21:15:12.476Z] 873a4c802874: Verifying Checksum
[2025-12-30T21:15:12.476Z] 873a4c802874: Download complete
[2025-12-30T21:15:12.771Z] c2e76af9483f: Pull complete
[2025-12-30T21:15:13.769Z] 5349a534b6ef: Verifying Checksum
[2025-12-30T21:15:13.769Z] 5349a534b6ef: Download complete
[2025-12-30T21:15:15.219Z] 37f838b71c6b: Pull complete
[2025-12-30T21:15:21.787Z] 873a4c802874: Pull complete
[2025-12-30T21:15:21.787Z] ce90112df955: Pull complete
[2025-12-30T21:15:24.338Z] 787104c2d8bc: Pull complete
[2025-12-30T21:15:24.635Z] f809fc3353aa: Pull complete
[2025-12-30T21:15:25.235Z] b02ac2c75cc3: Pull complete
[2025-12-30T21:15:25.530Z] 3a76721660c9: Pull complete
[2025-12-30T21:15:33.645Z] 5349a534b6ef: Pull complete
[2025-12-30T21:15:33.645Z] 30d5aa2b2a6e: Pull complete
[2025-12-30T21:15:33.645Z] 0ec37b4e63f6: Pull complete
[2025-12-30T21:15:33.645Z] 9973c027b516: Pull complete
[2025-12-30T21:15:33.645Z] aedcfb5eb09a: Pull complete
[2025-12-30T21:15:33.645Z] 65f321af4351: Pull complete
[2025-12-30T21:15:33.645Z] 69c292034e41: Pull complete
[2025-12-30T21:15:33.645Z] af31898c1409: Pull complete
[2025-12-30T21:15:33.645Z] 96ebfa43ceae: Pull complete
[2025-12-30T21:15:36.947Z] 2e2a7c1c2f9a: Pull complete
[2025-12-30T21:15:38.879Z] df5675b88f71: Pull complete
[2025-12-30T21:15:38.879Z] Digest: sha256:1fb70d0d2c6e55b6c83f6edfd31c806abd5d3f891a7c1d878721c5b3a2e5bb90
[2025-12-30T21:15:38.879Z] Status: Downloaded newer image for nexus.int.snowflakecomputing.com:8086/docker/snowdrivers-****-external-browser-python:3
[2025-12-30T21:15:48.891Z] Obtaining file:///mnt/host
[2025-12-30T21:15:48.891Z] Installing build dependencies: started
[2025-12-30T21:15:51.482Z] Installing build dependencies: finished with status 'done'
[2025-12-30T21:15:51.482Z] Checking if build backend supports build_editable: started
[2025-12-30T21:15:51.482Z] Checking if build backend supports build_editable: finished with status 'done'
[2025-12-30T21:15:51.483Z] Getting requirements to build editable: started
[2025-12-30T21:15:52.883Z] Getting requirements to build editable: finished with status 'done'
[2025-12-30T21:15:52.883Z] Preparing editable metadata (pyproject.toml): started
[2025-12-30T21:15:53.179Z] Preparing editable metadata (pyproject.toml): finished with status 'done'
[2025-12-30T21:15:53.179Z] Collecting asn1crypto<2.0.0,>0.24.0
[2025-12-30T21:15:53.179Z] Downloading asn1crypto-1.5.1-py2.py3-none-any.whl (105 kB)
[2025-12-30T21:15:53.179Z] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 105.0/105.0 kB 6.1 MB/s eta 0:00:00
[2025-12-30T21:15:53.779Z] Collecting cryptography>=44.0.1
[2025-12-30T21:15:53.779Z] Downloading cryptography-46.0.3-cp311-abi3-manylinux_2_34_x86_64.whl (4.5 MB)
[2025-12-30T21:15:54.075Z] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.5/4.5 MB 20.0 MB/s eta 0:00:00
[2025-12-30T21:15:54.075Z] Collecting pyOpenSSL<26.0.0,>=24.0.0
[2025-12-30T21:15:54.075Z] Downloading pyopenssl-25.3.0-py3-none-any.whl (57 kB)
[2025-12-30T21:15:54.075Z] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 57.3/57.3 kB 30.7 MB/s eta 0:00:00
[2025-12-30T21:15:54.075Z] Collecting pyjwt<3.0.0,>=2.10.1
[2025-12-30T21:15:54.075Z] Downloading PyJWT-2.10.1-py3-none-any.whl (22 kB)
[2025-12-30T21:15:54.075Z] Collecting pytz
[2025-12-30T21:15:54.075Z] Downloading pytz-2025.2-py2.py3-none-any.whl (509 kB)
[2025-12-30T21:15:54.075Z] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 509.2/509.2 kB 44.2 MB/s eta 0:00:00
[2025-12-30T21:15:54.371Z] Collecting requests<3.0.0,>=2.32.4
[2025-12-30T21:15:54.371Z] Downloading requests-2.32.5-py3-none-any.whl (64 kB)
[2025-12-30T21:15:54.371Z] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 64.7/64.7 kB 38.1 MB/s eta 0:00:00
[2025-12-30T21:15:54.371Z] Requirement already satisfied: packaging in /usr/lib/python3/dist-packages (from snowflake-connector-python==4.2.0) (23.0)
[2025-12-30T21:15:54.371Z] Collecting charset_normalizer<4,>=2
[2025-12-30T21:15:54.371Z] Downloading charset_normalizer-3.4.4-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (151 kB)
[2025-12-30T21:15:54.371Z] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 151.6/151.6 kB 71.8 MB/s eta 0:00:00
[2025-12-30T21:15:54.371Z] Collecting idna<4,>=3.7
[2025-12-30T21:15:54.371Z] Downloading idna-3.11-py3-none-any.whl (71 kB)
[2025-12-30T21:15:54.371Z] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 71.0/71.0 kB 41.2 MB/s eta 0:00:00
[2025-12-30T21:15:54.666Z] Collecting certifi>=2024.7.4
[2025-12-30T21:15:54.666Z] Downloading certifi-2025.11.12-py3-none-any.whl (159 kB)
[2025-12-30T21:15:54.667Z] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 159.4/159.4 kB 76.3 MB/s eta 0:00:00
[2025-12-30T21:15:54.667Z] Collecting typing_extensions<5,>=4.3
[2025-12-30T21:15:54.667Z] Downloading typing_extensions-4.15.0-py3-none-any.whl (44 kB)
[2025-12-30T21:15:54.667Z] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 44.6/44.6 kB 25.7 MB/s eta 0:00:00
[2025-12-30T21:15:54.667Z] Collecting filelock<4,>=3.5
[2025-12-30T21:15:54.667Z] Downloading filelock-3.20.1-py3-none-any.whl (16 kB)
[2025-12-30T21:15:54.667Z] Collecting sortedcontainers>=2.4.0
[2025-12-30T21:15:54.667Z] Downloading sortedcontainers-2.4.0-py2.py3-none-any.whl (29 kB)
[2025-12-30T21:15:54.667Z] Collecting platformdirs<5.0.0,>=2.6.0
[2025-12-30T21:15:54.667Z] Downloading platformdirs-4.5.1-py3-none-any.whl (18 kB)
[2025-12-30T21:15:54.963Z] Collecting tomlkit
[2025-12-30T21:15:54.963Z] Downloading tomlkit-0.13.3-py3-none-any.whl (38 kB)
[2025-12-30T21:15:55.563Z] Collecting boto3>=1.24
[2025-12-30T21:15:55.563Z] Downloading boto3-1.42.19-py3-none-any.whl (140 kB)
[2025-12-30T21:15:55.563Z] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 140.6/140.6 kB 70.1 MB/s eta 0:00:00
[2025-12-30T21:15:56.163Z] Collecting botocore>=1.24
[2025-12-30T21:15:56.163Z] Downloading botocore-1.42.19-py3-none-any.whl (14.6 MB)
[2025-12-30T21:15:56.462Z] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 14.6/14.6 MB 76.1 MB/s eta 0:00:00
[2025-12-30T21:15:56.718Z] Collecting jmespath<2.0.0,>=0.7.1
[2025-12-30T21:15:56.718Z] Downloading jmespath-1.0.1-py3-none-any.whl (20 kB)
[2025-12-30T21:15:56.718Z] Collecting s3transfer<0.17.0,>=0.16.0
[2025-12-30T21:15:56.718Z] Downloading s3transfer-0.16.0-py3-none-any.whl (86 kB)
[2025-12-30T21:15:56.718Z] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 86.8/86.8 kB 37.8 MB/s eta 0:00:00
[2025-12-30T21:15:57.015Z] Collecting python-dateutil<3.0.0,>=2.1
[2025-12-30T21:15:57.015Z] Downloading python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB)
[2025-12-30T21:15:57.015Z] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 229.9/229.9 kB 92.8 MB/s eta 0:00:00
[2025-12-30T21:15:57.015Z] Collecting urllib3!=2.2.0,<3,>=1.25.4
[2025-12-30T21:15:57.015Z] Downloading urllib3-2.6.2-py3-none-any.whl (131 kB)
[2025-12-30T21:15:57.015Z] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 131.2/131.2 kB 67.4 MB/s eta 0:00:00
[2025-12-30T21:15:57.311Z] Collecting cffi>=2.0.0
[2025-12-30T21:15:57.311Z] Downloading cffi-2.0.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (215 kB)
[2025-12-30T21:15:57.311Z] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 215.6/215.6 kB 93.7 MB/s eta 0:00:00
[2025-12-30T21:15:57.311Z] Collecting pycparser
[2025-12-30T21:15:57.311Z] Downloading pycparser-2.23-py3-none-any.whl (118 kB)
[2025-12-30T21:15:57.311Z] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 118.1/118.1 kB 63.3 MB/s eta 0:00:00
[2025-12-30T21:15:57.611Z] Collecting six>=1.5
[2025-12-30T21:15:57.611Z] Downloading six-1.17.0-py2.py3-none-any.whl (11 kB)
[2025-12-30T21:15:57.611Z] Building wheels for collected packages: snowflake-connector-python
[2025-12-30T21:15:57.611Z] Building editable for snowflake-connector-python (pyproject.toml): started
[2025-12-30T21:16:24.216Z] Building editable for snowflake-connector-python (pyproject.toml): finished with status 'done'
[2025-12-30T21:16:24.216Z] Created wheel for snowflake-connector-python: filename=snowflake_connector_python-4.2.0-0.editable-cp311-cp311-linux_x86_64.whl size=33573 sha256=28e10d837f856de49be784da5ee31910036e38b202a0132a32a5236afaf0030e
[2025-12-30T21:16:24.216Z] Stored in directory: /tmp/pip-ephem-wheel-cache-6zuomc5p/wheels/c7/ff/2f/08e63448869dbc3bfe492fc98025522d98370b21a1358f25f7
[2025-12-30T21:16:24.216Z] Successfully built snowflake-connector-python
[2025-12-30T21:16:24.216Z] Installing collected packages: sortedcontainers, pytz, asn1crypto, urllib3, typing_extensions, tomlkit, six, pyjwt, pycparser, platformdirs, jmespath, idna, filelock, charset_normalizer, certifi, requests, python-dateutil, cffi, cryptography, botocore, s3transfer, pyOpenSSL, boto3, snowflake-connector-python
[2025-12-30T21:16:25.615Z] Successfully installed asn1crypto-1.5.1 boto3-1.42.19 botocore-1.42.19 certifi-2025.11.12 cffi-2.0.0 charset_normalizer-3.4.4 cryptography-46.0.3 filelock-3.20.1 idna-3.11 jmespath-1.0.1 platformdirs-4.5.1 pyOpenSSL-25.3.0 pycparser-2.23 pyjwt-2.10.1 python-dateutil-2.9.0.post0 pytz-2025.2 requests-2.32.5 s3transfer-0.16.0 six-1.17.0 snowflake-connector-python-4.2.0 sortedcontainers-2.4.0 tomlkit-0.13.3 typing_extensions-4.15.0 urllib3-2.6.2
[2025-12-30T21:16:25.615Z] WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
[2025-12-30T21:16:26.584Z] ============================= **** session starts ==============================
[2025-12-30T21:16:26.584Z] platform linux -- Python 3.11.2, py****-7.2.1, pluggy-1.0.0+repack
[2025-12-30T21:16:26.584Z] rootdir: /mnt/host, configfile: tox.ini
[2025-12-30T21:16:26.584Z] collected 35 items
[2025-12-30T21:16:26.584Z]
[2025-12-30T21:16:46.561Z] ****/auth/****_external_browser.py ..ss [ 11%]
[2025-12-30T21:16:49.451Z] ****/auth/****_external_session_with_PAT.py FF [ 17%]
[2025-12-30T21:16:50.651Z] ****/auth/****_key_pair.py .. [ 22%]
[2025-12-30T21:16:52.574Z] ****/auth/****_mfa.py . [ 25%]
[2025-12-30T21:16:54.479Z] ****/auth/****_oauth.py ... [ 34%]
[2025-12-30T21:16:56.343Z] ****/auth/****_okta.py F..s [ 45%]
[2025-12-30T21:17:23.273Z] ****/auth/****_okta_authorization_code.py .... [ 57%]
[2025-12-30T21:17:23.867Z] ****/auth/****_okta_client_credentials.py ... [ 65%]
[2025-12-30T21:17:27.991Z] ****/auth/****_pat.py F.. [ 74%]
[2025-12-30T21:17:52.010Z] ****/auth/****_snowflake_authorization_code.py .... [ 85%]
[2025-12-30T21:18:18.344Z] ****/auth/****_snowflake_authorization_code_wildcards.py ..... [100%]
[2025-12-30T21:18:18.344Z]
[2025-12-30T21:18:18.344Z] =================================== FAILURES ===================================
[2025-12-30T21:18:18.344Z] _________________ ****_pat_with_external_session_authN_success _________________
[2025-12-30T21:18:18.344Z]
[2025-12-30T21:18:18.344Z] @py****.mark.auth
[2025-12-30T21:18:18.344Z] def ****_pat_with_external_session_authN_success() -> None:
[2025-12-30T21:18:18.344Z] pat_command_variables = get_pat_setup_command_variables()
[2025-12-30T21:18:18.344Z] connection_parameters = AuthConnectionParameters().get_pat_connection_parameters()
[2025-12-30T21:18:18.344Z] try:
[2025-12-30T21:18:18.344Z] pat_command_variables = get_pat_token(pat_command_variables)
[2025-12-30T21:18:18.344Z] connection_parameters["token"] = pat_command_variables["token"]
[2025-12-30T21:18:18.344Z] connection_parameters["external_session_id"] = EXTERNAL_SESSION_ID
[2025-12-30T21:18:18.344Z] connection_parameters["authenticator"] = "PAT_WITH_EXTERNAL_SESSION"
[2025-12-30T21:18:18.344Z] ****_helper = AuthorizationTestHelper(connection_parameters)
[2025-12-30T21:18:18.344Z] ****_helper.connect_and_execute_set_session_state(
[2025-12-30T21:18:18.344Z] SESSION_VAR_KEY, SESSION_VAR_VALUE
[2025-12-30T21:18:18.344Z] )
[2025-12-30T21:18:18.344Z] ret = ****_helper.connect_and_execute_check_session_state(SESSION_VAR_KEY)
[2025-12-30T21:18:18.344Z] > assert ret == SESSION_VAR_VALUE
[2025-12-30T21:18:18.345Z] E AssertionError: assert False == 'PAT_WITH_EXTERNAL_SESSION_TEST_VALUE'
[2025-12-30T21:18:18.345Z]
[2025-12-30T21:18:18.345Z] ****/auth/****_external_session_with_PAT.py:30: AssertionError
[2025-12-30T21:18:18.345Z] ------------------------------ Captured log call -------------------------------
[2025-12-30T21:18:18.345Z] INFO authorization_****_helper:authorization_****_helper.py:180 Setup PAT
[2025-12-30T21:18:18.345Z] INFO snowflake.connector.connection:connection.py:611 Snowflake Connector for Python Version: 4.2.0, Python Version: 3.11.2, Platform: Linux-5.4.181-99.354.amzn2.x86_64-x86_64-with-glibc2.36
[2025-12-30T21:18:18.345Z] INFO snowflake.connector.connection:connection.py:1695 Connecting to GLOBAL Snowflake domain
[2025-12-30T21:18:18.345Z] ERROR authorization_****_helper:authorization_****_helper.py:186 250007 (08001): None: The specified authenticator and destination URL in the SAML assertion do not match: expected: https://driverspreprod6.preprod6.us-west-2.aws.snowflakecomputing.com:443, post back: https://driverspreprod6.preprod6.us-west-2.aws.snowflakecomputing.com/fed/login
[2025-12-30T21:18:18.345Z] INFO authorization_****_helper:authorization_****_helper.py:111 Trying to connect to Snowflake
[2025-12-30T21:18:18.345Z] INFO snowflake.connector.connection:connection.py:611 Snowflake Connector for Python Version: 4.2.0, Python Version: 3.11.2, Platform: Linux-5.4.181-99.354.amzn2.x86_64-x86_64-with-glibc2.36
[2025-12-30T21:18:18.345Z] INFO snowflake.connector.connection:connection.py:1695 Connecting to GLOBAL Snowflake domain
[2025-12-30T21:18:18.345Z] ERROR authorization_****_helper:authorization_****_helper.py:119 can only concatenate str (not "bool") to str
[2025-12-30T21:18:18.345Z] INFO authorization_****_helper:authorization_****_helper.py:124 Trying to connect to Snowflake
[2025-12-30T21:18:18.345Z] INFO snowflake.connector.connection:connection.py:611 Snowflake Connector for Python Version: 4.2.0, Python Version: 3.11.2, Platform: Linux-5.4.181-99.354.amzn2.x86_64-x86_64-with-glibc2.36
[2025-12-30T21:18:18.345Z] INFO snowflake.connector.connection:connection.py:1695 Connecting to GLOBAL Snowflake domain
[2025-12-30T21:18:18.345Z] ERROR authorization_****_helper:authorization_****_helper.py:133 can only concatenate str (not "bool") to str
[2025-12-30T21:18:18.345Z] INFO authorization_****_helper:authorization_****_helper.py:180 Setup PAT
[2025-12-30T21:18:18.345Z] INFO snowflake.connector.connection:connection.py:611 Snowflake Connector for Python Version: 4.2.0, Python Version: 3.11.2, Platform: Linux-5.4.181-99.354.amzn2.x86_64-x86_64-with-glibc2.36
[2025-12-30T21:18:18.345Z] INFO snowflake.connector.connection:connection.py:1695 Connecting to GLOBAL Snowflake domain
[2025-12-30T21:18:18.345Z] ERROR authorization_****_helper:authorization_****_helper.py:186 250007 (08001): None: The specified authenticator and destination URL in the SAML assertion do not match: expected: https://driverspreprod6.preprod6.us-west-2.aws.snowflakecomputing.com:443, post back: https://driverspreprod6.preprod6.us-west-2.aws.snowflakecomputing.com/fed/login
[2025-12-30T21:18:18.345Z] __________________ ****_pat_with_external_session_authN_fail ___________________
[2025-12-30T21:18:18.345Z]
[2025-12-30T21:18:18.345Z] @py****.mark.auth
[2025-12-30T21:18:18.345Z] def ****_pat_with_external_session_authN_fail() -> None:
[2025-12-30T21:18:18.345Z] pat_command_variables = get_pat_setup_command_variables()
[2025-12-30T21:18:18.345Z] try:
[2025-12-30T21:18:18.345Z] pat_command_variables = get_pat_token(pat_command_variables)
[2025-12-30T21:18:18.345Z] connection_parameters = (
[2025-12-30T21:18:18.345Z] AuthConnectionParameters().get_pat_connection_parameters()
[2025-12-30T21:18:18.345Z] )
[2025-12-30T21:18:18.345Z] connection_parameters["token"] = pat_command_variables["token"]
[2025-12-30T21:18:18.345Z] connection_parameters["external_session_id"] = EXTERNAL_SESSION_ID
[2025-12-30T21:18:18.345Z] connection_parameters["authenticator"] = "PAT_WITH_EXTERNAL_SESSION"
[2025-12-30T21:18:18.345Z] ****_helper = AuthorizationTestHelper(connection_parameters)
[2025-12-30T21:18:18.345Z] ****_helper.connect_and_execute_set_session_state(
[2025-12-30T21:18:18.345Z] SESSION_VAR_KEY, SESSION_VAR_VALUE
[2025-12-30T21:18:18.345Z] )
[2025-12-30T21:18:18.345Z] connection_parameters["external_session_id"] = str(
[2025-12-30T21:18:18.345Z] uuid.uuid4()
[2025-12-30T21:18:18.345Z] ) # User different external session
[2025-12-30T21:18:18.345Z] ****_helper = AuthorizationTestHelper(connection_parameters)
[2025-12-30T21:18:18.345Z] ret = ****_helper.connect_and_execute_check_session_state(SESSION_VAR_KEY)
[2025-12-30T21:18:18.345Z] assert ret != SESSION_VAR_VALUE
[2025-12-30T21:18:18.345Z] finally:
[2025-12-30T21:18:18.345Z] remove_pat_token(pat_command_variables)
[2025-12-30T21:18:18.345Z] print(****_helper.get_error_msg())
[2025-12-30T21:18:18.345Z] > assert (
[2025-12-30T21:18:18.345Z] f"Session variable '${SESSION_VAR_KEY}' does not exist"
[2025-12-30T21:18:18.345Z] in ****_helper.get_error_msg()
[2025-12-30T21:18:18.345Z] )
[2025-12-30T21:18:18.345Z] E assert "Session variable '$PAT_WITH_EXTERNAL_SESSION_TEST_KEY' does not exist" in 'can only concatenate str (not "bool") to str'
[2025-12-30T21:18:18.345Z] E + where 'can only concatenate str (not "bool") to str' = <bound method AuthorizationTestHelper.get_error_msg of <authorization_****_helper.AuthorizationTestHelper object at 0x7f27ebea1150>>()
[2025-12-30T21:18:18.345Z] E + where <bound method AuthorizationTestHelper.get_error_msg of <authorization_****_helper.AuthorizationTestHelper object at 0x7f27ebea1150>> = <authorization_****_helper.AuthorizationTestHelper object at 0x7f27ebea1150>.get_error_msg
[2025-12-30T21:18:18.346Z]
[2025-12-30T21:18:18.346Z] ****/auth/****_external_session_with_PAT.py:60: AssertionError
[2025-12-30T21:18:18.346Z] ----------------------------- Captured stdout call -----------------------------
[2025-12-30T21:18:18.346Z] can only concatenate str (not "bool") to str
[2025-12-30T21:18:18.346Z] ------------------------------ Captured log call -------------------------------
[2025-12-30T21:18:18.346Z] INFO authorization_****_helper:authorization_****_helper.py:180 Setup PAT
[2025-12-30T21:18:18.346Z] INFO snowflake.connector.connection:connection.py:611 Snowflake Connector for Python Version: 4.2.0, Python Version: 3.11.2, Platform: Linux-5.4.181-99.354.amzn2.x86_64-x86_64-with-glibc2.36
[2025-12-30T21:18:18.346Z] INFO snowflake.connector.connection:connection.py:1695 Connecting to GLOBAL Snowflake domain
[2025-12-30T21:18:18.346Z] ERROR authorization_****_helper:authorization_****_helper.py:186 250007 (08001): None: The specified authenticator and destination URL in the SAML assertion do not match: expected: https://driverspreprod6.preprod6.us-west-2.aws.snowflakecomputing.com:443, post back: https://driverspreprod6.preprod6.us-west-2.aws.snowflakecomputing.com/fed/login
[2025-12-30T21:18:18.346Z] INFO authorization_****_helper:authorization_****_helper.py:111 Trying to connect to Snowflake
[2025-12-30T21:18:18.346Z] INFO snowflake.connector.connection:connection.py:611 Snowflake Connector for Python Version: 4.2.0, Python Version: 3.11.2, Platform: Linux-5.4.181-99.354.amzn2.x86_64-x86_64-with-glibc2.36
[2025-12-30T21:18:18.346Z] INFO snowflake.connector.connection:connection.py:1695 Connecting to GLOBAL Snowflake domain
[2025-12-30T21:18:18.346Z] ERROR authorization_****_helper:authorization_****_helper.py:119 can only concatenate str (not "bool") to str
[2025-12-30T21:18:18.346Z] INFO authorization_****_helper:authorization_****_helper.py:124 Trying to connect to Snowflake
[2025-12-30T21:18:18.346Z] INFO snowflake.connector.connection:connection.py:611 Snowflake Connector for Python Version: 4.2.0, Python Version: 3.11.2, Platform: Linux-5.4.181-99.354.amzn2.x86_64-x86_64-with-glibc2.36
[2025-12-30T21:18:18.346Z] INFO snowflake.connector.connection:connection.py:1695 Connecting to GLOBAL Snowflake domain
[2025-12-30T21:18:18.346Z] ERROR authorization_****_helper:authorization_****_helper.py:133 can only concatenate str (not "bool") to str
[2025-12-30T21:18:18.346Z] INFO authorization_****_helper:authorization_****_helper.py:180 Setup PAT
[2025-12-30T21:18:18.346Z] INFO snowflake.connector.connection:connection.py:611 Snowflake Connector for Python Version: 4.2.0, Python Version: 3.11.2, Platform: Linux-5.4.181-99.354.amzn2.x86_64-x86_64-with-glibc2.36
[2025-12-30T21:18:18.346Z] INFO snowflake.connector.connection:connection.py:1695 Connecting to GLOBAL Snowflake domain
[2025-12-30T21:18:18.346Z] ERROR authorization_****_helper:authorization_****_helper.py:186 250007 (08001): None: The specified authenticator and destination URL in the SAML assertion do not match: expected: https://driverspreprod6.preprod6.us-west-2.aws.snowflakecomputing.com:443, post back: https://driverspreprod6.preprod6.us-west-2.aws.snowflakecomputing.com/fed/login
[2025-12-30T21:18:18.346Z] _____________________________ ****_okta_successful _____________________________
[2025-12-30T21:18:18.346Z]
[2025-12-30T21:18:18.346Z] @py****.mark.auth
[2025-12-30T21:18:18.346Z] def ****_okta_successful():
[2025-12-30T21:18:18.346Z] connection_parameters = AuthConnectionParameters().get_okta_connection_parameters()
[2025-12-30T21:18:18.346Z] ****_helper = AuthorizationTestHelper(connection_parameters)
[2025-12-30T21:18:18.346Z]
[2025-12-30T21:18:18.346Z] > assert (
[2025-12-30T21:18:18.346Z] ****_helper.connect_and_execute_simple_query()
[2025-12-30T21:18:18.346Z] ), "Failed to connect with Snowflake"
[2025-12-30T21:18:18.346Z] E AssertionError: Failed to connect with Snowflake
[2025-12-30T21:18:18.346Z] E assert False
[2025-12-30T21:18:18.346Z] E + where False = <bound method AuthorizationTestHelper.connect_and_execute_simple_query of <****.auth.authorization_****_helper.AuthorizationTestHelper object at 0x7f27f8e07990>>()
[2025-12-30T21:18:18.346Z] E + where <bound method AuthorizationTestHelper.connect_and_execute_simple_query of <****.auth.authorization_****_helper.AuthorizationTestHelper object at 0x7f27f8e07990>> = <****.auth.authorization_****_helper.AuthorizationTestHelper object at 0x7f27f8e07990>.connect_and_execute_simple_query
[2025-12-30T21:18:18.346Z]
[2025-12-30T21:18:18.346Z] ****/auth/****_okta.py:12: AssertionError
[2025-12-30T21:18:18.346Z] ------------------------------ Captured log call -------------------------------
[2025-12-30T21:18:18.346Z] INFO ****.auth.authorization_****_helper:authorization_****_helper.py:98 Trying to connect to Snowflake
[2025-12-30T21:18:18.346Z] INFO snowflake.connector.connection:connection.py:611 Snowflake Connector for Python Version: 4.2.0, Python Version: 3.11.2, Platform: Linux-5.4.181-99.354.amzn2.x86_64-x86_64-with-glibc2.36
[2025-12-30T21:18:18.346Z] INFO snowflake.connector.connection:connection.py:1695 Connecting to GLOBAL Snowflake domain
[2025-12-30T21:18:18.346Z] ERROR ****.auth.authorization_****_helper:authorization_****_helper.py:106 250007 (08001): None: The specified authenticator and destination URL in the SAML assertion do not match: expected: https://driverspreprod6.preprod6.us-west-2.aws.snowflakecomputing.com:443, post back: https://driverspreprod6.preprod6.us-west-2.aws.snowflakecomputing.com/fed/login
[2025-12-30T21:18:18.346Z] ____________________ ****_authenticate_with_pat_successful _____________________
[2025-12-30T21:18:18.346Z]
[2025-12-30T21:18:18.346Z] @py****.mark.auth
[2025-12-30T21:18:18.346Z] def ****_authenticate_with_pat_successful() -> None:
[2025-12-30T21:18:18.346Z] pat_command_variables = get_pat_setup_command_variables()
[2025-12-30T21:18:18.346Z] connection_parameters = AuthConnectionParameters().get_pat_connection_parameters()
[2025-12-30T21:18:18.346Z] ****_helper = AuthorizationTestHelper(connection_parameters)
[2025-12-30T21:18:18.346Z] try:
[2025-12-30T21:18:18.346Z] pat_command_variables = get_pat_token(pat_command_variables)
[2025-12-30T21:18:18.346Z] connection_parameters["token"] = pat_command_variables["token"]
[2025-12-30T21:18:18.346Z] ****_helper.connect_and_execute_simple_query()
[2025-12-30T21:18:18.346Z] finally:
[2025-12-30T21:18:18.346Z] remove_pat_token(pat_command_variables)
[2025-12-30T21:18:18.346Z] > assert ****_helper.get_error_msg() == "", "Error message should be empty"
[2025-12-30T21:18:18.346Z] E AssertionError: Error message should be empty
[2025-12-30T21:18:18.346Z] E assert '250001 (0800...n is invalid.' == ''
[2025-12-30T21:18:18.346Z] E + 250001 (08001): None: Failed to connect to DB: driverspreprod6.preprod6.us-west-2.aws.snowflakecomputing.com:443. Programmatic access token is invalid.
[2025-12-30T21:18:18.346Z]
[2025-12-30T21:18:18.346Z] ****/auth/****_pat.py:23: AssertionError
[2025-12-30T21:18:18.346Z] ------------------------------ Captured log call -------------------------------
[2025-12-30T21:18:18.346Z] INFO authorization_****_helper:authorization_****_helper.py:180 Setup PAT
[2025-12-30T21:18:18.346Z] INFO snowflake.connector.connection:connection.py:611 Snowflake Connector for Python Version: 4.2.0, Python Version: 3.11.2, Platform: Linux-5.4.181-99.354.amzn2.x86_64-x86_64-with-glibc2.36
[2025-12-30T21:18:18.346Z] INFO snowflake.connector.connection:connection.py:1695 Connecting to GLOBAL Snowflake domain
[2025-12-30T21:18:18.347Z] ERROR authorization_****_helper:authorization_****_helper.py:186 250007 (08001): None: The specified authenticator and destination URL in the SAML assertion do not match: expected: https://driverspreprod6.preprod6.us-west-2.aws.snowflakecomputing.com:443, post back: https://driverspreprod6.preprod6.us-west-2.aws.snowflakecomputing.com/fed/login
[2025-12-30T21:18:18.347Z] INFO authorization_****_helper:authorization_****_helper.py:98 Trying to connect to Snowflake
[2025-12-30T21:18:18.347Z] INFO snowflake.connector.connection:connection.py:611 Snowflake Connector for Python Version: 4.2.0, Python Version: 3.11.2, Platform: Linux-5.4.181-99.354.amzn2.x86_64-x86_64-with-glibc2.36
[2025-12-30T21:18:18.347Z] INFO snowflake.connector.connection:connection.py:1695 Connecting to GLOBAL Snowflake domain
[2025-12-30T21:18:18.347Z] ERROR authorization_****_helper:authorization_****_helper.py:106 250001 (08001): None: Failed to connect to DB: driverspreprod6.preprod6.us-west-2.aws.snowflakecomputing.com:443. Programmatic access token is invalid.
[2025-12-30T21:18:18.347Z] INFO authorization_****_helper:authorization_****_helper.py:180 Setup PAT
[2025-12-30T21:18:18.347Z] INFO snowflake.connector.connection:connection.py:611 Snowflake Connector for Python Version: 4.2.0, Python Version: 3.11.2, Platform: Linux-5.4.181-99.354.amzn2.x86_64-x86_64-with-glibc2.36
[2025-12-30T21:18:18.347Z] INFO snowflake.connector.connection:connection.py:1695 Connecting to GLOBAL Snowflake domain
[2025-12-30T21:18:18.347Z] ERROR authorization_****_helper:authorization_****_helper.py:186 250007 (08001): None: The specified authenticator and destination URL in the SAML assertion do not match: expected: https://driverspreprod6.preprod6.us-west-2.aws.snowflakecomputing.com:443, post back: https://driverspreprod6.preprod6.us-west-2.aws.snowflakecomputing.com/fed/login
[2025-12-30T21:18:18.347Z] =============================== warnings summary ===============================
[2025-12-30T21:18:18.347Z] ../../usr/lib/python3/dist-packages/_py****/config/__init__.py:1294
[2025-12-30T21:18:18.347Z] /usr/lib/python3/dist-packages/_py****/config/__init__.py:1294: Py****ConfigWarning: Unknown config option: asyncio_mode
[2025-12-30T21:18:18.347Z]
[2025-12-30T21:18:18.347Z] self._warn_or_fail_if_strict(f"Unknown config option: {key}\n")
[2025-12-30T21:18:18.347Z]
[2025-12-30T21:18:18.347Z] -- Docs: https://docs.py****.org/en/stable/how-to/capture-warnings.html
[2025-12-30T21:18:18.347Z] =========================== short **** summary info ============================
[2025-12-30T21:18:18.347Z] SKIPPED [1] ****/auth/****_external_browser.py:57: SNOW-2007651 Adding custom browser timeout
[2025-12-30T21:18:18.347Z] SKIPPED [1] ****/auth/****_external_browser.py:76: SNOW-2007651 Adding custom browser timeout
[2025-12-30T21:18:18.347Z] SKIPPED [1] ****/auth/****_okta.py:45: SNOW-1852279 implement error handling for invalid URL
[2025-12-30T21:18:18.347Z] FAILED ****/auth/****_external_session_with_PAT.py::****_pat_with_external_session_authN_success
[2025-12-30T21:18:18.347Z] FAILED ****/auth/****_external_session_with_PAT.py::****_pat_with_external_session_authN_fail
[2025-12-30T21:18:18.347Z] FAILED ****/auth/****_okta.py::****_okta_successful - AssertionError: Failed ...
[2025-12-30T21:18:18.347Z] FAILED ****/auth/****_pat.py::****_authenticate_with_pat_successful - Asserti...
[2025-12-30T21:18:18.347Z] ======== 4 failed, 28 passed, 3 skipped, 1 warning in 111.06s (0:01:51) ========
Details
- checkout (12 sec)
- Build (5 min 33 sec)
- Test (5.9 sec)
- Test (10 min)
- Test Python 39 (13 sec)
- Test Python 310 (13 sec)
- Test Python 311 (13 sec)
- Test Python 312 (13 sec)
- Test Python 313 (13 sec)
- Test Python 39 OldDriver (13 sec)
- Test Python 39 FIPS (10 min)
Unstable: null - logs
- Test (10 min)
- Test Authentication (5.9 sec)
- Test Authentication (3 min 18 sec)
Error: script returned exit code 1 - logs
- Test Authentication (3 min 18 sec)
- Test WIF (3 min 58 sec)
- Test WIF (3 min 52 sec)
Loading