Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix tests with --kernel-dbg option on CI #751

Open
RomanBelozerov opened this issue Jan 20, 2025 · 0 comments
Open

fix tests with --kernel-dbg option on CI #751

RomanBelozerov opened this issue Jan 20, 2025 · 0 comments
Labels
bug Something isn't working CI stability
Milestone

Comments

@RomanBelozerov
Copy link
Contributor

some stress tests don't work on CI with debug kernel. Traceback:

======================================================================
ERROR: test_SettingsFlood (t_stress.test_stress.TestRequestsUnderCtrlFrameFlood)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jenkins/workspace/Daily_tests_with_dbg_kernel/tempesta-test/test_suite/tester.py", line 381, in cleanup_services
    raise error.ServiceStoppingException(self.__exceptions)
helpers.error.ServiceStoppingException: 
---------------------------------------------------------
Exception in stopping process for ctrl_frames_flood: Traceback (most recent call last):
  File "/home/jenkins/workspace/Daily_tests_with_dbg_kernel/tempesta-test/framework/stateful.py", line 69, in force_stop
    stop_proc()
  File "/home/jenkins/workspace/Daily_tests_with_dbg_kernel/tempesta-test/framework/client.py", line 105, in __on_finish
    self.proc_results = self.resq.get(timeout=self.duration)
  File "/usr/lib/python3.10/multiprocessing/queues.py", line 114, in get
    raise Empty
_queue.Empty

---------------------------------------------------------

======================================================================
FAIL: test_SettingsFlood (t_stress.test_stress.TestRequestsUnderCtrlFrameFlood)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/parameterized/parameterized.py", line 620, in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
  File "/home/jenkins/workspace/Daily_tests_with_dbg_kernel/tempesta-test/helpers/dmesg.py", line 163, in func_wrapper
    return __change_dmesg_limit_on_tempesta_node(func, 5, *args, **kwargs)
  File "/home/jenkins/workspace/Daily_tests_with_dbg_kernel/tempesta-test/helpers/dmesg.py", line 140, in __change_dmesg_limit_on_tempesta_node
    return func(*args, **kwargs)
  File "/home/jenkins/workspace/Daily_tests_with_dbg_kernel/tempesta-test/t_stress/test_stress.py", line 901, in test
    self.wait_while_busy(flood_client, timeout=timeout)
  File "/home/jenkins/workspace/Daily_tests_with_dbg_kernel/tempesta-test/test_suite/tester.py", line 465, in wait_while_busy
    self.assertTrue(success, f"Some of items exceeded the timeout {timeout}s while finishing")
AssertionError: False is not true : Some of items exceeded the timeout 120s while finishing

Tests to reproduce:

t_stress.test_stress.TestRequestsUnderCtrlFrameFlood

TempestaFW - c1d242d9e4e49a65ee35686605209994e6057606
kernel-patch - 5.10.35.tfw-c1b46f4-debug
tempesta-test - ac2ce38

I disabled these tests in job params. Please enable them after fix. http://172.240.91.52:8080/job/Daily_tests_with_dbg_kernel/configure

@RomanBelozerov RomanBelozerov added bug Something isn't working CI stability labels Jan 20, 2025
@RomanBelozerov RomanBelozerov added this to the 1.0 - GA milestone Jan 20, 2025
@RomanBelozerov RomanBelozerov pinned this issue Jan 20, 2025
@RomanBelozerov RomanBelozerov unpinned this issue Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working CI stability
Projects
None yet
Development

No branches or pull requests

1 participant