2024-10-25 15:25:32,445 - INFO - Domain Default found not creating
2024-10-25 15:25:32,643 - INFO - Project ctest-TestBasicVMVNx-80364352 not found, creating it
2024-10-25 15:25:33,210 - INFO - Created Project:ctest-TestBasicVMVNx-80364352, ID : ed033bbe-b642-4fbf-8fde-4e8202e32242
2024-10-25 15:25:34,972 - INFO - ================================================================================
2024-10-25 15:25:34,972 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2024-10-25 15:25:34,972 - INFO - TEST DESCRIPTION :
Description: Test to validate File Transfer using scp between VMs. Files of different sizes.
Test steps:
1. Creating vm's - vm1 and vm2 and a Vn - vn222
2. Transfer file from vm1 to vm2 with diferrent file sizes using scp
3. file sizes - 64,1202,2210,10000
4. verify files present in vm2 match with the size of the file sent.
Pass criteria: File in vm2 should match with the transferred file size from vm1
Maintainer : ganeshahv@juniper.net
2024-10-25 15:25:35,235 - DEBUG - Nothing to compare xmpp stats {'10.0.0.31': {'10.20.0.14': '0'}} with
2024-10-25 15:25:35,235 - INFO - Initial checks done. Running the testcase now
2024-10-25 15:25:35,236 - INFO -
2024-10-25 15:25:35,929 - DEBUG - Response for create_network : {'network': {'id': '71341435-83e7-4d64-9f46-1543551632aa', 'name': 'ctest-vn-60168206', 'tenant_id': 'ed033bbeb6424fbf8fde4e8202e32242', 'project_id': 'ed033bbeb6424fbf8fde4e8202e32242', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-80364352', 'ctest-vn-60168206'], 'port_security_enabled': True, 'description': ''}}
2024-10-25 15:25:36,183 - DEBUG - Response for create_subnet : {'subnet': {'id': '2fff6120-99b1-4c44-89fc-75287acd824d', 'name': '', 'tenant_id': 'ed033bbeb6424fbf8fde4e8202e32242', 'network_id': '71341435-83e7-4d64-9f46-1543551632aa', 'ip_version': 4, 'cidr': '82.185.92.0/26', 'allocation_pools': [{'start': '82.185.92.2', 'end': '82.185.92.62'}], 'gateway_ip': '82.185.92.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '82.185.92.2', 'tags': [], 'project_id': 'ed033bbeb6424fbf8fde4e8202e32242'}}
2024-10-25 15:25:36,206 - INFO - Created VN ctest-vn-60168206
2024-10-25 15:25:36,264 - DEBUG - VN ctest-vn-60168206 UUID is 71341435-83e7-4d64-9f46-1543551632aa
2024-10-25 15:25:36,459 - DEBUG - Services list from nova: [, , ]
2024-10-25 15:25:37,669 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2145-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2145-1)
2024-10-25 15:25:39,026 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2145-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2145-1)
2024-10-25 15:25:39,026 - INFO - Waiting for VM ctest-TestBasicVMVNx-80364352-28859319 to be up..
2024-10-25 15:25:39,284 - DEBUG - VM is in ERROR state now
2024-10-25 15:25:39,284 - ERROR - VM in error state.
2024-10-25 15:25:39,284 - ERROR - VM is not in ACTIVE state
2024-10-25 15:25:39,396 - ERROR - Fatal Nova Exception while getting VM detail
2024-10-25 15:25:39,396 - DEBUG - None
2024-10-25 15:25:39,398 - INFO - Skip interface_detach for VM ctest-TestBasicVMVNx-80364352-40464709 in state BUILD
2024-10-25 15:25:39,398 - INFO - Deleting VM ctest-TestBasicVMVNx-80364352-40464709
2024-10-25 15:25:39,419 - ERROR - VM ctest-TestBasicVMVNx-80364352-40464709 has failed to come up
2024-10-25 15:25:39,419 - ERROR - Nova failed to get host of the VM
2024-10-25 15:25:39,678 - INFO - Skip interface_detach for VM ctest-TestBasicVMVNx-80364352-28859319 in state ERROR
2024-10-25 15:25:39,678 - INFO - Deleting VM ctest-TestBasicVMVNx-80364352-28859319
2024-10-25 15:25:39,678 - ERROR - VM ctest-TestBasicVMVNx-80364352-28859319 has failed to come up
2024-10-25 15:25:39,678 - ERROR - Fault seen in nova show is: {'code': 500, 'created': '2024-10-25T15:25:37Z', 'message': 'No valid host was found. ', 'details': 'Traceback (most recent call last):\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/conductor/manager.py", line 1581, in schedule_and_build_instances\n instance_uuids, return_alternates=True)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/conductor/manager.py", line 942, in _schedule_instances\n return_alternates=return_alternates)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/scheduler/client/query.py", line 42, in select_destinations\n instance_uuids, return_objects, return_alternates)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/scheduler/rpcapi.py", line 160, in select_destinations\n return cctxt.call(ctxt, \'select_destinations\', **msg_args)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/rpc/client.py", line 192, in call\n retry=self.retry, transport_options=self.transport_options)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/transport.py", line 128, in _send\n transport_options=transport_options)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 691, in send\n transport_options=transport_options)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 681, in _send\n raise result\nnova.exception_Remote.NoValidHost_Remote: No valid host was found. \nTraceback (most recent call last):\n\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/rpc/server.py", line 241, in inner\n return func(*args, **kwargs)\n\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/scheduler/manager.py", line 209, in select_destinations\n raise exception.NoValidHost(reason="")\n\nnova.exception.NoValidHost: No valid host was found. \n\n'}
2024-10-25 15:25:39,679 - INFO - Deleting VN ctest-vn-60168206
2024-10-25 15:25:39,794 - DEBUG - Response for deleting network ()
2024-10-25 15:25:40,058 - ERROR - AssertionError
Python 3.6.8: /usr/bin/python3
Fri Oct 25 15:25:39 2024
A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.
/contrail-test/tcutils/wrappers.py in wrapper(self=, *args=(), **kwargs={})
79 log.info('Initial checks done. Running the testcase now')
80 log.info('')
81 result = function(self, *args, **kwargs)
82 if self.inputs.upgrade:
83 pid = os.getpid()
result = None
function =
self =
args = ()
kwargs = {}
/contrail-test/scripts/vm_regression/test_vm.py in test_vm_file_trf_scp_tests(self=)
2904 vm2_fixture = self.create_vm(vn_fixture=vn_fixture,
2905 image_name='ubuntu-sshpass')
2906 assert vm1_fixture.wait_till_vm_is_up()
2907 assert vm2_fixture.wait_till_vm_is_up()
2908 for size in scp_test_file_sizes:
vm1_fixture =
vm1_fixture.wait_till_vm_is_up = >
AssertionError:
__cause__ = None
__class__ =
__context__ = None
__delattr__ =
__dict__ = {}
__dir__ =
__doc__ = 'Assertion failed.'
__eq__ =
__format__ =
__ge__ =
__getattribute__ =
__gt__ =
__hash__ =
__init__ =
__init_subclass__ =
__le__ =
__lt__ =
__ne__ =
__new__ =
__reduce__ =
__reduce_ex__ =
__repr__ =
__setattr__ =
__setstate__ =
__sizeof__ =
__str__ =
__subclasshook__ =
__suppress_context__ = False
__traceback__ =
args = ()
with_traceback =
The above is a description of an error in a Python program. Here is
the original traceback:
Traceback (most recent call last):
File "/contrail-test/tcutils/wrappers.py", line 81, in wrapper
result = function(self, *args, **kwargs)
File "/contrail-test/scripts/vm_regression/test_vm.py", line 2906, in test_vm_file_trf_scp_tests
assert vm1_fixture.wait_till_vm_is_up()
AssertionError
2024-10-25 15:25:40,068 - DEBUG - No XMPP flaps were noticed during the test
2024-10-25 15:25:40,068 - INFO -
2024-10-25 15:25:40,068 - INFO - END TEST : test_vm_file_trf_scp_tests : FAILED[0:00:06]
2024-10-25 15:25:40,068 - INFO - --------------------------------------------------------------------------------
2024-10-25 15:25:40,836 - INFO - Deleted project: ctest-TestBasicVMVNx-80364352, ID : ed033bbe-b642-4fbf-8fde-4e8202e32242