2025-10-10 12:14:28,646 - INFO - Domain Default found not creating 2025-10-10 12:14:28,837 - INFO - Project ctest-TestBasicVMVNx-89627764 not found, creating it 2025-10-10 12:14:29,334 - INFO - Created Project:ctest-TestBasicVMVNx-89627764, ID : 32ded82f-9ba4-42d5-8011-1633709dd4db 2025-10-10 12:14:30,907 - INFO - ================================================================================ 2025-10-10 12:14:30,908 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-10-10 12:14:30,908 - 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 2025-10-10 12:14:31,054 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.254': '0'}} with 2025-10-10 12:14:31,054 - INFO - Initial checks done. Running the testcase now 2025-10-10 12:14:31,054 - INFO - 2025-10-10 12:14:31,677 - DEBUG - Response for create_network : {'network': {'id': 'b465f381-7b98-4a7e-89ad-df6924a246f7', 'name': 'ctest-vn-40462917', 'tenant_id': '32ded82f9ba442d580111633709dd4db', 'project_id': '32ded82f9ba442d580111633709dd4db', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-89627764', 'ctest-vn-40462917'], 'port_security_enabled': True, 'description': ''}} 2025-10-10 12:14:31,909 - DEBUG - Response for create_subnet : {'subnet': {'id': '05039a43-b9fb-4ff3-8b2c-dac5a01f78f5', 'name': '', 'tenant_id': '32ded82f9ba442d580111633709dd4db', 'network_id': 'b465f381-7b98-4a7e-89ad-df6924a246f7', 'ip_version': 4, 'cidr': '213.184.126.64/26', 'allocation_pools': [{'start': '213.184.126.66', 'end': '213.184.126.126'}], 'gateway_ip': '213.184.126.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '213.184.126.66', 'tags': [], 'project_id': '32ded82f9ba442d580111633709dd4db'}} 2025-10-10 12:14:31,931 - INFO - Created VN ctest-vn-40462917 2025-10-10 12:14:31,987 - DEBUG - VN ctest-vn-40462917 UUID is b465f381-7b98-4a7e-89ad-df6924a246f7 2025-10-10 12:14:32,272 - DEBUG - Services list from nova: [, , ] 2025-10-10 12:14:33,413 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4285-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4285-1) 2025-10-10 12:14:34,759 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4285-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4285-1) 2025-10-10 12:14:34,759 - INFO - Waiting for VM ctest-TestBasicVMVNx-89627764-28740351 to be up.. 2025-10-10 12:14:34,861 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-10 12:14:39,929 - DEBUG - VM is in ERROR state now 2025-10-10 12:14:39,930 - ERROR - VM in error state. 2025-10-10 12:14:39,930 - ERROR - VM is not in ACTIVE state 2025-10-10 12:14:40,032 - ERROR - Fatal Nova Exception while getting VM detail 2025-10-10 12:14:40,032 - DEBUG - None 2025-10-10 12:14:40,035 - INFO - Skip interface_detach for VM ctest-TestBasicVMVNx-89627764-23415896 in state BUILD 2025-10-10 12:14:40,035 - INFO - Deleting VM ctest-TestBasicVMVNx-89627764-23415896 2025-10-10 12:14:40,057 - ERROR - VM ctest-TestBasicVMVNx-89627764-23415896 has failed to come up 2025-10-10 12:14:40,057 - ERROR - Nova failed to get host of the VM 2025-10-10 12:14:40,240 - INFO - Skip interface_detach for VM ctest-TestBasicVMVNx-89627764-28740351 in state ERROR 2025-10-10 12:14:40,240 - INFO - Deleting VM ctest-TestBasicVMVNx-89627764-28740351 2025-10-10 12:14:40,240 - ERROR - VM ctest-TestBasicVMVNx-89627764-28740351 has failed to come up 2025-10-10 12:14:40,240 - ERROR - Fault seen in nova show is: {'code': 500, 'created': '2025-10-10T12:14:35Z', 'message': "Failure running os_vif plugin plug method: Failed to plug VIF VIFGeneric(active=True,address=02:c5:90:d3:05:36,has_traffic_filtering=True,id=c590d305-36ca-450f-80b4-9536f5836fbb,network=Network(b465f381-7b98-4a7e-89ad-df6924a246f7),plugin='vrouter',port_p", 'details': 'Traceback (most recent call last):\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/os_vif/__init__.py", line 77, in plug\n plugin.plug(vif, instance_info)\n File "/opt/plugin/site-packages/vif_plug_vrouter/vrouter.py", line 271, in plug\n self._vrouter_port_add(instance_info, vif)\n File "/opt/plugin/site-packages/vif_plug_vrouter/vrouter.py", line 263, in _vrouter_port_add\n vhostuser_socket, vhostuser_mode)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_privsep/priv_context.py", line 272, in _wrap\n r_call_timeout)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_privsep/daemon.py", line 215, in remote_call\n raise exc_type(*result[2])\nvif_plug_vrouter.exception.VrouterPortControlError: Error during the call to vrouter-port-control: (\'vrouter-port-control\', \'--oper=add\', \'--uuid=c590d305-36ca-450f-80b4-9536f5836fbb\', \'--instance_uuid=6e411b5c-f1c4-42a0-a794-95fb2a477c49\', \'--vn_uuid=b465f381-7b98-4a7e-89ad-df6924a246f7\', \'--vm_project_uuid=32ded82f9ba442d580111633709dd4db\', \'--ip_address=213.184.126.67\', \'--ipv6_address=None\', \'--vm_name=ctest-TestBasicVMVNx-89627764-28740351\', \'--mac=02:c5:90:d3:05:36\', \'--tap_name=tapc590d305-36\', \'--port_type=NovaVMPort\', \'--tx_vlan_id=-1\', \'--rx_vlan_id=-1\')\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/virt/libvirt/vif.py", line 699, in _plug_os_vif\n os_vif.plug(vif, instance_info)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/os_vif/__init__.py", line 82, in plug\n raise os_vif.exception.PlugException(vif=vif, err=err)\nos_vif.exception.PlugException: Failed to plug VIF VIFGeneric(active=True,address=02:c5:90:d3:05:36,has_traffic_filtering=True,id=c590d305-36ca-450f-80b4-9536f5836fbb,network=Network(b465f381-7b98-4a7e-89ad-df6924a246f7),plugin=\'vrouter\',port_profile=,preserve_on_delete=False,vif_name=\'tapc590d305-36\'). Got error: Error during the call to vrouter-port-control: (\'vrouter-port-control\', \'--oper=add\', \'--uuid=c590d305-36ca-450f-80b4-9536f5836fbb\', \'--instance_uuid=6e411b5c-f1c4-42a0-a794-95fb2a477c49\', \'--vn_uuid=b465f381-7b98-4a7e-89ad-df6924a246f7\', \'--vm_project_uuid=32ded82f9ba442d580111633709dd4db\', \'--ip_address=213.184.126.67\', \'--ipv6_address=None\', \'--vm_name=ctest-TestBasicVMVNx-89627764-28740351\', \'--mac=02:c5:90:d3:05:36\', \'--tap_name=tapc590d305-36\', \'--port_type=NovaVMPort\', \'--tx_vlan_id=-1\', \'--rx_vlan_id=-1\')\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/compute/manager.py", line 2521, in _build_and_run_instance\n accel_info=accel_info)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/virt/libvirt/driver.py", line 4339, in spawn\n cleanup_instance_disks=created_disks)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/virt/libvirt/driver.py", line 7523, in _create_guest_with_network\n cleanup_instance_disks=cleanup_instance_disks)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_utils/excutils.py", line 227, in __exit__\n self.force_reraise()\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_utils/excutils.py", line 200, in force_reraise\n raise self.value\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/virt/libvirt/driver.py", line 7492, in _create_guest_with_network\n self.plug_vifs(instance, network_info)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/virt/libvirt/driver.py", line 1386, in plug_vifs\n self.vif_driver.plug(instance, vif)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/virt/libvirt/vif.py", line 723, in plug\n self._plug_os_vif(instance, vif_obj)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/virt/libvirt/vif.py", line 703, in _plug_os_vif\n raise exception.InternalError(msg)\nnova.exception.InternalError: Failure running os_vif plugin plug method: Failed to plug VIF VIFGeneric(active=True,address=02:c5:90:d3:05:36,has_traffic_filtering=True,id=c590d305-36ca-450f-80b4-9536f5836fbb,network=Network(b465f381-7b98-4a7e-89ad-df6924a246f7),plugin=\'vrouter\',port_profile=,preserve_on_delete=False,vif_name=\'tapc590d305-36\'). Got error: Error during the call to vrouter-port-control: (\'vrouter-port-control\', \'--oper=add\', \'--uuid=c590d305-36ca-450f-80b4-9536f5836fbb\', \'--instance_uuid=6e411b5c-f1c4-42a0-a794-95fb2a477c49\', \'--vn_uuid=b465f381-7b98-4a7e-89ad-df6924a246f7\', \'--vm_project_uuid=32ded82f9ba442d580111633709dd4db\', \'--ip_address=213.184.126.67\', \'--ipv6_address=None\', \'--vm_name=ctest-TestBasicVMVNx-89627764-28740351\', \'--mac=02:c5:90:d3:05:36\', \'--tap_name=tapc590d305-36\', \'--port_type=NovaVMPort\', \'--tx_vlan_id=-1\', \'--rx_vlan_id=-1\')\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/compute/manager.py", line 2337, in _do_build_and_run_instance\n filter_properties, request_spec, accel_uuids)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/compute/manager.py", line 2625, in _build_and_run_instance\n instance_uuid=instance.uuid, reason=str(e))\nnova.exception.RescheduledException: Build of instance 6e411b5c-f1c4-42a0-a794-95fb2a477c49 was re-scheduled: Failure running os_vif plugin plug method: Failed to plug VIF VIFGeneric(active=True,address=02:c5:90:d3:05:36,has_traffic_filtering=True,id=c590d305-36ca-450f-80b4-9536f5836fbb,network=Network(b465f381-7b98-4a7e-89ad-df6924a246f7),plugin=\'vrouter\',port_profile=,preserve_on_delete=False,vif_name=\'tapc590d305-36\'). Got error: Error during the call to vrouter-port-control: (\'vrouter-port-control\', \'--oper=add\', \'--uuid=c590d305-36ca-450f-80b4-9536f5836fbb\', \'--instance_uuid=6e411b5c-f1c4-42a0-a794-95fb2a477c49\', \'--vn_uuid=b465f381-7b98-4a7e-89ad-df6924a246f7\', \'--vm_project_uuid=32ded82f9ba442d580111633709dd4db\', \'--ip_address=213.184.126.67\', \'--ipv6_address=None\', \'--vm_name=ctest-TestBasicVMVNx-89627764-28740351\', \'--mac=02:c5:90:d3:05:36\', \'--tap_name=tapc590d305-36\', \'--port_type=NovaVMPort\', \'--tx_vlan_id=-1\', \'--rx_vlan_id=-1\')\n'} 2025-10-10 12:14:40,240 - INFO - Deleting VN ctest-vn-40462917 2025-10-10 12:14:40,353 - DEBUG - Response for deleting network () 2025-10-10 12:14:40,475 - ERROR - AssertionError Python 3.9.21: /usr/bin/python3 Fri Oct 10 12:14:40 2025 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={}) 78 log.info('Initial checks done. Running the testcase now') 79 log.info('') 80 result = function(self, *args, **kwargs) 81 if self.inputs.upgrade: 82 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=) 2865 vm2_fixture = self.create_vm(vn_fixture=vn_fixture, 2866 image_name='ubuntu-sshpass') 2867 assert vm1_fixture.wait_till_vm_is_up() 2868 assert vm2_fixture.wait_till_vm_is_up() 2869 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 80, in wrapper result = function(self, *args, **kwargs) File "/contrail-test/scripts/vm_regression/test_vm.py", line 2867, in test_vm_file_trf_scp_tests assert vm1_fixture.wait_till_vm_is_up() AssertionError 2025-10-10 12:14:40,481 - DEBUG - No XMPP flaps were noticed during the test 2025-10-10 12:14:40,482 - INFO -
2025-10-10 12:14:40,482 - INFO - END TEST : test_vm_file_trf_scp_tests : FAILED[0:00:10]
2025-10-10 12:14:40,482 - INFO - -------------------------------------------------------------------------------- 2025-10-10 12:14:41,210 - INFO - Deleted project: ctest-TestBasicVMVNx-89627764, ID : 32ded82f-9ba4-42d5-8011-1633709dd4db