2024-09-12 10:28:43,500 - INFO - Domain Default found not creating 2024-09-12 10:28:43,655 - INFO - Project ctest-TestBasicVMVNx-77402701 not found, creating it 2024-09-12 10:28:44,139 - INFO - Created Project:ctest-TestBasicVMVNx-77402701, ID : e2d638d8-7aae-4ec7-ac68-86baea6d7909 2024-09-12 10:28:47,899 - INFO - ================================================================================ 2024-09-12 10:28:47,900 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-12 10:28:47,900 - 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-12 10:28:48,162 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.20': '0'}} with 2024-09-12 10:28:48,162 - INFO - Initial checks done. Running the testcase now 2024-09-12 10:28:48,162 - INFO - 2024-09-12 10:28:48,938 - DEBUG - Response for create_network : {'network': {'id': 'a3dbc2e5-fd22-4cd4-a794-7f4a30d18e0f', 'name': 'ctest-vn-18205159', 'tenant_id': 'e2d638d87aae4ec7ac6886baea6d7909', 'project_id': 'e2d638d87aae4ec7ac6886baea6d7909', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-77402701', 'ctest-vn-18205159'], 'port_security_enabled': True, 'description': ''}} 2024-09-12 10:28:49,165 - DEBUG - Response for create_subnet : {'subnet': {'id': '06fcd6f4-90a6-4d76-afc9-e8deabd7b1c2', 'name': '', 'tenant_id': 'e2d638d87aae4ec7ac6886baea6d7909', 'network_id': 'a3dbc2e5-fd22-4cd4-a794-7f4a30d18e0f', 'ip_version': 4, 'cidr': '58.145.163.64/26', 'allocation_pools': [{'start': '58.145.163.66', 'end': '58.145.163.126'}], 'gateway_ip': '58.145.163.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '58.145.163.66', 'tags': [], 'project_id': 'e2d638d87aae4ec7ac6886baea6d7909'}} 2024-09-12 10:28:49,186 - INFO - Created VN ctest-vn-18205159 2024-09-12 10:28:49,245 - DEBUG - VN ctest-vn-18205159 UUID is a3dbc2e5-fd22-4cd4-a794-7f4a30d18e0f 2024-09-12 10:28:49,410 - DEBUG - Services list from nova: [, , ] 2024-09-12 10:28:50,506 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1906-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1906-1) 2024-09-12 10:28:51,618 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1906-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1906-1) 2024-09-12 10:28:51,618 - INFO - Waiting for VM ctest-TestBasicVMVNx-77402701-10116998 to be up.. 2024-09-12 10:28:51,699 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-12 10:28:56,795 - DEBUG - VM is in ACTIVE state now 2024-09-12 10:28:56,796 - INFO - VM name : ctest-TestBasicVMVNx-77402701-10116998 2024-09-12 10:28:56,880 - DEBUG - VM ctest-TestBasicVMVNx-77402701-10116998 ID is 7b6b468b-bfd7-4ecd-9f3d-ab74846b4f8d 2024-09-12 10:28:56,900 - DEBUG - VM ctest-TestBasicVMVNx-77402701-10116998 launched on Node cn-jenkins-deploy-platform-ansible-os-1906-1 2024-09-12 10:28:56,985 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/7b6b468b-bfd7-4ecd-9f3d-ab74846b4f8d 2024-09-12 10:28:57,280 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/7b6b468b-bfd7-4ecd-9f3d-ab74846b4f8d 2024-09-12 10:28:57,317 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/98ea2c83-4eed-4af4-9030-1d3cdd6f49da 2024-09-12 10:29:00,606 - 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 1023ms') 2024-09-12 10:29:00,606 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-77402701-10116998 failed! 2024-09-12 10:29:00,665 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-77402701:ctest-vn-18205159 is 58.145.163.65 and allocation pool is NOT set 2024-09-12 10:29:02,725 - 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=2.82 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.400 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.400/1.612/2.824/1.212 ms') 2024-09-12 10:29:02,725 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-77402701-10116998 passed 2024-09-12 10:29:02,881 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-12 10:29:02,881 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-77402701-10116998, IP 58.145.163.67, Port 22 2024-09-12 10:29:03,041 - DEBUG - VM ctest-TestBasicVMVNx-77402701-10116998 is ready for SSH connections 2024-09-12 10:29:03,041 - INFO - Waiting for VM ctest-TestBasicVMVNx-77402701-32832564 to be up.. 2024-09-12 10:29:03,223 - DEBUG - VM is in ACTIVE state now 2024-09-12 10:29:03,223 - INFO - VM name : ctest-TestBasicVMVNx-77402701-32832564 2024-09-12 10:29:03,301 - DEBUG - VM ctest-TestBasicVMVNx-77402701-32832564 ID is 97b2f48e-ef47-43e6-9b53-ff21b93da582 2024-09-12 10:29:03,301 - DEBUG - VM ctest-TestBasicVMVNx-77402701-32832564 launched on Node cn-jenkins-deploy-platform-ansible-os-1906-1 2024-09-12 10:29:03,381 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/97b2f48e-ef47-43e6-9b53-ff21b93da582 2024-09-12 10:29:03,391 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/5cd26ff1-06b9-469d-afa9-d7d27ced5127 2024-09-12 10:29:04,646 - 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.84 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.419 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 = 0.419/1.629/2.839/1.210 ms') 2024-09-12 10:29:04,646 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-77402701-32832564 passed 2024-09-12 10:29:04,805 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-12 10:29:04,805 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-77402701-32832564, IP 58.145.163.68, Port 22 2024-09-12 10:29:04,961 - DEBUG - VM ctest-TestBasicVMVNx-77402701-32832564 is ready for SSH connections 2024-09-12 10:29:04,961 - DEBUG - FILE SIZE = 1303B 2024-09-12 10:29:04,961 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-77402701-10116998 to ctest-TestBasicVMVNx-77402701-32832564 using scp 2024-09-12 10:29:04,961 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-12 10:29:04,966 - 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.22, gateway password: c0ntrail123 2024-09-12 10:29:04,966 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-12 10:29:06,844 - DEBUG - 1+0 records in 1+0 records out 2024-09-12 10:29:07,415 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-12 10:29:07,737 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2024-09-12 10:29:07,737 - DEBUG - ls -l testfile 2024-09-12 10:29:09,332 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 12 04:29 testfile 2024-09-12 10:29:09,332 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-77402701-32832564 2024-09-12 10:29:09,332 - INFO - Deleting VM ctest-TestBasicVMVNx-77402701-32832564 2024-09-12 10:29:11,278 - INFO - Deleting VM ctest-TestBasicVMVNx-77402701-10116998 2024-09-12 10:29:11,349 - INFO - Deleting VN ctest-vn-18205159 2024-09-12 10:29:11,390 - DEBUG - VN a3dbc2e5-fd22-4cd4-a794-7f4a30d18e0f still in use: Unable to complete operation on network a3dbc2e5-fd22-4cd4-a794-7f4a30d18e0f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3c5df231-ab13-41bc-a92e-2676493a82a6'] 2024-09-12 10:29:11,390 - WARNING - Deleting VN ctest-vn-18205159 failed..Will retry 2024-09-12 10:29:14,237 - DEBUG - Response for deleting network () 2024-09-12 10:29:14,491 - DEBUG - No XMPP flaps were noticed during the test 2024-09-12 10:29:14,491 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:27] 2024-09-12 10:29:14,491 - INFO - -------------------------------------------------------------------------------- 2024-09-12 10:29:15,203 - INFO - Deleted project: ctest-TestBasicVMVNx-77402701, ID : e2d638d8-7aae-4ec7-ac68-86baea6d7909