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

unzip command not found messages in the package generation actions #430

Closed
rauldpm opened this issue Nov 26, 2024 · 0 comments · Fixed by wazuh/wazuh-dashboard-plugins#7180, #431 or wazuh/wazuh-security-dashboards-plugin#138
Assignees
Labels
level/task Task issue type/bug Bug issue

Comments

@rauldpm
Copy link
Member

rauldpm commented Nov 26, 2024

Version Revision Production/Development Component Install type
4.10.0 Beta 1 Development Plugin install Builder

Description

Investigating the https://github.com/wazuh/wazuh-qa-automation/issues/461 issue, we found a log reporting errors while installing the plugins in the Wazuh dashboard builder

#10 [5/5] RUN /install-plugins.sh
#10 0.213 wazuh-dashboard-plugins_wazuh-check-updates_4.10.0-05_v4.10.0-beta1.zip wazuh-dashboard-plugins_wazuh-core_4.10.0-05_v4.10.0-beta1.zip wazuh-dashboard-plugins_wazuh_4.10.0-05_v4.10.0-beta1.zip
#10 0.213 wazuh-dashboard-plugins_wazuh-check-updates_4.10.0-05_v4.10.0-beta1.zip
#10 0.214 /install-plugins.sh: line 5: unzip: command not found
#10 0.214 wazuh-dashboard-plugins_wazuh-core_4.10.0-05_v4.10.0-beta1.zip
#10 0.215 /install-plugins.sh: line 5: unzip: command not found
#10 0.215 wazuh-dashboard-plugins_wazuh_4.10.0-05_v4.10.0-beta1.zip
#10 0.215 /install-plugins.sh: line 5: unzip: command not found
#10 0.217 ls: cannot access '/tmp/unziped': No such file or directory
#10 DONE 0.2s

The workflow continues and generates the final package without stating any failed stage

Environment

Steps to reproduce

  1. Run the https://github.com/wazuh/wazuh-dashboard/blob/v4.10.0-beta1/.github/workflows/build_wazuh_dashboard_with_plugins.yml workflow with the following parameters
  • system: deb
  • architecture: amd64
  • revision: 99
  • dashboard security plugin reference: v4.10.0-beta1
  • dashboard plugins reference: v4.10.0-beta1
  • production: true
  • checksum: true
  • id wd_(issue_number)
  1. Wait to finish
  2. Check the Build plugins -> Test packages -> Step 06 - Build the Docker image stage

Current result

The package build log reports errors related to the unzip: command not found while generating the Wazuh dashboard package

Expected result

No error message is found

Attachments

@wazuhci wazuhci moved this to Triage in Release 4.10.0 Nov 26, 2024
@wazuhci wazuhci moved this from Triage to In progress in Release 4.10.0 Nov 26, 2024
@asteriscos asteriscos self-assigned this Nov 26, 2024
@wazuhci wazuhci moved this from In progress to In review in Release 4.10.0 Nov 27, 2024
@Tostti Tostti linked a pull request Nov 27, 2024 that will close this issue
7 tasks
@wazuhci wazuhci moved this from In review to Done in Release 4.10.0 Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment