Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-2445

Test Failure - MONGODB-AWS Auth Ubuntu 18.04

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.12, 3.11.3, 4.0
    • Affects Version/s: None
    • Component/s: Tests
    • None

      This test is failing on MongoDB 4.4 (and latest) since Nov 20th:

       [2020/11/27 18:42:42.211] Running command 'shell.exec' in "run aws ECS auth test" (step 8 of 8)
       [2020/11/27 18:42:42.274] MongoDB shell version v4.9.0-alpha-711-g79be0f2
       [2020/11/27 18:42:42.274] loading file: setup.js
       [2020/11/27 18:42:42.274] loading file: aws_e2e_ecs.js
       [2020/11/27 18:42:42.275] {"t":{"$date":"2020-11-27T18:42:42.275Z"},"s":"I",  "c":"-",        "id":22810,   "ctx":"js","msg":"shell: Started program","attr":{"pid":"5605","argv":["/bin/sh","-c","python3 -u  lib/container_tester.py -v remote_gc_services  --cluster arn:aws:ecs:us-east-1:557821124784:cluster/authtest-cluster"]}}
       [2020/11/27 18:42:42.631] sh5605| AWS_SHARED_CREDENTIALS_FILE: None
       [2020/11/27 18:42:42.631] sh5605| INFO:botocore.credentials:Found credentials in environment variables.
       [2020/11/27 18:42:43.054] sh5605| INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): ecs.us-east-1.amazonaws.com
       [2020/11/27 18:42:43.167] sh5605| DELETING expired service mdb-ruby_test_b68db8e0-5589-4fea-991d-c9bc30200a3e which was created at 2020-11-27 07:04:05.260000+00:00.
       [2020/11/27 18:42:43.173] sh5605| Traceback (most recent call last):
       [2020/11/27 18:42:43.174] sh5605|   File "lib/container_tester.py", line 385, in <module>
       [2020/11/27 18:42:43.174] sh5605|     main()
       [2020/11/27 18:42:43.174] sh5605|   File "lib/container_tester.py", line 381, in main
       [2020/11/27 18:42:43.174] sh5605|     args.func(args)
       [2020/11/27 18:42:43.174] sh5605|   File "lib/container_tester.py", line 204, in _remote_gc_services_container_args
       [2020/11/27 18:42:43.174] sh5605|     remote_gc_services_container(args.cluster)
       [2020/11/27 18:42:43.174] sh5605|   File "lib/container_tester.py", line 227, in remote_gc_services_container
       [2020/11/27 18:42:43.174] sh5605|     remote_stop_container(cluster, service["serviceName"])
       [2020/11/27 18:42:43.174] sh5605|   File "lib/container_tester.py", line 193, in remote_stop_container
       [2020/11/27 18:42:43.174] sh5605|     resp = ecs_client.delete_service(cluster=cluster, service=service_name, force=True)
       [2020/11/27 18:42:43.174] sh5605|   File "/usr/local/lib/python3.6/dist-packages/botocore/client.py", line 253, in _api_call
       [2020/11/27 18:42:43.249] sh5605|     return self._make_api_call(operation_name, kwargs)
       [2020/11/27 18:42:43.249] sh5605|   File "/usr/local/lib/python3.6/dist-packages/botocore/client.py", line 531, in _make_api_call
       [2020/11/27 18:42:43.249] sh5605|     api_params, operation_model, context=request_context)
       [2020/11/27 18:42:43.249] sh5605|   File "/usr/local/lib/python3.6/dist-packages/botocore/client.py", line 586, in _convert_to_request_dict
       [2020/11/27 18:42:43.249] sh5605|     api_params, operation_model)
       [2020/11/27 18:42:43.249] sh5605|   File "/usr/local/lib/python3.6/dist-packages/botocore/validate.py", line 291, in serialize_to_request
       [2020/11/27 18:42:43.249] sh5605|     raise ParamValidationError(report=report.generate_report())
       [2020/11/27 18:42:43.249] sh5605| botocore.exceptions.ParamValidationError: Parameter validation failed:
       [2020/11/27 18:42:43.249] sh5605| Unknown parameter in input: "force", must be one of: cluster, service
       [2020/11/27 18:42:43.275] uncaught exception: Error: [1] != [0] are not equal : Prune Container failed :
       [2020/11/27 18:42:43.275] doassert@src/mongo/shell/assert.js:20:14
       [2020/11/27 18:42:43.275] assert.eq@src/mongo/shell/assert.js:179:9
       [2020/11/27 18:42:43.275] @aws_e2e_ecs.js:39:4
       [2020/11/27 18:42:43.275] @aws_e2e_ecs.js:6:2
       [2020/11/27 18:42:43.279] failed to load: aws_e2e_ecs.js
       [2020/11/27 18:42:43.279] exiting with code -3
      

      https://evergreen.mongodb.com/task/mongo_python_driver_aws_auth_test__platform~ubuntu_18.04_python_version~system_python3_aws_auth_test_latest_4119d35d040df5abefc67f05791f352bd1efe6e4_20_11_24_20_11_22

            Assignee:
            shane.harvey@mongodb.com Shane Harvey
            Reporter:
            shane.harvey@mongodb.com Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: