Skip to content

Deprecate k8s 1.31 - #4997

Draft
vyaghras wants to merge 4 commits into
bottlerocket-os:developfrom
vyaghras:deprecate_k8s_1.31
Draft

vyaghras wants to merge 4 commits into
bottlerocket-os:developfrom
vyaghras:deprecate_k8s_1.31

Conversation

@vyaghras

@vyaghras vyaghras commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

Issue number:

Closes #

Description of changes:

  • Deprecate K8s-1.31 variants

Testing done:

  • Fails to build all K8s-1.31 variants.
cargo make -e BUILDSYS_VARIANT=aws-k8s-1.31 -e BUILDSYS_ARCH=x86_64
[cargo-make] INFO - cargo make 0.37.23
[cargo-make] INFO - 
[cargo-make] INFO - Build File: Makefile.toml
[cargo-make] INFO - Task: default
[cargo-make] INFO - Profile: development
[cargo-make] INFO - Running Task: install-twoliter
Found Twoliter v0.25.1 installed.
Skipping installation.
[cargo-make] INFO - Execute Command: "/home/ec2-user/bottlerocket/tools/twoliter/twoliter" "--log-level=info" "fetch" "--project-path=/home/ec2-user/bottlerocket/Twoliter.toml" "--arch=x86_64"
[2026-11-05T19:45:28Z WARN  twoliter::project] A Release.toml file was found. Release.toml is deprecated. Please remove it from your project.
[2026-11-05T19:45:28Z INFO  twoliter::project::lock] Resolving project references to check against lock file
[2026-11-05T19:45:28Z INFO  twoliter::project::lock::image] Resolving dependency image dependency 'bottlerocket-kernel-kit-9.4.1@public.ecr.aws/bottlerocket/bottlerocket-kernel-kit:v9.4.1'.
[2026-11-05T19:45:29Z INFO  twoliter::project::lock::image] Resolving dependency image dependency 'bottlerocket-core-kit-17.2.0@public.ecr.aws/bottlerocket/bottlerocket-core-kit:v17.2.0'.
[2026-11-05T19:45:31Z INFO  twoliter::project::lock::image] Resolving dependency image dependency 'bottlerocket-sdk-0.80.0@public.ecr.aws/bottlerocket/bottlerocket-sdk:v0.80.0'.
[2026-11-05T19:45:32Z INFO  twoliter::project::lock] Extracting kit dependencies. dependencies=["bottlerocket-kernel-kit-9.4.1@bottlerocket (public.ecr.aws/bottlerocket/bottlerocket-kernel-kit:v9.4.1)", "bottlerocket-core-kit-17.2.0@bottlerocket (public.ecr.aws/bottlerocket/bottlerocket-core-kit:v17.2.0)"]
[2026-11-05T19:45:32Z INFO  twoliter::project::lock::image] Extracting kit 'bottlerocket-kernel-kit' to '/home/ec2-user/bottlerocket/build/external-kits'
[2026-11-05T19:45:32Z INFO  twoliter::project::lock::image] Extracting kit 'bottlerocket-core-kit' to '/home/ec2-user/bottlerocket/build/external-kits'
[2026-11-05T19:45:32Z INFO  twoliter::project::lock] Finished fetching kit dependencies.
[cargo-make] INFO - Running Task: install-twoliter
Found Twoliter v0.25.1 installed.
Skipping installation.
[cargo-make] INFO - Execute Command: "/home/ec2-user/bottlerocket/tools/twoliter/twoliter" "--log-level=info" "make" "default" "--project-path=/home/ec2-user/bottlerocket/Twoliter.toml" "--cargo-home=/home/ec2-user/bottlerocket/.cargo" "--"
[2026-11-05T19:45:32Z WARN  twoliter::project] A Release.toml file was found. Release.toml is deprecated. Please remove it from your project.
[2026-11-05T19:45:32Z INFO  twoliter::project::lock] Resolving project references to check against lock file
[2026-11-05T19:45:32Z INFO  twoliter::project::lock::image] Resolving dependency image dependency 'bottlerocket-kernel-kit-9.4.1@public.ecr.aws/bottlerocket/bottlerocket-kernel-kit:v9.4.1'.
[2026-11-05T19:45:33Z INFO  twoliter::project::lock::image] Resolving dependency image dependency 'bottlerocket-core-kit-17.2.0@public.ecr.aws/bottlerocket/bottlerocket-core-kit:v17.2.0'.
[2026-11-05T19:45:35Z INFO  twoliter::project::lock::image] Resolving dependency image dependency 'bottlerocket-sdk-0.80.0@public.ecr.aws/bottlerocket/bottlerocket-sdk:v0.80.0'.
[2026-11-05T19:45:35Z INFO  twoliter::project::lock] Extracting kit dependencies. dependencies=["bottlerocket-kernel-kit-9.4.1@bottlerocket (public.ecr.aws/bottlerocket/bottlerocket-kernel-kit:v9.4.1)", "bottlerocket-core-kit-17.2.0@bottlerocket (public.ecr.aws/bottlerocket/bottlerocket-core-kit:v17.2.0)"]
[2026-11-05T19:45:35Z INFO  twoliter::project::lock::image] Extracting kit 'bottlerocket-kernel-kit' to '/home/ec2-user/bottlerocket/build/external-kits'
[2026-11-05T19:45:35Z INFO  twoliter::project::lock::image] Extracting kit 'bottlerocket-core-kit' to '/home/ec2-user/bottlerocket/build/external-kits'
[2026-11-05T19:45:36Z INFO  twoliter::project::lock] Finished fetching kit dependencies.
[cargo-make][1] INFO - 
[cargo-make][1] INFO - Build File: /home/ec2-user/bottlerocket/build/tools/Makefile.toml
[cargo-make][1] INFO - Task: default
[cargo-make][1] INFO - Profile: development
[cargo-make][1] INFO - Running Task: setup
[cargo-make][1] INFO - Running Task: setup-build
[cargo-make][1] INFO - Running Task: fetch-sdk
[cargo-make][1] INFO - Running Task: fetch-sources
[cargo-make][1] INFO - Running Task: fetch-vendored
[cargo-make][1] INFO - Running Task: check-licenses
bans ok, licenses ok, sources ok
[cargo-make][1] INFO - Running Task: build-sbkeys
Failed to read manifest file '/home/ec2-user/bottlerocket/variants/aws-k8s-1.31/Cargo.toml': No such file or directory (os error 2)
Error while executing command, exit code: 1
Error: Command was unsuccessful, exit code 105
Error while executing command, exit code: 1
[ec2-user@ip-172-31-11-68 bottlerocket]$ cargo make -e BUILDSYS_VARIANT=aws-k8s-1.31-nvidia -e BUILDSYS_ARCH=x86_64
[cargo-make] INFO - cargo make 0.37.23
[cargo-make] INFO - 
[cargo-make] INFO - Build File: Makefile.toml
[cargo-make] INFO - Task: default
[cargo-make] INFO - Profile: development
[cargo-make] INFO - Running Task: install-twoliter
Found Twoliter v0.25.1 installed.
Skipping installation.
[cargo-make] INFO - Execute Command: "/home/ec2-user/bottlerocket/tools/twoliter/twoliter" "--log-level=info" "fetch" "--project-path=/home/ec2-user/bottlerocket/Twoliter.toml" "--arch=x86_64"
[2026-11-05T19:45:57Z WARN  twoliter::project] A Release.toml file was found. Release.toml is deprecated. Please remove it from your project.
[2026-11-05T19:45:57Z INFO  twoliter::project::lock] Resolving project references to check against lock file
[2026-11-05T19:45:57Z INFO  twoliter::project::lock::image] Resolving dependency image dependency 'bottlerocket-kernel-kit-9.4.1@public.ecr.aws/bottlerocket/bottlerocket-kernel-kit:v9.4.1'.
[2026-11-05T19:45:58Z INFO  twoliter::project::lock::image] Resolving dependency image dependency 'bottlerocket-core-kit-17.2.0@public.ecr.aws/bottlerocket/bottlerocket-core-kit:v17.2.0'.
[2026-11-05T19:46:00Z INFO  twoliter::project::lock::image] Resolving dependency image dependency 'bottlerocket-sdk-0.80.0@public.ecr.aws/bottlerocket/bottlerocket-sdk:v0.80.0'.
[2026-11-05T19:46:01Z INFO  twoliter::project::lock] Extracting kit dependencies. dependencies=["bottlerocket-kernel-kit-9.4.1@bottlerocket (public.ecr.aws/bottlerocket/bottlerocket-kernel-kit:v9.4.1)", "bottlerocket-core-kit-17.2.0@bottlerocket (public.ecr.aws/bottlerocket/bottlerocket-core-kit:v17.2.0)"]
[2026-11-05T19:46:01Z INFO  twoliter::project::lock::image] Extracting kit 'bottlerocket-kernel-kit' to '/home/ec2-user/bottlerocket/build/external-kits'
[2026-11-05T19:46:01Z INFO  twoliter::project::lock::image] Extracting kit 'bottlerocket-core-kit' to '/home/ec2-user/bottlerocket/build/external-kits'
[2026-11-05T19:46:01Z INFO  twoliter::project::lock] Finished fetching kit dependencies.
[cargo-make] INFO - Running Task: install-twoliter
Found Twoliter v0.25.1 installed.
Skipping installation.
[cargo-make] INFO - Execute Command: "/home/ec2-user/bottlerocket/tools/twoliter/twoliter" "--log-level=info" "make" "default" "--project-path=/home/ec2-user/bottlerocket/Twoliter.toml" "--cargo-home=/home/ec2-user/bottlerocket/.cargo" "--"
[2026-11-05T19:46:01Z WARN  twoliter::project] A Release.toml file was found. Release.toml is deprecated. Please remove it from your project.
[2026-11-05T19:46:01Z INFO  twoliter::project::lock] Resolving project references to check against lock file
[2026-11-05T19:46:01Z INFO  twoliter::project::lock::image] Resolving dependency image dependency 'bottlerocket-kernel-kit-9.4.1@public.ecr.aws/bottlerocket/bottlerocket-kernel-kit:v9.4.1'.
[2026-11-05T19:46:03Z INFO  twoliter::project::lock::image] Resolving dependency image dependency 'bottlerocket-core-kit-17.2.0@public.ecr.aws/bottlerocket/bottlerocket-core-kit:v17.2.0'.
[2026-11-05T19:46:04Z INFO  twoliter::project::lock::image] Resolving dependency image dependency 'bottlerocket-sdk-0.80.0@public.ecr.aws/bottlerocket/bottlerocket-sdk:v0.80.0'.
[2026-11-05T19:46:05Z INFO  twoliter::project::lock] Extracting kit dependencies. dependencies=["bottlerocket-kernel-kit-9.4.1@bottlerocket (public.ecr.aws/bottlerocket/bottlerocket-kernel-kit:v9.4.1)", "bottlerocket-core-kit-17.2.0@bottlerocket (public.ecr.aws/bottlerocket/bottlerocket-core-kit:v17.2.0)"]
[2026-11-05T19:46:05Z INFO  twoliter::project::lock::image] Extracting kit 'bottlerocket-kernel-kit' to '/home/ec2-user/bottlerocket/build/external-kits'
[2026-11-05T19:46:05Z INFO  twoliter::project::lock::image] Extracting kit 'bottlerocket-core-kit' to '/home/ec2-user/bottlerocket/build/external-kits'
[2026-11-05T19:46:05Z INFO  twoliter::project::lock] Finished fetching kit dependencies.
[cargo-make][1] INFO - 
[cargo-make][1] INFO - Build File: /home/ec2-user/bottlerocket/build/tools/Makefile.toml
[cargo-make][1] INFO - Task: default
[cargo-make][1] INFO - Profile: development
[cargo-make][1] INFO - Running Task: setup
[cargo-make][1] INFO - Running Task: setup-build
[cargo-make][1] INFO - Running Task: fetch-sdk
[cargo-make][1] INFO - Running Task: fetch-sources
[cargo-make][1] INFO - Running Task: fetch-vendored
[cargo-make][1] INFO - Running Task: check-licenses
bans ok, licenses ok, sources ok
[cargo-make][1] INFO - Running Task: build-sbkeys
Failed to read manifest file '/home/ec2-user/bottlerocket/variants/aws-k8s-1.31-nvidia/Cargo.toml': No such file or directory (os error 2)
Error while executing command, exit code: 1
Error: Command was unsuccessful, exit code 105
Error while executing command, exit code: 1
[ec2-user@ip-172-31-11-68 bottlerocket]$ cargo make -e BUILDSYS_VARIANT=aws-k8s-1.31-nvidia-fips -e BUILDSYS_ARCH=x86_64
[cargo-make] INFO - cargo make 0.37.23
[cargo-make] INFO - 
[cargo-make] INFO - Build File: Makefile.toml
[cargo-make] INFO - Task: default
[cargo-make] INFO - Profile: development
[cargo-make] INFO - Running Task: install-twoliter
Found Twoliter v0.25.1 installed.
Skipping installation.
[cargo-make] INFO - Execute Command: "/home/ec2-user/bottlerocket/tools/twoliter/twoliter" "--log-level=info" "fetch" "--project-path=/home/ec2-user/bottlerocket/Twoliter.toml" "--arch=x86_64"
[2026-11-05T19:46:16Z WARN  twoliter::project] A Release.toml file was found. Release.toml is deprecated. Please remove it from your project.
[2026-11-05T19:46:16Z INFO  twoliter::project::lock] Resolving project references to check against lock file
[2026-11-05T19:46:16Z INFO  twoliter::project::lock::image] Resolving dependency image dependency 'bottlerocket-kernel-kit-9.4.1@public.ecr.aws/bottlerocket/bottlerocket-kernel-kit:v9.4.1'.
[2026-11-05T19:46:17Z INFO  twoliter::project::lock::image] Resolving dependency image dependency 'bottlerocket-core-kit-17.2.0@public.ecr.aws/bottlerocket/bottlerocket-core-kit:v17.2.0'.
[2026-11-05T19:46:19Z INFO  twoliter::project::lock::image] Resolving dependency image dependency 'bottlerocket-sdk-0.80.0@public.ecr.aws/bottlerocket/bottlerocket-sdk:v0.80.0'.
[2026-11-05T19:46:19Z INFO  twoliter::project::lock] Extracting kit dependencies. dependencies=["bottlerocket-kernel-kit-9.4.1@bottlerocket (public.ecr.aws/bottlerocket/bottlerocket-kernel-kit:v9.4.1)", "bottlerocket-core-kit-17.2.0@bottlerocket (public.ecr.aws/bottlerocket/bottlerocket-core-kit:v17.2.0)"]
[2026-11-05T19:46:19Z INFO  twoliter::project::lock::image] Extracting kit 'bottlerocket-kernel-kit' to '/home/ec2-user/bottlerocket/build/external-kits'
[2026-11-05T19:46:19Z INFO  twoliter::project::lock::image] Extracting kit 'bottlerocket-core-kit' to '/home/ec2-user/bottlerocket/build/external-kits'
[2026-11-05T19:46:19Z INFO  twoliter::project::lock] Finished fetching kit dependencies.
[cargo-make] INFO - Running Task: install-twoliter
Found Twoliter v0.25.1 installed.
Skipping installation.
[cargo-make] INFO - Execute Command: "/home/ec2-user/bottlerocket/tools/twoliter/twoliter" "--log-level=info" "make" "default" "--project-path=/home/ec2-user/bottlerocket/Twoliter.toml" "--cargo-home=/home/ec2-user/bottlerocket/.cargo" "--"
[2026-11-05T19:46:19Z WARN  twoliter::project] A Release.toml file was found. Release.toml is deprecated. Please remove it from your project.
[2026-11-05T19:46:19Z INFO  twoliter::project::lock] Resolving project references to check against lock file
[2026-11-05T19:46:20Z INFO  twoliter::project::lock::image] Resolving dependency image dependency 'bottlerocket-kernel-kit-9.4.1@public.ecr.aws/bottlerocket/bottlerocket-kernel-kit:v9.4.1'.
[2026-11-05T19:46:21Z INFO  twoliter::project::lock::image] Resolving dependency image dependency 'bottlerocket-core-kit-17.2.0@public.ecr.aws/bottlerocket/bottlerocket-core-kit:v17.2.0'.
[2026-11-05T19:46:22Z INFO  twoliter::project::lock::image] Resolving dependency image dependency 'bottlerocket-sdk-0.80.0@public.ecr.aws/bottlerocket/bottlerocket-sdk:v0.80.0'.
[2026-11-05T19:46:23Z INFO  twoliter::project::lock] Extracting kit dependencies. dependencies=["bottlerocket-kernel-kit-9.4.1@bottlerocket (public.ecr.aws/bottlerocket/bottlerocket-kernel-kit:v9.4.1)", "bottlerocket-core-kit-17.2.0@bottlerocket (public.ecr.aws/bottlerocket/bottlerocket-core-kit:v17.2.0)"]
[2026-11-05T19:46:23Z INFO  twoliter::project::lock::image] Extracting kit 'bottlerocket-kernel-kit' to '/home/ec2-user/bottlerocket/build/external-kits'
[2026-11-05T19:46:23Z INFO  twoliter::project::lock::image] Extracting kit 'bottlerocket-core-kit' to '/home/ec2-user/bottlerocket/build/external-kits'
[2026-11-05T19:46:23Z INFO  twoliter::project::lock] Finished fetching kit dependencies.
[cargo-make][1] INFO - 
[cargo-make][1] INFO - Build File: /home/ec2-user/bottlerocket/build/tools/Makefile.toml
[cargo-make][1] INFO - Task: default
[cargo-make][1] INFO - Profile: development
[cargo-make][1] INFO - Running Task: setup
[cargo-make][1] INFO - Running Task: setup-build
[cargo-make][1] INFO - Running Task: fetch-sdk
[cargo-make][1] INFO - Running Task: fetch-sources
[cargo-make][1] INFO - Running Task: fetch-vendored
[cargo-make][1] INFO - Running Task: check-licenses
bans ok, licenses ok, sources ok
[cargo-make][1] INFO - Running Task: build-sbkeys
Failed to read manifest file '/home/ec2-user/bottlerocket/variants/aws-k8s-1.31-nvidia-fips/Cargo.toml': No such file or directory (os error 2)
Error while executing command, exit code: 1
Error: Command was unsuccessful, exit code 105
Error while executing command, exit code: 1
[ec2-user@ip-172-31-11-68 bottlerocket]$ cargo make -e BUILDSYS_VARIANT=aws-k8s-1.31-fips -e BUILDSYS_ARCH=x86_64
[cargo-make] INFO - cargo make 0.37.23
[cargo-make] INFO - 
[cargo-make] INFO - Build File: Makefile.toml
[cargo-make] INFO - Task: default
[cargo-make] INFO - Profile: development
[cargo-make] INFO - Running Task: install-twoliter
Found Twoliter v0.25.1 installed.
Skipping installation.
[cargo-make] INFO - Execute Command: "/home/ec2-user/bottlerocket/tools/twoliter/twoliter" "--log-level=info" "fetch" "--project-path=/home/ec2-user/bottlerocket/Twoliter.toml" "--arch=x86_64"
[2026-11-05T19:47:46Z WARN  twoliter::project] A Release.toml file was found. Release.toml is deprecated. Please remove it from your project.
[2026-11-05T19:47:46Z INFO  twoliter::project::lock] Resolving project references to check against lock file
[2026-11-05T19:47:46Z INFO  twoliter::project::lock::image] Resolving dependency image dependency 'bottlerocket-kernel-kit-9.4.1@public.ecr.aws/bottlerocket/bottlerocket-kernel-kit:v9.4.1'.
[2026-11-05T19:47:48Z INFO  twoliter::project::lock::image] Resolving dependency image dependency 'bottlerocket-core-kit-17.2.0@public.ecr.aws/bottlerocket/bottlerocket-core-kit:v17.2.0'.
[2026-11-05T19:47:50Z INFO  twoliter::project::lock::image] Resolving dependency image dependency 'bottlerocket-sdk-0.80.0@public.ecr.aws/bottlerocket/bottlerocket-sdk:v0.80.0'.
[2026-11-05T19:47:50Z INFO  twoliter::project::lock] Extracting kit dependencies. dependencies=["bottlerocket-kernel-kit-9.4.1@bottlerocket (public.ecr.aws/bottlerocket/bottlerocket-kernel-kit:v9.4.1)", "bottlerocket-core-kit-17.2.0@bottlerocket (public.ecr.aws/bottlerocket/bottlerocket-core-kit:v17.2.0)"]
[2026-11-05T19:47:50Z INFO  twoliter::project::lock::image] Extracting kit 'bottlerocket-kernel-kit' to '/home/ec2-user/bottlerocket/build/external-kits'
[2026-11-05T19:47:50Z INFO  twoliter::project::lock::image] Extracting kit 'bottlerocket-core-kit' to '/home/ec2-user/bottlerocket/build/external-kits'
[2026-11-05T19:47:50Z INFO  twoliter::project::lock] Finished fetching kit dependencies.
[cargo-make] INFO - Running Task: install-twoliter
Found Twoliter v0.25.1 installed.
Skipping installation.
[cargo-make] INFO - Execute Command: "/home/ec2-user/bottlerocket/tools/twoliter/twoliter" "--log-level=info" "make" "default" "--project-path=/home/ec2-user/bottlerocket/Twoliter.toml" "--cargo-home=/home/ec2-user/bottlerocket/.cargo" "--"
[2026-11-05T19:47:50Z WARN  twoliter::project] A Release.toml file was found. Release.toml is deprecated. Please remove it from your project.
[2026-11-05T19:47:50Z INFO  twoliter::project::lock] Resolving project references to check against lock file
[2026-11-05T19:47:50Z INFO  twoliter::project::lock::image] Resolving dependency image dependency 'bottlerocket-kernel-kit-9.4.1@public.ecr.aws/bottlerocket/bottlerocket-kernel-kit:v9.4.1'.
[2026-11-05T19:47:52Z INFO  twoliter::project::lock::image] Resolving dependency image dependency 'bottlerocket-core-kit-17.2.0@public.ecr.aws/bottlerocket/bottlerocket-core-kit:v17.2.0'.
[2026-11-05T19:47:53Z INFO  twoliter::project::lock::image] Resolving dependency image dependency 'bottlerocket-sdk-0.80.0@public.ecr.aws/bottlerocket/bottlerocket-sdk:v0.80.0'.
[2026-11-05T19:47:54Z INFO  twoliter::project::lock] Extracting kit dependencies. dependencies=["bottlerocket-kernel-kit-9.4.1@bottlerocket (public.ecr.aws/bottlerocket/bottlerocket-kernel-kit:v9.4.1)", "bottlerocket-core-kit-17.2.0@bottlerocket (public.ecr.aws/bottlerocket/bottlerocket-core-kit:v17.2.0)"]
[2026-11-05T19:47:54Z INFO  twoliter::project::lock::image] Extracting kit 'bottlerocket-kernel-kit' to '/home/ec2-user/bottlerocket/build/external-kits'
[2026-11-05T19:47:54Z INFO  twoliter::project::lock::image] Extracting kit 'bottlerocket-core-kit' to '/home/ec2-user/bottlerocket/build/external-kits'
[2026-11-05T19:47:54Z INFO  twoliter::project::lock] Finished fetching kit dependencies.
[cargo-make][1] INFO - 
[cargo-make][1] INFO - Build File: /home/ec2-user/bottlerocket/build/tools/Makefile.toml
[cargo-make][1] INFO - Task: default
[cargo-make][1] INFO - Profile: development
[cargo-make][1] INFO - Running Task: setup
[cargo-make][1] INFO - Running Task: setup-build
[cargo-make][1] INFO - Running Task: fetch-sdk
[cargo-make][1] INFO - Running Task: fetch-sources
[cargo-make][1] INFO - Running Task: fetch-vendored
[cargo-make][1] INFO - Running Task: check-licenses
bans ok, licenses ok, sources ok
[cargo-make][1] INFO - Running Task: build-sbkeys
Failed to read manifest file '/home/ec2-user/bottlerocket/variants/aws-k8s-1.31-fips/Cargo.toml': No such file or directory (os error 2)
Error while executing command, exit code: 1
Error: Command was unsuccessful, exit code 105
Error while executing command, exit code: 1
[ec2-user@ip-172-31-11-68 bottlerocket]$ cargo make -e BUILDSYS_VARIANT=vmware-k8s-1.31 -e BUILDSYS_ARCH=x86_64
[cargo-make] INFO - cargo make 0.37.23
[cargo-make] INFO - 
[cargo-make] INFO - Build File: Makefile.toml
[cargo-make] INFO - Task: default
[cargo-make] INFO - Profile: development
[cargo-make] INFO - Running Task: install-twoliter
Found Twoliter v0.25.1 installed.
Skipping installation.
[cargo-make] INFO - Execute Command: "/home/ec2-user/bottlerocket/tools/twoliter/twoliter" "--log-level=info" "fetch" "--project-path=/home/ec2-user/bottlerocket/Twoliter.toml" "--arch=x86_64"
[2026-11-05T19:48:08Z WARN  twoliter::project] A Release.toml file was found. Release.toml is deprecated. Please remove it from your project.
[2026-11-05T19:48:08Z INFO  twoliter::project::lock] Resolving project references to check against lock file
[2026-11-05T19:48:08Z INFO  twoliter::project::lock::image] Resolving dependency image dependency 'bottlerocket-kernel-kit-9.4.1@public.ecr.aws/bottlerocket/bottlerocket-kernel-kit:v9.4.1'.
[2026-11-05T19:48:09Z INFO  twoliter::project::lock::image] Resolving dependency image dependency 'bottlerocket-core-kit-17.2.0@public.ecr.aws/bottlerocket/bottlerocket-core-kit:v17.2.0'.
[2026-11-05T19:48:11Z INFO  twoliter::project::lock::image] Resolving dependency image dependency 'bottlerocket-sdk-0.80.0@public.ecr.aws/bottlerocket/bottlerocket-sdk:v0.80.0'.
[2026-11-05T19:48:11Z INFO  twoliter::project::lock] Extracting kit dependencies. dependencies=["bottlerocket-kernel-kit-9.4.1@bottlerocket (public.ecr.aws/bottlerocket/bottlerocket-kernel-kit:v9.4.1)", "bottlerocket-core-kit-17.2.0@bottlerocket (public.ecr.aws/bottlerocket/bottlerocket-core-kit:v17.2.0)"]
[2026-11-05T19:48:11Z INFO  twoliter::project::lock::image] Extracting kit 'bottlerocket-kernel-kit' to '/home/ec2-user/bottlerocket/build/external-kits'
[2026-11-05T19:48:11Z INFO  twoliter::project::lock::image] Extracting kit 'bottlerocket-core-kit' to '/home/ec2-user/bottlerocket/build/external-kits'
[2026-11-05T19:48:11Z INFO  twoliter::project::lock] Finished fetching kit dependencies.
[cargo-make] INFO - Running Task: install-twoliter
Found Twoliter v0.25.1 installed.
Skipping installation.
[cargo-make] INFO - Execute Command: "/home/ec2-user/bottlerocket/tools/twoliter/twoliter" "--log-level=info" "make" "default" "--project-path=/home/ec2-user/bottlerocket/Twoliter.toml" "--cargo-home=/home/ec2-user/bottlerocket/.cargo" "--"
[2026-11-05T19:48:12Z WARN  twoliter::project] A Release.toml file was found. Release.toml is deprecated. Please remove it from your project.
[2026-11-05T19:48:12Z INFO  twoliter::project::lock] Resolving project references to check against lock file
[2026-11-05T19:48:12Z INFO  twoliter::project::lock::image] Resolving dependency image dependency 'bottlerocket-kernel-kit-9.4.1@public.ecr.aws/bottlerocket/bottlerocket-kernel-kit:v9.4.1'.
[2026-11-05T19:48:13Z INFO  twoliter::project::lock::image] Resolving dependency image dependency 'bottlerocket-core-kit-17.2.0@public.ecr.aws/bottlerocket/bottlerocket-core-kit:v17.2.0'.
[2026-11-05T19:48:14Z INFO  twoliter::project::lock::image] Resolving dependency image dependency 'bottlerocket-sdk-0.80.0@public.ecr.aws/bottlerocket/bottlerocket-sdk:v0.80.0'.
[2026-11-05T19:48:15Z INFO  twoliter::project::lock] Extracting kit dependencies. dependencies=["bottlerocket-kernel-kit-9.4.1@bottlerocket (public.ecr.aws/bottlerocket/bottlerocket-kernel-kit:v9.4.1)", "bottlerocket-core-kit-17.2.0@bottlerocket (public.ecr.aws/bottlerocket/bottlerocket-core-kit:v17.2.0)"]
[2026-11-05T19:48:15Z INFO  twoliter::project::lock::image] Extracting kit 'bottlerocket-kernel-kit' to '/home/ec2-user/bottlerocket/build/external-kits'
[2026-11-05T19:48:15Z INFO  twoliter::project::lock::image] Extracting kit 'bottlerocket-core-kit' to '/home/ec2-user/bottlerocket/build/external-kits'
[2026-11-05T19:48:15Z INFO  twoliter::project::lock] Finished fetching kit dependencies.
[cargo-make][1] INFO - 
[cargo-make][1] INFO - Build File: /home/ec2-user/bottlerocket/build/tools/Makefile.toml
[cargo-make][1] INFO - Task: default
[cargo-make][1] INFO - Profile: development
[cargo-make][1] INFO - Running Task: setup
[cargo-make][1] INFO - Running Task: setup-build
[cargo-make][1] INFO - Running Task: fetch-sdk
[cargo-make][1] INFO - Running Task: fetch-sources
[cargo-make][1] INFO - Running Task: fetch-vendored
[cargo-make][1] INFO - Running Task: check-licenses
bans ok, licenses ok, sources ok
[cargo-make][1] INFO - Running Task: build-sbkeys
Failed to read manifest file '/home/ec2-user/bottlerocket/variants/vmware-k8s-1.31/Cargo.toml': No such file or directory (os error 2)
Error while executing command, exit code: 1
Error: Command was unsuccessful, exit code 105
Error while executing command, exit code: 1
  • Can build other variants successfully.
bottlerocket]$ cargo make -e BUILDSYS_VARIANT=aws-k8s-1.32 -e BUILDSYS_ARCH=x86_64
[cargo-make] INFO - cargo make 0.37.23
[cargo-make] INFO - 
[cargo-make] INFO - Build File: Makefile.toml
[cargo-make] INFO - Task: default
[cargo-make] INFO - Profile: development
[cargo-make] INFO - Running Task: install-twoliter
Found Twoliter v0.25.1 installed.
Skipping installation.
[cargo-make] INFO - Execute Command: "/home/ec2-user/bottlerocket/tools/twoliter/twoliter" "--log-level=info" "fetch" "--project-path=/home/ec2-user/bottlerocket/Twoliter.toml" "--arch=x86_64"
[2026-11-05T19:48:28Z WARN  twoliter::project] A Release.toml file was found. Release.toml is deprecated. Please remove it from your project.
[2026-11-05T19:48:28Z INFO  twoliter::project::lock] Resolving project references to check against lock file
[2026-11-05T19:48:28Z INFO  twoliter::project::lock::image] Resolving dependency image dependency 'bottlerocket-kernel-kit-9.4.1@public.ecr.aws/bottlerocket/bottlerocket-kernel-kit:v9.4.1'.
[2026-11-05T19:48:30Z INFO  twoliter::project::lock::image] Resolving dependency image dependency 'bottlerocket-core-kit-17.2.0@public.ecr.aws/bottlerocket/bottlerocket-core-kit:v17.2.0'.
[2026-11-05T19:48:31Z INFO  twoliter::project::lock::image] Resolving dependency image dependency 'bottlerocket-sdk-0.80.0@public.ecr.aws/bottlerocket/bottlerocket-sdk:v0.80.0'.
[2026-11-05T19:48:32Z INFO  twoliter::project::lock] Extracting kit dependencies. dependencies=["bottlerocket-kernel-kit-9.4.1@bottlerocket (public.ecr.aws/bottlerocket/bottlerocket-kernel-kit:v9.4.1)", "bottlerocket-core-kit-17.2.0@bottlerocket (public.ecr.aws/bottlerocket/bottlerocket-core-kit:v17.2.0)"]
[2026-11-05T19:48:32Z INFO  twoliter::project::lock::image] Extracting kit 'bottlerocket-kernel-kit' to '/home/ec2-user/bottlerocket/build/external-kits'
[2026-11-05T19:48:32Z INFO  twoliter::project::lock::image] Extracting kit 'bottlerocket-core-kit' to '/home/ec2-user/bottlerocket/build/external-kits'
[2026-11-05T19:48:32Z INFO  twoliter::project::lock] Finished fetching kit dependencies.
[cargo-make] INFO - Running Task: install-twoliter
Found Twoliter v0.25.1 installed.
Skipping installation.
[cargo-make] INFO - Execute Command: "/home/ec2-user/bottlerocket/tools/twoliter/twoliter" "--log-level=info" "make" "default" "--project-path=/home/ec2-user/bottlerocket/Twoliter.toml" "--cargo-home=/home/ec2-user/bottlerocket/.cargo" "--"
[2026-11-05T19:48:32Z WARN  twoliter::project] A Release.toml file was found. Release.toml is deprecated. Please remove it from your project.
[2026-11-05T19:48:32Z INFO  twoliter::project::lock] Resolving project references to check against lock file
[2026-11-05T19:48:32Z INFO  twoliter::project::lock::image] Resolving dependency image dependency 'bottlerocket-kernel-kit-9.4.1@public.ecr.aws/bottlerocket/bottlerocket-kernel-kit:v9.4.1'.
[2026-11-05T19:48:34Z INFO  twoliter::project::lock::image] Resolving dependency image dependency 'bottlerocket-core-kit-17.2.0@public.ecr.aws/bottlerocket/bottlerocket-core-kit:v17.2.0'.
[2026-11-05T19:48:35Z INFO  twoliter::project::lock::image] Resolving dependency image dependency 'bottlerocket-sdk-0.80.0@public.ecr.aws/bottlerocket/bottlerocket-sdk:v0.80.0'.
[2026-11-05T19:48:36Z INFO  twoliter::project::lock] Extracting kit dependencies. dependencies=["bottlerocket-kernel-kit-9.4.1@bottlerocket (public.ecr.aws/bottlerocket/bottlerocket-kernel-kit:v9.4.1)", "bottlerocket-core-kit-17.2.0@bottlerocket (public.ecr.aws/bottlerocket/bottlerocket-core-kit:v17.2.0)"]
[2026-11-05T19:48:36Z INFO  twoliter::project::lock::image] Extracting kit 'bottlerocket-kernel-kit' to '/home/ec2-user/bottlerocket/build/external-kits'
[2026-11-05T19:48:36Z INFO  twoliter::project::lock::image] Extracting kit 'bottlerocket-core-kit' to '/home/ec2-user/bottlerocket/build/external-kits'
[2026-11-05T19:48:36Z INFO  twoliter::project::lock] Finished fetching kit dependencies.
[cargo-make][1] INFO - 
[cargo-make][1] INFO - Build File: /home/ec2-user/bottlerocket/build/tools/Makefile.toml
[cargo-make][1] INFO - Task: default
[cargo-make][1] INFO - Profile: development
[cargo-make][1] INFO - Running Task: setup
[cargo-make][1] INFO - Running Task: setup-build
[cargo-make][1] INFO - Running Task: fetch-sdk
[cargo-make][1] INFO - Running Task: fetch-sources
[cargo-make][1] INFO - Running Task: fetch-vendored
[cargo-make][1] INFO - Running Task: check-licenses
bans ok, licenses ok, sources ok
[cargo-make][1] INFO - Running Task: build-sbkeys
[cargo-make][1] INFO - Running Task: publish-setup
19:48:39 [INFO] Found infra config at path: /home/ec2-user/bottlerocket/Infra.toml
19:48:39 [INFO] No repo config in '/home/ec2-user/bottlerocket/Infra.toml' - using local roles/keys
[cargo-make][1] INFO - Running Task: cargo-metadata
[cargo-make][1] INFO - Running Task: validate-kits
[cargo-make][1] INFO - Running Task: build-variant
   Compiling aws-k8s-1_32 v0.1.0 (/home/ec2-user/bottlerocket/variants/aws-k8s-1.32)
warning: aws-k8s-1_32@0.1.0: Image feature GRUB_SET_PRIVATE_VAR is deprecated and will be removed in a future release!
warning: aws-k8s-1_32@0.1.0: Image feature SYSTEMD_NETWORKD is deprecated and will be removed in a future release!
warning: aws-k8s-1_32@0.1.0: Image feature GRUB_SET_PRIVATE_VAR is deprecated and will be removed in a future release!
warning: aws-k8s-1_32@0.1.0: Image feature SYSTEMD_NETWORKD is deprecated and will be removed in a future release!
warning: aws-k8s-1_32@0.1.0: Image feature GRUB_SET_PRIVATE_VAR is deprecated and will be removed in a future release!
warning: aws-k8s-1_32@0.1.0: Image feature SYSTEMD_NETWORKD is deprecated and will be removed in a future release!
    Finished `dev` profile [optimized] target(s) in 1m 04s
[cargo-make][1] INFO - Build Done in 67.00 seconds.
[cargo-make] INFO - Build Done in 75.21 seconds.

Terms of contribution:

By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.

Signed-off-by: Shikha Vyaghra <vyaghras@amazon.com>
Signed-off-by: Shikha Vyaghra <vyaghras@amazon.com>
Signed-off-by: Shikha Vyaghra <vyaghras@amazon.com>
Signed-off-by: Shikha Vyaghra <vyaghras@amazon.com>
@ginglis13
ginglis13 marked this pull request as draft November 6, 2026 23:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant