[SERVER-8808] compact.js failed via parallel test on Linux 64-bit debug Created: 01/Mar/13  Updated: 10/Dec/14  Resolved: 08/Oct/13

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

Type: Bug Priority: Major - P3
Reporter: Tad Marshall Assignee: Unassigned
Resolution: Cannot Reproduce Votes: 0
Labels: buildbot
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by SERVER-10073 jstests/compact.js (via parallel/basi... Closed
Operating System: ALL
Participants:

 Description   

http://buildbot.mongodb.org/builders/Linux%2064-bit%20DEBUG/builds/1981/steps/test_14/logs/stdio
http://buildlogs.mongodb.org/Linux%2064-bit%20DEBUG/builds/1981/test/parallel/basicPlus.js

Thu Feb 28 22:56:48.547 [conn79] CMD: validate test.compacttest
Thu Feb 28 22:56:48.548 [conn79] validating index 0: test.compacttest.$_id_
z
assert failed
Error: Printing Stack Trace
    at printStackTrace (src/mongo/shell/utils.js:37:7)
    at doassert (src/mongo/shell/assert.js:6:1)
    at assert (src/mongo/shell/assert.js:14:1)
    at jstests/compact.js:59:1
    at <anonymous>:7:40
    at Function.Date.timeFunc (src/mongo/shell/types.js:27:9)
    at <anonymous>:7:17
    at Array.forEach (native)
    at Number.__parallelTests__fun (<anonymous>:4:6)
    at ____MongoToV8_newFunction_temp (<anonymous>:177:65)
Thu Feb 28 22:56:48.791 JavaScript execution failed: assert failed at src/mongo/shell/assert.js:L7
********** Parallel Test FAILED: Error: error loading js file: jstests/compact.js

The test is checking that "ok" is set on the response from a 'compact' command, but 'compact' doesn't tell us why it failed (no log messages, nothing in the response message).



 Comments   
Comment by Eric Milkie [ 05/Sep/13 ]

I expect that this failure only affects the 2.4 branch. The sorting code, where this error is being generated, was rewritten for 2.6 and may not suffer from the same issues.

Comment by Matt Kangas [ 05/Aug/13 ]

I believe SERVER-10073 is a duplicate of this issue.

New failure today: V2.4 Windows 64-bit Build #153 (Mon Aug 5, rev 392b933)

http://buildbot.10gen.cc/builders/V2.4%20Windows%2064-bit/builds/153/steps/test_12/logs/stdio

Mon Aug 05 11:10:36.826 [conn27] CMD: validate test.compacttest
Mon Aug 05 11:10:36.826 [conn27] validating index 0: test.compacttest.$_id_
Mon Aug 05 11:10:36.826 [conn27] validating index 1: test.compacttest.$x_1
Mon Aug 05 11:10:36.826 [conn29] build index done.  scanned 3 total records. 0 secs
Mon Aug 05 11:10:36.826 [conn29] CMD: drop test_extent2.foo
Mon Aug 05 11:10:36.826 [conn30] build index test.jstests_uniqueness2 { a: 1.0 } background
Mon Aug 05 11:10:36.826 [conn30] background addExistingToIndex exception E11000 duplicate key error index: test.jstests_uniqueness2.$a_1  dup key: { : 3.0 }
Mon Aug 05 11:10:36.826 [conn29] build index test_extent2.foo { _id: 1 }
Mon Aug 05 11:10:36.826 [conn29] build index done.  scanned 0 total records. 0 secs
Mon Aug 05 11:10:36.826 [conn29] build index test_extent2.foo { x: 1.0 }
Mon Aug 05 11:10:36.826 [conn29] build index done.  scanned 3 total records. 0 secs
Mon Aug 05 11:10:36.826 [conn27] build index test.compacttest { z: 1.0, k: 1.0 }
Mon Aug 05 11:10:36.826 [conn29] CMD: drop test_extent2.foo
Mon Aug 05 11:10:36.826 [conn27] build index done.  scanned 22 total records. 0 secs
Mon Aug 05 11:10:36.826 [conn30] CMD: drop test.jstests_uniqueness
Mon Aug 05 11:10:36.826 [conn29] build index test_extent2.foo { _id: 1 }
Mon Aug 05 11:10:36.826 [conn29] build index done.  scanned 0 total records. 0 secs
{ "errmsg" : "exception: already sorted", "code" : 10048, "ok" : 0 }
assert failed
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/compact.js:60: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>:182:65)
Mon Aug 05 11:10:36.841 assert failed at src/mongo/shell/assert.js:7
********** Parallel Test FAILED: Error: error loading js file: jstests/compact.js

Comment by auto [ 04/Mar/13 ]

Author:

{u'date': u'2013-03-04T17:43:12Z', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}

Message: SERVER-8808 better debugging output
Branch: master
https://github.com/mongodb/mongo/commit/cd913b22be1a7b9737b4c368926dc86cd920669b

Comment by Tad Marshall [ 01/Mar/13 ]

An interesting item in this failure is that it looks like extent2.js was running at the same time as this failure. It is possible that these two tests should not be run at the same time. Even so, an error message for why it failed would be nice.

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