>>> bird-lg-go: Building community/bird-lg-go 1.3.7.1-r1 (using abuild 3.12.0-r5) started Sat, 06 Apr 2024 11:30:08 +0000 >>> bird-lg-go: Checking sanity of /home/buildozer/aports/community/bird-lg-go/APKBUILD... >>> bird-lg-go: Analyzing dependencies... >>> bird-lg-go: Installing for build: build-base go (1/2) Installing go (1.22.2-r0) (2/2) Installing .makedepends-bird-lg-go (20240406.113010) Executing busybox-1.36.1-r25.trigger OK: 560 MiB in 109 packages >>> bird-lg-go: Cleaning up srcdir >>> bird-lg-go: Cleaning up pkgdir >>> bird-lg-go: Cleaning up tmpdir >>> bird-lg-go: Fetching https://distfiles.alpinelinux.org/distfiles/edge/bird-lg-go-1.3.7.1.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 71 697k 71 495k 0 0 1928k 0 --:--:-- --:--:-- --:--:-- 1929k 100 697k 100 697k 0 0 2689k 0 --:--:-- --:--:-- --:--:-- 2683k >>> bird-lg-go: Fetching https://distfiles.alpinelinux.org/distfiles/edge/bird-lg-go-1.3.7.1.tar.gz >>> bird-lg-go: Checking sha512sums... bird-lg-go-1.3.7.1.tar.gz: OK fix-tests.patch: OK bird-lg-go.initd: OK bird-lgproxy-go.initd: OK bird-lg.yaml: OK bird-lgproxy.yaml: OK >>> bird-lg-go: Unpacking /var/cache/distfiles/edge/bird-lg-go-1.3.7.1.tar.gz... >>> bird-lg-go: fix-tests.patch patching file frontend/bgpmap_test.go make -C frontend all make -C proxy all make[1]: Entering directory '/home/buildozer/aports/community/bird-lg-go/src/bird-lg-go-1.3.7.1/proxy' make[1]: Entering directory '/home/buildozer/aports/community/bird-lg-go/src/bird-lg-go-1.3.7.1/frontend' go build -ldflags "-w -s" -o frontend go build -ldflags "-w -s" -o proxy go: downloading github.com/spf13/pflag v1.0.5 go: downloading github.com/jarcoal/httpmock v1.3.1 go: downloading github.com/gorilla/handlers v1.5.2 go: downloading github.com/spf13/viper v1.18.2 go: downloading github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 go: downloading github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 go: downloading github.com/gorilla/handlers v1.5.2 go: downloading github.com/spf13/viper v1.18.2 go: downloading github.com/spf13/pflag v1.0.5 go: downloading github.com/felixge/httpsnoop v1.0.3 go: downloading github.com/felixge/httpsnoop v1.0.3 go: downloading github.com/sagikazarmark/slog-shim v0.1.0 go: downloading github.com/subosito/gotenv v1.6.0 go: downloading github.com/spf13/cast v1.6.0 go: downloading github.com/spf13/afero v1.11.0 go: downloading github.com/hashicorp/hcl v1.0.0 go: downloading gopkg.in/yaml.v3 v3.0.1 go: downloading gopkg.in/ini.v1 v1.67.0 go: downloading github.com/mitchellh/mapstructure v1.5.0 go: downloading github.com/fsnotify/fsnotify v1.7.0 go: downloading github.com/pelletier/go-toml/v2 v2.1.0 go: downloading github.com/magiconair/properties v1.8.7 go: downloading github.com/spf13/cast v1.6.0 go: downloading github.com/fsnotify/fsnotify v1.7.0 go: downloading github.com/spf13/afero v1.11.0 go: downloading github.com/mitchellh/mapstructure v1.5.0 go: downloading gopkg.in/yaml.v3 v3.0.1 go: downloading github.com/hashicorp/hcl v1.0.0 go: downloading github.com/magiconair/properties v1.8.7 go: downloading github.com/sagikazarmark/slog-shim v0.1.0 go: downloading github.com/pelletier/go-toml/v2 v2.1.0 go: downloading gopkg.in/ini.v1 v1.67.0 go: downloading github.com/subosito/gotenv v1.6.0 go: downloading golang.org/x/text v0.14.0 go: downloading golang.org/x/text v0.14.0 go: downloading golang.org/x/sys v0.15.0 go: downloading golang.org/x/sys v0.15.0 make[1]: Leaving directory '/home/buildozer/aports/community/bird-lg-go/src/bird-lg-go-1.3.7.1/proxy' make[1]: Leaving directory '/home/buildozer/aports/community/bird-lg-go/src/bird-lg-go-1.3.7.1/frontend' === RUN TestApiServerListHandler --- PASS: TestApiServerListHandler (0.00s) === RUN TestApiGenericHandlerFactory --- PASS: TestApiGenericHandlerFactory (0.00s) === RUN TestApiSummaryHandler --- PASS: TestApiSummaryHandler (0.00s) === RUN TestApiSummaryHandlerError --- PASS: TestApiSummaryHandlerError (0.00s) === RUN TestApiWhoisHandler --- PASS: TestApiWhoisHandler (0.00s) === RUN TestApiErrorHandler --- PASS: TestApiErrorHandler (0.00s) === RUN TestApiHandler --- PASS: TestApiHandler (0.00s) === RUN TestApiHandlerBadJSON --- PASS: TestApiHandlerBadJSON (0.00s) === RUN TestApiHandlerInvalidType --- PASS: TestApiHandlerInvalidType (0.00s) === RUN TestGetASNRepresentationDNS --- PASS: TestGetASNRepresentationDNS (1.12s) === RUN TestGetASNRepresentationDNSFallback --- PASS: TestGetASNRepresentationDNSFallback (0.29s) === RUN TestGetASNRepresentationWhois --- PASS: TestGetASNRepresentationWhois (0.33s) === RUN TestGetASNRepresentationFallback --- PASS: TestGetASNRepresentationFallback (0.00s) === RUN TestBirdRouteToGraphvizXSS --- PASS: TestBirdRouteToGraphvizXSS (0.00s) === RUN TestBirdRouteToGraph --- PASS: TestBirdRouteToGraph (0.00s) === RUN TestBirdRouteToGraphviz --- PASS: TestBirdRouteToGraphviz (0.00s) === RUN TestDN42WhoisFilter --- PASS: TestDN42WhoisFilter (0.00s) === RUN TestDN42WhoisFilterUnneeded --- PASS: TestDN42WhoisFilterUnneeded (0.00s) === RUN TestShortenWhoisFilterShorterMode --- PASS: TestShortenWhoisFilterShorterMode (0.00s) === RUN TestShortenWhoisFilterLongerMode --- PASS: TestShortenWhoisFilterLongerMode (0.00s) === RUN TestShortenWhoisFilterSkipNothing --- PASS: TestShortenWhoisFilterSkipNothing (0.00s) === RUN TestBatchRequestIPv4 --- PASS: TestBatchRequestIPv4 (0.00s) === RUN TestBatchRequestIPv6 --- PASS: TestBatchRequestIPv6 (0.00s) === RUN TestBatchRequestEmptyResponse --- PASS: TestBatchRequestEmptyResponse (0.00s) === RUN TestBatchRequestDomainSuffix --- PASS: TestBatchRequestDomainSuffix (0.00s) === RUN TestBatchRequestHTTPError --- PASS: TestBatchRequestHTTPError (0.00s) === RUN TestBatchRequestInvalidServer --- PASS: TestBatchRequestInvalidServer (0.00s) === RUN TestRenderPageTemplate --- PASS: TestRenderPageTemplate (0.00s) === RUN TestRenderPageTemplateXSS --- PASS: TestRenderPageTemplateXSS (0.00s) === RUN TestRenderPageTemplateXSS_2 --- PASS: TestRenderPageTemplateXSS_2 (0.00s) === RUN TestSmartFormatterXSS --- PASS: TestSmartFormatterXSS (0.00s) === RUN TestSummaryTableXSS --- PASS: TestSummaryTableXSS (0.00s) === RUN TestSummaryTableProtocolFilter --- PASS: TestSummaryTableProtocolFilter (0.00s) === RUN TestSummaryTableNameFilter --- PASS: TestSummaryTableNameFilter (0.00s) === RUN TestParseSettings Warning on reading config: Config File "bird-lg" Not Found in "[/home/buildozer/aports/community/bird-lg-go/src/bird-lg-go-1.3.7.1/frontend /etc/bird-lg]" main.settingType{servers:[]string{""}, serversDisplay:[]string{""}, domain:"", proxyPort:8000, whoisServer:"whois.verisign-grs.com", listen:"5000", dnsInterface:"asn.cymru.com", netSpecificMode:"", titleBrand:"Bird-lg Go", navBarBrand:"Bird-lg Go", navBarBrandURL:"/", navBarAllServer:"All Servers", navBarAllURL:"all", bgpmapInfo:"asn,as-name,ASName,descr", telegramBotName:"", protocolFilter:[]string{}, nameFilter:"", timeOut:120, connectionTimeOut:5} --- PASS: TestParseSettings (0.00s) === RUN TestTelegramIsCommand --- PASS: TestTelegramIsCommand (0.00s) === RUN TestTelegramBatchRequestFormatSingleServer --- PASS: TestTelegramBatchRequestFormatSingleServer (0.00s) === RUN TestTelegramBatchRequestFormatMultipleServers --- PASS: TestTelegramBatchRequestFormatMultipleServers (0.00s) === RUN TestWebHandlerTelegramBotBadJSON invalid character 'b' looking for beginning of object key string --- PASS: TestWebHandlerTelegramBotBadJSON (0.00s) === RUN TestWebHandlerTelegramBotTrace --- PASS: TestWebHandlerTelegramBotTrace (0.00s) === RUN TestWebHandlerTelegramBotTraceWithServerList --- PASS: TestWebHandlerTelegramBotTraceWithServerList (0.00s) === RUN TestWebHandlerTelegramBotRoute --- PASS: TestWebHandlerTelegramBotRoute (0.00s) === RUN TestWebHandlerTelegramBotPath --- PASS: TestWebHandlerTelegramBotPath (0.00s) === RUN TestWebHandlerTelegramBotPathMissing --- PASS: TestWebHandlerTelegramBotPathMissing (0.00s) === RUN TestWebHandlerTelegramBotWhois --- PASS: TestWebHandlerTelegramBotWhois (0.00s) === RUN TestWebHandlerTelegramBotWhoisDN42Mode --- PASS: TestWebHandlerTelegramBotWhoisDN42Mode (0.00s) === RUN TestWebHandlerTelegramBotWhoisDN42ModeFullASN --- PASS: TestWebHandlerTelegramBotWhoisDN42ModeFullASN (0.00s) === RUN TestWebHandlerTelegramBotWhoisShortenMode --- PASS: TestWebHandlerTelegramBotWhoisShortenMode (0.00s) === RUN TestWebHandlerTelegramBotHelp --- PASS: TestWebHandlerTelegramBotHelp (0.00s) === RUN TestWebHandlerTelegramBotUnknownCommand --- PASS: TestWebHandlerTelegramBotUnknownCommand (0.00s) === RUN TestWebHandlerTelegramBotNotCommand --- PASS: TestWebHandlerTelegramBotNotCommand (0.00s) === RUN TestWebHandlerTelegramBotEmptyResponse --- PASS: TestWebHandlerTelegramBotEmptyResponse (0.00s) === RUN TestWebHandlerTelegramBotTruncateLongResponse --- PASS: TestWebHandlerTelegramBotTruncateLongResponse (0.00s) === RUN TestSummaryRowDataNameHasPrefix --- PASS: TestSummaryRowDataNameHasPrefix (0.00s) === RUN TestSummaryRowDataNameContains --- PASS: TestSummaryRowDataNameContains (0.00s) === RUN TestServerError --- PASS: TestServerError (0.00s) === RUN TestWebHandlerWhois --- PASS: TestWebHandlerWhois (0.00s) === RUN TestWebBackendCommunicator --- PASS: TestWebBackendCommunicator (0.01s) === RUN TestWebHandlerBGPMap --- PASS: TestWebHandlerBGPMap (0.00s) === RUN TestWhois --- PASS: TestWhois (0.00s) === RUN TestWhoisWithoutServer --- PASS: TestWhoisWithoutServer (0.00s) === RUN TestWhoisConnectionError --- PASS: TestWhoisConnectionError (0.00s) === RUN TestWhoisHostProcess --- PASS: TestWhoisHostProcess (0.00s) === RUN TestWhoisHostProcessMalformedCommand --- PASS: TestWhoisHostProcessMalformedCommand (0.00s) === RUN TestWhoisHostProcessError --- PASS: TestWhoisHostProcessError (0.00s) === RUN TestWhoisHostProcessVeryLong --- PASS: TestWhoisHostProcessVeryLong (0.55s) PASS ok github.com/xddxdd/bird-lg-go/frontend 2.341s >>> bird-lg-go: Entering fakeroot... >>> bird-lg-go-openrc*: Running split function openrc... >>> bird-lg-go-openrc*: Preparing subpackage bird-lg-go-openrc... >>> bird-lg-go-openrc*: Running postcheck for bird-lg-go-openrc >>> bird-lgproxy-go*: Running split function lgproxy... '/home/buildozer/aports/community/bird-lg-go/pkg/bird-lg-go/usr/bin/bird-lgproxy-go' -> '/home/buildozer/aports/community/bird-lg-go/pkg/bird-lgproxy-go/usr/bin/bird-lgproxy-go' >>> bird-lgproxy-go*: Preparing subpackage bird-lgproxy-go... >>> bird-lgproxy-go*: Stripping binaries >>> bird-lgproxy-go*: Script found. /bin/sh added as a dependency for bird-lgproxy-go-1.3.7.1-r1.apk >>> bird-lgproxy-go*: Adding .pre-install >>> bird-lgproxy-go*: Running postcheck for bird-lgproxy-go >>> bird-lgproxy-go-openrc*: Running split function openrc... >>> bird-lgproxy-go-openrc*: Preparing subpackage bird-lgproxy-go-openrc... >>> bird-lgproxy-go-openrc*: Running postcheck for bird-lgproxy-go-openrc >>> bird-lg-go*: Running postcheck for bird-lg-go >>> bird-lg-go*: Preparing package bird-lg-go... >>> bird-lg-go*: Stripping binaries >>> bird-lg-go*: Script found. /bin/sh added as a dependency for bird-lg-go-1.3.7.1-r1.apk >>> bird-lg-go*: Adding .pre-install >>> bird-lg-go-openrc*: Scanning shared objects >>> bird-lg-go*: Scanning shared objects >>> bird-lgproxy-go-openrc*: Scanning shared objects >>> bird-lgproxy-go*: Scanning shared objects >>> bird-lg-go-openrc*: Tracing dependencies... >>> bird-lg-go-openrc*: Package size: 16.0 KB >>> bird-lg-go-openrc*: Compressing data... >>> bird-lg-go-openrc*: Create checksum... >>> bird-lg-go-openrc*: Create bird-lg-go-openrc-1.3.7.1-r1.apk >>> bird-lg-go*: Tracing dependencies... /bin/sh so:libc.musl-x86_64.so.1 >>> bird-lg-go*: Package size: 12.0 MB >>> bird-lg-go*: Compressing data... >>> bird-lg-go*: Create checksum... >>> bird-lg-go*: Create bird-lg-go-1.3.7.1-r1.apk >>> bird-lgproxy-go-openrc*: Tracing dependencies... >>> bird-lgproxy-go-openrc*: Package size: 16.0 KB >>> bird-lgproxy-go-openrc*: Compressing data... >>> bird-lgproxy-go-openrc*: Create checksum... >>> bird-lgproxy-go-openrc*: Create bird-lgproxy-go-openrc-1.3.7.1-r1.apk >>> bird-lgproxy-go*: Tracing dependencies... /bin/sh so:libc.musl-x86_64.so.1 >>> bird-lgproxy-go*: Package size: 7.0 MB >>> bird-lgproxy-go*: Compressing data... >>> bird-lgproxy-go*: Create checksum... >>> bird-lgproxy-go*: Create bird-lgproxy-go-1.3.7.1-r1.apk >>> bird-lg-go: Build complete at Sat, 06 Apr 2024 11:30:38 +0000 elapsed time 0h 0m 30s >>> bird-lg-go: Cleaning up srcdir >>> bird-lg-go: Cleaning up pkgdir >>> bird-lg-go: Uninstalling dependencies... (1/2) Purging .makedepends-bird-lg-go (20240406.113010) (2/2) Purging go (1.22.2-r0) Executing busybox-1.36.1-r25.trigger OK: 377 MiB in 107 packages >>> bird-lg-go: Updating the community/x86_64 repository index... >>> bird-lg-go: Signing the index...