>>> go-audit: Building testing/go-audit 1.1.1-r2 (using abuild 3.10.0_rc1-r2) started Wed, 02 Nov 2022 07:48:36 +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.3-r0) (5/6) Installing .makedepends-go-audit (20221102.074837) (6/6) Installing audit-openrc (3.0.9-r0) Executing busybox-1.35.0-r27.trigger OK: 702 MiB in 103 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 11 143k 11 16366 0 0 21883 0 0:00:06 --:--:-- 0:00:06 21879 100 143k 100 143k 0 0 132k 0 0:00:01 0:00:01 --:--:-- 132k >>> 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/go-audit-1.1.1.tar.gz... >>> go-audit: skip_NewNetlinkClient_test.patch patching file client_test.go go: downloading github.com/spf13/viper v0.0.0-20170217163817-7538d73b4eb9 go: downloading gopkg.in/Graylog2/go-gelf.v2 v2.0.0-20180326133423-4dbb9d721348 go: downloading gopkg.in/yaml.v2 v2.0.0-20160912165603-31c299268d30 go: downloading github.com/fsnotify/fsnotify v0.0.0-20160816051541-f12c6236fe7b go: downloading github.com/spf13/cast v0.0.0-20160730092037-e31f36ffc91a go: downloading github.com/hashicorp/hcl v0.0.0-20160902165219-99df0eb941dd go: downloading github.com/spf13/pflag v0.0.0-20160911194638-7b17cc4658ef go: downloading github.com/spf13/afero v0.0.0-20160821083612-20500e2abd0d go: downloading github.com/pelletier/go-toml v0.0.0-20160906202557-31055c2ff0bb go: downloading github.com/magiconair/properties v0.0.0-20160908093658-0723e352fa35 go: downloading github.com/spf13/jwalterweatherman v0.0.0-20160311093646-33c24e77fb80 go: downloading github.com/mitchellh/mapstructure v0.0.0-20160808181253-ca63d7c062ee go: downloading golang.org/x/text v0.3.0 go: downloading github.com/pkg/sftp v0.0.0-20160908100035-8197a2e58073 go: downloading github.com/pelletier/go-buffruneio v0.1.0 go: downloading golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b go: downloading golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 go: downloading github.com/pkg/errors v0.8.1 go: downloading github.com/kr/fs v0.0.0-20131111012553-2788f0dbd169 golang.org/x/crypto/internal/subtle github.com/hashicorp/hcl/hcl/strconv golang.org/x/text/transform github.com/pelletier/go-buffruneio golang.org/x/crypto/curve25519 golang.org/x/crypto/poly1305 golang.org/x/crypto/ed25519/internal/edwards25519 golang.org/x/crypto/internal/chacha20 github.com/kr/fs github.com/spf13/afero/mem github.com/pkg/errors github.com/spf13/jwalterweatherman gopkg.in/yaml.v2 github.com/mitchellh/mapstructure log/syslog gopkg.in/Graylog2/go-gelf.v2/gelf github.com/spf13/pflag golang.org/x/sys/unix github.com/hashicorp/hcl/hcl/token github.com/pelletier/go-toml github.com/magiconair/properties github.com/spf13/cast golang.org/x/text/unicode/norm github.com/hashicorp/hcl/hcl/ast github.com/hashicorp/hcl/json/token github.com/hashicorp/hcl/hcl/scanner github.com/hashicorp/hcl/json/scanner github.com/hashicorp/hcl/hcl/parser github.com/hashicorp/hcl/json/parser github.com/hashicorp/hcl golang.org/x/crypto/ed25519 golang.org/x/crypto/ssh github.com/fsnotify/fsnotify github.com/pkg/sftp github.com/spf13/afero/sftp github.com/spf13/afero github.com/spf13/viper github.com/slackhq/go-audit go: downloading github.com/stretchr/testify v1.2.2 === 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.110s >>> 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-r2.apk >>> go-audit*: Tracing dependencies... audit so:libc.musl-ppc64le.so.1 >>> go-audit*: Package size: 4.6 MB >>> go-audit*: Compressing data... >>> go-audit*: Create checksum... >>> go-audit*: Create go-audit-1.1.1-r2.apk >>> go-audit: Build complete at Wed, 02 Nov 2022 07:48:51 +0000 elapsed time 0h 0m 15s >>> go-audit: Cleaning up srcdir >>> go-audit: Cleaning up pkgdir >>> go-audit: Uninstalling dependencies... (1/6) Purging .makedepends-go-audit (20221102.074837) (2/6) Purging audit-openrc (3.0.9-r0) (3/6) Purging audit (3.0.9-r0) (4/6) Purging go (1.19.3-r0) (5/6) Purging audit-libs (3.0.9-r0) (6/6) Purging libcap-ng (0.8.3-r1) Executing busybox-1.35.0-r27.trigger OK: 293 MiB in 97 packages >>> go-audit: Updating the testing/ppc64le repository index... >>> go-audit: Signing the index...