Details
-
Task
-
Resolution: Fixed
-
Unknown
-
None
-
Not Needed
Description
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
|
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);
|
We should probably use runProgram() or run() instead.
Attachments
Issue Links
- is caused by
-
SERVER-58947 servers.js passes logComponentVerbosity only to latest mongod binary
-
- Closed
-