2024-12-30 02:28:41,403 - INFO - Domain Default found not creating 2024-12-30 02:28:41,556 - INFO - Project ctest-TestBasicVMVNx-75508789 not found, creating it 2024-12-30 02:28:42,004 - INFO - Created Project:ctest-TestBasicVMVNx-75508789, ID : e6899348-0dc4-4d83-87ca-7b69cc25e1a7 2024-12-30 02:28:43,422 - INFO - ================================================================================ 2024-12-30 02:28:43,422 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-12-30 02:28:43,422 - 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-12-30 02:28:43,677 - DEBUG - Nothing to compare xmpp stats {'10.0.0.17': {'10.0.0.17': '0'}} with 2024-12-30 02:28:43,677 - INFO - Initial checks done. Running the testcase now 2024-12-30 02:28:43,677 - INFO - 2024-12-30 02:28:44,221 - DEBUG - Response for create_network : {'network': {'id': '1992e0a2-d673-4616-b2d5-c865f43fd0cc', 'name': 'ctest-vn-56252058', 'tenant_id': 'e68993480dc44d8387ca7b69cc25e1a7', 'project_id': 'e68993480dc44d8387ca7b69cc25e1a7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-75508789', 'ctest-vn-56252058'], 'port_security_enabled': True, 'description': ''}} 2024-12-30 02:28:44,401 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bce6dfe7-6136-49c6-ad60-56cd6b9b3dcd', 'name': '', 'tenant_id': 'e68993480dc44d8387ca7b69cc25e1a7', 'network_id': '1992e0a2-d673-4616-b2d5-c865f43fd0cc', 'ip_version': 4, 'cidr': '97.101.239.192/26', 'allocation_pools': [{'start': '97.101.239.194', 'end': '97.101.239.254'}], 'gateway_ip': '97.101.239.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '97.101.239.194', 'tags': [], 'project_id': 'e68993480dc44d8387ca7b69cc25e1a7'}} 2024-12-30 02:28:44,417 - INFO - Created VN ctest-vn-56252058 2024-12-30 02:28:44,471 - DEBUG - VN ctest-vn-56252058 UUID is 1992e0a2-d673-4616-b2d5-c865f43fd0cc 2024-12-30 02:28:44,635 - DEBUG - Services list from nova: [, , ] 2024-12-30 02:28:45,606 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2502-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2502-1) 2024-12-30 02:28:46,697 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2502-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2502-1) 2024-12-30 02:28:46,697 - INFO - Waiting for VM ctest-TestBasicVMVNx-75508789-32005283 to be up.. 2024-12-30 02:28:46,790 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-12-30 02:28:51,885 - DEBUG - VM is in ACTIVE state now 2024-12-30 02:28:51,885 - INFO - VM name : ctest-TestBasicVMVNx-75508789-32005283 2024-12-30 02:28:51,955 - DEBUG - VM ctest-TestBasicVMVNx-75508789-32005283 ID is 06a11d45-3ba5-4264-829f-c225501f96f0 2024-12-30 02:28:51,972 - DEBUG - VM ctest-TestBasicVMVNx-75508789-32005283 launched on Node cn-jenkins-deploy-platform-ansible-os-2502-1. 2024-12-30 02:28:52,046 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/06a11d45-3ba5-4264-829f-c225501f96f0 2024-12-30 02:28:52,338 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/06a11d45-3ba5-4264-829f-c225501f96f0 2024-12-30 02:28:52,367 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/7a550958-3719-476d-a5cc-06ee95100c08 2024-12-30 02:28:55,623 - 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-12-30 02:28:55,623 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-75508789-32005283 failed! 2024-12-30 02:28:55,679 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-75508789:ctest-vn-56252058 is 97.101.239.193 and allocation pool is NOT set 2024-12-30 02:28:57,740 - 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=2.74 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.329 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.329/1.533/2.737/1.204 ms') 2024-12-30 02:28:57,741 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-75508789-32005283 passed 2024-12-30 02:28:57,900 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-12-30 02:28:57,900 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-75508789-32005283, IP 97.101.239.195, Port 22 2024-12-30 02:28:58,055 - DEBUG - VM ctest-TestBasicVMVNx-75508789-32005283 is ready for SSH connections 2024-12-30 02:28:58,055 - INFO - Waiting for VM ctest-TestBasicVMVNx-75508789-56246583 to be up.. 2024-12-30 02:28:58,146 - DEBUG - VM is in ACTIVE state now 2024-12-30 02:28:58,146 - INFO - VM name : ctest-TestBasicVMVNx-75508789-56246583 2024-12-30 02:28:58,236 - DEBUG - VM ctest-TestBasicVMVNx-75508789-56246583 ID is bd6863e4-2021-436f-a751-7e2f656abeca 2024-12-30 02:28:58,236 - DEBUG - VM ctest-TestBasicVMVNx-75508789-56246583 launched on Node cn-jenkins-deploy-platform-ansible-os-2502-1. 2024-12-30 02:28:58,324 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/bd6863e4-2021-436f-a751-7e2f656abeca 2024-12-30 02:28:58,334 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/0b62a6e0-364c-4604-9719-129a8a302d0f 2024-12-30 02:28:59,577 - 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.07 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.384 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.384/1.726/3.069/1.342 ms') 2024-12-30 02:28:59,577 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-75508789-56246583 passed 2024-12-30 02:28:59,731 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-12-30 02:28:59,731 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-75508789-56246583, IP 97.101.239.196, Port 22 2024-12-30 02:28:59,886 - DEBUG - VM ctest-TestBasicVMVNx-75508789-56246583 is ready for SSH connections 2024-12-30 02:28:59,886 - DEBUG - FILE SIZE = 1303B 2024-12-30 02:28:59,887 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-75508789-32005283 to ctest-TestBasicVMVNx-75508789-56246583 using scp 2024-12-30 02:28:59,888 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-12-30 02:28:59,892 - 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.17, gateway password: c0ntrail123 2024-12-30 02:28:59,892 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-12-30 02:29:01,774 - DEBUG - 1+0 records in 1+0 records out 2024-12-30 02:29:02,535 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-12-30 02:29:02,870 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123 2024-12-30 02:29:02,870 - DEBUG - ls -l testfile 2024-12-30 02:29:04,445 - DEBUG - -rw------- 1 cirros cirros 1303 Dec 29 19:29 testfile 2024-12-30 02:29:04,445 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-75508789-56246583 2024-12-30 02:29:04,445 - INFO - Deleting VM ctest-TestBasicVMVNx-75508789-56246583 2024-12-30 02:29:04,509 - INFO - Deleting VM ctest-TestBasicVMVNx-75508789-32005283 2024-12-30 02:29:04,571 - INFO - Deleting VN ctest-vn-56252058 2024-12-30 02:29:04,606 - DEBUG - VN 1992e0a2-d673-4616-b2d5-c865f43fd0cc still in use: Unable to complete operation on network 1992e0a2-d673-4616-b2d5-c865f43fd0cc. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2a4c3108-f80b-411a-b7d2-967c4918a187'] 2024-12-30 02:29:04,606 - WARNING - Deleting VN ctest-vn-56252058 failed..Will retry 2024-12-30 02:29:06,700 - DEBUG - Response for deleting network () 2024-12-30 02:29:06,957 - DEBUG - No XMPP flaps were noticed during the test
2024-12-30 02:29:06,958 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2024-12-30 02:29:06,958 - INFO - -------------------------------------------------------------------------------- 2024-12-30 02:29:07,638 - INFO - Deleted project: ctest-TestBasicVMVNx-75508789, ID : e6899348-0dc4-4d83-87ca-7b69cc25e1a7