2024-10-17 02:43:40,006 - INFO - Domain Default found not creating 2024-10-17 02:43:40,162 - INFO - Project ctest-TestBasicVMVNx-83464229 not found, creating it 2024-10-17 02:43:40,652 - INFO - Created Project:ctest-TestBasicVMVNx-83464229, ID : c52ed61c-0ba5-4919-b48d-7e1d3f61d830 2024-10-17 02:43:42,120 - INFO - ================================================================================ 2024-10-17 02:43:42,120 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-10-17 02:43:42,120 - 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-17 02:43:42,380 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.8': '0'}} with 2024-10-17 02:43:42,380 - INFO - Initial checks done. Running the testcase now 2024-10-17 02:43:42,380 - INFO - 2024-10-17 02:43:42,985 - DEBUG - Response for create_network : {'network': {'id': '50160b1c-a6db-4f59-abc8-b6077ea19f3e', 'name': 'ctest-vn-75171592', 'tenant_id': 'c52ed61c0ba54919b48d7e1d3f61d830', 'project_id': 'c52ed61c0ba54919b48d7e1d3f61d830', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-83464229', 'ctest-vn-75171592'], 'port_security_enabled': True, 'description': ''}} 2024-10-17 02:43:43,220 - DEBUG - Response for create_subnet : {'subnet': {'id': '3e599642-fde4-4e7b-933a-27da374929c4', 'name': '', 'tenant_id': 'c52ed61c0ba54919b48d7e1d3f61d830', 'network_id': '50160b1c-a6db-4f59-abc8-b6077ea19f3e', 'ip_version': 4, 'cidr': '193.138.110.0/26', 'allocation_pools': [{'start': '193.138.110.2', 'end': '193.138.110.62'}], 'gateway_ip': '193.138.110.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '193.138.110.2', 'tags': [], 'project_id': 'c52ed61c0ba54919b48d7e1d3f61d830'}} 2024-10-17 02:43:43,241 - INFO - Created VN ctest-vn-75171592 2024-10-17 02:43:43,300 - DEBUG - VN ctest-vn-75171592 UUID is 50160b1c-a6db-4f59-abc8-b6077ea19f3e 2024-10-17 02:43:43,474 - DEBUG - Services list from nova: [, , ] 2024-10-17 02:43:44,544 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2109-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2109-1) 2024-10-17 02:43:45,765 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2109-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2109-1) 2024-10-17 02:43:45,765 - INFO - Waiting for VM ctest-TestBasicVMVNx-83464229-48853720 to be up.. 2024-10-17 02:43:45,859 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-10-17 02:43:50,945 - DEBUG - VM is in ACTIVE state now 2024-10-17 02:43:50,945 - INFO - VM name : ctest-TestBasicVMVNx-83464229-48853720 2024-10-17 02:43:51,020 - DEBUG - VM ctest-TestBasicVMVNx-83464229-48853720 ID is 5af84c51-23c5-425a-9ef0-c1b04cd75a5b 2024-10-17 02:43:51,039 - DEBUG - VM ctest-TestBasicVMVNx-83464229-48853720 launched on Node cn-jenkins-deploy-platform-ansible-os-2109-1 2024-10-17 02:43:51,113 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/5af84c51-23c5-425a-9ef0-c1b04cd75a5b 2024-10-17 02:43:51,406 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/5af84c51-23c5-425a-9ef0-c1b04cd75a5b 2024-10-17 02:43:51,442 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/aebd7c2a-1e01-4c77-a95f-bc82ec74ecfc 2024-10-17 02:43:54,729 - 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 1021ms') 2024-10-17 02:43:54,729 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-83464229-48853720 failed! 2024-10-17 02:43:54,788 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-83464229:ctest-vn-75171592 is 193.138.110.1 and allocation pool is NOT set 2024-10-17 02:43:56,855 - 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.08 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.38 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 = 2.377/3.729/5.081/1.352 ms') 2024-10-17 02:43:56,855 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-83464229-48853720 passed 2024-10-17 02:43:57,029 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-17 02:43:57,029 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-83464229-48853720, IP 193.138.110.3, Port 22 2024-10-17 02:43:57,188 - DEBUG - VM ctest-TestBasicVMVNx-83464229-48853720 is ready for SSH connections 2024-10-17 02:43:57,188 - INFO - Waiting for VM ctest-TestBasicVMVNx-83464229-00829365 to be up.. 2024-10-17 02:43:57,277 - DEBUG - VM is in ACTIVE state now 2024-10-17 02:43:57,278 - INFO - VM name : ctest-TestBasicVMVNx-83464229-00829365 2024-10-17 02:43:57,355 - DEBUG - VM ctest-TestBasicVMVNx-83464229-00829365 ID is caf6e259-daf8-4252-90bb-4b1b2694b30c 2024-10-17 02:43:57,355 - DEBUG - VM ctest-TestBasicVMVNx-83464229-00829365 launched on Node cn-jenkins-deploy-platform-ansible-os-2109-1 2024-10-17 02:43:57,435 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/caf6e259-daf8-4252-90bb-4b1b2694b30c 2024-10-17 02:43:57,447 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/9a4c9c99-0267-44f1-ad4e-5a32be96b922 2024-10-17 02:43:58,709 - 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=2.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.446 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.446/1.608/2.770/1.162 ms') 2024-10-17 02:43:58,709 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-83464229-00829365 passed 2024-10-17 02:43:58,869 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-17 02:43:58,869 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-83464229-00829365, IP 193.138.110.4, Port 22 2024-10-17 02:43:59,034 - DEBUG - VM ctest-TestBasicVMVNx-83464229-00829365 is ready for SSH connections 2024-10-17 02:43:59,035 - DEBUG - FILE SIZE = 1303B 2024-10-17 02:43:59,035 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-83464229-48853720 to ctest-TestBasicVMVNx-83464229-00829365 using scp 2024-10-17 02:43:59,035 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-17 02:43:59,041 - 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.49, gateway password: c0ntrail123 2024-10-17 02:43:59,041 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-10-17 02:44:00,911 - DEBUG - 1+0 records in 1+0 records out 2024-10-17 02:44:01,706 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-17 02:44:02,036 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2024-10-17 02:44:02,040 - DEBUG - ls -l testfile 2024-10-17 02:44:03,606 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 16 20:44 testfile 2024-10-17 02:44:03,607 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-83464229-00829365 2024-10-17 02:44:03,607 - INFO - Deleting VM ctest-TestBasicVMVNx-83464229-00829365 2024-10-17 02:44:03,681 - INFO - Deleting VM ctest-TestBasicVMVNx-83464229-48853720 2024-10-17 02:44:03,763 - INFO - Deleting VN ctest-vn-75171592 2024-10-17 02:44:03,804 - DEBUG - VN 50160b1c-a6db-4f59-abc8-b6077ea19f3e still in use: Unable to complete operation on network 50160b1c-a6db-4f59-abc8-b6077ea19f3e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-67021727-fd02-411a-9354-e9afa7a9cec6'] 2024-10-17 02:44:03,805 - WARNING - Deleting VN ctest-vn-75171592 failed..Will retry 2024-10-17 02:44:05,922 - DEBUG - Response for deleting network () 2024-10-17 02:44:06,179 - DEBUG - No XMPP flaps were noticed during the test 2024-10-17 02:44:06,179 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2024-10-17 02:44:06,179 - INFO - -------------------------------------------------------------------------------- 2024-10-17 02:44:06,882 - INFO - Deleted project: ctest-TestBasicVMVNx-83464229, ID : c52ed61c-0ba5-4919-b48d-7e1d3f61d830