net/speedtest-go
CLI and Go API to test internet speed using speedtest.net
Flavor |
Version |
Run |
OSVersion |
Arch |
License |
Restricted |
Status |
|
|
1.6.3 |
562 |
3.2 |
amd64 |
mit |
0 |
fail |
|
Events
Machine |
Type |
Time |
Message |
m3264 |
info |
2024-02-29 09:55:30.946204 |
Test Started |
m3264 |
fail |
2024-02-29 09:56:03.239735 |
make test returned non-zero: 1 |
m3264 |
fail |
2024-02-29 09:56:03.35265 |
Test complete. |
Log
[1m===> Testing for speedtest-go-1.6.3[0m
(cd /magus/work/usr/mports/net/speedtest-go/work/github.com/showwin/speedtest-go@v1.6.3; for t in ./...; do echo "===> Testing ${t}"; /usr/bin/env XDG_DATA_HOME=/magus/work/usr/mports/net/speedtest-go/work XDG_CONFIG_HOME=/magus/work/usr/mports/net/speedtest-go/work HOME=/magus/work/usr/mports/net/speedtest-go/work TMPDIR="/tmp" PATH=/magus/work/usr/mports/net/speedtest-go/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/magus/work/usr/mports/net/speedtest-go/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES TARGETDIR=/usr/local DESTDIR= PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -o root -g wheel -m 555" BSD_INSTALL_LIB="install -s -o root -g wheel -m 444" BSD_INSTALL_SCRIPT="install -o root -g wheel -m 555" BSD_INSTALL_DATA="install -o root -g wheel -m 444" BSD_INSTALL_MAN="install -o root -g wheel -m 444" CGO_ENABLED=1 CGO_CFLAGS="-I/usr/local/include" CGO_LDFLAGS="-L/usr/local/lib" GOAMD64= GOARM= GOTMPDIR="/magus/work/usr/mports/net/speedtest-go/work" GOPATH="/magus/distfiles/go/net_speedtest-go" GOBIN="/magus/work/usr/mports/net/speedtest-go/work/bin" GO111MODULE=on GOFLAGS=-modcacherw GOSUMDB=sum.golang.org GOPROXY=off /usr/local/bin/go120 test -v -buildvcs=false -mod=vendor ${t}; done)
===> Testing ./...
? github.com/showwin/speedtest-go [no test files]
? github.com/showwin/speedtest-go/example [no test files]
=== RUN TestDataManager_AddTotalDownload
--- PASS: TestDataManager_AddTotalDownload (0.01s)
=== RUN TestDataManager_GetAvgDownloadRate
--- PASS: TestDataManager_GetAvgDownloadRate (0.00s)
=== RUN TestDynamicRate
downRate: 0.00Mbps | upRate: 0.00Mbps
downRate: 0.00Mbps | upRate: 0.00Mbps
Download: 24.00 Mbit/s
Upload: 0.00 Mbit/s
--- PASS: TestDynamicRate (2.13s)
=== RUN TestDownloadTestContext
--- PASS: TestDownloadTestContext (1.00s)
=== RUN TestUploadTestContext
--- PASS: TestUploadTestContext (1.00s)
=== RUN TestPautaFilter
--- PASS: TestPautaFilter (0.00s)
=== RUN TestFetchServerList
--- PASS: TestFetchServerList (0.74s)
=== RUN TestDistance
--- PASS: TestDistance (0.00s)
=== RUN TestFindServer
--- PASS: TestFindServer (0.00s)
=== RUN TestCustomServer
--- PASS: TestCustomServer (0.00s)
=== RUN TestFetchServerByID
server_test.go:136: no server available or found
server_test.go:136: no server available or found
--- FAIL: TestFetchServerByID (1.35s)
=== RUN TestTotalDurationCount
--- PASS: TestTotalDurationCount (0.00s)
=== RUN TestNew
=== RUN TestNew/DefaultDoer
=== RUN TestNew/CustomDoer
--- PASS: TestNew (0.00s)
--- PASS: TestNew/DefaultDoer (0.00s)
--- PASS: TestNew/CustomDoer (0.00s)
=== RUN TestUserAgent
=== RUN TestUserAgent/DefaultUserAgent
=== RUN TestUserAgent/CustomUserAgent
=== RUN TestUserAgent/CustomUserAgentAndDoer
--- PASS: TestUserAgent (0.00s)
--- PASS: TestUserAgent/DefaultUserAgent (0.00s)
--- PASS: TestUserAgent/CustomUserAgent (0.00s)
--- PASS: TestUserAgent/CustomUserAgentAndDoer (0.00s)
=== RUN TestFetchUserInfo
--- PASS: TestFetchUserInfo (0.24s)
FAIL
FAIL github.com/showwin/speedtest-go/speedtest 6.483s
FAIL
*** Error code 1
Stop.
make: stopped in /usr/mports/net/speedtest-go