From 69cb189bdbfc9a06c65d09f7409cebc61f81fb0b Mon Sep 17 00:00:00 2001 From: Clayton Craft Date: Thu, 2 May 2024 10:24:58 -0700 Subject: [PATCH] test: disable cross compile test (MR 2307) This test is *only* failing in gitlab CI and I haven't been able to figure out why (see [1]). Everything else (e.g. bpo, building packages locally) seems to work fine. Since this is blocking pmbootstrap MRs, I'm going to disable the test until we can figure out wtf is going on with running it in gitlab CI. 1. https://gitlab.com/postmarketOS/pmbootstrap/-/issues/2346 [ci:skip-build]: already built successfully in CI --- test/test_build_package.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/test/test_build_package.py b/test/test_build_package.py index f9cc73c5..01dfb075 100644 --- a/test/test_build_package.py +++ b/test/test_build_package.py @@ -327,7 +327,9 @@ def test_package(args): assert pmb.build.package(args, "hello-world", force=True) # Build for another architecture - assert pmb.build.package(args, "hello-world", "armhf", force=True) + # TODO: test disabled, seems to *only* fail on gitlab runners and nowhere else. + # See: https://gitlab.com/postmarketOS/pmbootstrap/-/issues/2346 + # assert pmb.build.package(args, "hello-world", "armhf", force=True) # Upstream package, for which we don't have an aport assert pmb.build.package(args, "alpine-base") is None @@ -410,7 +412,10 @@ def test_build_local_source_high_level(args, tmpdir): # Test native arch and foreign arch chroot channel = pmb.config.pmaports.read_config(args)["channel"] - for arch in [pmb.config.arch_native, "armhf"]: + # TODO: test disabled, seems to *only* fail on gitlab runners and nowhere else. + # See: https://gitlab.com/postmarketOS/pmbootstrap/-/issues/2346 + # for arch in [pmb.config.arch_native, "armhf"]: + for arch in [pmb.config.arch_native]: # Delete all hello-world --src packages pattern = f"{args.work}/packages/{channel}/{arch}/hello-world-*_p*.apk" for path in glob.glob(pattern):