2024-10-17 02:38:40,113 - INFO - Domain Default found not creating 2024-10-17 02:38:40,297 - INFO - Project ctest-TestBasicVMVNx-04756233 not found, creating it 2024-10-17 02:38:40,828 - INFO - Created Project:ctest-TestBasicVMVNx-04756233, ID : 98830f87-19d1-4bfe-8a70-87de728a0954 2024-10-17 02:38:42,532 - INFO - ================================================================================ 2024-10-17 02:38:42,532 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-10-17 02:38:42,532 - 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-17 02:38:42,789 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.0.0.38': '0'}} with 2024-10-17 02:38:42,789 - INFO - Initial checks done. Running the testcase now 2024-10-17 02:38:42,789 - INFO - 2024-10-17 02:38:43,439 - DEBUG - Response for create_network : {'network': {'id': '2516cd3b-7f24-41da-820d-be75a4eef161', 'name': 'ctest-vn-10590403', 'tenant_id': '98830f8719d14bfe8a7087de728a0954', 'project_id': '98830f8719d14bfe8a7087de728a0954', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-04756233', 'ctest-vn-10590403'], 'port_security_enabled': True, 'description': ''}} 2024-10-17 02:38:43,674 - DEBUG - Response for create_subnet : {'subnet': {'id': '6b9a675e-e1da-4958-a40c-e9ee7dc4f4fa', 'name': '', 'tenant_id': '98830f8719d14bfe8a7087de728a0954', 'network_id': '2516cd3b-7f24-41da-820d-be75a4eef161', 'ip_version': 4, 'cidr': '174.115.77.64/26', 'allocation_pools': [{'start': '174.115.77.66', 'end': '174.115.77.126'}], 'gateway_ip': '174.115.77.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.115.77.66', 'tags': [], 'project_id': '98830f8719d14bfe8a7087de728a0954'}} 2024-10-17 02:38:43,703 - INFO - Created VN ctest-vn-10590403 2024-10-17 02:38:43,766 - DEBUG - VN ctest-vn-10590403 UUID is 2516cd3b-7f24-41da-820d-be75a4eef161 2024-10-17 02:38:43,964 - DEBUG - Services list from nova: [, , ] 2024-10-17 02:38:45,148 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2106-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2106-1) 2024-10-17 02:38:46,484 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2106-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2106-1) 2024-10-17 02:38:46,484 - INFO - Waiting for VM ctest-TestBasicVMVNx-04756233-95250837 to be up.. 2024-10-17 02:38:46,601 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-10-17 02:38:51,782 - DEBUG - VM is in ACTIVE state now 2024-10-17 02:38:51,782 - INFO - VM name : ctest-TestBasicVMVNx-04756233-95250837 2024-10-17 02:38:51,918 - DEBUG - VM ctest-TestBasicVMVNx-04756233-95250837 ID is 28f9196a-19cb-4f06-844b-7a6ce6edbc80 2024-10-17 02:38:51,960 - DEBUG - VM ctest-TestBasicVMVNx-04756233-95250837 launched on Node cn-jenkins-deploy-platform-ansible-os-2106-1. 2024-10-17 02:38:52,076 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/28f9196a-19cb-4f06-844b-7a6ce6edbc80 2024-10-17 02:38:52,419 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/28f9196a-19cb-4f06-844b-7a6ce6edbc80 2024-10-17 02:38:52,459 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/47d90ed4-5b7e-47c9-b337-c02bbeeb3b43 2024-10-17 02:38:55,745 - 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 1030ms') 2024-10-17 02:38:55,745 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-04756233-95250837 failed! 2024-10-17 02:38:55,810 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-04756233:ctest-vn-10590403 is 174.115.77.65 and allocation pool is NOT set 2024-10-17 02:38:57,876 - 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=4.01 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.803 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.803/2.405/4.007/1.602 ms') 2024-10-17 02:38:57,876 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-04756233-95250837 passed 2024-10-17 02:38:58,042 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-17 02:38:58,042 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-04756233-95250837, IP 174.115.77.67, Port 22 2024-10-17 02:38:58,208 - DEBUG - VM ctest-TestBasicVMVNx-04756233-95250837 is ready for SSH connections 2024-10-17 02:38:58,208 - INFO - Waiting for VM ctest-TestBasicVMVNx-04756233-47873768 to be up.. 2024-10-17 02:38:58,299 - DEBUG - VM is in ACTIVE state now 2024-10-17 02:38:58,299 - INFO - VM name : ctest-TestBasicVMVNx-04756233-47873768 2024-10-17 02:38:58,386 - DEBUG - VM ctest-TestBasicVMVNx-04756233-47873768 ID is ed907fc2-7a76-457c-bd14-89b057088324 2024-10-17 02:38:58,386 - DEBUG - VM ctest-TestBasicVMVNx-04756233-47873768 launched on Node cn-jenkins-deploy-platform-ansible-os-2106-1. 2024-10-17 02:38:58,477 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ed907fc2-7a76-457c-bd14-89b057088324 2024-10-17 02:38:58,489 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b65d3535-c390-4fc2-b5b3-6a950cb63337 2024-10-17 02:38:59,749 - 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.13 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.570 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.570/1.847/3.125/1.277 ms') 2024-10-17 02:38:59,749 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-04756233-47873768 passed 2024-10-17 02:38:59,914 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-17 02:38:59,915 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-04756233-47873768, IP 174.115.77.68, Port 22 2024-10-17 02:39:00,074 - DEBUG - VM ctest-TestBasicVMVNx-04756233-47873768 is ready for SSH connections 2024-10-17 02:39:00,074 - DEBUG - FILE SIZE = 1303B 2024-10-17 02:39:00,074 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-04756233-95250837 to ctest-TestBasicVMVNx-04756233-47873768 using scp 2024-10-17 02:39:00,076 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-17 02:39:00,084 - 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.38, gateway password: c0ntrail123 2024-10-17 02:39:00,084 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-10-17 02:39:02,112 - DEBUG - 1+0 records in 1+0 records out 2024-10-17 02:39:02,818 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-17 02:39:03,186 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2024-10-17 02:39:03,187 - DEBUG - ls -l testfile 2024-10-17 02:39:04,849 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 16 20:39 testfile 2024-10-17 02:39:04,849 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-04756233-47873768 2024-10-17 02:39:04,849 - INFO - Deleting VM ctest-TestBasicVMVNx-04756233-47873768 2024-10-17 02:39:04,939 - INFO - Deleting VM ctest-TestBasicVMVNx-04756233-95250837 2024-10-17 02:39:05,034 - INFO - Deleting VN ctest-vn-10590403 2024-10-17 02:39:05,085 - DEBUG - VN 2516cd3b-7f24-41da-820d-be75a4eef161 still in use: Unable to complete operation on network 2516cd3b-7f24-41da-820d-be75a4eef161. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-09e5b0f4-b9cb-4913-a53e-b172da161407'] 2024-10-17 02:39:05,085 - WARNING - Deleting VN ctest-vn-10590403 failed..Will retry 2024-10-17 02:39:07,249 - DEBUG - Response for deleting network () 2024-10-17 02:39:07,514 - DEBUG - No XMPP flaps were noticed during the test
2024-10-17 02:39:07,514 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25]
2024-10-17 02:39:07,514 - INFO - -------------------------------------------------------------------------------- 2024-10-17 02:39:08,298 - INFO - Deleted project: ctest-TestBasicVMVNx-04756233, ID : 98830f87-19d1-4bfe-8a70-87de728a0954