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:
- please check if bootimage.iso and stx-openstack.tgz (rename the versioned helmchart ) are present in the test/automated-robot-suite folder
- add in /etc/sudoers the following: username ALL=(ALL) NOPASSWD: ALL
- provide the proper rights to libvirt-sock: sudo chmod 666 /var/run/libvirt/libvirt-sock
- 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