[SERVER-20563] resmoke.py errors when logging differences in dbhash check Created: 22/Sep/15  Updated: 07/Oct/15  Resolved: 22/Sep/15

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 3.1.9

Type: Bug Priority: Blocker - P1
Reporter: Samantha Ritter (Inactive) Assignee: Charlie Swanson
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: QuInt A (10/12/15)
Participants:

 Description   

https://evergreen.mongodb.com/task/mongodb_mongo_master_linux_64_jsCore_small_oplog_rs_WT_578eba8c80615f525147d27e7f4317b000d37da7_15_09_21_22_34_05

Tests are failing, I am not sure how to interpret the logs.



 Comments   
Comment by Githook User [ 22/Sep/15 ]

Author:

{u'username': u'cswanson310', u'name': u'Charlie Swanson', u'email': u'charlie.swanson@mongodb.com'}

Message: SERVER-20563 Only append strings to string builders in resmoke.py
Branch: master
https://github.com/mongodb/mongo/commit/6d6347195a57c71769b34615a7641e23f2af33c8

Comment by Charlie Swanson [ 22/Sep/15 ]

There is a real bug here (something is not replicating correctly, and there are either mismatching documents on the primary/secondary, or there are documents missing from the primary/secondary. Trouble is that resmoke.py crashed trying to print the differences. Assigning to me for now, I'll fix the bug in resmoke.py

Comment by Daniel Pasette (Inactive) [ 22/Sep/15 ]

samantha.ritter@10gen.com, you can see this was caused by martin's commit by looking at the test history:

https://evergreen.mongodb.com/task_history/mongodb-mongo-master/jsCore_small_oplog_rs_WT?revision=578eba8c80615f525147d27e7f4317b000d37da7#/bench_test_insert.js=fail

Comment by Max Hirschhorn [ 22/Sep/15 ]

Looking through the full logs resmoke.py reported an error with the string formatting.

 [2015/09/21 20:56:45.541] Traceback (most recent call last):
 [2015/09/21 20:56:45.542]   File "/data/mci/src/buildscripts/resmokelib/testing/job.py", line 39, in __call__
 [2015/09/21 20:56:45.542]     self._run(queue, interrupt_flag)
 [2015/09/21 20:56:45.542]   File "/data/mci/src/buildscripts/resmokelib/testing/job.py", line 70, in _run
 [2015/09/21 20:56:45.542]     self._execute_test(test)
 [2015/09/21 20:56:45.542]   File "/data/mci/src/buildscripts/resmokelib/testing/job.py", line 98, in _execute_test
 [2015/09/21 20:56:45.542]     self._run_hooks_after_tests(test)
 [2015/09/21 20:56:45.542]   File "/data/mci/src/buildscripts/resmokelib/testing/job.py", line 144, in _run_hooks_after_tests
 [2015/09/21 20:56:45.542]     hook.after_test(self.report)
 [2015/09/21 20:56:45.542]   File "/data/mci/src/buildscripts/resmokelib/testing/hooks.py", line 193, in after_test
 [2015/09/21 20:56:45.542]     self.test_case.logger.info("\n    ".join(sb))

charlie.swanson PTAL

Generated at Thu Feb 08 03:54:36 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.