test failed on 1.2rc3

Bug #1248040 reported by LI Daobing
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gocheck
New
Undecided
Unassigned

Bug Description

$ go test -v launchpad.net/gocheck
=== RUN Test

----------------------------------------------------------------------
FAIL: fixture_test.go:126: FixtureS.TestPanicOnSetUpSuite

fixture_test.go:145:
    c.Check(output.value, Matches, expected)
... value string = "" +
... "\n" +
... "----------------------------------------------------------------------\n" +
... "PANIC: gocheck_test.go:119: FixtureHelper.SetUpSuite\n" +
... "\n" +
... "... Panic: SetUpSuite (PC=0x14C16)\n" +
... "\n" +
... "/Users/lidaobing/.gvm/gos/go1.2rc3/src/pkg/runtime/panic.c:248\n" +
... " in panic\n" +
... "gocheck_test.go:109\n" +
... " in FixtureHelper.trace\n" +
... "gocheck_test.go:120\n" +
... " in FixtureHelper.SetUpSuite\n" +
... "/Users/lidaobing/.gvm/gos/go1.2rc3/src/pkg/runtime/asm_amd64.s:338\n" +
... " in call16\n"
... regex string = "" +
... "^\n" +
... "-+\n" +
... "PANIC: gocheck_test\\.go:[0-9]+: FixtureHelper.SetUpSuite\n" +
... "\n" +
... "\\.\\.\\. Panic: SetUpSuite \\(PC=[xA-F0-9]+\\)\n" +
... "\n" +
... ".+:[0-9]+\n" +
... " in panic\n" +
... ".*gocheck_test.go:[0-9]+\n" +
... " in FixtureHelper.trace\n" +
... ".*gocheck_test.go:[0-9]+\n" +
... " in FixtureHelper.SetUpSuite\n" +
... "$"

----------------------------------------------------------------------
FAIL: fixture_test.go:67: FixtureS.TestPanicOnSetUpTest

fixture_test.go:93:
    c.Check(output.value, Matches, expected)
... value string = "" +
... "\n" +
... "----------------------------------------------------------------------\n" +
... "PANIC: gocheck_test.go:127: FixtureHelper.SetUpTest\n" +
... "\n" +
... "... Panic: SetUpTest (PC=0x14C16)\n" +
... "\n" +
... "/Users/lidaobing/.gvm/gos/go1.2rc3/src/pkg/runtime/panic.c:248\n" +
... " in panic\n" +
... "gocheck_test.go:109\n" +
... " in FixtureHelper.trace\n" +
... "gocheck_test.go:128\n" +
... " in FixtureHelper.SetUpTest\n" +
... "/Users/lidaobing/.gvm/gos/go1.2rc3/src/pkg/runtime/asm_amd64.s:338\n" +
... " in call16\n" +
... "\n" +
... "----------------------------------------------------------------------\n" +
... "PANIC: gocheck_test.go:135: FixtureHelper.Test1\n" +
... "\n" +
... "... Panic: Fixture has panicked (see related PANIC)\n"
... regex string = "" +
... "^\n" +
... "-+\n" +
... "PANIC: gocheck_test\\.go:[0-9]+: FixtureHelper\\.SetUpTest\n" +
... "\n" +
... "\\.\\.\\. Panic: SetUpTest \\(PC=[xA-F0-9]+\\)\n" +
... "\n" +
... ".+:[0-9]+\n" +
... " in panic\n" +
... ".*gocheck_test.go:[0-9]+\n" +
... " in FixtureHelper.trace\n" +
... ".*gocheck_test.go:[0-9]+\n" +
... " in FixtureHelper.SetUpTest\n" +
... "\n" +
... "-+\n" +
... "PANIC: gocheck_test\\.go:[0-9]+: FixtureHelper\\.Test1\n" +
... "\n" +
... "\\.\\.\\. Panic: Fixture has panicked \\(see related PANIC\\)\n" +
... "$"

----------------------------------------------------------------------
FAIL: fixture_test.go:148: FixtureS.TestPanicOnTearDownSuite

fixture_test.go:173:
    c.Check(output.value, Matches, expected)
... value string = "" +
... "\n" +
... "----------------------------------------------------------------------\n" +
... "PANIC: gocheck_test.go:123: FixtureHelper.TearDownSuite\n" +
... "\n" +
... "... Panic: TearDownSuite (PC=0x14C16)\n" +
... "\n" +
... "/Users/lidaobing/.gvm/gos/go1.2rc3/src/pkg/runtime/panic.c:248\n" +
... " in panic\n" +
... "gocheck_test.go:109\n" +
... " in FixtureHelper.trace\n" +
... "gocheck_test.go:124\n" +
... " in FixtureHelper.TearDownSuite\n" +
... "/Users/lidaobing/.gvm/gos/go1.2rc3/src/pkg/runtime/asm_amd64.s:338\n" +
... " in call16\n"
... regex string = "" +
... "^\n" +
... "-+\n" +
... "PANIC: gocheck_test\\.go:[0-9]+: FixtureHelper.TearDownSuite\n" +
... "\n" +
... "\\.\\.\\. Panic: TearDownSuite \\(PC=[xA-F0-9]+\\)\n" +
... "\n" +
... ".+:[0-9]+\n" +
... " in panic\n" +
... ".*gocheck_test.go:[0-9]+\n" +
... " in FixtureHelper.trace\n" +
... ".*gocheck_test.go:[0-9]+\n" +
... " in FixtureHelper.TearDownSuite\n" +
... "$"

----------------------------------------------------------------------
FAIL: fixture_test.go:96: FixtureS.TestPanicOnTearDownTest

fixture_test.go:123:
    c.Check(output.value, Matches, expected)
... value string = "" +
... "\n" +
... "----------------------------------------------------------------------\n" +
... "PANIC: gocheck_test.go:131: FixtureHelper.TearDownTest\n" +
... "\n" +
... "... Panic: TearDownTest (PC=0x14C16)\n" +
... "\n" +
... "/Users/lidaobing/.gvm/gos/go1.2rc3/src/pkg/runtime/panic.c:248\n" +
... " in panic\n" +
... "gocheck_test.go:109\n" +
... " in FixtureHelper.trace\n" +
... "gocheck_test.go:132\n" +
... " in FixtureHelper.TearDownTest\n" +
... "/Users/lidaobing/.gvm/gos/go1.2rc3/src/pkg/runtime/asm_amd64.s:338\n" +
... " in call16\n" +
... "\n" +
... "----------------------------------------------------------------------\n" +
... "PANIC: gocheck_test.go:135: FixtureHelper.Test1\n" +
... "\n" +
... "... Panic: Fixture has panicked (see related PANIC)\n"
... regex string = "" +
... "^\n" +
... "-+\n" +
... "PANIC: gocheck_test\\.go:[0-9]+: FixtureHelper.TearDownTest\n" +
... "\n" +
... "\\.\\.\\. Panic: TearDownTest \\(PC=[xA-F0-9]+\\)\n" +
... "\n" +
... ".+:[0-9]+\n" +
... " in panic\n" +
... ".*gocheck_test.go:[0-9]+\n" +
... " in FixtureHelper.trace\n" +
... ".*gocheck_test.go:[0-9]+\n" +
... " in FixtureHelper.TearDownTest\n" +
... "\n" +
... "-+\n" +
... "PANIC: gocheck_test\\.go:[0-9]+: FixtureHelper\\.Test1\n" +
... "\n" +
... "\\.\\.\\. Panic: Fixture has panicked \\(see related PANIC\\)\n" +
... "$"

----------------------------------------------------------------------
FAIL: fixture_test.go:40: FixtureS.TestPanicOnTest

fixture_test.go:64:
    c.Check(output.value, Matches, expected)
... value string = "" +
... "\n" +
... "----------------------------------------------------------------------\n" +
... "PANIC: gocheck_test.go:135: FixtureHelper.Test1\n" +
... "\n" +
... "... Panic: Test1 (PC=0x14C16)\n" +
... "\n" +
... "/Users/lidaobing/.gvm/gos/go1.2rc3/src/pkg/runtime/panic.c:248\n" +
... " in panic\n" +
... "gocheck_test.go:109\n" +
... " in FixtureHelper.trace\n" +
... "gocheck_test.go:136\n" +
... " in FixtureHelper.Test1\n" +
... "/Users/lidaobing/.gvm/gos/go1.2rc3/src/pkg/runtime/asm_amd64.s:338\n" +
... " in call16\n"
... regex string = "" +
... "^\n" +
... "-+\n" +
... "PANIC: gocheck_test\\.go:[0-9]+: FixtureHelper.Test1\n" +
... "\n" +
... "\\.\\.\\. Panic: Test1 \\(PC=[xA-F0-9]+\\)\n" +
... "\n" +
... ".+:[0-9]+\n" +
... " in panic\n" +
... ".*gocheck_test.go:[0-9]+\n" +
... " in FixtureHelper.trace\n" +
... ".*gocheck_test.go:[0-9]+\n" +
... " in FixtureHelper.Test1\n" +
... "$"

OOPS: 119 passed, 5 FAILED
--- FAIL: Test (0.12 seconds)
FAIL
exit status 1
FAIL launchpad.net/gocheck 0.138s

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.