2024-09-17 09:06:07,978 - INFO - Domain Default found not creating 2024-09-17 09:06:08,141 - INFO - Project ctest-TestBasicVMVNx-68639706 not found, creating it 2024-09-17 09:06:08,629 - INFO - Created Project:ctest-TestBasicVMVNx-68639706, ID : 444472bf-8b2e-43c8-b843-3345a9a786df 2024-09-17 09:06:10,128 - INFO - ================================================================================ 2024-09-17 09:06:10,129 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-17 09:06:10,129 - 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-09-17 09:06:10,386 - DEBUG - Nothing to compare xmpp stats {'10.0.0.29': {'10.20.0.23': '0'}} with 2024-09-17 09:06:10,386 - INFO - Initial checks done. Running the testcase now 2024-09-17 09:06:10,386 - INFO - 2024-09-17 09:06:10,971 - DEBUG - Response for create_network : {'network': {'id': '59c45824-7d51-4888-a566-31d384e9fc46', 'name': 'ctest-vn-89205658', 'tenant_id': '444472bf8b2e43c8b8433345a9a786df', 'project_id': '444472bf8b2e43c8b8433345a9a786df', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-68639706', 'ctest-vn-89205658'], 'port_security_enabled': True, 'description': ''}} 2024-09-17 09:06:11,161 - DEBUG - Response for create_subnet : {'subnet': {'id': '8ff527b1-d699-452d-a976-ad3f33a3c966', 'name': '', 'tenant_id': '444472bf8b2e43c8b8433345a9a786df', 'network_id': '59c45824-7d51-4888-a566-31d384e9fc46', 'ip_version': 4, 'cidr': '85.116.13.128/26', 'allocation_pools': [{'start': '85.116.13.130', 'end': '85.116.13.190'}], 'gateway_ip': '85.116.13.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '85.116.13.130', 'tags': [], 'project_id': '444472bf8b2e43c8b8433345a9a786df'}} 2024-09-17 09:06:11,184 - INFO - Created VN ctest-vn-89205658 2024-09-17 09:06:11,244 - DEBUG - VN ctest-vn-89205658 UUID is 59c45824-7d51-4888-a566-31d384e9fc46 2024-09-17 09:06:11,424 - DEBUG - Services list from nova: [, , ] 2024-09-17 09:06:12,560 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1956-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1956-1) 2024-09-17 09:06:13,794 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1956-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1956-1) 2024-09-17 09:06:13,794 - INFO - Waiting for VM ctest-TestBasicVMVNx-68639706-08837832 to be up.. 2024-09-17 09:06:13,890 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-17 09:06:18,981 - DEBUG - VM is in ACTIVE state now 2024-09-17 09:06:18,981 - INFO - VM name : ctest-TestBasicVMVNx-68639706-08837832 2024-09-17 09:06:19,064 - DEBUG - VM ctest-TestBasicVMVNx-68639706-08837832 ID is 345d62aa-bde7-4531-821b-9489e15ceaca 2024-09-17 09:06:19,084 - DEBUG - VM ctest-TestBasicVMVNx-68639706-08837832 launched on Node cn-jenkins-deploy-platform-ansible-os-1956-1 2024-09-17 09:06:19,164 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/345d62aa-bde7-4531-821b-9489e15ceaca 2024-09-17 09:06:19,463 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/345d62aa-bde7-4531-821b-9489e15ceaca 2024-09-17 09:06:19,503 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/16346a42-f46a-4e37-9c24-8a93f66fa118 2024-09-17 09:06:22,749 - 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 1003ms') 2024-09-17 09:06:22,749 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-68639706-08837832 failed! 2024-09-17 09:06:22,812 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-68639706:ctest-vn-89205658 is 85.116.13.129 and allocation pool is NOT set 2024-09-17 09:06:24,869 - 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=3.58 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.625 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.625/2.100/3.576/1.475 ms') 2024-09-17 09:06:24,869 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-68639706-08837832 passed 2024-09-17 09:06:25,032 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 09:06:25,032 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-68639706-08837832, IP 85.116.13.131, Port 22 2024-09-17 09:06:25,189 - DEBUG - VM ctest-TestBasicVMVNx-68639706-08837832 is ready for SSH connections 2024-09-17 09:06:25,189 - INFO - Waiting for VM ctest-TestBasicVMVNx-68639706-19322927 to be up.. 2024-09-17 09:06:25,268 - DEBUG - VM is in ACTIVE state now 2024-09-17 09:06:25,268 - INFO - VM name : ctest-TestBasicVMVNx-68639706-19322927 2024-09-17 09:06:25,372 - DEBUG - VM ctest-TestBasicVMVNx-68639706-19322927 ID is 46cece0d-4818-4311-a937-75c2b163fad6 2024-09-17 09:06:25,372 - DEBUG - VM ctest-TestBasicVMVNx-68639706-19322927 launched on Node cn-jenkins-deploy-platform-ansible-os-1956-1 2024-09-17 09:06:25,461 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/46cece0d-4818-4311-a937-75c2b163fad6 2024-09-17 09:06:25,472 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/32ec79d3-6306-452e-ad61-65a9f559d375 2024-09-17 09:06:26,733 - 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.16 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.56 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.564/2.863/4.163/1.299 ms') 2024-09-17 09:06:26,733 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-68639706-19322927 passed 2024-09-17 09:06:26,892 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 09:06:26,892 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-68639706-19322927, IP 85.116.13.132, Port 22 2024-09-17 09:06:27,048 - DEBUG - VM ctest-TestBasicVMVNx-68639706-19322927 is ready for SSH connections 2024-09-17 09:06:27,048 - DEBUG - FILE SIZE = 1303B 2024-09-17 09:06:27,048 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-68639706-08837832 to ctest-TestBasicVMVNx-68639706-19322927 using scp 2024-09-17 09:06:27,049 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 09:06:27,054 - 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.29, gateway password: c0ntrail123 2024-09-17 09:06:27,055 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-17 09:06:28,985 - DEBUG - 1+0 records in 1+0 records out 2024-09-17 09:06:29,751 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 09:06:30,078 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123 2024-09-17 09:06:30,078 - DEBUG - ls -l testfile 2024-09-17 09:06:31,655 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 17 03:06 testfile 2024-09-17 09:06:31,655 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-68639706-19322927 2024-09-17 09:06:31,655 - INFO - Deleting VM ctest-TestBasicVMVNx-68639706-19322927 2024-09-17 09:06:31,824 - INFO - Deleting VM ctest-TestBasicVMVNx-68639706-08837832 2024-09-17 09:06:31,904 - INFO - Deleting VN ctest-vn-89205658 2024-09-17 09:06:31,951 - DEBUG - VN 59c45824-7d51-4888-a566-31d384e9fc46 still in use: Unable to complete operation on network 59c45824-7d51-4888-a566-31d384e9fc46. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-24d64a00-51a9-4789-993a-154928fe2452'] 2024-09-17 09:06:31,951 - WARNING - Deleting VN ctest-vn-89205658 failed..Will retry 2024-09-17 09:06:34,063 - DEBUG - Response for deleting network () 2024-09-17 09:06:34,320 - DEBUG - No XMPP flaps were noticed during the test
2024-09-17 09:06:34,320 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2024-09-17 09:06:34,320 - INFO - -------------------------------------------------------------------------------- 2024-09-17 09:06:35,022 - INFO - Deleted project: ctest-TestBasicVMVNx-68639706, ID : 444472bf-8b2e-43c8-b843-3345a9a786df