Spencer T Brody
440ea57039
SERVER-4237 Skip tests that use benchRun when running with auth
2012-08-01 15:27:52 -04:00
Tad Marshall
1abe1c5943
For Windows, add delay after killing BuildLogger job object
...
The new way of killing mongod.exe for smokeJs apparently doesn't
wait for all child processes to exit, so cleanbb.py would fail to
delete files: "WindowsError: [Error 32] The process cannot access
the file because it is being used by another process:". Sleep for
5 seconds after terminating the job object to let the processes die.
2012-07-16 14:31:38 -04:00
Eliot Horowitz
5665ee8b85
windows unit test - this works on some machines at least it seems
2012-07-14 07:54:49 -04:00
Eliot Horowitz
e84a8331d9
try to fix running unit tests on windows
2012-07-14 01:59:25 -04:00
Greg Studer
479b5b9d96
add multiVersion test suite to smoke.py
2012-07-13 13:18:22 -04:00
Dan Crosta
fa1b2db53a
smoke.py: dont add extra command line args to explicit commands
2012-07-13 12:38:49 -04:00
Eric Milkie
e185fe25c2
Fix Windows process termination with new JobObjects
2012-07-12 16:02:38 -04:00
Dan Crosta
2f5f6a8de1
skip building the moduletests.txt file if no modules
2012-07-11 09:25:09 -04:00
Dan Crosta
3f2b168bcd
smoke.py: don't fail if no tests specified
2012-07-11 09:23:25 -04:00
Spencer T Brody
781f22c175
Don't run tests with auth that we know will fail. SERVER-4254 SERVER-6327 SERVER-6368 SERVER-4237
2012-07-10 19:43:20 -03:00
Dan Crosta
455986e93d
smoke.py: run cleanbb before each test phase
2012-07-10 11:40:48 -04:00
Dan Crosta
a6989ade62
allow db modules to declare scripts that are run as a test suite
2012-07-10 11:13:00 -04:00
Dan Crosta
0cd941df19
use env.Glob in buildscripts/moduleconfig
2012-07-10 11:13:00 -04:00
Dan Crosta
fd8e1c9fa7
smoke.py: use JobObjects to control child mongods on windows
2012-07-10 11:07:48 -04:00
Dan Crosta
c4623a61c0
set_globals() now takes a second arg, list of test filenames/suites
2012-07-06 16:45:24 -04:00
Dan Crosta
6d0f042442
db/modules may not exist, so don't fail if it doesn't
2012-07-06 16:32:11 -04:00
Dan Crosta
09c5aff0fe
discover and configure modules in db/modules/
2012-07-06 16:08:39 -04:00
Spencer T Brody
da0e72a100
SERVER-4237 Don't run client suite with authentication
2012-07-06 13:41:32 -04:00
Dan Crosta
09f05b4e72
SERVER-4237: use a default for --keyFile if only --auth was given to smoke.py
2012-07-05 13:41:12 -04:00
Dan Crosta
20947d68f1
buildlogger: suppress deprecation warnings on certain python versions
2012-07-05 12:12:20 -04:00
Spencer T Brody
e104c3d1fa
SERVER-4237 When running tests with auth, skip tests that run with auth normally
2012-07-03 18:00:07 -04:00
Kristina
8c5c4ce733
Fix recently failing test build
...
Previous test failures didn't put small_oplog_rs in
failfile.smoke so it wasn't loaded as an attr in the
options obj.
2012-06-12 17:29:06 -04:00
Kristina
43a21549e7
Added --small-oplog-rs option
2012-06-12 15:45:55 -04:00
Dan Crosta
b61345ee90
SERVER-5998: add smokeCppUnittests target to SCons & smoke.py
2012-06-05 12:58:08 -04:00
Eliot Horowitz
087253be57
output management for emr
2012-05-25 15:05:07 -04:00
Eliot Horowitz
0a8e145fab
don't kill java
2012-05-25 15:05:07 -04:00
Eliot Horowitz
7479fc37f2
fix buildbot phase xfer
2012-05-25 15:05:07 -04:00
Andy Schwerin
229931979f
Treat now-deleted tests as passed when using smoke.py to test prior failures.
...
Since the authoritative list of tests is just the list of files present in the
various test directories, deleting a file means that a test is no longer relevant.
If it used to be in the "failed" state, smoking old failures should treat the file's
absence as a sign that it doesn't matter any more, not as a repeat of the failure.
2012-05-24 13:34:37 -04:00
Dan Crosta
71f9205daf
BUILDBOT-132 add smoke.py command line args for invoking buildlogger
...
new/added usage:
smoke.py --buildlogger-builder <builder name> \
--buildlogger-buildnum <build number> \
--buildlogger-credentials /path/to/pyfile.py
The credentials file must define "username" and "password" strings which
contain a valid set of authentication credentials for buildlogger.
2012-05-24 09:55:14 -04:00
U-tellus\cwestin
54f86fa31d
SERVER-4504 minor changes from code review
2012-05-21 12:40:39 -07:00
U-tellus\cwestin
c13ff660e6
SERVER-4504 aggregation explain implementation
2012-05-21 12:40:38 -07:00
Dan Crosta
9997c57168
buildlogger: attach signal handler for run_and_echo
2012-05-18 19:02:02 -04:00
Dan Crosta
351e573618
fall back to os.kill() if Popen.send_signal() does not exist (older Pythons)
2012-05-18 09:33:08 -04:00
Dan Crosta
f645120867
send any final buffered output to buildlogger
2012-05-18 09:33:08 -04:00
Dan Crosta
bb5002579d
buildlogger: Don't fail on older Pythons for 201 HTTP status
2012-05-16 17:51:44 -04:00
Dan Crosta
f93d92bbcf
BUILDBOT-119: implement retry/backoff logic for buildlogger
2012-05-16 16:10:25 -04:00
Dan Crosta
233a46cdcb
BUILDBOT-118: use a default socket timeout in buildlogger
...
Python 2.4/2.5 don't accept a "timeout" keyword argument to urlopen
2012-05-16 16:10:13 -04:00
Eliot Horowitz
46294ab848
use a file lock on emr to avoid conflicts
2012-05-14 16:36:29 -04:00
Eliot Horowitz
88bd3acc4f
put hadoop jar in tree
2012-05-11 14:05:29 -04:00
Eliot Horowitz
cca4fc03d8
initial commit of emr based build suite
2012-05-11 13:56:52 -04:00
Eliot Horowitz
68874e89a8
some suite config refactoring for emr
2012-05-11 13:56:52 -04:00
Eliot Horowitz
d155dd1687
don't kill emr python script
2012-05-11 13:56:52 -04:00
Eliot Horowitz
9b42753b04
some md5 helpers
2012-05-11 01:26:33 -04:00
Mike Fiedler
e89e5504a4
Updating packager.py to use the correct GPG signing key instead of the last person to update the Changelog
2012-05-09 17:12:26 -04:00
Eric Milkie
b9f721a6f4
enumerate(x,1) not supported on older Pythons
2012-05-02 20:10:20 -04:00
Eric Milkie
15386cca10
start the tests_run counting at 1 instead of 0, since we restart mod 20
2012-05-02 13:42:50 -04:00
Eric Milkie
edef030513
better way to count number of tests run
2012-05-02 09:36:17 -04:00
Eric Milkie
7c50f4320f
SERVER-5244 restart mongod periodically during tests
...
The 32-bit Windows builder runs out of virtual address space
before it reaches the end of the js test suite. This change will
help it to complete successfully. Note that smalloplog suite,
which tests how well replication works after all the js tests have run,
is unaffected by this. The buildbot config will be changed such that
32-bit machines no longer run the small oplog suite.
2012-04-30 14:43:50 -04:00
Richard Kreuter
3a0087aef0
Complicate packager.py for when somebody leaves binaries out of tarballs.
2012-04-25 17:28:01 -04:00
Andy Schwerin
ef446f655b
Have errorcodes.py track fassert and fassertFailed.
...
Fix up duped error codes.
2012-04-23 16:11:12 -04:00