-
Notifications
You must be signed in to change notification settings - Fork 60
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
Review the action of building packages arm #439
Review the action of building packages arm #439
Conversation
… workflow for Wazuh Dashboard with plugins
… for Wazuh Dashboard package testing
…board build workflow before testing package
…directory for Wazuh Dashboard package testing
…for improved cross-platform compatibility
…ecture support for clearer cross-platform building
…chitecture in package builds and outputs
…age build process for better clarity and consistency
…ving build traceability and retention management
Legend: Build deb wazuh-dashboard on amd64 🟢root@ubuntu20:/vagrant# systemctl status wazuh-indexer
● wazuh-indexer.service - wazuh-indexer
Loaded: loaded (/lib/systemd/system/wazuh-indexer.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2024-12-11 20:46:20 UTC; 1min 53s ago
Docs: https://documentation.wazuh.com
Main PID: 13740 (java)
Tasks: 59 (limit: 4594)
Memory: 1.3G
CGroup: /system.slice/wazuh-indexer.service
└─13740 /usr/share/wazuh-indexer/jdk/bin/java -Xshare:auto -Dopensearch.networkaddress.cac>
Dec 11 20:46:04 ubuntu20 systemd-entrypoint[13740]: WARNING: System::setSecurityManager has been called>
Dec 11 20:46:04 ubuntu20 systemd-entrypoint[13740]: WARNING: Please consider reporting this to the main>
Dec 11 20:46:04 ubuntu20 systemd-entrypoint[13740]: WARNING: System::setSecurityManager will be removed>
Dec 11 20:46:05 ubuntu20 systemd-entrypoint[13740]: Dec 11, 2024 8:46:05 PM sun.util.locale.provider.Lo>
Dec 11 20:46:05 ubuntu20 systemd-entrypoint[13740]: WARNING: COMPAT locale provider will be removed in >
Dec 11 20:46:05 ubuntu20 systemd-entrypoint[13740]: WARNING: A terminally deprecated method in java.lan>
Dec 11 20:46:05 ubuntu20 systemd-entrypoint[13740]: WARNING: System::setSecurityManager has been called>
Dec 11 20:46:05 ubuntu20 systemd-entrypoint[13740]: WARNING: Please consider reporting this to the main>
Dec 11 20:46:05 ubuntu20 systemd-entrypoint[13740]: WARNING: System::setSecurityManager will be removed>
Dec 11 20:46:20 ubuntu20 systemd[1]: Started wazuh-indexer.
root@ubuntu20:/vagrant# systemctl status wazuh-dashboard
● wazuh-dashboard.service - wazuh-dashboard
Loaded: loaded (/etc/systemd/system/wazuh-dashboard.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2024-12-11 20:47:30 UTC; 48s ago
Main PID: 14256 (node)
Tasks: 11 (limit: 4594)
Memory: 183.2M
CGroup: /system.slice/wazuh-dashboard.service
└─14256 /usr/share/wazuh-dashboard/node/bin/node /usr/share/wazuh-dashboard/src/cli/dist
Dec 11 20:47:38 ubuntu20 opensearch-dashboards[14256]: {"type":"log","@timestamp":"2024-12-11T20:47:38Z>
Dec 11 20:47:38 ubuntu20 opensearch-dashboards[14256]: {"type":"log","@timestamp":"2024-12-11T20:47:38Z>
Dec 11 20:47:38 ubuntu20 opensearch-dashboards[14256]: {"type":"log","@timestamp":"2024-12-11T20:47:38Z>
Dec 11 20:47:38 ubuntu20 opensearch-dashboards[14256]: {"type":"log","@timestamp":"2024-12-11T20:47:38Z>
Dec 11 20:47:38 ubuntu20 opensearch-dashboards[14256]: {"type":"log","@timestamp":"2024-12-11T20:47:38Z>
Dec 11 20:47:38 ubuntu20 opensearch-dashboards[14256]: {"type":"log","@timestamp":"2024-12-11T20:47:38Z>
Dec 11 20:47:38 ubuntu20 opensearch-dashboards[14256]: {"type":"log","@timestamp":"2024-12-11T20:47:38Z>
Dec 11 20:47:38 ubuntu20 opensearch-dashboards[14256]: {"type":"log","@timestamp":"2024-12-11T20:47:38Z>
Dec 11 20:47:39 ubuntu20 opensearch-dashboards[14256]: {"type":"log","@timestamp":"2024-12-11T20:47:39Z>
Dec 11 20:47:39 ubuntu20 opensearch-dashboards[14256]: {"type":"log","@timestamp":"2024-12-11T20:47:39Z> Build rpm wazuh-dashboard on x86_64 🟢[vagrant@vbox ~]$ systemctl status wazuh-indexer
● wazuh-indexer.service - wazuh-indexer
Loaded: loaded (/usr/lib/systemd/system/wazuh-indexer.service; enabled; vendor preset: disabled)
Active: active (running) since Thu 2024-12-12 12:46:28 UTC; 10min ago
Docs: https://documentation.wazuh.com
Main PID: 3419 (java)
Tasks: 68 (limit: 24920)
Memory: 1.4G
CGroup: /system.slice/wazuh-indexer.service
└─3419 /usr/share/wazuh-indexer/jdk/bin/java -Xshare:auto -Dopensearch.networkaddress.cache.ttl=60 -Dopensearch.networkaddress.cache.negative.ttl=10 -XX:+AlwaysPreTouch -Xss1m -Djava.a>
[vagrant@vbox ~]$ systemctl status wazuh-dashboard
● wazuh-dashboard.service - wazuh-dashboard
Loaded: loaded (/etc/systemd/system/wazuh-dashboard.service; enabled; vendor preset: disabled)
Active: active (running) since Thu 2024-12-12 12:49:47 UTC; 7min ago
Main PID: 3809 (node)
Tasks: 11 (limit: 24920)
Memory: 221.9M
CGroup: /system.slice/wazuh-dashboard.service
└─3809 /usr/share/wazuh-dashboard/node/bin/node /usr/share/wazuh-dashboard/src/cli/dist
[vagrant@vbox ~]$ [vagrant@vbox ~]$ hostnamectl
Static hostname: localhost.localdomain
Transient hostname: vbox
Icon name: computer-vm
Chassis: vm
Machine ID: 79950293caa84a4a8909e0424488e6c8
Boot ID: d92a9cad327348fc89c91af8a3e5aa8e
Virtualization: oracle
Operating System: CentOS Linux 8
CPE OS Name: cpe:/o:centos:centos:8
Kernel: Linux 4.18.0-348.7.1.el8_5.x86_64
Architecture: x86-64 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
…ages-arm Signed-off-by: Nicolas Agustin Guevara Pihen <[email protected]>
…ct package and checksum uploads
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Signed-off-by: Nicolas Agustin Guevara Pihen <[email protected]> Co-authored-by: Nicolas Agustin Guevara Pihen <[email protected]>
Description
The process of building ARM packages is encountering issues. The following problems need to be addressed:
Expected artifact name wazuh-dashboard
4.10.2: https://github.com/wazuh/wazuh-dashboard/blob/4.10.2/.github/workflows/build_wazuh_dashboard_with_plugins.yml#L119
Fix master: https://github.com/wazuh/wazuh-dashboard/blob/master/.github/workflows/build_wazuh_dashboard_with_plugins.yml#L160
Error in the final package name
Look for an AMD instead of an ARM
https://github.com/wazuh/wazuh-dashboard/actions/runs/12203631148/job/34047930965
Look for an x86_64 instead of aarch64
https://github.com/wazuh/wazuh-dashboard/actions/runs/12203988641/job/34049019439
Issues Resolved
Closes #438
Changelog
Check List
yarn test:jest
yarn test:jest_integration