From: Ricardo Martincoski Date: Sat, 3 Aug 2019 05:22:15 +0000 (-0300) Subject: support/testing: drop haveged for python tests X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=650e9903a9cbfda660fea24239d5f8cbf4607ac8;p=buildroot.git support/testing: drop haveged for python tests The new builtin armv5 kernel 4.19 uses VirtIORNG to provide entropy, so we no longer need haveged. Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/264508536 https://gitlab.com/buildroot.org/buildroot/-/jobs/264508537 https://gitlab.com/buildroot.org/buildroot/-/jobs/264508542 https://gitlab.com/buildroot.org/buildroot/-/jobs/264508543 Signed-off-by: Ricardo Martincoski Cc: Thomas Petazzoni [Peter: reword] Signed-off-by: Peter Korsgaard --- diff --git a/support/testing/tests/package/test_python_crossbar.py b/support/testing/tests/package/test_python_crossbar.py index 2d7b739b5c..d7843ddd8b 100644 --- a/support/testing/tests/package/test_python_crossbar.py +++ b/support/testing/tests/package/test_python_crossbar.py @@ -3,12 +3,10 @@ from tests.package.test_python import TestPythonPackageBase class TestPythonPy3Crossbar(TestPythonPackageBase): __test__ = True - # use haveged to generate enough entropy so crossbar -> pynacl -> libsodium don't hang waiting for /dev/random config = TestPythonPackageBase.config + \ """ BR2_PACKAGE_PYTHON3=y BR2_PACKAGE_PYTHON_CROSSBAR=y - BR2_PACKAGE_HAVEGED=y """ sample_scripts = ["tests/package/sample_python_crossbar.py"] timeout = 60 diff --git a/support/testing/tests/package/test_python_pynacl.py b/support/testing/tests/package/test_python_pynacl.py index 729a887552..f4dd54940a 100644 --- a/support/testing/tests/package/test_python_pynacl.py +++ b/support/testing/tests/package/test_python_pynacl.py @@ -3,12 +3,10 @@ from tests.package.test_python import TestPythonPackageBase class TestPythonPy2Pynacl(TestPythonPackageBase): __test__ = True - # use haveged to generate enough entropy so pynacl -> libsodium don't hang waiting for /dev/random config = TestPythonPackageBase.config + \ """ BR2_PACKAGE_PYTHON=y BR2_PACKAGE_PYTHON_PYNACL=y - BR2_PACKAGE_HAVEGED=y """ sample_scripts = ["tests/package/sample_python_pynacl.py"] timeout = 10 @@ -16,12 +14,10 @@ class TestPythonPy2Pynacl(TestPythonPackageBase): class TestPythonPy3Pynacl(TestPythonPackageBase): __test__ = True - # use haveged to generate enough entropy so pynacl -> libsodium don't hang waiting for /dev/random config = TestPythonPackageBase.config + \ """ BR2_PACKAGE_PYTHON3=y BR2_PACKAGE_PYTHON_PYNACL=y - BR2_PACKAGE_HAVEGED=y """ sample_scripts = ["tests/package/sample_python_pynacl.py"] timeout = 10