2024-10-24 09:30:39,331 - INFO - Domain Default found not creating 2024-10-24 09:30:39,537 - INFO - Project ctest-TestBasicVMVNx-81432434 not found, creating it 2024-10-24 09:30:40,090 - INFO - Created Project:ctest-TestBasicVMVNx-81432434, ID : be93d867-b225-4b18-ab73-c4785d2d1b4d 2024-10-24 09:30:41,734 - INFO - ================================================================================ 2024-10-24 09:30:41,734 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-10-24 09:30:41,734 - 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-24 09:30:41,992 - DEBUG - Nothing to compare xmpp stats {'10.0.0.43': {'10.20.0.12': '0'}} with 2024-10-24 09:30:41,992 - INFO - Initial checks done. Running the testcase now 2024-10-24 09:30:41,992 - INFO - 2024-10-24 09:30:42,668 - DEBUG - Response for create_network : {'network': {'id': 'f7ed914a-3ef9-4cc1-808f-89d8a79b853b', 'name': 'ctest-vn-71093643', 'tenant_id': 'be93d867b2254b18ab73c4785d2d1b4d', 'project_id': 'be93d867b2254b18ab73c4785d2d1b4d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-81432434', 'ctest-vn-71093643'], 'port_security_enabled': True, 'description': ''}} 2024-10-24 09:30:42,878 - DEBUG - Response for create_subnet : {'subnet': {'id': '51049c4e-406b-421d-8df0-a10992b3bb59', 'name': '', 'tenant_id': 'be93d867b2254b18ab73c4785d2d1b4d', 'network_id': 'f7ed914a-3ef9-4cc1-808f-89d8a79b853b', 'ip_version': 4, 'cidr': '205.114.106.128/26', 'allocation_pools': [{'start': '205.114.106.130', 'end': '205.114.106.190'}], 'gateway_ip': '205.114.106.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '205.114.106.130', 'tags': [], 'project_id': 'be93d867b2254b18ab73c4785d2d1b4d'}} 2024-10-24 09:30:42,903 - INFO - Created VN ctest-vn-71093643 2024-10-24 09:30:42,962 - DEBUG - VN ctest-vn-71093643 UUID is f7ed914a-3ef9-4cc1-808f-89d8a79b853b 2024-10-24 09:30:43,160 - DEBUG - Services list from nova: [, , ] 2024-10-24 09:30:44,286 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2137-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2137-1) 2024-10-24 09:30:45,594 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2137-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2137-1) 2024-10-24 09:30:45,594 - INFO - Waiting for VM ctest-TestBasicVMVNx-81432434-52918729 to be up.. 2024-10-24 09:30:45,701 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-10-24 09:30:50,834 - DEBUG - VM is in ACTIVE state now 2024-10-24 09:30:50,834 - INFO - VM name : ctest-TestBasicVMVNx-81432434-52918729 2024-10-24 09:30:50,931 - DEBUG - VM ctest-TestBasicVMVNx-81432434-52918729 ID is 9680650b-f30e-48d9-b741-92e3c29637f2 2024-10-24 09:30:50,954 - DEBUG - VM ctest-TestBasicVMVNx-81432434-52918729 launched on Node cn-jenkins-deploy-platform-ansible-os-2137-1 2024-10-24 09:30:51,071 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-machine/9680650b-f30e-48d9-b741-92e3c29637f2 2024-10-24 09:30:51,407 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-machine/9680650b-f30e-48d9-b741-92e3c29637f2 2024-10-24 09:30:51,450 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-machine-interface/24fc3788-aa26-4d00-9e37-17af2f95675e 2024-10-24 09:30:54,728 - 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 1006ms') 2024-10-24 09:30:54,728 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-81432434-52918729 failed! 2024-10-24 09:30:54,790 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-81432434:ctest-vn-71093643 is 205.114.106.129 and allocation pool is NOT set 2024-10-24 09:30:56,857 - 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=6.28 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.642 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 = 0.642/3.459/6.277/2.817 ms') 2024-10-24 09:30:56,858 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-81432434-52918729 passed 2024-10-24 09:30:57,026 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-24 09:30:57,026 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-81432434-52918729, IP 205.114.106.131, Port 22 2024-10-24 09:30:57,196 - DEBUG - VM ctest-TestBasicVMVNx-81432434-52918729 is ready for SSH connections 2024-10-24 09:30:57,196 - INFO - Waiting for VM ctest-TestBasicVMVNx-81432434-76096918 to be up.. 2024-10-24 09:30:57,307 - DEBUG - VM is in ACTIVE state now 2024-10-24 09:30:57,307 - INFO - VM name : ctest-TestBasicVMVNx-81432434-76096918 2024-10-24 09:30:57,413 - DEBUG - VM ctest-TestBasicVMVNx-81432434-76096918 ID is b83269d9-1925-4c63-89ed-6324fecbef6e 2024-10-24 09:30:57,413 - DEBUG - VM ctest-TestBasicVMVNx-81432434-76096918 launched on Node cn-jenkins-deploy-platform-ansible-os-2137-1 2024-10-24 09:30:57,509 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-machine/b83269d9-1925-4c63-89ed-6324fecbef6e 2024-10-24 09:30:57,521 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-machine-interface/6ddfc1e2-9685-40cc-b649-ea84a656bf18 2024-10-24 09:30:58,781 - 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.26 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.508 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.508/1.884/3.261/1.376 ms') 2024-10-24 09:30:58,782 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-81432434-76096918 passed 2024-10-24 09:30:58,950 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-24 09:30:58,950 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-81432434-76096918, IP 205.114.106.132, Port 22 2024-10-24 09:30:59,120 - DEBUG - VM ctest-TestBasicVMVNx-81432434-76096918 is ready for SSH connections 2024-10-24 09:30:59,120 - DEBUG - FILE SIZE = 1303B 2024-10-24 09:30:59,120 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-81432434-52918729 to ctest-TestBasicVMVNx-81432434-76096918 using scp 2024-10-24 09:30:59,121 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-24 09:30:59,127 - 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.43, gateway password: c0ntrail123 2024-10-24 09:30:59,128 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-10-24 09:31:01,141 - DEBUG - 1+0 records in 1+0 records out 2024-10-24 09:31:01,980 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-24 09:31:02,319 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.43, gateway password: c0ntrail123 2024-10-24 09:31:02,319 - DEBUG - ls -l testfile 2024-10-24 09:31:03,921 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 24 03:31 testfile 2024-10-24 09:31:03,921 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-81432434-76096918 2024-10-24 09:31:03,922 - INFO - Deleting VM ctest-TestBasicVMVNx-81432434-76096918 2024-10-24 09:31:04,002 - INFO - Deleting VM ctest-TestBasicVMVNx-81432434-52918729 2024-10-24 09:31:04,080 - INFO - Deleting VN ctest-vn-71093643 2024-10-24 09:31:04,136 - DEBUG - VN f7ed914a-3ef9-4cc1-808f-89d8a79b853b still in use: Unable to complete operation on network f7ed914a-3ef9-4cc1-808f-89d8a79b853b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-343f7c23-26ed-4101-a06e-b70b880f5bf9'] 2024-10-24 09:31:04,136 - WARNING - Deleting VN ctest-vn-71093643 failed..Will retry 2024-10-24 09:31:06,274 - DEBUG - Response for deleting network () 2024-10-24 09:31:06,536 - DEBUG - No XMPP flaps were noticed during the test 2024-10-24 09:31:06,536 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25] 2024-10-24 09:31:06,536 - INFO - -------------------------------------------------------------------------------- 2024-10-24 09:31:07,311 - INFO - Deleted project: ctest-TestBasicVMVNx-81432434, ID : be93d867-b225-4b18-ab73-c4785d2d1b4d