2024-09-17 14:36:24,402 - INFO - Domain Default found not creating 2024-09-17 14:36:24,601 - INFO - Project ctest-TestBasicVMVNx-02970045 not found, creating it 2024-09-17 14:36:25,101 - INFO - Created Project:ctest-TestBasicVMVNx-02970045, ID : b17de0ec-eddd-4ff4-9984-530af751403c 2024-09-17 14:36:26,843 - INFO - ================================================================================ 2024-09-17 14:36:26,843 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-17 14:36:26,843 - 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-17 14:36:27,105 - DEBUG - Nothing to compare xmpp stats {'10.0.0.28': {'10.20.0.25': '0'}} with 2024-09-17 14:36:27,105 - INFO - Initial checks done. Running the testcase now 2024-09-17 14:36:27,105 - INFO - 2024-09-17 14:36:27,797 - DEBUG - Response for create_network : {'network': {'id': 'efd4a161-d4c6-45ec-947a-0756fdfd4e16', 'name': 'ctest-vn-79867398', 'tenant_id': 'b17de0eceddd4ff49984530af751403c', 'project_id': 'b17de0eceddd4ff49984530af751403c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-02970045', 'ctest-vn-79867398'], 'port_security_enabled': True, 'description': ''}} 2024-09-17 14:36:28,013 - DEBUG - Response for create_subnet : {'subnet': {'id': '4a5c0a72-111a-416a-955f-9a0869d535c0', 'name': '', 'tenant_id': 'b17de0eceddd4ff49984530af751403c', 'network_id': 'efd4a161-d4c6-45ec-947a-0756fdfd4e16', 'ip_version': 4, 'cidr': '144.221.43.128/26', 'allocation_pools': [{'start': '144.221.43.130', 'end': '144.221.43.190'}], 'gateway_ip': '144.221.43.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '144.221.43.130', 'tags': [], 'project_id': 'b17de0eceddd4ff49984530af751403c'}} 2024-09-17 14:36:28,036 - INFO - Created VN ctest-vn-79867398 2024-09-17 14:36:28,098 - DEBUG - VN ctest-vn-79867398 UUID is efd4a161-d4c6-45ec-947a-0756fdfd4e16 2024-09-17 14:36:28,292 - DEBUG - Services list from nova: [, , ] 2024-09-17 14:36:29,491 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1962-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1962-1) 2024-09-17 14:36:30,874 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1962-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1962-1) 2024-09-17 14:36:30,874 - INFO - Waiting for VM ctest-TestBasicVMVNx-02970045-81229533 to be up.. 2024-09-17 14:36:31,105 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-17 14:36:36,200 - DEBUG - VM is in ACTIVE state now 2024-09-17 14:36:36,200 - INFO - VM name : ctest-TestBasicVMVNx-02970045-81229533 2024-09-17 14:36:36,289 - DEBUG - VM ctest-TestBasicVMVNx-02970045-81229533 ID is 7e25e358-126f-446d-b310-99ac9972a4d0 2024-09-17 14:36:36,315 - DEBUG - VM ctest-TestBasicVMVNx-02970045-81229533 launched on Node cn-jenkins-deploy-platform-ansible-os-1962-1 2024-09-17 14:36:36,407 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/7e25e358-126f-446d-b310-99ac9972a4d0 2024-09-17 14:36:36,749 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/7e25e358-126f-446d-b310-99ac9972a4d0 2024-09-17 14:36:36,793 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/f58431e0-96fb-4d8c-a474-61cca354ce05 2024-09-17 14:36:40,076 - 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 1002ms') 2024-09-17 14:36:40,077 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-02970045-81229533 failed! 2024-09-17 14:36:40,138 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-02970045:ctest-vn-79867398 is 144.221.43.129 and allocation pool is NOT set 2024-09-17 14:36:42,202 - 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.61 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.646 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.646/2.625/4.605/1.979 ms') 2024-09-17 14:36:42,202 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-02970045-81229533 passed 2024-09-17 14:36:42,366 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 14:36:42,366 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-02970045-81229533, IP 144.221.43.131, Port 22 2024-09-17 14:36:42,533 - DEBUG - VM ctest-TestBasicVMVNx-02970045-81229533 is ready for SSH connections 2024-09-17 14:36:42,534 - INFO - Waiting for VM ctest-TestBasicVMVNx-02970045-00473469 to be up.. 2024-09-17 14:36:42,630 - DEBUG - VM is in ACTIVE state now 2024-09-17 14:36:42,630 - INFO - VM name : ctest-TestBasicVMVNx-02970045-00473469 2024-09-17 14:36:42,732 - DEBUG - VM ctest-TestBasicVMVNx-02970045-00473469 ID is f0e9fff9-307e-4675-a54f-b18f9d828e37 2024-09-17 14:36:42,732 - DEBUG - VM ctest-TestBasicVMVNx-02970045-00473469 launched on Node cn-jenkins-deploy-platform-ansible-os-1962-1 2024-09-17 14:36:42,825 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/f0e9fff9-307e-4675-a54f-b18f9d828e37 2024-09-17 14:36:42,840 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/643c6290-c323-4423-b4e9-2587b3b218c4 2024-09-17 14:36:44,120 - 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=5.06 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.987 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.987/3.023/5.059/2.036 ms') 2024-09-17 14:36:44,120 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-02970045-00473469 passed 2024-09-17 14:36:44,290 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 14:36:44,290 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-02970045-00473469, IP 144.221.43.132, Port 22 2024-09-17 14:36:44,446 - DEBUG - VM ctest-TestBasicVMVNx-02970045-00473469 is ready for SSH connections 2024-09-17 14:36:44,446 - DEBUG - FILE SIZE = 1303B 2024-09-17 14:36:44,446 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-02970045-81229533 to ctest-TestBasicVMVNx-02970045-00473469 using scp 2024-09-17 14:36:44,447 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 14:36:44,454 - 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.28, gateway password: c0ntrail123 2024-09-17 14:36:44,454 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-17 14:36:46,435 - DEBUG - 1+0 records in 1+0 records out 2024-09-17 14:36:47,326 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 14:36:47,678 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.28, gateway password: c0ntrail123 2024-09-17 14:36:47,678 - DEBUG - ls -l testfile 2024-09-17 14:36:49,275 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 17 08:36 testfile 2024-09-17 14:36:49,275 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-02970045-00473469 2024-09-17 14:36:49,275 - INFO - Deleting VM ctest-TestBasicVMVNx-02970045-00473469 2024-09-17 14:36:49,352 - INFO - Deleting VM ctest-TestBasicVMVNx-02970045-81229533 2024-09-17 14:36:49,423 - INFO - Deleting VN ctest-vn-79867398 2024-09-17 14:36:49,475 - DEBUG - VN efd4a161-d4c6-45ec-947a-0756fdfd4e16 still in use: Unable to complete operation on network efd4a161-d4c6-45ec-947a-0756fdfd4e16. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3de7c249-899b-421e-9a34-d9f23914ac52'] 2024-09-17 14:36:49,475 - WARNING - Deleting VN ctest-vn-79867398 failed..Will retry 2024-09-17 14:36:51,650 - DEBUG - Response for deleting network () 2024-09-17 14:36:51,933 - DEBUG - No XMPP flaps were noticed during the test 2024-09-17 14:36:51,933 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25] 2024-09-17 14:36:51,933 - INFO - -------------------------------------------------------------------------------- 2024-09-17 14:36:52,749 - INFO - Deleted project: ctest-TestBasicVMVNx-02970045, ID : b17de0ec-eddd-4ff4-9984-530af751403c