Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-5876

6.0 Fix failing AWS ECS Auth Tests

    • Type: Icon: Build Failure Build Failure
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: 6.0.0
    • Component/s: None

      AWS ECS Auth tests are failing on the 6.0 branch:

      https://spruce.mongodb.com/version/node_mongodb_native_6.0_f2dbad738cfe38f00b7c5c69038db5e7f4c19f0f/tasks?page=0&sorts=STATUS%3AASC%3BBASE_STATUS%3ADESC&variant=%5Eubuntu2004-test-mongodb-aws%24

      The issue is in the setup with the aws_tester.py setup script.

       

      [2024/01/31 20:52:54.522] Traceback (most recent call last):
      [2024/01/31 20:52:54.522] File "/data/mci/43c303b07ac6a66fce95c7df00c95e86/drivers-tools/.evergreen/auth_aws/lib/container_tester.py", line 385, in <module>
      [2024/01/31 20:52:54.522] main()
      [2024/01/31 20:52:54.522] File "/data/mci/43c303b07ac6a66fce95c7df00c95e86/drivers-tools/.evergreen/auth_aws/lib/container_tester.py", line 381, in main
      [2024/01/31 20:52:54.523] args.func(args)
      [2024/01/31 20:52:54.523] File "/data/mci/43c303b07ac6a66fce95c7df00c95e86/drivers-tools/.evergreen/auth_aws/lib/container_tester.py", line 291, in _run_e2e_test_args
      [2024/01/31 20:52:54.523] _run_e2e_test(args.script, args.files, args.cluster, args.task_definition, args.subnets, args.security_group)
      [2024/01/31 20:52:54.523] File "/data/mci/43c303b07ac6a66fce95c7df00c95e86/drivers-tools/.evergreen/auth_aws/lib/container_tester.py", line 312, in _run_e2e_test
      [2024/01/31 20:52:54.523] run_test(endpoint, script, files)
      [2024/01/31 20:52:54.523] File "/data/mci/43c303b07ac6a66fce95c7df00c95e86/drivers-tools/.evergreen/auth_aws/lib/container_tester.py", line 96, in run_test
      [2024/01/31 20:52:54.523] raise ValueError(f"test failed with
      {return_code}
      ")
      [2024/01/31 20:52:54.583] ValueError: test failed with 127
      [2024/01/31 20:52:54.583] Traceback (most recent call last):
      [2024/01/31 20:52:54.583] File "/data/mci/43c303b07ac6a66fce95c7df00c95e86/drivers-tools/.evergreen/auth_aws/aws_tester.py", line 202, in <module>
      [2024/01/31 20:52:54.583] main()
      [2024/01/31 20:52:54.583] File "/data/mci/43c303b07ac6a66fce95c7df00c95e86/drivers-tools/.evergreen/auth_aws/aws_tester.py", line 198, in main
      [2024/01/31 20:52:54.583] args.func()
      [2024/01/31 20:52:54.583] File "/data/mci/43c303b07ac6a66fce95c7df00c95e86/drivers-tools/.evergreen/auth_aws/aws_tester.py", line 125, in setup_ecs
      [2024/01/31 20:52:54.583] subprocess.check_call(['/bin/sh', '-c', run_test_command], env=env)
      [2024/01/31 20:52:54.583] File "/opt/python/3.11/lib/python3.11/subprocess.py", line 413, in check_call
      [2024/01/31 20:52:54.583] raise CalledProcessError(retcode, cmd)
      

       

            Assignee:
            Unassigned Unassigned
            Reporter:
            durran.jordan@mongodb.com Durran Jordan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: