golang.org/x/build@v0.0.0-20240506185731-218518f32b70/internal/logparser/testdata/18.fail (about)

     1  Section: "go test -short ./..."
     2  Pkg: "command-line-arguments"
     3  Test: "TestGolden"
     4  Mode: "build"
     5  Snippet:
     6  	/tmp/workdir/tmp/stringer3302685186/day_string.go:11:8: invalid argument: index 1 out of bounds [0:1]
     7  	/tmp/workdir/tmp/stringer3302685186/day_string.go:12:8: invalid argument: index 1 out of bounds [0:1]
     8  	/tmp/workdir/tmp/stringer3302685186/day_string.go:13:8: invalid argument: index 1 out of bounds [0:1]
     9  	/tmp/workdir/tmp/stringer3302685186/day_string.go:14:8: invalid argument: index 1 out of bounds [0:1]
    10  	/tmp/workdir/tmp/stringer3302685186/day_string.go:15:8: invalid argument: index 1 out of bounds [0:1]
    11  	/tmp/workdir/tmp/stringer3302685186/day_string.go:16:8: invalid argument: index 1 out of bounds [0:1]
    12  	/tmp/workdir/tmp/stringer3302685186/day_string.go:17:8: invalid argument: index Sunday - 6 (constant -6 of type Day) must not be negative
    13  	panic: test timed out after 10m0s
    14  
    15  	golang.org/x/tools/internal/gocommand.runCmdContext({0x8323128, 0x6bea7e00}, 0x6beaa4d0)
    16  	...
    17  		/tmp/workdir/gopath/src/golang.org/x/tools/go/packages/golist.go:199 +0x787
    18  	golang.org/x/tools/go/packages.defaultDriver(0x6beac604, {0x6be8b1d0, 0x1, 0x1})
    19  		/tmp/workdir/gopath/src/golang.org/x/tools/go/packages/packages.go:271 +0x52
    20  	golang.org/x/tools/go/packages.Load(0x6bedde24, {0x6be8b1d0, 0x1, 0x1})
    21  		/tmp/workdir/gopath/src/golang.org/x/tools/go/packages/packages.go:254 +0x4c
    22  	golang.org/x/tools/cmd/stringer.(*Generator).parsePackage(0x6bea7da0, {0x6be8b1d0, 0x1, 0x1}, {0x0, 0x0, 0x0})
    23  		/tmp/workdir/gopath/src/golang.org/x/tools/cmd/stringer/stringer.go:226 +0x150
    24  	golang.org/x/tools/cmd/stringer.TestGolden(0x6bc823c0)
    25  		/tmp/workdir/gopath/src/golang.org/x/tools/cmd/stringer/golden_test.go:474 +0x47f
    26  	testing.tRunner(0x6bc823c0, 0x82e7828)
    27  Output:
    28  	/tmp/workdir/tmp/stringer3302685186/day_string.go:11:8: invalid argument: index 1 out of bounds [0:1]
    29  	/tmp/workdir/tmp/stringer3302685186/day_string.go:12:8: invalid argument: index 1 out of bounds [0:1]
    30  	/tmp/workdir/tmp/stringer3302685186/day_string.go:13:8: invalid argument: index 1 out of bounds [0:1]
    31  	/tmp/workdir/tmp/stringer3302685186/day_string.go:14:8: invalid argument: index 1 out of bounds [0:1]
    32  	/tmp/workdir/tmp/stringer3302685186/day_string.go:15:8: invalid argument: index 1 out of bounds [0:1]
    33  	/tmp/workdir/tmp/stringer3302685186/day_string.go:16:8: invalid argument: index 1 out of bounds [0:1]
    34  	/tmp/workdir/tmp/stringer3302685186/day_string.go:17:8: invalid argument: index Sunday - 6 (constant -6 of type Day) must not be negative
    35  	panic: test timed out after 10m0s
    36  
    37  	goroutine 97 [running]:
    38  	testing.(*M).startAlarm.func1()
    39  		/tmp/workdir/go/src/testing/testing.go:2083 +0xc5
    40  	created by time.goFunc
    41  		/tmp/workdir/go/src/time/sleep.go:176 +0x29
    42  
    43  	goroutine 1 [chan receive]:
    44  	testing.(*T).Run(0x6bc06c30, {0x82d349c, 0xa}, 0x82e7828)
    45  		/tmp/workdir/go/src/testing/testing.go:1529 +0x392
    46  	testing.runTests.func1(0x6bc06c30)
    47  		/tmp/workdir/go/src/testing/testing.go:1893 +0x45
    48  	testing.tRunner(0x6bc06c30, 0x6bd11e2c)
    49  		/tmp/workdir/go/src/testing/testing.go:1481 +0x10d
    50  	testing.runTests(0x6bc10230, {0x84809c0, 0x5, 0x5}, {0xc0c4d43f58c0321a, 0x8bb8400c9d, 0x8483780})
    51  		/tmp/workdir/go/src/testing/testing.go:1891 +0x3b3
    52  	testing.(*M).Run(0x6bc740f0)
    53  		/tmp/workdir/go/src/testing/testing.go:1763 +0x695
    54  	main.main()
    55  		_testmain.go:55 +0x17f
    56  
    57  	goroutine 19 [select]:
    58  	golang.org/x/tools/internal/gocommand.runCmdContext({0x8323128, 0x6bea7e00}, 0x6beaa4d0)
    59  		/tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:265 +0x25b
    60  	golang.org/x/tools/internal/gocommand.(*Invocation).run(0x6bedd3e8, {0x8323128, 0x6bea7e00}, {0x8321870, 0x6bea9638}, {0x8321870, 0x6bea9650})
    61  		/tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xd2f
    62  	golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0x6bedd3e8, {0x8323128, 0x6bea7e00}, {0x8321870, 0x6bea9638}, {0x8321870, 0x6bea9650})
    63  		/tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:156 +0x4f
    64  	golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0x6bea9578, {0x8323128, 0x6bea7e00}, {{0x82d1b86, 0x4}, {0x6bea7e30, 0x5, 0x5}, {0x6be8b1f8, 0x1, ...}, ...})
    65  		/tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:100 +0x17c
    66  	golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0x6bea9578, {0x8323128, 0x6bea7e00}, {{0x82d1b86, 0x4}, {0x6bea7e30, 0x5, 0x5}, {0x6be8b1f8, 0x1, ...}, ...})
    67  		/tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:75 +0x5e
    68  	golang.org/x/tools/internal/gocommand.(*Runner).Run(...)
    69  		/tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:57
    70  	golang.org/x/tools/internal/gocommand.GoVersion({0x8323128, 0x6bea7e00}, {{0x82d1b86, 0x4}, {0x6bea7e30, 0x5, 0x5}, {0x6be8b1f8, 0x1, 0x1}, ...}, ...)
    71  		/tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/version.go:33 +0x591
    72  	golang.org/x/tools/go/packages.(*golistState).getGoVersion.func1()
    73  		/tmp/workdir/gopath/src/golang.org/x/tools/go/packages/golist.go:761 +0xeb
    74  	sync.(*Once).doSlow(0x6beb64bc, 0x6bedd6bc)
    75  		/tmp/workdir/go/src/sync/once.go:74 +0xad
    76  	sync.(*Once).Do(0x6beb64bc, 0x6bedd6bc)
    77  		/tmp/workdir/go/src/sync/once.go:65 +0x39
    78  	golang.org/x/tools/go/packages.(*golistState).getGoVersion(0x6beb6480)
    79  		/tmp/workdir/gopath/src/golang.org/x/tools/go/packages/golist.go:760 +0x46
    80  	golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0x6beb6480, {0x6be8b1f0, 0x1, 0x1})
    81  		/tmp/workdir/gopath/src/golang.org/x/tools/go/packages/golist.go:449 +0x2c
    82  	golang.org/x/tools/go/packages.goListDriver(0x6beac604, {0x6be8b1d0, 0x1, 0x1})
    83  		/tmp/workdir/gopath/src/golang.org/x/tools/go/packages/golist.go:199 +0x787
    84  	golang.org/x/tools/go/packages.defaultDriver(0x6beac604, {0x6be8b1d0, 0x1, 0x1})
    85  		/tmp/workdir/gopath/src/golang.org/x/tools/go/packages/packages.go:271 +0x52
    86  	golang.org/x/tools/go/packages.Load(0x6bedde24, {0x6be8b1d0, 0x1, 0x1})
    87  		/tmp/workdir/gopath/src/golang.org/x/tools/go/packages/packages.go:254 +0x4c
    88  	golang.org/x/tools/cmd/stringer.(*Generator).parsePackage(0x6bea7da0, {0x6be8b1d0, 0x1, 0x1}, {0x0, 0x0, 0x0})
    89  		/tmp/workdir/gopath/src/golang.org/x/tools/cmd/stringer/stringer.go:226 +0x150
    90  	golang.org/x/tools/cmd/stringer.TestGolden(0x6bc823c0)
    91  		/tmp/workdir/gopath/src/golang.org/x/tools/cmd/stringer/golden_test.go:474 +0x47f
    92  	testing.tRunner(0x6bc823c0, 0x82e7828)
    93  		/tmp/workdir/go/src/testing/testing.go:1481 +0x10d
    94  	created by testing.(*T).Run
    95  		/tmp/workdir/go/src/testing/testing.go:1528 +0x373
    96  ---
    97  Section: "go test -short ./..."
    98  Pkg: "golang.org/x/tools/go/packages"
    99  Test: "TestAll"
   100  Mode: "test"
   101  Snippet:
   102  	panic: test timed out after 10m0s
   103  
   104  	testing.(*T).Run(0x7443e960, {0x82ed5b8, 0x5}, 0x72c10540)
   105  		/tmp/workdir/go/src/testing/testing.go:1529 +0x392
   106  	golang.org/x/tools/go/packages_test.testInvalidFilesBeforeOverlayContains(0x7443e960, {0x834578c, 0x84c373c})
   107  		/tmp/workdir/gopath/src/golang.org/x/tools/go/packages/overlay_test.go:815 +0x8f4
   108  	golang.org/x/tools/go/packages_test.testAllOrModulesParallel.func1(0x7443e960, {0x834578c, 0x84c373c})
   109  		/tmp/workdir/gopath/src/golang.org/x/tools/go/packages/packages_test.go:81 +0x185
   110  	golang.org/x/tools/go/packages/packagestest.TestAll.func1(0x7443e960)
   111  		/tmp/workdir/gopath/src/golang.org/x/tools/go/packages/packagestest/export.go:163 +0x51
   112  	testing.tRunner(0x7443e960, 0x72982440)
   113  Output:
   114  	panic: test timed out after 10m0s
   115  
   116  	goroutine 19205 [running]:
   117  	testing.(*M).startAlarm.func1()
   118  		/tmp/workdir/go/src/testing/testing.go:2083 +0xc5
   119  	created by time.goFunc
   120  		/tmp/workdir/go/src/time/sleep.go:176 +0x29
   121  
   122  	goroutine 1 [chan receive]:
   123  	testing.tRunner.func1()
   124  		/tmp/workdir/go/src/testing/testing.go:1447 +0x54c
   125  	testing.tRunner(0x6b5023c0, 0x6b55ddd8)
   126  		/tmp/workdir/go/src/testing/testing.go:1487 +0x143
   127  	testing.runTests(0x6b52c300, {0x84aed60, 0x4c, 0x4c}, {0xc0c4d4b9950253c6, 0x8bbc196885, 0x84b0480})
   128  		/tmp/workdir/go/src/testing/testing.go:1891 +0x3b3
   129  	testing.(*M).Run(0x6b53a0f0)
   130  		/tmp/workdir/go/src/testing/testing.go:1763 +0x695
   131  	golang.org/x/tools/go/packages_test.TestMain(0x6b53a0f0)
   132  		/tmp/workdir/gopath/src/golang.org/x/tools/go/packages/packages_test.go:54 +0x161
   133  	main.main()
   134  		_testmain.go:201 +0x183
   135  
   136  	goroutine 3554 [chan receive]:
   137  	testing.(*T).Run(0x7443e960, {0x82ed5b8, 0x5}, 0x72c10540)
   138  		/tmp/workdir/go/src/testing/testing.go:1529 +0x392
   139  	golang.org/x/tools/go/packages_test.testInvalidFilesBeforeOverlayContains(0x7443e960, {0x834578c, 0x84c373c})
   140  		/tmp/workdir/gopath/src/golang.org/x/tools/go/packages/overlay_test.go:815 +0x8f4
   141  	golang.org/x/tools/go/packages_test.testAllOrModulesParallel.func1(0x7443e960, {0x834578c, 0x84c373c})
   142  		/tmp/workdir/gopath/src/golang.org/x/tools/go/packages/packages_test.go:81 +0x185
   143  	golang.org/x/tools/go/packages/packagestest.TestAll.func1(0x7443e960)
   144  		/tmp/workdir/gopath/src/golang.org/x/tools/go/packages/packagestest/export.go:163 +0x51
   145  	testing.tRunner(0x7443e960, 0x72982440)
   146  		/tmp/workdir/go/src/testing/testing.go:1481 +0x10d
   147  	created by testing.(*T).Run
   148  		/tmp/workdir/go/src/testing/testing.go:1528 +0x373
   149  
   150  	goroutine 18368 [sync.Mutex.Lock]:
   151  	sync.runtime_SemacquireMutex(0x72514ef8, 0x0, 0x1)
   152  		/tmp/workdir/go/src/runtime/sema.go:77 +0x39
   153  	sync.(*Mutex).lockSlow(0x72514ef4)
   154  		/tmp/workdir/go/src/sync/mutex.go:171 +0x24f
   155  	sync.(*Mutex).Lock(0x72514ef4)
   156  		/tmp/workdir/go/src/sync/mutex.go:90 +0x46