Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-3080

Fix fle tests in docker

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 2.19.0
    • Affects Version/s: None
    • Component/s: Tests

      After implementing https://jira.mongodb.org/browse/RUBY-2512, FLE tests in docker fail.

      . .evergreen/csfle/set-temp-creds.sh
      ...
      Traceback (most recent call last):
        File "<stdin>", line 4, in <module>
        File "/opt/python37/lib/python3.7/site-packages/botocore/client.py", line 508, in _api_call
          return self._make_api_call(operation_name, kwargs)
        File "/opt/python37/lib/python3.7/site-packages/botocore/client.py", line 899, in _make_api_call
          operation_model, request_dict, request_context
        File "/opt/python37/lib/python3.7/site-packages/botocore/client.py", line 921, in _make_request
          return self._endpoint.make_request(operation_model, request_dict)
        File "/opt/python37/lib/python3.7/site-packages/botocore/endpoint.py", line 119, in make_request
          return self._send_request(request_dict, operation_model)
        File "/opt/python37/lib/python3.7/site-packages/botocore/endpoint.py", line 198, in _send_request
          request = self.create_request(request_dict, operation_model)
        File "/opt/python37/lib/python3.7/site-packages/botocore/endpoint.py", line 137, in create_request
          operation_name=operation_model.name,
        File "/opt/python37/lib/python3.7/site-packages/botocore/hooks.py", line 412, in emit
          return self._emitter.emit(aliased_event_name, **kwargs)
        File "/opt/python37/lib/python3.7/site-packages/botocore/hooks.py", line 256, in emit
          return self._emit(event_name, kwargs)
        File "/opt/python37/lib/python3.7/site-packages/botocore/hooks.py", line 239, in _emit
          response = handler(**kwargs)
        File "/opt/python37/lib/python3.7/site-packages/botocore/signers.py", line 103, in handler
          return self.sign(operation_name, request)
        File "/opt/python37/lib/python3.7/site-packages/botocore/signers.py", line 187, in sign
          auth.add_auth(request)
        File "/opt/python37/lib/python3.7/site-packages/botocore/auth.py", line 407, in add_auth
          raise NoCredentialsError()
      botocore.exceptions.NoCredentialsError: Unable to locate credentials
      /data/mci/706dcec0313b7607d691746d2aa91987/src/spec/shared/lib/mrss/docker_runner.rb:172:in `run_command': Process exited with code 1 (RuntimeError)
      	from /data/mci/706dcec0313b7607d691746d2aa91987/src/spec/shared/lib/mrss/docker_runner.rb:121:in `run_tests'
      	from /data/mci/706dcec0313b7607d691746d2aa91987/src/spec/shared/lib/mrss/docker_runner.rb:33:in `run'
      	from ./.evergreen/test-on-docker:11:in `<main>'

            Assignee:
            dmitry.rybakov@mongodb.com Dmitry Rybakov
            Reporter:
            dmitry.rybakov@mongodb.com Dmitry Rybakov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: