>>> go-audit: Building testing/go-audit 1.1.1-r4 (using abuild 3.10.0-r0) started Wed, 08 Feb 2023 04:11:04 +0000 >>> go-audit: Checking sanity of /home/buildozer/aports/testing/go-audit/APKBUILD... >>> go-audit: Analyzing dependencies... >>> go-audit: Installing for build: build-base audit go (1/6) Installing libcap-ng (0.8.3-r1) (2/6) Installing audit-libs (3.0.9-r1) (3/6) Installing audit (3.0.9-r1) Executing audit-3.0.9-r1.pre-install (4/6) Installing go (1.20-r0) (5/6) Installing .makedepends-go-audit (20230208.041106) (6/6) Installing audit-openrc (3.0.9-r1) Executing busybox-1.36.0-r3.trigger OK: 563 MiB in 104 packages >>> go-audit: Cleaning up srcdir >>> go-audit: Cleaning up pkgdir >>> go-audit: Fetching https://distfiles.alpinelinux.org/distfiles/edge/go-audit-1.1.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 100 143k 100 143k 0 0 980k 0 --:--:-- --:--:-- --:--:-- 987k >>> go-audit: Fetching https://distfiles.alpinelinux.org/distfiles/edge/go-audit-1.1.1.tar.gz >>> go-audit: Checking sha512sums... go-audit-1.1.1.tar.gz: OK go-audit.initd: OK go-audit.confd: OK skip_NewNetlinkClient_test.patch: OK >>> go-audit: Unpacking /var/cache/distfiles/edge/go-audit-1.1.1.tar.gz... >>> go-audit: skip_NewNetlinkClient_test.patch patching file client_test.go github.com/docker/docker/api/types/events golang.org/x/crypto/internal/subtle github.com/docker/docker/api/types/image github.com/golang/groupcache/lru golang.org/x/crypto/curve25519 github.com/docker/docker/api github.com/hashicorp/hcl/hcl/strconv github.com/docker/docker/api/types/versions golang.org/x/text/transform github.com/pelletier/go-buffruneio golang.org/x/crypto/poly1305 golang.org/x/crypto/internal/chacha20 github.com/docker/docker/api/types/mount github.com/kr/fs github.com/spf13/afero/mem github.com/docker/docker/api/types/blkiodev github.com/docker/go-units golang.org/x/crypto/ed25519/internal/edwards25519 github.com/docker/docker/api/types/time github.com/pkg/errors google.golang.org/grpc/grpclog github.com/spf13/jwalterweatherman google.golang.org/grpc/codes github.com/mitchellh/mapstructure github.com/opencontainers/image-spec/specs-go github.com/docker/docker/api/types/strslice github.com/opencontainers/go-digest encoding/csv github.com/docker/docker/api/types/filters gopkg.in/yaml.v2 github.com/golang/protobuf/proto html/template github.com/docker/go-connections/nat github.com/gogo/protobuf/proto golang.org/x/net/internal/socks gopkg.in/Graylog2/go-gelf.v2/gelf log/syslog github.com/pelletier/go-toml golang.org/x/sys/unix github.com/hashicorp/hcl/hcl/token github.com/docker/distribution/registry/api/errcode net/http/httputil github.com/magiconair/properties google.golang.org/grpc/connectivity github.com/docker/go-connections/tlsconfig golang.org/x/text/unicode/norm google.golang.org/grpc/internal github.com/hashicorp/hcl/json/token github.com/hashicorp/hcl/hcl/ast github.com/hashicorp/hcl/hcl/scanner github.com/spf13/pflag github.com/docker/distribution/digestset github.com/docker/docker/api/types/container github.com/opencontainers/image-spec/specs-go/v1 golang.org/x/net/proxy github.com/docker/docker/api/types/registry github.com/hashicorp/hcl/json/scanner github.com/docker/distribution/reference github.com/hashicorp/hcl/hcl/parser github.com/docker/go-connections/sockets github.com/hashicorp/hcl/json/parser golang.org/x/crypto/ed25519 github.com/hashicorp/hcl golang.org/x/crypto/ssh github.com/spf13/cast github.com/fsnotify/fsnotify github.com/sirupsen/logrus github.com/golang/protobuf/ptypes/any github.com/golang/protobuf/ptypes/duration github.com/golang/protobuf/ptypes/timestamp google.golang.org/genproto/googleapis/rpc/status github.com/golang/protobuf/ptypes github.com/pkg/sftp google.golang.org/grpc/status github.com/docker/docker/errdefs github.com/docker/docker/api/types/network github.com/docker/docker/api/types/swarm/runtime github.com/spf13/afero/sftp github.com/spf13/afero github.com/docker/docker/api/types/swarm github.com/docker/docker/api/types github.com/docker/docker/api/types/volume github.com/docker/docker/client github.com/spf13/viper github.com/slackhq/go-audit === RUN Test_loadConfig --- PASS: Test_loadConfig (0.00s) === RUN Test_setRules Flushed existing audit rules Flushed existing audit rules Flushed existing audit rules Added audit rule #1 Added audit rule #3 --- PASS: Test_setRules (0.00s) === RUN Test_createFileOutput --- PASS: Test_createFileOutput (0.01s) === RUN Test_createSyslogOutput --- PASS: Test_createSyslogOutput (0.00s) === RUN Test_createStdOutOutput --- PASS: Test_createStdOutOutput (0.00s) === RUN Test_createGELFOutput === RUN Test_createGELFOutput/When_attempts_is_less_than_one,_should_retun_an_expected_error === RUN Test_createGELFOutput/When_address_is_not_set,_should_return_an_expected_error === RUN Test_createGELFOutput/When_using_UDP_network,_should_return_a_gelf.UDPWriter_writer === RUN Test_createGELFOutput/When_using_TCP_network,_should_return_a_gelf.TCPWriter_writer === RUN Test_createGELFOutput/When_using_an_unsupported_network_(not_UDP_or_TCP),_should_return_an_expected_error === RUN Test_createGELFOutput/When_using_a_custom_compreession_settings,_should_return_a_gelf.UPDWriter_with_expected_compression_value --- PASS: Test_createGELFOutput (0.00s) --- PASS: Test_createGELFOutput/When_attempts_is_less_than_one,_should_retun_an_expected_error (0.00s) --- PASS: Test_createGELFOutput/When_address_is_not_set,_should_return_an_expected_error (0.00s) --- PASS: Test_createGELFOutput/When_using_UDP_network,_should_return_a_gelf.UDPWriter_writer (0.00s) --- PASS: Test_createGELFOutput/When_using_TCP_network,_should_return_a_gelf.TCPWriter_writer (0.00s) --- PASS: Test_createGELFOutput/When_using_an_unsupported_network_(not_UDP_or_TCP),_should_return_an_expected_error (0.00s) --- PASS: Test_createGELFOutput/When_using_a_custom_compreession_settings,_should_return_a_gelf.UPDWriter_with_expected_compression_value (0.00s) === RUN Test_createOutput --- PASS: Test_createOutput (0.10s) === RUN Test_createFilters --- PASS: Test_createFilters (0.00s) === RUN TestNetlinkClient_KeepConnection --- PASS: TestNetlinkClient_KeepConnection (0.00s) === RUN TestNetlinkClient_SendReceive --- PASS: TestNetlinkClient_SendReceive (0.00s) === RUN TestGetPid --- PASS: TestGetPid (0.00s) === RUN TestMarshallerConstants --- PASS: TestMarshallerConstants (0.00s) === RUN TestAuditMarshaller_Consume --- PASS: TestAuditMarshaller_Consume (2.00s) === RUN TestAuditMarshaller_completeMessage marshaller_test.go:124: --- SKIP: TestAuditMarshaller_completeMessage (0.00s) === RUN TestAuditConstants --- PASS: TestAuditConstants (0.00s) === RUN TestNewAuditMessage --- PASS: TestNewAuditMessage (0.00s) === RUN TestAuditMessageGroup_AddMessage --- PASS: TestAuditMessageGroup_AddMessage (0.00s) === RUN TestNewAuditMessageGroup --- PASS: TestNewAuditMessageGroup (0.00s) === RUN Test_getUsername --- PASS: Test_getUsername (0.00s) === RUN TestAuditMessageGroup_mapUids --- PASS: TestAuditMessageGroup_mapUids (0.00s) PASS ok github.com/slackhq/go-audit 2.131s >>> go-audit: Entering fakeroot... >>> go-audit-openrc*: Running split function openrc... >>> go-audit-openrc*: Preparing subpackage go-audit-openrc... >>> go-audit-openrc*: Running postcheck for go-audit-openrc >>> go-audit*: Running postcheck for go-audit >>> go-audit*: Preparing package go-audit... >>> go-audit*: Stripping binaries >>> go-audit-openrc*: Scanning shared objects >>> go-audit*: Scanning shared objects >>> go-audit-openrc*: Tracing dependencies... >>> go-audit-openrc*: Package size: 24.0 KB >>> go-audit-openrc*: Compressing data... >>> go-audit-openrc*: Create checksum... >>> go-audit-openrc*: Create go-audit-openrc-1.1.1-r4.apk >>> go-audit*: Tracing dependencies... audit so:libc.musl-x86_64.so.1 >>> go-audit*: Package size: 9.7 MB >>> go-audit*: Compressing data... >>> go-audit*: Create checksum... >>> go-audit*: Create go-audit-1.1.1-r4.apk >>> go-audit: Build complete at Wed, 08 Feb 2023 04:11:23 +0000 elapsed time 0h 0m 19s >>> go-audit: Cleaning up srcdir >>> go-audit: Cleaning up pkgdir >>> go-audit: Uninstalling dependencies... (1/6) Purging .makedepends-go-audit (20230208.041106) (2/6) Purging audit-openrc (3.0.9-r1) (3/6) Purging audit (3.0.9-r1) (4/6) Purging go (1.20-r0) (5/6) Purging audit-libs (3.0.9-r1) (6/6) Purging libcap-ng (0.8.3-r1) Executing busybox-1.36.0-r3.trigger OK: 392 MiB in 98 packages >>> go-audit: Updating the testing/x86_64 repository index... >>> go-audit: Signing the index...