2024-10-26 18:28:26,963 - INFO - Domain Default found not creating 2024-10-26 18:28:27,150 - INFO - Project ctest-TestBasicVMVNx-84968774 not found, creating it 2024-10-26 18:28:27,677 - INFO - Created Project:ctest-TestBasicVMVNx-84968774, ID : 5fe3f490-3f92-445f-8e06-07b56f3d8297 2024-10-26 18:28:29,283 - INFO - ================================================================================ 2024-10-26 18:28:29,284 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-10-26 18:28:29,284 - 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-10-26 18:28:29,543 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.13': '0'}} with 2024-10-26 18:28:29,543 - INFO - Initial checks done. Running the testcase now 2024-10-26 18:28:29,543 - INFO - 2024-10-26 18:28:30,136 - DEBUG - Response for create_network : {'network': {'id': '3f397a89-a5c9-4306-aecb-6375f216caae', 'name': 'ctest-vn-67563110', 'tenant_id': '5fe3f4903f92445f8e0607b56f3d8297', 'project_id': '5fe3f4903f92445f8e0607b56f3d8297', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-84968774', 'ctest-vn-67563110'], 'port_security_enabled': True, 'description': ''}} 2024-10-26 18:28:30,318 - DEBUG - Response for create_subnet : {'subnet': {'id': '32b5ec55-91ff-496e-b8e4-f2a9ea065ee8', 'name': '', 'tenant_id': '5fe3f4903f92445f8e0607b56f3d8297', 'network_id': '3f397a89-a5c9-4306-aecb-6375f216caae', 'ip_version': 4, 'cidr': '12.168.109.0/26', 'allocation_pools': [{'start': '12.168.109.2', 'end': '12.168.109.62'}], 'gateway_ip': '12.168.109.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '12.168.109.2', 'tags': [], 'project_id': '5fe3f4903f92445f8e0607b56f3d8297'}} 2024-10-26 18:28:30,343 - INFO - Created VN ctest-vn-67563110 2024-10-26 18:28:30,403 - DEBUG - VN ctest-vn-67563110 UUID is 3f397a89-a5c9-4306-aecb-6375f216caae 2024-10-26 18:28:30,586 - DEBUG - Services list from nova: [, , ] 2024-10-26 18:28:31,674 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2152-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2152-1) 2024-10-26 18:28:32,915 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2152-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2152-1) 2024-10-26 18:28:32,915 - INFO - Waiting for VM ctest-TestBasicVMVNx-84968774-70748835 to be up.. 2024-10-26 18:28:33,006 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-10-26 18:28:38,109 - DEBUG - VM is in ACTIVE state now 2024-10-26 18:28:38,109 - INFO - VM name : ctest-TestBasicVMVNx-84968774-70748835 2024-10-26 18:28:38,205 - DEBUG - VM ctest-TestBasicVMVNx-84968774-70748835 ID is e8ed557f-5fd1-4e7b-bb8a-9b2fa2a8535d 2024-10-26 18:28:38,230 - DEBUG - VM ctest-TestBasicVMVNx-84968774-70748835 launched on Node cn-jenkins-deploy-platform-ansible-os-2152-1 2024-10-26 18:28:38,327 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/e8ed557f-5fd1-4e7b-bb8a-9b2fa2a8535d 2024-10-26 18:28:38,635 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/e8ed557f-5fd1-4e7b-bb8a-9b2fa2a8535d 2024-10-26 18:28:38,677 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/881f365e-aae3-42df-80d6-334c85b0bc79 2024-10-26 18:28:41,984 - 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') 2024-10-26 18:28:41,985 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-84968774-70748835 failed! 2024-10-26 18:28:42,051 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-84968774:ctest-vn-67563110 is 12.168.109.1 and allocation pool is NOT set 2024-10-26 18:28:44,123 - 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.456 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.456/1.584/2.712/1.128 ms') 2024-10-26 18:28:44,123 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-84968774-70748835 passed 2024-10-26 18:28:44,279 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-26 18:28:44,279 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-84968774-70748835, IP 12.168.109.3, Port 22 2024-10-26 18:28:44,440 - DEBUG - VM ctest-TestBasicVMVNx-84968774-70748835 is ready for SSH connections 2024-10-26 18:28:44,440 - INFO - Waiting for VM ctest-TestBasicVMVNx-84968774-31638878 to be up.. 2024-10-26 18:28:44,661 - DEBUG - VM is in ACTIVE state now 2024-10-26 18:28:44,662 - INFO - VM name : ctest-TestBasicVMVNx-84968774-31638878 2024-10-26 18:28:44,789 - DEBUG - VM ctest-TestBasicVMVNx-84968774-31638878 ID is f1536637-2ec6-49f9-9ea6-a2cff077df44 2024-10-26 18:28:44,789 - DEBUG - VM ctest-TestBasicVMVNx-84968774-31638878 launched on Node cn-jenkins-deploy-platform-ansible-os-2152-1 2024-10-26 18:28:44,883 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/f1536637-2ec6-49f9-9ea6-a2cff077df44 2024-10-26 18:28:44,898 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/08ee58dc-7a7f-4ef4-a647-64be31dea534 2024-10-26 18:28:46,163 - 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.24 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.491 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.491/2.363/4.235/1.872 ms') 2024-10-26 18:28:46,163 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-84968774-31638878 passed 2024-10-26 18:28:46,335 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-26 18:28:46,336 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-84968774-31638878, IP 12.168.109.4, Port 22 2024-10-26 18:28:46,507 - DEBUG - VM ctest-TestBasicVMVNx-84968774-31638878 is ready for SSH connections 2024-10-26 18:28:46,508 - DEBUG - FILE SIZE = 1303B 2024-10-26 18:28:46,508 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-84968774-70748835 to ctest-TestBasicVMVNx-84968774-31638878 using scp 2024-10-26 18:28:46,509 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-26 18:28:46,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.23, gateway password: c0ntrail123 2024-10-26 18:28:46,517 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-10-26 18:28:48,530 - DEBUG - 1+0 records in 1+0 records out 2024-10-26 18:28:49,332 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-26 18:28:49,662 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2024-10-26 18:28:49,662 - DEBUG - ls -l testfile 2024-10-26 18:28:51,253 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 26 12:28 testfile 2024-10-26 18:28:51,253 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-84968774-31638878 2024-10-26 18:28:51,253 - INFO - Deleting VM ctest-TestBasicVMVNx-84968774-31638878 2024-10-26 18:28:51,341 - INFO - Deleting VM ctest-TestBasicVMVNx-84968774-70748835 2024-10-26 18:28:51,426 - INFO - Deleting VN ctest-vn-67563110 2024-10-26 18:28:51,475 - DEBUG - VN 3f397a89-a5c9-4306-aecb-6375f216caae still in use: Unable to complete operation on network 3f397a89-a5c9-4306-aecb-6375f216caae. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3f250b06-5f52-4ca7-9728-b0c9178bdba4'] 2024-10-26 18:28:51,475 - WARNING - Deleting VN ctest-vn-67563110 failed..Will retry 2024-10-26 18:28:53,676 - DEBUG - Response for deleting network () 2024-10-26 18:28:53,954 - DEBUG - No XMPP flaps were noticed during the test 2024-10-26 18:28:53,954 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2024-10-26 18:28:53,954 - INFO - -------------------------------------------------------------------------------- 2024-10-26 18:28:54,691 - INFO - Deleted project: ctest-TestBasicVMVNx-84968774, ID : 5fe3f490-3f92-445f-8e06-07b56f3d8297