From 684abcaf748ad8f4f8a88d27c06177e313372d51 Mon Sep 17 00:00:00 2001 From: Albrecht Lohofener Date: Wed, 25 Sep 2024 17:40:59 +0200 Subject: [PATCH] Next try to find actions issue --- test/tests/openwrt_docker_test.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/tests/openwrt_docker_test.py b/test/tests/openwrt_docker_test.py index dae581c..ac70c54 100644 --- a/test/tests/openwrt_docker_test.py +++ b/test/tests/openwrt_docker_test.py @@ -306,8 +306,12 @@ def test_nginx_luci_forwarding_access(docker_services, parameter): assert ('LuCI - Lua Configuration Interface' in response.content.decode()) == True except Exception as excinfo: #print(get_logs()) - os.system("ping -c 1 172.31.1.1") os.system("ip addr") + os.system("ping -c 1 172.31.1.1") + + print(run_openwrt_shell_command("ip", "addr")['out-data']) + print(run_openwrt_shell_command("ping", "-c1", "-W2", "-w2", "172.31.1.2")['out-data']) + pytest.fail(f"Unexpected exception raised: {excinfo}") if parameter[1] == 'false':