2025-01-14 17:49:59,843 - INFO - Domain Default found not creating 2025-01-14 17:50:00,017 - INFO - Project ctest-TestBasicVMVNx-73412073 not found, creating it 2025-01-14 17:50:00,503 - INFO - Created Project:ctest-TestBasicVMVNx-73412073, ID : 804659e2-10c5-4c55-9c24-16e4b3e5fc61 2025-01-14 17:50:02,115 - INFO - ================================================================================ 2025-01-14 17:50:02,116 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-01-14 17:50:02,116 - 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 2025-01-14 17:50:02,370 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.6': '0'}} with 2025-01-14 17:50:02,370 - INFO - Initial checks done. Running the testcase now 2025-01-14 17:50:02,370 - INFO - 2025-01-14 17:50:02,960 - DEBUG - Response for create_network : {'network': {'id': 'a59f49b2-c4d0-4679-940e-c21721bb04bb', 'name': 'ctest-vn-12824915', 'tenant_id': '804659e210c54c559c2416e4b3e5fc61', 'project_id': '804659e210c54c559c2416e4b3e5fc61', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-73412073', 'ctest-vn-12824915'], 'port_security_enabled': True, 'description': ''}} 2025-01-14 17:50:03,220 - DEBUG - Response for create_subnet : {'subnet': {'id': '45928250-8211-40a2-814b-c17c51080e00', 'name': '', 'tenant_id': '804659e210c54c559c2416e4b3e5fc61', 'network_id': 'a59f49b2-c4d0-4679-940e-c21721bb04bb', 'ip_version': 4, 'cidr': '34.16.142.0/26', 'allocation_pools': [{'start': '34.16.142.2', 'end': '34.16.142.62'}], 'gateway_ip': '34.16.142.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '34.16.142.2', 'tags': [], 'project_id': '804659e210c54c559c2416e4b3e5fc61'}} 2025-01-14 17:50:03,255 - INFO - Created VN ctest-vn-12824915 2025-01-14 17:50:03,316 - DEBUG - VN ctest-vn-12824915 UUID is a59f49b2-c4d0-4679-940e-c21721bb04bb 2025-01-14 17:50:03,546 - DEBUG - Services list from nova: [, , ] 2025-01-14 17:50:04,618 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2628-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2628-1) 2025-01-14 17:50:05,924 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2628-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2628-1) 2025-01-14 17:50:05,924 - INFO - Waiting for VM ctest-TestBasicVMVNx-73412073-13623362 to be up.. 2025-01-14 17:50:06,019 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-14 17:50:11,103 - DEBUG - VM is in ACTIVE state now 2025-01-14 17:50:11,103 - INFO - VM name : ctest-TestBasicVMVNx-73412073-13623362 2025-01-14 17:50:11,198 - DEBUG - VM ctest-TestBasicVMVNx-73412073-13623362 ID is eef29cb1-9d38-4d97-a221-69df6adfc4c6 2025-01-14 17:50:11,225 - DEBUG - VM ctest-TestBasicVMVNx-73412073-13623362 launched on Node cn-jenkins-deploy-platform-ansible-os-2628-1 2025-01-14 17:50:11,315 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/eef29cb1-9d38-4d97-a221-69df6adfc4c6 2025-01-14 17:50:11,624 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/eef29cb1-9d38-4d97-a221-69df6adfc4c6 2025-01-14 17:50:11,663 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/71dee99c-e341-419b-a261-d3e45818e122 2025-01-14 17:50:14,942 - 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 1030ms') 2025-01-14 17:50:14,942 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-73412073-13623362 failed! 2025-01-14 17:50:15,004 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-73412073:ctest-vn-12824915 is 34.16.142.1 and allocation pool is NOT set 2025-01-14 17:50:17,070 - 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.71 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.475 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.475/1.592/2.710/1.117 ms') 2025-01-14 17:50:17,070 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-73412073-13623362 passed 2025-01-14 17:50:17,228 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-14 17:50:17,228 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-73412073-13623362, IP 34.16.142.3, Port 22 2025-01-14 17:50:17,398 - DEBUG - VM ctest-TestBasicVMVNx-73412073-13623362 is ready for SSH connections 2025-01-14 17:50:17,398 - INFO - Waiting for VM ctest-TestBasicVMVNx-73412073-36230101 to be up.. 2025-01-14 17:50:17,496 - DEBUG - VM is in ACTIVE state now 2025-01-14 17:50:17,496 - INFO - VM name : ctest-TestBasicVMVNx-73412073-36230101 2025-01-14 17:50:17,580 - DEBUG - VM ctest-TestBasicVMVNx-73412073-36230101 ID is 5cf0932e-e05f-482a-917c-20a048a77bff 2025-01-14 17:50:17,580 - DEBUG - VM ctest-TestBasicVMVNx-73412073-36230101 launched on Node cn-jenkins-deploy-platform-ansible-os-2628-1 2025-01-14 17:50:17,660 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/5cf0932e-e05f-482a-917c-20a048a77bff 2025-01-14 17:50:17,674 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/89b4c815-3418-42d4-b093-fa892d88c993 2025-01-14 17:50:18,917 - 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=3.00 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.485 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.485/1.744/3.003/1.259 ms') 2025-01-14 17:50:18,917 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-73412073-36230101 passed 2025-01-14 17:50:19,075 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-14 17:50:19,076 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-73412073-36230101, IP 34.16.142.4, Port 22 2025-01-14 17:50:19,241 - DEBUG - VM ctest-TestBasicVMVNx-73412073-36230101 is ready for SSH connections 2025-01-14 17:50:19,242 - DEBUG - FILE SIZE = 1303B 2025-01-14 17:50:19,242 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-73412073-13623362 to ctest-TestBasicVMVNx-73412073-36230101 using scp 2025-01-14 17:50:19,242 - 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.27, gateway password: c0ntrail123 2025-01-14 17:50:19,243 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-01-14 17:50:21,178 - DEBUG - 1+0 records in 1+0 records out 2025-01-14 17:50:21,949 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-14 17:50:22,281 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-01-14 17:50:22,283 - DEBUG - ls -l testfile 2025-01-14 17:50:23,858 - DEBUG - -rw------- 1 cirros cirros 1303 Jan 14 10:50 testfile 2025-01-14 17:50:23,858 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-73412073-36230101 2025-01-14 17:50:23,859 - INFO - Deleting VM ctest-TestBasicVMVNx-73412073-36230101 2025-01-14 17:50:23,943 - INFO - Deleting VM ctest-TestBasicVMVNx-73412073-13623362 2025-01-14 17:50:24,019 - INFO - Deleting VN ctest-vn-12824915 2025-01-14 17:50:24,064 - DEBUG - VN a59f49b2-c4d0-4679-940e-c21721bb04bb still in use: Unable to complete operation on network a59f49b2-c4d0-4679-940e-c21721bb04bb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-565cdada-0a68-4107-abce-7cda2f68bc34'] 2025-01-14 17:50:24,065 - WARNING - Deleting VN ctest-vn-12824915 failed..Will retry 2025-01-14 17:50:26,172 - DEBUG - Response for deleting network () 2025-01-14 17:50:26,432 - DEBUG - No XMPP flaps were noticed during the test
2025-01-14 17:50:26,432 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-01-14 17:50:26,433 - INFO - -------------------------------------------------------------------------------- 2025-01-14 17:50:27,113 - INFO - Deleted project: ctest-TestBasicVMVNx-73412073, ID : 804659e2-10c5-4c55-9c24-16e4b3e5fc61