[I2024-09-20T07:37:11.819169Z 818417 0 sink.go:276] SinkServer: warm-up started [I2024-09-20T07:37:11.819240Z 818417 0 sink.go:346] SinkServer: starting HTTP server... [I2024-09-20T07:37:11.820841Z 818417 0 sink.go:281] SinkServer: warm-up ended [I2024-09-20T07:37:11.821060Z 818417 0 cmd_stream.go:492] rdb-stream: starting the test command - ["/home/swarming/.swarming/w/ir/cache/tools/bin/result_adapter" "go" "-v=false" "-dump-json" "/home/swarming/.swarming/w/ir/x/w/go.testjson" "--" "/home/swarming/.swarming/w/ir/x/w/goroot/bin/go" "test" "-json" "-short" "./..."] ok golang.org/x/sys/cpu 0.006s ok golang.org/x/sys/execabs 0.011s ok golang.org/x/sys/unix 0.579s ok golang.org/x/sys/unix/internal/mkmerge 0.017s --- FAIL: TestSyscallXGeneration (0.00s) --- FAIL: TestSyscallXGeneration/syscall_with_15_params (0.00s) mkwinsyscall_test.go:109: expected syscall func "syscall.Syscall15" in buffer // Code generated by 'go generate'; DO NOT EDIT. package windows import ( "syscall" "unsafe" ) var _ unsafe.Pointer // Do the interface allocations only once for common // Errno values. const ( errnoERROR_IO_PENDING = 997 ) var ( errERROR_IO_PENDING error = syscall.Errno(errnoERROR_IO_PENDING) errERROR_EINVAL error = syscall.EINVAL ) // errnoErr returns common boxed Errno values, to prevent // allocations at runtime. func errnoErr(e syscall.Errno) error { switch e { case 0: return errERROR_EINVAL case errnoERROR_IO_PENDING: return errERROR_IO_PENDING } // TODO: add more here, after collecting data on the common // error values see on Windows. (perhaps when running // all.bat?) return e } var ( modexample = NewLazySystemDLL("example.dll") procExample = modexample.NewProc("Example") ) func Example(a1 *uint, a2 *uint, a3 *uint, a4 *uint, a5 *uint, a6 *uint, a7 *uint, a8 *uint, a9 *uint, a10 *uint, a11 *uint, a12 *uint, a13 *uint, a14 *uint, a15 *uint) { syscall.SyscallN(procExample.Addr(), uintptr(unsafe.Pointer(a1)), uintptr(unsafe.Pointer(a2)), uintptr(unsafe.Pointer(a3)), uintptr(unsafe.Pointer(a4)), uintptr(unsafe.Pointer(a5)), uintptr(unsafe.Pointer(a6)), uintptr(unsafe.Pointer(a7)), uintptr(unsafe.Pointer(a8)), uintptr(unsafe.Pointer(a9)), uintptr(unsafe.Pointer(a10)), uintptr(unsafe.Pointer(a11)), uintptr(unsafe.Pointer(a12)), uintptr(unsafe.Pointer(a13)), uintptr(unsafe.Pointer(a14)), uintptr(unsafe.Pointer(a15))) return } --- FAIL: TestSyscallXGeneration/syscall_with_2_params (0.00s) mkwinsyscall_test.go:109: expected syscall func "syscall.Syscall" in buffer // Code generated by 'go generate'; DO NOT EDIT. package windows import ( "syscall" "unsafe" ) var _ unsafe.Pointer // Do the interface allocations only once for common // Errno values. const ( errnoERROR_IO_PENDING = 997 ) var ( errERROR_IO_PENDING error = syscall.Errno(errnoERROR_IO_PENDING) errERROR_EINVAL error = syscall.EINVAL ) // errnoErr returns common boxed Errno values, to prevent // allocations at runtime. func errnoErr(e syscall.Errno) error { switch e { case 0: return errERROR_EINVAL case errnoERROR_IO_PENDING: return errERROR_IO_PENDING } // TODO: add more here, after collecting data on the common // error values see on Windows. (perhaps when running // all.bat?) return e } var ( modexample = NewLazySystemDLL("example.dll") procExample = modexample.NewProc("Example") ) func Example(a1 *uint16, a2 *uint16) { syscall.SyscallN(procExample.Addr(), uintptr(unsafe.Pointer(a1)), uintptr(unsafe.Pointer(a2))) return } --- FAIL: TestSyscallXGeneration/syscall_with_6_params (0.00s) mkwinsyscall_test.go:109: expected syscall func "syscall.Syscall6" in buffer // Code generated by 'go generate'; DO NOT EDIT. package windows import ( "syscall" "unsafe" ) var _ unsafe.Pointer // Do the interface allocations only once for common // Errno values. const ( errnoERROR_IO_PENDING = 997 ) var ( errERROR_IO_PENDING error = syscall.Errno(errnoERROR_IO_PENDING) errERROR_EINVAL error = syscall.EINVAL ) // errnoErr returns common boxed Errno values, to prevent // allocations at runtime. func errnoErr(e syscall.Errno) error { switch e { case 0: return errERROR_EINVAL case errnoERROR_IO_PENDING: return errERROR_IO_PENDING } // TODO: add more here, after collecting data on the common // error values see on Windows. (perhaps when running // all.bat?) return e } var ( modexample = NewLazySystemDLL("example.dll") procExample = modexample.NewProc("Example") ) func Example(a1 *uint, a2 *uint, a3 *uint, a4 *uint, a5 *uint, a6 *uint) { syscall.SyscallN(procExample.Addr(), uintptr(unsafe.Pointer(a1)), uintptr(unsafe.Pointer(a2)), uintptr(unsafe.Pointer(a3)), uintptr(unsafe.Pointer(a4)), uintptr(unsafe.Pointer(a5)), uintptr(unsafe.Pointer(a6))) return } FAIL FAIL golang.org/x/sys/windows/mkwinsyscall 0.012s Warning: no '=' in invocation-link-artifacts pair: "", ignoring [I2024-09-20T07:37:19.109537Z 818417 0 cmd_stream.go:488] rdb-stream: the test process terminated [I2024-09-20T07:37:19.109629Z 818417 0 sink.go:371] SinkServer: shutdown started [I2024-09-20T07:37:19.109678Z 818417 0 sink.go:349] SinkServer: HTTP server stopped with "http: Server closed" [I2024-09-20T07:37:19.109694Z 818417 0 sink_server.go:96] SinkServer: draining TestResult channel started [I2024-09-20T07:37:19.198896Z 818417 0 sink_server.go:98] SinkServer: draining TestResult channel ended [I2024-09-20T07:37:19.198937Z 818417 0 sink_server.go:100] SinkServer: draining Artifact channel started [I2024-09-20T07:37:19.312526Z 818417 0 sink_server.go:102] SinkServer: draining Artifact channel ended [I2024-09-20T07:37:19.312573Z 818417 0 sink.go:374] SinkServer: shutdown completed successfully [I2024-09-20T07:37:19.312598Z 818417 0 cmd_stream.go:420] rdb-stream: exiting with 1