2024-09-09 21:09:45,800 - INFO - Domain Default found not creating 2024-09-09 21:09:45,993 - INFO - Project ctest-TestBasicVMVNx-67138501 not found, creating it 2024-09-09 21:09:46,510 - INFO - Created Project:ctest-TestBasicVMVNx-67138501, ID : 81021145-79d6-4564-87d2-7baf4ad22ecc 2024-09-09 21:09:48,009 - INFO - ================================================================================ 2024-09-09 21:09:48,009 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-09 21:09:48,009 - 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-09 21:09:48,267 - DEBUG - Nothing to compare xmpp stats {'10.0.0.28': {'10.20.0.27': '0'}} with 2024-09-09 21:09:48,267 - INFO - Initial checks done. Running the testcase now 2024-09-09 21:09:48,267 - INFO - 2024-09-09 21:09:48,860 - DEBUG - Response for create_network : {'network': {'id': '25edfef2-8e08-4fb1-88fc-46531edeb088', 'name': 'ctest-vn-99270273', 'tenant_id': '8102114579d6456487d27baf4ad22ecc', 'project_id': '8102114579d6456487d27baf4ad22ecc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-67138501', 'ctest-vn-99270273'], 'port_security_enabled': True, 'description': ''}} 2024-09-09 21:09:49,018 - DEBUG - Response for create_subnet : {'subnet': {'id': '69bcb9eb-389b-4c94-a69e-3684727971d3', 'name': '', 'tenant_id': '8102114579d6456487d27baf4ad22ecc', 'network_id': '25edfef2-8e08-4fb1-88fc-46531edeb088', 'ip_version': 4, 'cidr': '218.208.177.64/26', 'allocation_pools': [{'start': '218.208.177.66', 'end': '218.208.177.126'}], 'gateway_ip': '218.208.177.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '218.208.177.66', 'tags': [], 'project_id': '8102114579d6456487d27baf4ad22ecc'}} 2024-09-09 21:09:49,038 - INFO - Created VN ctest-vn-99270273 2024-09-09 21:09:49,092 - DEBUG - VN ctest-vn-99270273 UUID is 25edfef2-8e08-4fb1-88fc-46531edeb088 2024-09-09 21:09:49,259 - DEBUG - Services list from nova: [, , ] 2024-09-09 21:09:50,478 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1878-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1878-1) 2024-09-09 21:09:51,673 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1878-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1878-1) 2024-09-09 21:09:51,673 - INFO - Waiting for VM ctest-TestBasicVMVNx-67138501-69666776 to be up.. 2024-09-09 21:09:51,757 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-09 21:09:56,863 - DEBUG - VM is in ACTIVE state now 2024-09-09 21:09:56,864 - INFO - VM name : ctest-TestBasicVMVNx-67138501-69666776 2024-09-09 21:09:56,949 - DEBUG - VM ctest-TestBasicVMVNx-67138501-69666776 ID is f6820254-e58d-4f79-9cf6-b3520a4f70a8 2024-09-09 21:09:56,974 - DEBUG - VM ctest-TestBasicVMVNx-67138501-69666776 launched on Node cn-jenkins-deploy-platform-ansible-os-1878-1 2024-09-09 21:09:57,070 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/f6820254-e58d-4f79-9cf6-b3520a4f70a8 2024-09-09 21:09:57,383 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/f6820254-e58d-4f79-9cf6-b3520a4f70a8 2024-09-09 21:09:57,418 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/262af9cc-b67b-4dab-89ff-0340de95db5b 2024-09-09 21:10:00,666 - 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-09-09 21:10:00,666 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-67138501-69666776 failed! 2024-09-09 21:10:00,720 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-67138501:ctest-vn-99270273 is 218.208.177.65 and allocation pool is NOT set 2024-09-09 21:10:02,784 - 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.72 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.469 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.469/1.595/2.721/1.126 ms') 2024-09-09 21:10:02,784 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-67138501-69666776 passed 2024-09-09 21:10:02,936 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-09 21:10:02,936 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-67138501-69666776, IP 218.208.177.67, Port 22 2024-09-09 21:10:03,102 - DEBUG - VM ctest-TestBasicVMVNx-67138501-69666776 is ready for SSH connections 2024-09-09 21:10:03,102 - INFO - Waiting for VM ctest-TestBasicVMVNx-67138501-80118890 to be up.. 2024-09-09 21:10:03,189 - DEBUG - VM is in ACTIVE state now 2024-09-09 21:10:03,189 - INFO - VM name : ctest-TestBasicVMVNx-67138501-80118890 2024-09-09 21:10:03,266 - DEBUG - VM ctest-TestBasicVMVNx-67138501-80118890 ID is f6e682dc-aaca-4a02-85de-e7865c50cc7c 2024-09-09 21:10:03,266 - DEBUG - VM ctest-TestBasicVMVNx-67138501-80118890 launched on Node cn-jenkins-deploy-platform-ansible-os-1878-1 2024-09-09 21:10:03,345 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/f6e682dc-aaca-4a02-85de-e7865c50cc7c 2024-09-09 21:10:03,353 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/bd1cbf5a-d448-4b46-8def-0623086ca54a 2024-09-09 21:10:04,586 - 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.90 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.482 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.482/1.689/2.897/1.207 ms') 2024-09-09 21:10:04,586 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-67138501-80118890 passed 2024-09-09 21:10:04,736 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-09 21:10:04,736 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-67138501-80118890, IP 218.208.177.68, Port 22 2024-09-09 21:10:04,892 - DEBUG - VM ctest-TestBasicVMVNx-67138501-80118890 is ready for SSH connections 2024-09-09 21:10:04,892 - DEBUG - FILE SIZE = 1303B 2024-09-09 21:10:04,892 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-67138501-69666776 to ctest-TestBasicVMVNx-67138501-80118890 using scp 2024-09-09 21:10:04,892 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-09 21:10:04,897 - 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-09 21:10:04,897 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-09 21:10:06,816 - DEBUG - 1+0 records in 1+0 records out 2024-09-09 21:10:07,614 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-09 21:10:07,936 - 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-09 21:10:07,936 - DEBUG - ls -l testfile 2024-09-09 21:10:09,521 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 9 15:10 testfile 2024-09-09 21:10:09,521 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-67138501-80118890 2024-09-09 21:10:09,521 - INFO - Deleting VM ctest-TestBasicVMVNx-67138501-80118890 2024-09-09 21:10:09,604 - INFO - Deleting VM ctest-TestBasicVMVNx-67138501-69666776 2024-09-09 21:10:09,677 - INFO - Deleting VN ctest-vn-99270273 2024-09-09 21:10:09,718 - DEBUG - VN 25edfef2-8e08-4fb1-88fc-46531edeb088 still in use: Unable to complete operation on network 25edfef2-8e08-4fb1-88fc-46531edeb088. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bcdb23d7-2ac4-493b-a1c9-0a0c290e561b'] 2024-09-09 21:10:09,718 - WARNING - Deleting VN ctest-vn-99270273 failed..Will retry 2024-09-09 21:10:11,830 - DEBUG - Response for deleting network () 2024-09-09 21:10:12,093 - DEBUG - No XMPP flaps were noticed during the test
2024-09-09 21:10:12,093 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2024-09-09 21:10:12,093 - INFO - -------------------------------------------------------------------------------- 2024-09-09 21:10:12,766 - INFO - Deleted project: ctest-TestBasicVMVNx-67138501, ID : 81021145-79d6-4564-87d2-7baf4ad22ecc