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

DTT1-Testing Module. Fix arm installation test #5352

Closed
mhamra opened this issue May 8, 2024 · 1 comment · Fixed by #5353
Closed

DTT1-Testing Module. Fix arm installation test #5352

mhamra opened this issue May 8, 2024 · 1 comment · Fixed by #5353
Assignees
Labels

Comments

@mhamra
Copy link
Contributor

mhamra commented May 8, 2024

Target version Related issue Related PR/dev branch
4.9.0 #5191 4495-dtt1-release

Description

When testing the installation of an Ubuntu 22.04 arm agent, we found that the tests were failing because the agent was not installed. After diagnosing the failure, we found that this command needs to be fixed.

commands.extend([
f"wget https://{s3_url}.wazuh.com/{release}/apt/pool/main/w/wazuh-agent/wazuh-agent_{wazuh_version}-1_amd64.deb && sudo WAZUH_MANAGER='MANAGER_IP' WAZUH_AGENT_NAME='{agent_name}' dpkg -i ./wazuh-agent_{wazuh_version}-1_amd64.deb"
])
elif distribution == 'deb' and 'arm64' in architecture:
commands.extend([
f"wget https://{s3_url}.wazuh.com/{release}/apt/pool/main/w/wazuh-agent/wazuh-agent_{wazuh_version}-1_arm64.deb && sudo WAZUH_MANAGER='MANAGER_IP' WAZUH_AGENT_NAME='{agent_name}' dpkg -i ./wazuh-agent_{wazuh_version}-1arm64.deb"

There's a missing '_' character in the command found in line 46.

@mhamra mhamra self-assigned this May 8, 2024
@wazuhci wazuhci moved this to Backlog in Release 4.9.0 May 8, 2024
@mhamra mhamra linked a pull request May 8, 2024 that will close this issue
@wazuhci wazuhci moved this from Backlog to Pending review in Release 4.9.0 May 8, 2024
@rauldpm
Copy link
Member

rauldpm commented May 8, 2024

LGTM

@rauldpm rauldpm closed this as completed May 8, 2024
@wazuhci wazuhci moved this from Pending review to Done in Release 4.9.0 May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants