Skip to contentSkip to conversation

tests/acceptance: Disable Spartan-3A DSP 1800A test

PATCH Applied Philippe Mathieu-Daudé 3 participants 3 messages Nov 9, 2020 – Nov 10, 2020

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 tests/acceptance: Disable Spartan-3A DSP 1800A test

This test is regularly failing on CI:

(05/34) tests/acceptance/boot_linux_console.py:BootLinuxConsole.test_microblaze_s3adsp1800:
Linux version 4.11.3 ([email protected]) (gcc version 6.4.0 (Buildroot 2018.05.2) ) #5 Tue Dec 11 11:56:23 CET 2018
...
Freeing unused kernel memory: 1444K
This architecture does not have kernel memory protection.
[nothing happens here]
Runner error occurred: Timeout reached (90.91 s)

This is a regression. Until someone figure out the problem, disable the test to keep CI pipeline useful.

---
v3: Simply disable with @skip

---
 tests/acceptance/boot_linux_console.py | 2 ++
 tests/acceptance/replay_kernel.py      | 2 ++
 2 files changed, 4 insertions(+)
tests/acceptance/boot_linux_console.py +2 -0
index 8f433a67f84..cc6ec0f8c15 100644
@@ -13,6 +13,7 @@
 import gzip
 import shutil
 
+from avocado import skip
 from avocado import skipUnless
 from avocado_qemu import Test
 from avocado_qemu import exec_command_and_wait_for_pattern
@@ -1025,6 +1026,7 @@ def test_m68k_mcf5208evb(self):
         tar_hash = 'ac688fd00561a2b6ce1359f9ff6aa2b98c9a570c'
         self.do_test_advcal_2018('07', tar_hash, 'sanity-clause.elf')
 
+    @skip("Test currently broken") # Console stuck as of 5.2-rc1
     def test_microblaze_s3adsp1800(self):
         """
         :avocado: tags=arch:microblaze
tests/acceptance/replay_kernel.py +2 -0
index 00c228382bd..772633b01da 100644
@@ -14,6 +14,7 @@
 import logging
 import time
 
+from avocado import skip
 from avocado import skipIf
 from avocado import skipUnless
 from avocado_qemu import wait_for_console_pattern
@@ -280,6 +281,7 @@ def test_m68k_mcf5208evb(self):
         file_path = self.fetch_asset(tar_url, asset_hash=tar_hash)
         self.do_test_advcal_2018(file_path, 'sanity-clause.elf')
 
+    @skip("Test currently broken") # Console stuck as of 5.2-rc1
     def test_microblaze_s3adsp1800(self):
         """
         :avocado: tags=arch:microblaze
Signature · 1 line
2.26.2
Acked-by on v3 1/1
#1 lore raw
Quoted 55 lines · Philippe Mathieu-Daudé

This test is regularly failing on CI:

(05/34) tests/acceptance/boot_linux_console.py:BootLinuxConsole.test_microblaze_s3adsp1800:
Linux version 4.11.3 ([email protected]) (gcc version 6.4.0 (Buildroot 2018.05.2) ) #5 Tue Dec 11 11:56:23 CET 2018
...
Freeing unused kernel memory: 1444K
This architecture does not have kernel memory protection.
[nothing happens here]
Runner error occurred: Timeout reached (90.91 s)

This is a regression. Until someone figure out the problem, disable the test to keep CI pipeline useful.

---
v3: Simply disable with @skip

---
 tests/acceptance/boot_linux_console.py | 2 ++
 tests/acceptance/replay_kernel.py      | 2 ++
 2 files changed, 4 insertions(+)
tests/acceptance/boot_linux_console.py +2 -0
index 8f433a67f84..cc6ec0f8c15 100644
@@ -13,6 +13,7 @@
 import gzip
 import shutil
 
+from avocado import skip
 from avocado import skipUnless
 from avocado_qemu import Test
 from avocado_qemu import exec_command_and_wait_for_pattern
@@ -1025,6 +1026,7 @@ def test_m68k_mcf5208evb(self):
         tar_hash = 'ac688fd00561a2b6ce1359f9ff6aa2b98c9a570c'
         self.do_test_advcal_2018('07', tar_hash, 'sanity-clause.elf')
 
+    @skip("Test currently broken") # Console stuck as of 5.2-rc1
     def test_microblaze_s3adsp1800(self):
         """
         :avocado: tags=arch:microblaze
tests/acceptance/replay_kernel.py +1 -0
index 00c228382bd..772633b01da 100644
@@ -14,6 +14,7 @@
 import logging
 import time
 
+from avocado import skip
 from avocado import skipIf
 from avocado import skipUnless
 from avocado_qemu import wait_for_console_pattern

tests/acceptance/replay_kernel.py def test_m68k_mcf5208evb(self): · line 287

Quoted 7 lines
tests/acceptance/replay_kernel.py +1 -0
@@ -280,6 +281,7 @@ def test_m68k_mcf5208evb(self):
         file_path = self.fetch_asset(tar_url, asset_hash=tar_hash)
         self.do_test_advcal_2018(file_path, 'sanity-clause.elf')
 
+    @skip("Test currently broken") # Console stuck as of 5.2-rc1
     def test_microblaze_s3adsp1800(self):
         """
         :avocado: tags=arch:microblaze

FWIW, I tried to bisect this issue today to see where it broke, but if I run the test often enough, I even got failures with QEMU v5.0 already, so it's likely not a new issue after all:

make check-venv
for ((i=0;i<500;i++)); do echo $i ; \
AVOCADO_ALLOW_UNTRUSTED_CODE=1 tests/venv/bin/avocado run \
tests/acceptance/boot_linux_console.py:BootLinuxConsole.test_microblaze_s3adsp1800 \
|| break ; sleep 0.1 ; \
done

Applied
#2 lore raw
In reply to Philippe Mathieu-Daudé
Quoted 10 lines · Philippe Mathieu-Daudé

This test is regularly failing on CI:

(05/34) tests/acceptance/boot_linux_console.py:BootLinuxConsole.test_microblaze_s3adsp1800:
Linux version 4.11.3 ([email protected]) (gcc version 6.4.0 (Buildroot 2018.05.2) ) #5 Tue Dec 11 11:56:23 CET 2018
...
Freeing unused kernel memory: 1444K
This architecture does not have kernel memory protection.
[nothing happens here]
Runner error occurred: Timeout reached (90.91 s)

Quoted 4 lines

This is a regression. Until someone figure out the problem, disable the test to keep CI pipeline useful.

Queued to for-5.2/various-fixes, thanks.

Quoted 47 lines

---
v3: Simply disable with @skip

---
 tests/acceptance/boot_linux_console.py | 2 ++
 tests/acceptance/replay_kernel.py      | 2 ++
 2 files changed, 4 insertions(+)
tests/acceptance/boot_linux_console.py +2 -0
index 8f433a67f84..cc6ec0f8c15 100644
@@ -13,6 +13,7 @@
 import gzip
 import shutil
 
+from avocado import skip
 from avocado import skipUnless
 from avocado_qemu import Test
 from avocado_qemu import exec_command_and_wait_for_pattern
@@ -1025,6 +1026,7 @@ def test_m68k_mcf5208evb(self):
         tar_hash = 'ac688fd00561a2b6ce1359f9ff6aa2b98c9a570c'
         self.do_test_advcal_2018('07', tar_hash, 'sanity-clause.elf')
 
+    @skip("Test currently broken") # Console stuck as of 5.2-rc1
     def test_microblaze_s3adsp1800(self):
         """
         :avocado: tags=arch:microblaze
tests/acceptance/replay_kernel.py +2 -0
index 00c228382bd..772633b01da 100644
@@ -14,6 +14,7 @@
 import logging
 import time
 
+from avocado import skip
 from avocado import skipIf
 from avocado import skipUnless
 from avocado_qemu import wait_for_console_pattern
@@ -280,6 +281,7 @@ def test_m68k_mcf5208evb(self):
         file_path = self.fetch_asset(tar_url, asset_hash=tar_hash)
         self.do_test_advcal_2018(file_path, 'sanity-clause.elf')
 
+    @skip("Test currently broken") # Console stuck as of 5.2-rc1
     def test_microblaze_s3adsp1800(self):
         """
         :avocado: tags=arch:microblaze
Signature · 1 line
Alex Bennée