-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Release 4.9.0 - RC 2 - Indexer/Dashboard packages #25496
Labels
Comments
1 task
CentOS 8 🔴The execution of the CentOS 8 test has failed with the following output: 11:22:13 fatal: [Test_stack_B1681_2024090291407]: FAILED! => {
11:22:13 "changed": true,
11:22:13 "cmd": [
11:22:13 "/usr/local/bin/pytest",
11:22:13 "-vvv",
11:22:13 "pytest_indexer.py",
11:22:13 "--package_version",
11:22:13 "4.9.0",
11:22:13 "--distribution",
11:22:13 "rpm",
11:22:13 "--package",
11:22:13 "/tmp/indexer-4.9.0",
11:22:13 "--upgrade",
11:22:13 "no"
11:22:13 ],
11:22:13 "delta": "0:01:18.174894",
11:22:13 "end": "2024-09-02 09:22:13.705888",
11:22:13 "rc": 1,
11:22:13 "start": "2024-09-02 09:20:55.530994"
11:22:13 }
11:22:13
11:22:13 STDOUT:
11:22:13
11:22:13 ============================= test session starts ==============================
11:22:13 platform linux -- Python 3.6.8, pytest-7.0.1, pluggy-1.0.0 -- /usr/bin/python3.6
11:22:13 cachedir: .pytest_cache
11:22:13 rootdir: /stack_test
11:22:13 collecting ... collected 19 items
11:22:13
11:22:13 pytest_indexer.py::test_upgrade SKIPPED (Skipping upgrage it will ex...) [ 5%]
11:22:13 pytest_indexer.py::test_check_process_indexer PASSED [ 10%]
11:22:13 pytest_indexer.py::test_check_indexer_log_errors PASSED [ 15%]
11:22:13 pytest_indexer.py::test_index_status[.opendistro_security] PASSED [ 21%]
11:22:13 pytest_indexer.py::test_check_indexer_internal_users[admin] PASSED [ 26%]
11:22:13 pytest_indexer.py::test_check_indexer_internal_users[kibanaserver] PASSED [ 31%]
11:22:13 pytest_indexer.py::test_check_indexer_internal_users[kibanaro] PASSED [ 36%]
11:22:13 pytest_indexer.py::test_check_indexer_internal_users[logstash] PASSED [ 42%]
11:22:13 pytest_indexer.py::test_check_indexer_internal_users[readall] PASSED [ 47%]
11:22:13 pytest_indexer.py::test_check_indexer_internal_users[snapshotrestore] PASSED [ 52%]
11:22:13 pytest_indexer.py::test_indexer_cluster_health PASSED [ 57%]
11:22:13 pytest_indexer.py::test_check_working_indexer PASSED [ 63%]
11:22:13 pytest_indexer.py::test_check_version_file PASSED [ 68%]
11:22:13 pytest_indexer.py::test_sysv[start] PASSED [ 73%]
11:22:13 pytest_indexer.py::test_sysv[stop] PASSED [ 78%]
11:22:13 pytest_indexer.py::test_systemd[start] FAILED [ 84%]
11:22:13 pytest_indexer.py::test_systemd[stop] PASSED [ 89%]
11:22:13 pytest_indexer.py::test_remove PASSED [ 94%]
11:22:13 pytest_indexer.py::test_purge SKIPPED (Skipping purge not valid into...) [100%]
11:22:13
11:22:13 =================================== FAILURES ===================================
11:22:13 _____________________________ test_systemd[start] ______________________________
11:22:13
11:22:13 action = 'start'
11:22:13
11:22:13 @pytest.mark.parametrize('action', system_actions)
11:22:13 def test_systemd(action):
11:22:13 state = False
11:22:13 max_retry = 3
11:22:13 actual_retry = 0
11:22:13 service = ""
11:22:13 time.sleep(10)
11:22:13 command = f"systemctl {action} wazuh-indexer"
11:22:13 status = subprocess.Popen(command.split(), stdin=PIPE, stdout=PIPE, stderr=PIPE, encoding='utf-8', start_new_session=True)
11:22:13
11:22:13 try:
11:22:13 status.wait(timeout=15)
11:22:13 except subprocess.TimeoutExpired:
11:22:13 try:
11:22:13 os.killpg(os.getpgid(status.pid), signal.SIGTERM)
11:22:13 except OSError:
11:22:13 pass
11:22:13
11:22:13 while True and actual_retry <= max_retry:
11:22:13 p = Popen(['systemctl', 'status', 'wazuh-indexer'], stdin=PIPE, stdout=PIPE, stderr=PIPE)
11:22:13 service = str(p.stdout.read())
11:22:13 p.kill()
11:22:13 if action == "start":
11:22:13 if not "running" in service:
11:22:13 actual_retry += 1
11:22:13 time.sleep(5)
11:22:13 else:
11:22:13 state = True
11:22:13 break
11:22:13 if action == "stop":
11:22:13 if not "inactive" in service:
11:22:13 actual_retry += 1
11:22:13 time.sleep(5)
11:22:13 else:
11:22:13 state = True
11:22:13 break
11:22:13
11:22:13 > assert state, ("Failed in ", action, " Indexer with SystemD. ", service)
11:22:13 E AssertionError: ('Failed in ', 'start', ' Indexer with SystemD. ', "b'\\xe2\\x97\\x8f wazuh-indexer.service - wazuh-indexer\
11:22:13 E Loade...6.ec2.internal systemd-entrypoint[10293]: WARNING: System::setSecurityManager will be removed in a future release\
11:22:13 E '")
11:22:13 E assert False
11:22:13
11:22:13 pytest_indexer.py:258: AssertionError
11:22:13 =========================== short test summary info ============================
11:22:13 FAILED pytest_indexer.py::test_systemd[start] - AssertionError: ('Failed in '...
11:22:13 ============== 1 failed, 16 passed, 2 skipped in 77.82s (0:01:17) ==============
11:22:13
11:22:13
11:22:13 MSG:
11:22:13
11:22:13 non-zero return code This was previously reported in https://github.com/wazuh/wazuh-jenkins/issues/6865. Now, it has been reported in https://github.com/wazuh/wazuh-jenkins/issues/6913 |
LGTM |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Packages tests metrics information
Build: https://ci.wazuh.info/job/Test_stack_tier/147/
Indexer Checks
Dashboard Checks
Status legend:
⚫ - Not started/In progress
⚪ - Skipped
🔴 - Found new errors/bugs/failures
🟡 - Found known errors/bugs/failures
🟢 - All tests passed
Conclusion 🔴
New issue:
Auditor's validation
In order to close and proceed with the release or the next candidate version, the following auditors must give the green light to this RC.
The text was updated successfully, but these errors were encountered: