From 0c3ae6e09acd16fc50a516975631dd6bb76b8c53 Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Fri, 19 Apr 2019 20:13:38 +0200 Subject: Build arm* functest-vnf containers via travis-ci MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It doesn't build juju deps if arm* as they can't be cross-compiled. Then that deps won't be built in releng on native arm64 hosts It's worth mentioning that containers have never been executed in OPNFV gates. That change allows running all other VNFs on Raspberry PI and building containers without arm build servers. Change-Id: I836a72f049e7f0e6ae704f5b829914692d5b2c09 Signed-off-by: Cédric Ollivier --- functest/opnfv_tests/vnf/epc/juju_epc.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'functest') diff --git a/functest/opnfv_tests/vnf/epc/juju_epc.py b/functest/opnfv_tests/vnf/epc/juju_epc.py index 102f77d96..cbf531b6b 100644 --- a/functest/opnfv_tests/vnf/epc/juju_epc.py +++ b/functest/opnfv_tests/vnf/epc/juju_epc.py @@ -147,6 +147,12 @@ class JujuEpc(singlevm.VmReady2): self.flavor_alt = None def check_requirements(self): + if not os.path.exists("/src/epc-requirements/go/bin/juju"): + self.__logger.warn( + "Juju cannot be cross-compiled (arm and arm64) from the time " + "being") + self.is_skipped = True + self.project.clean() if env.get('NEW_USER_ROLE').lower() == "admin": self.__logger.warn( "Defining NEW_USER_ROLE=admin will easily break the testcase " -- cgit 1.2.3-korg