2024-09-05 14:10:40,277 - INFO - Domain Default found not creating 2024-09-05 14:10:40,455 - INFO - Project ctest-TestBasicVMVNx-72083486 not found, creating it 2024-09-05 14:10:40,945 - INFO - Created Project:ctest-TestBasicVMVNx-72083486, ID : beb40f14-c04a-499c-9227-52e79f27e734 2024-09-05 14:10:42,512 - INFO - ================================================================================ 2024-09-05 14:10:42,512 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-05 14:10:42,512 - 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-05 14:10:42,766 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.18': '0'}} with 2024-09-05 14:10:42,766 - INFO - Initial checks done. Running the testcase now 2024-09-05 14:10:42,766 - INFO - 2024-09-05 14:10:43,307 - DEBUG - Response for create_network : {'network': {'id': 'd86083d4-4a7c-40d3-b720-fdf5eaa5077c', 'name': 'ctest-vn-08614040', 'tenant_id': 'beb40f14c04a499c922752e79f27e734', 'project_id': 'beb40f14c04a499c922752e79f27e734', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-72083486', 'ctest-vn-08614040'], 'port_security_enabled': True, 'description': ''}} 2024-09-05 14:10:43,509 - DEBUG - Response for create_subnet : {'subnet': {'id': '63e77e55-325f-4ec4-b33c-b036e36d37fa', 'name': '', 'tenant_id': 'beb40f14c04a499c922752e79f27e734', 'network_id': 'd86083d4-4a7c-40d3-b720-fdf5eaa5077c', 'ip_version': 4, 'cidr': '171.153.190.0/26', 'allocation_pools': [{'start': '171.153.190.2', 'end': '171.153.190.62'}], 'gateway_ip': '171.153.190.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '171.153.190.2', 'tags': [], 'project_id': 'beb40f14c04a499c922752e79f27e734'}} 2024-09-05 14:10:43,530 - INFO - Created VN ctest-vn-08614040 2024-09-05 14:10:43,584 - DEBUG - VN ctest-vn-08614040 UUID is d86083d4-4a7c-40d3-b720-fdf5eaa5077c 2024-09-05 14:10:43,752 - DEBUG - Services list from nova: [, , ] 2024-09-05 14:10:44,784 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1855-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1855-1) 2024-09-05 14:10:45,940 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1855-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1855-1) 2024-09-05 14:10:45,940 - INFO - Waiting for VM ctest-TestBasicVMVNx-72083486-81275150 to be up.. 2024-09-05 14:10:46,035 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-05 14:10:51,125 - DEBUG - VM is in ACTIVE state now 2024-09-05 14:10:51,126 - INFO - VM name : ctest-TestBasicVMVNx-72083486-81275150 2024-09-05 14:10:51,204 - DEBUG - VM ctest-TestBasicVMVNx-72083486-81275150 ID is 3c083b8e-3b16-4863-a3be-fc4832776457 2024-09-05 14:10:51,224 - DEBUG - VM ctest-TestBasicVMVNx-72083486-81275150 launched on Node cn-jenkins-deploy-platform-ansible-os-1855-1 2024-09-05 14:10:51,303 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/3c083b8e-3b16-4863-a3be-fc4832776457 2024-09-05 14:10:51,602 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/3c083b8e-3b16-4863-a3be-fc4832776457 2024-09-05 14:10:51,641 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/2e981253-66de-4658-a5a1-3bdc6f293162 2024-09-05 14:10:54,884 - 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-05 14:10:54,884 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-72083486-81275150 failed! 2024-09-05 14:10:54,940 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-72083486:ctest-vn-08614040 is 171.153.190.1 and allocation pool is NOT set 2024-09-05 14:10:57,005 - 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.49 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.550 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.550/2.020/3.490/1.470 ms') 2024-09-05 14:10:57,005 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-72083486-81275150 passed 2024-09-05 14:10:57,168 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-05 14:10:57,168 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-72083486-81275150, IP 171.153.190.3, Port 22 2024-09-05 14:10:57,324 - DEBUG - VM ctest-TestBasicVMVNx-72083486-81275150 is ready for SSH connections 2024-09-05 14:10:57,324 - INFO - Waiting for VM ctest-TestBasicVMVNx-72083486-73635835 to be up.. 2024-09-05 14:10:57,404 - DEBUG - VM is in ACTIVE state now 2024-09-05 14:10:57,404 - INFO - VM name : ctest-TestBasicVMVNx-72083486-73635835 2024-09-05 14:10:57,487 - DEBUG - VM ctest-TestBasicVMVNx-72083486-73635835 ID is 8aa86e92-b7e8-4676-85a6-c961efbff6db 2024-09-05 14:10:57,488 - DEBUG - VM ctest-TestBasicVMVNx-72083486-73635835 launched on Node cn-jenkins-deploy-platform-ansible-os-1855-1 2024-09-05 14:10:57,579 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/8aa86e92-b7e8-4676-85a6-c961efbff6db 2024-09-05 14:10:57,590 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/883bfdde-d059-4e5a-a8c3-4cebd455bfd2 2024-09-05 14:10:58,831 - 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.02 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.407 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.407/1.715/3.023/1.308 ms') 2024-09-05 14:10:58,832 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-72083486-73635835 passed 2024-09-05 14:10:58,988 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-05 14:10:58,988 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-72083486-73635835, IP 171.153.190.4, Port 22 2024-09-05 14:10:59,143 - DEBUG - VM ctest-TestBasicVMVNx-72083486-73635835 is ready for SSH connections 2024-09-05 14:10:59,144 - DEBUG - FILE SIZE = 1303B 2024-09-05 14:10:59,144 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-72083486-81275150 to ctest-TestBasicVMVNx-72083486-73635835 using scp 2024-09-05 14:10:59,144 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-05 14:10:59,150 - 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.33, gateway password: c0ntrail123 2024-09-05 14:10:59,150 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-05 14:11:01,091 - DEBUG - 1+0 records in 1+0 records out 2024-09-05 14:11:01,722 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-05 14:11:02,059 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2024-09-05 14:11:02,059 - DEBUG - ls -l testfile 2024-09-05 14:11:03,669 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 5 08:11 testfile 2024-09-05 14:11:03,669 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-72083486-73635835 2024-09-05 14:11:03,670 - INFO - Deleting VM ctest-TestBasicVMVNx-72083486-73635835 2024-09-05 14:11:03,744 - INFO - Deleting VM ctest-TestBasicVMVNx-72083486-81275150 2024-09-05 14:11:03,811 - INFO - Deleting VN ctest-vn-08614040 2024-09-05 14:11:03,859 - DEBUG - VN d86083d4-4a7c-40d3-b720-fdf5eaa5077c still in use: Unable to complete operation on network d86083d4-4a7c-40d3-b720-fdf5eaa5077c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d6ac2612-fe27-49a2-a648-d7082fda0191'] 2024-09-05 14:11:03,859 - WARNING - Deleting VN ctest-vn-08614040 failed..Will retry 2024-09-05 14:11:05,996 - DEBUG - Response for deleting network () 2024-09-05 14:11:06,256 - DEBUG - No XMPP flaps were noticed during the test
2024-09-05 14:11:06,256 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2024-09-05 14:11:06,257 - INFO - -------------------------------------------------------------------------------- 2024-09-05 14:11:06,975 - INFO - Deleted project: ctest-TestBasicVMVNx-72083486, ID : beb40f14-c04a-499c-9227-52e79f27e734