2025-01-09 02:41:32,560 - INFO - Domain Default found not creating 2025-01-09 02:41:32,702 - INFO - Project ctest-TestBasicVMVNx-81425584 not found, creating it 2025-01-09 02:41:33,137 - INFO - Created Project:ctest-TestBasicVMVNx-81425584, ID : 9acca40c-00f3-47b6-abb8-b13bc4955621 2025-01-09 02:41:34,525 - INFO - ================================================================================ 2025-01-09 02:41:34,525 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-01-09 02:41:34,526 - 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 2025-01-09 02:41:34,786 - DEBUG - Nothing to compare xmpp stats {'10.0.0.40': {'10.20.0.20': '0'}} with 2025-01-09 02:41:34,786 - INFO - Initial checks done. Running the testcase now 2025-01-09 02:41:34,786 - INFO - 2025-01-09 02:41:35,316 - DEBUG - Response for create_network : {'network': {'id': '8105b8f6-07ea-4efb-b96e-49bb76adf005', 'name': 'ctest-vn-38058008', 'tenant_id': '9acca40c00f347b6abb8b13bc4955621', 'project_id': '9acca40c00f347b6abb8b13bc4955621', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-81425584', 'ctest-vn-38058008'], 'port_security_enabled': True, 'description': ''}} 2025-01-09 02:41:35,544 - DEBUG - Response for create_subnet : {'subnet': {'id': '4094d9a9-a83d-4099-824c-b88c0e81c332', 'name': '', 'tenant_id': '9acca40c00f347b6abb8b13bc4955621', 'network_id': '8105b8f6-07ea-4efb-b96e-49bb76adf005', 'ip_version': 4, 'cidr': '59.74.132.0/26', 'allocation_pools': [{'start': '59.74.132.2', 'end': '59.74.132.62'}], 'gateway_ip': '59.74.132.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '59.74.132.2', 'tags': [], 'project_id': '9acca40c00f347b6abb8b13bc4955621'}} 2025-01-09 02:41:35,562 - INFO - Created VN ctest-vn-38058008 2025-01-09 02:41:35,616 - DEBUG - VN ctest-vn-38058008 UUID is 8105b8f6-07ea-4efb-b96e-49bb76adf005 2025-01-09 02:41:35,778 - DEBUG - Services list from nova: [, , ] 2025-01-09 02:41:36,790 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2574-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2574-1) 2025-01-09 02:41:37,898 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2574-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2574-1) 2025-01-09 02:41:37,898 - INFO - Waiting for VM ctest-TestBasicVMVNx-81425584-91777986 to be up.. 2025-01-09 02:41:37,973 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-09 02:41:43,052 - DEBUG - VM is in ACTIVE state now 2025-01-09 02:41:43,052 - INFO - VM name : ctest-TestBasicVMVNx-81425584-91777986 2025-01-09 02:41:43,126 - DEBUG - VM ctest-TestBasicVMVNx-81425584-91777986 ID is 02048e59-2bb7-471a-ab43-f636aca96a31 2025-01-09 02:41:43,144 - DEBUG - VM ctest-TestBasicVMVNx-81425584-91777986 launched on Node cn-jenkins-deploy-platform-ansible-os-2574-1 2025-01-09 02:41:43,218 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine/02048e59-2bb7-471a-ab43-f636aca96a31 2025-01-09 02:41:43,515 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine/02048e59-2bb7-471a-ab43-f636aca96a31 2025-01-09 02:41:43,546 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine-interface/8d60dbf6-5112-4b73-9e7e-5ecb81cfa42c 2025-01-09 02:41:46,792 - 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 1011ms') 2025-01-09 02:41:46,792 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-81425584-91777986 failed! 2025-01-09 02:41:46,843 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-81425584:ctest-vn-38058008 is 59.74.132.1 and allocation pool is NOT set 2025-01-09 02:41:48,899 - 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.62 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.338 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.338/1.476/2.615/1.138 ms') 2025-01-09 02:41:48,899 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-81425584-91777986 passed 2025-01-09 02:41:49,051 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-09 02:41:49,052 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-81425584-91777986, IP 59.74.132.3, Port 22 2025-01-09 02:41:49,219 - DEBUG - VM ctest-TestBasicVMVNx-81425584-91777986 is ready for SSH connections 2025-01-09 02:41:49,219 - INFO - Waiting for VM ctest-TestBasicVMVNx-81425584-65728927 to be up.. 2025-01-09 02:41:49,292 - DEBUG - VM is in ACTIVE state now 2025-01-09 02:41:49,292 - INFO - VM name : ctest-TestBasicVMVNx-81425584-65728927 2025-01-09 02:41:49,360 - DEBUG - VM ctest-TestBasicVMVNx-81425584-65728927 ID is c115b5be-84da-4fb5-b61a-a008855d04f2 2025-01-09 02:41:49,360 - DEBUG - VM ctest-TestBasicVMVNx-81425584-65728927 launched on Node cn-jenkins-deploy-platform-ansible-os-2574-1 2025-01-09 02:41:49,450 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine/c115b5be-84da-4fb5-b61a-a008855d04f2 2025-01-09 02:41:49,461 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine-interface/4f3e3b6d-710a-4a25-bf97-7535c6e222dc 2025-01-09 02:41:50,695 - 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.71 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.407 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.407/1.558/2.710/1.151 ms') 2025-01-09 02:41:50,695 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-81425584-65728927 passed 2025-01-09 02:41:50,843 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-09 02:41:50,844 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-81425584-65728927, IP 59.74.132.4, Port 22 2025-01-09 02:41:50,999 - DEBUG - VM ctest-TestBasicVMVNx-81425584-65728927 is ready for SSH connections 2025-01-09 02:41:50,999 - DEBUG - FILE SIZE = 1303B 2025-01-09 02:41:50,999 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-81425584-91777986 to ctest-TestBasicVMVNx-81425584-65728927 using scp 2025-01-09 02:41:51,000 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-09 02:41:51,004 - 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.40, gateway password: c0ntrail123 2025-01-09 02:41:51,004 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-01-09 02:41:52,888 - DEBUG - 1+0 records in 1+0 records out 2025-01-09 02:41:53,458 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-09 02:41:53,776 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.40, gateway password: c0ntrail123 2025-01-09 02:41:53,776 - DEBUG - ls -l testfile 2025-01-09 02:41:55,348 - DEBUG - -rw------- 1 cirros cirros 1303 Jan 8 19:41 testfile 2025-01-09 02:41:55,349 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-81425584-65728927 2025-01-09 02:41:55,349 - INFO - Deleting VM ctest-TestBasicVMVNx-81425584-65728927 2025-01-09 02:41:55,413 - INFO - Deleting VM ctest-TestBasicVMVNx-81425584-91777986 2025-01-09 02:41:55,472 - INFO - Deleting VN ctest-vn-38058008 2025-01-09 02:41:55,508 - DEBUG - VN 8105b8f6-07ea-4efb-b96e-49bb76adf005 still in use: Unable to complete operation on network 8105b8f6-07ea-4efb-b96e-49bb76adf005. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8bbaff21-225b-4a9b-9c93-c0859b4c4261'] 2025-01-09 02:41:55,508 - WARNING - Deleting VN ctest-vn-38058008 failed..Will retry 2025-01-09 02:41:57,610 - DEBUG - Response for deleting network () 2025-01-09 02:41:57,869 - DEBUG - No XMPP flaps were noticed during the test 2025-01-09 02:41:57,869 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23] 2025-01-09 02:41:57,870 - INFO - -------------------------------------------------------------------------------- 2025-01-09 02:41:58,504 - INFO - Deleted project: ctest-TestBasicVMVNx-81425584, ID : 9acca40c-00f3-47b6-abb8-b13bc4955621