2024-11-13 12:59:05,535 - INFO - Domain Default found not creating 2024-11-13 12:59:05,721 - INFO - Project ctest-TestBasicVMVNx-10024008 not found, creating it 2024-11-13 12:59:06,261 - INFO - Created Project:ctest-TestBasicVMVNx-10024008, ID : 7ba47008-0d7a-44c3-8382-39d59db15ec0 2024-11-13 12:59:07,879 - INFO - ================================================================================ 2024-11-13 12:59:07,879 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-11-13 12:59:07,879 - 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-11-13 12:59:08,138 - DEBUG - Nothing to compare xmpp stats {'10.0.0.46': {'10.20.0.14': '0'}} with 2024-11-13 12:59:08,138 - INFO - Initial checks done. Running the testcase now 2024-11-13 12:59:08,138 - INFO - 2024-11-13 12:59:08,861 - DEBUG - Response for create_network : {'network': {'id': '458a03eb-1284-4aad-9b33-50b706b71cd1', 'name': 'ctest-vn-34715879', 'tenant_id': '7ba470080d7a44c3838239d59db15ec0', 'project_id': '7ba470080d7a44c3838239d59db15ec0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-10024008', 'ctest-vn-34715879'], 'port_security_enabled': True, 'description': ''}} 2024-11-13 12:59:09,101 - DEBUG - Response for create_subnet : {'subnet': {'id': '403519f9-c417-4509-844f-75aa2dc267cd', 'name': '', 'tenant_id': '7ba470080d7a44c3838239d59db15ec0', 'network_id': '458a03eb-1284-4aad-9b33-50b706b71cd1', 'ip_version': 4, 'cidr': '154.79.181.0/26', 'allocation_pools': [{'start': '154.79.181.2', 'end': '154.79.181.62'}], 'gateway_ip': '154.79.181.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '154.79.181.2', 'tags': [], 'project_id': '7ba470080d7a44c3838239d59db15ec0'}} 2024-11-13 12:59:09,124 - INFO - Created VN ctest-vn-34715879 2024-11-13 12:59:09,184 - DEBUG - VN ctest-vn-34715879 UUID is 458a03eb-1284-4aad-9b33-50b706b71cd1 2024-11-13 12:59:09,376 - DEBUG - Services list from nova: [, , ] 2024-11-13 12:59:10,503 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2286-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2286-1) 2024-11-13 12:59:11,699 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2286-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2286-1) 2024-11-13 12:59:11,699 - INFO - Waiting for VM ctest-TestBasicVMVNx-10024008-03582961 to be up.. 2024-11-13 12:59:11,806 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-13 12:59:16,899 - DEBUG - VM is in ACTIVE state now 2024-11-13 12:59:16,899 - INFO - VM name : ctest-TestBasicVMVNx-10024008-03582961 2024-11-13 12:59:17,019 - DEBUG - VM ctest-TestBasicVMVNx-10024008-03582961 ID is 59f898d8-f804-4f6e-8bf1-f7bbb345d96c 2024-11-13 12:59:17,041 - DEBUG - VM ctest-TestBasicVMVNx-10024008-03582961 launched on Node cn-jenkins-deploy-platform-ansible-os-2286-1 2024-11-13 12:59:17,185 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine/59f898d8-f804-4f6e-8bf1-f7bbb345d96c 2024-11-13 12:59:17,497 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine/59f898d8-f804-4f6e-8bf1-f7bbb345d96c 2024-11-13 12:59:17,540 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine-interface/672de2d3-e00a-4672-ad4e-a77be3374de0 2024-11-13 12:59:20,803 - 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 1011ms') 2024-11-13 12:59:20,804 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-10024008-03582961 failed! 2024-11-13 12:59:20,868 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-10024008:ctest-vn-34715879 is 154.79.181.1 and allocation pool is NOT set 2024-11-13 12:59:22,938 - 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=6.50 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.352 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 = 0.352/3.425/6.499/3.073 ms') 2024-11-13 12:59:22,939 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-10024008-03582961 passed 2024-11-13 12:59:23,116 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-13 12:59:23,116 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-10024008-03582961, IP 154.79.181.3, Port 22 2024-11-13 12:59:23,275 - DEBUG - VM ctest-TestBasicVMVNx-10024008-03582961 is ready for SSH connections 2024-11-13 12:59:23,276 - INFO - Waiting for VM ctest-TestBasicVMVNx-10024008-29825775 to be up.. 2024-11-13 12:59:23,376 - DEBUG - VM is in ACTIVE state now 2024-11-13 12:59:23,377 - INFO - VM name : ctest-TestBasicVMVNx-10024008-29825775 2024-11-13 12:59:23,497 - DEBUG - VM ctest-TestBasicVMVNx-10024008-29825775 ID is 18799c5b-c5b6-4417-ba95-313824498567 2024-11-13 12:59:23,497 - DEBUG - VM ctest-TestBasicVMVNx-10024008-29825775 launched on Node cn-jenkins-deploy-platform-ansible-os-2286-1 2024-11-13 12:59:23,581 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine/18799c5b-c5b6-4417-ba95-313824498567 2024-11-13 12:59:23,593 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine-interface/761651b5-0450-4fd9-a226-bf32c1a60cd3 2024-11-13 12:59:24,865 - 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=5.41 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.71 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.708/3.557/5.406/1.849 ms') 2024-11-13 12:59:24,865 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-10024008-29825775 passed 2024-11-13 12:59:25,024 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-13 12:59:25,024 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-10024008-29825775, IP 154.79.181.4, Port 22 2024-11-13 12:59:25,194 - DEBUG - VM ctest-TestBasicVMVNx-10024008-29825775 is ready for SSH connections 2024-11-13 12:59:25,194 - DEBUG - FILE SIZE = 1303B 2024-11-13 12:59:25,194 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-10024008-03582961 to ctest-TestBasicVMVNx-10024008-29825775 using scp 2024-11-13 12:59:25,195 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-13 12:59:25,201 - 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.46, gateway password: c0ntrail123 2024-11-13 12:59:25,202 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-11-13 12:59:27,138 - DEBUG - 1+0 records in 1+0 records out 2024-11-13 12:59:27,978 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-13 12:59:28,322 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.46, gateway password: c0ntrail123 2024-11-13 12:59:28,322 - DEBUG - ls -l testfile 2024-11-13 12:59:29,927 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 13 05:59 testfile 2024-11-13 12:59:29,927 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-10024008-29825775 2024-11-13 12:59:29,928 - INFO - Deleting VM ctest-TestBasicVMVNx-10024008-29825775 2024-11-13 12:59:30,016 - INFO - Deleting VM ctest-TestBasicVMVNx-10024008-03582961 2024-11-13 12:59:30,098 - INFO - Deleting VN ctest-vn-34715879 2024-11-13 12:59:30,155 - DEBUG - VN 458a03eb-1284-4aad-9b33-50b706b71cd1 still in use: Unable to complete operation on network 458a03eb-1284-4aad-9b33-50b706b71cd1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c04022be-4d83-4867-aa73-c00a14f650c0'] 2024-11-13 12:59:30,156 - WARNING - Deleting VN ctest-vn-34715879 failed..Will retry 2024-11-13 12:59:32,310 - DEBUG - Response for deleting network () 2024-11-13 12:59:32,570 - DEBUG - No XMPP flaps were noticed during the test 2024-11-13 12:59:32,570 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25] 2024-11-13 12:59:32,570 - INFO - -------------------------------------------------------------------------------- 2024-11-13 12:59:33,390 - INFO - Deleted project: ctest-TestBasicVMVNx-10024008, ID : 7ba47008-0d7a-44c3-8382-39d59db15ec0