2024-11-14 18:00:14,833 - INFO - Domain Default found not creating 2024-11-14 18:00:15,010 - INFO - Project ctest-TestBasicVMVNx-55275123 not found, creating it 2024-11-14 18:00:15,473 - INFO - Created Project:ctest-TestBasicVMVNx-55275123, ID : 9147cc89-c7bb-40f9-922b-2b911faeab86 2024-11-14 18:00:17,009 - INFO - ================================================================================ 2024-11-14 18:00:17,009 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-11-14 18:00:17,009 - 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-14 18:00:17,263 - DEBUG - Nothing to compare xmpp stats {'10.0.0.17': {'10.20.0.8': '0'}} with 2024-11-14 18:00:17,263 - INFO - Initial checks done. Running the testcase now 2024-11-14 18:00:17,263 - INFO - 2024-11-14 18:00:17,880 - DEBUG - Response for create_network : {'network': {'id': '50d9df3d-2398-41ac-924f-cbe7a9e1a937', 'name': 'ctest-vn-27916267', 'tenant_id': '9147cc89c7bb40f9922b2b911faeab86', 'project_id': '9147cc89c7bb40f9922b2b911faeab86', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-55275123', 'ctest-vn-27916267'], 'port_security_enabled': True, 'description': ''}} 2024-11-14 18:00:18,069 - DEBUG - Response for create_subnet : {'subnet': {'id': '7a8f4596-f1a8-4136-880d-868df7c59650', 'name': '', 'tenant_id': '9147cc89c7bb40f9922b2b911faeab86', 'network_id': '50d9df3d-2398-41ac-924f-cbe7a9e1a937', 'ip_version': 4, 'cidr': '14.153.35.192/26', 'allocation_pools': [{'start': '14.153.35.194', 'end': '14.153.35.254'}], 'gateway_ip': '14.153.35.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '14.153.35.194', 'tags': [], 'project_id': '9147cc89c7bb40f9922b2b911faeab86'}} 2024-11-14 18:00:18,090 - INFO - Created VN ctest-vn-27916267 2024-11-14 18:00:18,148 - DEBUG - VN ctest-vn-27916267 UUID is 50d9df3d-2398-41ac-924f-cbe7a9e1a937 2024-11-14 18:00:18,327 - DEBUG - Services list from nova: [, , ] 2024-11-14 18:00:19,366 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2301-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2301-1) 2024-11-14 18:00:20,738 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2301-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2301-1) 2024-11-14 18:00:20,738 - INFO - Waiting for VM ctest-TestBasicVMVNx-55275123-34826644 to be up.. 2024-11-14 18:00:20,848 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-14 18:00:25,942 - DEBUG - VM is in ACTIVE state now 2024-11-14 18:00:25,942 - INFO - VM name : ctest-TestBasicVMVNx-55275123-34826644 2024-11-14 18:00:26,053 - DEBUG - VM ctest-TestBasicVMVNx-55275123-34826644 ID is 04087a50-998e-40fd-a97e-eabde3375f26 2024-11-14 18:00:26,081 - DEBUG - VM ctest-TestBasicVMVNx-55275123-34826644 launched on Node cn-jenkins-deploy-platform-ansible-os-2301-1 2024-11-14 18:00:26,183 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/04087a50-998e-40fd-a97e-eabde3375f26 2024-11-14 18:00:26,479 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/04087a50-998e-40fd-a97e-eabde3375f26 2024-11-14 18:00:26,526 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/cbd9c824-db1b-4006-bd14-65cd6b31d442 2024-11-14 18:00:29,808 - 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 1026ms') 2024-11-14 18:00:29,809 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-55275123-34826644 failed! 2024-11-14 18:00:29,872 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-55275123:ctest-vn-27916267 is 14.153.35.193 and allocation pool is NOT set 2024-11-14 18:00:31,933 - 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=5.07 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.95 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.952/3.511/5.070/1.559 ms') 2024-11-14 18:00:31,933 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-55275123-34826644 passed 2024-11-14 18:00:32,092 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-14 18:00:32,092 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-55275123-34826644, IP 14.153.35.195, Port 22 2024-11-14 18:00:32,248 - DEBUG - VM ctest-TestBasicVMVNx-55275123-34826644 is ready for SSH connections 2024-11-14 18:00:32,248 - INFO - Waiting for VM ctest-TestBasicVMVNx-55275123-24749879 to be up.. 2024-11-14 18:00:32,347 - DEBUG - VM is in ACTIVE state now 2024-11-14 18:00:32,347 - INFO - VM name : ctest-TestBasicVMVNx-55275123-24749879 2024-11-14 18:00:32,452 - DEBUG - VM ctest-TestBasicVMVNx-55275123-24749879 ID is d68eb9db-9f43-4354-8ed8-9bb109632bc7 2024-11-14 18:00:32,452 - DEBUG - VM ctest-TestBasicVMVNx-55275123-24749879 launched on Node cn-jenkins-deploy-platform-ansible-os-2301-1 2024-11-14 18:00:32,551 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/d68eb9db-9f43-4354-8ed8-9bb109632bc7 2024-11-14 18:00:32,561 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/af0e3914-36c4-47ec-b2a4-8c3c50bc60c6 2024-11-14 18:00:33,823 - 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.22 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.19 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.188/2.706/4.224/1.518 ms') 2024-11-14 18:00:33,823 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-55275123-24749879 passed 2024-11-14 18:00:33,984 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-14 18:00:33,984 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-55275123-24749879, IP 14.153.35.196, Port 22 2024-11-14 18:00:34,144 - DEBUG - VM ctest-TestBasicVMVNx-55275123-24749879 is ready for SSH connections 2024-11-14 18:00:34,144 - DEBUG - FILE SIZE = 1303B 2024-11-14 18:00:34,144 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-55275123-34826644 to ctest-TestBasicVMVNx-55275123-24749879 using scp 2024-11-14 18:00:34,145 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-14 18:00:34,152 - 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.17, gateway password: c0ntrail123 2024-11-14 18:00:34,153 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-11-14 18:00:36,066 - DEBUG - 1+0 records in 1+0 records out 2024-11-14 18:00:36,670 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-14 18:00:36,993 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123 2024-11-14 18:00:36,993 - DEBUG - ls -l testfile 2024-11-14 18:00:38,567 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 14 11:00 testfile 2024-11-14 18:00:38,567 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-55275123-24749879 2024-11-14 18:00:38,567 - INFO - Deleting VM ctest-TestBasicVMVNx-55275123-24749879 2024-11-14 18:00:38,645 - INFO - Deleting VM ctest-TestBasicVMVNx-55275123-34826644 2024-11-14 18:00:38,716 - INFO - Deleting VN ctest-vn-27916267 2024-11-14 18:00:38,759 - DEBUG - VN 50d9df3d-2398-41ac-924f-cbe7a9e1a937 still in use: Unable to complete operation on network 50d9df3d-2398-41ac-924f-cbe7a9e1a937. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-654bc29d-f649-4396-ba1f-8aa91114690f'] 2024-11-14 18:00:38,759 - WARNING - Deleting VN ctest-vn-27916267 failed..Will retry 2024-11-14 18:00:40,877 - DEBUG - Response for deleting network () 2024-11-14 18:00:41,137 - DEBUG - No XMPP flaps were noticed during the test 2024-11-14 18:00:41,137 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2024-11-14 18:00:41,138 - INFO - -------------------------------------------------------------------------------- 2024-11-14 18:00:41,867 - INFO - Deleted project: ctest-TestBasicVMVNx-55275123, ID : 9147cc89-c7bb-40f9-922b-2b911faeab86