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

Merge 4.8.1 into 4.8.2 #2750

Merged
merged 22 commits into from
Jan 8, 2024

Fix source branch version

18e8de9
Select commit
Loading
Failed to load commit list.
Merged

Merge 4.8.1 into 4.8.2 #2750

Fix source branch version
18e8de9
Select commit
Loading
Failed to load commit list.
This check has been archived and is scheduled for deletion. Learn more about checks retention
Wazuh CI / All In One - Ubuntu bionic installation failed Jan 5, 2024 in 1m 45s

Test_unattended

Below you have the stage output

Details

Ubuntu bionic log



--------------------------------
05/01/2024 21:12:03 DEBUG: Checking root permissions.
05/01/2024 21:12:03 INFO: Starting Wazuh installation assistant. Wazuh version: 4.8.2
05/01/2024 21:12:03 INFO: Verbose logging redirected to /var/log/wazuh-install.log
05/01/2024 21:12:03 DEBUG: APT package manager will be used.
05/01/2024 21:12:03 DEBUG: Checking system distribution.
05/01/2024 21:12:03 DEBUG: Detected distribution name: ubuntu
05/01/2024 21:12:03 DEBUG: Detected distribution version: 18
05/01/2024 21:12:03 DEBUG: Checking Wazuh installation.
05/01/2024 21:12:05 DEBUG: Installing check dependencies.
Hit:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu bionic InRelease
Hit:2 http://us-east-1.ec2.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:3 http://us-east-1.ec2.archive.ubuntu.com/ubuntu bionic-backports InRelease
Get:4 https://deb.nodesource.com/node_8.x bionic InRelease [4,595 B]
Hit:5 http://security.ubuntu.com/ubuntu bionic-security InRelease
Hit:6 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu bionic InRelease
Fetched 4,595 B in 1s (8,220 B/s)
Reading package lists...
05/01/2024 21:12:13 DEBUG: Checking system architecture.
05/01/2024 21:12:13 INFO: Verifying that your system meets the recommended minimum hardware requirements.
05/01/2024 21:12:13 DEBUG: CPU cores detected: 2
05/01/2024 21:12:13 DEBUG: Free RAM memory detected: 7897
05/01/2024 21:12:13 INFO: Wazuh web interface port will be 443.
05/01/2024 21:12:13 DEBUG: Checking ports availability.
Hit:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu bionic InRelease
Hit:2 http://us-east-1.ec2.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:3 http://us-east-1.ec2.archive.ubuntu.com/ubuntu bionic-backports InRelease
Get:4 https://deb.nodesource.com/node_8.x bionic InRelease [4,595 B]
Hit:5 http://security.ubuntu.com/ubuntu bionic-security InRelease
Hit:6 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu bionic InRelease
Fetched 4,595 B in 1s (8,131 B/s)
Reading package lists...
05/01/2024 21:12:17 DEBUG: Installing prerequisites dependencies.
05/01/2024 21:12:23 INFO: --- Dependencies ----
05/01/2024 21:12:23 INFO: Installing apt-transport-https.
Reading package lists... Building dependency tree... Reading state information... The following NEW packages will be installed: apt-transport-https 0 upgraded, 1 newly installed, 0 to remove and 323 n
ot upgraded. Need to get 1,692 B of archives. After this operation, 155 kB of additional disk space will be used. Get:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 apt
-transport-https all 1.6.17 [1,692 B] Fetched 1,692 B in 0s (0 B/s) Selecting previously unselected package apt-transport-https.
 (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 96312 files and directories currently installed.)
 Preparing to unpack .../apt-transport-https_1.6.17_all.deb ...
 Unpacking apt-transport-https (1.6.17) ...
 Setting up apt-transport-https (1.6.17) ...
05/01/2024 21:12:27 INFO: Installing debhelper.
Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: autopoint dh-autoreconf dh-strip-nondeterminism gettext intltool-
debian libarchive-cpio-perl libarchive-zip-perl libcroco3 libfile-stripnondeterminism-perl libmail-sendmail-perl libsys-hostname-long-perl libtimedate-perl po-debconf Suggested packages: dh-make dwz g
ettext-doc libasprintf-dev libgettextpo-dev libmail-box-perl The following NEW packages will be installed: autopoint debhelper dh-autoreconf dh-strip-nondeterminism gettext intltool-debian libarchive-
cpio-perl libarchive-zip-perl libcroco3 libfile-stripnondeterminism-perl libmail-sendmail-perl libsys-hostname-long-perl libtimedate-perl po-debconf 0 upgraded, 14 newly installed, 0 to remove and 323
 not upgraded. Need to get 3,160 kB of archives. After this operation, 10.2 MB of additional disk space will be used. Get:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 aut
opoint all 0.19.8.1-6ubuntu0.3 [426 kB] Get:2 http://us-east-1.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 dh-autoreconf all 17 [15.8 kB] Get:3 http://us-east-1.ec2.archive.ubuntu.com/ubuntu bioni
c-updates/main amd64 libarchive-zip-perl all 1.60-1ubuntu0.1 [84.6 kB] Get:4 http://us-east-1.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 libfile-stripnondeterminism-perl all 0.040-1.1~build1 [13.
8 kB] Get:5 http://us-east-1.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 libtimedate-perl all 2.3000-2 [37.5 kB] Get:6 http://us-east-1.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 dh-strip-non
determinism all 0.040-1.1~build1 [5,208 B] Get:7 http://us-east-1.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 libcroco3 amd64 0.6.12-2 [81.3 kB] Get:8 http://us-east-1.ec2.archive.ubuntu.com/ubunt
u bionic-updates/main amd64 gettext amd64 0.19.8.1-6ubuntu0.3 [1,293 kB] Get:9 http://us-east-1.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 intltool-debian all 0.35.0+20060710.4 [24.9 kB] Get:10 h
ttp://us-east-1.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 po-debconf all 1.0.20 [232 kB] Get:11 http://us-east-1.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 debhelper all 11.1.6ubunt
u2 [902 kB] Get:12 http://us-east-1.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 libarchive-cpio-perl all 0.10-1 [9,644 B] Get:13 http://us-east-1.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 li
bsys-hostname-long-perl all 1.5-1 [11.7 kB] Get:14 http://us-east-1.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 libmail-sendmail-perl all 0.80-1 [22.6 kB] Fetched 3,160 kB in 0s (24.8 MB/s) Select
ing previously unselected package autopoint.
 (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 96316 files and directories currently installed.)
 Preparing to unpack .../00-autopoint_0.19.8.1-6ubuntu0.3_all.deb ...
 Unpacking autopoint (0.19.8.1-6ubuntu0.3) ...
 Selecting previously unselected package dh-autoreconf.
 Preparing to unpack .../01-dh-autoreconf_17_all.deb ...
 Unpacking dh-autoreconf (17) ...
 Selecting previously unselected package libarchive-zip-perl.
 Preparing to unpack .../02-libarchive-zip-perl_1.60-1ubuntu0.1_all.deb ...
 Unpacking libarchive-zip-perl (1.60-1ubuntu0.1) ...
 Selecting previously unselected package libfile-stripnondeterminism-perl.
 Preparing to unpack .../03-libfile-stripnondeterminism-perl_0.040-1.1~build1_all.deb ...
 Unpacking libfile-stripnondeterminism-perl (0.040-1.1~build1) ...
 Selecting previously unselected package libtimedate-perl.
 Preparing to unpack .../04-libtimedate-perl_2.3000-2_all.deb ...
 Unpacking libtimedate-perl (2.3000-2) ...
 Selecting previously unselected package dh-strip-nondeterminism.
 Preparing to unpack .../05-dh-strip-nondeterminism_0.040-1.1~build1_all.deb ...
 Unpacking dh-strip-nondeterminism (0.040-1.1~build1) ...
 Selecting previously unselected package libcroco3:amd64.
 Preparing to unpack .../06-libcroco3_0.6.12-2_amd64.deb ...
 Unpacking libcroco3:amd64 (0.6.12-2) ...
 Selecting previously unselected package gettext.
 Preparing to unpack .../07-gettext_0.19.8.1-6ubuntu0.3_amd64.deb ...
 Unpacking gettext (0.19.8.1-6ubuntu0.3) ...
 Selecting previously unselected package intltool-debian.
 Preparing to unpack .../08-intltool-debian_0.35.0+20060710.4_all.deb ...
 Unpacking intltool-debian (0.35.0+20060710.4) ...
 Selecting previously unselected package po-debconf.
 Preparing to unpack .../09-po-debconf_1.0.20_all.deb ...
 Unpacking po-debconf (1.0.20) ...
 Selecting previously unselected package debhelper.
 Preparing to unpack .../10-debhelper_11.1.6ubuntu2_all.deb ...
 Unpacking debhelper (11.1.6ubuntu2) ...
 Selecting previously unselected package libarchive-cpio-perl.
 Preparing to unpack .../11-libarchive-cpio-perl_0.10-1_all.deb ...
 Unpacking libarchive-cpio-perl (0.10-1) ...
 Selecting previously unselected package libsys-hostname-long-perl.
 Preparing to unpack .../12-libsys-hostname-long-perl_1.5-1_all.deb ...
 Unpacking libsys-hostname-long-perl (1.5-1) ...
 Selecting previously unselected package libmail-sendmail-perl.
 Preparing to unpack .../13-libmail-sendmail-perl_0.80-1_all.deb ...
 Unpacking libmail-sendmail-perl (0.80-1) ...
 Setting up libarchive-zip-perl (1.60-1ubuntu0.1) ...
 Setting up libtimedate-perl (2.3000-2) ...
 Processing triggers for install-info (6.5.0.dfsg.1-2) ...
 Setting up libarchive-cpio-perl (0.10-1) ...
 Setting up libcroco3:amd64 (0.6.12-2) ...
 Setting up libsys-hostname-long-perl (1.5-1) ...
 Setting up libmail-sendmail-perl (0.80-1) ...
 Processing triggers for libc-bin (2.27-3ubuntu1) ...
 Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
 Setting up autopoint (0.19.8.1-6ubuntu0.3) ...
 Setting up libfile-stripnondeterminism-perl (0.040-1.1~build1) ...
 Setting up gettext (0.19.8.1-6ubuntu0.3) ...
 Setting up intltool-debian (0.35.0+20060710.4) ...
 Setting up po-debconf (1.0.20) ...
 Setting up dh-autoreconf (17) ...
 Setting up debhelper (11.1.6ubuntu2) ...
 Setting up dh-strip-nondeterminism (0.040-1.1~build1) ...
 Processing triggers for libc-bin (2.27-3ubuntu1) ...
Hit:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu bionic InRelease
Hit:2 http://us-east-1.ec2.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:3 http://us-east-1.ec2.archive.ubuntu.com/ubuntu bionic-backports InRelease
Get:4 https://deb.nodesource.com/node_8.x bionic InRelease [4,595 B]
Hit:5 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu bionic InRelease
Hit:6 http://security.ubuntu.com/ubuntu bionic-security InRelease
Fetched 4,595 B in 1s (8,215 B/s)
Reading package lists...
05/01/2024 21:12:47 DEBUG: Checking curl tool version.
05/01/2024 21:12:47 DEBUG: Adding the Wazuh repository.
gpg: keyring '/usr/share/keyrings/wazuh.gpg' created
gpg: /root/.gnupg/trustdb.gpg: trustdb created
gpg: key 96B3EE5F29111145: public key "Wazuh.com (Wazuh Signing Key) <[email protected]>" imported
gpg: Total number processed: 1
gpg:               imported: 1
deb [signed-by=/usr/share/keyrings/wazuh.gpg] https://packages-dev.wazuh.com/staging/apt/ unstable main
Hit:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu bionic InRelease
Hit:2 http://us-east-1.ec2.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:3 http://us-east-1.ec2.archive.ubuntu.com/ubuntu bionic-backports InRelease
Hit:4 http://security.ubuntu.com/ubuntu bionic-security InRelease
Get:5 https://deb.nodesource.com/node_8.x bionic InRelease [4,595 B]
Hit:6 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu bionic InRelease
Get:7 https://packages-dev.wazuh.com/staging/apt unstable InRelease [9,576 B]
Fetched 14.2 kB in 1s (22.6 kB/s)
Reading package lists...
05/01/2024 21:12:50 INFO: Wazuh development repository added.
05/01/2024 21:12:50 INFO: --- Configuration files ---
05/01/2024 21:12:50 INFO: Generating configuration files.
05/01/2024 21:12:50 DEBUG: Creating Wazuh certificates.
05/01/2024 21:12:50 DEBUG: Reading configuration file.
05/01/2024 21:12:50 DEBUG: Creating the root certificate.
Can't load /root/.rnd into RNG
140370795024832:error:2406F079:random number generator:RAND_load_file:Cannot open file:../crypto/rand/randfile.c:88:Filename=/root/.rnd
Generating a RSA private key
.....................................................+++++
..............................................................+++++
writing new private key to '/tmp/wazuh-certificates//root-ca.key'
-----
05/01/2024 21:12:51 DEBUG: Generating Admin certificates.
Generating RSA private key, 2048 bit long modulus (2 primes)
......+++++
..........+++++
e is 65537 (0x010001)
Can't load /root/.rnd into RNG
139700970275264:error:2406F079:random number generator:RAND_load_file:Cannot open file:../crypto/rand/randfile.c:88:Filename=/root/.rnd
Signature ok
subject=C = US, L = California, O = Wazuh, OU = Wazuh, CN = admin
Getting CA Private Key
05/01/2024 21:12:51 DEBUG: Generating Wazuh indexer certificates.
05/01/2024 21:12:51 DEBUG: Creating the Wazuh indexer certificates.
05/01/2024 21:12:51 DEBUG: Generating certificate configuration.
Generating a RSA private key
.......................................................................................+++++
............+++++
writing new private key to '/tmp/wazuh-certificates//wazuh-indexer-key.pem'
-----
Signature ok
subject=C = US, L = California, O = Wazuh, OU = Wazuh, CN = wazuh-indexer
Getting CA Private Key
05/01/2024 21:12:51 DEBUG: Generating Filebeat certificates.
05/01/2024 21:12:51 DEBUG: Creating the Wazuh server certificates.
05/01/2024 21:12:51 DEBUG: Generating certificate configuration.
Generating a RSA private key
.................................................................+++++
.......................+++++
writing new private key to '/tmp/wazuh-certificates//wazuh-server-key.pem'
-----
Signature ok
subject=C = US, L = California, O = Wazuh, OU = Wazuh, CN = wazuh-server
Getting CA Private Key
05/01/2024 21:12:51 DEBUG: Generating Wazuh dashboard certificates.
05/01/2024 21:12:51 DEBUG: Creating the Wazuh dashboard certificates.
05/01/2024 21:12:51 DEBUG: Generating certificate configuration.
Generating a RSA private key
..................+++++
..........+++++
writing new private key to '/tmp/wazuh-certificates//wazuh-dashboard-key.pem'
-----
Signature ok
subject=C = US, L = California, O = Wazuh, OU = Wazuh, CN = wazuh-dashboard
Getting CA Private Key
05/01/2024 21:12:51 DEBUG: Cleaning certificate files.
05/01/2024 21:12:51 DEBUG: Generating password file.
05/01/2024 21:12:51 DEBUG: Generating random passwords.
05/01/2024 21:12:51 INFO: Created wazuh-install-files.tar. It contains the Wazuh cluster key, certificates, and passwords necessary for installation.
05/01/2024 21:12:51 DEBUG: Extracting Wazuh configuration.
05/01/2024 21:12:51 DEBUG: Reading configuration file.
05/01/2024 21:12:52 INFO: --- Wazuh indexer ---
05/01/2024 21:12:52 INFO: Starting Wazuh indexer installation.
Reading package lists... Building dependency tree... Reading state information... E: Unable to locate package wazuh-indexer
05/01/2024 21:12:52 DEBUG: Checking Wazuh installation.
05/01/2024 21:12:54 ERROR: Wazuh indexer installation failed.
05/01/2024 21:12:54 INFO: --- Removing existing Wazuh installation ---
05/01/2024 21:12:54 DEBUG: Removing GPG key from system.
05/01/2024 21:12:55 INFO: Installation cleaned. Check the /var/log/wazuh-install.log file to learn more about the issue.