Source: golang-github-shirou-gopsutil Version: 2.19.11-3 Severity: serious Justification: FTBFS on arm64 Tags: bullseye sid ftbfs Usertags: ftbfs-20201205 ftbfs-bullseye
Hi, During a rebuild of all packages in sid, your package failed to build on arm64 (I don't know if it also fails on amd64). Relevant part (hopefully): > dpkg-buildpackage > ----------------- > > Command: dpkg-buildpackage -us -uc -sa -rfakeroot > dpkg-buildpackage: info: source package golang-github-shirou-gopsutil > dpkg-buildpackage: info: source version 2.19.11-3 > dpkg-buildpackage: info: source distribution unstable > dpkg-buildpackage: info: source changed by Shengjing Zhu <z...@debian.org> > dpkg-source --before-build . > dpkg-buildpackage: info: host architecture arm64 > debian/rules clean > dh clean --buildsystem=golang --with=golang > dh_auto_clean -O--buildsystem=golang > dh_autoreconf_clean -O--buildsystem=golang > dh_clean -O--buildsystem=golang > dpkg-source -b . > dpkg-source: info: using source format '3.0 (quilt)' > dpkg-source: info: building golang-github-shirou-gopsutil using existing > ./golang-github-shirou-gopsutil_2.19.11.orig.tar.xz > dpkg-source: info: using patch list from debian/patches/series > dpkg-source: info: building golang-github-shirou-gopsutil in > golang-github-shirou-gopsutil_2.19.11-3.debian.tar.xz > dpkg-source: info: building golang-github-shirou-gopsutil in > golang-github-shirou-gopsutil_2.19.11-3.dsc > debian/rules binary > dh binary --buildsystem=golang --with=golang > dh_update_autotools_config -O--buildsystem=golang > dh_autoreconf -O--buildsystem=golang > dh_auto_configure -O--buildsystem=golang > dh_auto_build -O--buildsystem=golang > cd obj-aarch64-linux-gnu && go generate -v github.com/shirou/gopsutil > github.com/shirou/gopsutil/cpu github.com/shirou/gopsutil/disk > github.com/shirou/gopsutil/docker github.com/shirou/gopsutil/host > github.com/shirou/gopsutil/internal/common github.com/shirou/gopsutil/load > github.com/shirou/gopsutil/mem github.com/shirou/gopsutil/net > github.com/shirou/gopsutil/process > src/github.com/shirou/gopsutil/doc.go > src/github.com/shirou/gopsutil/cpu/cpu.go > src/github.com/shirou/gopsutil/cpu/cpu_linux.go > src/github.com/shirou/gopsutil/cpu/cpu_linux_test.go > src/github.com/shirou/gopsutil/cpu/cpu_test.go > src/github.com/shirou/gopsutil/disk/disk.go > src/github.com/shirou/gopsutil/disk/disk_linux.go > src/github.com/shirou/gopsutil/disk/disk_test.go > src/github.com/shirou/gopsutil/disk/disk_unix.go > src/github.com/shirou/gopsutil/docker/docker.go > src/github.com/shirou/gopsutil/docker/docker_linux.go > src/github.com/shirou/gopsutil/docker/docker_linux_test.go > src/github.com/shirou/gopsutil/host/host.go > src/github.com/shirou/gopsutil/host/host_linux.go > src/github.com/shirou/gopsutil/host/host_linux_arm64.go > src/github.com/shirou/gopsutil/host/host_linux_test.go > src/github.com/shirou/gopsutil/host/host_posix.go > src/github.com/shirou/gopsutil/host/host_test.go > src/github.com/shirou/gopsutil/host/types.go > src/github.com/shirou/gopsutil/internal/common/binary.go > src/github.com/shirou/gopsutil/internal/common/common.go > src/github.com/shirou/gopsutil/internal/common/common_linux.go > src/github.com/shirou/gopsutil/internal/common/common_test.go > src/github.com/shirou/gopsutil/internal/common/common_unix.go > src/github.com/shirou/gopsutil/load/load.go > src/github.com/shirou/gopsutil/load/load_linux.go > src/github.com/shirou/gopsutil/load/load_test.go > src/github.com/shirou/gopsutil/mem/mem.go > src/github.com/shirou/gopsutil/mem/mem_linux.go > src/github.com/shirou/gopsutil/mem/mem_test.go > src/github.com/shirou/gopsutil/net/net.go > src/github.com/shirou/gopsutil/net/net_linux.go > src/github.com/shirou/gopsutil/net/net_linux_test.go > src/github.com/shirou/gopsutil/net/net_test.go > src/github.com/shirou/gopsutil/process/process.go > src/github.com/shirou/gopsutil/process/process_linux.go > src/github.com/shirou/gopsutil/process/process_posix.go > src/github.com/shirou/gopsutil/process/process_posix_test.go > src/github.com/shirou/gopsutil/process/process_test.go > cd obj-aarch64-linux-gnu && go install -trimpath -v -p 4 > github.com/shirou/gopsutil github.com/shirou/gopsutil/cpu > github.com/shirou/gopsutil/disk github.com/shirou/gopsutil/docker > github.com/shirou/gopsutil/host github.com/shirou/gopsutil/internal/common > github.com/shirou/gopsutil/load github.com/shirou/gopsutil/mem > github.com/shirou/gopsutil/net github.com/shirou/gopsutil/process > internal/unsafeheader > github.com/shirou/gopsutil > internal/cpu > runtime/internal/atomic > runtime/internal/sys > internal/race > runtime/internal/math > internal/bytealg > sync/atomic > unicode > unicode/utf8 > encoding > math/bits > runtime > internal/testlog > math > unicode/utf16 > golang.org/x/sys/internal/unsafeheader > internal/nettrace > runtime/cgo > internal/reflectlite > sync > internal/singleflight > math/rand > errors > sort > internal/oserror > io > strconv > syscall > vendor/golang.org/x/net/dns/dnsmessage > bytes > strings > reflect > bufio > path > time > internal/syscall/unix > internal/syscall/execenv > regexp/syntax > context > internal/poll > regexp > internal/fmtsort > encoding/binary > os > encoding/base64 > golang.org/x/sys/unix > path/filepath > fmt > net > io/ioutil > os/exec > encoding/json > net/url > github.com/shirou/gopsutil/internal/common > encoding/hex > os/user > github.com/shirou/gopsutil/cpu > github.com/shirou/gopsutil/disk > github.com/shirou/gopsutil/host > github.com/shirou/gopsutil/docker > github.com/shirou/gopsutil/load > github.com/shirou/gopsutil/mem > github.com/shirou/gopsutil/net > github.com/shirou/gopsutil/process > dh_auto_test -O--buildsystem=golang > cd obj-aarch64-linux-gnu && go test -vet=off -v -p 4 > github.com/shirou/gopsutil github.com/shirou/gopsutil/cpu > github.com/shirou/gopsutil/disk github.com/shirou/gopsutil/docker > github.com/shirou/gopsutil/host github.com/shirou/gopsutil/internal/common > github.com/shirou/gopsutil/load github.com/shirou/gopsutil/mem > github.com/shirou/gopsutil/net github.com/shirou/gopsutil/process > ? github.com/shirou/gopsutil [no test files] > === RUN TestTimesEmpty > --- PASS: TestTimesEmpty (0.00s) > === RUN TestCPUparseStatLine_424 > cpu_linux_test.go:30: Times(true): > []cpu.TimesStat{cpu.TimesStat{CPU:"cpu0", User:64.18, System:12.3, > Idle:337307.55, Nice:8.88, Iowait:50.43, Irq:0, Softirq:0.04, Steal:10.46, > Guest:0, GuestNice:0}, cpu.TimesStat{CPU:"cpu1", User:68.58, System:16.32, > Idle:337165.1, Nice:48.7, Iowait:123.27, Irq:0, Softirq:2.35, Steal:17.65, > Guest:0, GuestNice:0}, cpu.TimesStat{CPU:"cpu2", User:48.59, System:9.15, > Idle:337420.72, Nice:6.22, Iowait:23.12, Irq:0, Softirq:0.25, Steal:15.46, > Guest:0, GuestNice:0}, cpu.TimesStat{CPU:"cpu3", User:55.07, System:9.86, > Idle:337424.11, Nice:3.14, Iowait:24.32, Irq:0, Softirq:2.08, Steal:15.34, > Guest:0, GuestNice:0}} > cpu_linux_test.go:37: Times(false): > []cpu.TimesStat{cpu.TimesStat{CPU:"cpu-total", User:236.44, System:47.64, > Idle:1.3493175e+06, Nice:66.95, Iowait:221.15, Irq:0, Softirq:4.73, > Steal:58.92, Guest:0, GuestNice:0}} > --- PASS: TestCPUparseStatLine_424 (0.00s) > === RUN TestCpu_times > --- PASS: TestCpu_times (0.00s) > === RUN TestCpu_counts > --- PASS: TestCpu_counts (0.00s) > === RUN TestCPUTimeStat_String > --- PASS: TestCPUTimeStat_String (0.00s) > === RUN TestCpuInfo > cpu_test.go:90: could not get CPU Info: > {"cpu":0,"vendorId":"","family":"","model":"","stepping":0,"physicalId":"","coreId":"0","cores":1,"modelName":"","mhz":0,"cacheSize":0,"flags":["fp","asimd","evtstrm","aes","pmull","sha1","sha2","crc32","atomics","fphp","asimdhp","cpuid","asimdrdm","lrcpc","dcpop","asimddp","ssbs"],"microcode":""} > cpu_test.go:90: could not get CPU Info: > {"cpu":1,"vendorId":"","family":"","model":"","stepping":0,"physicalId":"","coreId":"1","cores":1,"modelName":"","mhz":0,"cacheSize":0,"flags":["fp","asimd","evtstrm","aes","pmull","sha1","sha2","crc32","atomics","fphp","asimdhp","cpuid","asimdrdm","lrcpc","dcpop","asimddp","ssbs"],"microcode":""} > cpu_test.go:90: could not get CPU Info: > {"cpu":2,"vendorId":"","family":"","model":"","stepping":0,"physicalId":"","coreId":"2","cores":1,"modelName":"","mhz":0,"cacheSize":0,"flags":["fp","asimd","evtstrm","aes","pmull","sha1","sha2","crc32","atomics","fphp","asimdhp","cpuid","asimdrdm","lrcpc","dcpop","asimddp","ssbs"],"microcode":""} > cpu_test.go:90: could not get CPU Info: > {"cpu":3,"vendorId":"","family":"","model":"","stepping":0,"physicalId":"","coreId":"3","cores":1,"modelName":"","mhz":0,"cacheSize":0,"flags":["fp","asimd","evtstrm","aes","pmull","sha1","sha2","crc32","atomics","fphp","asimdhp","cpuid","asimdrdm","lrcpc","dcpop","asimddp","ssbs"],"microcode":""} > --- FAIL: TestCpuInfo (0.00s) > === RUN TestCPUPercent > --- PASS: TestCPUPercent (0.01s) > === RUN TestCPUPercentPerCpu > --- PASS: TestCPUPercentPerCpu (0.01s) > === RUN TestCPUPercentIntervalZero > --- PASS: TestCPUPercentIntervalZero (0.00s) > === RUN TestCPUPercentIntervalZeroPerCPU > --- PASS: TestCPUPercentIntervalZeroPerCPU (0.00s) > FAIL > FAIL github.com/shirou/gopsutil/cpu 0.047s > === RUN TestDisk_usage > --- PASS: TestDisk_usage (0.00s) > === RUN TestDisk_partitions > disk_test.go:25: Maintainer-disabled > --- SKIP: TestDisk_partitions (0.00s) > === RUN TestDisk_io_counters > disk_test.go:53: nvme0n1p15 > {"readCount":414,"mergedReadCount":0,"writeCount":1,"mergedWriteCount":0,"readBytes":4444672,"writeBytes":512,"readTime":165,"writeTime":3,"iopsInProgress":0,"ioTime":64,"weightedIO":200,"name":"nvme0n1p15","serialNumber":"","label":""} > disk_test.go:53: nvme0n1 > {"readCount":30830,"mergedReadCount":0,"writeCount":6201292,"mergedWriteCount":9473595,"readBytes":1055945216,"writeBytes":400317227520,"readTime":40396,"writeTime":19171881,"iopsInProgress":0,"ioTime":37305040,"weightedIO":53456396,"name":"nvme0n1","serialNumber":"","label":""} > disk_test.go:53: nvme0n1p1 > {"readCount":29985,"mergedReadCount":0,"writeCount":6201289,"mergedWriteCount":9473587,"readBytes":1043447296,"writeBytes":400317186048,"readTime":39974,"writeTime":19171876,"iopsInProgress":0,"ioTime":2988268,"weightedIO":18919864,"name":"nvme0n1p1","serialNumber":"","label":""} > --- PASS: TestDisk_io_counters (0.00s) > === RUN TestDisk_io_counters_concurrency_on_darwin_cgo > disk_test.go:63: darwin only > --- SKIP: TestDisk_io_counters_concurrency_on_darwin_cgo (0.00s) > === RUN TestDiskUsageStat_String > --- PASS: TestDiskUsageStat_String (0.00s) > === RUN TestDiskPartitionStat_String > --- PASS: TestDiskPartitionStat_String (0.00s) > === RUN TestDiskIOCountersStat_String > --- PASS: TestDiskIOCountersStat_String (0.00s) > PASS > ok github.com/shirou/gopsutil/disk 0.004s > === RUN TestGetDockerIDList > --- PASS: TestGetDockerIDList (0.00s) > === RUN TestGetDockerStat > --- PASS: TestGetDockerStat (0.00s) > === RUN TestCgroupCPU > --- PASS: TestCgroupCPU (0.00s) > === RUN TestCgroupCPUInvalidId > --- PASS: TestCgroupCPUInvalidId (0.00s) > === RUN TestCgroupMem > --- PASS: TestCgroupMem (0.00s) > === RUN TestCgroupMemInvalidId > --- PASS: TestCgroupMemInvalidId (0.00s) > PASS > ok github.com/shirou/gopsutil/docker 0.011s > === RUN TestGetRedhatishVersion > --- PASS: TestGetRedhatishVersion (0.00s) > === RUN TestGetRedhatishPlatform > --- PASS: TestGetRedhatishPlatform (0.00s) > === RUN TestHostInfo > --- PASS: TestHostInfo (0.00s) > === RUN TestUptime > host_test.go:25: Skip CI > --- SKIP: TestUptime (0.00s) > === RUN TestBoot_time > host_test.go:39: Skip CI > --- SKIP: TestBoot_time (0.00s) > === RUN TestUsers > host_test.go:65: Skip CI > --- SKIP: TestUsers (0.00s) > === RUN TestHostInfoStat_String > host_test.go:83: Maintainer-disabled > --- SKIP: TestHostInfoStat_String (0.00s) > === RUN TestUserStat_String > --- PASS: TestUserStat_String (0.00s) > === RUN TestHostGuid > host_test.go:120: Host id value: 6515945b-0d8e-4ef9-8722-2242fa235637 > --- PASS: TestHostGuid (0.00s) > === RUN TestTemperatureStat_String > --- PASS: TestTemperatureStat_String (0.00s) > === RUN TestVirtualization > host_test.go:141: Virtualization(): , > --- PASS: TestVirtualization (0.00s) > === RUN TestKernelVersion > host_test.go:153: KernelVersion(): 4.19.0-11-arm64 > --- PASS: TestKernelVersion (0.00s) > === RUN TestPlatformInformation > host_test.go:165: PlatformInformation(): debian, debian, bullseye/sid > --- PASS: TestPlatformInformation (0.00s) > PASS > ok github.com/shirou/gopsutil/host 0.003s > === RUN TestReadlines > --- PASS: TestReadlines (0.00s) > === RUN TestReadLinesOffsetN > import ( > --- PASS: TestReadLinesOffsetN (0.00s) > === RUN TestIntToString > --- PASS: TestIntToString (0.00s) > === RUN TestByteToString > --- PASS: TestByteToString (0.00s) > === RUN TestHexToUint32 > --- PASS: TestHexToUint32 (0.00s) > === RUN TestStringsContains > --- PASS: TestStringsContains (0.00s) > === RUN TestPathExists > --- PASS: TestPathExists (0.00s) > === RUN TestHostEtc > --- PASS: TestHostEtc (0.00s) > === RUN TestGetSysctrlEnv > --- PASS: TestGetSysctrlEnv (0.00s) > PASS > ok github.com/shirou/gopsutil/internal/common 0.013s > === RUN TestLoad > load_test.go:18: {"load1":2.61,"load5":2.55,"load15":3.36} > --- PASS: TestLoad (0.00s) > === RUN TestLoadAvgStat_String > load_test.go:31: {"load1":10.1,"load5":20.1,"load15":30.1} > --- PASS: TestLoadAvgStat_String (0.00s) > === RUN TestMisc > load_test.go:44: > {"procsTotal":175,"procsRunning":8,"procsBlocked":0,"ctxt":167536363} > --- PASS: TestMisc (0.00s) > === RUN TestMiscStatString > load_test.go:58: > {"procsTotal":4,"procsRunning":1,"procsBlocked":2,"ctxt":3} > --- PASS: TestMiscStatString (0.00s) > PASS > ok github.com/shirou/gopsutil/load 0.012s > === RUN TestVirtual_memory > mem_test.go:12: Maintainer-disabled > --- SKIP: TestVirtual_memory (0.00s) > === RUN TestSwap_memory > mem_test.go:70: > {"total":0,"used":0,"free":0,"usedPercent":0,"sin":0,"sout":0,"pgin":4223778816,"pgout":1601270759424,"pgfault":9103557193728} > --- PASS: TestSwap_memory (0.00s) > === RUN TestVirtualMemoryStat_String > --- PASS: TestVirtualMemoryStat_String (0.00s) > === RUN TestSwapMemoryStat_String > --- PASS: TestSwapMemoryStat_String (0.00s) > PASS > ok github.com/shirou/gopsutil/mem 0.005s > === RUN TestIOCountersByFileParsing > --- PASS: TestIOCountersByFileParsing (0.00s) > === RUN TestGetProcInodesAll > net_linux_test.go:81: Skip CI > --- SKIP: TestGetProcInodesAll (0.00s) > === RUN TestConnectionsMax > net_linux_test.go:92: Skip CI > --- SKIP: TestConnectionsMax (0.00s) > === RUN TestDecodeAddress > --- PASS: TestDecodeAddress (0.00s) > === RUN TestReverse > --- PASS: TestReverse (0.00s) > === RUN TestConntrackStatFileParsing > --- PASS: TestConntrackStatFileParsing (0.00s) > === RUN TestAddrString > --- PASS: TestAddrString (0.00s) > === RUN TestNetIOCountersStatString > --- PASS: TestNetIOCountersStatString (0.00s) > === RUN TestNetProtoCountersStatString > --- PASS: TestNetProtoCountersStatString (0.00s) > === RUN TestNetConnectionStatString > --- PASS: TestNetConnectionStatString (0.00s) > === RUN TestNetIOCountersAll > --- PASS: TestNetIOCountersAll (0.00s) > === RUN TestNetIOCountersPerNic > --- PASS: TestNetIOCountersPerNic (0.00s) > === RUN TestGetNetIOCountersAll > --- PASS: TestGetNetIOCountersAll (0.00s) > === RUN TestNetInterfaces > --- PASS: TestNetInterfaces (0.00s) > === RUN TestNetProtoCountersStatsAll > --- PASS: TestNetProtoCountersStatsAll (0.00s) > === RUN TestNetProtoCountersStats > --- PASS: TestNetProtoCountersStats (0.00s) > === RUN TestNetConnections > --- PASS: TestNetConnections (0.00s) > === RUN TestNetFilterCounters > --- PASS: TestNetFilterCounters (0.00s) > PASS > ok github.com/shirou/gopsutil/net 0.008s > === RUN Test_SendSignal > --- PASS: Test_SendSignal (0.00s) > === RUN Test_Pids > --- PASS: Test_Pids (0.00s) > === RUN Test_Pids_Fail > process_test.go:48: darwin only > --- SKIP: Test_Pids_Fail (0.00s) > === RUN Test_Pid_exists > --- PASS: Test_Pid_exists (0.00s) > === RUN Test_NewProcess > --- PASS: Test_NewProcess (0.00s) > === RUN Test_Process_memory_maps > process_test.go:97: Maintainer-disabled > --- SKIP: Test_Process_memory_maps (0.00s) > === RUN Test_Process_MemoryInfo > --- PASS: Test_Process_MemoryInfo (0.00s) > === RUN Test_Process_CmdLine > --- PASS: Test_Process_CmdLine (0.00s) > === RUN Test_Process_CmdLineSlice > --- PASS: Test_Process_CmdLineSlice (0.00s) > === RUN Test_Process_Ppid > --- PASS: Test_Process_Ppid (0.00s) > === RUN Test_Process_Status > --- PASS: Test_Process_Status (0.00s) > === RUN Test_Process_Terminal > --- PASS: Test_Process_Terminal (0.00s) > === RUN Test_Process_IOCounters > --- PASS: Test_Process_IOCounters (0.00s) > === RUN Test_Process_NumCtx > --- PASS: Test_Process_NumCtx (0.00s) > === RUN Test_Process_Nice > process_test.go:236: Skip CI > --- SKIP: Test_Process_Nice (0.00s) > === RUN Test_Process_NumThread > --- PASS: Test_Process_NumThread (0.00s) > === RUN Test_Process_Threads > --- PASS: Test_Process_Threads (0.00s) > === RUN Test_Process_Name > --- PASS: Test_Process_Name (0.00s) > === RUN Test_Process_Exe > --- PASS: Test_Process_Exe (0.00s) > === RUN Test_Process_CpuPercent > --- PASS: Test_Process_CpuPercent (0.00s) > === RUN Test_Process_CpuPercentLoop > --- PASS: Test_Process_CpuPercentLoop (0.00s) > === RUN Test_Process_CreateTime > process_test.go:350: Skip CI > --- SKIP: Test_Process_CreateTime (0.00s) > === RUN Test_Parent > --- PASS: Test_Parent (0.00s) > === RUN Test_Connections > --- PASS: Test_Connections (0.00s) > === RUN Test_Children > --- PASS: Test_Children (0.10s) > === RUN Test_Username > process_test.go:478: user42 > --- PASS: Test_Username (0.00s) > === RUN Test_CPUTimes > --- PASS: Test_CPUTimes (0.20s) > === RUN Test_OpenFiles > --- PASS: Test_OpenFiles (0.00s) > === RUN Test_Kill > --- PASS: Test_Kill (0.10s) > === RUN Test_IsRunning > --- PASS: Test_IsRunning (1.00s) > PASS > ok github.com/shirou/gopsutil/process 1.414s > FAIL > dh_auto_test: error: cd obj-aarch64-linux-gnu && go test -vet=off -v -p 4 > github.com/shirou/gopsutil github.com/shirou/gopsutil/cpu > github.com/shirou/gopsutil/disk github.com/shirou/gopsutil/docker > github.com/shirou/gopsutil/host github.com/shirou/gopsutil/internal/common > github.com/shirou/gopsutil/load github.com/shirou/gopsutil/mem > github.com/shirou/gopsutil/net github.com/shirou/gopsutil/process returned > exit code 1 The full build log is available from: http://qa-logs.debian.net/2020/12/05/golang-github-shirou-gopsutil_2.19.11-3_unstable.log A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! If you reassign this bug to another package, please marking it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects If you fail to reproduce this, please provide a build log and diff it with me so that we can identify if something relevant changed in the meantime. About the archive rebuild: The rebuild was done on EC2 VM instances from Amazon Web Services, using a clean, minimal and up-to-date chroot. Every failed build was retried once to eliminate random failures.