Commit Graph

1247 Commits

Author SHA1 Message Date
Spencer Jackson
47da0b53f9 SERVER-26952: Cache SCRAM-SHA-1 ClientKey 2017-02-02 17:48:07 -05:00
Max Hirschhorn
dd6acd3551 SERVER-23959 Conditionally create a Windows job object in smoke.py.
Changes smoke.py to (like resmoke.py) only create a job object if the
Python process isn't already inside of one. This allows the Evergreen
agent to create a job object for managing processes spawned by a task to
ensure they are cleaned up reliably.
2017-02-02 10:49:12 -05:00
Max Hirschhorn
e02c3c769b SERVER-27285 Fix exception handling in PeriodicKillSecondaries.
The exception needs a name in order to access its 'args' attribute.
2017-02-01 17:12:17 -05:00
Max Hirschhorn
07f5d15330 SERVER-27285 Run jsCore tests while periodically killing secondaries.
Adds a new core_small_oplog_rs_kill_secondaries.yml suite that after
running tests for a certain period of time (defaults to 30 seconds),
resmoke.py will send a SIGKILL to all of the replica set's secondaries.
Each node is then restarted individually with the primary disabled to
verify it reaches the SECONDARY state within 5 minutes of starting up.
2017-01-30 20:33:17 -05:00
Jonathan Abrahams
75b69d02d0 SERVER-27843 Reduce oplog size for read_concern_linearizable_passthrough 2017-01-27 14:13:28 -05:00
Evan Broder
94b37aac06 SERVER-4786 Allow specifying sample rate of slow queries
Adds a sampleRate parameter to the profile command, a value
on the interval [0, 1] which indicates which fraction of
operations should be randomly sampled for profiling and
logging. This allows users to reduce their slowms threshold
or increase their profiling level with less performance
impact on the system.

Closes #1099

Signed-off-by: David Storch <david.storch@10gen.com>
2017-01-26 18:35:29 -05:00
Robert Guo
a1363d00d0 SERVER-27408 Allow resmoke to take more than one tag-related arguments.
Each tag argument can also be specified more than once and in both the
YAML suite definition and on the command line.

Tag argments will be agnostic to ordering, with each argument narrowing
down test files to be run. No tag is allowed to override another tag.
2017-01-26 15:49:59 -05:00
Sam Kleinman
ef208c94e5 Revert "SERVER-27645: sync scons cache between compiles"
This reverts commit ab67716a0c.
2017-01-25 10:22:22 -05:00
Jack Mulrow
97718a410d SERVER-27125 Arbiters in PV1 vote no if they can see a healthy primary of equal or greater priority to the candidate 2017-01-24 17:35:49 -05:00
Judah Schvimer
9710251a20 SERVER-27551 added retries to replSetInitiate call in python test fixture 2017-01-24 17:27:52 -05:00
Brian Samek
7284381b79 SERVER-27784 Remove httpget() from packager.py 2017-01-24 10:43:11 -05:00
Esha Maharishi
ac5d193edf SERVER-27625 remove dead ANSA and setShardVersion code 2017-01-23 15:19:28 -05:00
Sam Kleinman
ab67716a0c SERVER-27645: sync scons cache between compiles 2017-01-23 10:39:32 -05:00
Randolph Tan
c35c342e4f SERVER-26791 remove deleted test from blacklist 2017-01-19 17:45:12 -05:00
Randolph Tan
0e9947736f Revert "Revert "SERVER-26791 Shard metadata commands should perform partial refresh as much as possible""
This reverts commit d3e67186d1.
2017-01-19 17:43:04 -05:00
Siyuan Zhou
d3e67186d1 Revert "SERVER-26791 Shard metadata commands should perform partial refresh as much as possible"
This reverts commit 6add2c82ba.
2017-01-19 17:20:12 -05:00
Randolph Tan
6add2c82ba SERVER-26791 Shard metadata commands should perform partial refresh as much as possible 2017-01-19 15:47:46 -05:00
Brian Samek
cced83ea5e SERVER-27754 Use requests instead of httplib2 in packager.py 2017-01-19 10:04:08 -05:00
Bernard Gorman
e8893fc311 SERVER-27438 Prevent mongos from dropping legacy $comment meta-operator
Closes #1135

Signed-off-by: James Wahlin <james.wahlin@10gen.com>
2017-01-18 12:08:17 -05:00
Jonathan Abrahams
afd3c348e1 SERVER-27684 Remove hang_analyzer timeout 2017-01-17 19:05:04 -05:00
Jonathan Abrahams
517123b513 SERVER-27498 Add test suite file read_concern_linearizable_passthrough.yml 2017-01-13 09:54:42 -05:00
Jonathan Abrahams
91c98db0e5 SERVER-24695 burn_in_tests.py should have a mechanism for blacklisting tests and suites similar to resmoke.py 2017-01-13 09:39:00 -05:00
Jonathan Abrahams
5a8bd5a150 SERVER-27498 Add Linearizable readConcern passthrough test suite 2017-01-13 09:35:45 -05:00
Daniel Gottlieb
7733be17af SERVER-11095: Have getAllSourceFiles follow symlinks inside the modules directory 2017-01-12 16:57:46 -05:00
Esha Maharishi
d13efaa5a6 SERVER-26785 rewrite addshard2.js to be able to unblacklist it from the last_stable suite 2017-01-11 11:48:17 -05:00
Robert Guo
8478c3b4f7 SERVER-22348 propagate binary paths from resmoke to MongoRunner 2017-01-10 11:13:47 -05:00
Robert Guo
d4a7012d56 SERVER-26485 ensure JS hooks always have a logger 2017-01-10 11:13:47 -05:00
Judah Schvimer
e5b42cc86c SERVER-27582 initialize lastVote properly 2017-01-10 10:57:28 -05:00
Judah Schvimer
585a8a9cb8 SERVER-26522 Made CleanEveryN into a TestCase 2017-01-10 09:53:58 -05:00
Andy Schwerin
cdc7af4c6d SERVER-27490 Stop consulting storage engine isDurable flag in ReplicationCoordinatorImpl
... and simplify ReplCoordTestFixture

ReplicationCoordinatorImpl consults the storage engine's isDurable flag for two purposes:

1. To choose whether to present the durable or applied optime when standing for
election in pv1

2. To decide how to interpret w:majority without an explicit j field when
waiting for write concern.

In the first case, it is unnecessary to choose which optime to apply based on
the isDurable flag. It is always safe and correct to present the applied optime,
because if the node presenting it wins election, it will attempt to commit that
applied optime. That means that voters may safely vote for that node.

In the second case, using the value of the local node's storage engine's
isDurable flag to adjust the meaning of w:majority is out of spec. Whether
w:majority writes wait for journaling is a function only of the
writeConcernMajorityJournalDefault flag when a write concern omits the "j"
field.

This patch removes the unnecessary consultation of the isDurable flag, and
uses the opportunity to simplify the constructor of
ReplicationCoordinatorImpl and its test fixture.
2017-01-07 15:08:22 -05:00
Dianna Hohensee
c7023b7941 SERVER-26828 unblacklist 3.2 incompatibilities in sharding_last_stable_mongos_and_mixed_shards suite 2017-01-04 19:13:37 -05:00
Judah Schvimer
653899b2e9 SERVER-27488 Unblacklist bypass_doc_validation.js in static resync passthrough 2017-01-04 16:16:35 -05:00
Eddie Louie
775acfcc75 SERVER-21205 Remove convert_to_capped_nonexistant.js from
read_concern_majority_passthrough blacklist
2017-01-04 11:00:44 -05:00
Mark Benvenuto
9ba33ad1fb SERVER-16363 Remove all volatile storage types from server source code 2016-12-29 14:55:51 -05:00
James Wahlin
72112a72ec SERVER-27523 blacklist geo_s2cursorlimitskip.js from background initial sync passthru 2016-12-27 13:51:11 -05:00
Max Hirschhorn
396b5eced4 SERVER-20983 Add requirements.txt for resmoke.py. 2016-12-27 13:26:16 -05:00
Dianna Hohensee
1852a78938 SERVER-27349 remove multiversion_override_balancer_control.js, which was only needed for v3.2 compatibility 2016-12-21 10:16:14 -05:00
David Storch
530418b23c SERVER-27446 blacklist operation_latency_histogram.js from background initial sync passthroughs 2016-12-16 15:09:27 -05:00
Max Hirschhorn
eac2ee2812 SERVER-27126 Remove references to "master" in burn_in_tests.py script. 2016-12-16 09:56:56 -05:00
Brian Samek
7f74694a21 SERVER-27441 Reduce spurious failures in Linux package smoke testing
- Ensure that mongod is ready to accept writes before testing
- Re-run converge step because instance may not yet be ready
2016-12-16 09:20:07 -05:00
Eric Milkie
cb40ec2d0a SERVER-26698 fix lint 2016-12-16 09:14:17 -05:00
Kyle Suarez
39bcdc6e6e SERVER-26765 move tests in jstests/views to other suites
This eliminates the views and views_rs suites; views testing will be done in
other suites to allow them to be picked up in passthrough suites.
2016-12-15 16:39:51 -05:00
Kyle Suarez
703678d473 SERVER-25286 rewrite drop2.js to not depend on count scan yield behavior 2016-12-15 16:17:42 -05:00
Eric Milkie
945877550d SERVER-27267 clean up after too_many_fds, and run disk suite serially 2016-12-15 09:04:10 -05:00
Mark Benvenuto
0590b0da70 SERVER-27351 clang_format.py needs to ignore deleted files 2016-12-14 13:33:07 -05:00
Robert Guo
b2bca3948f SERVER-27107 remove or modify tests unrelated to the 3.4->3.6 upgrade path 2016-12-14 11:26:18 -05:00
Robert Guo
b74f90afc1 SERVER-26806 randomly restart initial sync 2016-12-13 18:02:41 -05:00
David Storch
7cf929f256 SERVER-24128 reject embedded null bytes in namespace string parsing 2016-12-09 17:59:52 -05:00
Mark Benvenuto
586ac20773 SERVER-26634 GDB Pretty-Printers and Commands 2016-12-09 17:57:44 -05:00
Kyle Suarez
af3b0c646c SERVER-26765 move views tests into jsCore
Views tests have been moved to jstests/core/views. YAML configurations for
jsCore passthrough suites have been updated to pick up tests in subdirectories
of jstests/core.

Tasks and variants that previously used the --excludeWithAnyTags resmoke flag
now specify task_excluded_tags and variant_excluded_tags, respectively.
2016-12-09 15:35:55 -05:00