Skip to contentSkip to conversation

arm/oeqa/fvp_devices: use http: instead of https: in network test

PATCH Applied Ross Burton 2 participants 2 messages Nov 19 – Nov 24

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm/oeqa/fvp_devices: use http: instead of https: in network test

The network connectivity test currently does a wget on a https: URL, but in minimal images where wget is actually provided by busybox this will pipe the sockets through openssl, which might not be installed.

Instead, use http://www.example.com/. This doesn't redirect to the https:
site and can be fetched with just busybox wget.

---
 meta-arm/lib/oeqa/runtime/cases/fvp_devices.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-arm/lib/oeqa/runtime/cases/fvp_devices.py +1 -1
index c9d08c03448..7dd50bde403 100644
@@ -129,7 +129,7 @@ class FvpDevicesTest(OERuntimeTestCase):
         self.check_devices("net", 2, ["virtio_net", "vif"])
 
         # Check that outbound network connections work
-        self.run_cmd('wget -O /dev/null "https://www.arm.com"')
+        self.run_cmd('wget -O /dev/null "http://www.example.com"')
 
     @OETestDepends(['ssh.SSHTest.test_ssh'])
     @skipIfNotInDataVar('TEST_FVP_DEVICES', 'virtiorng',
Signature · 1 line
2.43.0
Applied
#1 lore raw
Quoted 8 lines · Ross Burton

The network connectivity test currently does a wget on a https: URL, but in minimal images where wget is actually provided by busybox this will pipe the sockets through openssl, which might not be installed.

Instead, use http://www.example.com/. This doesn't redirect to the https:
site and can be fetched with just busybox wget.

[...]

Applied, thanks!

[1/1] arm/oeqa/fvp_devices: use http: instead of https: in network test

      commit: 2d6e43e48d5c3c8fc3578440f793b17a646290ca

Best regards,

Signature · 1 line
Jon Mason <[email protected]>