[Starlingx-discuss] Fwd: Error while using StarlingX
---------- Forwarded message --------- From: sanath kumar <sanathukumar14@gmail.com> Date: Wed, 2 Dec 2020 at 12:19 Subject: Re: [Starlingx-discuss] Error while using StarlingX To: Jascanu, Nicolae <nicolae.jascanu@intel.com> Hello Sir, When I do *ls -al* in * test/automated-robot-suite* folder, I got this (my-venv) general@gs-lab-51:~/test/automated-robot-suite$ ls -al total 1520 drwxrwxr-x 14 general general 4096 Dec 2 11:51 . drwxrwxr-x 7 general general 4096 Dec 1 22:40 .. drwxrwxr-x 3 general general 4096 Dec 1 22:40 baremetal lrwxrwxrwx 1 general general 31 Dec 2 11:51 bootimage.iso -> stx-2018-10-19-29-r-2018.10.iso drwxrwxr-x 3 general general 4096 Dec 2 11:51 Config drwxrwxr-x 2 general general 4096 Dec 1 22:40 docs lrwxrwxrwx 1 general general 69 Dec 2 11:51 latest-results -> /home/general/test/automated-robot-suite/Results/20201202115139_Setup drwxrwxr-x 3 general general 4096 Dec 2 11:51 Libraries -rw-rw-r-- 1 general general 137 Dec 1 22:40 LICENSE -rw-rw-r-- 1 general general 11358 Dec 1 22:40 LICENSE.apache drwxrwxr-x 5 general general 4096 Dec 2 11:51 Qemu -rw-rw-r-- 1 general general 21506 Dec 1 22:40 README.rst -rw-rw-r-- 1 general general 209 Dec 1 22:40 requirements.txt drwxrwxr-x 2 general general 4096 Dec 1 22:40 Resources drwxrwxr-x 3 general general 4096 Dec 2 11:51 Results -rwxrwxr-x 1 general general 13672 Dec 1 22:40 runner.py drwxrwxr-x 2 general general 4096 Dec 2 11:51 %s -rw-rw-r-- 1 general general 159 Dec 1 22:40 setup.cfg -rw-rw-r-- 1 general general 1419574 Dec 2 11:41 stx-openstack.tgz drwxrwxr-x 2 general general 4096 Dec 1 22:40 testcases -rw-rw-r-- 1 general general 109 Dec 1 22:40 test-requirements.txt drwxrwxr-x 4 general general 4096 Dec 1 22:40 Tests -rw-rw-r-- 1 general general 1318 Dec 1 22:40 tox.ini drwxrwxr-x 3 general general 4096 Dec 2 11:51 Utils drwxrwxr-x 3 general general 4096 Dec 2 11:51 Variables I have also attached all the log files from *test/automated-robot-suite/latest-results* Regards, Sanath Kumar +91 8971546076 On Thu, 26 Nov 2020 at 20:37, Jascanu, Nicolae <nicolae.jascanu@intel.com> wrote:
Hi Kumar,
Could you please send the output of command *ls -al* in *test/automated-robot-suite* folder?
Also, please send all the log files from *test/automated-robot-suite/latest-results*
We will try to figure out what is missing.
Regards,
Nicolae Jascanu, Ph.D.
Software Engineer
IOTG
Galati, Romania
*From:* sanath kumar <sanathukumar14@gmail.com> *Sent:* Wednesday, November 25, 2020 20:47 *To:* Jascanu, Nicolae <nicolae.jascanu@intel.com> *Subject:* Re: [Starlingx-discuss] Error while using StarlingX
Hello Sir,
I have done all the above steps. And below is the error message I was getting, Please help me out.
(my-venv) iot@gss-lab-51:~/test/automated-robot-suite$ python runner.py --run-suite Setup --configuration 1 --environment virtual /home/iot/my-venv/lib/python3.5/site-packages/paramiko/transport.py:33: CryptographyDeprecationWarning: Python 3.5 support will be dropped in the next release of cryptography. Please upgrade your Python. from cryptography.hazmat.backends import default_backend /home/iot/my-venv/lib/python3.5/site-packages/robot/variables/filesetter.py:77: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details. variables = yaml.load(stream)
============================================================================== Setup :: Install and configure StarlingX ISO.
============================================================================== Qemu Libvirt VMs Setup Virtual :: Qemu-Libvirt VMs setup and confi... ... Qemu Libvirt VMs Setup Virtual :: Qemu-Libvirt VMs setup and confi... | FAIL | 1 != 0
------------------------------------------------------------------------------ GRUB Checker For BIOS Virtual :: Check grub cmd boot line against ... | FAIL | sudo mount -o loop /home/iot/test/automated-robot-suite/bootimage.iso /tmp/cdrom: b'mount: /home/iot/test/automated-robot-suite/bootimage.iso: failed to setup loop device: No such file or directory'
------------------------------------------------------------------------------ Install ISO Virtual :: Installation of controller node and define the | FAIL | EOF: End Of File (EOF). Exception style platform. <pexpect.pty_spawn.spawn object at 0x7f3833f37a58> command: /usr/bin/virsh args: ['/usr/bin/virsh', '-c', 'qemu:///system', 'console', 'controller-0'] buffer (last 100 chars): b'' before (last 100 chars): b" get domain 'controller-0'\r\nerror: Domain not found: no domain with matching name 'controller-0'\r\n\r\n" after: <class 'pexpect.exceptions.EOF'> match: None match_index: None exitstatus: 1 flag_eof: True pid: 3589 child_fd: 15 closed: False timeout: 30 delimiter: <class 'pexpect.exceptions.EOF'> logfile: <_io.BufferedWriter name='/home/iot/test/automated-robot-suite/Results/20201126001352_Setup/iso_setup_console.txt'> logfile_read: None logfile_send: None maxread: 2000 ignorecase: False searchwindowsize: None delaybeforesend: 0.05 delayafterclose: 0.1 delayafterterminate: 0.1 searcher: searcher_re: 0: re.compile(b'Escape character')
------------------------------------------------------------------------------ Ansible Bootstrap Configuration :: Configure controller with local...
Regards,
Sanath Kumar
+91 8971546076
On Wed, 25 Nov 2020 at 11:12, sanath kumar <sanathukumar14@gmail.com> wrote:
Thank you, I will check.
Regards,
Sanath Kumar
+91 8971546076
On Tue, 24 Nov 2020 at 14:35, Jascanu, Nicolae <nicolae.jascanu@intel.com> wrote:
Hi Kumar,
We discussed the feedback you provided. Please check the following potential issues:
1. please check if *bootimage.iso* and *stx-openstack.tgz* (rename the versioned helmchart ) are present in the *test/automated-robot-suite* folder 2. add in /etc/sudoers the following: username ALL=(ALL) NOPASSWD: ALL 3. provide the proper rights to libvirt-sock: sudo chmod 666 /var/run/libvirt/libvirt-sock 4. uncomment *StrictHostKeyChecking no* in /etc/ssh/ssh_config
Please let us know if you encounter other errors
Regards,
Nicolae Jascanu, Ph.D.
Software Engineer
IOTG
Galati, Romania
*From:* sanath kumar <sanathukumar14@gmail.com> *Sent:* Monday, November 23, 2020 14:25 *To:* Jascanu, Nicolae <nicolae.jascanu@intel.com> *Subject:* Re: [Starlingx-discuss] Error while using StarlingX
Hello StarlingX Team,
I am getting Below Error.
(my-venv) starlingx@gss-lab-51:~/test/automated-robot-suite$ python3 runner.py --run-suite Setup --configuration 1 --environment virtual /home/starlingx/my-venv/lib/python3.5/site-packages/paramiko/transport.py:33: CryptographyDeprecationWarning: Python 3.5 support will be dropped in the next release of cryptography. Please upgrade your Python. from cryptography.hazmat.backends import default_backend /home/starlingx/my-venv/lib/python3.5/site-packages/robot/variables/filesetter.py:77: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details. variables = yaml.load(stream)
============================================================================== Setup :: Install and configure StarlingX ISO.
============================================================================== Qemu Libvirt VMs Setup Virtual :: Qemu-Libvirt VMs setup and confi... ... Qemu Libvirt VMs Setup Virtual :: Qemu-Libvirt VMs setup and confi... | FAIL | 1 != 0
------------------------------------------------------------------------------ GRUB Checker For BIOS Virtual :: Check grub cmd boot line against ... | FAIL | sudo mount -o loop /home/starlingx/test/automated-robot-suite/bootimage.iso /tmp/cdrom: b'mount: /home/starlingx/test/automated-robot-suite/bootimage.iso: failed to setup loop device: No such file or directory'
------------------------------------------------------------------------------ Install ISO Virtual :: Installation of controller node and define the | FAIL | EOF: End Of File (EOF). Exception style platform. <pexpect.pty_spawn.spawn object at 0x7f57fe769f60> command: /usr/bin/virsh args: ['/usr/bin/virsh', '-c', 'qemu:///system', 'console', 'controller-0'] buffer (last 100 chars): b'' before (last 100 chars): b" hypervisor\r\nerror: Failed to connect socket to '/var/run/libvirt/libvirt-sock': Permission denied\r\n" after: <class 'pexpect.exceptions.EOF'> match: None match_index: None exitstatus: 1 flag_eof: True pid: 2884 child_fd: 15 closed: False timeout: 30 delimiter: <class 'pexpect.exceptions.EOF'> logfile: <_io.BufferedWriter name='/home/starlingx/test/automated-robot-suite/Results/20201123174658_Setup/iso_setup_console.txt'> logfile_read: None logfile_send: None maxread: 2000 ignorecase: False searchwindowsize: None delaybeforesend: 0.05 delayafterclose: 0.1 delayafterterminate: 0.1 searcher: searcher_re: 0: re.compile(b'Escape character')
------------------------------------------------------------------------------ Ansible Bootstrap Configuration :: Configure controller with local... | FAIL | Keyword 'Connect to Controller Node' failed after retrying for 5 minutes. The last error was: timeout: timed out
------------------------------------------------------------------------------ Setup :: Install and configure StarlingX ISO. | FAIL | 4 critical tests, 0 passed, 4 failed 4 tests total, 0 passed, 4 failed
============================================================================== Debug: /home/starlingx/test/automated-robot-suite/Results/20201123174658_Setup/debug.log Output: /home/starlingx/test/automated-robot-suite/Results/20201123174658_Setup/output.xml Log: /home/starlingx/test/automated-robot-suite/Results/20201123174658_Setup/log.html Report: /home/starlingx/test/automated-robot-suite/Results/20201123174658_Setup/report.html
Regards,
Sanath Kumar
+91 8971546076
On Wed, 18 Nov 2020 at 20:57, Jascanu, Nicolae <nicolae.jascanu@intel.com> wrote:
Hi Kumar,
You can try to install StarlingX virtual or baremetal using the scripts that we are using for daily sanity validation. Please follow the configuration steps at: https://opendev.org/starlingx/test/src/branch/master/automated-robot-suite .
Let us know if you have issues.
Regards,
Nicolae Jascanu, Ph.D.
Software Engineer
IOTG
Galati, Romania
*From:* sanath kumar <sanathukumar14@gmail.com> *Sent:* Thursday, November 12, 2020 08:52 *To:* Starlingx-discuss@lists.starlingx.io *Subject:* [Starlingx-discuss] Error while using StarlingX
Hello StarlingX Team,
While I execute below Commands I am getting some error.
These are the Errors I am getting.
Regards,
Sanath Kumar
+91 8971546076
Hello Sir, When I do *ls -al* in * test/automated-robot-suite* folder, I got this (my-venv) general@gs-lab-51:~/test/automated-robot-suite$ ls -al total 1520 drwxrwxr-x 14 general general 4096 Dec 2 11:51 . drwxrwxr-x 7 general general 4096 Dec 1 22:40 .. drwxrwxr-x 3 general general 4096 Dec 1 22:40 baremetal lrwxrwxrwx 1 general general 31 Dec 2 11:51 bootimage.iso -> stx-2018-10-19-29-r-2018.10.iso drwxrwxr-x 3 general general 4096 Dec 2 11:51 Config drwxrwxr-x 2 general general 4096 Dec 1 22:40 docs lrwxrwxrwx 1 general general 69 Dec 2 11:51 latest-results -> /home/general/test/automated-robot-suite/Results/20201202115139_Setup drwxrwxr-x 3 general general 4096 Dec 2 11:51 Libraries -rw-rw-r-- 1 general general 137 Dec 1 22:40 LICENSE -rw-rw-r-- 1 general general 11358 Dec 1 22:40 LICENSE.apache drwxrwxr-x 5 general general 4096 Dec 2 11:51 Qemu -rw-rw-r-- 1 general general 21506 Dec 1 22:40 README.rst -rw-rw-r-- 1 general general 209 Dec 1 22:40 requirements.txt drwxrwxr-x 2 general general 4096 Dec 1 22:40 Resources drwxrwxr-x 3 general general 4096 Dec 2 11:51 Results -rwxrwxr-x 1 general general 13672 Dec 1 22:40 runner.py drwxrwxr-x 2 general general 4096 Dec 2 11:51 %s -rw-rw-r-- 1 general general 159 Dec 1 22:40 setup.cfg -rw-rw-r-- 1 general general 1419574 Dec 2 11:41 stx-openstack.tgz drwxrwxr-x 2 general general 4096 Dec 1 22:40 testcases -rw-rw-r-- 1 general general 109 Dec 1 22:40 test-requirements.txt drwxrwxr-x 4 general general 4096 Dec 1 22:40 Tests -rw-rw-r-- 1 general general 1318 Dec 1 22:40 tox.ini drwxrwxr-x 3 general general 4096 Dec 2 11:51 Utils drwxrwxr-x 3 general general 4096 Dec 2 11:51 Variables I have also attached all the log files from *test/automated-robot-suite/latest-results* Regards, Sanath Kumar +91 8971546076 On Wed, 2 Dec 2020 at 20:30, sanath kumar <sanathukumar14@gmail.com> wrote:
---------- Forwarded message --------- From: sanath kumar <sanathukumar14@gmail.com> Date: Wed, 2 Dec 2020 at 12:19 Subject: Re: [Starlingx-discuss] Error while using StarlingX To: Jascanu, Nicolae <nicolae.jascanu@intel.com>
Hello Sir, When I do *ls -al* in * test/automated-robot-suite* folder, I got this
(my-venv) general@gs-lab-51:~/test/automated-robot-suite$ ls -al total 1520 drwxrwxr-x 14 general general 4096 Dec 2 11:51 . drwxrwxr-x 7 general general 4096 Dec 1 22:40 .. drwxrwxr-x 3 general general 4096 Dec 1 22:40 baremetal lrwxrwxrwx 1 general general 31 Dec 2 11:51 bootimage.iso -> stx-2018-10-19-29-r-2018.10.iso drwxrwxr-x 3 general general 4096 Dec 2 11:51 Config drwxrwxr-x 2 general general 4096 Dec 1 22:40 docs lrwxrwxrwx 1 general general 69 Dec 2 11:51 latest-results -> /home/general/test/automated-robot-suite/Results/20201202115139_Setup drwxrwxr-x 3 general general 4096 Dec 2 11:51 Libraries -rw-rw-r-- 1 general general 137 Dec 1 22:40 LICENSE -rw-rw-r-- 1 general general 11358 Dec 1 22:40 LICENSE.apache drwxrwxr-x 5 general general 4096 Dec 2 11:51 Qemu -rw-rw-r-- 1 general general 21506 Dec 1 22:40 README.rst -rw-rw-r-- 1 general general 209 Dec 1 22:40 requirements.txt drwxrwxr-x 2 general general 4096 Dec 1 22:40 Resources drwxrwxr-x 3 general general 4096 Dec 2 11:51 Results -rwxrwxr-x 1 general general 13672 Dec 1 22:40 runner.py drwxrwxr-x 2 general general 4096 Dec 2 11:51 %s -rw-rw-r-- 1 general general 159 Dec 1 22:40 setup.cfg -rw-rw-r-- 1 general general 1419574 Dec 2 11:41 stx-openstack.tgz drwxrwxr-x 2 general general 4096 Dec 1 22:40 testcases -rw-rw-r-- 1 general general 109 Dec 1 22:40 test-requirements.txt drwxrwxr-x 4 general general 4096 Dec 1 22:40 Tests -rw-rw-r-- 1 general general 1318 Dec 1 22:40 tox.ini drwxrwxr-x 3 general general 4096 Dec 2 11:51 Utils drwxrwxr-x 3 general general 4096 Dec 2 11:51 Variables
I have also attached all the log files from *test/automated-robot-suite/latest-results*
Regards, Sanath Kumar +91 8971546076
On Thu, 26 Nov 2020 at 20:37, Jascanu, Nicolae <nicolae.jascanu@intel.com> wrote:
Hi Kumar,
Could you please send the output of command *ls -al* in *test/automated-robot-suite* folder?
Also, please send all the log files from *test/automated-robot-suite/latest-results*
We will try to figure out what is missing.
Regards,
Nicolae Jascanu, Ph.D.
Software Engineer
IOTG
Galati, Romania
*From:* sanath kumar <sanathukumar14@gmail.com> *Sent:* Wednesday, November 25, 2020 20:47 *To:* Jascanu, Nicolae <nicolae.jascanu@intel.com> *Subject:* Re: [Starlingx-discuss] Error while using StarlingX
Hello Sir,
I have done all the above steps. And below is the error message I was getting, Please help me out.
(my-venv) iot@gss-lab-51:~/test/automated-robot-suite$ python runner.py --run-suite Setup --configuration 1 --environment virtual /home/iot/my-venv/lib/python3.5/site-packages/paramiko/transport.py:33: CryptographyDeprecationWarning: Python 3.5 support will be dropped in the next release of cryptography. Please upgrade your Python. from cryptography.hazmat.backends import default_backend /home/iot/my-venv/lib/python3.5/site-packages/robot/variables/filesetter.py:77: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details. variables = yaml.load(stream)
============================================================================== Setup :: Install and configure StarlingX ISO.
============================================================================== Qemu Libvirt VMs Setup Virtual :: Qemu-Libvirt VMs setup and confi... ... Qemu Libvirt VMs Setup Virtual :: Qemu-Libvirt VMs setup and confi... | FAIL | 1 != 0
------------------------------------------------------------------------------ GRUB Checker For BIOS Virtual :: Check grub cmd boot line against ... | FAIL | sudo mount -o loop /home/iot/test/automated-robot-suite/bootimage.iso /tmp/cdrom: b'mount: /home/iot/test/automated-robot-suite/bootimage.iso: failed to setup loop device: No such file or directory'
------------------------------------------------------------------------------ Install ISO Virtual :: Installation of controller node and define the | FAIL | EOF: End Of File (EOF). Exception style platform. <pexpect.pty_spawn.spawn object at 0x7f3833f37a58> command: /usr/bin/virsh args: ['/usr/bin/virsh', '-c', 'qemu:///system', 'console', 'controller-0'] buffer (last 100 chars): b'' before (last 100 chars): b" get domain 'controller-0'\r\nerror: Domain not found: no domain with matching name 'controller-0'\r\n\r\n" after: <class 'pexpect.exceptions.EOF'> match: None match_index: None exitstatus: 1 flag_eof: True pid: 3589 child_fd: 15 closed: False timeout: 30 delimiter: <class 'pexpect.exceptions.EOF'> logfile: <_io.BufferedWriter name='/home/iot/test/automated-robot-suite/Results/20201126001352_Setup/iso_setup_console.txt'> logfile_read: None logfile_send: None maxread: 2000 ignorecase: False searchwindowsize: None delaybeforesend: 0.05 delayafterclose: 0.1 delayafterterminate: 0.1 searcher: searcher_re: 0: re.compile(b'Escape character')
------------------------------------------------------------------------------ Ansible Bootstrap Configuration :: Configure controller with local...
Regards,
Sanath Kumar
+91 8971546076
On Wed, 25 Nov 2020 at 11:12, sanath kumar <sanathukumar14@gmail.com> wrote:
Thank you, I will check.
Regards,
Sanath Kumar
+91 8971546076
On Tue, 24 Nov 2020 at 14:35, Jascanu, Nicolae <nicolae.jascanu@intel.com> wrote:
Hi Kumar,
We discussed the feedback you provided. Please check the following potential issues:
1. please check if *bootimage.iso* and *stx-openstack.tgz* (rename the versioned helmchart ) are present in the *test/automated-robot-suite* folder 2. add in /etc/sudoers the following: username ALL=(ALL) NOPASSWD: ALL 3. provide the proper rights to libvirt-sock: sudo chmod 666 /var/run/libvirt/libvirt-sock 4. uncomment *StrictHostKeyChecking no* in /etc/ssh/ssh_config
Please let us know if you encounter other errors
Regards,
Nicolae Jascanu, Ph.D.
Software Engineer
IOTG
Galati, Romania
*From:* sanath kumar <sanathukumar14@gmail.com> *Sent:* Monday, November 23, 2020 14:25 *To:* Jascanu, Nicolae <nicolae.jascanu@intel.com> *Subject:* Re: [Starlingx-discuss] Error while using StarlingX
Hello StarlingX Team,
I am getting Below Error.
(my-venv) starlingx@gss-lab-51:~/test/automated-robot-suite$ python3 runner.py --run-suite Setup --configuration 1 --environment virtual /home/starlingx/my-venv/lib/python3.5/site-packages/paramiko/transport.py:33: CryptographyDeprecationWarning: Python 3.5 support will be dropped in the next release of cryptography. Please upgrade your Python. from cryptography.hazmat.backends import default_backend /home/starlingx/my-venv/lib/python3.5/site-packages/robot/variables/filesetter.py:77: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details. variables = yaml.load(stream)
============================================================================== Setup :: Install and configure StarlingX ISO.
============================================================================== Qemu Libvirt VMs Setup Virtual :: Qemu-Libvirt VMs setup and confi... ... Qemu Libvirt VMs Setup Virtual :: Qemu-Libvirt VMs setup and confi... | FAIL | 1 != 0
------------------------------------------------------------------------------ GRUB Checker For BIOS Virtual :: Check grub cmd boot line against ... | FAIL | sudo mount -o loop /home/starlingx/test/automated-robot-suite/bootimage.iso /tmp/cdrom: b'mount: /home/starlingx/test/automated-robot-suite/bootimage.iso: failed to setup loop device: No such file or directory'
------------------------------------------------------------------------------ Install ISO Virtual :: Installation of controller node and define the | FAIL | EOF: End Of File (EOF). Exception style platform. <pexpect.pty_spawn.spawn object at 0x7f57fe769f60> command: /usr/bin/virsh args: ['/usr/bin/virsh', '-c', 'qemu:///system', 'console', 'controller-0'] buffer (last 100 chars): b'' before (last 100 chars): b" hypervisor\r\nerror: Failed to connect socket to '/var/run/libvirt/libvirt-sock': Permission denied\r\n" after: <class 'pexpect.exceptions.EOF'> match: None match_index: None exitstatus: 1 flag_eof: True pid: 2884 child_fd: 15 closed: False timeout: 30 delimiter: <class 'pexpect.exceptions.EOF'> logfile: <_io.BufferedWriter name='/home/starlingx/test/automated-robot-suite/Results/20201123174658_Setup/iso_setup_console.txt'> logfile_read: None logfile_send: None maxread: 2000 ignorecase: False searchwindowsize: None delaybeforesend: 0.05 delayafterclose: 0.1 delayafterterminate: 0.1 searcher: searcher_re: 0: re.compile(b'Escape character')
------------------------------------------------------------------------------ Ansible Bootstrap Configuration :: Configure controller with local... | FAIL | Keyword 'Connect to Controller Node' failed after retrying for 5 minutes. The last error was: timeout: timed out
------------------------------------------------------------------------------ Setup :: Install and configure StarlingX ISO. | FAIL | 4 critical tests, 0 passed, 4 failed 4 tests total, 0 passed, 4 failed
============================================================================== Debug: /home/starlingx/test/automated-robot-suite/Results/20201123174658_Setup/debug.log Output: /home/starlingx/test/automated-robot-suite/Results/20201123174658_Setup/output.xml Log: /home/starlingx/test/automated-robot-suite/Results/20201123174658_Setup/log.html Report: /home/starlingx/test/automated-robot-suite/Results/20201123174658_Setup/report.html
Regards,
Sanath Kumar
+91 8971546076
On Wed, 18 Nov 2020 at 20:57, Jascanu, Nicolae <nicolae.jascanu@intel.com> wrote:
Hi Kumar,
You can try to install StarlingX virtual or baremetal using the scripts that we are using for daily sanity validation. Please follow the configuration steps at: https://opendev.org/starlingx/test/src/branch/master/automated-robot-suite .
Let us know if you have issues.
Regards,
Nicolae Jascanu, Ph.D.
Software Engineer
IOTG
Galati, Romania
*From:* sanath kumar <sanathukumar14@gmail.com> *Sent:* Thursday, November 12, 2020 08:52 *To:* Starlingx-discuss@lists.starlingx.io *Subject:* [Starlingx-discuss] Error while using StarlingX
Hello StarlingX Team,
While I execute below Commands I am getting some error.
These are the Errors I am getting.
Regards,
Sanath Kumar
+91 8971546076
Hello StarlingX team, I am getting Below Error, It would be great if somebody can help me out, I am running out of option. I will also attach the Log-files for the reference. (my-venv) general@gs-lab-51:~/test/automated-robot-suite$ python runner.py --run-suite Setup --configuration 1 --environment virtual /home/general/my-venv/lib/python3.6/site-packages/robot/variables/filesetter.py:77: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details. variables = yaml.load(stream) ============================================================================== Setup :: Install and configure StarlingX ISO. ============================================================================== Qemu Libvirt VMs Setup Virtual :: Qemu-Libvirt VMs setup and confi... ... Qemu Libvirt VMs Setup Virtual :: Qemu-Libvirt VMs setup and confi... | FAIL | 1 != 0 ------------------------------------------------------------------------------ GRUB Checker For BIOS Virtual :: Check grub cmd boot line against ... | FAIL | sudo mount -o loop /home/general/test/automated-robot-suite/bootimage.iso /tmp/cdrom: b'mount: /tmp/cdrom: failed to setup loop device for /home/general/test/automated-robot-suite/bootimage.iso.' ------------------------------------------------------------------------------ Install ISO Virtual :: Installation of controller node and define the | FAIL | EOF: End Of File (EOF). Exception style platform. <pexpect.pty_spawn.spawn object at 0x7fc75222fa90> command: /usr/bin/virsh args: ['/usr/bin/virsh', '-c', 'qemu:///system', 'console', 'controller-0'] buffer (last 100 chars): b'' before (last 100 chars): b" get domain 'controller-0'\r\nerror: Domain not found: no domain with matching name 'controller-0'\r\n\r\n" after: <class 'pexpect.exceptions.EOF'> match: None match_index: None exitstatus: 1 flag_eof: True pid: 4154 child_fd: 15 closed: False timeout: 30 delimiter: <class 'pexpect.exceptions.EOF'> logfile: <_io.BufferedWriter name='/home/general/test/automated-robot-suite/Results/20201202231938_Setup/iso_setup_console.txt'> logfile_read: None logfile_send: None maxread: 2000 ignorecase: False searchwindowsize: None delaybeforesend: 0.05 delayafterclose: 0.1 delayafterterminate: 0.1 searcher: searcher_re: 0: re.compile(b'Escape character') ------------------------------------------------------------------------------ Ansible Bootstrap Configuration :: Configure controller with local... | FAIL | Keyword 'Connect to Controller Node' failed after retrying for 5 minutes. The last error was: timeout: timed out ------------------------------------------------------------------------------ Setup :: Install and configure StarlingX ISO. | FAIL | 4 critical tests, 0 passed, 4 failed 4 tests total, 0 passed, 4 failed ============================================================================== Debug: /home/general/test/automated-robot-suite/Results/20201202231938_Setup/debug.log Output: /home/general/test/automated-robot-suite/Results/20201202231938_Setup/output.xml Log: /home/general/test/automated-robot-suite/Results/20201202231938_Setup/log.html Report: /home/general/test/automated-robot-suite/Results/20201202231938_Setup/report.html (my-venv) general@gs-lab-51:~/test/automated-robot-suite$ Regards, Sanath Kumar +91 8971546076 On Wed, 2 Dec 2020 at 20:44, sanath kumar <sanathukumar14@gmail.com> wrote:
Hello Sir, When I do *ls -al* in * test/automated-robot-suite* folder, I got this
(my-venv) general@gs-lab-51:~/test/automated-robot-suite$ ls -al total 1520 drwxrwxr-x 14 general general 4096 Dec 2 11:51 . drwxrwxr-x 7 general general 4096 Dec 1 22:40 .. drwxrwxr-x 3 general general 4096 Dec 1 22:40 baremetal lrwxrwxrwx 1 general general 31 Dec 2 11:51 bootimage.iso -> stx-2018-10-19-29-r-2018.10.iso drwxrwxr-x 3 general general 4096 Dec 2 11:51 Config drwxrwxr-x 2 general general 4096 Dec 1 22:40 docs lrwxrwxrwx 1 general general 69 Dec 2 11:51 latest-results -> /home/general/test/automated-robot-suite/Results/20201202115139_Setup drwxrwxr-x 3 general general 4096 Dec 2 11:51 Libraries -rw-rw-r-- 1 general general 137 Dec 1 22:40 LICENSE -rw-rw-r-- 1 general general 11358 Dec 1 22:40 LICENSE.apache drwxrwxr-x 5 general general 4096 Dec 2 11:51 Qemu -rw-rw-r-- 1 general general 21506 Dec 1 22:40 README.rst -rw-rw-r-- 1 general general 209 Dec 1 22:40 requirements.txt drwxrwxr-x 2 general general 4096 Dec 1 22:40 Resources drwxrwxr-x 3 general general 4096 Dec 2 11:51 Results -rwxrwxr-x 1 general general 13672 Dec 1 22:40 runner.py drwxrwxr-x 2 general general 4096 Dec 2 11:51 %s -rw-rw-r-- 1 general general 159 Dec 1 22:40 setup.cfg -rw-rw-r-- 1 general general 1419574 Dec 2 11:41 stx-openstack.tgz drwxrwxr-x 2 general general 4096 Dec 1 22:40 testcases -rw-rw-r-- 1 general general 109 Dec 1 22:40 test-requirements.txt drwxrwxr-x 4 general general 4096 Dec 1 22:40 Tests -rw-rw-r-- 1 general general 1318 Dec 1 22:40 tox.ini drwxrwxr-x 3 general general 4096 Dec 2 11:51 Utils drwxrwxr-x 3 general general 4096 Dec 2 11:51 Variables
I have also attached all the log files from *test/automated-robot-suite/latest-results*
Regards, Sanath Kumar +91 8971546076
On Wed, 2 Dec 2020 at 20:30, sanath kumar <sanathukumar14@gmail.com> wrote:
---------- Forwarded message --------- From: sanath kumar <sanathukumar14@gmail.com> Date: Wed, 2 Dec 2020 at 12:19 Subject: Re: [Starlingx-discuss] Error while using StarlingX To: Jascanu, Nicolae <nicolae.jascanu@intel.com>
Hello Sir, When I do *ls -al* in * test/automated-robot-suite* folder, I got this
(my-venv) general@gs-lab-51:~/test/automated-robot-suite$ ls -al total 1520 drwxrwxr-x 14 general general 4096 Dec 2 11:51 . drwxrwxr-x 7 general general 4096 Dec 1 22:40 .. drwxrwxr-x 3 general general 4096 Dec 1 22:40 baremetal lrwxrwxrwx 1 general general 31 Dec 2 11:51 bootimage.iso -> stx-2018-10-19-29-r-2018.10.iso drwxrwxr-x 3 general general 4096 Dec 2 11:51 Config drwxrwxr-x 2 general general 4096 Dec 1 22:40 docs lrwxrwxrwx 1 general general 69 Dec 2 11:51 latest-results -> /home/general/test/automated-robot-suite/Results/20201202115139_Setup drwxrwxr-x 3 general general 4096 Dec 2 11:51 Libraries -rw-rw-r-- 1 general general 137 Dec 1 22:40 LICENSE -rw-rw-r-- 1 general general 11358 Dec 1 22:40 LICENSE.apache drwxrwxr-x 5 general general 4096 Dec 2 11:51 Qemu -rw-rw-r-- 1 general general 21506 Dec 1 22:40 README.rst -rw-rw-r-- 1 general general 209 Dec 1 22:40 requirements.txt drwxrwxr-x 2 general general 4096 Dec 1 22:40 Resources drwxrwxr-x 3 general general 4096 Dec 2 11:51 Results -rwxrwxr-x 1 general general 13672 Dec 1 22:40 runner.py drwxrwxr-x 2 general general 4096 Dec 2 11:51 %s -rw-rw-r-- 1 general general 159 Dec 1 22:40 setup.cfg -rw-rw-r-- 1 general general 1419574 Dec 2 11:41 stx-openstack.tgz drwxrwxr-x 2 general general 4096 Dec 1 22:40 testcases -rw-rw-r-- 1 general general 109 Dec 1 22:40 test-requirements.txt drwxrwxr-x 4 general general 4096 Dec 1 22:40 Tests -rw-rw-r-- 1 general general 1318 Dec 1 22:40 tox.ini drwxrwxr-x 3 general general 4096 Dec 2 11:51 Utils drwxrwxr-x 3 general general 4096 Dec 2 11:51 Variables
I have also attached all the log files from *test/automated-robot-suite/latest-results*
Regards, Sanath Kumar +91 8971546076
On Thu, 26 Nov 2020 at 20:37, Jascanu, Nicolae <nicolae.jascanu@intel.com> wrote:
Hi Kumar,
Could you please send the output of command *ls -al* in *test/automated-robot-suite* folder?
Also, please send all the log files from *test/automated-robot-suite/latest-results*
We will try to figure out what is missing.
Regards,
Nicolae Jascanu, Ph.D.
Software Engineer
IOTG
Galati, Romania
*From:* sanath kumar <sanathukumar14@gmail.com> *Sent:* Wednesday, November 25, 2020 20:47 *To:* Jascanu, Nicolae <nicolae.jascanu@intel.com> *Subject:* Re: [Starlingx-discuss] Error while using StarlingX
Hello Sir,
I have done all the above steps. And below is the error message I was getting, Please help me out.
(my-venv) iot@gss-lab-51:~/test/automated-robot-suite$ python runner.py --run-suite Setup --configuration 1 --environment virtual /home/iot/my-venv/lib/python3.5/site-packages/paramiko/transport.py:33: CryptographyDeprecationWarning: Python 3.5 support will be dropped in the next release of cryptography. Please upgrade your Python. from cryptography.hazmat.backends import default_backend /home/iot/my-venv/lib/python3.5/site-packages/robot/variables/filesetter.py:77: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details. variables = yaml.load(stream)
============================================================================== Setup :: Install and configure StarlingX ISO.
============================================================================== Qemu Libvirt VMs Setup Virtual :: Qemu-Libvirt VMs setup and confi... ... Qemu Libvirt VMs Setup Virtual :: Qemu-Libvirt VMs setup and confi... | FAIL | 1 != 0
------------------------------------------------------------------------------ GRUB Checker For BIOS Virtual :: Check grub cmd boot line against ... | FAIL | sudo mount -o loop /home/iot/test/automated-robot-suite/bootimage.iso /tmp/cdrom: b'mount: /home/iot/test/automated-robot-suite/bootimage.iso: failed to setup loop device: No such file or directory'
------------------------------------------------------------------------------ Install ISO Virtual :: Installation of controller node and define the | FAIL | EOF: End Of File (EOF). Exception style platform. <pexpect.pty_spawn.spawn object at 0x7f3833f37a58> command: /usr/bin/virsh args: ['/usr/bin/virsh', '-c', 'qemu:///system', 'console', 'controller-0'] buffer (last 100 chars): b'' before (last 100 chars): b" get domain 'controller-0'\r\nerror: Domain not found: no domain with matching name 'controller-0'\r\n\r\n" after: <class 'pexpect.exceptions.EOF'> match: None match_index: None exitstatus: 1 flag_eof: True pid: 3589 child_fd: 15 closed: False timeout: 30 delimiter: <class 'pexpect.exceptions.EOF'> logfile: <_io.BufferedWriter name='/home/iot/test/automated-robot-suite/Results/20201126001352_Setup/iso_setup_console.txt'> logfile_read: None logfile_send: None maxread: 2000 ignorecase: False searchwindowsize: None delaybeforesend: 0.05 delayafterclose: 0.1 delayafterterminate: 0.1 searcher: searcher_re: 0: re.compile(b'Escape character')
------------------------------------------------------------------------------ Ansible Bootstrap Configuration :: Configure controller with local...
Regards,
Sanath Kumar
+91 8971546076
On Wed, 25 Nov 2020 at 11:12, sanath kumar <sanathukumar14@gmail.com> wrote:
Thank you, I will check.
Regards,
Sanath Kumar
+91 8971546076
On Tue, 24 Nov 2020 at 14:35, Jascanu, Nicolae < nicolae.jascanu@intel.com> wrote:
Hi Kumar,
We discussed the feedback you provided. Please check the following potential issues:
1. please check if *bootimage.iso* and *stx-openstack.tgz* (rename the versioned helmchart ) are present in the *test/automated-robot-suite* folder 2. add in /etc/sudoers the following: username ALL=(ALL) NOPASSWD: ALL 3. provide the proper rights to libvirt-sock: sudo chmod 666 /var/run/libvirt/libvirt-sock 4. uncomment *StrictHostKeyChecking no* in /etc/ssh/ssh_config
Please let us know if you encounter other errors
Regards,
Nicolae Jascanu, Ph.D.
Software Engineer
IOTG
Galati, Romania
*From:* sanath kumar <sanathukumar14@gmail.com> *Sent:* Monday, November 23, 2020 14:25 *To:* Jascanu, Nicolae <nicolae.jascanu@intel.com> *Subject:* Re: [Starlingx-discuss] Error while using StarlingX
Hello StarlingX Team,
I am getting Below Error.
(my-venv) starlingx@gss-lab-51:~/test/automated-robot-suite$ python3 runner.py --run-suite Setup --configuration 1 --environment virtual /home/starlingx/my-venv/lib/python3.5/site-packages/paramiko/transport.py:33: CryptographyDeprecationWarning: Python 3.5 support will be dropped in the next release of cryptography. Please upgrade your Python. from cryptography.hazmat.backends import default_backend /home/starlingx/my-venv/lib/python3.5/site-packages/robot/variables/filesetter.py:77: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details. variables = yaml.load(stream)
============================================================================== Setup :: Install and configure StarlingX ISO.
============================================================================== Qemu Libvirt VMs Setup Virtual :: Qemu-Libvirt VMs setup and confi... ... Qemu Libvirt VMs Setup Virtual :: Qemu-Libvirt VMs setup and confi... | FAIL | 1 != 0
------------------------------------------------------------------------------ GRUB Checker For BIOS Virtual :: Check grub cmd boot line against ... | FAIL | sudo mount -o loop /home/starlingx/test/automated-robot-suite/bootimage.iso /tmp/cdrom: b'mount: /home/starlingx/test/automated-robot-suite/bootimage.iso: failed to setup loop device: No such file or directory'
------------------------------------------------------------------------------ Install ISO Virtual :: Installation of controller node and define the | FAIL | EOF: End Of File (EOF). Exception style platform. <pexpect.pty_spawn.spawn object at 0x7f57fe769f60> command: /usr/bin/virsh args: ['/usr/bin/virsh', '-c', 'qemu:///system', 'console', 'controller-0'] buffer (last 100 chars): b'' before (last 100 chars): b" hypervisor\r\nerror: Failed to connect socket to '/var/run/libvirt/libvirt-sock': Permission denied\r\n" after: <class 'pexpect.exceptions.EOF'> match: None match_index: None exitstatus: 1 flag_eof: True pid: 2884 child_fd: 15 closed: False timeout: 30 delimiter: <class 'pexpect.exceptions.EOF'> logfile: <_io.BufferedWriter name='/home/starlingx/test/automated-robot-suite/Results/20201123174658_Setup/iso_setup_console.txt'> logfile_read: None logfile_send: None maxread: 2000 ignorecase: False searchwindowsize: None delaybeforesend: 0.05 delayafterclose: 0.1 delayafterterminate: 0.1 searcher: searcher_re: 0: re.compile(b'Escape character')
------------------------------------------------------------------------------ Ansible Bootstrap Configuration :: Configure controller with local... | FAIL | Keyword 'Connect to Controller Node' failed after retrying for 5 minutes. The last error was: timeout: timed out
------------------------------------------------------------------------------ Setup :: Install and configure StarlingX ISO. | FAIL | 4 critical tests, 0 passed, 4 failed 4 tests total, 0 passed, 4 failed
============================================================================== Debug: /home/starlingx/test/automated-robot-suite/Results/20201123174658_Setup/debug.log Output: /home/starlingx/test/automated-robot-suite/Results/20201123174658_Setup/output.xml Log: /home/starlingx/test/automated-robot-suite/Results/20201123174658_Setup/log.html Report: /home/starlingx/test/automated-robot-suite/Results/20201123174658_Setup/report.html
Regards,
Sanath Kumar
+91 8971546076
On Wed, 18 Nov 2020 at 20:57, Jascanu, Nicolae < nicolae.jascanu@intel.com> wrote:
Hi Kumar,
You can try to install StarlingX virtual or baremetal using the scripts that we are using for daily sanity validation. Please follow the configuration steps at: https://opendev.org/starlingx/test/src/branch/master/automated-robot-suite .
Let us know if you have issues.
Regards,
Nicolae Jascanu, Ph.D.
Software Engineer
IOTG
Galati, Romania
*From:* sanath kumar <sanathukumar14@gmail.com> *Sent:* Thursday, November 12, 2020 08:52 *To:* Starlingx-discuss@lists.starlingx.io *Subject:* [Starlingx-discuss] Error while using StarlingX
Hello StarlingX Team,
While I execute below Commands I am getting some error.
These are the Errors I am getting.
Regards,
Sanath Kumar
+91 8971546076
participants (1)
-
sanath kumar