diff options
author | Ivan Ivanets <iivanets@cisco.com> | 2025-01-14 16:34:22 +0000 |
---|---|---|
committer | Dave Wallace <dwallacelf@gmail.com> | 2025-01-15 15:25:11 +0000 |
commit | eba51b89da4f98076f934ee917b8393c37629ab7 (patch) | |
tree | 3f93d631295dc980197485024f507f799ca7596d | |
parent | aed493da3fa134508e9816657553b9ac9aba4062 (diff) |
tests: remove decorator tag_fixme_ubuntu2404
Type: test
There is no need to use the tag_fixme_ubuntu2404 decorator.
All tests that previously used it are now stable.
Change-Id: I2f00bcdacf9690c4d3896eace5d817f7bd19058b
Signed-off-by: Ivan Ivanets <iivanets@cisco.com>
-rw-r--r-- | test/asf/asfframework.py | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/test/asf/asfframework.py b/test/asf/asfframework.py index 841a923dc79..7670a0753d1 100644 --- a/test/asf/asfframework.py +++ b/test/asf/asfframework.py @@ -155,17 +155,6 @@ def _is_platform_aarch64(): is_platform_aarch64 = _is_platform_aarch64() -def _is_distro_ubuntu2404(): - with open("/etc/os-release") as f: - for line in f.readlines(): - if "noble" in line: - return True - return False - - -is_distro_ubuntu2404 = _is_distro_ubuntu2404() - - def _is_distro_debian11(): with open("/etc/os-release") as f: for line in f.readlines(): @@ -226,8 +215,6 @@ class TestCaseTag(Enum): FIXME_DEBIAN11 = 4 # marks suites broken on debug vpp image FIXME_VPP_DEBUG = 5 - # marks suites broken on Ubuntu-24.04 - FIXME_UBUNTU2404 = 6 def create_tag_decorator(e): @@ -246,7 +233,6 @@ tag_fixme_vpp_workers = create_tag_decorator(TestCaseTag.FIXME_VPP_WORKERS) tag_fixme_asan = create_tag_decorator(TestCaseTag.FIXME_ASAN) tag_fixme_debian11 = create_tag_decorator(TestCaseTag.FIXME_DEBIAN11) tag_fixme_vpp_debug = create_tag_decorator(TestCaseTag.FIXME_VPP_DEBUG) -tag_fixme_ubuntu2404 = create_tag_decorator(TestCaseTag.FIXME_UBUNTU2404) class DummyVpp: @@ -309,12 +295,6 @@ class VppAsfTestCase(CPUInterface, unittest.TestCase): cls = unittest.skip("Skipping @tag_fixme_asan tests")(cls) @classmethod - def skip_fixme_ubuntu2404(cls): - """if @tag_fixme_ubuntu2404 & is Ubuntu24.04 - mark for skip""" - if cls.has_tag(TestCaseTag.FIXME_UBUNTU2404) and is_distro_ubuntu2404 == True: - cls = unittest.skip("Skipping @tag_fixme_ubuntu2404 tests")(cls) - - @classmethod def instance(cls): """Return the instance of this testcase""" return cls.test_instance @@ -1366,13 +1346,6 @@ class VppTestResult(unittest.TestResult): test_title = colorize(f"FIXME with ASAN: {test_title}", RED) test.skip_fixme_asan() - if ( - test.has_tag(TestCaseTag.FIXME_UBUNTU2404) - and is_distro_ubuntu2404 == True - ): - test_title = colorize(f"FIXME with Ubuntu 24.04: {test_title}", RED) - test.skip_fixme_ubuntu2404() - if hasattr(test, "vpp_worker_count"): if test.vpp_worker_count == 0: test_title += " [main thread only]" |