Olej писал(а): ↑04 май 2022, 00:08
Обновляем время от времени из репозитория:
И новая сборка:
Код: Выделить всё
olej@R420:~/goroot$ cd src/
olej@R420:~/goroot/src$ time ./all.bash
Building Go cmd/dist using /usr/lib/go-1.16. (go1.16.2 linux/amd64)
Building Go toolchain1 using /usr/lib/go-1.16.
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 packages and commands for linux/amd64.
##### Test execution environment.
# GOARCH: amd64
# CPU: Intel(R) Xeon(R) CPU E5-2470 v2 @ 2.40GHz
# GOOS: linux
# OS Version: Linux 5.4.0-109-generic #123-Ubuntu SMP Fri Apr 8 09:10:54 UTC 2022 x86_64
##### Testing packages.
ok archive/tar 0.112s
ok archive/zip 0.188s
ok bufio 0.148s
ok bytes 0.349s
ok compress/bzip2 0.157s
ok compress/flate 0.636s
ok compress/gzip 0.176s
ok compress/lzw 0.073s
ok compress/zlib 0.114s
ok container/heap 0.047s
ok container/list 0.064s
ok container/ring 0.048s
ok context 0.185s
ok crypto 0.057s
ok crypto/aes 0.075s
ok crypto/cipher 0.070s
ok crypto/des 0.071s
ok crypto/dsa 0.049s
ok crypto/ecdsa 0.200s
ok crypto/ed25519 0.138s
ok crypto/ed25519/internal/edwards25519 8.499s
ok crypto/ed25519/internal/edwards25519/field 6.705s
ok crypto/elliptic 0.083s
ok crypto/elliptic/internal/fiat 0.051s [no tests to run]
ok crypto/elliptic/internal/nistec 1.649s
ok crypto/hmac 0.059s
ok crypto/internal/subtle 0.059s
ok crypto/md5 0.060s
ok crypto/rand 0.118s
ok crypto/rc4 0.095s
ok crypto/rsa 0.235s
ok crypto/sha1 0.087s
ok crypto/sha256 0.059s
ok crypto/sha512 0.053s
ok crypto/subtle 0.065s
ok crypto/tls 1.054s
ok crypto/x509 0.820s
ok database/sql 0.463s
ok database/sql/driver 0.062s
ok debug/buildinfo 0.148s
ok debug/dwarf 0.184s
ok debug/elf 0.208s
ok debug/gosym 0.539s
ok debug/macho 0.052s
ok debug/pe 0.057s
ok debug/plan9obj 0.058s
ok embed 0.155s [no tests to run]
ok embed/internal/embedtest 0.049s
ok encoding/ascii85 0.056s
ok encoding/asn1 0.066s
ok encoding/base32 0.121s
ok encoding/base64 0.072s
ok encoding/binary 0.149s
ok encoding/csv 0.075s
ok encoding/gob 0.191s
ok encoding/hex 0.073s
ok encoding/json 0.541s
ok encoding/pem 1.039s
ok encoding/xml 0.171s
ok errors 0.067s
ok expvar 0.078s
ok flag 0.284s
ok fmt 0.264s
ok go/ast 0.116s
ok go/build 2.423s
ok go/build/constraint 0.133s
ok go/constant 0.160s
ok go/doc 0.196s
ok go/doc/comment 1.606s
ok go/format 0.108s
ok go/importer 0.354s
ok go/internal/gccgoimporter 3.612s
ok go/internal/gcimporter 20.602s
ok go/internal/srcimporter 11.226s
ok go/parser 0.189s
ok go/printer 0.394s
ok go/scanner 0.090s
ok go/token 0.033s
ok go/types 5.124s
ok hash 0.200s
ok hash/adler32 0.160s
ok hash/crc32 0.113s
ok hash/crc64 0.123s
ok hash/fnv 0.088s
ok hash/maphash 0.243s
ok html 0.146s
ok html/template 0.287s
ok image 0.219s
ok image/color 0.150s
ok image/draw 0.277s
ok image/gif 23.862s
ok image/jpeg 5.348s
ok image/png 0.539s
ok index/suffixarray 0.480s
ok internal/abi 0.321s
ok internal/buildcfg 0.152s
ok internal/cpu 0.121s
ok internal/diff 0.219s
ok internal/execabs 0.091s
ok internal/fmtsort 0.159s
ok internal/fuzz 0.105s
ok internal/godebug 0.117s
ok internal/intern 0.889s
ok internal/itoa 0.150s
ok internal/poll 0.333s
ok internal/profile 0.170s
ok internal/reflectlite 0.186s
ok internal/singleflight 0.112s
ok internal/trace 0.199s
ok internal/unsafeheader 0.118s
ok internal/xcoff 0.098s
ok io 0.264s
ok io/fs 0.196s
ok io/ioutil 0.157s
ok log 0.169s
ok log/syslog 1.345s
ok math 0.105s
ok math/big 2.214s
ok math/bits 0.188s
ok math/cmplx 0.165s
ok math/rand 0.399s
ok mime 0.144s
ok mime/multipart 0.360s
ok mime/quotedprintable 0.178s
ok net 5.986s
ok net/http 9.785s
ok net/http/cgi 1.089s
ok net/http/cookiejar 0.137s
ok net/http/fcgi 0.266s
ok net/http/httptest 0.247s
ok net/http/httptrace 0.117s
ok net/http/httputil 0.755s
ok net/http/internal 0.128s
ok net/http/internal/ascii 0.112s
ok net/http/pprof 5.267s
ok net/internal/socktest 0.159s
ok net/mail 0.136s
ok net/netip 1.081s
ok net/rpc 0.178s
ok net/rpc/jsonrpc 0.094s
ok net/smtp 0.161s
ok net/textproto 0.033s
ok net/url 0.165s
ok os 2.126s
ok os/exec 2.395s
ok os/exec/internal/fdtest 0.113s
ok os/signal 2.796s
ok os/user 0.240s
ok path 0.107s
ok path/filepath 0.205s
ok plugin 0.151s
ok reflect 1.304s
ok regexp 0.322s
ok regexp/syntax 0.760s
ok runtime 34.135s
ok runtime/cgo 0.079s
ok runtime/debug 0.193s
ok runtime/internal/atomic 0.208s
ok runtime/internal/math 0.177s
ok runtime/internal/sys 0.206s
ok runtime/metrics 0.147s
ok runtime/pprof 10.371s
ok runtime/trace 1.709s
ok sort 0.192s
ok strconv 0.815s
ok strings 0.501s
ok sync 0.808s
ok sync/atomic 3.792s
ok syscall 0.670s
ok testing 1.269s
ok testing/fstest 0.141s
ok testing/iotest 0.235s
ok testing/quick 0.205s
ok text/scanner 0.204s
ok text/tabwriter 0.212s
ok text/template 0.332s
ok text/template/parse 0.149s
ok time 2.618s
ok unicode 0.129s
ok unicode/utf16 0.191s
ok unicode/utf8 0.144s
ok cmd/addr2line 3.838s
ok cmd/api 21.954s
ok cmd/asm/internal/asm 1.697s
ok cmd/asm/internal/lex 0.170s
ok cmd/compile/internal/amd64 8.447s
ok cmd/compile/internal/dwarfgen 1.427s
ok cmd/compile/internal/importer 1.142s
ok cmd/compile/internal/ir 0.139s
ok cmd/compile/internal/logopt 1.371s
ok cmd/compile/internal/noder 0.051s
ok cmd/compile/internal/reflectdata 0.118s [no tests to run]
ok cmd/compile/internal/ssa 12.571s
ok cmd/compile/internal/syntax 0.256s
ok cmd/compile/internal/test 13.659s
ok cmd/compile/internal/typecheck 1.360s
ok cmd/compile/internal/types 0.091s
ok cmd/compile/internal/types2 1.574s
ok cmd/cover 4.476s
ok cmd/dist 0.255s
ok cmd/doc 0.370s
ok cmd/fix 1.462s
ok cmd/go 24.831s
ok cmd/go/internal/auth 0.209s
ok cmd/go/internal/cache 0.417s
ok cmd/go/internal/fsys 0.279s
ok cmd/go/internal/generate 0.153s
ok cmd/go/internal/get 0.148s
ok cmd/go/internal/imports 0.225s
ok cmd/go/internal/load 0.147s
ok cmd/go/internal/lockedfile 0.362s
ok cmd/go/internal/lockedfile/internal/filelock 0.270s
ok cmd/go/internal/modconv 0.139s
ok cmd/go/internal/modfetch 0.238s
ok cmd/go/internal/modfetch/codehost 0.095s
ok cmd/go/internal/modfetch/zip_sum_test 0.098s
ok cmd/go/internal/modload 0.052s
ok cmd/go/internal/mvs 0.081s
ok cmd/go/internal/par 0.156s
ok cmd/go/internal/search 0.088s
ok cmd/go/internal/str 0.107s
ok cmd/go/internal/test 0.218s
ok cmd/go/internal/vcs 0.274s
ok cmd/go/internal/web 0.159s
ok cmd/go/internal/work 0.033s
ok cmd/gofmt 0.290s
ok cmd/internal/archive 1.931s
ok cmd/internal/buildid 0.714s
ok cmd/internal/dwarf 0.168s
ok cmd/internal/edit 0.043s
ok cmd/internal/goobj 0.251s
ok cmd/internal/moddeps 3.021s
ok cmd/internal/obj 0.202s
ok cmd/internal/obj/ppc64 0.725s
ok cmd/internal/obj/riscv 0.247s
ok cmd/internal/obj/s390x 0.172s
ok cmd/internal/obj/x86 0.924s
ok cmd/internal/objabi 0.055s
ok cmd/internal/pkgpath 0.214s
ok cmd/internal/quoted 0.085s
ok cmd/internal/src 0.145s
ok cmd/internal/sys 0.200s
ok cmd/internal/test2json 0.389s
ok cmd/link 15.541s
ok cmd/link/internal/benchmark 0.168s
ok cmd/link/internal/ld 6.897s
ok cmd/link/internal/loader 0.184s
ok cmd/nm 5.234s
ok cmd/objdump 8.524s
ok cmd/pack 6.384s
ok cmd/pprof 7.537s
ok cmd/trace 0.424s
ok cmd/vet 9.301s
##### os/user with tag osusergo
ok os/user 0.006s
##### GOMAXPROCS=2 runtime -cpu=1,2,4 -quick
ok runtime 16.516s
##### cmd/go terminal test
PASS
ok cmd/go/testdata/testterminal18153 0.002s
##### Testing without libgcc.
ok net 0.008s
ok os/user 0.006s
##### internal linking of -buildmode=pie
ok reflect 0.211s
ok os/user 0.005s
##### sync -cpu=10
ok sync 0.301s
##### Testing race detector
ok runtime/race 5.195s
ok flag 0.037s
ok net 0.119s
ok os 0.140s
ok os/exec 0.094s
ok encoding/gob 0.068s
ok flag 0.027s
ok os/exec 0.099s
##### ../misc/cgo/stdio
PASS
##### ../misc/cgo/life
PASS
##### ../misc/cgo/fortran
PASS
ok misc/cgo/fortran 0.003s
##### ../misc/cgo/test
PASS
ok misc/cgo/test 2.621s
PASS
ok misc/cgo/test 2.431s
PASS
ok misc/cgo/test 2.579s
PASS
ok misc/cgo/testtls 0.003s
PASS
ok misc/cgo/testtls 0.004s
PASS
ok misc/cgo/testtls 0.003s
PASS
ok misc/cgo/nocgo 0.002s
PASS
ok misc/cgo/nocgo 0.003s
PASS
ok misc/cgo/nocgo 0.004s
PASS
ok misc/cgo/test 2.399s
PASS
ok misc/cgo/test 2.853s
PASS
ok misc/cgo/test 2.726s
PASS
ok misc/cgo/test 2.786s
PASS
ok misc/cgo/testtls 0.003s
PASS
ok misc/cgo/nocgo 0.003s
##### ../misc/cgo/testgodefs
PASS
##### ../misc/cgo/testso
ok misc/cgo/testso 0.866s
##### ../misc/cgo/testsovar
ok misc/cgo/testsovar 0.937s
##### ../misc/cgo/testcarchive
SKIP - short mode and $GO_BUILDER_NAME not set
##### ../misc/cgo/testcshared
SKIP - short mode and $GO_BUILDER_NAME not set
##### ../misc/cgo/testshared
ok misc/cgo/testshared 49.288s
##### ../misc/cgo/testplugin
ok misc/cgo/testplugin 0.002s
##### ../misc/cgo/testasan
ok testasan 513ms
##### ../misc/cgo/testsanitizers
PASS
##### ../misc/cgo/errors
PASS
##### ../misc/cgo/testsigfwd
ok testsigfwd
##### ../test/bench/go1
##### ../test
##### API check
ALL TESTS PASSED
---
Installed Go for linux/amd64 in /home/olej/goroot
Installed commands in /home/olej/goroot/bin
*** You need to add /home/olej/goroot/bin to your PATH.
real 5m52,813s
user 51m23,044s
sys 8m58,922s
9 минут
Во время сборки контролировал несколько раз:
Код: Выделить всё
olej@R420:~/goroot$ uptime
22:17:48 up 12:32, 1 user, load average: 30,62, 19,50, 11,66
Код: Выделить всё
olej@R420:~/goroot$ uptime
22:18:06 up 12:32, 1 user, load average: 24,54, 18,83, 11,61
Код: Выделить всё
olej@R420:~/goroot$ uptime
22:20:29 up 12:35, 1 user, load average: 26,32, 20,29, 13,07
Для 40 процессорного сервера это нормально (см.
загрузка процессора: uptime):
Код: Выделить всё
olej@R420:~/goroot$ lscpu
Архитектура: x86_64
CPU op-mode(s): 32-bit, 64-bit
Порядок байт: Little Endian
Address sizes: 46 bits physical, 48 bits virtual
CPU(s): 40
On-line CPU(s) list: 0-39
Потоков на ядро: 2
Ядер на сокет: 10
Сокетов: 2
NUMA node(s): 2
ID прроизводителя: GenuineIntel
Семейство ЦПУ: 6
Модель: 62
Имя модели: Intel(R) Xeon(R) CPU E5-2470 v2 @ 2.40GHz
Степпинг: 4
CPU МГц: 2801.591
CPU max MHz: 3200,0000
CPU min MHz: 1200,0000
BogoMIPS: 4800.03
Виртуализация: VT-x
L1d cache: 640 KiB
L1i cache: 640 KiB
L2 cache: 5 MiB
L3 cache: 50 MiB
NUMA node0 CPU(s): 0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38
NUMA node1 CPU(s): 1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39
Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages
Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT vulnerable
Vulnerability Mds: Mitigation; Clear CPU buffers; SMT vulnerable
Vulnerability Meltdown: Mitigation; PTI
Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp
Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP conditional, RSB filling
Vulnerability Srbds: Not affected
Vulnerability Tsx async abort: Not affected
Флаги: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm
pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfm
perf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic popcnt t
sc_deadline_timer aes xsave avx f16c rdrand lahf_lm cpuid_fault pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriorit
y ept vpid fsgsbase smep erms xsaveopt dtherm ida arat pln pts md_clear flush_l1d