Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-1971

MONGODB-AWS tests failing on v5.2.0-alpha-229-g02751b4

    • Not Needed

      MONGODB-AWS tests failing on v5.2.0-alpha-229-g02751b4:

       [2021/11/01 23:32:08.149] sh4122| + /root/mongo --verbose --nodb ecs_hosted_test.js
      .
       [2021/11/01 23:32:08.205] sh4122| MongoDB shell version v5.2.0-alpha-229-g02751b4
      .
       [2021/11/01 23:32:09.093] sh4122| uncaught exception: Error: 1 is not greater than 1 : MongoDB versions must have at least two components to compare, but "mongodb" has 1 :
       [2021/11/01 23:32:09.093] sh4122| doassert@src/mongo/shell/assert.js:20:14
       [2021/11/01 23:32:09.093] sh4122| _assertCompare@src/mongo/shell/assert.js:993:9
       [2021/11/01 23:32:09.093] sh4122| assert.gt@src/mongo/shell/assert.js:1003:9
       [2021/11/01 23:32:09.093] sh4122| convertVersionStringToArray@src/mongo/shell/servers.js:188:5
       [2021/11/01 23:32:09.093] sh4122| _convertVersionToIntegerArray@src/mongo/shell/servers.js:620:9
       [2021/11/01 23:32:09.093] sh4122| convertVersionStringToInteger@src/mongo/shell/servers.js:199:35
       [2021/11/01 23:32:09.093] sh4122| appendSetParameterArgs@src/mongo/shell/servers.js:1183:36
       [2021/11/01 23:32:09.093] sh4122| runMongoProgram@src/mongo/shell/servers.js:1600:12
       [2021/11/01 23:32:09.093] sh4122| @ecs_hosted_test.js:30:15
       [2021/11/01 23:32:09.093] sh4122| @ecs_hosted_test.js:5:2
       [2021/11/01 23:32:09.093] sh4122| failed to load: ecs_hosted_test.js
       [2021/11/01 23:32:09.093] sh4122| 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_8b2eb24c35689a6e6508cd694c2bd615d2fd20d8_21_11_01_21_26_47

      I suspect the problem is that we are using runMongoProgram to run a shell script:

      const program = "/root/src/.evergreen/run-mongodb-aws-ecs-test.sh";
      
      // Try the command line
      const smoke = runMongoProgram(program, uri);
      

      https://github.com/mongodb-labs/drivers-evergreen-tools/blob/3b650a3/.evergreen/auth_aws/lib/ecs_hosted_test.js#L27-L30

      We should probably use runProgram() or run() instead.

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

              Created:
              Updated:
              Resolved: