2024-12-30 02:16:51,309 - INFO - Domain Default found not creating 2024-12-30 02:16:51,471 - INFO - Project ctest-TestBasicVMVNx-89648096 not found, creating it 2024-12-30 02:16:51,903 - INFO - Created Project:ctest-TestBasicVMVNx-89648096, ID : 051ad250-2d56-41ee-8305-3f9f719ffff0 2024-12-30 02:16:53,266 - INFO - ================================================================================ 2024-12-30 02:16:53,266 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-12-30 02:16:53,266 - 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-12-30 02:16:53,538 - DEBUG - Nothing to compare xmpp stats {'10.0.0.45': {'10.20.0.24': '0'}} with 2024-12-30 02:16:53,538 - INFO - Initial checks done. Running the testcase now 2024-12-30 02:16:53,538 - INFO - 2024-12-30 02:16:54,088 - DEBUG - Response for create_network : {'network': {'id': 'f2a9630d-e3a2-4aa8-9f6e-6d985804c7d1', 'name': 'ctest-vn-40966761', 'tenant_id': '051ad2502d5641ee83053f9f719ffff0', 'project_id': '051ad2502d5641ee83053f9f719ffff0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-89648096', 'ctest-vn-40966761'], 'port_security_enabled': True, 'description': ''}} 2024-12-30 02:16:54,248 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dd84c6ea-2cf7-41cc-819a-3d073148cc91', 'name': '', 'tenant_id': '051ad2502d5641ee83053f9f719ffff0', 'network_id': 'f2a9630d-e3a2-4aa8-9f6e-6d985804c7d1', 'ip_version': 4, 'cidr': '125.253.54.0/26', 'allocation_pools': [{'start': '125.253.54.2', 'end': '125.253.54.62'}], 'gateway_ip': '125.253.54.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '125.253.54.2', 'tags': [], 'project_id': '051ad2502d5641ee83053f9f719ffff0'}} 2024-12-30 02:16:54,267 - INFO - Created VN ctest-vn-40966761 2024-12-30 02:16:54,316 - DEBUG - VN ctest-vn-40966761 UUID is f2a9630d-e3a2-4aa8-9f6e-6d985804c7d1 2024-12-30 02:16:54,520 - DEBUG - Services list from nova: [, , ] 2024-12-30 02:16:55,539 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2499-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2499-1) 2024-12-30 02:16:56,672 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2499-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2499-1) 2024-12-30 02:16:56,672 - INFO - Waiting for VM ctest-TestBasicVMVNx-89648096-22007837 to be up.. 2024-12-30 02:16:56,745 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-12-30 02:17:01,819 - DEBUG - VM is in ACTIVE state now 2024-12-30 02:17:01,819 - INFO - VM name : ctest-TestBasicVMVNx-89648096-22007837 2024-12-30 02:17:01,889 - DEBUG - VM ctest-TestBasicVMVNx-89648096-22007837 ID is 61c3f292-c901-4f88-ad33-e47c259a30cd 2024-12-30 02:17:01,905 - DEBUG - VM ctest-TestBasicVMVNx-89648096-22007837 launched on Node cn-jenkins-deploy-platform-ansible-os-2499-1 2024-12-30 02:17:01,969 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine/61c3f292-c901-4f88-ad33-e47c259a30cd 2024-12-30 02:17:02,261 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine/61c3f292-c901-4f88-ad33-e47c259a30cd 2024-12-30 02:17:02,290 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine-interface/e25a7a1c-39a9-4ab0-8e7c-ca3b4d62d562 2024-12-30 02:17:05,554 - 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 1024ms') 2024-12-30 02:17:05,554 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-89648096-22007837 failed! 2024-12-30 02:17:05,613 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-89648096:ctest-vn-40966761 is 125.253.54.1 and allocation pool is NOT set 2024-12-30 02:17:07,681 - 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.85 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.370 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.370/1.610/2.851/1.240 ms') 2024-12-30 02:17:07,681 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-89648096-22007837 passed 2024-12-30 02:17:07,828 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-12-30 02:17:07,828 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-89648096-22007837, IP 125.253.54.3, Port 22 2024-12-30 02:17:07,984 - DEBUG - VM ctest-TestBasicVMVNx-89648096-22007837 is ready for SSH connections 2024-12-30 02:17:07,984 - INFO - Waiting for VM ctest-TestBasicVMVNx-89648096-12947934 to be up.. 2024-12-30 02:17:08,051 - DEBUG - VM is in ACTIVE state now 2024-12-30 02:17:08,051 - INFO - VM name : ctest-TestBasicVMVNx-89648096-12947934 2024-12-30 02:17:08,119 - DEBUG - VM ctest-TestBasicVMVNx-89648096-12947934 ID is 58d5a835-0e4d-4cbb-9dcc-62adc9109b5d 2024-12-30 02:17:08,119 - DEBUG - VM ctest-TestBasicVMVNx-89648096-12947934 launched on Node cn-jenkins-deploy-platform-ansible-os-2499-1 2024-12-30 02:17:08,189 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine/58d5a835-0e4d-4cbb-9dcc-62adc9109b5d 2024-12-30 02:17:08,197 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine-interface/505154a1-38ce-42cb-b395-61eec22bdf0d 2024-12-30 02:17:09,433 - 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.72 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.390 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.390/1.554/2.719/1.164 ms') 2024-12-30 02:17:09,433 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-89648096-12947934 passed 2024-12-30 02:17:09,580 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-12-30 02:17:09,580 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-89648096-12947934, IP 125.253.54.4, Port 22 2024-12-30 02:17:09,736 - DEBUG - VM ctest-TestBasicVMVNx-89648096-12947934 is ready for SSH connections 2024-12-30 02:17:09,736 - DEBUG - FILE SIZE = 1303B 2024-12-30 02:17:09,736 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-89648096-22007837 to ctest-TestBasicVMVNx-89648096-12947934 using scp 2024-12-30 02:17:09,737 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-12-30 02:17:09,741 - 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.45, gateway password: c0ntrail123 2024-12-30 02:17:09,742 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-12-30 02:17:11,620 - DEBUG - 1+0 records in 1+0 records out 2024-12-30 02:17:12,225 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-12-30 02:17:12,550 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.45, gateway password: c0ntrail123 2024-12-30 02:17:12,550 - DEBUG - ls -l testfile 2024-12-30 02:17:14,103 - DEBUG - -rw------- 1 cirros cirros 1303 Dec 29 19:17 testfile 2024-12-30 02:17:14,103 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-89648096-12947934 2024-12-30 02:17:14,103 - INFO - Deleting VM ctest-TestBasicVMVNx-89648096-12947934 2024-12-30 02:17:14,170 - INFO - Deleting VM ctest-TestBasicVMVNx-89648096-22007837 2024-12-30 02:17:14,240 - INFO - Deleting VN ctest-vn-40966761 2024-12-30 02:17:14,274 - DEBUG - VN f2a9630d-e3a2-4aa8-9f6e-6d985804c7d1 still in use: Unable to complete operation on network f2a9630d-e3a2-4aa8-9f6e-6d985804c7d1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-97ded403-ea50-42fc-8b16-cf59eac97a42'] 2024-12-30 02:17:14,274 - WARNING - Deleting VN ctest-vn-40966761 failed..Will retry 2024-12-30 02:17:16,367 - DEBUG - Response for deleting network () 2024-12-30 02:17:16,630 - DEBUG - No XMPP flaps were noticed during the test
2024-12-30 02:17:16,630 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2024-12-30 02:17:16,630 - INFO - -------------------------------------------------------------------------------- 2024-12-30 02:17:17,292 - INFO - Deleted project: ctest-TestBasicVMVNx-89648096, ID : 051ad250-2d56-41ee-8305-3f9f719ffff0