>>> go-audit: Building testing/go-audit 1.1.1-r3 (using abuild 3.10.0-r0) started Thu, 08 Dec 2022 10:35:46 +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-r0) (3/6) Installing audit (3.0.9-r0) Executing audit-3.0.9-r0.pre-install (4/6) Installing go (1.19.4-r0) (5/6) Installing .makedepends-go-audit (20221208.103547) (6/6) Installing audit-openrc (3.0.9-r0) Executing busybox-1.35.0-r29.trigger OK: 802 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 971k 0 --:--:-- --:--:-- --:--:-- 973k >>> 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 golang.org/x/crypto/internal/subtle github.com/docker/docker/api/types/events golang.org/x/crypto/curve25519 github.com/docker/docker/api github.com/golang/groupcache/lru github.com/docker/docker/api/types/image github.com/hashicorp/hcl/hcl/strconv golang.org/x/text/transform github.com/docker/docker/api/types/versions 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 golang.org/x/crypto/ed25519/internal/edwards25519 github.com/docker/docker/api/types/time github.com/docker/docker/api/types/blkiodev github.com/docker/go-units github.com/pkg/errors google.golang.org/grpc/codes github.com/spf13/jwalterweatherman google.golang.org/grpc/grpclog github.com/opencontainers/image-spec/specs-go github.com/opencontainers/go-digest github.com/docker/docker/api/types/strslice github.com/mitchellh/mapstructure gopkg.in/yaml.v2 github.com/golang/protobuf/proto github.com/docker/docker/api/types/filters html/template github.com/gogo/protobuf/proto github.com/docker/go-connections/nat golang.org/x/net/internal/socks gopkg.in/Graylog2/go-gelf.v2/gelf github.com/spf13/pflag 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 github.com/docker/go-connections/tlsconfig golang.org/x/text/unicode/norm google.golang.org/grpc/connectivity github.com/hashicorp/hcl/hcl/ast github.com/hashicorp/hcl/json/token github.com/hashicorp/hcl/hcl/scanner github.com/docker/docker/api/types/container github.com/docker/distribution/digestset github.com/opencontainers/image-spec/specs-go/v1 google.golang.org/grpc/internal golang.org/x/net/proxy github.com/hashicorp/hcl/json/scanner github.com/docker/docker/api/types/registry github.com/hashicorp/hcl/hcl/parser golang.org/x/crypto/ed25519 github.com/docker/distribution/reference github.com/hashicorp/hcl/json/parser github.com/docker/go-connections/sockets golang.org/x/crypto/ssh github.com/hashicorp/hcl github.com/spf13/cast github.com/fsnotify/fsnotify github.com/sirupsen/logrus github.com/golang/protobuf/ptypes/any github.com/golang/protobuf/ptypes/timestamp github.com/golang/protobuf/ptypes/duration 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/docker/docker/api/types/swarm github.com/spf13/afero 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.74s) === 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.00s) === 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.857s >>> 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-r3.apk >>> go-audit*: Tracing dependencies... audit so:libc.musl-x86_64.so.1 >>> go-audit*: Package size: 9.5 MB >>> go-audit*: Compressing data... >>> go-audit*: Create checksum... >>> go-audit*: Create go-audit-1.1.1-r3.apk >>> go-audit: Build complete at Thu, 08 Dec 2022 10:36:05 +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 (20221208.103547) (2/6) Purging audit-openrc (3.0.9-r0) (3/6) Purging audit (3.0.9-r0) (4/6) Purging go (1.19.4-r0) (5/6) Purging audit-libs (3.0.9-r0) (6/6) Purging libcap-ng (0.8.3-r1) Executing busybox-1.35.0-r29.trigger OK: 393 MiB in 98 packages >>> go-audit: Updating the testing/x86_64 repository index... >>> go-audit: Signing the index...