js-wasm-node18 at 67f78788f680afd4b44fa9165a33c1a7001fe5ed :: Running /workdir/go/src/make.bash with args ["/workdir/go/src/make.bash" "-force"] and env ["HOSTNAME=buildlet-linux-amd64-js-wasm-node18-rneff0747" "DEBIAN_FRONTEND=noninteractive" "HOME=/root" "USER=root" "GO_STAGE0_NET_DELAY=0s" "GO_STAGE0_DL_DELAY=400ms" "WORKDIR=/workdir" "GOROOT_BOOTSTRAP=/workdir/go1.4" "GO_BUILDER_NAME=js-wasm-node18" "GOOS=js" "GOARCH=wasm" "GOHOSTOS=linux" "GOHOSTARCH=amd64" "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/workdir/go/misc/wasm" "GO_DISABLE_OUTBOUND_NETWORK=1" "GOBIN=" "TMPDIR=/workdir/tmp" "GOCACHE=/workdir/gocache" "GOPLSCACHE=/workdir/goplscache" "PWD=/workdir/go/src"] in dir /workdir/go/src Building Go cmd/dist using /workdir/go1.4. (go1.20.6 linux/amd64) Building Go toolchain1 using /workdir/go1.4. Building Go bootstrap cmd/go (go_bootstrap) using Go toolchain1. Building Go toolchain2 using go_bootstrap and Go toolchain1. Building Go toolchain3 using go_bootstrap and Go toolchain2. Building commands for host, linux/amd64. Building packages and commands for target, js/wasm. --- Installed Go for js/wasm in /workdir/go Installed commands in /workdir/go/bin *** You need to add /workdir/go/bin to your PATH. ##### Test execution environment. # GOARCH: wasm # CPU: # GOOS: js # OS Version: Node.js v18.12.1 ##### Testing packages. ok archive/tar 1.104s ok archive/zip 1.684s ok bufio 0.517s ok bytes 1.135s ok cmp 0.244s ok compress/bzip2 0.424s ok compress/flate 2.363s ok compress/gzip 13.307s ok compress/lzw 0.612s ok compress/zlib 1.394s ok container/heap 0.267s ok container/list 0.306s ok container/ring 0.304s ok context 0.312s ok crypto 0.194s ok crypto/aes 0.239s ok crypto/cipher 0.245s ok crypto/des 0.241s ok crypto/dsa 0.239s ok crypto/ecdh 0.720s ok crypto/ecdsa 0.619s ok crypto/ed25519 0.805s ok crypto/elliptic 0.342s ok crypto/hmac 0.245s ok crypto/md5 0.299s ok crypto/rand 0.355s ok crypto/rc4 0.299s ok crypto/rsa 3.189s ok crypto/sha1 0.277s ok crypto/sha256 0.244s ok crypto/sha512 0.259s ok crypto/subtle 1.560s ok crypto/tls 3.979s ok crypto/x509 4.584s ok database/sql 1.054s ok database/sql/driver 0.275s ok debug/buildinfo 0.348s ok debug/dwarf 0.877s ok debug/elf 1.134s ok debug/gosym 0.355s ok debug/macho 0.338s ok debug/pe 0.790s ok debug/plan9obj 0.249s ok embed 0.236s [no tests to run] ok encoding/ascii85 0.225s ok encoding/asn1 0.305s ok encoding/base32 0.334s ok encoding/base64 0.233s ok encoding/binary 0.283s ok encoding/csv 0.342s ok encoding/gob 12.412s ok encoding/hex 0.266s ok encoding/json 0.977s ok encoding/pem 1.329s ok encoding/xml 0.527s ok errors 0.306s ok expvar 0.290s ok flag 0.344s ok fmt 0.614s ok go/ast 0.435s ok go/build 12.143s ok go/build/constraint 0.272s ok go/constant 0.301s ok go/doc 0.797s ok go/doc/comment 1.917s ok go/format 0.405s ok go/importer 0.283s ok go/parser 1.040s ok go/printer 1.262s ok go/scanner 0.291s ok go/token 0.416s ok go/types 1.908s ok go/version 0.227s ok hash 0.245s ok hash/adler32 0.209s ok hash/crc32 0.234s ok hash/crc64 0.230s ok hash/fnv 0.230s ok hash/maphash 0.392s ok html 0.252s ok html/template 0.750s ok image 0.503s ok image/color 0.254s ok image/draw 0.597s ok image/gif 0.737s ok image/jpeg 0.792s ok image/png 1.366s ok index/suffixarray 2.367s ok internal/abi 0.144s ok internal/buildcfg 0.244s ok internal/coverage/cformat 0.268s ok internal/coverage/cmerge 0.261s ok internal/coverage/pods 0.338s ok internal/coverage/slicereader 0.285s ok internal/chacha8rand 0.134s ok internal/coverage/slicewriter 0.285s ok internal/coverage/test 0.502s ok internal/dag 0.384s ok internal/diff 0.438s ok internal/fmtsort 0.272s ok internal/fuzz 0.345s ok internal/cpu 0.182s ok internal/godebug 0.642s ok internal/godebugs 0.638s ok internal/gover 0.626s ok internal/intern 1.302s ok internal/itoa 0.555s ok internal/platform 0.794s ok internal/poll 0.349s ok internal/profile 0.235s ok internal/reflectlite 0.282s ok internal/safefilepath 0.291s ok internal/saferio 0.393s ok internal/singleflight 0.402s ok internal/testenv 0.331s ok internal/trace 0.758s ok internal/trace/v2 0.751s ok internal/types/errors 0.661s ok internal/unsafeheader 0.316s ok internal/xcoff 0.878s ok internal/zstd 0.640s ok io 0.592s ok io/fs 1.588s ok io/ioutil 0.484s ok log 0.496s ok log/slog 0.722s ok log/syslog 0.333s [no tests to run] ok maps 0.428s ok math 0.223s ok math/big 7.843s ok math/bits 0.250s ok math/cmplx 0.235s ok math/rand 1.020s ok mime 0.304s ok math/rand/v2 1.472s ok mime/multipart 2.684s ok mime/quotedprintable 0.295s --- FAIL: TestDialContext (0.00s) --- FAIL: TestDialContext/StreamDial (0.00s) dial_test.go:1101: tcp: got id 0, want 1 panic: node:internal/fs/utils:348 throw err; ^ Error: EBADF: bad file descriptor, write at Object.writeSync (node:fs:933:3) at runtime.wasmWrite (/workdir/go/misc/wasm/wasm_exec.js:241:10) at wasm://wasm/01d48b7a:wasm-function[613]:0x910f0 at wasm://wasm/01d48b7a:wasm-function[612]:0x9107a at wasm://wasm/01d48b7a:wasm-function[981]:0xeca08 at wasm://wasm/01d48b7a:wasm-function[861]:0xc6abb at wasm://wasm/01d48b7a:wasm-function[673]:0x9add5 at wasm://wasm/01d48b7a:wasm-function[684]:0x9be1a at wasm://wasm/01d48b7a:wasm-function[644]:0x94c2b at wasm://wasm/01d48b7a:wasm-function[644]:0x94b0d { errno: -9, syscall: 'write', code: 'EBADF' } Node.js v18.12.1 FAIL net 0.928s FAIL go tool dist: Failed: exit status 1 Error: tests failed: dist test failed: {go_test:net net}: exit status 1