2024-08-29 12:34:17,424 - INFO - Reading existing Domain with UUID 479779d4-bad1-45f9-b27d-e7e2347c0996 2024-08-29 12:34:17,442 - INFO - Using existing domain ['admin_domain'](479779d4-bad1-45f9-b27d-e7e2347c0996) 2024-08-29 12:34:17,744 - INFO - Project ctest-TestBasicVMVNx-87653572 not found, creating it 2024-08-29 12:34:18,371 - INFO - Created Project:ctest-TestBasicVMVNx-87653572, ID : 993b0150-42a8-4247-9393-d35556efe956 2024-08-29 12:34:20,493 - INFO - ================================================================================ 2024-08-29 12:34:20,493 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-08-29 12:34:20,494 - 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 12:34:20,913 - DEBUG - Nothing to compare xmpp stats {'10.0.0.32': {'10.0.0.32': '0'}} with 2024-08-29 12:34:20,914 - INFO - Initial checks done. Running the testcase now 2024-08-29 12:34:20,914 - INFO - 2024-08-29 12:34:21,845 - DEBUG - Response for create_network : {'network': {'id': '05fec00a-364c-418b-b29d-7bfae97cacb9', 'name': 'ctest-vn-88830963', 'tenant_id': '993b015042a842479393d35556efe956', 'project_id': '993b015042a842479393d35556efe956', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicVMVNx-87653572', 'ctest-vn-88830963'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2024-08-29 12:34:22,163 - DEBUG - Response for create_subnet : {'subnet': {'id': '92ed07d0-6708-4bae-8723-a60e9df0a138', 'name': '', 'tenant_id': '993b015042a842479393d35556efe956', 'network_id': '05fec00a-364c-418b-b29d-7bfae97cacb9', 'ip_version': 4, 'cidr': '110.148.10.64/26', 'allocation_pools': [{'start': '110.148.10.66', 'end': '110.148.10.126'}], 'gateway_ip': '110.148.10.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2024-08-29T12:34:22.033975', 'updated_at': '2024-08-29T12:34:22.033975', 'dns_server_address': '110.148.10.66', 'tags': [], 'project_id': '993b015042a842479393d35556efe956'}} 2024-08-29 12:34:22,251 - INFO - Created VN ctest-vn-88830963 2024-08-29 12:34:22,312 - DEBUG - VN ctest-vn-88830963 UUID is 05fec00a-364c-418b-b29d-7bfae97cacb9 2024-08-29 12:34:22,631 - DEBUG - Services list from nova: [, , ] 2024-08-29 12:34:24,101 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-389-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-389-1) 2024-08-29 12:34:26,300 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-389-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-389-1) 2024-08-29 12:34:26,300 - INFO - Waiting for VM ctest-TestBasicVMVNx-87653572-74487462 to be up.. 2024-08-29 12:34:26,488 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-29 12:34:31,665 - DEBUG - VM is in ACTIVE state now 2024-08-29 12:34:31,665 - INFO - VM name : ctest-TestBasicVMVNx-87653572-74487462 2024-08-29 12:34:31,836 - DEBUG - VM ctest-TestBasicVMVNx-87653572-74487462 ID is 0ceceb08-5020-438b-9994-0139a2843f56 2024-08-29 12:34:31,877 - DEBUG - VM ctest-TestBasicVMVNx-87653572-74487462 launched on Node cn-jenkins-deploy-platform-juju-os-389-1 2024-08-29 12:34:32,058 - DEBUG - Requesting: https://10.0.0.32:8082/virtual-machine/0ceceb08-5020-438b-9994-0139a2843f56 2024-08-29 12:34:32,467 - DEBUG - Requesting: https://10.0.0.32:8082/virtual-machine/0ceceb08-5020-438b-9994-0139a2843f56 2024-08-29 12:34:32,570 - DEBUG - Requesting: https://10.0.0.32:8082/virtual-machine-interface/389ac74d-98a4-47b9-aacf-d2cf6be66477 2024-08-29 12:34:36,079 - 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 1003ms') 2024-08-29 12:34:36,079 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-87653572-74487462 failed! 2024-08-29 12:34:36,142 - DEBUG - Gateway for vn admin_domain:ctest-TestBasicVMVNx-87653572:ctest-vn-88830963 is 110.148.10.65 and allocation pool is NOT set 2024-08-29 12:34:40,262 - 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=2 ttl=63 time=4.57 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1029ms\r\nrtt min/avg/max/mdev = 4.572/4.572/4.572/0.000 ms') 2024-08-29 12:34:40,262 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-87653572-74487462 passed 2024-08-29 12:34:40,436 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-29 12:34:40,436 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-87653572-74487462, IP 110.148.10.67, Port 22 2024-08-29 12:34:40,669 - DEBUG - VM ctest-TestBasicVMVNx-87653572-74487462 is ready for SSH connections 2024-08-29 12:34:40,669 - INFO - Waiting for VM ctest-TestBasicVMVNx-87653572-24956504 to be up.. 2024-08-29 12:34:40,879 - DEBUG - VM is in ACTIVE state now 2024-08-29 12:34:40,879 - INFO - VM name : ctest-TestBasicVMVNx-87653572-24956504 2024-08-29 12:34:41,075 - DEBUG - VM ctest-TestBasicVMVNx-87653572-24956504 ID is 063ad81d-a3af-4930-b300-4728a3d29756 2024-08-29 12:34:41,075 - DEBUG - VM ctest-TestBasicVMVNx-87653572-24956504 launched on Node cn-jenkins-deploy-platform-juju-os-389-1 2024-08-29 12:34:41,254 - DEBUG - Requesting: https://10.0.0.32:8082/virtual-machine/063ad81d-a3af-4930-b300-4728a3d29756 2024-08-29 12:34:41,314 - DEBUG - Requesting: https://10.0.0.32:8082/virtual-machine-interface/b52708e6-424c-4946-aabe-2dc64ec70375 2024-08-29 12:34:42,804 - 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.56 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.778 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1005ms\r\nrtt min/avg/max/mdev = 0.778/2.169/3.560/1.391 ms') 2024-08-29 12:34:42,804 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-87653572-24956504 passed 2024-08-29 12:34:42,972 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-29 12:34:42,972 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-87653572-24956504, IP 110.148.10.68, Port 22 2024-08-29 12:34:43,224 - DEBUG - VM ctest-TestBasicVMVNx-87653572-24956504 is ready for SSH connections 2024-08-29 12:34:43,224 - DEBUG - FILE SIZE = 1303B 2024-08-29 12:34:43,224 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-87653572-74487462 to ctest-TestBasicVMVNx-87653572-24956504 using scp 2024-08-29 12:34:43,231 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-29 12:34:43,241 - 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.32, gateway password: c0ntrail123 2024-08-29 12:34:43,241 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-08-29 12:34:44,970 - DEBUG - 1+0 records in 1+0 records out 2024-08-29 12:34:45,916 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-29 12:34:46,285 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.32, gateway password: c0ntrail123 2024-08-29 12:34:46,286 - DEBUG - ls -l testfile 2024-08-29 12:34:47,949 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 29 06:34 testfile 2024-08-29 12:34:47,950 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-87653572-24956504 2024-08-29 12:34:47,950 - INFO - Deleting VM ctest-TestBasicVMVNx-87653572-24956504 2024-08-29 12:34:48,089 - INFO - Deleting VM ctest-TestBasicVMVNx-87653572-74487462 2024-08-29 12:34:48,221 - INFO - Deleting VN ctest-vn-88830963 2024-08-29 12:34:48,376 - DEBUG - VN 05fec00a-364c-418b-b29d-7bfae97cacb9 still in use: Unable to complete operation on network 05fec00a-364c-418b-b29d-7bfae97cacb9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-24d90a5c-a853-47d5-9400-356b96bb4986'] 2024-08-29 12:34:48,377 - WARNING - Deleting VN ctest-vn-88830963 failed..Will retry 2024-08-29 12:34:50,581 - DEBUG - Response for deleting network () 2024-08-29 12:34:51,007 - DEBUG - No XMPP flaps were noticed during the test
2024-08-29 12:34:51,007 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:31]
2024-08-29 12:34:51,007 - INFO - -------------------------------------------------------------------------------- 2024-08-29 12:34:51,847 - INFO - Deleted project: ctest-TestBasicVMVNx-87653572, ID : 993b0150-42a8-4247-9393-d35556efe956