2024-11-10 13:35:13,588 - INFO - Domain Default found not creating 2024-11-10 13:35:13,791 - INFO - Project ctest-TestBasicVMVNx-82072686 not found, creating it 2024-11-10 13:35:14,354 - INFO - Created Project:ctest-TestBasicVMVNx-82072686, ID : 3fd9e581-751f-4c58-a06b-4664d66a7d87 2024-11-10 13:35:16,085 - INFO - ================================================================================ 2024-11-10 13:35:16,086 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-11-10 13:35:16,086 - 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-10 13:35:16,347 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.5': '0'}} with 2024-11-10 13:35:16,347 - INFO - Initial checks done. Running the testcase now 2024-11-10 13:35:16,347 - INFO - 2024-11-10 13:35:17,021 - DEBUG - Response for create_network : {'network': {'id': '859547ea-6e07-4572-9f77-b67813c41586', 'name': 'ctest-vn-52621238', 'tenant_id': '3fd9e581751f4c58a06b4664d66a7d87', 'project_id': '3fd9e581751f4c58a06b4664d66a7d87', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-82072686', 'ctest-vn-52621238'], 'port_security_enabled': True, 'description': ''}} 2024-11-10 13:35:17,248 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a97700ea-7cbe-4302-ab32-0ecb4bf41f25', 'name': '', 'tenant_id': '3fd9e581751f4c58a06b4664d66a7d87', 'network_id': '859547ea-6e07-4572-9f77-b67813c41586', 'ip_version': 4, 'cidr': '94.42.180.64/26', 'allocation_pools': [{'start': '94.42.180.66', 'end': '94.42.180.126'}], 'gateway_ip': '94.42.180.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '94.42.180.66', 'tags': [], 'project_id': '3fd9e581751f4c58a06b4664d66a7d87'}} 2024-11-10 13:35:17,270 - INFO - Created VN ctest-vn-52621238 2024-11-10 13:35:17,328 - DEBUG - VN ctest-vn-52621238 UUID is 859547ea-6e07-4572-9f77-b67813c41586 2024-11-10 13:35:17,535 - DEBUG - Services list from nova: [, , ] 2024-11-10 13:35:18,695 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2250-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2250-1) 2024-11-10 13:35:20,043 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2250-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2250-1) 2024-11-10 13:35:20,043 - INFO - Waiting for VM ctest-TestBasicVMVNx-82072686-76744048 to be up.. 2024-11-10 13:35:20,177 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-10 13:35:25,290 - DEBUG - VM is in ACTIVE state now 2024-11-10 13:35:25,290 - INFO - VM name : ctest-TestBasicVMVNx-82072686-76744048 2024-11-10 13:35:25,395 - DEBUG - VM ctest-TestBasicVMVNx-82072686-76744048 ID is 5407bd78-2d9f-4072-9972-b54231f3fc99 2024-11-10 13:35:25,419 - DEBUG - VM ctest-TestBasicVMVNx-82072686-76744048 launched on Node cn-jenkins-deploy-platform-ansible-os-2250-1 2024-11-10 13:35:25,537 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/5407bd78-2d9f-4072-9972-b54231f3fc99 2024-11-10 13:35:25,865 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/5407bd78-2d9f-4072-9972-b54231f3fc99 2024-11-10 13:35:25,905 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/73605681-5bbd-4bdc-ab83-eea308487bf2 2024-11-10 13:35:29,184 - 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-11-10 13:35:29,185 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-82072686-76744048 failed! 2024-11-10 13:35:29,248 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-82072686:ctest-vn-52621238 is 94.42.180.65 and allocation pool is NOT set 2024-11-10 13:35:31,309 - 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=307 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.479 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.479/153.529/306.580/153.050 ms') 2024-11-10 13:35:31,309 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-82072686-76744048 passed 2024-11-10 13:35:31,472 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 13:35:31,472 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-82072686-76744048, IP 94.42.180.67, Port 22 2024-11-10 13:35:31,642 - DEBUG - VM ctest-TestBasicVMVNx-82072686-76744048 is ready for SSH connections 2024-11-10 13:35:31,643 - INFO - Waiting for VM ctest-TestBasicVMVNx-82072686-28121093 to be up.. 2024-11-10 13:35:31,751 - DEBUG - VM is in ACTIVE state now 2024-11-10 13:35:31,751 - INFO - VM name : ctest-TestBasicVMVNx-82072686-28121093 2024-11-10 13:35:31,840 - DEBUG - VM ctest-TestBasicVMVNx-82072686-28121093 ID is 682ec910-60e0-44c7-b63a-d2a6cbf19963 2024-11-10 13:35:31,840 - DEBUG - VM ctest-TestBasicVMVNx-82072686-28121093 launched on Node cn-jenkins-deploy-platform-ansible-os-2250-1 2024-11-10 13:35:31,932 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/682ec910-60e0-44c7-b63a-d2a6cbf19963 2024-11-10 13:35:31,942 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/abef39a1-4985-48f7-99a3-4021282bc71d 2024-11-10 13:35:33,197 - 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=4.74 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.46 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 = 2.459/3.601/4.744/1.142 ms') 2024-11-10 13:35:33,197 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-82072686-28121093 passed 2024-11-10 13:35:33,356 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 13:35:33,356 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-82072686-28121093, IP 94.42.180.68, Port 22 2024-11-10 13:35:33,511 - DEBUG - VM ctest-TestBasicVMVNx-82072686-28121093 is ready for SSH connections 2024-11-10 13:35:33,511 - DEBUG - FILE SIZE = 1303B 2024-11-10 13:35:33,511 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-82072686-76744048 to ctest-TestBasicVMVNx-82072686-28121093 using scp 2024-11-10 13:35:33,512 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 13:35:33,517 - 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.48, gateway password: c0ntrail123 2024-11-10 13:35:33,517 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-11-10 13:35:35,477 - DEBUG - 1+0 records in 1+0 records out 2024-11-10 13:35:36,301 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 13:35:36,663 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2024-11-10 13:35:36,664 - DEBUG - ls -l testfile 2024-11-10 13:35:38,271 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 10 06:35 testfile 2024-11-10 13:35:38,272 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-82072686-28121093 2024-11-10 13:35:38,272 - INFO - Deleting VM ctest-TestBasicVMVNx-82072686-28121093 2024-11-10 13:35:38,347 - INFO - Deleting VM ctest-TestBasicVMVNx-82072686-76744048 2024-11-10 13:35:38,420 - INFO - Deleting VN ctest-vn-52621238 2024-11-10 13:35:38,464 - DEBUG - VN 859547ea-6e07-4572-9f77-b67813c41586 still in use: Unable to complete operation on network 859547ea-6e07-4572-9f77-b67813c41586. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-883966fa-eea0-4d3a-a6cb-9bdb99c746ea'] 2024-11-10 13:35:38,464 - WARNING - Deleting VN ctest-vn-52621238 failed..Will retry 2024-11-10 13:35:40,586 - DEBUG - Response for deleting network () 2024-11-10 13:35:40,855 - DEBUG - No XMPP flaps were noticed during the test
2024-11-10 13:35:40,856 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2024-11-10 13:35:40,856 - INFO - -------------------------------------------------------------------------------- 2024-11-10 13:35:41,601 - INFO - Deleted project: ctest-TestBasicVMVNx-82072686, ID : 3fd9e581-751f-4c58-a06b-4664d66a7d87