2024-09-16 22:19:54,075 - INFO - Domain Default found not creating 2024-09-16 22:19:54,264 - INFO - Project ctest-TestBasicVMVNx-14863616 not found, creating it 2024-09-16 22:19:54,793 - INFO - Created Project:ctest-TestBasicVMVNx-14863616, ID : 9bd39456-38cf-4d33-8a1e-8288d3e399da 2024-09-16 22:19:56,558 - INFO - ================================================================================ 2024-09-16 22:19:56,558 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-16 22:19:56,558 - 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-16 22:19:56,821 - DEBUG - Nothing to compare xmpp stats {'10.0.0.42': {'10.20.0.19': '0'}} with 2024-09-16 22:19:56,821 - INFO - Initial checks done. Running the testcase now 2024-09-16 22:19:56,821 - INFO - 2024-09-16 22:19:57,472 - DEBUG - Response for create_network : {'network': {'id': '00367f97-b050-4dc2-824c-c50f630ebc2c', 'name': 'ctest-vn-89002166', 'tenant_id': '9bd3945638cf4d338a1e8288d3e399da', 'project_id': '9bd3945638cf4d338a1e8288d3e399da', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-14863616', 'ctest-vn-89002166'], 'port_security_enabled': True, 'description': ''}} 2024-09-16 22:19:57,729 - DEBUG - Response for create_subnet : {'subnet': {'id': '371942ac-eb74-4137-bc06-c49cf062ea12', 'name': '', 'tenant_id': '9bd3945638cf4d338a1e8288d3e399da', 'network_id': '00367f97-b050-4dc2-824c-c50f630ebc2c', 'ip_version': 4, 'cidr': '125.32.131.0/26', 'allocation_pools': [{'start': '125.32.131.2', 'end': '125.32.131.62'}], 'gateway_ip': '125.32.131.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '125.32.131.2', 'tags': [], 'project_id': '9bd3945638cf4d338a1e8288d3e399da'}} 2024-09-16 22:19:57,753 - INFO - Created VN ctest-vn-89002166 2024-09-16 22:19:57,814 - DEBUG - VN ctest-vn-89002166 UUID is 00367f97-b050-4dc2-824c-c50f630ebc2c 2024-09-16 22:19:58,023 - DEBUG - Services list from nova: [, , ] 2024-09-16 22:19:59,185 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1949-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1949-1) 2024-09-16 22:20:00,487 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1949-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1949-1) 2024-09-16 22:20:00,487 - INFO - Waiting for VM ctest-TestBasicVMVNx-14863616-71768208 to be up.. 2024-09-16 22:20:00,603 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-16 22:20:05,717 - DEBUG - VM is in ACTIVE state now 2024-09-16 22:20:05,717 - INFO - VM name : ctest-TestBasicVMVNx-14863616-71768208 2024-09-16 22:20:05,809 - DEBUG - VM ctest-TestBasicVMVNx-14863616-71768208 ID is 451c49d5-388d-4caf-aaff-a3e52bc55363 2024-09-16 22:20:05,833 - DEBUG - VM ctest-TestBasicVMVNx-14863616-71768208 launched on Node cn-jenkins-deploy-platform-ansible-os-1949-1 2024-09-16 22:20:05,929 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/451c49d5-388d-4caf-aaff-a3e52bc55363 2024-09-16 22:20:06,267 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/451c49d5-388d-4caf-aaff-a3e52bc55363 2024-09-16 22:20:06,309 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/86baf1ee-d34e-4824-8424-f217e92313d7 2024-09-16 22:20:09,579 - 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 1004ms') 2024-09-16 22:20:09,580 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-14863616-71768208 failed! 2024-09-16 22:20:09,650 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-14863616:ctest-vn-89002166 is 125.32.131.1 and allocation pool is NOT set 2024-09-16 22:20:11,716 - 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=4.67 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.07 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 = 1.070/2.872/4.674/1.802 ms') 2024-09-16 22:20:11,716 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-14863616-71768208 passed 2024-09-16 22:20:11,878 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-16 22:20:11,878 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-14863616-71768208, IP 125.32.131.3, Port 22 2024-09-16 22:20:12,034 - DEBUG - VM ctest-TestBasicVMVNx-14863616-71768208 is ready for SSH connections 2024-09-16 22:20:12,034 - INFO - Waiting for VM ctest-TestBasicVMVNx-14863616-40171840 to be up.. 2024-09-16 22:20:12,141 - DEBUG - VM is in ACTIVE state now 2024-09-16 22:20:12,141 - INFO - VM name : ctest-TestBasicVMVNx-14863616-40171840 2024-09-16 22:20:12,246 - DEBUG - VM ctest-TestBasicVMVNx-14863616-40171840 ID is 2e1b7c2a-24cc-480c-a7fe-c5d05d4f7922 2024-09-16 22:20:12,246 - DEBUG - VM ctest-TestBasicVMVNx-14863616-40171840 launched on Node cn-jenkins-deploy-platform-ansible-os-1949-1 2024-09-16 22:20:12,337 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/2e1b7c2a-24cc-480c-a7fe-c5d05d4f7922 2024-09-16 22:20:12,348 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/75ef0065-5217-40d1-b1b1-f8b32df73dde 2024-09-16 22:20:13,608 - 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.05 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.18 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 = 1.180/2.616/4.053/1.436 ms') 2024-09-16 22:20:13,608 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-14863616-40171840 passed 2024-09-16 22:20:13,778 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-16 22:20:13,778 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-14863616-40171840, IP 125.32.131.4, Port 22 2024-09-16 22:20:13,946 - DEBUG - VM ctest-TestBasicVMVNx-14863616-40171840 is ready for SSH connections 2024-09-16 22:20:13,947 - DEBUG - FILE SIZE = 1303B 2024-09-16 22:20:13,947 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-14863616-71768208 to ctest-TestBasicVMVNx-14863616-40171840 using scp 2024-09-16 22:20:13,948 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-16 22:20:13,956 - 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.42, gateway password: c0ntrail123 2024-09-16 22:20:13,957 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-16 22:20:15,960 - DEBUG - 1+0 records in 1+0 records out 2024-09-16 22:20:16,662 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-16 22:20:17,020 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.42, gateway password: c0ntrail123 2024-09-16 22:20:17,021 - DEBUG - ls -l testfile 2024-09-16 22:20:18,674 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 16 16:20 testfile 2024-09-16 22:20:18,675 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-14863616-40171840 2024-09-16 22:20:18,675 - INFO - Deleting VM ctest-TestBasicVMVNx-14863616-40171840 2024-09-16 22:20:18,752 - INFO - Deleting VM ctest-TestBasicVMVNx-14863616-71768208 2024-09-16 22:20:18,824 - INFO - Deleting VN ctest-vn-89002166 2024-09-16 22:20:18,868 - DEBUG - VN 00367f97-b050-4dc2-824c-c50f630ebc2c still in use: Unable to complete operation on network 00367f97-b050-4dc2-824c-c50f630ebc2c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-822cf4fa-7175-40f8-8cf3-058dca7d4de1'] 2024-09-16 22:20:18,868 - WARNING - Deleting VN ctest-vn-89002166 failed..Will retry 2024-09-16 22:20:21,006 - DEBUG - Response for deleting network () 2024-09-16 22:20:21,261 - DEBUG - No XMPP flaps were noticed during the test
2024-09-16 22:20:21,261 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25]
2024-09-16 22:20:21,261 - INFO - -------------------------------------------------------------------------------- 2024-09-16 22:20:22,085 - INFO - Deleted project: ctest-TestBasicVMVNx-14863616, ID : 9bd39456-38cf-4d33-8a1e-8288d3e399da