>>> amazon-ssm-agent: Building community/amazon-ssm-agent 3.3.1957.0-r1 (using abuild 3.14.1-r7) started Sun, 16 Mar 2025 15:34:15 +0000
>>> amazon-ssm-agent: Validating /home/buildozer/aports/community/amazon-ssm-agent/APKBUILD...
>>> amazon-ssm-agent: Analyzing dependencies...
>>> amazon-ssm-agent: Installing for build: build-base go gcompat bash
(1/7) Installing binutils-gold (2.44-r0)
(2/7) Installing go (1.24.1-r0)
(3/7) Installing musl-obstack (1.2.3-r2)
(4/7) Installing libucontext (1.3.2-r0)
(5/7) Installing gcompat (1.1.0-r4)
(6/7) Installing bash (5.2.37-r0)
Executing bash-5.2.37-r0.post-install
(7/7) Installing .makedepends-amazon-ssm-agent (20250316.153417)
Executing busybox-1.37.0-r14.trigger
OK: 595 MiB in 110 packages
>>> amazon-ssm-agent: Cleaning up srcdir
>>> amazon-ssm-agent: Cleaning up pkgdir
>>> amazon-ssm-agent: Cleaning up tmpdir
>>> amazon-ssm-agent: Fetching https://distfiles.alpinelinux.org/distfiles/edge/amazon-ssm-agent-3.3.1957.0.tar.gz
>>> amazon-ssm-agent: Fetching https://distfiles.alpinelinux.org/distfiles/edge/amazon-ssm-agent-3.3.1957.0.tar.gz
>>> amazon-ssm-agent: Checking sha512sums...
amazon-ssm-agent-3.3.1957.0.tar.gz: OK
amazon-ssm-agent.initd: OK
001_sanitize_makefile.patch: OK
>>> amazon-ssm-agent: Unpacking /var/cache/distfiles/edge/amazon-ssm-agent-3.3.1957.0.tar.gz...
>>> amazon-ssm-agent: 001_sanitize_makefile.patch
patching file makefile
/home/buildozer/aports/community/amazon-ssm-agent/src/amazon-ssm-agent-3.3.1957.0/Tools/src/checkstyle.sh
rm -rf /home/buildozer/aports/community/amazon-ssm-agent/src/amazon-ssm-agent-3.3.1957.0/build/private/src/github.com/aws/amazon-ssm-agent
for file in /home/buildozer/aports/community/amazon-ssm-agent/src/amazon-ssm-agent-3.3.1957.0/Tools/src/*.sh; do chmod 755 $file; done
mkdir -p /home/buildozer/aports/community/amazon-ssm-agent/src/amazon-ssm-agent-3.3.1957.0/build/private/src/github.com/aws/amazon-ssm-agent
copying files to /home/buildozer/aports/community/amazon-ssm-agent/src/amazon-ssm-agent-3.3.1957.0/build/private/src/github.com/aws/amazon-ssm-agent
cp -p -r /home/buildozer/aports/community/amazon-ssm-agent/src/amazon-ssm-agent-3.3.1957.0/agent /home/buildozer/aports/community/amazon-ssm-agent/src/amazon-ssm-agent-3.3.1957.0/build/private/src/github.com/aws/amazon-ssm-agent
Run checkstyle script
Run 'gofmt'
Build amazon-ssm-agent
GOPATH=
rm -rf /home/buildozer/aports/community/amazon-ssm-agent/src/amazon-ssm-agent-3.3.1957.0/build/bin/ /home/buildozer/aports/community/amazon-ssm-agent/src/amazon-ssm-agent-3.3.1957.0/vendor/bin/
mkdir -p /home/buildozer/aports/community/amazon-ssm-agent/src/amazon-ssm-agent-3.3.1957.0/bin/
cp -p /home/buildozer/aports/community/amazon-ssm-agent/src/amazon-ssm-agent-3.3.1957.0/Tools/src/PipelineRunTests.sh /home/buildozer/aports/community/amazon-ssm-agent/src/amazon-ssm-agent-3.3.1957.0/bin/
cp -p /home/buildozer/aports/community/amazon-ssm-agent/src/amazon-ssm-agent-3.3.1957.0/LICENSE /home/buildozer/aports/community/amazon-ssm-agent/src/amazon-ssm-agent-3.3.1957.0/bin/
cp -p /home/buildozer/aports/community/amazon-ssm-agent/src/amazon-ssm-agent-3.3.1957.0/NOTICE.md /home/buildozer/aports/community/amazon-ssm-agent/src/amazon-ssm-agent-3.3.1957.0/bin/
cp -p /home/buildozer/aports/community/amazon-ssm-agent/src/amazon-ssm-agent-3.3.1957.0/amazon-ssm-agent.json.template /home/buildozer/aports/community/amazon-ssm-agent/src/amazon-ssm-agent-3.3.1957.0/bin/amazon-ssm-agent.json.template
cp -p /home/buildozer/aports/community/amazon-ssm-agent/src/amazon-ssm-agent-3.3.1957.0/seelog_unix.xml /home/buildozer/aports/community/amazon-ssm-agent/src/amazon-ssm-agent-3.3.1957.0/bin/
cp -p /home/buildozer/aports/community/amazon-ssm-agent/src/amazon-ssm-agent-3.3.1957.0/seelog_windows.xml.template /home/buildozer/aports/community/amazon-ssm-agent/src/amazon-ssm-agent-3.3.1957.0/bin/
cp -p /home/buildozer/aports/community/amazon-ssm-agent/src/amazon-ssm-agent-3.3.1957.0/agent/integration-cli/integration-cli.json /home/buildozer/aports/community/amazon-ssm-agent/src/amazon-ssm-agent-3.3.1957.0/bin/
Regenerate version file during pre-release
GOARCH= GOOS= go run /home/buildozer/aports/community/amazon-ssm-agent/src/amazon-ssm-agent-3.3.1957.0/agent/version/versiongenerator/version-gen.go
cp -p -r /home/buildozer/aports/community/amazon-ssm-agent/src/amazon-ssm-agent-3.3.1957.0/core /home/buildozer/aports/community/amazon-ssm-agent/src/amazon-ssm-agent-3.3.1957.0/build/private/src/github.com/aws/amazon-ssm-agent
cp -p -r /home/buildozer/aports/community/amazon-ssm-agent/src/amazon-ssm-agent-3.3.1957.0/common /home/buildozer/aports/community/amazon-ssm-agent/src/amazon-ssm-agent-3.3.1957.0/build/private/src/github.com/aws/amazon-ssm-agent
cp -p -r /home/buildozer/aports/community/amazon-ssm-agent/src/amazon-ssm-agent-3.3.1957.0/extra /home/buildozer/aports/community/amazon-ssm-agent/src/amazon-ssm-agent-3.3.1957.0/build/private/src/github.com/aws/amazon-ssm-agent
Run 'goimports'
/home/buildozer/aports/community/amazon-ssm-agent/src/amazon-ssm-agent-3.3.1957.0/Tools/src/checkstyle.sh: line 37: Tools/bin/goimports: No such file or directory
/home/buildozer/aports/community/amazon-ssm-agent/src/amazon-ssm-agent-3.3.1957.0/Tools/src/checkstyle.sh: line 47: Tools/bin/goimports: No such file or directory
/home/buildozer/aports/community/amazon-ssm-agent/src/amazon-ssm-agent-3.3.1957.0/Tools/src/checkstyle.sh: line 57: Tools/bin/goimports: No such file or directory
Run 'go vet'
Agent Version: 3.3.0.0cp -p /home/buildozer/aports/community/amazon-ssm-agent/src/amazon-ssm-agent-3.3.1957.0/VERSION /home/buildozer/aports/community/amazon-ssm-agent/src/amazon-ssm-agent-3.3.1957.0/bin/
cp -p /home/buildozer/aports/community/amazon-ssm-agent/src/amazon-ssm-agent-3.3.1957.0/go.mod /home/buildozer/aports/community/amazon-ssm-agent/src/amazon-ssm-agent-3.3.1957.0/build/private/src/github.com/aws/amazon-ssm-agent
cp -p /home/buildozer/aports/community/amazon-ssm-agent/src/amazon-ssm-agent-3.3.1957.0/go.sum /home/buildozer/aports/community/amazon-ssm-agent/src/amazon-ssm-agent-3.3.1957.0/build/private/src/github.com/aws/amazon-ssm-agent
cp -p -r /home/buildozer/aports/community/amazon-ssm-agent/src/amazon-ssm-agent-3.3.1957.0/vendor /home/buildozer/aports/community/amazon-ssm-agent/src/amazon-ssm-agent-3.3.1957.0/build/private/src/github.com/aws/amazon-ssm-agent/vendor
# github.com/aws/amazon-ssm-agent/agent/session/crypto
# [github.com/aws/amazon-ssm-agent/agent/session/crypto]
agent/session/crypto/blockcipher_test.go:78:37: call of BlockCipher copies lock value: github.com/aws/amazon-ssm-agent/agent/session/crypto.BlockCipher contains github.com/aws/amazon-ssm-agent/agent/session/crypto.NonceGenerator contains sync.Mutex
agent/session/crypto/nonce_test.go:50:27: call of assert.NotNil copies lock value: github.com/aws/amazon-ssm-agent/agent/session/crypto.NonceGenerator contains sync.Mutex
Build for arm64 linux agent
cd /home/buildozer/aports/community/amazon-ssm-agent/src/amazon-ssm-agent-3.3.1957.0/build/private/src/github.com/aws/amazon-ssm-agent && GOOS=linux GOARCH=arm64 go build -ldflags "-s -w -extldflags=-Wl,-z,now,-z,relro,-z,defs" -buildmode=pie -trimpath -o /home/buildozer/aports/community/amazon-ssm-agent/src/amazon-ssm-agent-3.3.1957.0/bin/linux_arm64/amazon-ssm-agent -v \
    core/agent.go core/agent_unix.go core/agent_parser.go
command-line-arguments
cd /home/buildozer/aports/community/amazon-ssm-agent/src/amazon-ssm-agent-3.3.1957.0/build/private/src/github.com/aws/amazon-ssm-agent && GOOS=linux GOARCH=arm64 go build -ldflags "-s -w -extldflags=-Wl,-z,now,-z,relro,-z,defs" -buildmode=pie -trimpath -o /home/buildozer/aports/community/amazon-ssm-agent/src/amazon-ssm-agent-3.3.1957.0/bin/linux_arm64/ssm-agent-worker -v \
    agent/agent.go agent/agent_unix.go agent/agent_parser.go
command-line-arguments
cd /home/buildozer/aports/community/amazon-ssm-agent/src/amazon-ssm-agent-3.3.1957.0/build/private/src/github.com/aws/amazon-ssm-agent && GOOS=linux GOARCH=arm64 go build -ldflags "-s -w -extldflags=-Wl,-z,now,-z,relro,-z,defs" -buildmode=pie -trimpath -o /home/buildozer/aports/community/amazon-ssm-agent/src/amazon-ssm-agent-3.3.1957.0/bin/linux_arm64/updater -v \
    agent/update/updater/updater.go agent/update/updater/updater_unix.go
command-line-arguments
cd /home/buildozer/aports/community/amazon-ssm-agent/src/amazon-ssm-agent-3.3.1957.0/build/private/src/github.com/aws/amazon-ssm-agent && GOOS=linux GOARCH=arm64 go build -ldflags "-s -w -extldflags=-Wl,-z,now,-z,relro,-z,defs" -buildmode=pie -trimpath -o /home/buildozer/aports/community/amazon-ssm-agent/src/amazon-ssm-agent-3.3.1957.0/bin/linux_arm64/ssm-cli -v \
    agent/cli-main/cli-main.go
command-line-arguments
cd /home/buildozer/aports/community/amazon-ssm-agent/src/amazon-ssm-agent-3.3.1957.0/build/private/src/github.com/aws/amazon-ssm-agent && GOOS=linux GOARCH=arm64 go build -ldflags "-s -w -extldflags=-Wl,-z,now,-z,relro,-z,defs" -buildmode=pie -trimpath -o /home/buildozer/aports/community/amazon-ssm-agent/src/amazon-ssm-agent-3.3.1957.0/bin/linux_arm64/ssm-document-worker -v \
    agent/framework/processor/executer/outofproc/worker/main.go
command-line-arguments
cd /home/buildozer/aports/community/amazon-ssm-agent/src/amazon-ssm-agent-3.3.1957.0/build/private/src/github.com/aws/amazon-ssm-agent && GOOS=linux GOARCH=arm64 go build -ldflags "-s -w -extldflags=-Wl,-z,now,-z,relro,-z,defs" -buildmode=pie -trimpath -o /home/buildozer/aports/community/amazon-ssm-agent/src/amazon-ssm-agent-3.3.1957.0/bin/linux_arm64/ssm-session-logger -v \
    agent/session/logging/main.go
command-line-arguments
cd /home/buildozer/aports/community/amazon-ssm-agent/src/amazon-ssm-agent-3.3.1957.0/build/private/src/github.com/aws/amazon-ssm-agent && GOOS=linux GOARCH=arm64 go build -ldflags "-s -w -extldflags=-Wl,-z,now,-z,relro,-z,defs" -buildmode=pie -trimpath -o /home/buildozer/aports/community/amazon-ssm-agent/src/amazon-ssm-agent-3.3.1957.0/bin/linux_arm64/ssm-session-worker -v \
    agent/framework/processor/executer/outofproc/sessionworker/main.go
command-line-arguments
cd /home/buildozer/aports/community/amazon-ssm-agent/src/amazon-ssm-agent-3.3.1957.0/build/private/src/github.com/aws/amazon-ssm-agent && GOOS=linux GOARCH=arm64 go build -ldflags "-s -w -extldflags=-Wl,-z,now,-z,relro,-z,defs" -buildmode=pie -trimpath -o /home/buildozer/aports/community/amazon-ssm-agent/src/amazon-ssm-agent-3.3.1957.0/bin/linux_arm64/ssm-setup-cli -v \
	agent/setupcli/setupcli.go
command-line-arguments
Finished building arm64 linux agent
>>> amazon-ssm-agent: Entering fakeroot...
>>> amazon-ssm-agent-openrc*: Running split function openrc...
'etc/init.d' -> '/home/buildozer/aports/community/amazon-ssm-agent/pkg/amazon-ssm-agent-openrc/etc/init.d'
>>> amazon-ssm-agent-openrc*: Preparing subpackage amazon-ssm-agent-openrc...
>>> amazon-ssm-agent-openrc*: Running postcheck for amazon-ssm-agent-openrc
>>> amazon-ssm-agent*: Running postcheck for amazon-ssm-agent
>>> amazon-ssm-agent*: Preparing package amazon-ssm-agent...
>>> amazon-ssm-agent*: Stripping binaries
>>> amazon-ssm-agent-openrc*: Scanning shared objects
>>> amazon-ssm-agent*: Scanning shared objects
>>> amazon-ssm-agent-openrc*: Tracing dependencies...
>>> amazon-ssm-agent-openrc*: Package size: 217.0 B
>>> amazon-ssm-agent-openrc*: Compressing data...
>>> amazon-ssm-agent-openrc*: Create checksum...
>>> amazon-ssm-agent-openrc*: Create amazon-ssm-agent-openrc-3.3.1957.0-r1.apk
>>> amazon-ssm-agent*: Tracing dependencies...
	so:libc.musl-aarch64.so.1
>>> amazon-ssm-agent*: Package size: 118.2 MB
>>> amazon-ssm-agent*: Compressing data...
>>> amazon-ssm-agent*: Create checksum...
>>> amazon-ssm-agent*: Create amazon-ssm-agent-3.3.1957.0-r1.apk
>>> amazon-ssm-agent: Build complete at Sun, 16 Mar 2025 15:34:38 +0000 elapsed time 0h 0m 23s
>>> amazon-ssm-agent: Cleaning up srcdir
>>> amazon-ssm-agent: Cleaning up pkgdir
>>> amazon-ssm-agent: Uninstalling dependencies...
(1/7) Purging .makedepends-amazon-ssm-agent (20250316.153417)
(2/7) Purging go (1.24.1-r0)
(3/7) Purging binutils-gold (2.44-r0)
(4/7) Purging gcompat (1.1.0-r4)
(5/7) Purging bash (5.2.37-r0)
Executing bash-5.2.37-r0.pre-deinstall
(6/7) Purging libucontext (1.3.2-r0)
(7/7) Purging musl-obstack (1.2.3-r2)
Executing busybox-1.37.0-r14.trigger
OK: 397 MiB in 103 packages
>>> amazon-ssm-agent: Updating the community/aarch64 repository index...
>>> amazon-ssm-agent: Signing the index...