[Starlingx-discuss] Error while using StarlingX
sanath kumar
sanathukumar14 at gmail.com
Wed Dec 2 15:14:22 UTC 2020
Hello Sir,
When I do *ls -al* in * test/automated-robot-suite* folder, I got this
(my-venv) general at 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 at gmail.com> wrote:
>
> ---------- Forwarded message ---------
> From: sanath kumar <sanathukumar14 at gmail.com>
> Date: Wed, 2 Dec 2020 at 12:19
> Subject: Re: [Starlingx-discuss] Error while using StarlingX
> To: Jascanu, Nicolae <nicolae.jascanu at intel.com>
>
>
> Hello Sir,
> When I do *ls -al* in * test/automated-robot-suite* folder, I got this
>
> (my-venv) general at 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 at 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 at gmail.com>
>> *Sent:* Wednesday, November 25, 2020 20:47
>> *To:* Jascanu, Nicolae <nicolae.jascanu at 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 at 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 at 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 at 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 at gmail.com>
>> *Sent:* Monday, November 23, 2020 14:25
>> *To:* Jascanu, Nicolae <nicolae.jascanu at intel.com>
>> *Subject:* Re: [Starlingx-discuss] Error while using StarlingX
>>
>>
>>
>> Hello StarlingX Team,
>>
>> I am getting Below Error.
>>
>>
>>
>> (my-venv) starlingx at 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 at 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 at gmail.com>
>> *Sent:* Thursday, November 12, 2020 08:52
>> *To:* Starlingx-discuss at 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
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.starlingx.io/pipermail/starlingx-discuss/attachments/20201202/af7c34b6/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: log_files.zip
Type: application/x-zip-compressed
Size: 158165 bytes
Desc: not available
URL: <http://lists.starlingx.io/pipermail/starlingx-discuss/attachments/20201202/af7c34b6/attachment-0001.bin>
More information about the Starlingx-discuss
mailing list