2024-08-29 23:39:55,584 - INFO - Domain Default found not creating 2024-08-29 23:39:55,751 - INFO - Project ctest-TestBasicVMVNx-69691703 not found, creating it 2024-08-29 23:39:56,220 - INFO - Created Project:ctest-TestBasicVMVNx-69691703, ID : e2eb4fdd-0bbb-43e5-8226-f836a65f7e7a 2024-08-29 23:39:59,448 - INFO - ================================================================================ 2024-08-29 23:39:59,448 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-08-29 23:39:59,448 - 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-08-29 23:39:59,707 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.10': '0'}} with 2024-08-29 23:39:59,707 - INFO - Initial checks done. Running the testcase now 2024-08-29 23:39:59,707 - INFO - 2024-08-29 23:40:00,266 - DEBUG - Response for create_network : {'network': {'id': 'bd6c4e9c-f383-46fc-a8ab-067440a3f301', 'name': 'ctest-vn-89655107', 'tenant_id': 'e2eb4fdd0bbb43e58226f836a65f7e7a', 'project_id': 'e2eb4fdd0bbb43e58226f836a65f7e7a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-69691703', 'ctest-vn-89655107'], 'port_security_enabled': True, 'description': ''}} 2024-08-29 23:40:00,405 - DEBUG - Response for create_subnet : {'subnet': {'id': '297c52eb-83e6-4769-9f05-e02b028120ac', 'name': '', 'tenant_id': 'e2eb4fdd0bbb43e58226f836a65f7e7a', 'network_id': 'bd6c4e9c-f383-46fc-a8ab-067440a3f301', 'ip_version': 4, 'cidr': '59.44.52.0/26', 'allocation_pools': [{'start': '59.44.52.2', 'end': '59.44.52.62'}], 'gateway_ip': '59.44.52.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '59.44.52.2', 'tags': [], 'project_id': 'e2eb4fdd0bbb43e58226f836a65f7e7a'}} 2024-08-29 23:40:00,425 - INFO - Created VN ctest-vn-89655107 2024-08-29 23:40:00,477 - DEBUG - VN ctest-vn-89655107 UUID is bd6c4e9c-f383-46fc-a8ab-067440a3f301 2024-08-29 23:40:00,637 - DEBUG - Services list from nova: [, , ] 2024-08-29 23:40:01,664 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1819-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1819-1) 2024-08-29 23:40:02,813 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1819-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1819-1) 2024-08-29 23:40:02,814 - INFO - Waiting for VM ctest-TestBasicVMVNx-69691703-37657914 to be up.. 2024-08-29 23:40:02,920 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-29 23:40:07,995 - DEBUG - VM is in ACTIVE state now 2024-08-29 23:40:07,996 - INFO - VM name : ctest-TestBasicVMVNx-69691703-37657914 2024-08-29 23:40:08,070 - DEBUG - VM ctest-TestBasicVMVNx-69691703-37657914 ID is f96f03ac-5ef7-4b2b-a950-424e64f11973 2024-08-29 23:40:08,088 - DEBUG - VM ctest-TestBasicVMVNx-69691703-37657914 launched on Node cn-jenkins-deploy-platform-ansible-os-1819-1 2024-08-29 23:40:08,166 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/f96f03ac-5ef7-4b2b-a950-424e64f11973 2024-08-29 23:40:08,459 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/f96f03ac-5ef7-4b2b-a950-424e64f11973 2024-08-29 23:40:08,492 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/4d8745c1-fa89-4e5d-b6f6-0af6d37808c3 2024-08-29 23:40:11,731 - 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 1006ms') 2024-08-29 23:40:11,732 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-69691703-37657914 failed! 2024-08-29 23:40:11,785 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-69691703:ctest-vn-89655107 is 59.44.52.1 and allocation pool is NOT set 2024-08-29 23:40:13,850 - 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.62 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.363 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.363/3.491/6.619/3.128 ms') 2024-08-29 23:40:13,850 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-69691703-37657914 passed 2024-08-29 23:40:13,997 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-29 23:40:13,998 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-69691703-37657914, IP 59.44.52.3, Port 22 2024-08-29 23:40:14,197 - DEBUG - VM ctest-TestBasicVMVNx-69691703-37657914 is ready for SSH connections 2024-08-29 23:40:14,197 - INFO - Waiting for VM ctest-TestBasicVMVNx-69691703-14076119 to be up.. 2024-08-29 23:40:14,313 - DEBUG - VM is in ACTIVE state now 2024-08-29 23:40:14,313 - INFO - VM name : ctest-TestBasicVMVNx-69691703-14076119 2024-08-29 23:40:14,389 - DEBUG - VM ctest-TestBasicVMVNx-69691703-14076119 ID is 90618512-06c8-46e7-9f15-386199cfe7d5 2024-08-29 23:40:14,389 - DEBUG - VM ctest-TestBasicVMVNx-69691703-14076119 launched on Node cn-jenkins-deploy-platform-ansible-os-1819-1 2024-08-29 23:40:14,463 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/90618512-06c8-46e7-9f15-386199cfe7d5 2024-08-29 23:40:14,472 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/f5f2838d-ddf8-4849-b97d-0ab3c0213e0c 2024-08-29 23:40:15,706 - 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.66 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.400 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.400/1.530/2.661/1.130 ms') 2024-08-29 23:40:15,706 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-69691703-14076119 passed 2024-08-29 23:40:15,853 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-29 23:40:15,853 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-69691703-14076119, IP 59.44.52.4, Port 22 2024-08-29 23:40:16,009 - DEBUG - VM ctest-TestBasicVMVNx-69691703-14076119 is ready for SSH connections 2024-08-29 23:40:16,009 - DEBUG - FILE SIZE = 1303B 2024-08-29 23:40:16,009 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-69691703-37657914 to ctest-TestBasicVMVNx-69691703-14076119 using scp 2024-08-29 23:40:16,009 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-29 23:40:16,014 - 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-08-29 23:40:16,014 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-08-29 23:40:17,873 - DEBUG - 1+0 records in 1+0 records out 2024-08-29 23:40:18,443 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-29 23:40:18,763 - 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-08-29 23:40:18,764 - DEBUG - ls -l testfile 2024-08-29 23:40:20,393 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 29 17:40 testfile 2024-08-29 23:40:20,393 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-69691703-14076119 2024-08-29 23:40:20,393 - INFO - Deleting VM ctest-TestBasicVMVNx-69691703-14076119 2024-08-29 23:40:20,458 - INFO - Deleting VM ctest-TestBasicVMVNx-69691703-37657914 2024-08-29 23:40:20,522 - INFO - Deleting VN ctest-vn-89655107 2024-08-29 23:40:20,562 - DEBUG - VN bd6c4e9c-f383-46fc-a8ab-067440a3f301 still in use: Unable to complete operation on network bd6c4e9c-f383-46fc-a8ab-067440a3f301. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9f3c765c-4607-4e70-a281-6085edc35810'] 2024-08-29 23:40:20,562 - WARNING - Deleting VN ctest-vn-89655107 failed..Will retry 2024-08-29 23:40:22,710 - DEBUG - Response for deleting network () 2024-08-29 23:40:22,967 - DEBUG - No XMPP flaps were noticed during the test
2024-08-29 23:40:22,967 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2024-08-29 23:40:22,967 - INFO - -------------------------------------------------------------------------------- 2024-08-29 23:40:23,656 - INFO - Deleted project: ctest-TestBasicVMVNx-69691703, ID : e2eb4fdd-0bbb-43e5-8226-f836a65f7e7a