Merge lp://staging/~joetalbott/qa-dashboard/drop_all_zero_errors into lp://staging/qa-dashboard
Proposed by
Joe Talbott
Status: | Merged |
---|---|
Approved by: | Chris Johnston |
Approved revision: | 192 |
Merged at revision: | 196 |
Proposed branch: | lp://staging/~joetalbott/qa-dashboard/drop_all_zero_errors |
Merge into: | lp://staging/qa-dashboard |
Diff against target: |
112 lines (+51/-4) 2 files modified
dashboard/utah_parser.py (+46/-3) dashboard/utah_utils.py (+5/-1) |
To merge this branch: | bzr merge lp://staging/~joetalbott/qa-dashboard/drop_all_zero_errors |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Chris Johnston | Approve | ||
Review via email: mp+140285@code.staging.launchpad.net |
Commit message
Don't error for default YAML logs with enough information to indicate client failure.
Description of the change
This branch adds a check method that will return true if 'errors', 'failures', and 'passes' are all present in the YAML log and are all zero. This makes ParserError include a flag that indicates the entry has enough to be treated as a failed run which prevents the error message indicating which fields are missing from being printed.
To post a comment you must log in.
The attempt to merge lp:~joetalbott/qa-dashboard/drop_all_zero_errors into lp:qa-dashboard failed. Below is the output from the failed tests.
Creating test database for alias 'default'... dashboard' , or 'no' to cancel:
Type 'yes' if you would like to try deleting the test database 'test_qa_
Got an error creating the test database: database "test_qa_dashboard" already exists
Traceback (most recent call last): from_command_ line(sys. argv) python2. 7/dist- packages/ django/ core/management /__init_ _.py", line 429, in execute_ from_command_ line execute( ) python2. 7/dist- packages/ django/ core/management /__init_ _.py", line 379, in execute fetch_command( subcommand) .run_from_ argv(self. argv) python2. 7/dist- packages/ django/ core/management /base.py" , line 191, in run_from_argv execute( *args, **options.__dict__) python2. 7/dist- packages/ django/ core/management /base.py" , line 220, in execute python2. 7/dist- packages/ south/managemen t/commands/ test.py" , line 8, in handle python2. 7/dist- packages/ django/ core/management /commands/ test.py" , line 37, in handle run_tests( test_labels) python2. 7/dist- packages/ django/ test/simple. py", line 359, in run_tests databases( ) python2. 7/dist- packages/ django/ test/simple. py", line 296, in setup_databases creation. create_ test_db( self.verbosity, autoclobber=not self.interactive) python2. 7/dist- packages/ django/ db/backends/ creation. py", line 351, in create_test_db _create_ test_db( verbosity, autoclobber) python2. 7/dist- packages/ django/ db/backends/ creation. py", line 431, in _create_test_db
File "manage.py", line 26, in <module>
execute_
File "/usr/lib/
utility.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
output = self.handle(*args, **options)
File "/usr/lib/
super(Command, self).handle(*args, **kwargs)
File "/usr/lib/
failures = test_runner.
File "/usr/lib/
old_config = self.setup_
File "/usr/lib/
test_db_name = connection.
File "/usr/lib/
self.
File "/usr/lib/
confirm = raw_input("Type 'yes' if you would like to try deleting the test database '%s', or 'no' to cancel: " % test_database_name)
EOFError: EOF when reading a line