Skip to content

feat(cognito-idp): make TOTP MFA work #14518

feat(cognito-idp): make TOTP MFA work

feat(cognito-idp): make TOTP MFA work #14518

Triggered via pull request March 1, 2026 19:19
Status Failure
Total duration 21m 20s
Artifacts 11

build.yml

on: pull_request
Matrix: Caching
Matrix: Linting
sagemaker_client_test  /  test
56s
sagemaker_client_test / test
Matrix: test / test
Matrix: testproxy / test
Matrix: testserver / test
Matrix: testcdk / cdk_start
terraformexamplestest  /  Find Jobs
7s
terraformexamplestest / Find Jobs
Matrix: rubytest / test
testcdk  /  Find Jobs
6s
testcdk / Find Jobs
Matrix: terraformexamplestest / test
Matrix: testcdk / test
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 65 warnings
testserver / test (3.14)
Process completed with exit code 2.
testserver / test (3.13)
Process completed with exit code 2.
testserver / test (3.10)
Process completed with exit code 2.
testserver / test (3.11)
Process completed with exit code 2.
testserver / test (3.9)
Process completed with exit code 2.
testserver / test (3.12)
Process completed with exit code 2.
buildserver
The `python-version` input is not set. The version of Python currently in `PATH` will be used.
gotest / test
Restore cache failed: Dependencies file is not found in /home/runner/work/moto/moto. Supported file pattern: go.mod
testproxy / test (windows-latest, 3.10)
No files were found with the provided path: moto_proxy.log. No artifacts will be uploaded.
testproxy / test (windows-latest, 3.12)
No files were found with the provided path: moto_proxy.log. No artifacts will be uploaded.
testproxy / test (windows-latest, 3.11)
No files were found with the provided path: moto_proxy.log. No artifacts will be uploaded.
test / test (3.14): /opt/hostedtoolcache/Python/3.14.3/x64/lib/python3.14/site-packages/pycognito/aws_srp.py#L310
datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
test / test (3.14): /opt/hostedtoolcache/Python/3.14.3/x64/lib/python3.14/site-packages/pycognito/aws_srp.py#L310
datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
test / test (3.14): /opt/hostedtoolcache/Python/3.14.3/x64/lib/python3.14/site-packages/pycognito/aws_srp.py#L310
datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
test / test (3.14): /opt/hostedtoolcache/Python/3.14.3/x64/lib/python3.14/site-packages/pycognito/aws_srp.py#L310
datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
test / test (3.14): /opt/hostedtoolcache/Python/3.14.3/x64/lib/python3.14/site-packages/pycognito/aws_srp.py#L310
datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
test / test (3.14): /opt/hostedtoolcache/Python/3.14.3/x64/lib/python3.14/site-packages/pycognito/aws_srp.py#L310
datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
test / test (3.14): /opt/hostedtoolcache/Python/3.14.3/x64/lib/python3.14/site-packages/pycognito/aws_srp.py#L310
datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
test / test (3.14): /opt/hostedtoolcache/Python/3.14.3/x64/lib/python3.14/site-packages/pycognito/aws_srp.py#L310
datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
test / test (3.14): /opt/hostedtoolcache/Python/3.14.3/x64/lib/python3.14/site-packages/samtranslator/compat.py#L2
Core Pydantic V1 functionality isn't compatible with Python 3.14 or greater.
test / test (3.14): /opt/hostedtoolcache/Python/3.14.3/x64/lib/python3.14/site-packages/coverage/inorout.py#L513
--include is ignored because --source is set (include-ignored); see https://coverage.readthedocs.io/en/7.13.4/messages.html#warning-include-ignored
test / test (3.9): /opt/hostedtoolcache/Python/3.9.25/x64/lib/python3.9/site-packages/boto3/compat.py#L89
Boto3 will no longer support Python 3.9 starting April 29, 2026. To continue receiving service updates, bug fixes, and security updates please upgrade to Python 3.10 or later. More information can be found here: https://aws.amazon.com/blogs/developer/python-support-policy-updates-for-aws-sdks-and-tools/
test / test (3.9): /opt/hostedtoolcache/Python/3.9.25/x64/lib/python3.9/site-packages/boto3/compat.py#L89
Boto3 will no longer support Python 3.9 starting April 29, 2026. To continue receiving service updates, bug fixes, and security updates please upgrade to Python 3.10 or later. More information can be found here: https://aws.amazon.com/blogs/developer/python-support-policy-updates-for-aws-sdks-and-tools/
test / test (3.9): /opt/hostedtoolcache/Python/3.9.25/x64/lib/python3.9/site-packages/boto3/compat.py#L89
Boto3 will no longer support Python 3.9 starting April 29, 2026. To continue receiving service updates, bug fixes, and security updates please upgrade to Python 3.10 or later. More information can be found here: https://aws.amazon.com/blogs/developer/python-support-policy-updates-for-aws-sdks-and-tools/
test / test (3.9): /opt/hostedtoolcache/Python/3.9.25/x64/lib/python3.9/site-packages/boto3/compat.py#L89
Boto3 will no longer support Python 3.9 starting April 29, 2026. To continue receiving service updates, bug fixes, and security updates please upgrade to Python 3.10 or later. More information can be found here: https://aws.amazon.com/blogs/developer/python-support-policy-updates-for-aws-sdks-and-tools/
test / test (3.9): /opt/hostedtoolcache/Python/3.9.25/x64/lib/python3.9/site-packages/boto3/compat.py#L89
Boto3 will no longer support Python 3.9 starting April 29, 2026. To continue receiving service updates, bug fixes, and security updates please upgrade to Python 3.10 or later. More information can be found here: https://aws.amazon.com/blogs/developer/python-support-policy-updates-for-aws-sdks-and-tools/
test / test (3.9): /opt/hostedtoolcache/Python/3.9.25/x64/lib/python3.9/site-packages/boto3/compat.py#L89
Boto3 will no longer support Python 3.9 starting April 29, 2026. To continue receiving service updates, bug fixes, and security updates please upgrade to Python 3.10 or later. More information can be found here: https://aws.amazon.com/blogs/developer/python-support-policy-updates-for-aws-sdks-and-tools/
test / test (3.9): /opt/hostedtoolcache/Python/3.9.25/x64/lib/python3.9/site-packages/boto3/compat.py#L89
Boto3 will no longer support Python 3.9 starting April 29, 2026. To continue receiving service updates, bug fixes, and security updates please upgrade to Python 3.10 or later. More information can be found here: https://aws.amazon.com/blogs/developer/python-support-policy-updates-for-aws-sdks-and-tools/
test / test (3.9): /opt/hostedtoolcache/Python/3.9.25/x64/lib/python3.9/site-packages/boto3/compat.py#L89
Boto3 will no longer support Python 3.9 starting April 29, 2026. To continue receiving service updates, bug fixes, and security updates please upgrade to Python 3.10 or later. More information can be found here: https://aws.amazon.com/blogs/developer/python-support-policy-updates-for-aws-sdks-and-tools/
test / test (3.9): /opt/hostedtoolcache/Python/3.9.25/x64/lib/python3.9/site-packages/boto3/compat.py#L89
Boto3 will no longer support Python 3.9 starting April 29, 2026. To continue receiving service updates, bug fixes, and security updates please upgrade to Python 3.10 or later. More information can be found here: https://aws.amazon.com/blogs/developer/python-support-policy-updates-for-aws-sdks-and-tools/
test / test (3.9): /opt/hostedtoolcache/Python/3.9.25/x64/lib/python3.9/site-packages/coverage/inorout.py#L473
--include is ignored because --source is set (include-ignored); see https://coverage.readthedocs.io/en/7.10.7/messages.html#warning-include-ignored
test / test (3.12): /opt/hostedtoolcache/Python/3.12.12/x64/lib/python3.12/site-packages/pycognito/aws_srp.py#L310
datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
test / test (3.12): /opt/hostedtoolcache/Python/3.12.12/x64/lib/python3.12/site-packages/pycognito/aws_srp.py#L310
datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
test / test (3.12): /opt/hostedtoolcache/Python/3.12.12/x64/lib/python3.12/site-packages/pycognito/aws_srp.py#L310
datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
test / test (3.12): /opt/hostedtoolcache/Python/3.12.12/x64/lib/python3.12/site-packages/pycognito/aws_srp.py#L310
datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
test / test (3.12): /opt/hostedtoolcache/Python/3.12.12/x64/lib/python3.12/site-packages/pycognito/aws_srp.py#L310
datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
test / test (3.12): /opt/hostedtoolcache/Python/3.12.12/x64/lib/python3.12/site-packages/pycognito/aws_srp.py#L310
datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
test / test (3.12): /opt/hostedtoolcache/Python/3.12.12/x64/lib/python3.12/site-packages/pycognito/aws_srp.py#L310
datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
test / test (3.12): /opt/hostedtoolcache/Python/3.12.12/x64/lib/python3.12/site-packages/pycognito/aws_srp.py#L310
datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
test / test (3.12): /opt/hostedtoolcache/Python/3.12.12/x64/lib/python3.12/site-packages/pycognito/aws_srp.py#L310
datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
test / test (3.12): /opt/hostedtoolcache/Python/3.12.12/x64/lib/python3.12/site-packages/coverage/inorout.py#L513
--include is ignored because --source is set (include-ignored); see https://coverage.readthedocs.io/en/7.13.4/messages.html#warning-include-ignored
test / test (3.13): /opt/hostedtoolcache/Python/3.13.12/x64/lib/python3.13/site-packages/pycognito/aws_srp.py#L310
datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
test / test (3.13): /opt/hostedtoolcache/Python/3.13.12/x64/lib/python3.13/site-packages/pycognito/aws_srp.py#L310
datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
test / test (3.13): /opt/hostedtoolcache/Python/3.13.12/x64/lib/python3.13/site-packages/pycognito/aws_srp.py#L310
datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
test / test (3.13): /opt/hostedtoolcache/Python/3.13.12/x64/lib/python3.13/site-packages/pycognito/aws_srp.py#L310
datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
test / test (3.13): /opt/hostedtoolcache/Python/3.13.12/x64/lib/python3.13/site-packages/pycognito/aws_srp.py#L310
datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
test / test (3.13): /opt/hostedtoolcache/Python/3.13.12/x64/lib/python3.13/site-packages/pycognito/aws_srp.py#L310
datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
test / test (3.13): /opt/hostedtoolcache/Python/3.13.12/x64/lib/python3.13/site-packages/pycognito/aws_srp.py#L310
datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
test / test (3.13): /opt/hostedtoolcache/Python/3.13.12/x64/lib/python3.13/site-packages/pycognito/aws_srp.py#L310
datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
test / test (3.13): /opt/hostedtoolcache/Python/3.13.12/x64/lib/python3.13/site-packages/pycognito/aws_srp.py#L310
datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
test / test (3.13): /opt/hostedtoolcache/Python/3.13.12/x64/lib/python3.13/site-packages/coverage/inorout.py#L513
--include is ignored because --source is set (include-ignored); see https://coverage.readthedocs.io/en/7.13.4/messages.html#warning-include-ignored
test / test (3.11): /opt/hostedtoolcache/Python/3.11.14/x64/lib/python3.11/site-packages/coverage/inorout.py#L513
--include is ignored because --source is set (include-ignored); see https://coverage.readthedocs.io/en/7.13.4/messages.html#warning-include-ignored
test / test (3.11): /opt/hostedtoolcache/Python/3.11.14/x64/lib/python3.11/site-packages/coverage/inorout.py#L513
--include is ignored because --source is set (include-ignored); see https://coverage.readthedocs.io/en/7.13.4/messages.html#warning-include-ignored
test / test (3.11): /opt/hostedtoolcache/Python/3.11.14/x64/lib/python3.11/site-packages/coverage/inorout.py#L513
--include is ignored because --source is set (include-ignored); see https://coverage.readthedocs.io/en/7.13.4/messages.html#warning-include-ignored
test / test (3.11): /opt/hostedtoolcache/Python/3.11.14/x64/lib/python3.11/site-packages/coverage/inorout.py#L513
--include is ignored because --source is set (include-ignored); see https://coverage.readthedocs.io/en/7.13.4/messages.html#warning-include-ignored
test / test (3.11): /opt/hostedtoolcache/Python/3.11.14/x64/lib/python3.11/site-packages/coverage/inorout.py#L513
--include is ignored because --source is set (include-ignored); see https://coverage.readthedocs.io/en/7.13.4/messages.html#warning-include-ignored
test / test (3.11): /opt/hostedtoolcache/Python/3.11.14/x64/lib/python3.11/site-packages/coverage/inorout.py#L513
--include is ignored because --source is set (include-ignored); see https://coverage.readthedocs.io/en/7.13.4/messages.html#warning-include-ignored
test / test (3.11): /opt/hostedtoolcache/Python/3.11.14/x64/lib/python3.11/site-packages/coverage/inorout.py#L513
--include is ignored because --source is set (include-ignored); see https://coverage.readthedocs.io/en/7.13.4/messages.html#warning-include-ignored
test / test (3.11): /opt/hostedtoolcache/Python/3.11.14/x64/lib/python3.11/site-packages/coverage/inorout.py#L513
--include is ignored because --source is set (include-ignored); see https://coverage.readthedocs.io/en/7.13.4/messages.html#warning-include-ignored
test / test (3.11): /opt/hostedtoolcache/Python/3.11.14/x64/lib/python3.11/site-packages/coverage/inorout.py#L513
--include is ignored because --source is set (include-ignored); see https://coverage.readthedocs.io/en/7.13.4/messages.html#warning-include-ignored
test / test (3.11): /opt/hostedtoolcache/Python/3.11.14/x64/lib/python3.11/site-packages/coverage/inorout.py#L513
--include is ignored because --source is set (include-ignored); see https://coverage.readthedocs.io/en/7.13.4/messages.html#warning-include-ignored
test / test (3.10): /opt/hostedtoolcache/Python/3.10.19/x64/lib/python3.10/site-packages/coverage/inorout.py#L513
--include is ignored because --source is set (include-ignored); see https://coverage.readthedocs.io/en/7.13.4/messages.html#warning-include-ignored
test / test (3.10): /opt/hostedtoolcache/Python/3.10.19/x64/lib/python3.10/site-packages/coverage/inorout.py#L513
--include is ignored because --source is set (include-ignored); see https://coverage.readthedocs.io/en/7.13.4/messages.html#warning-include-ignored
test / test (3.10): /opt/hostedtoolcache/Python/3.10.19/x64/lib/python3.10/site-packages/coverage/inorout.py#L513
--include is ignored because --source is set (include-ignored); see https://coverage.readthedocs.io/en/7.13.4/messages.html#warning-include-ignored
test / test (3.10): /opt/hostedtoolcache/Python/3.10.19/x64/lib/python3.10/site-packages/coverage/inorout.py#L513
--include is ignored because --source is set (include-ignored); see https://coverage.readthedocs.io/en/7.13.4/messages.html#warning-include-ignored
test / test (3.10): /opt/hostedtoolcache/Python/3.10.19/x64/lib/python3.10/site-packages/coverage/inorout.py#L513
--include is ignored because --source is set (include-ignored); see https://coverage.readthedocs.io/en/7.13.4/messages.html#warning-include-ignored
test / test (3.10): /opt/hostedtoolcache/Python/3.10.19/x64/lib/python3.10/site-packages/coverage/inorout.py#L513
--include is ignored because --source is set (include-ignored); see https://coverage.readthedocs.io/en/7.13.4/messages.html#warning-include-ignored
test / test (3.10): /opt/hostedtoolcache/Python/3.10.19/x64/lib/python3.10/site-packages/coverage/inorout.py#L513
--include is ignored because --source is set (include-ignored); see https://coverage.readthedocs.io/en/7.13.4/messages.html#warning-include-ignored
test / test (3.10): /opt/hostedtoolcache/Python/3.10.19/x64/lib/python3.10/site-packages/coverage/inorout.py#L513
--include is ignored because --source is set (include-ignored); see https://coverage.readthedocs.io/en/7.13.4/messages.html#warning-include-ignored
test / test (3.10): /opt/hostedtoolcache/Python/3.10.19/x64/lib/python3.10/site-packages/coverage/inorout.py#L513
--include is ignored because --source is set (include-ignored); see https://coverage.readthedocs.io/en/7.13.4/messages.html#warning-include-ignored
test / test (3.10): /opt/hostedtoolcache/Python/3.10.19/x64/lib/python3.10/site-packages/coverage/inorout.py#L513
--include is ignored because --source is set (include-ignored); see https://coverage.readthedocs.io/en/7.13.4/messages.html#warning-include-ignored

Artifacts

Produced during runtime
Name Size Digest
getmoto~moto~VFU4H6.dockerbuild Expired
37.8 KB
sha256:220d95732891a2985d23c2f4fec3c126ba0c63fee191b9e777ebe4c3aa1bb5d7
localimage Expired
96.1 MB
sha256:2008826e62caef8c4eb38e815c63fdf8b1049a1bcdd70ba5ccaca9fb7c7e34bd
motoproxy-ubuntu-latest-3.10 Expired
16 MB
sha256:327a881857da8cae11e3e9dff8414058930333c5525fe690a41b6622229c6d02
motoproxy-ubuntu-latest-3.11 Expired
16 MB
sha256:71688291897005f2995ee54e4332aa0c2f41f33bfb5b4fe1f3869493bb9151b8
motoproxy-ubuntu-latest-3.12 Expired
16 MB
sha256:89d824884489a2569c64671896ce28af9f32d3215a9c7d92f7e59de8661bd0e9
motoserver-3.10 Expired
103 KB
sha256:522d45a6a6380c7bda520355543006b180ec7b715eb5bedaf9c042573f80187f
motoserver-3.11 Expired
104 KB
sha256:4eecfd27159db02c43e5abe4357d40b5202866e7964cfd6604b5672874045248
motoserver-3.12 Expired
104 KB
sha256:45513d5707cbf981cec9d26dd2a7c54a2d7ea0c2d79cf7834491e4041ccfd2a5
motoserver-3.13 Expired
103 KB
sha256:1b29cb9ebdeb5a9c223c398331a6d4ed00b383b05c4b1358a8530c8808fd164a
motoserver-3.14 Expired
102 KB
sha256:dc559a1572896c576fad70ca7fcfa179e7aa1e7c0ba8078aacb342dfda9b9585
motoserver-3.9 Expired
104 KB
sha256:906617b6e7fd56453d917459cc020151a199beae61bf79a59abfa59a94325194