>>> go-audit: Building testing/go-audit 1.1.1-r1 (using abuild 3.10.0_rc1-r2) started Fri, 07 Oct 2022 22:06:28 +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/7) Installing libcap-ng (0.8.3-r1) (2/7) Installing audit-libs (3.0.9-r0) (3/7) Installing audit (3.0.9-r0) Executing audit-3.0.9-r0.pre-install (4/7) Installing binutils-gold (2.39-r2) (5/7) Installing go (1.19.2-r0) (6/7) Installing .makedepends-go-audit (20221007.220629) (7/7) Installing audit-openrc (3.0.9-r0) Executing busybox-1.35.0-r27.trigger OK: 673 MiB in 110 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 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 100 143k 100 143k 0 0 103k 0 0:00:01 0:00:01 --:--:-- 103k >>> 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/hashicorp/hcl/hcl/strconv github.com/pelletier/go-buffruneio golang.org/x/text/transform html golang.org/x/crypto/curve25519 golang.org/x/crypto/poly1305 golang.org/x/crypto/ed25519/internal/edwards25519 github.com/kr/fs github.com/spf13/jwalterweatherman github.com/pkg/errors github.com/spf13/afero/mem text/template/parse github.com/mitchellh/mapstructure gopkg.in/yaml.v2 golang.org/x/crypto/internal/chacha20 github.com/pelletier/go-toml github.com/hashicorp/hcl/hcl/token os/user gopkg.in/Graylog2/go-gelf.v2/gelf log/syslog github.com/spf13/pflag golang.org/x/sys/unix github.com/magiconair/properties github.com/hashicorp/hcl/hcl/ast github.com/hashicorp/hcl/json/token github.com/hashicorp/hcl/hcl/scanner golang.org/x/text/unicode/norm github.com/hashicorp/hcl/json/scanner github.com/hashicorp/hcl/hcl/parser github.com/hashicorp/hcl/json/parser golang.org/x/crypto/ed25519 github.com/hashicorp/hcl text/template golang.org/x/crypto/ssh github.com/fsnotify/fsnotify html/template github.com/spf13/cast github.com/pkg/sftp github.com/spf13/afero/sftp github.com/spf13/afero 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.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.199s >>> 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-r1.apk >>> go-audit*: Tracing dependencies... audit so:libc.musl-armv7.so.1 >>> go-audit*: Package size: 4.4 MB >>> go-audit*: Compressing data... >>> go-audit*: Create checksum... >>> go-audit*: Create go-audit-1.1.1-r1.apk >>> go-audit: Build complete at Fri, 07 Oct 2022 22:06:43 +0000 elapsed time 0h 0m 15s >>> go-audit: Cleaning up srcdir >>> go-audit: Cleaning up pkgdir >>> go-audit: Uninstalling dependencies... (1/7) Purging .makedepends-go-audit (20221007.220629) (2/7) Purging audit-openrc (3.0.9-r0) (3/7) Purging audit (3.0.9-r0) (4/7) Purging go (1.19.2-r0) (5/7) Purging binutils-gold (2.39-r2) (6/7) Purging audit-libs (3.0.9-r0) (7/7) Purging libcap-ng (0.8.3-r1) Executing busybox-1.35.0-r27.trigger OK: 290 MiB in 103 packages >>> go-audit: Updating the testing/armv7 repository index... >>> go-audit: Signing the index...