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

Release 4.8.0 - RC 2 - Indexer/Dashboard packages #23413

Closed
2 tasks
wazuhci opened this issue May 14, 2024 · 4 comments
Closed
2 tasks

Release 4.8.0 - RC 2 - Indexer/Dashboard packages #23413

wazuhci opened this issue May 14, 2024 · 4 comments

Comments

@wazuhci
Copy link

wazuhci commented May 14, 2024

Packages tests metrics information

Main release stage issue #23405
Main packages metrics issue #23407
Version 4.8.0
Release stage RC 2
Tag https://github.com/wazuh/wazuh/tree/v4.8.0-rc2

Build: https://ci.wazuh.info/job/Test_stack_tier/127/


Checks

System Install Upgrade Remove Purge Service Systemd Working (Curl) Dashboard/Indexer VERSION file
CentOS 7 🟢 🟢 🟢 🟢 🟢 🟢 🟢 🟢
CentOS 8 🟢 🟢 🟢 🟢 🟢 🟢 🟢 🟢
Red Hat 7 🟢 🟢 🟢 🟢 🟢 🟢 🟢 🟢
Red Hat 8 🟢 🟢 🟢 🟢 🟢 🟢 🟢 🟢
Red Hat 9 🟢 🟢 🟢 🟢 🟢 🟢 🟢 🟢
Amazon Linux 2 🟢 🟢 🟢 🟢 🟢 🟢 🟢 🟢
Ubuntu 16.04 🔴 🔴 🔴 🔴 🔴 🔴 🔴 🔴
Ubuntu 18.04 🟢 🟢 🟢 🟢 🟢 🟢 🟢 🟢
Ubuntu 20.04 🟢 🟢 🟢 🟢 🟢 🟢 🟢 🟢
Ubuntu 22.04 🔴 🔴 🟢 🟢 🟢 🔴 🟢 🟢
  • Include traces of each test in plain text

Status legend:
⚫ - Pending/In progress
⚪ - Skipped
🔴 - Rejected
🟡 - Ready to review
🟢 - Approved


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.

Conclusion 🔴

Known issues

New issues


@Rebits
Copy link
Member

Rebits commented May 15, 2024

Ubuntu Xenial 🔴

Ubuntu Xenial fails to provision QA dependencies.

10:12:12  TASK [stack_test : Install pytest] *********************************************
10:12:12  fatal: [Test_stack_B1434_2024051590439]: FAILED! => {
10:12:12      "changed": true,
10:12:12      "cmd": [
10:12:12          "pip3",
10:12:12          "install",
10:12:12          "pytest"
10:12:12      ],
10:12:12      "delta": "0:00:00.442983",
10:12:12      "end": "2024-05-15 09:12:12.173872",
10:12:12      "rc": 1,
10:12:12      "start": "2024-05-15 09:12:11.730889"
10:12:12  }
10:12:12  
10:12:12  STDOUT:
10:12:12  
10:12:12  Collecting pytest
10:12:12    Could not fetch URL https://pypi.python.org/simple/pytest/: There was a problem confirming the ssl certificate: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:777) - skipping
10:12:12  
10:12:12  
10:12:12  STDERR:
10:12:12  
10:12:12    Could not find a version that satisfies the requirement pytest (from versions: )
10:12:12  No matching distribution found for pytest
10:12:12  
10:12:12  
10:12:12  MSG:
10:12:12  
10:12:12  non-zero return code

Ubuntu xenials fails to remove the wazuh-indexer package

10:12:27  TASK [stack_test : Remove wazuh-indexer] ***************************************
10:12:27  [WARNING]: Updating cache and auto-installing missing dependency: python3-apt
10:12:27  fatal: [Test_stack_B1434_2024051590439]: FAILED! => {
10:12:27      "changed": false
10:12:27  }
10:12:27  
10:12:27  MSG:
10:12:27  
10:12:27  Could not import python modules: apt, apt_pkg. Please install python3-apt package.
10:12:27  

@Rebits
Copy link
Member

Rebits commented May 15, 2024

Ubuntu Jammy 🟡

The test_sysv[stop] fails. Known issue: https://github.com/wazuh/wazuh-jenkins/issues/5953

10:20:40  ============================= test session starts ==============================
10:20:40  platform linux -- Python 3.10.12, pytest-8.2.0, pluggy-1.5.0 -- /usr/bin/python3
10:20:40  cachedir: .pytest_cache
10:20:40  rootdir: /stack_test
10:20:40  collecting ... collected 13 items
10:20:40  
10:20:40  pytest_dashboard.py::test_upgrade PASSED                                 [  7%]
10:20:40  pytest_dashboard.py::test_check_process_dashboards PASSED                [ 15%]
10:20:40  pytest_dashboard.py::test_check_dashboards_log_errors SKIPPED (The L...) [ 23%]
10:20:40  pytest_dashboard.py::test_check_dashboards_keystore PASSED               [ 30%]
10:20:40  pytest_dashboard.py::test_check_dashboards_api SKIPPED (Skipping tes...) [ 38%]
10:20:40  pytest_dashboard.py::test_working_dashboard SKIPPED (Skipping test h...) [ 46%]
10:20:40  pytest_dashboard.py::test_check_version_file PASSED                      [ 53%]
10:20:40  pytest_dashboard.py::test_sysv[start] PASSED                             [ 61%]
10:20:40  pytest_dashboard.py::test_sysv[stop] FAILED                              [ 69%]
10:20:40  pytest_dashboard.py::test_systemd[start] PASSED                          [ 76%]
10:20:40  pytest_dashboard.py::test_systemd[stop] PASSED                           [ 84%]
10:20:40  pytest_dashboard.py::test_remove PASSED                                  [ 92%]
10:20:40  pytest_dashboard.py::test_purge PASSED                                   [100%]
10:20:40  
10:20:40  =================================== FAILURES ===================================
10:20:40  _______________________________ test_sysv[stop] ________________________________
10:20:40  pytest_dashboard.py:188: in test_sysv
10:20:40      assert state, ("Failed in ", action, " Dashboard with SysV. ",service)
10:20:40  E   AssertionError: ('Failed in ', 'stop', ' Dashboard with SysV. ', 'b"\\xc3\\x97 wazuh-dashboard.service - wazuh-dashboard\
10:20:40  E          Loaded...azuh-dashboard.\
10:20:40  E     May 15 09:20:04 ip-172-31-28-111 systemd[1]: wazuh-dashboard.service: Consumed 6.507s CPU time.\
10:20:40  E     "')
10:20:40  E   assert False
10:20:40  =========================== short test summary info ============================
10:20:40  FAILED pytest_dashboard.py::test_sysv[stop] - AssertionError: ('Failed in ', ...
10:20:40  ============== 1 failed, 9 passed, 3 skipped in 90.22s (0:01:30) ===============

10:25:31  TASK [stack_test : Installing indexer apt] *************************************
10:25:31  fatal: [Test_stack_B1437_2024051590352]: FAILED! => {
10:25:31      "attempts": 3,
10:25:31      "changed": true,
10:25:31      "cmd": "dpkg -i indexer-4.8.0.deb",
10:25:31      "delta": "0:00:55.537871",
10:25:31      "end": "2024-05-15 09:25:31.237808",
10:25:31      "rc": 1,
10:25:31      "start": "2024-05-15 09:24:35.699937"
10:25:31  }
10:25:31  
10:25:31  STDOUT:
10:25:31  
10:25:31  (Reading database ... 71691 files and directories currently installed.)
10:25:31  Preparing to unpack indexer-4.8.0.deb ...
10:25:31  Unpacking wazuh-indexer (4.8.0-1) over (4.8.0-1) ...
10:25:31  Setting up wazuh-indexer (4.8.0-1) ...
10:25:31  
10:25:31  
10:25:31  STDERR:
10:25:31  
10:25:31  
10:25:31  Configuration file '/etc/wazuh-indexer/opensearch-notifications-core/notifications-core.yml'
10:25:31   ==> Deleted (by you or by a script) since installation.
10:25:31   ==> Package distributor has shipped an updated version.
10:25:31     What would you like to do about it ?  Your options are:
10:25:31      Y or I  : install the package maintainer's version
10:25:31      N or O  : keep your currently-installed version
10:25:31        D     : show the differences between the versions 
10:25:31        Z     : start a shell to examine the situation
10:25:31   The default action is to keep your current version.
10:25:31  *** notifications-core.yml (Y/I/N/O/D/Z) [default=N] ? dpkg: error processing package wazuh-indexer (--install):
10:25:31   end of file on stdin at conffile prompt
10:25:31  Errors were encountered while processing:
10:25:31   wazuh-indexer
10:25:31  
10:25:31  
10:25:31  MSG:
10:25:31  
10:25:31  non-zero return code
10:25:31  
10:25:31  PLAY RECAP *********************************************************************
10:25:31  Test_stack_B1437_2024051590352 : ok=11   changed=3    unreachable=0    failed=1    skipped=8    rescued=0    ignored=0   

Due to all failures seems to be flaky tests, new build has been launched for Ubuntu Jammy

Build: https://ci.wazuh.info/job/Test_stack/1439/

@MARCOSD4
Copy link
Member

LGTM

1 similar comment
@juliamagan
Copy link
Member

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

4 participants