2024-09-19 21:58:56,450 - INFO - Domain Default found not creating 2024-09-19 21:58:56,612 - INFO - Project ctest-TestBasicVMVNx-84152259 not found, creating it 2024-09-19 21:58:57,100 - INFO - Created Project:ctest-TestBasicVMVNx-84152259, ID : 9ebed321-35f3-4346-aac0-31643a63385d 2024-09-19 21:58:58,598 - INFO - ================================================================================ 2024-09-19 21:58:58,598 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-19 21:58:58,599 - 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-09-19 21:58:58,863 - DEBUG - Nothing to compare xmpp stats {'10.0.0.28': {'10.20.0.13': '0'}} with 2024-09-19 21:58:58,863 - INFO - Initial checks done. Running the testcase now 2024-09-19 21:58:58,864 - INFO - 2024-09-19 21:58:59,451 - DEBUG - Response for create_network : {'network': {'id': 'a18f30ba-165d-4d33-be70-7171757e6028', 'name': 'ctest-vn-23749719', 'tenant_id': '9ebed32135f34346aac031643a63385d', 'project_id': '9ebed32135f34346aac031643a63385d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-84152259', 'ctest-vn-23749719'], 'port_security_enabled': True, 'description': ''}} 2024-09-19 21:58:59,653 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b1bf9c1d-250b-440a-8446-c09937752d64', 'name': '', 'tenant_id': '9ebed32135f34346aac031643a63385d', 'network_id': 'a18f30ba-165d-4d33-be70-7171757e6028', 'ip_version': 4, 'cidr': '187.163.239.64/26', 'allocation_pools': [{'start': '187.163.239.66', 'end': '187.163.239.126'}], 'gateway_ip': '187.163.239.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '187.163.239.66', 'tags': [], 'project_id': '9ebed32135f34346aac031643a63385d'}} 2024-09-19 21:58:59,670 - INFO - Created VN ctest-vn-23749719 2024-09-19 21:58:59,728 - DEBUG - VN ctest-vn-23749719 UUID is a18f30ba-165d-4d33-be70-7171757e6028 2024-09-19 21:58:59,907 - DEBUG - Services list from nova: [, , ] 2024-09-19 21:59:00,933 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2007-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2007-1) 2024-09-19 21:59:02,141 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2007-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2007-1) 2024-09-19 21:59:02,141 - INFO - Waiting for VM ctest-TestBasicVMVNx-84152259-06446824 to be up.. 2024-09-19 21:59:02,241 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-19 21:59:07,429 - DEBUG - VM is in ACTIVE state now 2024-09-19 21:59:07,429 - INFO - VM name : ctest-TestBasicVMVNx-84152259-06446824 2024-09-19 21:59:07,514 - DEBUG - VM ctest-TestBasicVMVNx-84152259-06446824 ID is b7f0c79a-9743-4c43-90f5-597eaf1a62b7 2024-09-19 21:59:07,534 - DEBUG - VM ctest-TestBasicVMVNx-84152259-06446824 launched on Node cn-jenkins-deploy-platform-ansible-os-2007-1 2024-09-19 21:59:07,621 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/b7f0c79a-9743-4c43-90f5-597eaf1a62b7 2024-09-19 21:59:07,927 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/b7f0c79a-9743-4c43-90f5-597eaf1a62b7 2024-09-19 21:59:07,967 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/83502b01-0179-468a-b0d0-cdf464ad1194 2024-09-19 21:59:11,247 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1018ms') 2024-09-19 21:59:11,248 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-84152259-06446824 failed! 2024-09-19 21:59:11,308 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-84152259:ctest-vn-23749719 is 187.163.239.65 and allocation pool is NOT set 2024-09-19 21:59:13,374 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=3.42 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.77 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.773/2.597/3.422/0.824 ms') 2024-09-19 21:59:13,374 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-84152259-06446824 passed 2024-09-19 21:59:13,532 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-19 21:59:13,532 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-84152259-06446824, IP 187.163.239.67, Port 22 2024-09-19 21:59:13,688 - DEBUG - VM ctest-TestBasicVMVNx-84152259-06446824 is ready for SSH connections 2024-09-19 21:59:13,688 - INFO - Waiting for VM ctest-TestBasicVMVNx-84152259-87803702 to be up.. 2024-09-19 21:59:13,780 - DEBUG - VM is in ACTIVE state now 2024-09-19 21:59:13,781 - INFO - VM name : ctest-TestBasicVMVNx-84152259-87803702 2024-09-19 21:59:13,862 - DEBUG - VM ctest-TestBasicVMVNx-84152259-87803702 ID is 5389fb5e-596c-435f-8337-34587ac7732e 2024-09-19 21:59:13,862 - DEBUG - VM ctest-TestBasicVMVNx-84152259-87803702 launched on Node cn-jenkins-deploy-platform-ansible-os-2007-1 2024-09-19 21:59:13,951 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/5389fb5e-596c-435f-8337-34587ac7732e 2024-09-19 21:59:13,961 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/5dc23b4a-e323-4aee-92d4-da31ef6a8cff 2024-09-19 21:59:15,208 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=2.99 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.412 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.412/1.703/2.994/1.291 ms') 2024-09-19 21:59:15,208 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-84152259-87803702 passed 2024-09-19 21:59:15,372 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-19 21:59:15,372 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-84152259-87803702, IP 187.163.239.68, Port 22 2024-09-19 21:59:15,539 - DEBUG - VM ctest-TestBasicVMVNx-84152259-87803702 is ready for SSH connections 2024-09-19 21:59:15,539 - DEBUG - FILE SIZE = 1303B 2024-09-19 21:59:15,539 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-84152259-06446824 to ctest-TestBasicVMVNx-84152259-87803702 using scp 2024-09-19 21:59:15,540 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-19 21:59:15,547 - DEBUG - Running remote_cmd, Cmd : dd bs=1303 count=1 if=/dev/zero of=testfile, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.28, gateway password: c0ntrail123 2024-09-19 21:59:15,547 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-19 21:59:17,450 - DEBUG - 1+0 records in 1+0 records out 2024-09-19 21:59:18,275 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-19 21:59:18,608 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.28, gateway password: c0ntrail123 2024-09-19 21:59:18,608 - DEBUG - ls -l testfile 2024-09-19 21:59:20,182 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 19 15:59 testfile 2024-09-19 21:59:20,182 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-84152259-87803702 2024-09-19 21:59:20,182 - INFO - Deleting VM ctest-TestBasicVMVNx-84152259-87803702 2024-09-19 21:59:20,253 - INFO - Deleting VM ctest-TestBasicVMVNx-84152259-06446824 2024-09-19 21:59:20,322 - INFO - Deleting VN ctest-vn-23749719 2024-09-19 21:59:20,364 - DEBUG - VN a18f30ba-165d-4d33-be70-7171757e6028 still in use: Unable to complete operation on network a18f30ba-165d-4d33-be70-7171757e6028. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0a1e9066-49b9-434d-a697-d812f016da3f'] 2024-09-19 21:59:20,364 - WARNING - Deleting VN ctest-vn-23749719 failed..Will retry 2024-09-19 21:59:22,538 - DEBUG - Response for deleting network () 2024-09-19 21:59:22,798 - DEBUG - No XMPP flaps were noticed during the test
2024-09-19 21:59:22,798 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2024-09-19 21:59:22,798 - INFO - -------------------------------------------------------------------------------- 2024-09-19 21:59:23,493 - INFO - Deleted project: ctest-TestBasicVMVNx-84152259, ID : 9ebed321-35f3-4346-aac0-31643a63385d