[SERVER-10421] geo_circle2a.js failed during parallel tests on V2.4 Linux 64-bit Created: 03/Aug/13  Updated: 11/Jul/16  Resolved: 08/Aug/13

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 2.4.7, 2.5.2

Type: Bug Priority: Minor - P4
Reporter: Matt Kangas Assignee: Greg Studer
Resolution: Done Votes: 0
Labels: buildbot
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

buildbot V2.4 Linux 64-bit


Operating System: ALL
Participants:

 Description   

I have never seen this failure before. Odd, especially that it happened on the V2.4 branch.

I'm going to file this against 2.5.w until we see this recur.

V2.4 Linux 64-bit Build #162 Aug 2

http://buildbot.mongodb.org/builders/V2.4%20Linux%2064-bit/builds/162/steps/test_12/logs/stdio
http://buildlogs.mongodb.org/V2.4%20Linux%2064-bit/builds/162/test/parallel/basic.js

         S3 Test : jstests/collmod.js 4791ms
         S3 Test : jstests/all3.js ...
         S3 Test : jstests/all3.js 1ms
         S3 Test : jstests/geo_circle2a.js ...
         S0 Test : jstests/sort_numeric.js 190ms
         S0 Test : jstests/eval2.js ...
         S0 Test : jstests/eval2.js 41ms
         S0 Test : jstests/ref.js ...
assert failed : A
Error: Printing Stack Trace
    at printStackTrace (src/mongo/shell/utils.js:37:15)
    at doassert (src/mongo/shell/assert.js:6:5)
    at assert (src/mongo/shell/assert.js:14:5)
    at jstests/geo_circle2a.js:10:1
    at <anonymous>:7:61
    at Function.Date.timeFunc (src/mongo/shell/types.js:27:17)
    at <anonymous>:7:38
    at Array.forEach (native)
    at Number.__parallelTests__fun (<anonymous>:4:14)
    at ____MongoToV8_newFunction_temp (<anonymous>:180:65)
Fri Aug  2 19:52:40.912 assert failed : A at src/mongo/shell/assert.js:7
********** Parallel Test FAILED: Error: error loading js file: jstests/geo_circle2a.js



 Comments   
Comment by auto [ 02/Oct/13 ]

Author:

{u'username': u'gregstuder', u'name': u'Greg Studer', u'email': u'greg@10gen.com'}

Message: SERVER-10421 buildbot use unique coll names for geo_circle2a.js and eval2.js
Branch: v2.4
https://github.com/mongodb/mongo/commit/7621e8ac60b7b99abb7bb705a133edb36c93e782

Comment by auto [ 08/Aug/13 ]

Author:

{u'username': u'gregstuder', u'name': u'Greg Studer', u'email': u'greg@10gen.com'}

Message: SERVER-10421 buildbot use unique coll names for geo_circle2a.js and eval2.js
Branch: master
https://github.com/mongodb/mongo/commit/4686ae36b50ad0eabd03012a833d126db1676bc9

Comment by Greg Studer [ 08/Aug/13 ]

just fyi, for awhile I was toying with using the jsTest.filename as the collection name for all new tests, but I gave that up. In any case, not our biggest buildbot problem.

Comment by Matt Kangas [ 07/Aug/13 ]

Greg, it appears that you wrote geo_circle2a.js. Please fix this test so it uses its own collection, not "db.test".

We also need to do the same for the eval2.js test.

Comment by hari.khalsa@10gen.com [ 03/Aug/13 ]

kangas Every test should use its own collection, always...so we should fix both It'd be cool if we had a script or grep that tried to verify this.

Comment by Matt Kangas [ 03/Aug/13 ]

hari.khalsa@10gen.com thanks for the quick response. Clearly we should fix one or both of these tests.

Comment by hari.khalsa@10gen.com [ 03/Aug/13 ]

kangas It's not a geo problem The issue is that geo_circle2a.js and eval2.js both use db.test, when they should use their own collections. So if they ever run at the same time it's a race.

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