2024-11-07 02:36:36,703 - INFO - Domain Default found not creating 2024-11-07 02:36:36,876 - INFO - Project ctest-TestBasicVMVNx-96754817 not found, creating it 2024-11-07 02:36:37,352 - INFO - Created Project:ctest-TestBasicVMVNx-96754817, ID : fcd74d29-749f-4ce3-a364-62d3803dccdc 2024-11-07 02:36:38,985 - INFO - ================================================================================ 2024-11-07 02:36:38,985 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-11-07 02:36:38,985 - 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-07 02:36:39,245 - DEBUG - Nothing to compare xmpp stats {'10.0.0.40': {'10.20.0.11': '0'}} with 2024-11-07 02:36:39,245 - INFO - Initial checks done. Running the testcase now 2024-11-07 02:36:39,245 - INFO - 2024-11-07 02:36:39,860 - DEBUG - Response for create_network : {'network': {'id': 'c00f1901-8d58-405f-8c9c-42a84d436be7', 'name': 'ctest-vn-39630901', 'tenant_id': 'fcd74d29749f4ce3a36462d3803dccdc', 'project_id': 'fcd74d29749f4ce3a36462d3803dccdc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-96754817', 'ctest-vn-39630901'], 'port_security_enabled': True, 'description': ''}} 2024-11-07 02:36:40,047 - DEBUG - Response for create_subnet : {'subnet': {'id': '9059e236-2939-47a9-a7c7-07526902a0bd', 'name': '', 'tenant_id': 'fcd74d29749f4ce3a36462d3803dccdc', 'network_id': 'c00f1901-8d58-405f-8c9c-42a84d436be7', 'ip_version': 4, 'cidr': '22.168.9.64/26', 'allocation_pools': [{'start': '22.168.9.66', 'end': '22.168.9.126'}], 'gateway_ip': '22.168.9.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '22.168.9.66', 'tags': [], 'project_id': 'fcd74d29749f4ce3a36462d3803dccdc'}} 2024-11-07 02:36:40,068 - INFO - Created VN ctest-vn-39630901 2024-11-07 02:36:40,118 - DEBUG - VN ctest-vn-39630901 UUID is c00f1901-8d58-405f-8c9c-42a84d436be7 2024-11-07 02:36:40,290 - DEBUG - Services list from nova: [, , ] 2024-11-07 02:36:41,494 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2209-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2209-1) 2024-11-07 02:36:42,778 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2209-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2209-1) 2024-11-07 02:36:42,780 - INFO - Waiting for VM ctest-TestBasicVMVNx-96754817-36038480 to be up.. 2024-11-07 02:36:42,871 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-07 02:36:47,962 - DEBUG - VM is in ACTIVE state now 2024-11-07 02:36:47,962 - INFO - VM name : ctest-TestBasicVMVNx-96754817-36038480 2024-11-07 02:36:48,046 - DEBUG - VM ctest-TestBasicVMVNx-96754817-36038480 ID is ab4d3864-6623-4eda-b4a5-8767e668270c 2024-11-07 02:36:48,068 - DEBUG - VM ctest-TestBasicVMVNx-96754817-36038480 launched on Node cn-jenkins-deploy-platform-ansible-os-2209-1 2024-11-07 02:36:48,164 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine/ab4d3864-6623-4eda-b4a5-8767e668270c 2024-11-07 02:36:48,500 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine/ab4d3864-6623-4eda-b4a5-8767e668270c 2024-11-07 02:36:48,861 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine-interface/6a84ac71-1459-4ccd-8b6c-7db4610a323a 2024-11-07 02:36:52,126 - 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-11-07 02:36:52,126 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-96754817-36038480 failed! 2024-11-07 02:36:52,186 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-96754817:ctest-vn-39630901 is 22.168.9.65 and allocation pool is NOT set 2024-11-07 02:36:54,251 - 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.38 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.932 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.932/3.157/5.383/2.225 ms') 2024-11-07 02:36:54,251 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-96754817-36038480 passed 2024-11-07 02:36:54,402 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-07 02:36:54,403 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-96754817-36038480, IP 22.168.9.67, Port 22 2024-11-07 02:36:54,558 - DEBUG - VM ctest-TestBasicVMVNx-96754817-36038480 is ready for SSH connections 2024-11-07 02:36:54,558 - INFO - Waiting for VM ctest-TestBasicVMVNx-96754817-16191337 to be up.. 2024-11-07 02:36:54,637 - DEBUG - VM is in ACTIVE state now 2024-11-07 02:36:54,638 - INFO - VM name : ctest-TestBasicVMVNx-96754817-16191337 2024-11-07 02:36:54,721 - DEBUG - VM ctest-TestBasicVMVNx-96754817-16191337 ID is a7e0bfed-6525-41a4-b2b9-120569428815 2024-11-07 02:36:54,721 - DEBUG - VM ctest-TestBasicVMVNx-96754817-16191337 launched on Node cn-jenkins-deploy-platform-ansible-os-2209-1 2024-11-07 02:36:54,807 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine/a7e0bfed-6525-41a4-b2b9-120569428815 2024-11-07 02:36:54,816 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine-interface/b93ef0e7-ad2e-47ba-83ec-ccb0e77adf08 2024-11-07 02:36:56,056 - 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.10 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.397 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.397/1.749/3.101/1.352 ms') 2024-11-07 02:36:56,056 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-96754817-16191337 passed 2024-11-07 02:36:56,206 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-07 02:36:56,206 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-96754817-16191337, IP 22.168.9.68, Port 22 2024-11-07 02:36:56,370 - DEBUG - VM ctest-TestBasicVMVNx-96754817-16191337 is ready for SSH connections 2024-11-07 02:36:56,370 - DEBUG - FILE SIZE = 1303B 2024-11-07 02:36:56,370 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-96754817-36038480 to ctest-TestBasicVMVNx-96754817-16191337 using scp 2024-11-07 02:36:56,370 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-07 02:36:56,376 - 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 2024-11-07 02:36:56,376 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-11-07 02:36:58,362 - DEBUG - 1+0 records in 1+0 records out 2024-11-07 02:36:59,028 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-07 02:36:59,365 - 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 2024-11-07 02:36:59,365 - DEBUG - ls -l testfile 2024-11-07 02:37:01,022 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 6 19:36 testfile 2024-11-07 02:37:01,022 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-96754817-16191337 2024-11-07 02:37:01,022 - INFO - Deleting VM ctest-TestBasicVMVNx-96754817-16191337 2024-11-07 02:37:01,090 - INFO - Deleting VM ctest-TestBasicVMVNx-96754817-36038480 2024-11-07 02:37:01,174 - INFO - Deleting VN ctest-vn-39630901 2024-11-07 02:37:01,215 - DEBUG - VN c00f1901-8d58-405f-8c9c-42a84d436be7 still in use: Unable to complete operation on network c00f1901-8d58-405f-8c9c-42a84d436be7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-66906410-32ef-4780-8e99-0ef2675da556'] 2024-11-07 02:37:01,215 - WARNING - Deleting VN ctest-vn-39630901 failed..Will retry 2024-11-07 02:37:03,321 - DEBUG - Response for deleting network () 2024-11-07 02:37:03,581 - DEBUG - No XMPP flaps were noticed during the test 2024-11-07 02:37:03,581 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25] 2024-11-07 02:37:03,581 - INFO - -------------------------------------------------------------------------------- 2024-11-07 02:37:04,307 - INFO - Deleted project: ctest-TestBasicVMVNx-96754817, ID : fcd74d29-749f-4ce3-a364-62d3803dccdc