[SERVER-7872] big_object1.js is failing Created: 07/Dec/12 Updated: 08/Mar/13 Resolved: 28/Jan/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | JavaScript, Testing Infrastructure |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Ben Becker | Assignee: | Mathias Stearn |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | buildbot | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Operating System: | ALL |
| Steps To Reproduce: | http://buildlogs.mongodb.org/Linux%2064-bit%20Legacy/builds/5257/test/js/big_object1.js |
| Participants: |
| Comments |
| Comment by Mathias Stearn [ 07/Jan/13 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||
|
The legacy-static build is being removed | |||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by auto [ 16/Dec/12 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||
|
Author: {u'date': u'2012-12-16T18:43:40Z', u'email': u'ben.becker@10gen.com', u'name': u'Ben Becker'}Message: | |||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Ian Whalen (Inactive) [ 14/Dec/12 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||
|
http://buildlogs.mongodb.org/Linux%2064-bit%20Legacy/builds/5348/test/js/big_object1.js
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by auto [ 10/Dec/12 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||
|
Author: {u'date': u'2012-12-10T18:24:27Z', u'email': u'ben.becker@10gen.com', u'name': u'Ben Becker'}Message: | |||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Ben Becker [ 07/Dec/12 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||
|
Further testing seems to indicate the issue is more likely with getLastError(). Reverting changes until this is sorted. | |||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by auto [ 07/Dec/12 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||
|
Author: {u'date': u'2012-12-07T21:10:15Z', u'email': u'ben.becker@10gen.com', u'name': u'Ben Becker'}Message: | |||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Ben Becker [ 07/Dec/12 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||
|
yep, my bad. GLE was supposed to be on the db, not the collection. | |||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Ian Whalen (Inactive) [ 07/Dec/12 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||
|
Also maybe worth checking this out: http://buildlogs.mongodb.org/Linux%2064-bit%20multiVersion/builds/829/test/multiVersion/multi_version_sharding_passthrough.js
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Ian Whalen (Inactive) [ 07/Dec/12 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||
|
possible issue with this commit at http://buildlogs.mongodb.org/Linux%2064-bit%20DUR%20OFF/builds/1895/test/recent%20failures/sharding_passthrough.js
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Ben Becker [ 07/Dec/12 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||
|
getLastError() issue was due to being called on the wrong db. https://github.com/mongodb/mongo/commit/ae915f73283a3f96f468fa384fe1e43fe54d7efe | |||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Ben Becker [ 07/Dec/12 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||
|
Also note that in ~500 runs, only 2 displayed db.stats() output with less than 6 documents. One with 3 (pasted in the previous comment), and one with 5. | |||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Ben Becker [ 07/Dec/12 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||
|
With extra debug output, it appears this test isn't actually blocking on getLastError():
Note that when db.stat() is run, only 3 documents exist. When the assertion check calls count(), only 5 docs existed. When I queried db.stat() after the test, all 6 documents existed. This is a bit tangential to the buildbot issue, but appears related. This test also exposes a memory leak where the mongo client process consumes ~700mb of resident space, and 18GB of virtual space in one minute. It appears our weak gc callback isn't called every time. Adding a Context scope appears to have resolved the missed GC callbacks, but introduced new issues. WIP. |