Closed cbittencourt closed 1 week ago
Noticed the following error when building al2023. It may have been there before.
amazon-ebs.al2023: Running scriptlet: microcode_ctl-2:2.1-53.amzn2023.0.9.x86_64 23/23 amazon-ebs.al2023: warning: %posttrans(microcode_ctl-2:2.1-53.amzn2023.0.9.x86_64) scriptlet failed, exit status 1 amazon-ebs.al2023: ==> amazon-ebs.al2023: Error in POSTTRANS scriptlet in rpm package microcode_ctl
The build continues and an AMI is generated. So I don't know what issues, if any, would occur due to this issue.
No scriptlet failure
$ docker info Client: Version: 24.0.5 Context: default Debug Mode: false Plugins: buildx: Docker Buildx (Docker Inc.) Version: v0.11.2 Path: /usr/libexec/docker/cli-plugins/docker-buildx compose: Docker Compose (Docker Inc.) Version: v2.20.3 Path: /usr/libexec/docker/cli-plugins/docker-compose Server: Containers: 0 Running: 0 Paused: 0 Stopped: 0 Images: 0 Server Version: 24.0.5 Storage Driver: overlay2 Backing Filesystem: extfs Supports d_type: true Using metacopy: false Native Overlay Diff: true userxattr: false Logging Driver: json-file Cgroup Driver: systemd Cgroup Version: 2 Plugins: Volume: local Network: bridge host ipvlan macvlan null overlay Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog Swarm: inactive Runtimes: io.containerd.runc.v2 runc Default Runtime: runc Init Binary: docker-init containerd version: 3dce8eb055cbb6872793272b4f20ed16117344f8 runc version: init version: de40ad0 Security Options: apparmor seccomp Profile: builtin cgroupns Kernel Version: 6.8.0-45-generic Operating System: Ubuntu Core 22 OSType: linux Architecture: x86_64 CPUs: 1 Total Memory: 3.824GiB Name: buildbox ID: 385549a1-7b77-4fce-8f6b-b39f1dc48b8e Docker Root Dir: /var/snap/docker/common/var-lib-docker Debug Mode: false Experimental: false Insecure Registries: 127.0.0.0/8 Live Restore Enabled: false
$ packer --version Packer v1.11.0
The issue is gone after rebasing and rerunning the build.
Summary
Noticed the following error when building al2023. It may have been there before.
Description
The build continues and an AMI is generated. So I don't know what issues, if any, would occur due to this issue.
Expected Behavior
No scriptlet failure
Observed Behavior
Environment Details
Supporting Log Snippets