From 7ed51929d8c5b71d88c7daea5a516905d067feb0 Mon Sep 17 00:00:00 2001 From: Haresh Nasit <84355507+hnnasit@users.noreply.github.com> Date: Thu, 21 Nov 2024 16:37:20 -0800 Subject: [PATCH] chore: Skip use_containerized test temporarily (#151) * chore: Skip use_containerized test temporarily * chore: only skip x86 tests * add missing quotation mark --- tests/build_image_base_test.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tests/build_image_base_test.py b/tests/build_image_base_test.py index b55eeb3..16f7dfe 100644 --- a/tests/build_image_base_test.py +++ b/tests/build_image_base_test.py @@ -159,8 +159,11 @@ def test_external_apps(self): self.assertTrue(out.decode().find("Build Succeeded")) def test_containerized_build(self): - if self.runtime in SKIP_CONTAINERIZED_BUILD_TESTS: - self.skipTest(f"Skipping for {self.runtime}") + # Skip this test for now as these checks are failing for x86 + # TODO: Add the checks back once the below docker issue is fixed + # Error: 500 Server Error for : Internal Server Error ("failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: unable to apply cgroup configuration: cannot enter cgroupv2 "/sys/fs/cgroup/docker" with domain controllers -- it is in threaded mode: unknown") + if self.runtime in SKIP_CONTAINERIZED_BUILD_TESTS or self.tag == "x86_64": + self.skipTest(f"Skipping for {self.runtime} and architecture: {self.tag}") init_args = [ "sam", "init",