botocore icon indicating copy to clipboard operation
botocore copied to clipboard

Copy env vars when injecting fake creds for test

Open kloczek opened this issue 3 years ago • 10 comments

Describe the bug

Just cheked my old build logs and looks like 1.26.0 was OK.

Expected Behavior

pytest should not fail.

Current Behavior

+ PYTHONDONTWRITEBYTECODE=1
+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-botocore-1.26.1-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-botocore-1.26.1-2.fc35.x86_64/usr/lib/python3.8/site-packages
+ /usr/bin/pytest -ra tests/functional
============================= test session starts ==============================
platform linux -- Python 3.8.13, pytest-7.1.2, pluggy-1.0.0
rootdir: /home/tkloczko/rpmbuild/BUILD/botocore-1.26.1, configfile: pyproject.toml
plugins: forked-1.4.0, xdist-2.5.0, asyncio-0.18.2
asyncio: mode=legacy
collected 25528 items

tests/functional/test_alias.py ......                                    [  0%]
tests/functional/test_apigateway.py .                                    [  0%]
tests/functional/test_client.py ..                                       [  0%]
tests/functional/test_client_class_names.py ............................ [  0%]
....................                                                     [  0%]
tests/functional/test_client_metadata.py ......                          [  0%]
tests/functional/test_cloudformation.py .                                [  0%]
tests/functional/test_cloudsearchdomain.py .                             [  0%]
tests/functional/test_cognito_idp.py .............                       [  0%]
tests/functional/test_config_provider.py ......                          [  0%]
tests/functional/test_credentials.py ..........................          [  0%]
tests/functional/test_discovery.py ........................              [  0%]
tests/functional/test_docdb.py ..                                        [  0%]
tests/functional/test_dynamodb.py ...                                    [  0%]
tests/functional/test_ec2.py ...                                         [  0%]
tests/functional/test_endpoints.py ..................................... [  0%]
........................................................................ [  0%]
........................................................................ [  1%]
........................................................................ [  1%]
........................................................................ [  1%]
........................................................................ [  2%]
........................................................................ [  2%]
........................................................................ [  2%]
....................................................                     [  2%]
tests/functional/test_event_alias.py ................................... [  3%]
........................................................................ [  3%]
........................................................................ [  3%]
........................................................................ [  3%]
........................................................................ [  4%]
........................................................................ [  4%]
...............................                                          [  4%]
tests/functional/test_eventbridge.py ss...ssss....sssss                  [  4%]
tests/functional/test_events.py ..                                       [  4%]
tests/functional/test_h2_required.py s..                                 [  4%]
tests/functional/test_history.py ....                                    [  4%]
tests/functional/test_iot_data.py ..                                     [  4%]
tests/functional/test_kinesis.py ...                                     [  4%]
tests/functional/test_lex.py ..                                          [  4%]
tests/functional/test_loaders.py .                                       [  4%]
tests/functional/test_machinelearning.py .                               [  4%]
tests/functional/test_model_backcompat.py .                              [  4%]
tests/functional/test_model_completeness.py ....................         [  4%]
tests/functional/test_modeled_exceptions.py ....                         [  4%]
tests/functional/test_mturk.py .                                         [  4%]
tests/functional/test_neptune.py ..                                      [  4%]
tests/functional/test_paginate.py .........                              [  4%]
tests/functional/test_paginator_config.py .............................. [  4%]
........................................................................ [  5%]
........................................................................ [  5%]
........................................................................ [  5%]
........................................................................ [  6%]
........................................................................ [  6%]
........................................................................ [  6%]
........................................................................ [  6%]
........................................................................ [  7%]
........................................................................ [  7%]
........................................................................ [  7%]
........................................................................ [  8%]
........................................................................ [  8%]
........................................................................ [  8%]
........................................................................ [  8%]
........................................................................ [  9%]
........................................................................ [  9%]
........................................................................ [  9%]
........................................................................ [ 10%]
........................................................................ [ 10%]
........................................................................ [ 10%]
........................................................................ [ 10%]
........................................................................ [ 11%]
........................................................................ [ 11%]
.............................                                            [ 11%]
tests/functional/test_public_apis.py ......                              [ 11%]
tests/functional/test_rds.py ....                                        [ 11%]
tests/functional/test_regions.py ....................................... [ 11%]
........................................................................ [ 12%]
........................................................................ [ 12%]
........................................................................ [ 12%]
........................................................................ [ 12%]
...................................................                      [ 13%]
tests/functional/test_response_shadowing.py ............................ [ 13%]
........................................................................ [ 13%]
........................................................................ [ 13%]
........................................................................ [ 14%]
........................................................................ [ 14%]
........................................................................ [ 14%]
........................................................................ [ 14%]
........................................................................ [ 15%]
........................................................................ [ 15%]
........................................................................ [ 15%]
........................................................................ [ 16%]
........................................................................ [ 16%]
........................................................................ [ 16%]
........................................................................ [ 16%]
........................................................................ [ 17%]
........................................................................ [ 17%]
........................................................................ [ 17%]
........................................................................ [ 17%]
........................................................................ [ 18%]
........................................................................ [ 18%]
........................................................................ [ 18%]
........................................................................ [ 19%]
........................................................................ [ 19%]
........................................................................ [ 19%]
........................................................................ [ 19%]
........................................................................ [ 20%]
........................................................................ [ 20%]
........................................................................ [ 20%]
........................................................................ [ 21%]
........................................................................ [ 21%]
........................................................................ [ 21%]
........................................................................ [ 21%]
........................................................................ [ 22%]
........................................................................ [ 22%]
........................................................................ [ 22%]
........................................................................ [ 23%]
........................................................................ [ 23%]
........................................................................ [ 23%]
........................................................................ [ 23%]
........................................................................ [ 24%]
........................................................................ [ 24%]
........................................................................ [ 24%]
........................................................................ [ 25%]
........................................................................ [ 25%]
........................................................................ [ 25%]
........................................................................ [ 25%]
........................................................................ [ 26%]
........................................................................ [ 26%]
........................................................................ [ 26%]
........................................................................ [ 27%]
........................................................................ [ 27%]
........................................................................ [ 27%]
........................................................................ [ 27%]
........................................................................ [ 28%]
........................................................................ [ 28%]
........................................................................ [ 28%]
........................................................................ [ 28%]
........................................................................ [ 29%]
........................................................................ [ 29%]
........................................................................ [ 29%]
........................................................................ [ 30%]
........................................................................ [ 30%]
........................................................................ [ 30%]
........................................................................ [ 30%]
........................................................................ [ 31%]
........................................................................ [ 31%]
........................................................................ [ 31%]
........................................................................ [ 32%]
........................................................................ [ 32%]
........................................................................ [ 32%]
........................................................................ [ 32%]
........................................................................ [ 33%]
........................................................................ [ 33%]
........................................................................ [ 33%]
........................................................................ [ 34%]
........................................................................ [ 34%]
........................................................................ [ 34%]
........................................................................ [ 34%]
........................................................................ [ 35%]
........................................................................ [ 35%]
........................................................................ [ 35%]
........................................................................ [ 36%]
........................................................................ [ 36%]
........................................................................ [ 36%]
........................................................................ [ 36%]
........................................................................ [ 37%]
........................................................................ [ 37%]
........................................................................ [ 37%]
........................................................................ [ 38%]
........................................................................ [ 38%]
........................................................................ [ 38%]
........................................................................ [ 38%]
........................................................................ [ 39%]
........................................................................ [ 39%]
........................................................................ [ 39%]
........................................................................ [ 39%]
........................................................................ [ 40%]
........................................................................ [ 40%]
........................................................................ [ 40%]
........................................................................ [ 41%]
........................................................................ [ 41%]
........................................................................ [ 41%]
........................................................................ [ 41%]
........................................................................ [ 42%]
........................................................................ [ 42%]
........................................................................ [ 42%]
........................................................................ [ 43%]
........................................................................ [ 43%]
........................................................................ [ 43%]
........................................................................ [ 43%]
........................................................................ [ 44%]
........................................................................ [ 44%]
........................................................................ [ 44%]
........................................................................ [ 45%]
........................................................................ [ 45%]
........................................................................ [ 45%]
........................................................................ [ 45%]
........................................................................ [ 46%]
........................................................................ [ 46%]
........................................................................ [ 46%]
........................................................................ [ 47%]
........................................................................ [ 47%]
........................................................................ [ 47%]
........................................................................ [ 47%]
........................................................................ [ 48%]
........................................................................ [ 48%]
........................................................................ [ 48%]
........................................................................ [ 49%]
........................................................................ [ 49%]
........................................................................ [ 49%]
........................................................................ [ 49%]
........................................................................ [ 50%]
........................................................................ [ 50%]
........................................................................ [ 50%]
........................................................................ [ 50%]
........................................................................ [ 51%]
........................................................................ [ 51%]
........................................................................ [ 51%]
........................................................................ [ 52%]
........................................................................ [ 52%]
........................................................................ [ 52%]
........................................................................ [ 52%]
........................................................................ [ 53%]
........................................................................ [ 53%]
........................................................................ [ 53%]
........................................................................ [ 54%]
........................................................................ [ 54%]
........................................................................ [ 54%]
........................................................................ [ 54%]
........................................................................ [ 55%]
........................................................................ [ 55%]
........................................................................ [ 55%]
........................................................................ [ 56%]
........................................................................ [ 56%]
........................................................................ [ 56%]
........................................................................ [ 56%]
........................................................................ [ 57%]
........................................................................ [ 57%]
........................................................................ [ 57%]
........................................................................ [ 58%]
........................................................................ [ 58%]
........................................................................ [ 58%]
........................................................................ [ 58%]
........................................................................ [ 59%]
........................................................................ [ 59%]
........................................................................ [ 59%]
........................................................................ [ 60%]
........................................................................ [ 60%]
........................................................................ [ 60%]
........................................................................ [ 60%]
........................................................................ [ 61%]
........................................................................ [ 61%]
........................................................................ [ 61%]
........................................................................ [ 61%]
........................................................................ [ 62%]
........................................................................ [ 62%]
........................................................................ [ 62%]
........................................................................ [ 63%]
........................................................................ [ 63%]
........................................................................ [ 63%]
........................................................................ [ 63%]
........................................................................ [ 64%]
........................................................................ [ 64%]
........................................................................ [ 64%]
........................................................................ [ 65%]
........................................................................ [ 65%]
........................................................................ [ 65%]
........................................................................ [ 65%]
........................................................................ [ 66%]
........................................................................ [ 66%]
........................................................................ [ 66%]
........................................................................ [ 67%]
........................................................................ [ 67%]
........................................................................ [ 67%]
........................................................................ [ 67%]
........................................................................ [ 68%]
........................................................................ [ 68%]
........................................................................ [ 68%]
........................................................................ [ 69%]
........................................................................ [ 69%]
........................................................................ [ 69%]
........................................................................ [ 69%]
........................................................................ [ 70%]
........................................................................ [ 70%]
........................................................................ [ 70%]
........................................................................ [ 71%]
........................................................................ [ 71%]
........................................................................ [ 71%]
........................................................................ [ 71%]
........................................................................ [ 72%]
........................................................................ [ 72%]
........................................................................ [ 72%]
........................................................................ [ 72%]
........................................................................ [ 73%]
........................................................................ [ 73%]
........................................................................ [ 73%]
........................................................................ [ 74%]
........................................................................ [ 74%]
........................................................................ [ 74%]
........................................................................ [ 74%]
........................................................................ [ 75%]
........................................................................ [ 75%]
........................................................................ [ 75%]
........................................................................ [ 76%]
........................................................................ [ 76%]
........................................................................ [ 76%]
........................................................................ [ 76%]
........................................................................ [ 77%]
........................................................................ [ 77%]
........................................................................ [ 77%]
........................................................................ [ 78%]
........................................................................ [ 78%]
........................................................................ [ 78%]
........................................................................ [ 78%]
........................................................................ [ 79%]
........................................................................ [ 79%]
........................................................................ [ 79%]
........................................................................ [ 80%]
........................................................................ [ 80%]
........................................................................ [ 80%]
........................................................................ [ 80%]
........................................................................ [ 81%]
........................................................................ [ 81%]
........................................................................ [ 81%]
........................................................................ [ 82%]
........................................................................ [ 82%]
........................................................................ [ 82%]
........................................................................ [ 82%]
........................................................................ [ 83%]
........................................................................ [ 83%]
........................................................................ [ 83%]
........................................................................ [ 83%]
........................................................................ [ 84%]
........................................................................ [ 84%]
........................................................................ [ 84%]
........................................................................ [ 85%]
........................................................................ [ 85%]
........................................................................ [ 85%]
........................................................................ [ 85%]
........................................................................ [ 86%]
........................................................................ [ 86%]
........................................................................ [ 86%]
........................................................................ [ 87%]
........................................................................ [ 87%]
........................................................................ [ 87%]
........................................................................ [ 87%]
........................................................................ [ 88%]
........................................................................ [ 88%]
........................................................................ [ 88%]
........................................................................ [ 89%]
........................................................................ [ 89%]
........................................................................ [ 89%]
........................................................................ [ 89%]
........................................................................ [ 90%]
........................................................................ [ 90%]
............................                                             [ 90%]
tests/functional/test_retry.py .................                         [ 90%]
tests/functional/test_route53.py ....                                    [ 90%]
tests/functional/test_s3.py ............................................ [ 90%]
.....s.......sssssssssss................................................ [ 91%]
........................................................................ [ 91%]
........................................................................ [ 91%]
.............                                                            [ 91%]
tests/functional/test_s3_control.py ...                                  [ 91%]
tests/functional/test_s3_control_redirects.py .......................... [ 91%]
..........                                                               [ 91%]
tests/functional/test_sagemaker.py ..                                    [ 91%]
tests/functional/test_service_alias.py .                                 [ 91%]
tests/functional/test_service_names.py ................................. [ 92%]
........................................................................ [ 92%]
........................................................................ [ 92%]
........................................................................ [ 92%]
........................................................................ [ 93%]
........................................................................ [ 93%]
........................................................................ [ 93%]
........................................................................ [ 93%]
........................................................................ [ 94%]
.                                                                        [ 94%]
tests/functional/test_session.py .......                                 [ 94%]
tests/functional/test_six_imports.py ................................... [ 94%]
...........................                                              [ 94%]
tests/functional/test_six_threading.py .                                 [ 94%]
tests/functional/test_sts.py .......................                     [ 94%]
tests/functional/test_stub.py .........................                  [ 94%]
tests/functional/test_tagged_unions_unknown.py .                         [ 94%]
tests/functional/test_utils.py ...                                       [ 94%]
tests/functional/test_waiter_config.py ................................. [ 94%]
.....................                                                    [ 94%]
tests/functional/csm/test_monitoring.py .....................            [ 95%]
tests/functional/docs/test_alias.py .                                    [ 95%]
tests/functional/docs/test_autoscaling.py .                              [ 95%]
tests/functional/docs/test_ec2.py ....                                   [ 95%]
tests/functional/docs/test_glacier.py ..                                 [ 95%]
tests/functional/docs/test_lex.py .                                      [ 95%]
tests/functional/docs/test_s3.py ......                                  [ 95%]
tests/functional/docs/test_secretsmanager.py .                           [ 95%]
tests/functional/docs/test_shared_example_config.py .................... [ 95%]
........................................................................ [ 95%]
........................................................................ [ 95%]
........................................................................ [ 96%]
........................................................................ [ 96%]
........................................................................ [ 96%]
........................................................................ [ 96%]
........................................................................ [ 97%]
........................................................................ [ 97%]
........................................................................ [ 97%]
........................................................................ [ 98%]
........................................................................ [ 98%]
........................................................................ [ 98%]
........................................................................ [ 98%]
........................................................................ [ 99%]
........................................................................ [ 99%]
........................................................................ [ 99%]
.................................................................        [ 99%]
tests/functional/docs/test_sms_voice.py .                                [ 99%]
tests/functional/docs/test_streaming_body.py .                           [ 99%]
tests/functional/leak/test_resource_leaks.py FEFEFEFEFEFE                [ 99%]
tests/functional/retries/test_bucket.py ..                               [ 99%]
tests/functional/retries/test_quota.py .                                 [100%]

==================================== ERRORS ====================================
_ ERROR at teardown of TestDoesNotLeakMemory.test_create_memory_clients_in_loop _
tests/__init__.py:182: in tearDown
    self.driver.stop()
tests/__init__.py:221: in stop
    self.cmd('exit')
tests/__init__.py:263: in cmd
    self.send_cmd(*cmd)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <tests.ClientDriver object at 0x7f88b49153a0>, cmd = ('exit',)
cmd_str = 'exit\n', cmd_bytes = b'exit\n'

    def send_cmd(self, *cmd):
        """Send a command and return immediately.

        This is a lower level method than cmd().
        This method will instruct the cmd-runner process
        to execute a command, but this method will
        immediately return.  You will need to use
        ``is_cmd_finished()`` to check that the command
        is finished.

        This method is useful if you want to record attributes
        about the process while an operation is occurring.  For
        example, if you want to instruct the cmd-runner process
        to upload a 1GB file to S3 and you'd like to record
        the memory during the upload process, you can use
        send_cmd() instead of cmd().

        """
        cmd_str = ' '.join(cmd) + '\n'
        cmd_bytes = cmd_str.encode('utf-8')
        self._popen.stdin.write(cmd_bytes)
>       self._popen.stdin.flush()
E       BrokenPipeError: [Errno 32] Broken pipe

tests/__init__.py:245: BrokenPipeError
----------------------------- Captured stderr call -----------------------------
Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/botocore-1.26.1/tests/cmd-runner", line 72, in <module>
    import botocore.session
ModuleNotFoundError: No module named 'botocore'
_ ERROR at teardown of TestDoesNotLeakMemory.test_create_memory_paginators_in_loop _
tests/__init__.py:182: in tearDown
    self.driver.stop()
tests/__init__.py:221: in stop
    self.cmd('exit')
tests/__init__.py:263: in cmd
    self.send_cmd(*cmd)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <tests.ClientDriver object at 0x7f88b48ff910>, cmd = ('exit',)
cmd_str = 'exit\n', cmd_bytes = b'exit\n'

    def send_cmd(self, *cmd):
        """Send a command and return immediately.

        This is a lower level method than cmd().
        This method will instruct the cmd-runner process
        to execute a command, but this method will
        immediately return.  You will need to use
        ``is_cmd_finished()`` to check that the command
        is finished.

        This method is useful if you want to record attributes
        about the process while an operation is occurring.  For
        example, if you want to instruct the cmd-runner process
        to upload a 1GB file to S3 and you'd like to record
        the memory during the upload process, you can use
        send_cmd() instead of cmd().

        """
        cmd_str = ' '.join(cmd) + '\n'
        cmd_bytes = cmd_str.encode('utf-8')
        self._popen.stdin.write(cmd_bytes)
>       self._popen.stdin.flush()
E       BrokenPipeError: [Errno 32] Broken pipe

tests/__init__.py:245: BrokenPipeError
----------------------------- Captured stderr call -----------------------------
Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/botocore-1.26.1/tests/cmd-runner", line 72, in <module>
    import botocore.session
ModuleNotFoundError: No module named 'botocore'
_ ERROR at teardown of TestDoesNotLeakMemory.test_create_memory_waiters_in_loop _
tests/__init__.py:182: in tearDown
    self.driver.stop()
tests/__init__.py:221: in stop
    self.cmd('exit')
tests/__init__.py:263: in cmd
    self.send_cmd(*cmd)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <tests.ClientDriver object at 0x7f88b4d14d60>, cmd = ('exit',)
cmd_str = 'exit\n', cmd_bytes = b'exit\n'

    def send_cmd(self, *cmd):
        """Send a command and return immediately.

        This is a lower level method than cmd().
        This method will instruct the cmd-runner process
        to execute a command, but this method will
        immediately return.  You will need to use
        ``is_cmd_finished()`` to check that the command
        is finished.

        This method is useful if you want to record attributes
        about the process while an operation is occurring.  For
        example, if you want to instruct the cmd-runner process
        to upload a 1GB file to S3 and you'd like to record
        the memory during the upload process, you can use
        send_cmd() instead of cmd().

        """
        cmd_str = ' '.join(cmd) + '\n'
        cmd_bytes = cmd_str.encode('utf-8')
        self._popen.stdin.write(cmd_bytes)
>       self._popen.stdin.flush()
E       BrokenPipeError: [Errno 32] Broken pipe

tests/__init__.py:245: BrokenPipeError
----------------------------- Captured stderr call -----------------------------
Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/botocore-1.26.1/tests/cmd-runner", line 72, in <module>
    import botocore.session
ModuleNotFoundError: No module named 'botocore'
_ ERROR at teardown of TestDoesNotLeakMemory.test_create_single_client_memory_constant _
tests/__init__.py:182: in tearDown
    self.driver.stop()
tests/__init__.py:221: in stop
    self.cmd('exit')
tests/__init__.py:263: in cmd
    self.send_cmd(*cmd)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <tests.ClientDriver object at 0x7f88b4915d60>, cmd = ('exit',)
cmd_str = 'exit\n', cmd_bytes = b'exit\n'

    def send_cmd(self, *cmd):
        """Send a command and return immediately.

        This is a lower level method than cmd().
        This method will instruct the cmd-runner process
        to execute a command, but this method will
        immediately return.  You will need to use
        ``is_cmd_finished()`` to check that the command
        is finished.

        This method is useful if you want to record attributes
        about the process while an operation is occurring.  For
        example, if you want to instruct the cmd-runner process
        to upload a 1GB file to S3 and you'd like to record
        the memory during the upload process, you can use
        send_cmd() instead of cmd().

        """
        cmd_str = ' '.join(cmd) + '\n'
        cmd_bytes = cmd_str.encode('utf-8')
        self._popen.stdin.write(cmd_bytes)
>       self._popen.stdin.flush()
E       BrokenPipeError: [Errno 32] Broken pipe

tests/__init__.py:245: BrokenPipeError
----------------------------- Captured stderr call -----------------------------
Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/botocore-1.26.1/tests/cmd-runner", line 72, in <module>
    import botocore.session
ModuleNotFoundError: No module named 'botocore'
_ ERROR at teardown of TestDoesNotLeakMemory.test_create_single_paginator_memory_constant _
tests/__init__.py:182: in tearDown
    self.driver.stop()
tests/__init__.py:221: in stop
    self.cmd('exit')
tests/__init__.py:263: in cmd
    self.send_cmd(*cmd)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <tests.ClientDriver object at 0x7f8895caaac0>, cmd = ('exit',)
cmd_str = 'exit\n', cmd_bytes = b'exit\n'

    def send_cmd(self, *cmd):
        """Send a command and return immediately.

        This is a lower level method than cmd().
        This method will instruct the cmd-runner process
        to execute a command, but this method will
        immediately return.  You will need to use
        ``is_cmd_finished()`` to check that the command
        is finished.

        This method is useful if you want to record attributes
        about the process while an operation is occurring.  For
        example, if you want to instruct the cmd-runner process
        to upload a 1GB file to S3 and you'd like to record
        the memory during the upload process, you can use
        send_cmd() instead of cmd().

        """
        cmd_str = ' '.join(cmd) + '\n'
        cmd_bytes = cmd_str.encode('utf-8')
        self._popen.stdin.write(cmd_bytes)
>       self._popen.stdin.flush()
E       BrokenPipeError: [Errno 32] Broken pipe

tests/__init__.py:245: BrokenPipeError
----------------------------- Captured stderr call -----------------------------
Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/botocore-1.26.1/tests/cmd-runner", line 72, in <module>
    import botocore.session
ModuleNotFoundError: No module named 'botocore'
_ ERROR at teardown of TestDoesNotLeakMemory.test_create_single_waiter_memory_constant _
tests/__init__.py:182: in tearDown
    self.driver.stop()
tests/__init__.py:221: in stop
    self.cmd('exit')
tests/__init__.py:263: in cmd
    self.send_cmd(*cmd)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <tests.ClientDriver object at 0x7f88b4bcdcd0>, cmd = ('exit',)
cmd_str = 'exit\n', cmd_bytes = b'exit\n'

    def send_cmd(self, *cmd):
        """Send a command and return immediately.

        This is a lower level method than cmd().
        This method will instruct the cmd-runner process
        to execute a command, but this method will
        immediately return.  You will need to use
        ``is_cmd_finished()`` to check that the command
        is finished.

        This method is useful if you want to record attributes
        about the process while an operation is occurring.  For
        example, if you want to instruct the cmd-runner process
        to upload a 1GB file to S3 and you'd like to record
        the memory during the upload process, you can use
        send_cmd() instead of cmd().

        """
        cmd_str = ' '.join(cmd) + '\n'
        cmd_bytes = cmd_str.encode('utf-8')
        self._popen.stdin.write(cmd_bytes)
>       self._popen.stdin.flush()
E       BrokenPipeError: [Errno 32] Broken pipe

tests/__init__.py:245: BrokenPipeError
----------------------------- Captured stderr call -----------------------------
Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/botocore-1.26.1/tests/cmd-runner", line 72, in <module>
    import botocore.session
ModuleNotFoundError: No module named 'botocore'
=================================== FAILURES ===================================
___________ TestDoesNotLeakMemory.test_create_memory_clients_in_loop ___________

self = <tests.functional.leak.test_resource_leaks.TestDoesNotLeakMemory testMethod=test_create_memory_clients_in_loop>

    def test_create_memory_clients_in_loop(self):
        # We need to first create clients and free then before
        # recording our memory samples.  This is because of two reasons:
        # 1. Caching.  Some of the botocore internals will cache data, so
        #    the first client created will consume more memory than subsequent
        #    clients.  We're interested in growing memory, not total
        #    memory usage (for now), so we we care about the memory in the
        #    steady state case.
        # 2. Python memory allocation.  Due to how python allocates memory
        #    via it's small object allocator, arena's aren't freed until the
        #    entire 256kb isn't in use.  If a single allocation in a single
        #    pool in a single arena is still in use, the arena is not
        #    freed.  This case is easy to hit, and pretty much any
        #    fragmentation guarantees this case is hit.  The best we can
        #    do is verify that memory that's released back to python's
        #    allocator (but not to the OS) is at least reused in subsequent
        #    requests to create botocore clients.
>       self.cmd('create_multiple_clients', '200', 's3')

tests/functional/leak/test_resource_leaks.py:56:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/__init__.py:169: in cmd
    self.driver.cmd(*args)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <tests.ClientDriver object at 0x7f88b49153a0>
cmd = ('create_multiple_clients', '200', 's3'), result = b''

    def cmd(self, *cmd):
        """Send a command and block until it finishes.

        This method will send a command to the cmd-runner process
        to run.  It will block until the cmd-runner process is
        finished executing the command and sends back a status
        response.

        """
        self.send_cmd(*cmd)
        result = self._popen.stdout.readline().strip()
        if result != b'OK':
>           raise RuntimeError(
                "Error from command '%s': %s" % (cmd, result))
E           RuntimeError: Error from command '('create_multiple_clients', '200', 's3')': b''

tests/__init__.py:266: RuntimeError
----------------------------- Captured stderr call -----------------------------
Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/botocore-1.26.1/tests/cmd-runner", line 72, in <module>
    import botocore.session
ModuleNotFoundError: No module named 'botocore'
_________ TestDoesNotLeakMemory.test_create_memory_paginators_in_loop __________

self = <tests.functional.leak.test_resource_leaks.TestDoesNotLeakMemory testMethod=test_create_memory_paginators_in_loop>

    def test_create_memory_paginators_in_loop(self):
        # See ``test_create_memory_clients_in_loop`` to understand why
        # paginators are first initialized and then freed. Same reason applies.
>       self.cmd('create_multiple_paginators', '200', 's3', 'list_objects')

tests/functional/leak/test_resource_leaks.py:107:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/__init__.py:169: in cmd
    self.driver.cmd(*args)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <tests.ClientDriver object at 0x7f88b48ff910>
cmd = ('create_multiple_paginators', '200', 's3', 'list_objects'), result = b''

    def cmd(self, *cmd):
        """Send a command and block until it finishes.

        This method will send a command to the cmd-runner process
        to run.  It will block until the cmd-runner process is
        finished executing the command and sends back a status
        response.

        """
        self.send_cmd(*cmd)
        result = self._popen.stdout.readline().strip()
        if result != b'OK':
>           raise RuntimeError(
                "Error from command '%s': %s" % (cmd, result))
E           RuntimeError: Error from command '('create_multiple_paginators', '200', 's3', 'list_objects')': b''

tests/__init__.py:266: RuntimeError
----------------------------- Captured stderr call -----------------------------
Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/botocore-1.26.1/tests/cmd-runner", line 72, in <module>
    import botocore.session
ModuleNotFoundError: No module named 'botocore'
___________ TestDoesNotLeakMemory.test_create_memory_waiters_in_loop ___________

self = <tests.functional.leak.test_resource_leaks.TestDoesNotLeakMemory testMethod=test_create_memory_waiters_in_loop>

    def test_create_memory_waiters_in_loop(self):
        # See ``test_create_memory_clients_in_loop`` to understand why
        # waiters are first initialized and then freed. Same reason applies.
>       self.cmd('create_multiple_waiters', '200', 's3', 'bucket_exists')

tests/functional/leak/test_resource_leaks.py:81:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/__init__.py:169: in cmd
    self.driver.cmd(*args)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <tests.ClientDriver object at 0x7f88b4d14d60>
cmd = ('create_multiple_waiters', '200', 's3', 'bucket_exists'), result = b''

    def cmd(self, *cmd):
        """Send a command and block until it finishes.

        This method will send a command to the cmd-runner process
        to run.  It will block until the cmd-runner process is
        finished executing the command and sends back a status
        response.

        """
        self.send_cmd(*cmd)
        result = self._popen.stdout.readline().strip()
        if result != b'OK':
>           raise RuntimeError(
                "Error from command '%s': %s" % (cmd, result))
E           RuntimeError: Error from command '('create_multiple_waiters', '200', 's3', 'bucket_exists')': b''

tests/__init__.py:266: RuntimeError
----------------------------- Captured stderr call -----------------------------
Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/botocore-1.26.1/tests/cmd-runner", line 72, in <module>
    import botocore.session
ModuleNotFoundError: No module named 'botocore'
_______ TestDoesNotLeakMemory.test_create_single_client_memory_constant ________

self = <tests.functional.leak.test_resource_leaks.TestDoesNotLeakMemory testMethod=test_create_single_client_memory_constant>

    def test_create_single_client_memory_constant(self):
>       self.cmd('create_client', 's3')

tests/functional/leak/test_resource_leaks.py:29:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/__init__.py:169: in cmd
    self.driver.cmd(*args)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <tests.ClientDriver object at 0x7f88b4915d60>
cmd = ('create_client', 's3'), result = b''

    def cmd(self, *cmd):
        """Send a command and block until it finishes.

        This method will send a command to the cmd-runner process
        to run.  It will block until the cmd-runner process is
        finished executing the command and sends back a status
        response.

        """
        self.send_cmd(*cmd)
        result = self._popen.stdout.readline().strip()
        if result != b'OK':
>           raise RuntimeError(
                "Error from command '%s': %s" % (cmd, result))
E           RuntimeError: Error from command '('create_client', 's3')': b''

tests/__init__.py:266: RuntimeError
----------------------------- Captured stderr call -----------------------------
Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/botocore-1.26.1/tests/cmd-runner", line 72, in <module>
    import botocore.session
ModuleNotFoundError: No module named 'botocore'
______ TestDoesNotLeakMemory.test_create_single_paginator_memory_constant ______

self = <tests.functional.leak.test_resource_leaks.TestDoesNotLeakMemory testMethod=test_create_single_paginator_memory_constant>

    def test_create_single_paginator_memory_constant(self):
>       self.cmd('create_paginator', 's3', 'list_objects')

tests/functional/leak/test_resource_leaks.py:94:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/__init__.py:169: in cmd
    self.driver.cmd(*args)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <tests.ClientDriver object at 0x7f8895caaac0>
cmd = ('create_paginator', 's3', 'list_objects'), result = b''

    def cmd(self, *cmd):
        """Send a command and block until it finishes.

        This method will send a command to the cmd-runner process
        to run.  It will block until the cmd-runner process is
        finished executing the command and sends back a status
        response.

        """
        self.send_cmd(*cmd)
        result = self._popen.stdout.readline().strip()
        if result != b'OK':
>           raise RuntimeError(
                "Error from command '%s': %s" % (cmd, result))
E           RuntimeError: Error from command '('create_paginator', 's3', 'list_objects')': b''

tests/__init__.py:266: RuntimeError
----------------------------- Captured stderr call -----------------------------
Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/botocore-1.26.1/tests/cmd-runner", line 72, in <module>
    import botocore.session
ModuleNotFoundError: No module named 'botocore'
_______ TestDoesNotLeakMemory.test_create_single_waiter_memory_constant ________

self = <tests.functional.leak.test_resource_leaks.TestDoesNotLeakMemory testMethod=test_create_single_waiter_memory_constant>

    def test_create_single_waiter_memory_constant(self):
>       self.cmd('create_waiter', 's3', 'bucket_exists')

tests/functional/leak/test_resource_leaks.py:68:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/__init__.py:169: in cmd
    self.driver.cmd(*args)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <tests.ClientDriver object at 0x7f88b4bcdcd0>
cmd = ('create_waiter', 's3', 'bucket_exists'), result = b''

    def cmd(self, *cmd):
        """Send a command and block until it finishes.

        This method will send a command to the cmd-runner process
        to run.  It will block until the cmd-runner process is
        finished executing the command and sends back a status
        response.

        """
        self.send_cmd(*cmd)
        result = self._popen.stdout.readline().strip()
        if result != b'OK':
>           raise RuntimeError(
                "Error from command '%s': %s" % (cmd, result))
E           RuntimeError: Error from command '('create_waiter', 's3', 'bucket_exists')': b''

tests/__init__.py:266: RuntimeError
----------------------------- Captured stderr call -----------------------------
Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/botocore-1.26.1/tests/cmd-runner", line 72, in <module>
    import botocore.session
ModuleNotFoundError: No module named 'botocore'
=============================== warnings summary ===============================
../../../../../usr/lib/python3.8/site-packages/pytest_asyncio/plugin.py:191
  /usr/lib/python3.8/site-packages/pytest_asyncio/plugin.py:191: DeprecationWarning: The 'asyncio_mode' default value will change to 'strict' in future, please explicitly use 'asyncio_mode=strict' or 'asyncio_mode=auto' in pytest configuration file.
    config.issue_config_time_warning(LEGACY_MODE, stacklevel=2)

tests/functional/test_cloudformation.py: 3 warnings
tests/functional/docs/test_alias.py: 9 warnings
tests/functional/docs/test_autoscaling.py: 3 warnings
tests/functional/docs/test_ec2.py: 12 warnings
tests/functional/docs/test_glacier.py: 6 warnings
tests/functional/docs/test_lex.py: 3 warnings
tests/functional/docs/test_s3.py: 30 warnings
tests/functional/docs/test_secretsmanager.py: 3 warnings
tests/functional/docs/test_sms_voice.py: 3 warnings
tests/functional/docs/test_streaming_body.py: 115 warnings
  /home/tkloczko/rpmbuild/BUILD/botocore-1.26.1/botocore/docs/method.py:105: DeprecationWarning: `formatargspec` is deprecated since Python 3.5. Use `signature` and the `Signature` object directly
    signature_params = inspect.formatargspec(

tests/functional/docs/test_shared_example_config.py::test_lint_shared_example_configs[DescribeStream-example_config191-service_model191]
  /usr/lib/python3.8/site-packages/dateutil/parser/_parser.py:1207: UnknownTimezoneWarning: tzname PDT identified but not understood.  Pass `tzinfos` argument in order to correctly return a timezone-aware datetime.  In a future version, this will raise an exception.
    warnings.warn("tzname {tzname} identified but not understood.  "

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
SKIPPED [1] tests/functional/test_eventbridge.py:128: Test requires awscrt to be installed
SKIPPED [1] tests/functional/test_eventbridge.py:140: Test requires awscrt to be installed
SKIPPED [1] tests/functional/test_eventbridge.py:156: Test requires awscrt to be installed
SKIPPED [1] tests/functional/test_eventbridge.py:168: Test requires awscrt to be installed
SKIPPED [1] tests/functional/test_eventbridge.py:84: Test requires awscrt to be installed
SKIPPED [1] tests/functional/test_eventbridge.py:104: Test requires awscrt to be installed
SKIPPED [1] tests/functional/test_eventbridge.py:314: Test requires awscrt to be installed
SKIPPED [1] tests/functional/test_eventbridge.py:195: Test requires awscrt to be installed
SKIPPED [1] tests/functional/test_eventbridge.py:255: Test requires awscrt to be installed
SKIPPED [1] tests/functional/test_eventbridge.py:229: Test requires awscrt to be installed
SKIPPED [1] tests/functional/test_eventbridge.py:281: Test requires awscrt to be installed
SKIPPED [1] tests/functional/test_h2_required.py:50: got empty parameter set ['h2_service'], function test_all_uses_of_h2_are_known at /home/tkloczko/rpmbuild/BUILD/botocore-1.26.1/tests/functional/test_h2_required.py:49
SKIPPED [1] tests/functional/test_s3.py:1008: Test requires awscrt to be installed
SKIPPED [1] tests/functional/test_s3.py:943: Test requires awscrt to be installed
SKIPPED [1] tests/functional/test_s3.py:970: Test requires awscrt to be installed
SKIPPED [1] tests/functional/test_s3.py:1001: Test requires awscrt to be installed
SKIPPED [1] tests/functional/test_s3.py:988: Test requires awscrt to be installed
SKIPPED [1] tests/functional/test_s3.py:995: Test requires awscrt to be installed
SKIPPED [1] tests/functional/test_s3.py:960: Test requires awscrt to be installed
SKIPPED [1] tests/functional/test_s3.py:954: Test requires awscrt to be installed
SKIPPED [1] tests/functional/test_s3.py:979: Test requires awscrt to be installed
SKIPPED [1] tests/functional/test_s3.py:1034: Test requires awscrt to be installed
SKIPPED [1] tests/functional/test_s3.py:1043: Test requires awscrt to be installed
SKIPPED [1] tests/functional/test_s3.py:1023: Test requires awscrt to be installed
ERROR tests/functional/leak/test_resource_leaks.py::TestDoesNotLeakMemory::test_create_memory_clients_in_loop
ERROR tests/functional/leak/test_resource_leaks.py::TestDoesNotLeakMemory::test_create_memory_paginators_in_loop
ERROR tests/functional/leak/test_resource_leaks.py::TestDoesNotLeakMemory::test_create_memory_waiters_in_loop
ERROR tests/functional/leak/test_resource_leaks.py::TestDoesNotLeakMemory::test_create_single_client_memory_constant
ERROR tests/functional/leak/test_resource_leaks.py::TestDoesNotLeakMemory::test_create_single_paginator_memory_constant
ERROR tests/functional/leak/test_resource_leaks.py::TestDoesNotLeakMemory::test_create_single_waiter_memory_constant
FAILED tests/functional/leak/test_resource_leaks.py::TestDoesNotLeakMemory::test_create_memory_clients_in_loop
FAILED tests/functional/leak/test_resource_leaks.py::TestDoesNotLeakMemory::test_create_memory_paginators_in_loop
FAILED tests/functional/leak/test_resource_leaks.py::TestDoesNotLeakMemory::test_create_memory_waiters_in_loop
FAILED tests/functional/leak/test_resource_leaks.py::TestDoesNotLeakMemory::test_create_single_client_memory_constant
FAILED tests/functional/leak/test_resource_leaks.py::TestDoesNotLeakMemory::test_create_single_paginator_memory_constant
FAILED tests/functional/leak/test_resource_leaks.py::TestDoesNotLeakMemory::test_create_single_waiter_memory_constant
= 6 failed, 25498 passed, 24 skipped, 189 warnings, 6 errors in 923.79s (0:15:23) =

Reproduction Steps

I'm trying to package your module as an rpm package. So I'm using the typical PEP517 based build, install and test cycle used on building packages from non-root account.

  • python3 -sBm build -w --no-isolation
  • because I'm calling build with --no-isolation I'm using during all processes only locally installed modules
  • install .whl file in </install/prefix>
  • run pytest with PYTHONPATH pointing to sitearch and sitelib inside </install/prefix>

Possible Solution

N/A

Additional Information/Context

No response

SDK version used

N/A

Environment details (OS name and version, etc.)

Linux x86/64

kloczek avatar May 18 '22 06:05 kloczek

This looks like a duplicate of https://github.com/boto/botocore/issues/2586 and it appears that this comment still applies here.

tim-finnigan avatar May 18 '22 17:05 tim-finnigan

Sorry I've lost that .. OK will try to check that now.

kloczek avatar May 18 '22 17:05 kloczek

In generated rpm package I see botocore.session so definitelly it was in </install/prefix>

[tkloczko@devel-g2v Packages]$ rpm -qplv python-botocore-1.26.1-2.fc35.noarch.rpm |grep botocore/session
-rw-r--r--    1 root     root                    46265 May 18 10:16 /usr/lib/python3.8/site-packages/botocore/session.py

kloczek avatar May 18 '22 17:05 kloczek

Hi @kloczek, I'm following up to see if you're still having this issue. If so, any additional info you could provide would be helpful to reproduce the issue.

aBurmeseDev avatar Jul 08 '22 00:07 aBurmeseDev

No those fails are new.

kloczek avatar Jul 08 '22 04:07 kloczek

Hi @kloczek, as we discussed in the previous issue, the failures are all related to:

tests/__init__.py:266: RuntimeError
----------------------------- Captured stderr call -----------------------------
Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/botocore-1.26.1/tests/cmd-runner", line 72, in <module>
    import botocore.session
ModuleNotFoundError: No module named 'botocore'

This isn't reproducible in the standard install via pip or with the base repository. Given the only report of this has come from your RPM, it appears something with the installation is blocking pytest from accessing botocore in a subprocess. Perhaps the PATH or PYTHONPATH is not being configured correctly during installation?

I don't know if we can assist with that though since it's based on your build process.

nateprewitt avatar Jul 08 '22 18:07 nateprewitt

Hi @kloczek, as we discussed in the previous issue, the failures are all related to:

I know. FYI I'm usimg typical "test as installed" methodology + pep517:

  • python3 -sBm build -w --no-isolation
  • install .whl file in </install/prefix>
  • run pytest with PYTHONPATH pointing to sitearch and sitelib inside </install/prefix>

botocore module is in $PYTHONPATH and that is thrange that pytest is not able to locate botocore .. but only in case of few units.

kloczek avatar Jul 08 '22 20:07 kloczek

Just retested 1.27.78 ans issue is still around. Threre are as well few pytest warnings Here is the log

+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-botocore-1.27.78-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-botocore-1.27.78-2.fc35.x86_64/usr/lib/python3.8/site-packages
+ /usr/bin/pytest -ra tests/functional
=========================================================================== test session starts ============================================================================
platform linux -- Python 3.8.14, pytest-7.1.3, pluggy-1.0.0
rootdir: /home/tkloczko/rpmbuild/BUILD/botocore-1.27.78, configfile: pyproject.toml
collected 26604 items

tests/functional/test_alias.py ......                                                                                                                                [  0%]
tests/functional/test_apigateway.py .                                                                                                                                [  0%]
tests/functional/test_client.py ..                                                                                                                                   [  0%]
tests/functional/test_client_class_names.py ................................................                                                                         [  0%]
tests/functional/test_client_metadata.py ......                                                                                                                      [  0%]
tests/functional/test_cloudformation.py .                                                                                                                            [  0%]
tests/functional/test_cloudsearchdomain.py .                                                                                                                         [  0%]
tests/functional/test_cognito_idp.py .............                                                                                                                   [  0%]
tests/functional/test_config_provider.py ......                                                                                                                      [  0%]
tests/functional/test_credentials.py ..........................                                                                                                      [  0%]
tests/functional/test_discovery.py ........................                                                                                                          [  0%]
tests/functional/test_docdb.py ..                                                                                                                                    [  0%]
tests/functional/test_dynamodb.py ...                                                                                                                                [  0%]
tests/functional/test_ec2.py ...                                                                                                                                     [  0%]
tests/functional/test_endpoints.py ................................................................................................................................. [  1%]
.................................................................................................................................................................... [  1%]
.................................................................................................................................................................... [  2%]
.................................................................................................................................................................... [  2%]
.........                                                                                                                                                            [  2%]
tests/functional/test_event_alias.py ............................................................................................................................... [  3%]
.................................................................................................................................................................... [  3%]
.......................................................................................................................................                              [  4%]
tests/functional/test_eventbridge.py ss...ssss....sssss                                                                                                              [  4%]
tests/functional/test_events.py ..                                                                                                                                   [  4%]
tests/functional/test_h2_required.py s..                                                                                                                             [  4%]
tests/functional/test_history.py ....                                                                                                                                [  4%]
tests/functional/test_iot_data.py ..                                                                                                                                 [  4%]
tests/functional/test_kinesis.py ...                                                                                                                                 [  4%]
tests/functional/test_lex.py ..                                                                                                                                      [  4%]
tests/functional/test_loaders.py .                                                                                                                                   [  4%]
tests/functional/test_machinelearning.py .                                                                                                                           [  4%]
tests/functional/test_model_backcompat.py .                                                                                                                          [  4%]
tests/functional/test_model_completeness.py ....................                                                                                                     [  4%]
tests/functional/test_modeled_exceptions.py ....                                                                                                                     [  4%]
tests/functional/test_mturk.py .                                                                                                                                     [  4%]
tests/functional/test_neptune.py ..                                                                                                                                  [  4%]
tests/functional/test_paginate.py .........                                                                                                                          [  4%]
tests/functional/test_paginator_config.py .......................................................................................................................... [  5%]
.................................................................................................................................................................... [  5%]
.................................................................................................................................................................... [  6%]
.................................................................................................................................................................... [  7%]
.................................................................................................................................................................... [  7%]
.................................................................................................................................................................... [  8%]
.................................................................................................................................................................... [  8%]
.................................................................................................................................................................... [  9%]
.................................................................................................................................................................... [ 10%]
.................................................................................................................................................................... [ 10%]
.................................................................................................................................................................... [ 11%]
..........................................                                                                                                                           [ 11%]
tests/functional/test_public_apis.py ......                                                                                                                          [ 11%]
tests/functional/test_rds.py ....                                                                                                                                    [ 11%]
tests/functional/test_regions.py ................................................................................................................................... [ 12%]
.................................................................................................................................................................... [ 12%]
.....................................................................................                                                                                [ 13%]
tests/functional/test_response_shadowing.py ........................................................................................................................ [ 13%]
.................................................................................................................................................................... [ 14%]
.................................................................................................................................................................... [ 14%]
.................................................................................................................................................................... [ 15%]
.................................................................................................................................................................... [ 15%]
.................................................................................................................................................................... [ 16%]
.................................................................................................................................................................... [ 17%]
.................................................................................................................................................................... [ 17%]
.................................................................................................................................................................... [ 18%]
.................................................................................................................................................................... [ 19%]
.................................................................................................................................................................... [ 19%]
.................................................................................................................................................................... [ 20%]
.................................................................................................................................................................... [ 20%]
.................................................................................................................................................................... [ 21%]
.................................................................................................................................................................... [ 22%]
.................................................................................................................................................................... [ 22%]
.................................................................................................................................................................... [ 23%]
.................................................................................................................................................................... [ 23%]
.................................................................................................................................................................... [ 24%]
.................................................................................................................................................................... [ 25%]
.................................................................................................................................................................... [ 25%]
.................................................................................................................................................................... [ 26%]
.................................................................................................................................................................... [ 27%]
.................................................................................................................................................................... [ 27%]
.................................................................................................................................................................... [ 28%]
.................................................................................................................................................................... [ 28%]
.................................................................................................................................................................... [ 29%]
.................................................................................................................................................................... [ 30%]
.................................................................................................................................................................... [ 30%]
.................................................................................................................................................................... [ 31%]
.................................................................................................................................................................... [ 31%]
.................................................................................................................................................................... [ 32%]
.................................................................................................................................................................... [ 33%]
.................................................................................................................................................................... [ 33%]
.................................................................................................................................................................... [ 34%]
.................................................................................................................................................................... [ 35%]
.................................................................................................................................................................... [ 35%]
.................................................................................................................................................................... [ 36%]
.................................................................................................................................................................... [ 36%]
.................................................................................................................................................................... [ 37%]
.................................................................................................................................................................... [ 38%]
.................................................................................................................................................................... [ 38%]
.................................................................................................................................................................... [ 39%]
.................................................................................................................................................................... [ 39%]
.................................................................................................................................................................... [ 40%]
.................................................................................................................................................................... [ 41%]
.................................................................................................................................................................... [ 41%]
.................................................................................................................................................................... [ 42%]
.................................................................................................................................................................... [ 43%]
.................................................................................................................................................................... [ 43%]
.................................................................................................................................................................... [ 44%]
.................................................................................................................................................................... [ 44%]
.................................................................................................................................................................... [ 45%]
.................................................................................................................................................................... [ 46%]
.................................................................................................................................................................... [ 46%]
.................................................................................................................................................................... [ 47%]
.................................................................................................................................................................... [ 47%]
.................................................................................................................................................................... [ 48%]
.................................................................................................................................................................... [ 49%]
.................................................................................................................................................................... [ 49%]
.................................................................................................................................................................... [ 50%]
.................................................................................................................................................................... [ 51%]
.................................................................................................................................................................... [ 51%]
.................................................................................................................................................................... [ 52%]
.................................................................................................................................................................... [ 52%]
.................................................................................................................................................................... [ 53%]
.................................................................................................................................................................... [ 54%]
.................................................................................................................................................................... [ 54%]
.................................................................................................................................................................... [ 55%]
.................................................................................................................................................................... [ 56%]
.................................................................................................................................................................... [ 56%]
.................................................................................................................................................................... [ 57%]
.................................................................................................................................................................... [ 57%]
.................................................................................................................................................................... [ 58%]
.................................................................................................................................................................... [ 59%]
.................................................................................................................................................................... [ 59%]
.................................................................................................................................................................... [ 60%]
.................................................................................................................................................................... [ 60%]
.................................................................................................................................................................... [ 61%]
.................................................................................................................................................................... [ 62%]
.................................................................................................................................................................... [ 62%]
.................................................................................................................................................................... [ 63%]
.................................................................................................................................................................... [ 64%]
.................................................................................................................................................................... [ 64%]
.................................................................................................................................................................... [ 65%]
.................................................................................................................................................................... [ 65%]
.................................................................................................................................................................... [ 66%]
.................................................................................................................................................................... [ 67%]
.................................................................................................................................................................... [ 67%]
.................................................................................................................................................................... [ 68%]
.................................................................................................................................................................... [ 68%]
.................................................................................................................................................................... [ 69%]
.................................................................................................................................................................... [ 70%]
.................................................................................................................................................................... [ 70%]
.................................................................................................................................................................... [ 71%]
.................................................................................................................................................................... [ 72%]
.................................................................................................................................................................... [ 72%]
.................................................................................................................................................................... [ 73%]
.................................................................................................................................................................... [ 73%]
.................................................................................................................................................................... [ 74%]
.................................................................................................................................................................... [ 75%]
.................................................................................................................................................................... [ 75%]
.................................................................................................................................................................... [ 76%]
.................................................................................................................................................................... [ 76%]
.................................................................................................................................................................... [ 77%]
.................................................................................................................................................................... [ 78%]
.................................................................................................................................................................... [ 78%]
.................................................................................................................................................................... [ 79%]
.................................................................................................................................................................... [ 80%]
.................................................................................................................................................................... [ 80%]
.................................................................................................................................................................... [ 81%]
.................................................................................................................................................................... [ 81%]
.................................................................................................................................................................... [ 82%]
.................................................................................................................................................................... [ 83%]
.................................................................................................................................................................... [ 83%]
.................................................................................................................................................................... [ 84%]
.................................................................................................................................................................... [ 84%]
.................................................................................................................................................................... [ 85%]
.................................................................................................................................................................... [ 86%]
.................................................................................................................................................................... [ 86%]
.................................................................................................................................................................... [ 87%]
.................................................................................................................................................................... [ 88%]
.................................................................................................................................................................... [ 88%]
.................................................................................................................................................................... [ 89%]
.................................................................................................................................................................... [ 89%]
.................................................................................................                                                                    [ 90%]
tests/functional/test_retry.py .................                                                                                                                     [ 90%]
tests/functional/test_route53.py ....                                                                                                                                [ 90%]
tests/functional/test_s3.py .................................................s.......sssssssssss.................................................................... [ 90%]
.........................................................................................................................................                            [ 91%]
tests/functional/test_s3_control.py ...                                                                                                                              [ 91%]
tests/functional/test_s3_control_redirects.py ....................................                                                                                   [ 91%]
tests/functional/test_sagemaker.py ..                                                                                                                                [ 91%]
tests/functional/test_service_alias.py .                                                                                                                             [ 91%]
tests/functional/test_service_names.py ............................................................................................................................. [ 92%]
.................................................................................................................................................................... [ 92%]
.................................................................................................................................................................... [ 93%]
.................................................................................................................................................................... [ 93%]
.............                                                                                                                                                        [ 93%]
tests/functional/test_session.py .......                                                                                                                             [ 93%]
tests/functional/test_six_imports.py ................................................................                                                                [ 94%]
tests/functional/test_six_threading.py .                                                                                                                             [ 94%]
tests/functional/test_sts.py .......................                                                                                                                 [ 94%]
tests/functional/test_stub.py .........................                                                                                                              [ 94%]
tests/functional/test_tagged_unions_unknown.py .                                                                                                                     [ 94%]
tests/functional/test_utils.py ...                                                                                                                                   [ 94%]
tests/functional/test_waiter_config.py ........................................................                                                                      [ 94%]
tests/functional/csm/test_monitoring.py .....................                                                                                                        [ 94%]
tests/functional/docs/test_alias.py .                                                                                                                                [ 94%]
tests/functional/docs/test_autoscaling.py .                                                                                                                          [ 94%]
tests/functional/docs/test_ec2.py ....                                                                                                                               [ 94%]
tests/functional/docs/test_glacier.py ..                                                                                                                             [ 94%]
tests/functional/docs/test_lex.py .                                                                                                                                  [ 94%]
tests/functional/docs/test_s3.py ......                                                                                                                              [ 94%]
tests/functional/docs/test_secretsmanager.py .                                                                                                                       [ 94%]
tests/functional/docs/test_shared_example_config.py ................................................................................................................ [ 95%]
.................................................................................................................................................................... [ 95%]
.................................................................................................................................................................... [ 96%]
.................................................................................................................................................................... [ 96%]
.................................................................................................................................................................... [ 97%]
.................................................................................................................................................................... [ 98%]
.................................................................................................................................................................... [ 98%]
.................................................................................................................................................................... [ 99%]
....................................................................................................................................                                 [ 99%]
tests/functional/docs/test_sms_voice.py .                                                                                                                            [ 99%]
tests/functional/docs/test_streaming_body.py .                                                                                                                       [ 99%]
tests/functional/leak/test_resource_leaks.py FEFEFEFEFEFE                                                                                                            [ 99%]
tests/functional/retries/test_bucket.py ..                                                                                                                           [ 99%]
tests/functional/retries/test_quota.py .                                                                                                                             [100%]

================================================================================== ERRORS ==================================================================================
______________________________________________ ERROR at teardown of TestDoesNotLeakMemory.test_create_memory_clients_in_loop _______________________________________________
tests/__init__.py:187: in tearDown
    self.driver.stop()
tests/__init__.py:229: in stop
    self.cmd('exit')
tests/__init__.py:271: in cmd
    self.send_cmd(*cmd)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <tests.ClientDriver object at 0x7f109c020df0>, cmd = ('exit',), cmd_str = 'exit\n', cmd_bytes = b'exit\n'

    def send_cmd(self, *cmd):
        """Send a command and return immediately.

        This is a lower level method than cmd().
        This method will instruct the cmd-runner process
        to execute a command, but this method will
        immediately return.  You will need to use
        ``is_cmd_finished()`` to check that the command
        is finished.

        This method is useful if you want to record attributes
        about the process while an operation is occurring.  For
        example, if you want to instruct the cmd-runner process
        to upload a 1GB file to S3 and you'd like to record
        the memory during the upload process, you can use
        send_cmd() instead of cmd().

        """
        cmd_str = ' '.join(cmd) + '\n'
        cmd_bytes = cmd_str.encode('utf-8')
        self._popen.stdin.write(cmd_bytes)
>       self._popen.stdin.flush()
E       BrokenPipeError: [Errno 32] Broken pipe

tests/__init__.py:253: BrokenPipeError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/botocore-1.27.78/tests/cmd-runner", line 72, in <module>
    import botocore.session
ModuleNotFoundError: No module named 'botocore'
_____________________________________________ ERROR at teardown of TestDoesNotLeakMemory.test_create_memory_paginators_in_loop _____________________________________________
tests/__init__.py:187: in tearDown
    self.driver.stop()
tests/__init__.py:229: in stop
    self.cmd('exit')
tests/__init__.py:271: in cmd
    self.send_cmd(*cmd)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <tests.ClientDriver object at 0x7f10af3e5fd0>, cmd = ('exit',), cmd_str = 'exit\n', cmd_bytes = b'exit\n'

    def send_cmd(self, *cmd):
        """Send a command and return immediately.

        This is a lower level method than cmd().
        This method will instruct the cmd-runner process
        to execute a command, but this method will
        immediately return.  You will need to use
        ``is_cmd_finished()`` to check that the command
        is finished.

        This method is useful if you want to record attributes
        about the process while an operation is occurring.  For
        example, if you want to instruct the cmd-runner process
        to upload a 1GB file to S3 and you'd like to record
        the memory during the upload process, you can use
        send_cmd() instead of cmd().

        """
        cmd_str = ' '.join(cmd) + '\n'
        cmd_bytes = cmd_str.encode('utf-8')
        self._popen.stdin.write(cmd_bytes)
>       self._popen.stdin.flush()
E       BrokenPipeError: [Errno 32] Broken pipe

tests/__init__.py:253: BrokenPipeError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/botocore-1.27.78/tests/cmd-runner", line 72, in <module>
    import botocore.session
ModuleNotFoundError: No module named 'botocore'
______________________________________________ ERROR at teardown of TestDoesNotLeakMemory.test_create_memory_waiters_in_loop _______________________________________________
tests/__init__.py:187: in tearDown
    self.driver.stop()
tests/__init__.py:229: in stop
    self.cmd('exit')
tests/__init__.py:271: in cmd
    self.send_cmd(*cmd)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <tests.ClientDriver object at 0x7f109c020100>, cmd = ('exit',), cmd_str = 'exit\n', cmd_bytes = b'exit\n'

    def send_cmd(self, *cmd):
        """Send a command and return immediately.

        This is a lower level method than cmd().
        This method will instruct the cmd-runner process
        to execute a command, but this method will
        immediately return.  You will need to use
        ``is_cmd_finished()`` to check that the command
        is finished.

        This method is useful if you want to record attributes
        about the process while an operation is occurring.  For
        example, if you want to instruct the cmd-runner process
        to upload a 1GB file to S3 and you'd like to record
        the memory during the upload process, you can use
        send_cmd() instead of cmd().

        """
        cmd_str = ' '.join(cmd) + '\n'
        cmd_bytes = cmd_str.encode('utf-8')
        self._popen.stdin.write(cmd_bytes)
>       self._popen.stdin.flush()
E       BrokenPipeError: [Errno 32] Broken pipe

tests/__init__.py:253: BrokenPipeError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/botocore-1.27.78/tests/cmd-runner", line 72, in <module>
    import botocore.session
ModuleNotFoundError: No module named 'botocore'
___________________________________________ ERROR at teardown of TestDoesNotLeakMemory.test_create_single_client_memory_constant ___________________________________________
tests/__init__.py:187: in tearDown
    self.driver.stop()
tests/__init__.py:229: in stop
    self.cmd('exit')
tests/__init__.py:271: in cmd
    self.send_cmd(*cmd)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <tests.ClientDriver object at 0x7f10a28c2940>, cmd = ('exit',), cmd_str = 'exit\n', cmd_bytes = b'exit\n'

    def send_cmd(self, *cmd):
        """Send a command and return immediately.

        This is a lower level method than cmd().
        This method will instruct the cmd-runner process
        to execute a command, but this method will
        immediately return.  You will need to use
        ``is_cmd_finished()`` to check that the command
        is finished.

        This method is useful if you want to record attributes
        about the process while an operation is occurring.  For
        example, if you want to instruct the cmd-runner process
        to upload a 1GB file to S3 and you'd like to record
        the memory during the upload process, you can use
        send_cmd() instead of cmd().

        """
        cmd_str = ' '.join(cmd) + '\n'
        cmd_bytes = cmd_str.encode('utf-8')
        self._popen.stdin.write(cmd_bytes)
>       self._popen.stdin.flush()
E       BrokenPipeError: [Errno 32] Broken pipe

tests/__init__.py:253: BrokenPipeError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/botocore-1.27.78/tests/cmd-runner", line 72, in <module>
    import botocore.session
ModuleNotFoundError: No module named 'botocore'
_________________________________________ ERROR at teardown of TestDoesNotLeakMemory.test_create_single_paginator_memory_constant __________________________________________
tests/__init__.py:187: in tearDown
    self.driver.stop()
tests/__init__.py:229: in stop
    self.cmd('exit')
tests/__init__.py:271: in cmd
    self.send_cmd(*cmd)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <tests.ClientDriver object at 0x7f1045bbdd60>, cmd = ('exit',), cmd_str = 'exit\n', cmd_bytes = b'exit\n'

    def send_cmd(self, *cmd):
        """Send a command and return immediately.

        This is a lower level method than cmd().
        This method will instruct the cmd-runner process
        to execute a command, but this method will
        immediately return.  You will need to use
        ``is_cmd_finished()`` to check that the command
        is finished.

        This method is useful if you want to record attributes
        about the process while an operation is occurring.  For
        example, if you want to instruct the cmd-runner process
        to upload a 1GB file to S3 and you'd like to record
        the memory during the upload process, you can use
        send_cmd() instead of cmd().

        """
        cmd_str = ' '.join(cmd) + '\n'
        cmd_bytes = cmd_str.encode('utf-8')
        self._popen.stdin.write(cmd_bytes)
>       self._popen.stdin.flush()
E       BrokenPipeError: [Errno 32] Broken pipe

tests/__init__.py:253: BrokenPipeError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/botocore-1.27.78/tests/cmd-runner", line 72, in <module>
    import botocore.session
ModuleNotFoundError: No module named 'botocore'
___________________________________________ ERROR at teardown of TestDoesNotLeakMemory.test_create_single_waiter_memory_constant ___________________________________________
tests/__init__.py:187: in tearDown
    self.driver.stop()
tests/__init__.py:229: in stop
    self.cmd('exit')
tests/__init__.py:271: in cmd
    self.send_cmd(*cmd)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <tests.ClientDriver object at 0x7f10a4865520>, cmd = ('exit',), cmd_str = 'exit\n', cmd_bytes = b'exit\n'

    def send_cmd(self, *cmd):
        """Send a command and return immediately.

        This is a lower level method than cmd().
        This method will instruct the cmd-runner process
        to execute a command, but this method will
        immediately return.  You will need to use
        ``is_cmd_finished()`` to check that the command
        is finished.

        This method is useful if you want to record attributes
        about the process while an operation is occurring.  For
        example, if you want to instruct the cmd-runner process
        to upload a 1GB file to S3 and you'd like to record
        the memory during the upload process, you can use
        send_cmd() instead of cmd().

        """
        cmd_str = ' '.join(cmd) + '\n'
        cmd_bytes = cmd_str.encode('utf-8')
        self._popen.stdin.write(cmd_bytes)
>       self._popen.stdin.flush()
E       BrokenPipeError: [Errno 32] Broken pipe

tests/__init__.py:253: BrokenPipeError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/botocore-1.27.78/tests/cmd-runner", line 72, in <module>
    import botocore.session
ModuleNotFoundError: No module named 'botocore'
================================================================================= FAILURES =================================================================================
_________________________________________________________ TestDoesNotLeakMemory.test_create_memory_clients_in_loop _________________________________________________________

self = <tests.functional.leak.test_resource_leaks.TestDoesNotLeakMemory testMethod=test_create_memory_clients_in_loop>

    def test_create_memory_clients_in_loop(self):
        # We need to first create clients and free then before
        # recording our memory samples.  This is because of two reasons:
        # 1. Caching.  Some of the botocore internals will cache data, so
        #    the first client created will consume more memory than subsequent
        #    clients.  We're interested in growing memory, not total
        #    memory usage (for now), so we we care about the memory in the
        #    steady state case.
        # 2. Python memory allocation.  Due to how python allocates memory
        #    via it's small object allocator, arena's aren't freed until the
        #    entire 256kb isn't in use.  If a single allocation in a single
        #    pool in a single arena is still in use, the arena is not
        #    freed.  This case is easy to hit, and pretty much any
        #    fragmentation guarantees this case is hit.  The best we can
        #    do is verify that memory that's released back to python's
        #    allocator (but not to the OS) is at least reused in subsequent
        #    requests to create botocore clients.
>       self.cmd('create_multiple_clients', '200', 's3')

tests/functional/leak/test_resource_leaks.py:56:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/__init__.py:174: in cmd
    self.driver.cmd(*args)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <tests.ClientDriver object at 0x7f109c020df0>, cmd = ('create_multiple_clients', '200', 's3'), result = b''

    def cmd(self, *cmd):
        """Send a command and block until it finishes.

        This method will send a command to the cmd-runner process
        to run.  It will block until the cmd-runner process is
        finished executing the command and sends back a status
        response.

        """
        self.send_cmd(*cmd)
        result = self._popen.stdout.readline().strip()
        if result != b'OK':
>           raise RuntimeError(f"Error from command '{cmd}': {result}")
E           RuntimeError: Error from command '('create_multiple_clients', '200', 's3')': b''

tests/__init__.py:274: RuntimeError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/botocore-1.27.78/tests/cmd-runner", line 72, in <module>
    import botocore.session
ModuleNotFoundError: No module named 'botocore'
_______________________________________________________ TestDoesNotLeakMemory.test_create_memory_paginators_in_loop ________________________________________________________

self = <tests.functional.leak.test_resource_leaks.TestDoesNotLeakMemory testMethod=test_create_memory_paginators_in_loop>

    def test_create_memory_paginators_in_loop(self):
        # See ``test_create_memory_clients_in_loop`` to understand why
        # paginators are first initialized and then freed. Same reason applies.
>       self.cmd('create_multiple_paginators', '200', 's3', 'list_objects')

tests/functional/leak/test_resource_leaks.py:106:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/__init__.py:174: in cmd
    self.driver.cmd(*args)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <tests.ClientDriver object at 0x7f10af3e5fd0>, cmd = ('create_multiple_paginators', '200', 's3', 'list_objects'), result = b''

    def cmd(self, *cmd):
        """Send a command and block until it finishes.

        This method will send a command to the cmd-runner process
        to run.  It will block until the cmd-runner process is
        finished executing the command and sends back a status
        response.

        """
        self.send_cmd(*cmd)
        result = self._popen.stdout.readline().strip()
        if result != b'OK':
>           raise RuntimeError(f"Error from command '{cmd}': {result}")
E           RuntimeError: Error from command '('create_multiple_paginators', '200', 's3', 'list_objects')': b''

tests/__init__.py:274: RuntimeError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/botocore-1.27.78/tests/cmd-runner", line 72, in <module>
    import botocore.session
ModuleNotFoundError: No module named 'botocore'
_________________________________________________________ TestDoesNotLeakMemory.test_create_memory_waiters_in_loop _________________________________________________________

self = <tests.functional.leak.test_resource_leaks.TestDoesNotLeakMemory testMethod=test_create_memory_waiters_in_loop>

    def test_create_memory_waiters_in_loop(self):
        # See ``test_create_memory_clients_in_loop`` to understand why
        # waiters are first initialized and then freed. Same reason applies.
>       self.cmd('create_multiple_waiters', '200', 's3', 'bucket_exists')

tests/functional/leak/test_resource_leaks.py:81:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/__init__.py:174: in cmd
    self.driver.cmd(*args)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <tests.ClientDriver object at 0x7f109c020100>, cmd = ('create_multiple_waiters', '200', 's3', 'bucket_exists'), result = b''

    def cmd(self, *cmd):
        """Send a command and block until it finishes.

        This method will send a command to the cmd-runner process
        to run.  It will block until the cmd-runner process is
        finished executing the command and sends back a status
        response.

        """
        self.send_cmd(*cmd)
        result = self._popen.stdout.readline().strip()
        if result != b'OK':
>           raise RuntimeError(f"Error from command '{cmd}': {result}")
E           RuntimeError: Error from command '('create_multiple_waiters', '200', 's3', 'bucket_exists')': b''

tests/__init__.py:274: RuntimeError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/botocore-1.27.78/tests/cmd-runner", line 72, in <module>
    import botocore.session
ModuleNotFoundError: No module named 'botocore'
_____________________________________________________ TestDoesNotLeakMemory.test_create_single_client_memory_constant ______________________________________________________

self = <tests.functional.leak.test_resource_leaks.TestDoesNotLeakMemory testMethod=test_create_single_client_memory_constant>

    def test_create_single_client_memory_constant(self):
>       self.cmd('create_client', 's3')

tests/functional/leak/test_resource_leaks.py:29:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/__init__.py:174: in cmd
    self.driver.cmd(*args)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <tests.ClientDriver object at 0x7f10a28c2940>, cmd = ('create_client', 's3'), result = b''

    def cmd(self, *cmd):
        """Send a command and block until it finishes.

        This method will send a command to the cmd-runner process
        to run.  It will block until the cmd-runner process is
        finished executing the command and sends back a status
        response.

        """
        self.send_cmd(*cmd)
        result = self._popen.stdout.readline().strip()
        if result != b'OK':
>           raise RuntimeError(f"Error from command '{cmd}': {result}")
E           RuntimeError: Error from command '('create_client', 's3')': b''

tests/__init__.py:274: RuntimeError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/botocore-1.27.78/tests/cmd-runner", line 72, in <module>
    import botocore.session
ModuleNotFoundError: No module named 'botocore'
____________________________________________________ TestDoesNotLeakMemory.test_create_single_paginator_memory_constant ____________________________________________________

self = <tests.functional.leak.test_resource_leaks.TestDoesNotLeakMemory testMethod=test_create_single_paginator_memory_constant>

    def test_create_single_paginator_memory_constant(self):
>       self.cmd('create_paginator', 's3', 'list_objects')

tests/functional/leak/test_resource_leaks.py:93:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/__init__.py:174: in cmd
    self.driver.cmd(*args)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <tests.ClientDriver object at 0x7f1045bbdd60>, cmd = ('create_paginator', 's3', 'list_objects'), result = b''

    def cmd(self, *cmd):
        """Send a command and block until it finishes.

        This method will send a command to the cmd-runner process
        to run.  It will block until the cmd-runner process is
        finished executing the command and sends back a status
        response.

        """
        self.send_cmd(*cmd)
        result = self._popen.stdout.readline().strip()
        if result != b'OK':
>           raise RuntimeError(f"Error from command '{cmd}': {result}")
E           RuntimeError: Error from command '('create_paginator', 's3', 'list_objects')': b''

tests/__init__.py:274: RuntimeError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/botocore-1.27.78/tests/cmd-runner", line 72, in <module>
    import botocore.session
ModuleNotFoundError: No module named 'botocore'
_____________________________________________________ TestDoesNotLeakMemory.test_create_single_waiter_memory_constant ______________________________________________________

self = <tests.functional.leak.test_resource_leaks.TestDoesNotLeakMemory testMethod=test_create_single_waiter_memory_constant>

    def test_create_single_waiter_memory_constant(self):
>       self.cmd('create_waiter', 's3', 'bucket_exists')

tests/functional/leak/test_resource_leaks.py:68:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/__init__.py:174: in cmd
    self.driver.cmd(*args)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <tests.ClientDriver object at 0x7f10a4865520>, cmd = ('create_waiter', 's3', 'bucket_exists'), result = b''

    def cmd(self, *cmd):
        """Send a command and block until it finishes.

        This method will send a command to the cmd-runner process
        to run.  It will block until the cmd-runner process is
        finished executing the command and sends back a status
        response.

        """
        self.send_cmd(*cmd)
        result = self._popen.stdout.readline().strip()
        if result != b'OK':
>           raise RuntimeError(f"Error from command '{cmd}': {result}")
E           RuntimeError: Error from command '('create_waiter', 's3', 'bucket_exists')': b''

tests/__init__.py:274: RuntimeError
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/botocore-1.27.78/tests/cmd-runner", line 72, in <module>
    import botocore.session
ModuleNotFoundError: No module named 'botocore'
============================================================================= warnings summary =============================================================================
botocore/client.py:625
tests/functional/test_client_class_names.py::test_client_has_correct_class_name[rds]
tests/functional/test_regions.py::test_single_service_region_endpoint[rds-us-east-1-rds.amazonaws.com]
tests/functional/docs/test_streaming_body.py::TestStreamingBodyDocumentation::test_all_streaming_body_are_properly_documented
  /home/tkloczko/rpmbuild/BUILD/botocore-1.27.78/botocore/client.py:625: FutureWarning: The rds client is currently using a deprecated endpoint: rds.amazonaws.com. In the next minor version this will be moved to rds.us-east-1.amazonaws.com. See https://github.com/boto/botocore/issues/2705 for more details.
    warnings.warn(

botocore/client.py:625
tests/functional/test_event_alias.py::test_event_alias_by_endpoint_prefix[health-health]
tests/functional/test_event_alias.py::test_event_alias_by_service_id[health-health]
tests/functional/test_event_alias.py::test_event_alias_by_client_name[health-health]
tests/functional/docs/test_streaming_body.py::TestStreamingBodyDocumentation::test_all_streaming_body_are_properly_documented
  /home/tkloczko/rpmbuild/BUILD/botocore-1.27.78/botocore/client.py:625: FutureWarning: The health client is currently using a deprecated endpoint: health.us-east-1.amazonaws.com. In the next minor version this will be moved to global.health.amazonaws.com. See https://github.com/boto/botocore/issues/2705 for more details.
    warnings.warn(

botocore/client.py:625
tests/functional/test_client_class_names.py::test_client_has_correct_class_name[sqs]
tests/functional/test_regions.py::test_single_service_region_endpoint[sqs-us-east-1-queue.amazonaws.com]
tests/functional/docs/test_streaming_body.py::TestStreamingBodyDocumentation::test_all_streaming_body_are_properly_documented
  /home/tkloczko/rpmbuild/BUILD/botocore-1.27.78/botocore/client.py:625: FutureWarning: The sqs client is currently using a deprecated endpoint: queue.amazonaws.com. In the next minor version this will be moved to sqs.us-east-1.amazonaws.com. See https://github.com/boto/botocore/issues/2705 for more details.
    warnings.warn(

tests/functional/test_event_alias.py::test_event_alias_by_endpoint_prefix[emr-elasticmapreduce]
tests/functional/test_event_alias.py::test_event_alias_by_service_id[emr-emr]
tests/functional/test_event_alias.py::test_event_alias_by_client_name[emr-emr]
tests/functional/test_regions.py::test_single_service_region_endpoint[elasticmapreduce-us-west-2-us-west-2.elasticmapreduce.amazonaws.com]
  /home/tkloczko/rpmbuild/BUILD/botocore-1.27.78/botocore/client.py:625: FutureWarning: The elasticmapreduce client is currently using a deprecated endpoint: us-west-2.elasticmapreduce.amazonaws.com. In the next minor version this will be moved to elasticmapreduce.us-west-2.amazonaws.com. See https://github.com/boto/botocore/issues/2705 for more details.
    warnings.warn(

tests/functional/test_event_alias.py::test_event_alias_by_endpoint_prefix[sqs-sqs]
tests/functional/test_event_alias.py::test_event_alias_by_service_id[sqs-sqs]
tests/functional/test_event_alias.py::test_event_alias_by_client_name[sqs-sqs]
tests/functional/test_regions.py::test_single_service_region_endpoint[sqs-us-west-2-us-west-2.queue.amazonaws.com]
  /home/tkloczko/rpmbuild/BUILD/botocore-1.27.78/botocore/client.py:625: FutureWarning: The sqs client is currently using a deprecated endpoint: us-west-2.queue.amazonaws.com. In the next minor version this will be moved to sqs.us-west-2.amazonaws.com. See https://github.com/boto/botocore/issues/2705 for more details.
    warnings.warn(

tests/functional/test_regions.py::test_single_service_region_endpoint[elasticmapreduce-ap-northeast-1-ap-northeast-1.elasticmapreduce.amazonaws.com]
  /home/tkloczko/rpmbuild/BUILD/botocore-1.27.78/botocore/client.py:625: FutureWarning: The elasticmapreduce client is currently using a deprecated endpoint: ap-northeast-1.elasticmapreduce.amazonaws.com. In the next minor version this will be moved to elasticmapreduce.ap-northeast-1.amazonaws.com. See https://github.com/boto/botocore/issues/2705 for more details.
    warnings.warn(

tests/functional/test_regions.py::test_single_service_region_endpoint[sqs-ap-northeast-1-ap-northeast-1.queue.amazonaws.com]
  /home/tkloczko/rpmbuild/BUILD/botocore-1.27.78/botocore/client.py:625: FutureWarning: The sqs client is currently using a deprecated endpoint: ap-northeast-1.queue.amazonaws.com. In the next minor version this will be moved to sqs.ap-northeast-1.amazonaws.com. See https://github.com/boto/botocore/issues/2705 for more details.
    warnings.warn(

tests/functional/test_regions.py::test_single_service_region_endpoint[elasticmapreduce-ap-southeast-1-ap-southeast-1.elasticmapreduce.amazonaws.com]
  /home/tkloczko/rpmbuild/BUILD/botocore-1.27.78/botocore/client.py:625: FutureWarning: The elasticmapreduce client is currently using a deprecated endpoint: ap-southeast-1.elasticmapreduce.amazonaws.com. In the next minor version this will be moved to elasticmapreduce.ap-southeast-1.amazonaws.com. See https://github.com/boto/botocore/issues/2705 for more details.
    warnings.warn(

tests/functional/test_regions.py::test_single_service_region_endpoint[sqs-ap-southeast-1-ap-southeast-1.queue.amazonaws.com]
  /home/tkloczko/rpmbuild/BUILD/botocore-1.27.78/botocore/client.py:625: FutureWarning: The sqs client is currently using a deprecated endpoint: ap-southeast-1.queue.amazonaws.com. In the next minor version this will be moved to sqs.ap-southeast-1.amazonaws.com. See https://github.com/boto/botocore/issues/2705 for more details.
    warnings.warn(

tests/functional/test_regions.py::test_single_service_region_endpoint[elasticmapreduce-ap-southeast-2-ap-southeast-2.elasticmapreduce.amazonaws.com]
  /home/tkloczko/rpmbuild/BUILD/botocore-1.27.78/botocore/client.py:625: FutureWarning: The elasticmapreduce client is currently using a deprecated endpoint: ap-southeast-2.elasticmapreduce.amazonaws.com. In the next minor version this will be moved to elasticmapreduce.ap-southeast-2.amazonaws.com. See https://github.com/boto/botocore/issues/2705 for more details.
    warnings.warn(

tests/functional/test_regions.py::test_single_service_region_endpoint[sqs-ap-southeast-2-ap-southeast-2.queue.amazonaws.com]
  /home/tkloczko/rpmbuild/BUILD/botocore-1.27.78/botocore/client.py:625: FutureWarning: The sqs client is currently using a deprecated endpoint: ap-southeast-2.queue.amazonaws.com. In the next minor version this will be moved to sqs.ap-southeast-2.amazonaws.com. See https://github.com/boto/botocore/issues/2705 for more details.
    warnings.warn(

tests/functional/test_regions.py::test_single_service_region_endpoint[sqs-cn-north-1-cn-north-1.queue.amazonaws.com.cn]
  /home/tkloczko/rpmbuild/BUILD/botocore-1.27.78/botocore/client.py:625: FutureWarning: The sqs client is currently using a deprecated endpoint: cn-north-1.queue.amazonaws.com.cn. In the next minor version this will be moved to sqs.cn-north-1.amazonaws.com.cn. See https://github.com/boto/botocore/issues/2705 for more details.
    warnings.warn(

tests/functional/test_regions.py::test_single_service_region_endpoint[sqs-eu-central-1-eu-central-1.queue.amazonaws.com]
  /home/tkloczko/rpmbuild/BUILD/botocore-1.27.78/botocore/client.py:625: FutureWarning: The sqs client is currently using a deprecated endpoint: eu-central-1.queue.amazonaws.com. In the next minor version this will be moved to sqs.eu-central-1.amazonaws.com. See https://github.com/boto/botocore/issues/2705 for more details.
    warnings.warn(

tests/functional/test_regions.py::test_single_service_region_endpoint[elasticmapreduce-eu-west-1-eu-west-1.elasticmapreduce.amazonaws.com]
  /home/tkloczko/rpmbuild/BUILD/botocore-1.27.78/botocore/client.py:625: FutureWarning: The elasticmapreduce client is currently using a deprecated endpoint: eu-west-1.elasticmapreduce.amazonaws.com. In the next minor version this will be moved to elasticmapreduce.eu-west-1.amazonaws.com. See https://github.com/boto/botocore/issues/2705 for more details.
    warnings.warn(

tests/functional/test_regions.py::test_single_service_region_endpoint[sqs-eu-west-1-eu-west-1.queue.amazonaws.com]
  /home/tkloczko/rpmbuild/BUILD/botocore-1.27.78/botocore/client.py:625: FutureWarning: The sqs client is currently using a deprecated endpoint: eu-west-1.queue.amazonaws.com. In the next minor version this will be moved to sqs.eu-west-1.amazonaws.com. See https://github.com/boto/botocore/issues/2705 for more details.
    warnings.warn(

tests/functional/test_regions.py::test_single_service_region_endpoint[elasticmapreduce-sa-east-1-sa-east-1.elasticmapreduce.amazonaws.com]
  /home/tkloczko/rpmbuild/BUILD/botocore-1.27.78/botocore/client.py:625: FutureWarning: The elasticmapreduce client is currently using a deprecated endpoint: sa-east-1.elasticmapreduce.amazonaws.com. In the next minor version this will be moved to elasticmapreduce.sa-east-1.amazonaws.com. See https://github.com/boto/botocore/issues/2705 for more details.
    warnings.warn(

tests/functional/test_regions.py::test_single_service_region_endpoint[sqs-sa-east-1-sa-east-1.queue.amazonaws.com]
  /home/tkloczko/rpmbuild/BUILD/botocore-1.27.78/botocore/client.py:625: FutureWarning: The sqs client is currently using a deprecated endpoint: sa-east-1.queue.amazonaws.com. In the next minor version this will be moved to sqs.sa-east-1.amazonaws.com. See https://github.com/boto/botocore/issues/2705 for more details.
    warnings.warn(

tests/functional/test_regions.py::test_single_service_region_endpoint[sqs-us-gov-west-1-us-gov-west-1.queue.amazonaws.com]
  /home/tkloczko/rpmbuild/BUILD/botocore-1.27.78/botocore/client.py:625: FutureWarning: The sqs client is currently using a deprecated endpoint: us-gov-west-1.queue.amazonaws.com. In the next minor version this will be moved to sqs.us-gov-west-1.amazonaws.com. See https://github.com/boto/botocore/issues/2705 for more details.
    warnings.warn(

tests/functional/test_regions.py::test_single_service_region_endpoint[elasticmapreduce-us-west-1-us-west-1.elasticmapreduce.amazonaws.com]
  /home/tkloczko/rpmbuild/BUILD/botocore-1.27.78/botocore/client.py:625: FutureWarning: The elasticmapreduce client is currently using a deprecated endpoint: us-west-1.elasticmapreduce.amazonaws.com. In the next minor version this will be moved to elasticmapreduce.us-west-1.amazonaws.com. See https://github.com/boto/botocore/issues/2705 for more details.
    warnings.warn(

tests/functional/test_regions.py::test_single_service_region_endpoint[sqs-us-west-1-us-west-1.queue.amazonaws.com]
  /home/tkloczko/rpmbuild/BUILD/botocore-1.27.78/botocore/client.py:625: FutureWarning: The sqs client is currently using a deprecated endpoint: us-west-1.queue.amazonaws.com. In the next minor version this will be moved to sqs.us-west-1.amazonaws.com. See https://github.com/boto/botocore/issues/2705 for more details.
    warnings.warn(

tests/functional/docs/test_shared_example_config.py::test_lint_shared_example_configs[DescribeStream-example_config228-service_model228]
  /usr/lib/python3.8/site-packages/dateutil/parser/_parser.py:1207: UnknownTimezoneWarning: tzname PDT identified but not understood.  Pass `tzinfos` argument in order to correctly return a timezone-aware datetime.  In a future version, this will raise an exception.
    warnings.warn("tzname {tzname} identified but not understood.  "

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
========================================================================= short test summary info ==========================================================================
SKIPPED [1] tests/functional/test_eventbridge.py:138: Test requires awscrt to be installed
SKIPPED [1] tests/functional/test_eventbridge.py:150: Test requires awscrt to be installed
SKIPPED [1] tests/functional/test_eventbridge.py:166: Test requires awscrt to be installed
SKIPPED [1] tests/functional/test_eventbridge.py:178: Test requires awscrt to be installed
SKIPPED [1] tests/functional/test_eventbridge.py:94: Test requires awscrt to be installed
SKIPPED [1] tests/functional/test_eventbridge.py:114: Test requires awscrt to be installed
SKIPPED [1] tests/functional/test_eventbridge.py:334: Test requires awscrt to be installed
SKIPPED [1] tests/functional/test_eventbridge.py:205: Test requires awscrt to be installed
SKIPPED [1] tests/functional/test_eventbridge.py:271: Test requires awscrt to be installed
SKIPPED [1] tests/functional/test_eventbridge.py:242: Test requires awscrt to be installed
SKIPPED [1] tests/functional/test_eventbridge.py:301: Test requires awscrt to be installed
SKIPPED [1] tests/functional/test_h2_required.py:52: got empty parameter set ['h2_service'], function test_all_uses_of_h2_are_known at /home/tkloczko/rpmbuild/BUILD/botocore-1.27.78/tests/functional/test_h2_required.py:51
SKIPPED [1] tests/functional/test_s3.py:1126: Test requires awscrt to be installed
SKIPPED [1] tests/functional/test_s3.py:1048: Test requires awscrt to be installed
SKIPPED [1] tests/functional/test_s3.py:1084: Test requires awscrt to be installed
SKIPPED [1] tests/functional/test_s3.py:1117: Test requires awscrt to be installed
SKIPPED [1] tests/functional/test_s3.py:1104: Test requires awscrt to be installed
SKIPPED [1] tests/functional/test_s3.py:1111: Test requires awscrt to be installed
SKIPPED [1] tests/functional/test_s3.py:1074: Test requires awscrt to be installed
SKIPPED [1] tests/functional/test_s3.py:1068: Test requires awscrt to be installed
SKIPPED [1] tests/functional/test_s3.py:1093: Test requires awscrt to be installed
SKIPPED [1] tests/functional/test_s3.py:1154: Test requires awscrt to be installed
SKIPPED [1] tests/functional/test_s3.py:1163: Test requires awscrt to be installed
SKIPPED [1] tests/functional/test_s3.py:1141: Test requires awscrt to be installed
ERROR tests/functional/leak/test_resource_leaks.py::TestDoesNotLeakMemory::test_create_memory_clients_in_loop - BrokenPipeError: [Errno 32] Broken pipe
ERROR tests/functional/leak/test_resource_leaks.py::TestDoesNotLeakMemory::test_create_memory_paginators_in_loop - BrokenPipeError: [Errno 32] Broken pipe
ERROR tests/functional/leak/test_resource_leaks.py::TestDoesNotLeakMemory::test_create_memory_waiters_in_loop - BrokenPipeError: [Errno 32] Broken pipe
ERROR tests/functional/leak/test_resource_leaks.py::TestDoesNotLeakMemory::test_create_single_client_memory_constant - BrokenPipeError: [Errno 32] Broken pipe
ERROR tests/functional/leak/test_resource_leaks.py::TestDoesNotLeakMemory::test_create_single_paginator_memory_constant - BrokenPipeError: [Errno 32] Broken pipe
ERROR tests/functional/leak/test_resource_leaks.py::TestDoesNotLeakMemory::test_create_single_waiter_memory_constant - BrokenPipeError: [Errno 32] Broken pipe
FAILED tests/functional/leak/test_resource_leaks.py::TestDoesNotLeakMemory::test_create_memory_clients_in_loop - RuntimeError: Error from command '('create_multiple_clie...
FAILED tests/functional/leak/test_resource_leaks.py::TestDoesNotLeakMemory::test_create_memory_paginators_in_loop - RuntimeError: Error from command '('create_multiple_p...
FAILED tests/functional/leak/test_resource_leaks.py::TestDoesNotLeakMemory::test_create_memory_waiters_in_loop - RuntimeError: Error from command '('create_multiple_wait...
FAILED tests/functional/leak/test_resource_leaks.py::TestDoesNotLeakMemory::test_create_single_client_memory_constant - RuntimeError: Error from command '('create_client...
FAILED tests/functional/leak/test_resource_leaks.py::TestDoesNotLeakMemory::test_create_single_paginator_memory_constant - RuntimeError: Error from command '('create_pag...
FAILED tests/functional/leak/test_resource_leaks.py::TestDoesNotLeakMemory::test_create_single_waiter_memory_constant - RuntimeError: Error from command '('create_waiter...
============================================== 6 failed, 26574 passed, 24 skipped, 37 warnings, 6 errors in 955.95s (0:15:55) ==============================================

kloczek avatar Sep 22 '22 04:09 kloczek

Looks like latest 1.31.63 fails in new units

+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-botocore-1.31.63-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-botocore-1.31.63-2.fc35.x86_64/usr/lib/python3.8/site-packages
+ /usr/bin/pytest -ra -m 'not network' tests/functional
============================= test session starts ==============================
platform linux -- Python 3.8.18, pytest-7.4.2, pluggy-1.3.0
rootdir: /home/tkloczko/rpmbuild/BUILD/botocore-1.31.63
configfile: pyproject.toml
collected 46421 items

tests/functional/test_alias.py ......                                    [  0%]
tests/functional/test_apigateway.py .                                    [  0%]
tests/functional/test_client.py ..                                       [  0%]
tests/functional/test_client_class_names.py ............................ [  0%]
....................                                                     [  0%]
tests/functional/test_client_metadata.py ......                          [  0%]
tests/functional/test_cloudformation.py .                                [  0%]
tests/functional/test_cloudsearchdomain.py .                             [  0%]
tests/functional/test_cognito_idp.py .............                       [  0%]
tests/functional/test_compress.py s.                                     [  0%]
tests/functional/test_config_provider.py ...........                     [  0%]
tests/functional/test_context_params.py ....................             [  0%]
tests/functional/test_credentials.py ..............................      [  0%]
tests/functional/test_discovery.py ........................              [  0%]
tests/functional/test_docdb.py ..                                        [  0%]
tests/functional/test_dynamodb.py ...                                    [  0%]
tests/functional/test_ec2.py ...                                         [  0%]
tests/functional/test_endpoint_rulesets.py ............................. [  0%]
........................................................................ [  0%]
........................................................................ [  0%]
........................................................................ [  0%]
........................................................................ [  1%]
........................................................................ [  1%]
........................................................................ [  1%]
........................................................................ [  1%]
........................................................................ [  1%]
........................................................................ [  1%]
........................................................................ [  1%]
........................................................................ [  2%]
........................................................................ [  2%]
........................................................................ [  2%]
........................................................................ [  2%]
........................................................................ [  2%]
........................................................................ [  2%]
........................................................................ [  3%]
........................................................................ [  3%]
........................................................................ [  3%]
........................................................................ [  3%]
........................................................................ [  3%]
........................................................................ [  3%]
........................................................................ [  4%]
........................................................................ [  4%]
........................................................................ [  4%]
........................................................................ [  4%]
........................................................................ [  4%]
........................................................................ [  4%]
........................................................................ [  4%]
........................................................................ [  5%]
........................................................................ [  5%]
........................................................................ [  5%]
........................................................................ [  5%]
........................................................................ [  5%]
........................................................................ [  5%]
........................................................................ [  6%]
........................................................................ [  6%]
........................................................................ [  6%]
........................................................................ [  6%]
........................................................................ [  6%]
........................................................................ [  6%]
........................................................................ [  6%]
........................................................................ [  7%]
........................................................................ [  7%]
........................................................................ [  7%]
........................................................................ [  7%]
........................................................................ [  7%]
........................................................................ [  7%]
........................................................................ [  8%]
........................................................................ [  8%]
........................................................................ [  8%]
........................................................................ [  8%]
........................................................................ [  8%]
........................................................................ [  8%]
........................................................................ [  8%]
........................................................................ [  9%]
........................................................................ [  9%]
........................................................................ [  9%]
........................................................................ [  9%]
........................................................................ [  9%]
........................................................................ [  9%]
........................................................................ [ 10%]
........................................................................ [ 10%]
........................................................................ [ 10%]
........................................................................ [ 10%]
........................................................................ [ 10%]
........................................................................ [ 10%]
........................................................................ [ 10%]
........................................................................ [ 11%]
........................................................................ [ 11%]
........................................................................ [ 11%]
........................................................................ [ 11%]
........................................................................ [ 11%]
........................................................................ [ 11%]
........................................................................ [ 12%]
........................................................................ [ 12%]
........................................................................ [ 12%]
........................................................................ [ 12%]
........................................................................ [ 12%]
........................................................................ [ 12%]
........................................................................ [ 12%]
........................................................................ [ 13%]
........................................................................ [ 13%]
........................................................................ [ 13%]
........................................................................ [ 13%]
........................................................................ [ 13%]
........................................................................ [ 13%]
........................................................................ [ 14%]
........................................................................ [ 14%]
........................................................................ [ 14%]
........................................................................ [ 14%]
........................................................................ [ 14%]
........................................................................ [ 14%]
........................................................................ [ 15%]
........................................................................ [ 15%]
........................................................................ [ 15%]
........................................................................ [ 15%]
........................................................................ [ 15%]
........................................................................ [ 15%]
........................................................................ [ 15%]
........................................................................ [ 16%]
........................................................................ [ 16%]
........................................................................ [ 16%]
........................................................................ [ 16%]
........................................................................ [ 16%]
........................................................................ [ 16%]
........................................................................ [ 17%]
........................................................................ [ 17%]
........................................................................ [ 17%]
........................................................................ [ 17%]
........................................................................ [ 17%]
........................................................................ [ 17%]
........................................................................ [ 17%]
........................................................................ [ 18%]
........................................................................ [ 18%]
........................................................................ [ 18%]
........................................................................ [ 18%]
........................................................................ [ 18%]
........................................................................ [ 18%]
........................................................................ [ 19%]
........................................................................ [ 19%]
........................................................................ [ 19%]
........................................................................ [ 19%]
........................................................................ [ 19%]
........................................................................ [ 19%]
........................................................................ [ 19%]
........................................................................ [ 20%]
........................................................................ [ 20%]
........................................................................ [ 20%]
........................................................................ [ 20%]
........................................................................ [ 20%]
........................................................................ [ 20%]
........................................................................ [ 21%]
........................................................................ [ 21%]
........................................................................ [ 21%]
........................................................................ [ 21%]
........................................................................ [ 21%]
........................................................................ [ 21%]
........................................................................ [ 21%]
........................................................................ [ 22%]
........................................................................ [ 22%]
........................................................................ [ 22%]
........................................................................ [ 22%]
........................................................................ [ 22%]
........................................................................ [ 22%]
........................................................................ [ 23%]
........................................................................ [ 23%]
........................................................................ [ 23%]
........................................................................ [ 23%]
........................................................................ [ 23%]
........................................................................ [ 23%]
........................................................................ [ 24%]
........................................................................ [ 24%]
........................................................................ [ 24%]
........................................................................ [ 24%]
........................................................................ [ 24%]
........................................................................ [ 24%]
........................................................................ [ 24%]
........................................................................ [ 25%]
........................................................................ [ 25%]
........................................................................ [ 25%]
........................................................................ [ 25%]
........................................................................ [ 25%]
........................................................................ [ 25%]
........................................................................ [ 26%]
........................................................................ [ 26%]
........................................................................ [ 26%]
........................................................................ [ 26%]
........................................................................ [ 26%]
........................................................................ [ 26%]
........................................................................ [ 26%]
........................................................................ [ 27%]
........................................................................ [ 27%]
........................................................................ [ 27%]
........................................................................ [ 27%]
........................................................................ [ 27%]
........................................................................ [ 27%]
........................................................................ [ 28%]
........................................................................ [ 28%]
........................................................................ [ 28%]
........................................................................ [ 28%]
........................................................................ [ 28%]
........................................................................ [ 28%]
........................................................................ [ 28%]
........................................................................ [ 29%]
........................................................................ [ 29%]
........................................................................ [ 29%]
........................................................................ [ 29%]
........................................................................ [ 29%]
........................................................................ [ 29%]
........................................................................ [ 30%]
........................................................................ [ 30%]
........................................................................ [ 30%]
........................................................................ [ 30%]
........................................................................ [ 30%]
........................................................................ [ 30%]
........................................................................ [ 30%]
........................................................................ [ 31%]
........................................................................ [ 31%]
........................................................................ [ 31%]
........................................................................ [ 31%]
........................................................................ [ 31%]
..............................................s...s..................... [ 31%]
........................................................................ [ 32%]
........................................................................ [ 32%]
........................................................................ [ 32%]
.................                                                        [ 32%]
tests/functional/test_endpoints.py ..................................... [ 32%]
........................................................................ [ 32%]
........................................................................ [ 32%]
........................................................................ [ 32%]
........................................................................ [ 33%]
........................................................................ [ 33%]
........................................................................ [ 33%]
........................................................................ [ 33%]
........................................................................ [ 33%]
........................................................................ [ 33%]
..............................                                           [ 33%]
tests/functional/test_event_alias.py ................................... [ 34%]
........................................................................ [ 34%]
........................................................................ [ 34%]
........................................................................ [ 34%]
........................................................................ [ 34%]
........................................................................ [ 34%]
...............................                                          [ 34%]
tests/functional/test_eventbridge.py ss...ssss....sssss                  [ 34%]
tests/functional/test_events.py ..                                       [ 34%]
tests/functional/test_h2_required.py s..                                 [ 34%]
tests/functional/test_history.py ....                                    [ 34%]
tests/functional/test_importexport.py .                                  [ 34%]
tests/functional/test_iot_data.py ..                                     [ 34%]
tests/functional/test_kinesis.py ...                                     [ 34%]
tests/functional/test_lex.py ..                                          [ 34%]
tests/functional/test_loaders.py .                                       [ 34%]
tests/functional/test_machinelearning.py .                               [ 34%]
tests/functional/test_model_backcompat.py .                              [ 34%]
tests/functional/test_model_completeness.py ............................ [ 35%]
........................................................................ [ 35%]
........................................................................ [ 35%]
........................................................................ [ 35%]
........................................................................ [ 35%]
........................................................................ [ 35%]
........................                                                 [ 35%]
tests/functional/test_modeled_exceptions.py ....                         [ 35%]
tests/functional/test_mturk.py .                                         [ 35%]
tests/functional/test_neptune.py ..                                      [ 35%]
tests/functional/test_paginate.py .........                              [ 35%]
tests/functional/test_paginator_config.py .............................. [ 35%]
........................................................................ [ 36%]
........................................................................ [ 36%]
........................................................................ [ 36%]
........................................................................ [ 36%]
........................................................................ [ 36%]
........................................................................ [ 36%]
........................................................................ [ 37%]
........................................................................ [ 37%]
........................................................................ [ 37%]
........................................................................ [ 37%]
........................................................................ [ 37%]
........................................................................ [ 37%]
........................................................................ [ 37%]
........................................................................ [ 38%]
........................................................................ [ 38%]
........................................................................ [ 38%]
........................................................................ [ 38%]
........................................................................ [ 38%]
........................................................................ [ 38%]
........................................................................ [ 39%]
........................................................................ [ 39%]
........................................................................ [ 39%]
........................................................................ [ 39%]
........................................................................ [ 39%]
........................................................................ [ 39%]
........................................................................ [ 39%]
........................................................................ [ 40%]
........................................................................ [ 40%]
........................................................................ [ 40%]
.....................................................                    [ 40%]
tests/functional/test_public_apis.py ......                              [ 40%]
tests/functional/test_rds.py ....                                        [ 40%]
tests/functional/test_regions.py ....................................... [ 40%]
........................................................................ [ 40%]
........................................................................ [ 40%]
........................................................................ [ 41%]
........................................................................ [ 41%]
.....................................................                    [ 41%]
tests/functional/test_response_shadowing.py ............................ [ 41%]
........................................................................ [ 41%]
........................................................................ [ 41%]
........................................................................ [ 41%]
........................................................................ [ 42%]
........................................................................ [ 42%]
........................................................................ [ 42%]
........................................................................ [ 42%]
........................................................................ [ 42%]
........................................................................ [ 42%]
........................................................................ [ 43%]
........................................................................ [ 43%]
........................................................................ [ 43%]
........................................................................ [ 43%]
........................................................................ [ 43%]
........................................................................ [ 43%]
........................................................................ [ 43%]
........................................................................ [ 44%]
........................................................................ [ 44%]
........................................................................ [ 44%]
........................................................................ [ 44%]
........................................................................ [ 44%]
........................................................................ [ 44%]
........................................................................ [ 45%]
........................................................................ [ 45%]
........................................................................ [ 45%]
........................................................................ [ 45%]
........................................................................ [ 45%]
........................................................................ [ 45%]
........................................................................ [ 45%]
........................................................................ [ 46%]
........................................................................ [ 46%]
........................................................................ [ 46%]
........................................................................ [ 46%]
........................................................................ [ 46%]
........................................................................ [ 46%]
........................................................................ [ 47%]
........................................................................ [ 47%]
........................................................................ [ 47%]
........................................................................ [ 47%]
........................................................................ [ 47%]
........................................................................ [ 47%]
........................................................................ [ 47%]
........................................................................ [ 48%]
........................................................................ [ 48%]
........................................................................ [ 48%]
........................................................................ [ 48%]
........................................................................ [ 48%]
........................................................................ [ 48%]
........................................................................ [ 49%]
........................................................................ [ 49%]
........................................................................ [ 49%]
........................................................................ [ 49%]
........................................................................ [ 49%]
........................................................................ [ 49%]
........................................................................ [ 49%]
........................................................................ [ 50%]
........................................................................ [ 50%]
........................................................................ [ 50%]
........................................................................ [ 50%]
........................................................................ [ 50%]
........................................................................ [ 50%]
........................................................................ [ 51%]
........................................................................ [ 51%]
........................................................................ [ 51%]
........................................................................ [ 51%]
........................................................................ [ 51%]
........................................................................ [ 51%]
........................................................................ [ 52%]
........................................................................ [ 52%]
........................................................................ [ 52%]
........................................................................ [ 52%]
........................................................................ [ 52%]
........................................................................ [ 52%]
........................................................................ [ 52%]
........................................................................ [ 53%]
........................................................................ [ 53%]
........................................................................ [ 53%]
........................................................................ [ 53%]
........................................................................ [ 53%]
........................................................................ [ 53%]
........................................................................ [ 54%]
........................................................................ [ 54%]
........................................................................ [ 54%]
........................................................................ [ 54%]
........................................................................ [ 54%]
........................................................................ [ 54%]
........................................................................ [ 54%]
........................................................................ [ 55%]
........................................................................ [ 55%]
........................................................................ [ 55%]
........................................................................ [ 55%]
........................................................................ [ 55%]
........................................................................ [ 55%]
........................................................................ [ 56%]
........................................................................ [ 56%]
........................................................................ [ 56%]
........................................................................ [ 56%]
........................................................................ [ 56%]
........................................................................ [ 56%]
........................................................................ [ 56%]
........................................................................ [ 57%]
........................................................................ [ 57%]
........................................................................ [ 57%]
........................................................................ [ 57%]
........................................................................ [ 57%]
........................................................................ [ 57%]
........................................................................ [ 58%]
........................................................................ [ 58%]
........................................................................ [ 58%]
........................................................................ [ 58%]
........................................................................ [ 58%]
........................................................................ [ 58%]
........................................................................ [ 58%]
........................................................................ [ 59%]
........................................................................ [ 59%]
........................................................................ [ 59%]
........................................................................ [ 59%]
........................................................................ [ 59%]
........................................................................ [ 59%]
........................................................................ [ 60%]
........................................................................ [ 60%]
........................................................................ [ 60%]
........................................................................ [ 60%]
........................................................................ [ 60%]
........................................................................ [ 60%]
........................................................................ [ 61%]
........................................................................ [ 61%]
........................................................................ [ 61%]
........................................................................ [ 61%]
........................................................................ [ 61%]
........................................................................ [ 61%]
........................................................................ [ 61%]
........................................................................ [ 62%]
........................................................................ [ 62%]
........................................................................ [ 62%]
........................................................................ [ 62%]
........................................................................ [ 62%]
........................................................................ [ 62%]
........................................................................ [ 63%]
........................................................................ [ 63%]
........................................................................ [ 63%]
........................................................................ [ 63%]
........................................................................ [ 63%]
........................................................................ [ 63%]
........................................................................ [ 63%]
........................................................................ [ 64%]
........................................................................ [ 64%]
........................................................................ [ 64%]
........................................................................ [ 64%]
........................................................................ [ 64%]
........................................................................ [ 64%]
........................................................................ [ 65%]
........................................................................ [ 65%]
........................................................................ [ 65%]
........................................................................ [ 65%]
........................................................................ [ 65%]
........................................................................ [ 65%]
........................................................................ [ 65%]
........................................................................ [ 66%]
........................................................................ [ 66%]
........................................................................ [ 66%]
........................................................................ [ 66%]
........................................................................ [ 66%]
........................................................................ [ 66%]
........................................................................ [ 67%]
........................................................................ [ 67%]
........................................................................ [ 67%]
........................................................................ [ 67%]
........................................................................ [ 67%]
........................................................................ [ 67%]
........................................................................ [ 67%]
........................................................................ [ 68%]
........................................................................ [ 68%]
........................................................................ [ 68%]
........................................................................ [ 68%]
........................................................................ [ 68%]
........................................................................ [ 68%]
........................................................................ [ 69%]
........................................................................ [ 69%]
........................................................................ [ 69%]
........................................................................ [ 69%]
........................................................................ [ 69%]
........................................................................ [ 69%]
........................................................................ [ 70%]
........................................................................ [ 70%]
........................................................................ [ 70%]
........................................................................ [ 70%]
........................................................................ [ 70%]
........................................................................ [ 70%]
........................................................................ [ 70%]
........................................................................ [ 71%]
........................................................................ [ 71%]
........................................................................ [ 71%]
........................................................................ [ 71%]
........................................................................ [ 71%]
........................................................................ [ 71%]
........................................................................ [ 72%]
........................................................................ [ 72%]
........................................................................ [ 72%]
........................................................................ [ 72%]
........................................................................ [ 72%]
........................................................................ [ 72%]
........................................................................ [ 72%]
........................................................................ [ 73%]
........................................................................ [ 73%]
........................................................................ [ 73%]
........................................................................ [ 73%]
........................................................................ [ 73%]
........................................................................ [ 73%]
........................................................................ [ 74%]
........................................................................ [ 74%]
........................................................................ [ 74%]
........................................................................ [ 74%]
........................................................................ [ 74%]
........................................................................ [ 74%]
........................................................................ [ 74%]
........................................................................ [ 75%]
........................................................................ [ 75%]
........................................................................ [ 75%]
........................................................................ [ 75%]
........................................................................ [ 75%]
........................................................................ [ 75%]
........................................................................ [ 76%]
........................................................................ [ 76%]
........................................................................ [ 76%]
........................................................................ [ 76%]
........................................................................ [ 76%]
........................................................................ [ 76%]
........................................................................ [ 76%]
........................................................................ [ 77%]
........................................................................ [ 77%]
........................................................................ [ 77%]
........................................................................ [ 77%]
........................................................................ [ 77%]
........................................................................ [ 77%]
........................................................................ [ 78%]
........................................................................ [ 78%]
........................................................................ [ 78%]
........................................................................ [ 78%]
........................................................................ [ 78%]
........................................................................ [ 78%]
........................................................................ [ 78%]
........................................................................ [ 79%]
........................................................................ [ 79%]
........................................................................ [ 79%]
........................................................................ [ 79%]
........................................................................ [ 79%]
........................................................................ [ 79%]
........................................................................ [ 80%]
........................................................................ [ 80%]
........................................................................ [ 80%]
........................................................................ [ 80%]
........................................................................ [ 80%]
........................................................................ [ 80%]
........................................................................ [ 81%]
........................................................................ [ 81%]
........................................................................ [ 81%]
........................................................................ [ 81%]
........................................................................ [ 81%]
........................................................................ [ 81%]
........................................................................ [ 81%]
........................................................................ [ 82%]
........................................................................ [ 82%]
........................................................................ [ 82%]
........................................................................ [ 82%]
........................................................................ [ 82%]
........................................................................ [ 82%]
........................................................................ [ 83%]
........................................................................ [ 83%]
........................................................................ [ 83%]
........................................................................ [ 83%]
........................................................................ [ 83%]
........................................................................ [ 83%]
........................................................................ [ 83%]
........................................................................ [ 84%]
........................................................................ [ 84%]
........................................................................ [ 84%]
........................................................................ [ 84%]
........................................................................ [ 84%]
........................................................................ [ 84%]
........................................................................ [ 85%]
........................................................................ [ 85%]
........................................................................ [ 85%]
........................................................................ [ 85%]
........................................................................ [ 85%]
........................................................................ [ 85%]
........................................................................ [ 85%]
........................................................................ [ 86%]
........................................................................ [ 86%]
........................................................................ [ 86%]
........................................................................ [ 86%]
........................................................................ [ 86%]
........................................................................ [ 86%]
........................................................................ [ 87%]
........................................................................ [ 87%]
........................................................................ [ 87%]
........................................................................ [ 87%]
........................................................................ [ 87%]
........................................................................ [ 87%]
........................................................................ [ 87%]
........................................................................ [ 88%]
........................................................................ [ 88%]
........................................................................ [ 88%]
........................................................................ [ 88%]
........................................................................ [ 88%]
........................................................................ [ 88%]
........................................................................ [ 89%]
........................................................................ [ 89%]
........................................................................ [ 89%]
........................................................................ [ 89%]
........................................................................ [ 89%]
........................................................................ [ 89%]
........................................................................ [ 90%]
........................................................................ [ 90%]
........................................................................ [ 90%]
........................................................................ [ 90%]
........................................................................ [ 90%]
........................................................................ [ 90%]
........................................................................ [ 90%]
........................................................................ [ 91%]
........................................................................ [ 91%]
........................................................................ [ 91%]
........................................................................ [ 91%]
........................................................................ [ 91%]
........................................................................ [ 91%]
........................................................................ [ 92%]
........................................................................ [ 92%]
........................................................................ [ 92%]
.......................................                                  [ 92%]
tests/functional/test_retry.py .................                         [ 92%]
tests/functional/test_route53.py ....                                    [ 92%]
tests/functional/test_s3.py ............................................ [ 92%]
.....s.......sssssssss.................................................. [ 92%]
........................................................................ [ 92%]
........................................................................ [ 93%]
...................                                                      [ 93%]
tests/functional/test_s3_control.py ...                                  [ 93%]
tests/functional/test_s3_control_redirects.py .......................... [ 93%]
...........                                                              [ 93%]
tests/functional/test_sagemaker.py ..                                    [ 93%]
tests/functional/test_service_alias.py .                                 [ 93%]
tests/functional/test_service_names.py ................................. [ 93%]
........................................................................ [ 93%]
........................................................................ [ 93%]
........................................................................ [ 93%]
........................................................................ [ 93%]
........................................................................ [ 94%]
........................................................................ [ 94%]
........................................................................ [ 94%]
........................................................................ [ 94%]
........................................................................ [ 94%]
...................................                                      [ 94%]
tests/functional/test_session.py .......                                 [ 94%]
tests/functional/test_six_imports.py ................................... [ 94%]
................................                                         [ 94%]
tests/functional/test_six_threading.py .                                 [ 94%]
tests/functional/test_sts.py ........................                    [ 94%]
tests/functional/test_stub.py .........................                  [ 94%]
tests/functional/test_tagged_unions_unknown.py .                         [ 94%]
tests/functional/test_useragent.py ..................................... [ 95%]
..........................                                               [ 95%]
tests/functional/test_utils.py ...                                       [ 95%]
tests/functional/test_waiter_config.py ................................. [ 95%]
......................................                                   [ 95%]
tests/functional/configured_endpoint_urls/test_configured_endpoint_url.py . [ 95%]
........................................................................ [ 95%]
........................................................................ [ 95%]
........................................................................ [ 95%]
........................................................................ [ 95%]
........................................................................ [ 96%]
........................................................................ [ 96%]
........................................................................ [ 96%]
........................................................................ [ 96%]
........................................................................ [ 96%]
........................................................................ [ 96%]
..................................                                       [ 96%]
tests/functional/csm/test_monitoring.py .....................            [ 96%]
tests/functional/docs/test_alias.py .                                    [ 96%]
tests/functional/docs/test_autoscaling.py .                              [ 96%]
tests/functional/docs/test_ec2.py ....                                   [ 96%]
tests/functional/docs/test_glacier.py ..                                 [ 96%]
tests/functional/docs/test_lex.py .                                      [ 96%]
tests/functional/docs/test_s3.py ......                                  [ 96%]
tests/functional/docs/test_secretsmanager.py .                           [ 96%]
tests/functional/docs/test_shared_example_config.py .................... [ 97%]
........................................................................ [ 97%]
........................................................................ [ 97%]
........................................................................ [ 97%]
........................................................................ [ 97%]
........................................................................ [ 97%]
........................................................................ [ 97%]
........................................................................ [ 98%]
........................................................................ [ 98%]
........................................................................ [ 98%]
........................................................................ [ 98%]
........................................................................ [ 98%]
........................................................................ [ 98%]
........................................................................ [ 99%]
........................................................................ [ 99%]
........................................................................ [ 99%]
........................................................................ [ 99%]
........................................................................ [ 99%]
........................................................................ [ 99%]
........................................................................ [ 99%]
........                                                                 [ 99%]
tests/functional/docs/test_streaming_body.py .                           [ 99%]
tests/functional/leak/test_resource_leaks.py FEFEFEFEFEFE                [ 99%]
tests/functional/retries/test_bucket.py ..                               [ 99%]
tests/functional/retries/test_quota.py .                                 [100%]

==================================== ERRORS ====================================
_ ERROR at teardown of TestDoesNotLeakMemory.test_create_memory_clients_in_loop _
tests/__init__.py:197: in tearDown
    self.driver.stop()
tests/__init__.py:239: in stop
    self.cmd('exit')
tests/__init__.py:281: in cmd
    self.send_cmd(*cmd)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <tests.ClientDriver object at 0x7fba80e951f0>, cmd = ('exit',)
cmd_str = 'exit\n', cmd_bytes = b'exit\n'

    def send_cmd(self, *cmd):
        """Send a command and return immediately.

        This is a lower level method than cmd().
        This method will instruct the cmd-runner process
        to execute a command, but this method will
        immediately return.  You will need to use
        ``is_cmd_finished()`` to check that the command
        is finished.

        This method is useful if you want to record attributes
        about the process while an operation is occurring.  For
        example, if you want to instruct the cmd-runner process
        to upload a 1GB file to S3 and you'd like to record
        the memory during the upload process, you can use
        send_cmd() instead of cmd().

        """
        cmd_str = ' '.join(cmd) + '\n'
        cmd_bytes = cmd_str.encode('utf-8')
        self._popen.stdin.write(cmd_bytes)
>       self._popen.stdin.flush()
E       BrokenPipeError: [Errno 32] Broken pipe

tests/__init__.py:263: BrokenPipeError
----------------------------- Captured stderr call -----------------------------
Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/botocore-1.31.63/tests/cmd-runner", line 72, in <module>
    import botocore.session
ModuleNotFoundError: No module named 'botocore'
_ ERROR at teardown of TestDoesNotLeakMemory.test_create_memory_paginators_in_loop _
tests/__init__.py:197: in tearDown
    self.driver.stop()
tests/__init__.py:239: in stop
    self.cmd('exit')
tests/__init__.py:281: in cmd
    self.send_cmd(*cmd)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <tests.ClientDriver object at 0x7fba81f92cd0>, cmd = ('exit',)
cmd_str = 'exit\n', cmd_bytes = b'exit\n'

    def send_cmd(self, *cmd):
        """Send a command and return immediately.

        This is a lower level method than cmd().
        This method will instruct the cmd-runner process
        to execute a command, but this method will
        immediately return.  You will need to use
        ``is_cmd_finished()`` to check that the command
        is finished.

        This method is useful if you want to record attributes
        about the process while an operation is occurring.  For
        example, if you want to instruct the cmd-runner process
        to upload a 1GB file to S3 and you'd like to record
        the memory during the upload process, you can use
        send_cmd() instead of cmd().

        """
        cmd_str = ' '.join(cmd) + '\n'
        cmd_bytes = cmd_str.encode('utf-8')
        self._popen.stdin.write(cmd_bytes)
>       self._popen.stdin.flush()
E       BrokenPipeError: [Errno 32] Broken pipe

tests/__init__.py:263: BrokenPipeError
----------------------------- Captured stderr call -----------------------------
Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/botocore-1.31.63/tests/cmd-runner", line 72, in <module>
    import botocore.session
ModuleNotFoundError: No module named 'botocore'
_ ERROR at teardown of TestDoesNotLeakMemory.test_create_memory_waiters_in_loop _
tests/__init__.py:197: in tearDown
    self.driver.stop()
tests/__init__.py:239: in stop
    self.cmd('exit')
tests/__init__.py:281: in cmd
    self.send_cmd(*cmd)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <tests.ClientDriver object at 0x7fba80f3eac0>, cmd = ('exit',)
cmd_str = 'exit\n', cmd_bytes = b'exit\n'

    def send_cmd(self, *cmd):
        """Send a command and return immediately.

        This is a lower level method than cmd().
        This method will instruct the cmd-runner process
        to execute a command, but this method will
        immediately return.  You will need to use
        ``is_cmd_finished()`` to check that the command
        is finished.

        This method is useful if you want to record attributes
        about the process while an operation is occurring.  For
        example, if you want to instruct the cmd-runner process
        to upload a 1GB file to S3 and you'd like to record
        the memory during the upload process, you can use
        send_cmd() instead of cmd().

        """
        cmd_str = ' '.join(cmd) + '\n'
        cmd_bytes = cmd_str.encode('utf-8')
        self._popen.stdin.write(cmd_bytes)
>       self._popen.stdin.flush()
E       BrokenPipeError: [Errno 32] Broken pipe

tests/__init__.py:263: BrokenPipeError
----------------------------- Captured stderr call -----------------------------
Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/botocore-1.31.63/tests/cmd-runner", line 72, in <module>
    import botocore.session
ModuleNotFoundError: No module named 'botocore'
_ ERROR at teardown of TestDoesNotLeakMemory.test_create_single_client_memory_constant _
tests/__init__.py:197: in tearDown
    self.driver.stop()
tests/__init__.py:239: in stop
    self.cmd('exit')
tests/__init__.py:281: in cmd
    self.send_cmd(*cmd)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <tests.ClientDriver object at 0x7fba8272fb20>, cmd = ('exit',)
cmd_str = 'exit\n', cmd_bytes = b'exit\n'

    def send_cmd(self, *cmd):
        """Send a command and return immediately.

        This is a lower level method than cmd().
        This method will instruct the cmd-runner process
        to execute a command, but this method will
        immediately return.  You will need to use
        ``is_cmd_finished()`` to check that the command
        is finished.

        This method is useful if you want to record attributes
        about the process while an operation is occurring.  For
        example, if you want to instruct the cmd-runner process
        to upload a 1GB file to S3 and you'd like to record
        the memory during the upload process, you can use
        send_cmd() instead of cmd().

        """
        cmd_str = ' '.join(cmd) + '\n'
        cmd_bytes = cmd_str.encode('utf-8')
        self._popen.stdin.write(cmd_bytes)
>       self._popen.stdin.flush()
E       BrokenPipeError: [Errno 32] Broken pipe

tests/__init__.py:263: BrokenPipeError
----------------------------- Captured stderr call -----------------------------
Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/botocore-1.31.63/tests/cmd-runner", line 72, in <module>
    import botocore.session
ModuleNotFoundError: No module named 'botocore'
_ ERROR at teardown of TestDoesNotLeakMemory.test_create_single_paginator_memory_constant _
tests/__init__.py:197: in tearDown
    self.driver.stop()
tests/__init__.py:239: in stop
    self.cmd('exit')
tests/__init__.py:281: in cmd
    self.send_cmd(*cmd)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <tests.ClientDriver object at 0x7fba80d9ea00>, cmd = ('exit',)
cmd_str = 'exit\n', cmd_bytes = b'exit\n'

    def send_cmd(self, *cmd):
        """Send a command and return immediately.

        This is a lower level method than cmd().
        This method will instruct the cmd-runner process
        to execute a command, but this method will
        immediately return.  You will need to use
        ``is_cmd_finished()`` to check that the command
        is finished.

        This method is useful if you want to record attributes
        about the process while an operation is occurring.  For
        example, if you want to instruct the cmd-runner process
        to upload a 1GB file to S3 and you'd like to record
        the memory during the upload process, you can use
        send_cmd() instead of cmd().

        """
        cmd_str = ' '.join(cmd) + '\n'
        cmd_bytes = cmd_str.encode('utf-8')
        self._popen.stdin.write(cmd_bytes)
>       self._popen.stdin.flush()
E       BrokenPipeError: [Errno 32] Broken pipe

tests/__init__.py:263: BrokenPipeError
----------------------------- Captured stderr call -----------------------------
Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/botocore-1.31.63/tests/cmd-runner", line 72, in <module>
    import botocore.session
ModuleNotFoundError: No module named 'botocore'
_ ERROR at teardown of TestDoesNotLeakMemory.test_create_single_waiter_memory_constant _
tests/__init__.py:197: in tearDown
    self.driver.stop()
tests/__init__.py:239: in stop
    self.cmd('exit')
tests/__init__.py:281: in cmd
    self.send_cmd(*cmd)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <tests.ClientDriver object at 0x7fba80e8afa0>, cmd = ('exit',)
cmd_str = 'exit\n', cmd_bytes = b'exit\n'

    def send_cmd(self, *cmd):
        """Send a command and return immediately.

        This is a lower level method than cmd().
        This method will instruct the cmd-runner process
        to execute a command, but this method will
        immediately return.  You will need to use
        ``is_cmd_finished()`` to check that the command
        is finished.

        This method is useful if you want to record attributes
        about the process while an operation is occurring.  For
        example, if you want to instruct the cmd-runner process
        to upload a 1GB file to S3 and you'd like to record
        the memory during the upload process, you can use
        send_cmd() instead of cmd().

        """
        cmd_str = ' '.join(cmd) + '\n'
        cmd_bytes = cmd_str.encode('utf-8')
        self._popen.stdin.write(cmd_bytes)
>       self._popen.stdin.flush()
E       BrokenPipeError: [Errno 32] Broken pipe

tests/__init__.py:263: BrokenPipeError
----------------------------- Captured stderr call -----------------------------
Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/botocore-1.31.63/tests/cmd-runner", line 72, in <module>
    import botocore.session
ModuleNotFoundError: No module named 'botocore'
=================================== FAILURES ===================================
___________ TestDoesNotLeakMemory.test_create_memory_clients_in_loop ___________

self = <tests.functional.leak.test_resource_leaks.TestDoesNotLeakMemory testMethod=test_create_memory_clients_in_loop>

    def test_create_memory_clients_in_loop(self):
        # We need to first create clients and free then before
        # recording our memory samples.  This is because of two reasons:
        # 1. Caching.  Some of the botocore internals will cache data, so
        #    the first client created will consume more memory than subsequent
        #    clients.  We're interested in growing memory, not total
        #    memory usage (for now), so we we care about the memory in the
        #    steady state case.
        # 2. Python memory allocation.  Due to how python allocates memory
        #    via it's small object allocator, arena's aren't freed until the
        #    entire 256kb isn't in use.  If a single allocation in a single
        #    pool in a single arena is still in use, the arena is not
        #    freed.  This case is easy to hit, and pretty much any
        #    fragmentation guarantees this case is hit.  The best we can
        #    do is verify that memory that's released back to python's
        #    allocator (but not to the OS) is at least reused in subsequent
        #    requests to create botocore clients.
>       self.cmd('create_multiple_clients', '200', 's3')

tests/functional/leak/test_resource_leaks.py:56:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/__init__.py:184: in cmd
    self.driver.cmd(*args)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <tests.ClientDriver object at 0x7fba80e951f0>
cmd = ('create_multiple_clients', '200', 's3'), result = b''

    def cmd(self, *cmd):
        """Send a command and block until it finishes.

        This method will send a command to the cmd-runner process
        to run.  It will block until the cmd-runner process is
        finished executing the command and sends back a status
        response.

        """
        self.send_cmd(*cmd)
        result = self._popen.stdout.readline().strip()
        if result != b'OK':
>           raise RuntimeError(f"Error from command '{cmd}': {result}")
E           RuntimeError: Error from command '('create_multiple_clients', '200', 's3')': b''

tests/__init__.py:284: RuntimeError
----------------------------- Captured stderr call -----------------------------
Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/botocore-1.31.63/tests/cmd-runner", line 72, in <module>
    import botocore.session
ModuleNotFoundError: No module named 'botocore'
_________ TestDoesNotLeakMemory.test_create_memory_paginators_in_loop __________

self = <tests.functional.leak.test_resource_leaks.TestDoesNotLeakMemory testMethod=test_create_memory_paginators_in_loop>

    def test_create_memory_paginators_in_loop(self):
        # See ``test_create_memory_clients_in_loop`` to understand why
        # paginators are first initialized and then freed. Same reason applies.
>       self.cmd('create_multiple_paginators', '200', 's3', 'list_objects')

tests/functional/leak/test_resource_leaks.py:106:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/__init__.py:184: in cmd
    self.driver.cmd(*args)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <tests.ClientDriver object at 0x7fba81f92cd0>
cmd = ('create_multiple_paginators', '200', 's3', 'list_objects'), result = b''

    def cmd(self, *cmd):
        """Send a command and block until it finishes.

        This method will send a command to the cmd-runner process
        to run.  It will block until the cmd-runner process is
        finished executing the command and sends back a status
        response.

        """
        self.send_cmd(*cmd)
        result = self._popen.stdout.readline().strip()
        if result != b'OK':
>           raise RuntimeError(f"Error from command '{cmd}': {result}")
E           RuntimeError: Error from command '('create_multiple_paginators', '200', 's3', 'list_objects')': b''

tests/__init__.py:284: RuntimeError
----------------------------- Captured stderr call -----------------------------
Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/botocore-1.31.63/tests/cmd-runner", line 72, in <module>
    import botocore.session
ModuleNotFoundError: No module named 'botocore'
___________ TestDoesNotLeakMemory.test_create_memory_waiters_in_loop ___________

self = <tests.functional.leak.test_resource_leaks.TestDoesNotLeakMemory testMethod=test_create_memory_waiters_in_loop>

    def test_create_memory_waiters_in_loop(self):
        # See ``test_create_memory_clients_in_loop`` to understand why
        # waiters are first initialized and then freed. Same reason applies.
>       self.cmd('create_multiple_waiters', '200', 's3', 'bucket_exists')

tests/functional/leak/test_resource_leaks.py:81:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/__init__.py:184: in cmd
    self.driver.cmd(*args)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <tests.ClientDriver object at 0x7fba80f3eac0>
cmd = ('create_multiple_waiters', '200', 's3', 'bucket_exists'), result = b''

    def cmd(self, *cmd):
        """Send a command and block until it finishes.

        This method will send a command to the cmd-runner process
        to run.  It will block until the cmd-runner process is
        finished executing the command and sends back a status
        response.

        """
        self.send_cmd(*cmd)
        result = self._popen.stdout.readline().strip()
        if result != b'OK':
>           raise RuntimeError(f"Error from command '{cmd}': {result}")
E           RuntimeError: Error from command '('create_multiple_waiters', '200', 's3', 'bucket_exists')': b''

tests/__init__.py:284: RuntimeError
----------------------------- Captured stderr call -----------------------------
Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/botocore-1.31.63/tests/cmd-runner", line 72, in <module>
    import botocore.session
ModuleNotFoundError: No module named 'botocore'
_______ TestDoesNotLeakMemory.test_create_single_client_memory_constant ________

self = <tests.functional.leak.test_resource_leaks.TestDoesNotLeakMemory testMethod=test_create_single_client_memory_constant>

    def test_create_single_client_memory_constant(self):
>       self.cmd('create_client', 's3')

tests/functional/leak/test_resource_leaks.py:29:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/__init__.py:184: in cmd
    self.driver.cmd(*args)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <tests.ClientDriver object at 0x7fba8272fb20>
cmd = ('create_client', 's3'), result = b''

    def cmd(self, *cmd):
        """Send a command and block until it finishes.

        This method will send a command to the cmd-runner process
        to run.  It will block until the cmd-runner process is
        finished executing the command and sends back a status
        response.

        """
        self.send_cmd(*cmd)
        result = self._popen.stdout.readline().strip()
        if result != b'OK':
>           raise RuntimeError(f"Error from command '{cmd}': {result}")
E           RuntimeError: Error from command '('create_client', 's3')': b''

tests/__init__.py:284: RuntimeError
----------------------------- Captured stderr call -----------------------------
Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/botocore-1.31.63/tests/cmd-runner", line 72, in <module>
    import botocore.session
ModuleNotFoundError: No module named 'botocore'
______ TestDoesNotLeakMemory.test_create_single_paginator_memory_constant ______

self = <tests.functional.leak.test_resource_leaks.TestDoesNotLeakMemory testMethod=test_create_single_paginator_memory_constant>

    def test_create_single_paginator_memory_constant(self):
>       self.cmd('create_paginator', 's3', 'list_objects')

tests/functional/leak/test_resource_leaks.py:93:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/__init__.py:184: in cmd
    self.driver.cmd(*args)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <tests.ClientDriver object at 0x7fba80d9ea00>
cmd = ('create_paginator', 's3', 'list_objects'), result = b''

    def cmd(self, *cmd):
        """Send a command and block until it finishes.

        This method will send a command to the cmd-runner process
        to run.  It will block until the cmd-runner process is
        finished executing the command and sends back a status
        response.

        """
        self.send_cmd(*cmd)
        result = self._popen.stdout.readline().strip()
        if result != b'OK':
>           raise RuntimeError(f"Error from command '{cmd}': {result}")
E           RuntimeError: Error from command '('create_paginator', 's3', 'list_objects')': b''

tests/__init__.py:284: RuntimeError
----------------------------- Captured stderr call -----------------------------
Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/botocore-1.31.63/tests/cmd-runner", line 72, in <module>
    import botocore.session
ModuleNotFoundError: No module named 'botocore'
_______ TestDoesNotLeakMemory.test_create_single_waiter_memory_constant ________

self = <tests.functional.leak.test_resource_leaks.TestDoesNotLeakMemory testMethod=test_create_single_waiter_memory_constant>

    def test_create_single_waiter_memory_constant(self):
>       self.cmd('create_waiter', 's3', 'bucket_exists')

tests/functional/leak/test_resource_leaks.py:68:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/__init__.py:184: in cmd
    self.driver.cmd(*args)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <tests.ClientDriver object at 0x7fba80e8afa0>
cmd = ('create_waiter', 's3', 'bucket_exists'), result = b''

    def cmd(self, *cmd):
        """Send a command and block until it finishes.

        This method will send a command to the cmd-runner process
        to run.  It will block until the cmd-runner process is
        finished executing the command and sends back a status
        response.

        """
        self.send_cmd(*cmd)
        result = self._popen.stdout.readline().strip()
        if result != b'OK':
>           raise RuntimeError(f"Error from command '{cmd}': {result}")
E           RuntimeError: Error from command '('create_waiter', 's3', 'bucket_exists')': b''

tests/__init__.py:284: RuntimeError
----------------------------- Captured stderr call -----------------------------
Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/botocore-1.31.63/tests/cmd-runner", line 72, in <module>
    import botocore.session
ModuleNotFoundError: No module named 'botocore'
=============================== warnings summary ===============================
tests/functional/docs/test_shared_example_config.py::test_lint_shared_example_configs[DescribeStream-example_config232-service_model232]
  /usr/lib/python3.8/site-packages/dateutil/parser/_parser.py:1207: UnknownTimezoneWarning: tzname PDT identified but not understood.  Pass `tzinfos` argument in order to correctly return a timezone-aware datetime.  In a future version, this will raise an exception.
    warnings.warn("tzname {tzname} identified but not understood.  "

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
SKIPPED [1] tests/functional/test_compress.py:96: got empty parameter set ['operation_model'], function test_no_unknown_compression_encodings at /home/tkloczko/rpmbuild/BUILD/botocore-1.31.63/tests/functional/test_compress.py:95
SKIPPED [2] tests/functional/test_endpoint_rulesets.py:229: Test case expects sigv4a which requires CRT
SKIPPED [1] tests/functional/test_eventbridge.py:138: Test requires awscrt to be installed
SKIPPED [1] tests/functional/test_eventbridge.py:149: Test requires awscrt to be installed
SKIPPED [1] tests/functional/test_eventbridge.py:164: Test requires awscrt to be installed
SKIPPED [1] tests/functional/test_eventbridge.py:175: Test requires awscrt to be installed
SKIPPED [1] tests/functional/test_eventbridge.py:94: Test requires awscrt to be installed
SKIPPED [1] tests/functional/test_eventbridge.py:114: Test requires awscrt to be installed
SKIPPED [1] tests/functional/test_eventbridge.py:326: Test requires awscrt to be installed
SKIPPED [1] tests/functional/test_eventbridge.py:201: Test requires awscrt to be installed
SKIPPED [1] tests/functional/test_eventbridge.py:263: Test requires awscrt to be installed
SKIPPED [1] tests/functional/test_eventbridge.py:238: Test requires awscrt to be installed
SKIPPED [1] tests/functional/test_eventbridge.py:293: Test requires awscrt to be installed
SKIPPED [1] tests/functional/test_h2_required.py:52: got empty parameter set ['h2_service'], function test_all_uses_of_h2_are_known at /home/tkloczko/rpmbuild/BUILD/botocore-1.31.63/tests/functional/test_h2_required.py:51
SKIPPED [1] tests/functional/test_s3.py:1101: Test requires awscrt to be installed
SKIPPED [1] tests/functional/test_s3.py:1043: Test requires awscrt to be installed
SKIPPED [1] tests/functional/test_s3.py:1092: Test requires awscrt to be installed
SKIPPED [1] tests/functional/test_s3.py:1079: Test requires awscrt to be installed
SKIPPED [1] tests/functional/test_s3.py:1086: Test requires awscrt to be installed
SKIPPED [1] tests/functional/test_s3.py:1069: Test requires awscrt to be installed
SKIPPED [1] tests/functional/test_s3.py:1063: Test requires awscrt to be installed
SKIPPED [1] tests/functional/test_s3.py:1129: Test requires awscrt to be installed
SKIPPED [1] tests/functional/test_s3.py:1138: Test requires awscrt to be installed
SKIPPED [1] tests/functional/test_s3.py:1116: Test requires awscrt to be installed
ERROR tests/functional/leak/test_resource_leaks.py::TestDoesNotLeakMemory::test_create_memory_clients_in_loop
ERROR tests/functional/leak/test_resource_leaks.py::TestDoesNotLeakMemory::test_create_memory_paginators_in_loop
ERROR tests/functional/leak/test_resource_leaks.py::TestDoesNotLeakMemory::test_create_memory_waiters_in_loop
ERROR tests/functional/leak/test_resource_leaks.py::TestDoesNotLeakMemory::test_create_single_client_memory_constant
ERROR tests/functional/leak/test_resource_leaks.py::TestDoesNotLeakMemory::test_create_single_paginator_memory_constant
ERROR tests/functional/leak/test_resource_leaks.py::TestDoesNotLeakMemory::test_create_single_waiter_memory_constant
FAILED tests/functional/leak/test_resource_leaks.py::TestDoesNotLeakMemory::test_create_memory_clients_in_loop
FAILED tests/functional/leak/test_resource_leaks.py::TestDoesNotLeakMemory::test_create_memory_paginators_in_loop
FAILED tests/functional/leak/test_resource_leaks.py::TestDoesNotLeakMemory::test_create_memory_waiters_in_loop
FAILED tests/functional/leak/test_resource_leaks.py::TestDoesNotLeakMemory::test_create_single_client_memory_constant
FAILED tests/functional/leak/test_resource_leaks.py::TestDoesNotLeakMemory::test_create_single_paginator_memory_constant
FAILED tests/functional/leak/test_resource_leaks.py::TestDoesNotLeakMemory::test_create_single_waiter_memory_constant
= 6 failed, 46390 passed, 25 skipped, 1 warning, 6 errors in 1226.45s (0:20:26) =

kloczek avatar Oct 14 '23 16:10 kloczek

Gentle ping .. any update? 🤔 Just retested latest version and I still see those fails with 1.34.69. Are you able to reporoduce those issues? 🤔

kloczek avatar Mar 23 '24 21:03 kloczek