2024-11-08 23:21:30,000 - INFO - Domain Default found not creating 2024-11-08 23:21:30,150 - INFO - Project ctest-TestBasicVMVNx-42395290 not found, creating it 2024-11-08 23:21:30,625 - INFO - Created Project:ctest-TestBasicVMVNx-42395290, ID : c0a5fe6c-2049-49ec-aac7-16ba85a9b9a8 2024-11-08 23:21:32,041 - INFO - ================================================================================ 2024-11-08 23:21:32,041 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-11-08 23:21:32,041 - 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-08 23:21:32,302 - DEBUG - Nothing to compare xmpp stats {'10.0.0.29': {'10.20.0.21': '0'}} with 2024-11-08 23:21:32,302 - INFO - Initial checks done. Running the testcase now 2024-11-08 23:21:32,302 - INFO - 2024-11-08 23:21:32,900 - DEBUG - Response for create_network : {'network': {'id': '8b144c2e-7f75-4554-ac7e-0354f4bc3397', 'name': 'ctest-vn-98915225', 'tenant_id': 'c0a5fe6c204949ecaac716ba85a9b9a8', 'project_id': 'c0a5fe6c204949ecaac716ba85a9b9a8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-42395290', 'ctest-vn-98915225'], 'port_security_enabled': True, 'description': ''}} 2024-11-08 23:21:33,055 - DEBUG - Response for create_subnet : {'subnet': {'id': '3873722c-7068-4200-85fe-d4545c812697', 'name': '', 'tenant_id': 'c0a5fe6c204949ecaac716ba85a9b9a8', 'network_id': '8b144c2e-7f75-4554-ac7e-0354f4bc3397', 'ip_version': 4, 'cidr': '146.145.181.192/26', 'allocation_pools': [{'start': '146.145.181.194', 'end': '146.145.181.254'}], 'gateway_ip': '146.145.181.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.145.181.194', 'tags': [], 'project_id': 'c0a5fe6c204949ecaac716ba85a9b9a8'}} 2024-11-08 23:21:33,072 - INFO - Created VN ctest-vn-98915225 2024-11-08 23:21:33,127 - DEBUG - VN ctest-vn-98915225 UUID is 8b144c2e-7f75-4554-ac7e-0354f4bc3397 2024-11-08 23:21:33,296 - DEBUG - Services list from nova: [, , ] 2024-11-08 23:21:34,301 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2243-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2243-1) 2024-11-08 23:21:35,444 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2243-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2243-1) 2024-11-08 23:21:35,444 - INFO - Waiting for VM ctest-TestBasicVMVNx-42395290-86825801 to be up.. 2024-11-08 23:21:35,535 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-08 23:21:40,612 - DEBUG - VM is in ACTIVE state now 2024-11-08 23:21:40,612 - INFO - VM name : ctest-TestBasicVMVNx-42395290-86825801 2024-11-08 23:21:40,684 - DEBUG - VM ctest-TestBasicVMVNx-42395290-86825801 ID is d684cddf-1b8d-4544-8035-e2139b3b059d 2024-11-08 23:21:40,700 - DEBUG - VM ctest-TestBasicVMVNx-42395290-86825801 launched on Node cn-jenkins-deploy-platform-ansible-os-2243-1 2024-11-08 23:21:40,777 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/d684cddf-1b8d-4544-8035-e2139b3b059d 2024-11-08 23:21:41,070 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/d684cddf-1b8d-4544-8035-e2139b3b059d 2024-11-08 23:21:41,103 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/79975528-31a1-4f24-b8e9-7b1fdfd86779 2024-11-08 23:21:44,383 - 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 1031ms') 2024-11-08 23:21:44,383 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-42395290-86825801 failed! 2024-11-08 23:21:44,440 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-42395290:ctest-vn-98915225 is 146.145.181.193 and allocation pool is NOT set 2024-11-08 23:21:46,499 - 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.63 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.414 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.414/2.023/3.632/1.609 ms') 2024-11-08 23:21:46,499 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-42395290-86825801 passed 2024-11-08 23:21:46,655 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-08 23:21:46,656 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-42395290-86825801, IP 146.145.181.195, Port 22 2024-11-08 23:21:46,811 - DEBUG - VM ctest-TestBasicVMVNx-42395290-86825801 is ready for SSH connections 2024-11-08 23:21:46,811 - INFO - Waiting for VM ctest-TestBasicVMVNx-42395290-68343972 to be up.. 2024-11-08 23:21:46,893 - DEBUG - VM is in ACTIVE state now 2024-11-08 23:21:46,893 - INFO - VM name : ctest-TestBasicVMVNx-42395290-68343972 2024-11-08 23:21:46,965 - DEBUG - VM ctest-TestBasicVMVNx-42395290-68343972 ID is f483abc3-f74b-473a-8352-411f4f098e7f 2024-11-08 23:21:46,965 - DEBUG - VM ctest-TestBasicVMVNx-42395290-68343972 launched on Node cn-jenkins-deploy-platform-ansible-os-2243-1 2024-11-08 23:21:47,039 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/f483abc3-f74b-473a-8352-411f4f098e7f 2024-11-08 23:21:47,047 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/5e86422c-7c54-4eb5-80d1-5c082e7119c0 2024-11-08 23:21:48,288 - 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.444 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.444/1.770/3.096/1.326 ms') 2024-11-08 23:21:48,288 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-42395290-68343972 passed 2024-11-08 23:21:48,451 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-08 23:21:48,451 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-42395290-68343972, IP 146.145.181.196, Port 22 2024-11-08 23:21:48,621 - DEBUG - VM ctest-TestBasicVMVNx-42395290-68343972 is ready for SSH connections 2024-11-08 23:21:48,622 - DEBUG - FILE SIZE = 1303B 2024-11-08 23:21:48,622 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-42395290-86825801 to ctest-TestBasicVMVNx-42395290-68343972 using scp 2024-11-08 23:21:48,622 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-08 23:21:48,629 - 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-11-08 23:21:48,629 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-11-08 23:21:50,487 - DEBUG - 1+0 records in 1+0 records out 2024-11-08 23:21:51,353 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-08 23:21:51,669 - 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-11-08 23:21:51,669 - DEBUG - ls -l testfile 2024-11-08 23:21:53,243 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 8 16:21 testfile 2024-11-08 23:21:53,243 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-42395290-68343972 2024-11-08 23:21:53,243 - INFO - Deleting VM ctest-TestBasicVMVNx-42395290-68343972 2024-11-08 23:21:53,312 - INFO - Deleting VM ctest-TestBasicVMVNx-42395290-86825801 2024-11-08 23:21:53,389 - INFO - Deleting VN ctest-vn-98915225 2024-11-08 23:21:53,429 - DEBUG - VN 8b144c2e-7f75-4554-ac7e-0354f4bc3397 still in use: Unable to complete operation on network 8b144c2e-7f75-4554-ac7e-0354f4bc3397. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5a054d86-62ab-45ed-bad9-a6f7157b0923'] 2024-11-08 23:21:53,429 - WARNING - Deleting VN ctest-vn-98915225 failed..Will retry 2024-11-08 23:21:55,535 - DEBUG - Response for deleting network () 2024-11-08 23:21:55,789 - DEBUG - No XMPP flaps were noticed during the test
2024-11-08 23:21:55,789 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2024-11-08 23:21:55,789 - INFO - -------------------------------------------------------------------------------- 2024-11-08 23:21:56,451 - INFO - Deleted project: ctest-TestBasicVMVNx-42395290, ID : c0a5fe6c-2049-49ec-aac7-16ba85a9b9a8