gecko-dev/testing/mozbase
Andrew Halberstadt c7ebd24d8e Bug 1048446 - [mozlog] Don't re-use existing loggers when calling mozlog.commandline.setup_logging a second time, r=jgraham
This is case that got hit with the new mochitest selftest harness. In this scenario, several MochitestDesktop instances
(which call commandline.setup_logging in their constructor) are instantiated in the same interpreter. Because mozlog
implicitly saves the logger state, this meant that setup_logging kept appending duplicate handlers to the existing ones.

I believe that the intent of 'setup_logging' is to get a brand new logger, so it should ensure logger state is reset
on subsequent calls.

MozReview-Commit-ID: Jqyhbj7nC6z

--HG--
extra : rebase_source : f267489bef99f3ac3d657357002a0001610a038f
2017-05-29 14:23:04 -04:00
..
docs Bug 1340584 - Remove devicemanagerSUT and references to sutagent; r=wlach 2017-03-21 12:20:01 -06:00
manifestparser Bug 1334488 - [manifestparser] Improve error message when using an invalid comment character at the start of a manifest, r=jmaher 2017-01-27 10:28:58 -05:00
mozcrash Bug 1317970 - Make mozbase tests use mozunit for consistent formatting, r=chmanchester 2016-11-17 16:36:18 -05:00
mozdebug Bug 1248365 - Make Valgrind Mochitests run greener on Taskcluster. r=n.nethercote. 2016-11-28 15:46:43 +01:00
mozdevice Bug 1367465 - Bump mozdevice version to 0.51 r=bc 2017-05-24 11:52:14 -04:00
mozfile Bug 1317970 - Make mozbase tests use mozunit for consistent formatting, r=chmanchester 2016-11-17 16:36:18 -05:00
mozhttpd Bug 1317970 - Make mozbase tests use mozunit for consistent formatting, r=chmanchester 2016-11-17 16:36:18 -05:00
mozinfo Bug 1366919 - Bump mozinfo version to 0.10 r=ahal 2017-05-23 13:04:29 -04:00
mozinstall Bug 1048446 - [mozinstall] Add ability to download and extract installer from a url, r=whimboo 2017-03-09 12:20:03 -05:00
mozleak Bug 1325148 - Use "error" level in mozleak when logging leak failures, r=jgraham 2016-12-21 14:02:04 -05:00
mozlog Bug 1048446 - [mozlog] Don't re-use existing loggers when calling mozlog.commandline.setup_logging a second time, r=jgraham 2017-05-29 14:23:04 -04:00
moznetwork Bug 1003417 - Use 'ip addr show' instead of 'ifconfig' for moznetwork tests, r=ted 2017-01-06 11:19:19 -05:00
mozprocess Bug 1340429 - Bump mozprocess to 0.24; r=jgraham 2017-02-17 05:53:06 +00:00
mozprofile Bug 1367076 - Set datareporting.policy.firstRunURL by default to replace data choices infobar with privacy policy in a background tab on first run. r=Gijs 2017-05-31 13:48:06 +02:00
mozrunner Bug 1333003 part 6 - Fix test scripts to run ASan on Windows. r=ted 2017-03-10 12:08:34 +08:00
mozscreenshot
mozsystemmonitor Bug 1335127 - Fall back to stub IO counters when psutil fails; r=gps 2017-02-01 17:26:51 -05:00
moztest Bug 1323770 - Moztest should forward correct test result. r=ahal 2016-12-21 11:19:36 +01:00
mozversion Bug 1340584 - Remove test_b2g_fallback_when_no_binary; r=wlach 2017-03-21 12:20:03 -06:00
moz.build Bug 1340584 - Remove devicemanagerSUT and references to sutagent; r=wlach 2017-03-21 12:20:01 -06:00
packages.txt Bug 1347483 - blessings package should not be downloaded during mach virtualenv setup; r=mshal 2017-03-22 14:26:18 -04:00
README.md
setup_development.py
versioninfo.py

Mozbase

Mozbase is a set of easy-to-use Python packages forming a supplemental standard library for Mozilla. It provides consistency and reduces redundancy in automation and other system-level software. All of Mozilla's test harnesses use mozbase to some degree, including Talos, mochitest, reftest, Autophone, and Eideticker.

Learn more about mozbase at the project page.

Read detailed docs online, or build them locally by running "make html" in the docs directory.

Consult open bugs and feel free to file new bugs.