Skip to content

cmd/internal/moddeps: TestAllDependencies/std(thorough) failures [consistent failure] #73069

Closed
@gopherbot

Description

@gopherbot
#!watchflakes
default <- pkg == "cmd/internal/moddeps" && test == "TestAllDependencies/std(thorough)"

Issue created automatically to collect these failures.

Example (log):

=== RUN   TestAllDependencies/std(thorough)
    moddeps_test.go:177: module std in directory /home/swarming/.swarming/w/ir/x/w/goroot/src
    moddeps_test.go:222: Module std in /home/swarming/.swarming/w/ir/x/w/goroot/src is not tidy (-want +got):
        
        diff --recursive --unified /home/swarming/.swarming/w/ir/x/t/TestAllDependencies605735715/003/src/internal/syscall/windows/zsyscall_windows.go /home/swarming/.swarming/w/ir/x/w/goroot/src/internal/syscall/windows/zsyscall_windows.go
        --- /home/swarming/.swarming/w/ir/x/t/TestAllDependencies605735715/003/src/internal/syscall/windows/zsyscall_windows.go	2025-03-26 20:19:08.603821641 +0000
        +++ /home/swarming/.swarming/w/ir/x/w/goroot/src/internal/syscall/windows/zsyscall_windows.go	2025-03-26 20:18:25.318824174 +0000
        @@ -268,7 +268,7 @@
         	return
         }
         
        -func CreateNamedPipe(name *uint16, flags uint32, pipeMode uint32, maxInstances uint32, outSize uint32, inSize uint32, defaultTimeout uint32, sa *syscall.SecurityAttributes) (handle syscall.Handle, err error) {
        +func CreateNamedPipe(name *uint16, flags uint32, pipeMode uint32, maxInstances uint32, outSize uint32, inSize uint32, defaultTimeout uint32, sa *SecurityAttributes) (handle syscall.Handle, err error) {
         	r0, _, e1 := syscall.Syscall9(procCreateNamedPipeW.Addr(), 8, uintptr(unsafe.Pointer(name)), uintptr(flags), uintptr(pipeMode), uintptr(maxInstances), uintptr(outSize), uintptr(inSize), uintptr(defaultTimeout), uintptr(unsafe.Pointer(sa)), 0)
         	handle = syscall.Handle(r0)
         	if handle == syscall.InvalidHandle {
        
        To fix it, run:
        
        $ cd /home/swarming/.swarming/w/ir/x/w/goroot/src
        $ go mod tidy                               # to remove extraneous dependencies
        $ go mod vendor                             # to vendor dependencies
        $ go generate -run=bundle std               # to regenerate bundled packages
        $ go generate syscall internal/syscall/...  # to regenerate syscall packages
        
        (If module std is definitely tidy, this could mean
        there's a problem in the go or bundle command.)
--- FAIL: TestAllDependencies/std(thorough) (13.13s)

watchflakes

Metadata

Metadata

Assignees

No one assigned

    Labels

    FixPendingIssues that have a fix which has not yet been reviewed or submitted.TestingAn issue that has been verified to require only test changes, not just a test failure.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions