Skip to contentSkip to conversation

tests/functional: Require 'user' netdev for ppc64 e500 test

PATCH In review Cédric Le Goater 4 participants 4 messages Mar 8, 2025 – Mar 10, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tests/functional: Require 'user' netdev for ppc64 e500 test

When commit 72cdd672e18c extended the ppc64 e500 test to add network support, it forgot to require the 'user' netdev backend. Fix that.

Fixes 72cdd672e18c ("tests/functional: Replace the ppc64 e500 advent calendar test")
---
 tests/functional/test_ppc64_e500.py | 1 +
 1 file changed, 1 insertion(+)
tests/functional/test_ppc64_e500.py +1 -0
index 9ce7ae6c4798..f5fcad9f6b66 100755
@@ -20,6 +20,7 @@ class E500Test(LinuxKernelTest):
 
     def test_ppc64_e500_buildroot(self):
         self.set_machine('ppce500')
+        self.require_netdev('user')
         self.cpu = 'e5500'
 
         uimage_path = self.ASSET_BR2_E5500_UIMAGE.fetch()
Signature · 1 line
2.48.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 8 lines · Cédric Le Goater

When commit 72cdd672e18c extended the ppc64 e500 test to add network support, it forgot to require the 'user' netdev backend. Fix that.

Fixes 72cdd672e18c ("tests/functional: Replace the ppc64 e500 advent calendar test")
---
  tests/functional/test_ppc64_e500.py | 1 +
  1 file changed, 1 insertion(+)
Acked-by on v1 1/1
#2 lore raw
In reply to Cédric Le Goater

Am 8. März 2025 07:13:28 UTC schrieb "Cédric Le Goater" <[email protected]>:

Quoted 14 lines

When commit 72cdd672e18c extended the ppc64 e500 test to add network support, it forgot to require the 'user' netdev backend. Fix that.

Fixes 72cdd672e18c ("tests/functional: Replace the ppc64 e500 advent calendar test")

---
tests/functional/test_ppc64_e500.py | 1 +

1 file changed, 1 insertion(+)
tests/functional/test_ppc64_e500.py +0 -0
index 9ce7ae6c4798..f5fcad9f6b66 100755

tests/functional/test_ppc64_e500.py class E500Test(LinuxKernelTest): · line 26

Quoted 7 lines
tests/functional/test_ppc64_e500.py +1 -0
@@ -20,6 +20,7 @@ class E500Test(LinuxKernelTest):
 
    def test_ppc64_e500_buildroot(self):
        self.set_machine('ppce500')
+        self.require_netdev('user')
        self.cpu = 'e5500'
 
        uimage_path = self.ASSET_BR2_E5500_UIMAGE.fetch()

Thanks for taking care of it, Cédric.

Reviewed-by on v1 1/1
#3 lore raw
In reply to Cédric Le Goater
Quoted 14 lines · Cédric Le Goater

When commit 72cdd672e18c extended the ppc64 e500 test to add network support, it forgot to require the 'user' netdev backend. Fix that.

Fixes 72cdd672e18c ("tests/functional: Replace the ppc64 e500 advent calendar test")
---
  tests/functional/test_ppc64_e500.py | 1 +
  1 file changed, 1 insertion(+)
tests/functional/test_ppc64_e500.py +0 -0
index 9ce7ae6c4798..f5fcad9f6b66 100755

tests/functional/test_ppc64_e500.py class E500Test(LinuxKernelTest): · line 24

Quoted 5 lines
tests/functional/test_ppc64_e500.py +1 -0
@@ -20,6 +20,7 @@ class E500Test(LinuxKernelTest):
 
      def test_ppc64_e500_buildroot(self):
          self.set_machine('ppce500')
+        self.require_netdev('user')
          self.cpu = 'e5500'

Thanks, that should fix the issue that I saw in the "functional-cfi-ppc64-s390x" job in the gitlab CI (which uses --disable-slirp indeed)!