2024-09-11 09:56:39,770 - INFO - Domain Default found not creating 2024-09-11 09:56:39,930 - INFO - Project ctest-TestBasicVMVNx-70429288 not found, creating it 2024-09-11 09:56:40,390 - INFO - Created Project:ctest-TestBasicVMVNx-70429288, ID : 434c7893-8a8a-47f9-afef-89bfc561592b 2024-09-11 09:56:41,850 - INFO - ================================================================================ 2024-09-11 09:56:41,850 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-11 09:56:41,850 - 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-11 09:56:42,105 - DEBUG - Nothing to compare xmpp stats {'10.0.0.53': {'10.20.0.6': '0'}} with 2024-09-11 09:56:42,105 - INFO - Initial checks done. Running the testcase now 2024-09-11 09:56:42,105 - INFO - 2024-09-11 09:56:42,648 - DEBUG - Response for create_network : {'network': {'id': '5da43984-4752-47ca-9f15-2b5450a45119', 'name': 'ctest-vn-03945685', 'tenant_id': '434c78938a8a47f9afef89bfc561592b', 'project_id': '434c78938a8a47f9afef89bfc561592b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-70429288', 'ctest-vn-03945685'], 'port_security_enabled': True, 'description': ''}} 2024-09-11 09:56:42,817 - DEBUG - Response for create_subnet : {'subnet': {'id': '597d851b-1bb7-4526-bc0f-cfff63376288', 'name': '', 'tenant_id': '434c78938a8a47f9afef89bfc561592b', 'network_id': '5da43984-4752-47ca-9f15-2b5450a45119', 'ip_version': 4, 'cidr': '77.115.23.128/26', 'allocation_pools': [{'start': '77.115.23.130', 'end': '77.115.23.190'}], 'gateway_ip': '77.115.23.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '77.115.23.130', 'tags': [], 'project_id': '434c78938a8a47f9afef89bfc561592b'}} 2024-09-11 09:56:42,835 - INFO - Created VN ctest-vn-03945685 2024-09-11 09:56:42,887 - DEBUG - VN ctest-vn-03945685 UUID is 5da43984-4752-47ca-9f15-2b5450a45119 2024-09-11 09:56:43,046 - DEBUG - Services list from nova: [, , ] 2024-09-11 09:56:44,083 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1892-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1892-1) 2024-09-11 09:56:45,260 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1892-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1892-1) 2024-09-11 09:56:45,260 - INFO - Waiting for VM ctest-TestBasicVMVNx-70429288-59134882 to be up.. 2024-09-11 09:56:45,347 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-11 09:56:50,423 - DEBUG - VM is in ACTIVE state now 2024-09-11 09:56:50,423 - INFO - VM name : ctest-TestBasicVMVNx-70429288-59134882 2024-09-11 09:56:50,499 - DEBUG - VM ctest-TestBasicVMVNx-70429288-59134882 ID is b129b4af-92df-490c-a4af-8e822118754d 2024-09-11 09:56:50,517 - DEBUG - VM ctest-TestBasicVMVNx-70429288-59134882 launched on Node cn-jenkins-deploy-platform-ansible-os-1892-1 2024-09-11 09:56:50,594 - DEBUG - Requesting: http://10.0.0.53:8082/virtual-machine/b129b4af-92df-490c-a4af-8e822118754d 2024-09-11 09:56:50,889 - DEBUG - Requesting: http://10.0.0.53:8082/virtual-machine/b129b4af-92df-490c-a4af-8e822118754d 2024-09-11 09:56:50,924 - DEBUG - Requesting: http://10.0.0.53:8082/virtual-machine-interface/d799ee07-9c59-48d8-b44c-97c3e6da1692 2024-09-11 09:56:54,179 - 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 1019ms') 2024-09-11 09:56:54,179 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-70429288-59134882 failed! 2024-09-11 09:56:54,235 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-70429288:ctest-vn-03945685 is 77.115.23.129 and allocation pool is NOT set 2024-09-11 09:56:56,292 - 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.64 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.802 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.802/2.721/4.641/1.919 ms') 2024-09-11 09:56:56,293 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-70429288-59134882 passed 2024-09-11 09:56:56,443 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-11 09:56:56,443 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-70429288-59134882, IP 77.115.23.131, Port 22 2024-09-11 09:56:56,598 - DEBUG - VM ctest-TestBasicVMVNx-70429288-59134882 is ready for SSH connections 2024-09-11 09:56:56,599 - INFO - Waiting for VM ctest-TestBasicVMVNx-70429288-80741349 to be up.. 2024-09-11 09:56:56,672 - DEBUG - VM is in ACTIVE state now 2024-09-11 09:56:56,672 - INFO - VM name : ctest-TestBasicVMVNx-70429288-80741349 2024-09-11 09:56:56,745 - DEBUG - VM ctest-TestBasicVMVNx-70429288-80741349 ID is 43e1d8c5-751b-41f1-ace1-ac70f6b794ef 2024-09-11 09:56:56,745 - DEBUG - VM ctest-TestBasicVMVNx-70429288-80741349 launched on Node cn-jenkins-deploy-platform-ansible-os-1892-1 2024-09-11 09:56:56,820 - DEBUG - Requesting: http://10.0.0.53:8082/virtual-machine/43e1d8c5-751b-41f1-ace1-ac70f6b794ef 2024-09-11 09:56:56,828 - DEBUG - Requesting: http://10.0.0.53:8082/virtual-machine-interface/6c1da098-e5df-4a5a-8056-4a7bdc7284cd 2024-09-11 09:56:58,067 - 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.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.482 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.482/1.623/2.764/1.141 ms') 2024-09-11 09:56:58,067 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-70429288-80741349 passed 2024-09-11 09:56:58,219 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-11 09:56:58,219 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-70429288-80741349, IP 77.115.23.132, Port 22 2024-09-11 09:56:58,375 - DEBUG - VM ctest-TestBasicVMVNx-70429288-80741349 is ready for SSH connections 2024-09-11 09:56:58,375 - DEBUG - FILE SIZE = 1303B 2024-09-11 09:56:58,375 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-70429288-59134882 to ctest-TestBasicVMVNx-70429288-80741349 using scp 2024-09-11 09:56:58,375 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-11 09:56:58,380 - 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.53, gateway password: c0ntrail123 2024-09-11 09:56:58,380 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-11 09:57:00,242 - DEBUG - 1+0 records in 1+0 records out 2024-09-11 09:57:00,887 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-11 09:57:01,219 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.53, gateway password: c0ntrail123 2024-09-11 09:57:01,220 - DEBUG - ls -l testfile 2024-09-11 09:57:02,851 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 11 03:57 testfile 2024-09-11 09:57:02,851 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-70429288-80741349 2024-09-11 09:57:02,851 - INFO - Deleting VM ctest-TestBasicVMVNx-70429288-80741349 2024-09-11 09:57:02,924 - INFO - Deleting VM ctest-TestBasicVMVNx-70429288-59134882 2024-09-11 09:57:02,997 - INFO - Deleting VN ctest-vn-03945685 2024-09-11 09:57:03,039 - DEBUG - VN 5da43984-4752-47ca-9f15-2b5450a45119 still in use: Unable to complete operation on network 5da43984-4752-47ca-9f15-2b5450a45119. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7ed036b9-9f37-41de-b98e-126f03eff69e'] 2024-09-11 09:57:03,040 - WARNING - Deleting VN ctest-vn-03945685 failed..Will retry 2024-09-11 09:57:05,157 - DEBUG - Response for deleting network () 2024-09-11 09:57:05,414 - DEBUG - No XMPP flaps were noticed during the test
2024-09-11 09:57:05,414 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2024-09-11 09:57:05,414 - INFO - -------------------------------------------------------------------------------- 2024-09-11 09:57:06,081 - INFO - Deleted project: ctest-TestBasicVMVNx-70429288, ID : 434c7893-8a8a-47f9-afef-89bfc561592b