diff --git a/testdata/local/patches.json b/testdata/local/patches.json index d9baa26f40..641859b92c 100644 --- a/testdata/local/patches.json +++ b/testdata/local/patches.json @@ -1,10 +1,10 @@ -{"_id":{"$oid":"5ecedafb562343215a7ff297"},"desc":"dist","branch":"evergreen","githash":"33016573166a36bd5f46b4111151899d5c4e95b1","patch_number":1251,"author":"admin","version":"5ecedafb562343215a7ff297","status":"succeeded","parameters":[{"key":"this-is-a-parameter","value":"yes-it-is"},{"key":"my_team","value":"sdc_buggy"}],"create_time":{"$date":"2020-05-27T21:26:19.434Z"},"start_time":{"$date":"2020-05-27T21:42:25.742Z"},"finish_time":{"$date":"2020-05-27T21:54:43.323Z"},"build_variants":["ubuntu1604"],"tasks":["dist"],"variants_tasks":[{"variant":"ubuntu1604","tasks":["dist"],"displaytasks":null}],"sync_at_end_opts":{"timeout":3600000000000},"patches":[{"name":"","githash":"33016573166a36bd5f46b4111151899d5c4e95b1","patch_set":{"patch_file_id":"5ecedafb562343215a7ff296","summary":[{"filename":"public/static/js/spawned_hosts.js","additions":36,"deletions":13},{"filename":"service/spawn.go","additions":4,"deletions":0},{"filename":"service/templates/admin.html","additions":1,"deletions":1},{"filename":"service/templates/spawned_hosts.html","additions":1,"deletions":1}]},"message":"dist"}],"activated":true,"alias":""} -{"_id":{"$oid":"6ecedafb562343215a7ff297"},"desc":"dist","branch":"evergreen","githash":"33016573166a36bd5f46b4111151899d5c4e95b1","patch_number":1251,"author":"bob.hicks","version":"6ecedafb562343215a7ff297","status":"succeeded","create_time":{"$date":"2020-05-27T21:26:19.434Z"},"start_time":{"$date":"2020-05-27T21:42:25.742Z"},"finish_time":{"$date":"2020-05-27T21:54:43.323Z"},"build_variants":["ubuntu1604"],"tasks":["dist"],"variants_tasks":[{"variant":"ubuntu1604","tasks":["dist"],"displaytasks":null}],"sync_at_end_opts":{"timeout":3600000000000},"patches":[{"name":"","githash":"33016573166a36bd5f46b4111151899d5c4e95b1","patch_set":{"patch_file_id":"5ecedafb562343215a7ff296","summary":[{"filename":"public/static/js/spawned_hosts.js","additions":36,"deletions":13},{"filename":"service/spawn.go","additions":4,"deletions":0},{"filename":"service/templates/admin.html","additions":1,"deletions":1},{"filename":"service/templates/spawned_hosts.html","additions":1,"deletions":1}]},"message":"dist"}],"activated":true,"alias":""} +{"_id":{"$oid":"5ecedafb562343215a7ff297"},"desc":"dist","branch":"evergreen","githash":"33016573166a36bd5f46b4111151899d5c4e95b1","patch_number":1251,"author":"admin","version":"5ecedafb562343215a7ff297","status":"success","parameters":[{"key":"this-is-a-parameter","value":"yes-it-is"},{"key":"my_team","value":"sdc_buggy"}],"create_time":{"$date":"2020-05-27T21:26:19.434Z"},"start_time":{"$date":"2020-05-27T21:42:25.742Z"},"finish_time":{"$date":"2020-05-27T21:54:43.323Z"},"build_variants":["ubuntu1604"],"tasks":["dist"],"variants_tasks":[{"variant":"ubuntu1604","tasks":["dist"],"displaytasks":null}],"sync_at_end_opts":{"timeout":3600000000000},"patches":[{"name":"","githash":"33016573166a36bd5f46b4111151899d5c4e95b1","patch_set":{"patch_file_id":"5ecedafb562343215a7ff296","summary":[{"filename":"public/static/js/spawned_hosts.js","additions":36,"deletions":13},{"filename":"service/spawn.go","additions":4,"deletions":0},{"filename":"service/templates/admin.html","additions":1,"deletions":1},{"filename":"service/templates/spawned_hosts.html","additions":1,"deletions":1}]},"message":"dist"}],"activated":true,"alias":""} +{"_id":{"$oid":"6ecedafb562343215a7ff297"},"desc":"dist","branch":"evergreen","githash":"33016573166a36bd5f46b4111151899d5c4e95b1","patch_number":1251,"author":"bob.hicks","version":"6ecedafb562343215a7ff297","status":"success","create_time":{"$date":"2020-05-27T21:26:19.434Z"},"start_time":{"$date":"2020-05-27T21:42:25.742Z"},"finish_time":{"$date":"2020-05-27T21:54:43.323Z"},"build_variants":["ubuntu1604"],"tasks":["dist"],"variants_tasks":[{"variant":"ubuntu1604","tasks":["dist"],"displaytasks":null}],"sync_at_end_opts":{"timeout":3600000000000},"patches":[{"name":"","githash":"33016573166a36bd5f46b4111151899d5c4e95b1","patch_set":{"patch_file_id":"5ecedafb562343215a7ff296","summary":[{"filename":"public/static/js/spawned_hosts.js","additions":36,"deletions":13},{"filename":"service/spawn.go","additions":4,"deletions":0},{"filename":"service/templates/admin.html","additions":1,"deletions":1},{"filename":"service/templates/spawned_hosts.html","additions":1,"deletions":1}]},"message":"dist"}],"activated":true,"alias":""} {"_id":{"$oid":"5ee1efb3d1fe073e194e8b5c"},"desc":"Commit Queue Merge: 'Server-48053 Fix transient_txn_error_labels_with_write_concern.js for multiversion testing' into 'mongodb/mongo:main'","branch":"mongodb-mongo-master","githash":"0af9c85d7e2ba60f592f2d7a9a35217e254e59fb","patch_number":96,"author":"pierlauro.sciarelli","version":"5ee1efb3d1fe073e194e8b5c","status":"started","create_time":{"$date":"2020-06-11T08:47:48.6Z"},"start_time":{"$date":"2020-06-11T08:49:06.349Z"},"finish_time":{"$date":{"$numberLong":"-62135596800000"}},"build_variants":["enterprise-rhel-62-64-bit","commit-queue","commit-queue-merge"],"tasks":["lint_pylinters","dbtest","lint_yaml","merge-patch","lint_clang_format","lint_cpplint","lint_errorcodes","lint_fuzzer_sanity_patch","lint_eslint","commit_queue_placeholder","validate_commit_message","compile_core_tools"],"variants_tasks":[{"variant":"enterprise-rhel-62-64-bit","tasks":["lint_clang_format","lint_eslint","lint_cpplint","lint_errorcodes","lint_fuzzer_sanity_patch","lint_pylinters","dbtest","lint_yaml"],"displaytasks":null},{"variant":"commit-queue","tasks":["commit_queue_placeholder","validate_commit_message","compile_core_tools"],"displaytasks":null},{"variant":"commit-queue-merge","tasks":["merge-patch"],"displaytasks":null}],"patches":[{"name":"","githash":"0af9c85d7e2ba60f592f2d7a9a35217e254e59fb","patch_set":{"patch_file_id":"5ee1efb3d1fe073e194e8b5b","summary":[{"filename":"jstests/sharding/transient_txn_error_labels_with_write_concern.js","additions":26,"deletions":21,"description":"Server-48053 Fix transient_txn_error_labels_with_write_concern.js for"}]},"message":"Commit Queue Merge: 'Server-48053 Fix transient_txn_error_labels_with_write_concern.js for multiversion testing' into 'mongodb/mongo:main'"}],"activated":true,"alias":"__commit_queue"} {"_id":{"$oid":"5e4ff3abe3c3317e352062e4"},"triggers":{"child_patches":["5ecedafb562343215a7ff297"]},"desc":"'evergreen-ci/evergreen' pull request #3186 by bsamek: EVG-7425 Don't send ShouldExit to unprovisioned hosts (https://github.com/evergreen-ci/evergreen/pull/3186)","branch":"evergreen","alias":"__commit_queue","githash":"5e823e1f28baeaa22ae00823d83e03082cd148ab","patch_number":2567,"author":"admin","version":"5e4ff3abe3c3317e352062e4","status":"failed","create_time":{"$date":"2020-02-21T15:13:28Z"},"start_time":{"$date":"2020-02-21T15:14:26.122Z"},"finish_time":{"$date":"2020-02-21T15:29:54.869Z"},"project_storage_method":"db","build_variants":["ubuntu1604","lint"],"tasks":["test-model-host","test-model-artifact","test-model-distro","test-cloud","test-validator","test-plugin","test-command","test-db","test-operations","test-units","test-model","test-model-user","test-model-stats","js-test","test-model-commitqueue","test-monitor","test-migrations","test-scheduler","test-util","test-model-notification","test-model-patch","test-rest-route","test-repotracker","test-model-task","test-rest-data","test-model-manifest","test-model-testresult","test-model-grid","test-model-build","test-model-event","test-trigger","test-model-alertrecord","test-service","test-evergreen","test-rest-model","test-auth","generate-lint","test-rest-client","test-thirdparty-docker","test-agent","test-graphql","test-thirdparty"],"variants_tasks":[{"variant":"ubuntu1604","tasks":["test-validator","test-model-artifact","test-model-distro","test-migrations","test-units","test-operations","test-thirdparty","test-trigger","test-model","test-model-user","test-thirdparty-docker","test-cloud","test-rest-client","test-model-alertrecord","test-model-stats","test-plugin","test-service","test-evergreen","test-rest-model","test-agent","test-rest-data","test-util","test-model-notification","test-model-patch","test-auth","test-rest-route","test-model-manifest","test-repotracker","js-test","test-model-task","test-model-commitqueue","test-command","test-graphql","test-model-testresult","test-model-grid","test-monitor","test-model-host","test-model-build","test-model-event","test-db","test-scheduler"],"displaytasks":[]},{"variant":"lint","tasks":["generate-lint"],"displaytasks":[]}],"git_info":{"username":"bsamek","email":"brian@mongodb.com"},"patches":[{"name":"","githash":"5e823e1f28baeaa22ae00823d83e03082cd148ab","patch_set":{"patch_file_id":"5e4ff3ab850e6136624eaf95","summary":[{"filename":"service/api_task.go","additions":5,"deletions":4,"description":"ramen is amazing"}]},"message":"","is_mbox":true},{"name":"Spruce","githash":"5e823e1f28baeaa22ae0082383e03082cd148ab","patch_set":{"patch_file_id":"5e4ff3ab850e6136624eaf95","summary":[{"filename":"src/pages/Task.tsx","additions":3,"deletions":0,"description":"some other commit"},{"filename":"src/App.tsx","description":"crazy cool commit!!!","additions":0,"deletions":32},{"filename":"src/pages/Patch.tsx","additions":55,"deletions":22,"description":"mega commit"}]},"message":"","is_mbox":true}],"activated":true,"github_patch_data":{"pr_number":3186,"base_owner":"evergreen-ci","base_repo":"evergreen","base_branch":"main","head_owner":"bsamek","head_repo":"evergreen","head_hash":"a7ecb8d2cbaf02ada80e94b70d5d53efe45d9ed6","author":"bsamek","author_uid":624531,"merge_commit_sha":""},"parameters":[{"key":"my_param","value":"my_value"}]} {"_id":{"$oid":"5e6bb9e23066155a993e0f1a"},"desc":"test meee","branch":"evergreen","githash":"25ab18d7ed2775f27be77d8135ddd841c78cfe28","patch_number":452,"author":"admin","version":"","status":"created","create_time":{"$date":"2020-03-13T16:50:42.981Z"},"start_time":{"$date":{"$numberLong":"-62135596800000"}},"finish_time":{"$date":{"$numberLong":"-62135596800000"}},"project_storage_method":"db","build_variants":["ubuntu1604"],"tasks":["test-graphql"],"variants_tasks":[],"patches":[],"activated":false,"alias":""} {"_id":{"$oid":"5dd2e89cd1fe07048e43bb9c"},"desc":"'evergreen-ci/spruce' pull request #27 by tgrander: Refactor App + Use Context for global state (https://github.com/evergreen-ci/spruce/pull/27)","branch":"spruce","githash":"3b53f9b61226491cd31113c773d66e351957ed29","patch_number":20,"author":"trey.granderson","version":"5dd2e89cd1fe07048e43bb9c","status":"failed","create_time":{"$date":"2019-11-18T18:53:15Z"},"start_time":{"$date":"2019-11-18T18:54:15.734Z"},"finish_time":{"$date":"2019-11-18T18:57:15.053Z"},"project_storage_method":"db","build_variants":["ubuntu1804"],"tasks":["compile","test","lint","coverage"],"variants_tasks":[{"variant":"ubuntu1804","tasks":["lint","coverage","compile","test"],"displaytasks":[]}],"patches":[{"name":"","githash":"3b53f9b61226491cd31113c773d66e351957ed29","patch_set":{"patch_file_id":"5e4ff3ab850e6136624eaf95","summary":[{"filename":"package.json","additions":2,"deletions":0},{"filename":"src/components/Navbar.tsx","additions":70,"deletions":0},{"filename":"src/components/app/App.tsx","additions":78,"deletions":289},{"filename":"src/components/navbar/DevMenu.tsx","additions":62,"deletions":0},{"filename":"src/components/navbar/PluginsMenu.tsx","additions":42,"deletions":0},{"filename":"src/context/ContextProvider.tsx","additions":11,"deletions":0},{"filename":"src/context/apiClient.tsx","additions":70,"deletions":0},{"filename":"src/context/user.tsx","additions":33,"deletions":0},{"filename":"src/utils/isDevelopment.ts","additions":1,"deletions":0},{"filename":"tslint.json","additions":1,"deletions":0}]},"message":""}],"activated":true,"alias":"__github","github_patch_data":{"pr_number":27,"base_owner":"evergreen-ci","base_repo":"spruce","base_branch":"main","head_owner":"evergreen-ci","head_repo":"spruce","head_hash":"2b37dacf86f9d4d1545faaba37c7c5693202e645","author":"tgrander","author_uid":15262143,"merge_commit_sha":""}} -{"_id":{"$oid":"5e94c2dfe3c3312519b59480"},"desc":"SERVER-46893 Allow streamable isMaster to wait on removed/uninitialized nodes","branch":"mongodb-mongo-master","githash":"0170e0a872373b388a48694d24f22da63983e5d0","patch_number":1387.0,"author":"mohamed.khelif","alias":"__commit_queue","version":"5e9748c4e3c331422d0d1d7c","status":"succeeded","create_time":{"$date":"2020-04-15T17:47:49.351Z"},"start_time":{"$date":"2020-04-15T17:49:04.806Z"},"finish_time":{"$date":"2020-04-15T18:04:05.785Z"},"project_storage_method":"db","build_variants":["commit-queue-merge","enterprise-rhel-62-64-bit","commit-queue"],"tasks":["lint_clang_format","lint_eslint","lint_errorcodes","lint_fuzzer_sanity_patch","compile_core_tools","commit_queue_placeholder","merge-patch","lint_yaml","validate_commit_message","lint_cpplint","lint_pylinters","dbtest"],"patches":[{"name":"","githash":"0170e0a872373b388a48694d24f22da63983e5d0","patch_set":{"patch_file_id":"5e4ff3ab850e6136624eaf95","summary":[{"filename":"jstests/replsets/awaitable_ismain_errors_on_horizon_change.js","additions":1.0,"deletions":1.0,"description":"SERVER-46893 Allow streamable isMaster to wait on"},{"filename":"jstests/replsets/awaitable_ismain_on_nodes_with_invalid_configs.js","additions":172.0,"deletions":0.0,"description":"SERVER-46893 Allow streamable isMaster to wait on"},{"filename":"src/mongo/db/repl/replication_coordinator.h","additions":2.0,"deletions":2.0,"description":"SERVER-46893 Allow streamable isMaster to wait on"}]},"message":"SERVER-46893 Allow streamable isMaster to wait on removed/uninitialized nodes"}]} +{"_id":{"$oid":"5e94c2dfe3c3312519b59480"},"desc":"SERVER-46893 Allow streamable isMaster to wait on removed/uninitialized nodes","branch":"mongodb-mongo-master","githash":"0170e0a872373b388a48694d24f22da63983e5d0","patch_number":1387.0,"author":"mohamed.khelif","alias":"__commit_queue","version":"5e9748c4e3c331422d0d1d7c","status":"success","create_time":{"$date":"2020-04-15T17:47:49.351Z"},"start_time":{"$date":"2020-04-15T17:49:04.806Z"},"finish_time":{"$date":"2020-04-15T18:04:05.785Z"},"project_storage_method":"db","build_variants":["commit-queue-merge","enterprise-rhel-62-64-bit","commit-queue"],"tasks":["lint_clang_format","lint_eslint","lint_errorcodes","lint_fuzzer_sanity_patch","compile_core_tools","commit_queue_placeholder","merge-patch","lint_yaml","validate_commit_message","lint_cpplint","lint_pylinters","dbtest"],"patches":[{"name":"","githash":"0170e0a872373b388a48694d24f22da63983e5d0","patch_set":{"patch_file_id":"5e4ff3ab850e6136624eaf95","summary":[{"filename":"jstests/replsets/awaitable_ismain_errors_on_horizon_change.js","additions":1.0,"deletions":1.0,"description":"SERVER-46893 Allow streamable isMaster to wait on"},{"filename":"jstests/replsets/awaitable_ismain_on_nodes_with_invalid_configs.js","additions":172.0,"deletions":0.0,"description":"SERVER-46893 Allow streamable isMaster to wait on"},{"filename":"src/mongo/db/repl/replication_coordinator.h","additions":2.0,"deletions":2.0,"description":"SERVER-46893 Allow streamable isMaster to wait on"}]},"message":"SERVER-46893 Allow streamable isMaster to wait on removed/uninitialized nodes"}]} {"_id":{"$oid":"642de18d2a60edf48b34a8c7"},"desc":"EVG-19322: Update local-data","branch":"mongodb-mongo-master","githash":"b06e406ffc5ab54be2dd99672e5c2f7a9082580f","patch_number":4000.0,"author":"sophie.stadler","alias":"__commit_queue","version":"642de18d2a60edf48b34a8c7","status":"created","create_time":{"$date":"2023-04-06T17:47:49.351Z"},"start_time":{"$date":"2023-04-06T17:49:04.806Z"},"finish_time":{"$date":"2023-04-06T18:04:05.785Z"},"project_storage_method":"db","build_variants":["commit-queue-merge","enterprise-rhel-62-64-bit","commit-queue"],"tasks":["lint_clang_format","lint_eslint","lint_errorcodes","lint_fuzzer_sanity_patch","compile_core_tools","commit_queue_placeholder","merge-patch","lint_yaml","validate_commit_message","lint_cpplint","lint_pylinters","dbtest"],"patches":[{"name":"","githash":"0170e0a872373b388a48694d24f22da63983e5d0","patch_set":{"patch_file_id":"5e4ff3ab850e6136624eaf95","summary":[{"filename":"jstests/replsets/awaitable_ismain_errors_on_horizon_change.js","additions":1.0,"deletions":1.0,"description":"SERVER-46893 Allow streamable isMaster to wait on"},{"filename":"jstests/replsets/awaitable_ismain_on_nodes_with_invalid_configs.js","additions":172.0,"deletions":0.0,"description":"SERVER-46893 Allow streamable isMaster to wait on"},{"filename":"src/mongo/db/repl/replication_coordinator.h","additions":2.0,"deletions":2.0,"description":"SERVER-46893 Allow streamable isMaster to wait on"}]},"message":"SERVER-46893 Allow streamable isMaster to wait on removed/uninitialized nodes"}]} {"_id":{"$oid":"52420b363ff1222d23000002"},"activated":true,"author":"admin","branch":"mongodb-mongo-master","project_storage_method":"db","build_variants":["windows-64-2k8-debug"],"create_time":{"$date":"2013-09-24T21:59:18.276Z"},"desc":"","githash":"14837002ef926c56f9ac3683127325833885594f","patches":[{"name":"","githash":"14837002ef926c56f9ac3683127325833885594f","patch_set":{"patch":"diff --git a/SConstruct b/SConstruct\nindex 65987dd..b3cbfe5 100644\n--- a/SConstruct\n+++ b/SConstruct\n@@ -475,6 +475,8 @@ if \"sunos5\" == os.sys.platform:\n # http://four.pairlist.net/pipermail/scons-users/2013-June/001486.html\n env.Tool('gnulink')\n \n+if optBuild:\n+ env.Append( CPPDEFINES=[\"MONGO_OPTIMIZED_BUILD\"] )\n \n if has_option(\"propagate-shell-environment\"):\n env['ENV'] = dict(os.environ);\ndiff --git a/src/mongo/db/client.cpp b/src/mongo/db/client.cpp\nindex 3c82d7a..737508f 100644\n--- a/src/mongo/db/client.cpp\n+++ b/src/mongo/db/client.cpp\n@@ -81,7 +81,7 @@ namespace mongo {\n \n TSP_DEFINE(Client, currentClient)\n \n-#if defined(_DEBUG) && !XSAN_ENABLED\n+#if defined(_DEBUG) && !defined(MONGO_OPTIMIZED_BUILD) && !XSAN_ENABLED\n struct StackChecker;\n ThreadLocalValue checker;\n \n@@ -134,7 +134,7 @@ namespace mongo {\n call this when your thread starts.\n */\n Client& Client::initThread(const char *desc, AbstractMessagingPort *mp) {\n-#if defined(_DEBUG) && !XSAN_ENABLED\n+#if defined(_DEBUG) && !defined(MONGO_OPTIMIZED_BUILD) && !XSAN_ENABLED\n {\n if( sizeof(void*) == 8 ) {\n StackChecker sc;\n@@ -230,7 +230,7 @@ namespace mongo {\n }\n \n bool Client::shutdown() {\n-#if defined(_DEBUG) && !XSAN_ENABLED\n+#if defined(_DEBUG) && !defined(MONGO_OPTIMIZED_BUILD) && !XSAN_ENABLED\n {\n if( sizeof(void*) == 8 ) {\n StackChecker::check( desc() );\ndiff --git a/src/mongo/dbtests/stacktests.cpp b/src/mongo/dbtests/stacktests.cpp\nindex 5e325d4..0c922af 100644\n--- a/src/mongo/dbtests/stacktests.cpp\n+++ b/src/mongo/dbtests/stacktests.cpp\n@@ -104,7 +104,9 @@ namespace StackTests {\n \n void setupTests() {\n if ( inConstructorChainSupported() ) {\n+#if defined(_DEBUG) && !defined(MONGO_OPTIMIZED_BUILD)\n DEV add< InCons >(); \n+#endif\n }\n }\n \ndiff --git a/src/mongo/util/stack_introspect.cpp b/src/mongo/util/stack_introspect.cpp\nindex f79d42e..7d6c45e 100644\n--- a/src/mongo/util/stack_introspect.cpp\n+++ b/src/mongo/util/stack_introspect.cpp\n@@ -30,7 +30,7 @@\n \n #include \"mongo/util/stack_introspect.h\"\n \n-#if !defined(_WIN32)\n+#if !defined(_WIN32) && !defined(MONGO_OPTIMIZED_BUILD)\n \n #include \n #include \n@@ -205,4 +205,4 @@ namespace mongo {\n bool inConstructorChainSupported() { return false; }\n }\n \n-#endif // #if !defined(_WIN32)\n+#endif // #if !defined(_WIN32) && !defined(MONGO_OPTIMIZED_BUILD)\n","summary":[{"filename":"SConstruct","additions":2,"deletions":0},{"filename":"src/mongo/db/client.cpp","additions":3,"deletions":3},{"filename":"src/mongo/dbtests/stacktests.cpp","additions":2,"deletions":0},{"filename":"src/mongo/util/stack_introspect.cpp","additions":2,"deletions":2}]}}],"version":"5273b4b83ff1226c75000003_0","status":"started"} {"_id":{"$oid":"52460a9f3ff1226a3c000002"},"activated":true,"author":"admin","branch":"mongodb-mongo-master","project_storage_method":"db","build_variants":["windows-64","windows-32","solaris-64-bit"],"create_time":{"$date":"2013-09-27T22:45:51.723Z"},"desc":"windows-64,windows-32,solaris-64-bit","githash":"7f3eab9a44d4e3f9fffa8b14fca3b61a444306c4","patches":[{"name":"","githash":"7f3eab9a44d4e3f9fffa8b14fca3b61a444306c4","patch_set":{"patch":"diff --git a/src/mongo/util/net/sock.cpp b/src/mongo/util/net/sock.cpp\nindex a50e8bb..b359bed 100644\n--- a/src/mongo/util/net/sock.cpp\n+++ b/src/mongo/util/net/sock.cpp\n@@ -487,14 +487,20 @@ namespace mongo {\n public:\n ConnectBG(int sock, SockAddr remote) : _sock(sock), _remote(remote) { }\n \n- void run() { _res = ::connect(_sock, _remote.raw(), _remote.addressSize); }\n- string name() const { return \"ConnectBG\"; }\n+ void run() {\n+ _res = ::connect(_sock, _remote.raw(), _remote.addressSize);\n+ _errnoWithDescription = errnoWithDescription();\n+ }\n+\n+ std::string name() const { return \"ConnectBG\"; }\n+ std::string getErrnoWithDescription() const { return _errnoWithDescription; }\n int inError() const { return _res; }\n \n private:\n int _sock;\n int _res;\n SockAddr _remote;\n+ std::string _errnoWithDescription;\n };\n \n bool Socket::connect(SockAddr& remote) {\n@@ -514,6 +520,8 @@ namespace mongo {\n bg.go();\n if ( bg.wait(5000) ) {\n if ( bg.inError() ) {\n+ warning() << \"Failed to connect to \" << _remote.getAddr()\n+ << \", reason: \" << bg.getErrnoWithDescription() << endl;\n close();\n return false;\n }\n","summary":[{"filename":"src/mongo/util/net/sock.cpp","additions":10,"deletions":2}]}}],"version":"5273b4b83ff1226c75000003_0","status":"started"} @@ -27,5 +27,5 @@ {"_id":{"$oid":"52654a6e3ff1222a2f000002"},"activated":true,"author":"admin","branch":"mongodb-mongo-master","project_storage_method":"db","build_variants":["all"],"create_time":{"$date":"2013-10-21T15:38:22.746Z"},"desc":"all","githash":"428be313f4ac309d792de049fbab966c19f02bb9","patches":[{"name":"","githash":"428be313f4ac309d792de049fbab966c19f02bb9","patch_set":{"patch":"diff --git a/jstests/tool/csvexport_dates.js b/jstests/tool/csvexport_dates.js\ndeleted file mode 100644\nindex 6787d1c..0000000\n--- a/jstests/tool/csvexport_dates.js\n+++ /dev/null\n@@ -1,77 +0,0 @@\n-// Test that we can handle various edge cases of a date type in a csv export\n-\n-t = new ToolTest(\"csvexport_date_before_epoch\")\n-\n-c = t.startDB(\"foo\");\n-\n-function test(date) {\n-\n- if (date.valueOf() < 0 && _isWindows()) {\n- // some versions of windows (but not all) fail with dates before 1970\n- print(\"skipping test of \" + date.tojson() +\n- \" because system might not support dates before 1970\");\n- return;\n- }\n-\n- print(\"testing \" + date);\n-\n- c.drop();\n-\n- assert.eq(0, c.count(), \"initial collection not empty\");\n-\n- c.insert({ _id : 1, date : date });\n-\n- assert.eq(1, c.count(), \"failed to insert document into collection\");\n-\n- t.runTool(\"export\", \"--out\", t.extFile, \"-d\", t.baseName, \"-c\", \"foo\", \"--csv\", \"-f\",\n- \"_id,date\")\n-\n- c.drop()\n-\n- assert.eq(0, c.count(), \"failed to drop collection\")\n-\n- t.runTool(\"import\", \"--file\", t.extFile, \"-d\", t.baseName, \"-c\", \"foo\", \"--type\", \"csv\",\n- \"--headerline\");\n-\n- assert.soon(1 + \" == c.count()\", \"after import\");\n-\n- // Note: Exporting and Importing to/from CSV is not designed to be round-trippable\n- var expected = { \"date\" : date.toISOString() };\n-\n- var actual = c.findOne();\n-\n- delete actual._id\n- assert.eq(expected, actual, \"imported doc did not match expected\");\n-}\n-\n-// Basic test\n-test(ISODate('1960-01-02 03:04:05.006Z'));\n-\n-// Testing special rounding rules for seconds\n-test(ISODate('1960-01-02 03:04:04.999Z')); // second = 4\n-test(ISODate('1960-01-02 03:04:05.000Z')); // second = 5\n-test(ISODate('1960-01-02 03:04:05.001Z')); // second = 5\n-test(ISODate('1960-01-02 03:04:05.999Z')); // second = 5\n-\n-// Test date before 1900 (negative tm_year values from gmtime)\n-// Skip this test on systems where a time_t is not big enough to store the value\n-buildInfo = t.db.adminCommand(\"buildInfo\");\n-if (buildInfo.bits >= 64) {\n- test(ISODate('1860-01-02 03:04:05.006Z'));\n-}\n-\n-// Test with time_t == -1 and 0\n-test(new Date(-1000));\n-test(new Date(0));\n-\n-// Testing dates between 1970 and 2000\n-test(ISODate('1970-01-01 00:00:00.000Z'));\n-test(ISODate('1970-01-01 00:00:00.999Z'));\n-test(ISODate('1980-05-20 12:53:64.834Z'));\n-test(ISODate('1999-12-31 00:00:00.000Z'));\n-test(ISODate('1999-12-31 23:59:59.999Z'));\n-\n-// Test date > 2000 for completeness (using now)\n-test(new Date());\n-\n-t.stop();\ndiff --git a/src/mongo/db/pipeline/expression.cpp b/src/mongo/db/pipeline/expression.cpp\nindex cf9eaca..8fb62a3 100644\n--- a/src/mongo/db/pipeline/expression.cpp\n+++ b/src/mongo/db/pipeline/expression.cpp\n@@ -1437,7 +1437,9 @@ namespace {\n \n Value ExpressionMillisecond::evaluateInternal(const Variables& vars) const {\n Value date(vpOperand[0]->evaluateInternal(vars));\n- return Value(extractMillisPortion(date.coerceToDate()));\n+ const int ms = date.coerceToDate() % 1000LL;\n+ // adding 1000 since dates before 1970 would have negative ms\n+ return Value(ms >= 0 ? ms : 1000 + ms);\n }\n \n REGISTER_EXPRESSION(\"$millisecond\", ExpressionMillisecond::parse);\ndiff --git a/src/mongo/db/pipeline/value.cpp b/src/mongo/db/pipeline/value.cpp\nindex 26f01e8..9139f0c 100644\n--- a/src/mongo/db/pipeline/value.cpp\n+++ b/src/mongo/db/pipeline/value.cpp\n@@ -426,7 +426,22 @@ namespace mongo {\n }\n \n time_t Value::coerceToTimeT() const {\n- return millisToTimeT(coerceToDate());\n+ long long millis = coerceToDate();\n+ if (millis < 0) {\n+ // We want the division below to truncate toward -inf rather than 0\n+ // eg Dec 31, 1969 23:59:58.001 should be -2 seconds rather than -1\n+ // This is needed to get the correct values from coerceToTM\n+ if ( -1999 / 1000 != -2) { // this is implementation defined\n+ millis -= 1000-1;\n+ }\n+ }\n+ const long long seconds = millis / 1000;\n+\n+ uassert(16421, \"Can't handle date values outside of time_t range\",\n+ seconds >= std::numeric_limits::min() &&\n+ seconds <= std::numeric_limits::max());\n+\n+ return static_cast(seconds);\n }\n tm Value::coerceToTm() const {\n // See implementation in Date_t.\ndiff --git a/src/mongo/util/time_support.cpp b/src/mongo/util/time_support.cpp\nindex fc7b71e..7619050 100644\n--- a/src/mongo/util/time_support.cpp\n+++ b/src/mongo/util/time_support.cpp\n@@ -112,13 +112,12 @@ namespace mongo {\n const int bufSize = 32;\n char buf[bufSize];\n struct tm t;\n- time_t_to_Struct(millisToTimeT(static_cast(date.millis)), &t, local);\n+ time_t_to_Struct(date.toTimeT(), &t, local);\n int pos = strftime(buf, bufSize, MONGO_ISO_DATE_FMT_NO_TZ, &t);\n fassert(16981, 0 < pos);\n char* cur = buf + pos;\n int bufRemaining = bufSize - pos;\n- pos = snprintf(cur, bufRemaining, \".%03d\",\n- extractMillisPortion(static_cast(date.millis)));\n+ pos = snprintf(cur, bufRemaining, \".%03d\", static_cast(date.asInt64() % 1000));\n fassert(16982, bufRemaining > pos && pos > 0);\n cur += pos;\n bufRemaining -= pos;\n@@ -183,30 +182,6 @@ namespace mongo {\n return millis / 1000;\n }\n \n- time_t millisToTimeT(long long millis) {\n- if (millis < 0) {\n- // We want the division below to truncate toward -inf rather than 0\n- // eg Dec 31, 1969 23:59:58.001 should be -2 seconds rather than -1\n- // This is needed to get the correct values from coerceToTM\n- if ( -1999 / 1000 != -2) { // this is implementation defined\n- millis -= 1000-1;\n- }\n- }\n- const long long seconds = millis / 1000;\n-\n- uassert(16421, \"Can't handle date values outside of time_t range\",\n- seconds >= std::numeric_limits::min() &&\n- seconds <= std::numeric_limits::max());\n-\n- return static_cast(seconds);\n- }\n-\n- int extractMillisPortion(long long millisSinceEpoch) {\n- const int ms = millisSinceEpoch % 1000LL;\n- // adding 1000 since dates before 1970 would have negative ms\n- return ms >= 0 ? ms : 1000 + ms;\n- }\n-\n std::string dateToCtimeString(Date_t date) {\n time_t t = date.toTimeT();\n char buf[64];\ndiff --git a/src/mongo/util/time_support.h b/src/mongo/util/time_support.h\nindex 1043a65..46cee85 100644\n--- a/src/mongo/util/time_support.h\n+++ b/src/mongo/util/time_support.h\n@@ -78,18 +78,6 @@ namespace mongo {\n */\n std::string dateToCtimeString(Date_t date);\n \n- /**\n- * Converts millis to time_t, doing correct division for negative millis, and uasserting that\n- * the result falls within the valid range of a time_t.\n- */\n- time_t millisToTimeT(long long millis);\n-\n- /**\n- * Returns the millis since the last whole second of the given millis since epoch, and correctly\n- * handles dates before epoch.\n- */\n- int extractMillisPortion(long long millisSinceEpoch);\n-\n boost::gregorian::date currentDate();\n \n // parses time of day in \"hh:mm\" format assuming 'hh' is 00-23\ndiff --git a/src/mongo/util/time_support_test.cpp b/src/mongo/util/time_support_test.cpp\nindex 12a72d4..c459c12 100644\n--- a/src/mongo/util/time_support_test.cpp\n+++ b/src/mongo/util/time_support_test.cpp\n@@ -63,53 +63,6 @@ namespace {\n dateToISOStringUTC(Date_t(2781455351100ULL)));\n ASSERT_EQUALS(std::string(\"2013-02-20T18:29:11.100Z\"),\n dateToISOStringUTC(Date_t(1361384951100ULL)));\n-\n- // Basic test\n-#ifndef _WIN32 // Negative Dates don't currently work on Windows\n- ASSERT_EQUALS(std::string(\"1960-01-02T03:04:05.006Z\"),\n- dateToISOStringUTC(Date_t(-315521754994LL)));\n-#endif\n-\n- // Testing special rounding rules for seconds\n-#ifndef _WIN32 // Negative Dates don't currently work on Windows\n- ASSERT_EQUALS(std::string(\"1960-01-02T03:04:04.999Z\"),\n- dateToISOStringUTC(Date_t(-315521755001LL))); // second = 4\n- ASSERT_EQUALS(std::string(\"1960-01-02T03:04:05.000Z\"),\n- dateToISOStringUTC(Date_t(-315521755000LL))); // second = 5\n- ASSERT_EQUALS(std::string(\"1960-01-02T03:04:05.001Z\"),\n- dateToISOStringUTC(Date_t(-315521754999LL))); // second = 5\n- ASSERT_EQUALS(std::string(\"1960-01-02T03:04:05.999Z\"),\n- dateToISOStringUTC(Date_t(-315521754001LL))); // second = 5\n-#endif\n-\n- // Test date before 1900 (negative tm_year values from gmtime)\n-#ifndef _WIN32 // Negative Dates don't currently work on Windows\n- if (!isTimeTSmall)\n- ASSERT_EQUALS(std::string(\"1860-01-02T03:04:05.006Z\"),\n- dateToISOStringUTC(Date_t(-3471195354994LL)));\n-#endif\n-\n- // Test with time_t == -1\n-#ifndef _WIN32 // Negative Dates don't currently work on Windows\n- ASSERT_EQUALS(std::string(\"1969-12-31T23:59:59.000Z\"),\n- dateToISOStringUTC(Date_t(-1000LL)));\n-#endif\n-\n- // Testing dates between 1970 and 2000\n- ASSERT_EQUALS(std::string(\"1970-01-01T00:00:00.000Z\"),\n- dateToISOStringUTC(Date_t(0ULL)));\n- ASSERT_EQUALS(std::string(\"1970-01-01T00:00:00.999Z\"),\n- dateToISOStringUTC(Date_t(999ULL)));\n- ASSERT_EQUALS(std::string(\"1980-05-20T12:54:04.834Z\"),\n- dateToISOStringUTC(Date_t(327675244834ULL)));\n- ASSERT_EQUALS(std::string(\"1999-12-31T00:00:00.000Z\"),\n- dateToISOStringUTC(Date_t(946598400000ULL)));\n- ASSERT_EQUALS(std::string(\"1999-12-31T23:59:59.999Z\"),\n- dateToISOStringUTC(Date_t(946684799999ULL)));\n-\n- // Test date > 2000 for completeness (using now)\n- ASSERT_EQUALS(std::string(\"2013-10-11T23:20:12.072Z\"),\n- dateToISOStringUTC(Date_t(1381533612072ULL)));\n }\n \n TEST(TimeFormatting, DateAsISO8601Local) {\n","summary":[{"filename":"jstests/tool/csvexport_dates.js","additions":0,"deletions":77},{"filename":"src/mongo/db/pipeline/expression.cpp","additions":3,"deletions":1},{"filename":"src/mongo/db/pipeline/value.cpp","additions":16,"deletions":1},{"filename":"src/mongo/util/time_support.cpp","additions":2,"deletions":27},{"filename":"src/mongo/util/time_support.h","additions":0,"deletions":12},{"filename":"src/mongo/util/time_support_test.cpp","additions":0,"deletions":47}]}}],"tasks":[],"version":"5273b4b83ff1226c75000003_0","status":"started"} {"_id":{"$oid":"52691f903ff1223136000001"},"activated":true,"author":"admin","branch":"mongodb-mongo-master","project_storage_method":"db","build_variants":["cxx11-ubuntu1204-64","linux-64","osx-108-cxx11-debug","osx-108-debug","rhel-57-64-bit","solaris-64-bit","windows-32","windows-64-2k8"],"create_time":{"$date":"2013-10-24T13:24:32.386Z"},"desc":"SERVER-11333 test run 4","githash":"d431dc6ca4b15bed750463fccd334d3b681da73e","patches":[{"name":"","githash":"d431dc6ca4b15bed750463fccd334d3b681da73e","patch_set":{"patch":"diff --git a/SConstruct b/SConstruct\nindex 5f33a58..4d768dc 100644\n--- a/SConstruct\n+++ b/SConstruct\n@@ -201,6 +201,7 @@ add_option( \"static\" , \"fully static build\" , 0 , False )\n add_option( \"static-libstdc++\" , \"statically link libstdc++\" , 0 , False )\n add_option( \"lto\", \"enable link time optimizations (experimental, except with MSVC)\" , 0 , True )\n add_option( \"dynamic-windows\", \"dynamically link on Windows\", 0, True)\n+add_option( \"disable-declspec-thread\", \"don't use __declspec(thread) on Windows\", 0, True)\n \n # base compile flags\n add_option( \"64\" , \"whether to force 64 bit\" , 0 , True , \"force64\" )\n@@ -1321,6 +1322,51 @@ def doConfigure(myenv):\n if linux:\n AddToCCFLAGSIfSupported(myenv, \"-fno-builtin-memcmp\")\n \n+ # When using msvc, check for support for __declspec(thread), unless we have been asked\n+ # explicitly not to use it. For other compilers, see if __thread works.\n+ if using_msvc():\n+ haveDeclSpecThread = False\n+ if not has_option(\"disable-declspec-thread\"):\n+ def CheckDeclspecThread(context):\n+ test_body = \"\"\"\n+ __declspec( thread ) int tsp_int;\n+ int main(int argc, char* argv[]) {\n+ tsp_int = argc;\n+ return 0;\n+ }\n+ \"\"\"\n+ context.Message('Checking for __declspec(thread)... ')\n+ ret = context.TryLink(textwrap.dedent(test_body), \".cpp\")\n+ context.Result(ret)\n+ return ret\n+ conf = Configure(myenv, help=False, custom_tests = {\n+ 'CheckDeclspecThread' : CheckDeclspecThread,\n+ })\n+ haveDeclSpecThread = conf.CheckDeclspecThread()\n+ conf.Finish()\n+ if haveDeclSpecThread:\n+ myenv.Append(CPPDEFINES=['MONGO_HAVE___DECLSPEC_THREAD'])\n+ else:\n+ def CheckUUThread(context):\n+ test_body = \"\"\"\n+ __thread int tsp_int;\n+ int main(int argc, char* argv[]) {\n+ tsp_int = argc;\n+ return 0;\n+ }\n+ \"\"\"\n+ context.Message('Checking for __thread... ')\n+ ret = context.TryLink(textwrap.dedent(test_body), \".cpp\")\n+ context.Result(ret)\n+ return ret\n+ conf = Configure(myenv, help=False, custom_tests = {\n+ 'CheckUUThread' : CheckUUThread,\n+ })\n+ haveUUThread = conf.CheckUUThread()\n+ conf.Finish()\n+ if haveUUThread:\n+ myenv.Append(CPPDEFINES=['MONGO_HAVE___THREAD'])\n+\n conf = Configure(myenv)\n libdeps.setup_conftests(conf)\n \ndiff --git a/src/mongo/db/storage/record.cpp b/src/mongo/db/storage/record.cpp\nindex 9f2b354..46e3988 100644\n--- a/src/mongo/db/storage/record.cpp\n+++ b/src/mongo/db/storage/record.cpp\n@@ -395,12 +395,12 @@ namespace mongo {\n \n \n // These need to be outside the ps namespace due to the way they are defined\n-#if defined(__linux__) && defined(__GNUC__)\n+#if defined(MONGO_HAVE___THREAD)\n __thread ps::PointerTable::Data _pointerTableData;\n ps::PointerTable::Data* ps::PointerTable::getData() { \n return &_pointerTableData; \n }\n-#elif defined(_WIN32)\n+#elif defined(MONGO_HAVE___DECLSPEC_THREAD)\n __declspec( thread ) ps::PointerTable::Data _pointerTableData;\n ps::PointerTable::Data* ps::PointerTable::getData() { \n return &_pointerTableData; \ndiff --git a/src/mongo/util/concurrency/threadlocal.h b/src/mongo/util/concurrency/threadlocal.h\nindex 05109ad..a9b0b42 100644\n--- a/src/mongo/util/concurrency/threadlocal.h\n+++ b/src/mongo/util/concurrency/threadlocal.h\n@@ -86,7 +86,7 @@ namespace mongo {\n a combination here, with the assumption that reset's are infrequent, so that \n get's are fast.\n */\n-#if defined(_WIN32) || (defined(__GNUC__) && defined(__linux__))\n+#if defined(MONGO_HAVE___THREAD) || defined(MONGO_HAVE___DECLSPEC_THREAD)\n \n template< class T >\n struct TSP {\n@@ -102,7 +102,7 @@ namespace mongo {\n }\n };\n \n-# if defined(_WIN32)\n+# if defined(MONGO_HAVE___DECLSPEC_THREAD)\n \n # define TSP_DECLARE(T,p) extern TSP p;\n \n@@ -129,7 +129,7 @@ namespace mongo {\n TSP p;\n # endif\n \n-#elif defined(__APPLE__)\n+#elif defined(_POSIX_THREADS) && (_POSIX_THREADS >= 0)\n template< class T>\n struct TSP {\n pthread_key_t _key;\n","summary":[{"filename":"SConstruct","additions":46,"deletions":0},{"filename":"src/mongo/db/storage/record.cpp","additions":2,"deletions":2},{"filename":"src/mongo/util/concurrency/threadlocal.h","additions":3,"deletions":3}]}}],"tasks":["core","client","js","durability","sharding","aggregation"],"version":"5273b4b83ff1226c75000003_0","status":"started"} {"_id":{"$oid":"526983de3ff1224641000001"},"activated":true,"author":"admin","branch":"mongodb-mongo-master","project_storage_method":"db","build_variants":["cxx11-ubuntu1204-64","enterprise-linux-64-amazon-ami","enterprise-rhel-57-64-bit","enterprise-rhel-62-64-bit","enterprise-suse11-64","enterprise-ubuntu1204-64","enterprise-windows-64","linux-32","linux-32-debug","linux-64","linux-64-debug","linux-64-debug-duroff","linux-64-duroff","osx-108","osx-108-cxx11-debug","osx-108-debug","osx-108-dur-off","rhel-57-64-bit","solaris-64-bit","windows-32","windows-64","windows-64-2k8","windows-64-2k8-debug","windows-64-debug"],"create_time":{"$date":"2013-10-24T20:32:30.842Z"},"desc":"the right version of ssl_fips","githash":"bc05262b903baafd4a286008ab3323172d8c3275","patches":[{"name":"","githash":"bc05262b903baafd4a286008ab3323172d8c3275","patch_set":{"patch":"diff --git a/jstests/ssl/ssl_fips.js b/jstests/ssl/ssl_fips.js\nindex 76118a7..7b2da1a 100644\n--- a/jstests/ssl/ssl_fips.js\n+++ b/jstests/ssl/ssl_fips.js\n@@ -1,5 +1,4 @@\n // Test mongod start with FIPS mode enabled\n-if (0) { // SERVER-11005\n ports = allocatePorts(1);\n port1 = ports[0];\n var baseName = \"jstests_ssl_ssl_fips\";\n@@ -10,11 +9,21 @@ var md = startMongod(\"--port\", port1, \"--dbpath\",\n \"--sslPEMKeyFile\", \"jstests/libs/server.pem\",\n \"--sslFIPSMode\");\n \n-var mongo = runMongoProgram(\"mongo\", \"--port\", port1, \"--ssl\",\n- \"--sslPEMKeyFile\", \"jstests/libs/client.pem\",\n- \"--sslFIPSMode\",\n- \"--eval\", \";\");\n+// if mongod didn't start properly\n+if (md != 0) {\n+ print(\"mongod failed to start, checking for FIPS support\");\n+ assert(rawMongoProgramOutput().match(\n+ /this version of mongodb was not compiled with FIPS support/));\n+}\n+else {\n+ // try connecting shell\n+ var mongo = runMongoProgram(\"mongo\", \"--port\", port1, \"--ssl\",\n+ \"--sslPEMKeyFile\", \"jstests/libs/client.pem\",\n+ \"--sslFIPSMode\",\n+ \"--eval\", \";\");\n \n-// 0 is the exit code for success\n-assert(mongo==0);\n+ // 0 is the exit code for success\n+ assert(mongo==0);\n+ // kill mongod\n+ stopMongod(port1, 9);\n }\n","summary":[{"filename":"jstests/ssl/ssl_fips.js","additions":16,"deletions":7}]}}],"tasks":["ssl"],"version":"5273b4b83ff1226c75000003_0","status":"started"} -{"_id":{"$oid":"5f74d99ab2373627c047c5e5"},"triggers":{"child_patches":["5ecedafb562343215a7ff297","5e4ff3abe3c3317e352062e4","52420b363ff1222d23000002"]},"desc":"main: EVG-7823 add a commit queue message (#4048)","branch":"evergreen","githash":"a1d2c8f70bf5c543de8b9641ac1ec08def1ddb26","patch_number":234,"author":"admin","version":"5f74d99ab2373627c047c5e5","status":"succeeded","create_time":{"$date":"2020-09-30T19:16:42.44Z"},"start_time":{"$date":"2020-09-30T21:30:05.654Z"},"finish_time":{"$date":"2020-09-30T21:32:16.13Z"},"project_storage_method":"db","build_variants":["ubuntu1604"],"tasks":["test-command","test-util","test-db"],"variants_tasks":[{"variant":"ubuntu1604","tasks":["test-command","test-util","test-db"],"displaytasks":[{"name":"asdf"}]}],"sync_at_end_opts":{"timeout":3600000000000},"patches":[{"name":"","githash":"a1d2c8f70bf5c543de8b9641ac1ec08def1ddb26","patch_set":{"patch_file_id":"5e4ff3ab850e6136624eaf95","commit_messages":["main: EVG-7823 add a commit queue message (#4048)"],"summary":[{"filename":"self-tests.yml","additions":6,"deletions":0,"description":"main: EVG-7823 add a commit queue message (#4048)"}]},"is_mbox":true}],"parameters":[{"key":"my_param","value":"my_value"}],"activated":true,"alias":"","merge_patch":""} +{"_id":{"$oid":"5f74d99ab2373627c047c5e5"},"triggers":{"child_patches":["5ecedafb562343215a7ff297","5e4ff3abe3c3317e352062e4","52420b363ff1222d23000002"]},"desc":"main: EVG-7823 add a commit queue message (#4048)","branch":"evergreen","githash":"a1d2c8f70bf5c543de8b9641ac1ec08def1ddb26","patch_number":234,"author":"admin","version":"5f74d99ab2373627c047c5e5","status":"success","create_time":{"$date":"2020-09-30T19:16:42.44Z"},"start_time":{"$date":"2020-09-30T21:30:05.654Z"},"finish_time":{"$date":"2020-09-30T21:32:16.13Z"},"project_storage_method":"db","build_variants":["ubuntu1604"],"tasks":["test-command","test-util","test-db"],"variants_tasks":[{"variant":"ubuntu1604","tasks":["test-command","test-util","test-db"],"displaytasks":[{"name":"asdf"}]}],"sync_at_end_opts":{"timeout":3600000000000},"patches":[{"name":"","githash":"a1d2c8f70bf5c543de8b9641ac1ec08def1ddb26","patch_set":{"patch_file_id":"5e4ff3ab850e6136624eaf95","commit_messages":["main: EVG-7823 add a commit queue message (#4048)"],"summary":[{"filename":"self-tests.yml","additions":6,"deletions":0,"description":"main: EVG-7823 add a commit queue message (#4048)"}]},"is_mbox":true}],"parameters":[{"key":"my_param","value":"my_value"}],"activated":true,"alias":"","merge_patch":""} {"_id":{"$oid":"5e6bb9e23066155a993e0f1b"},"desc":"Patch with display tasks","branch":"evergreen","githash":"25ab18d7ed2775f27be77d8135ddd841c78cfe28","patch_number":452,"author":"admin","version":"","status":"created","create_time":{"$date":"2020-03-13T16:50:42.981Z"},"start_time":{"$date":{"$numberLong":"-62135596800000"}},"finish_time":{"$date":{"$numberLong":"-62135596800000"}},"project_storage_method":"db","build_variants":["ubuntu1604"],"tasks":["test-graphql"],"variants_tasks":[{"variant":"ubuntu1604","tasks":["test-graphql"],"displaytasks":[]}],"patches":[],"activated":false,"alias":""}