diff --git a/test/e2e-framework/resources/aws/platforms.json b/test/e2e-framework/resources/aws/platforms.json index 127078607f48..f42655fb42fe 100644 --- a/test/e2e-framework/resources/aws/platforms.json +++ b/test/e2e-framework/resources/aws/platforms.json @@ -1,13 +1,13 @@ { "amazon-linux": { "arm64": { - "2": "ami-0a37ff68b81b844bb", + "2": "ami-014a2929b68fa9931", "2-5-10": "ami-09e51988f56677f44", "2022-5-15": "ami-0acc51c3357f26240", "2023": "ami-04c4a14c3eeb37669" }, "x86_64": { - "2": "ami-09e48b5e3f7502ead", + "2": "ami-00a582e65ca9fb5d3", "2-5-10": "ami-06a0cd9728546d178", "2022-5-15": "ami-0f0f00c2d082c52ae", "2023": "ami-0de5c3ecd5a9c7c7b" diff --git a/test/new-e2e/tests/installer/unix/all_packages_test.go b/test/new-e2e/tests/installer/unix/all_packages_test.go index 6cfda44fca8b..56446f224874 100644 --- a/test/new-e2e/tests/installer/unix/all_packages_test.go +++ b/test/new-e2e/tests/installer/unix/all_packages_test.go @@ -376,7 +376,9 @@ func (s *packageBaseSuite) installAnsible(flavor e2eos.Descriptor) string { s.Env().RemoteHost.MustExecute("curl https://bootstrap.pypa.io/pip/3.6/get-pip.py -o get-pip.py && python3 get-pip.py && rm get-pip.py") s.Env().RemoteHost.MustExecute("python3 -m pip install ansible") pathPrefix = "/home/centos/.local/bin/" - case e2eos.AmazonLinux, e2eos.RedHat: + // AmazonLinux is deliberately absent here: RunInstallScript skips InstallMethodAnsible + // for AmazonLinux2 before this is ever called, and no flavor list uses AmazonLinux2023. + case e2eos.RedHat: s.Env().RemoteHost.MustExecute("sudo yum install -y python3.14 python3.14-pip && yes | pip3.14 install ansible") pathPrefix = "/home/ec2-user/.local/bin/" case e2eos.Suse: