2024-08-26 21:29:29,830 - INFO - Domain Default found not creating 2024-08-26 21:29:29,984 - INFO - Project ctest-TestBasicVMVNx-93915328 not found, creating it 2024-08-26 21:29:30,467 - INFO - Created Project:ctest-TestBasicVMVNx-93915328, ID : 787899fc-e28a-4917-b8c5-b1256e2d5cbe 2024-08-26 21:29:31,949 - INFO - ================================================================================ 2024-08-26 21:29:31,949 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-08-26 21:29:31,949 - 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-08-26 21:29:32,202 - DEBUG - Nothing to compare xmpp stats {'10.0.0.68': {'10.20.0.6': '0'}} with 2024-08-26 21:29:32,203 - INFO - Initial checks done. Running the testcase now 2024-08-26 21:29:32,203 - INFO - 2024-08-26 21:29:32,741 - DEBUG - Response for create_network : {'network': {'id': 'edbbfd4e-924e-45bb-aeeb-41808e13d797', 'name': 'ctest-vn-00895051', 'tenant_id': '787899fce28a4917b8c5b1256e2d5cbe', 'project_id': '787899fce28a4917b8c5b1256e2d5cbe', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-93915328', 'ctest-vn-00895051'], 'port_security_enabled': True, 'description': ''}} 2024-08-26 21:29:32,949 - DEBUG - Response for create_subnet : {'subnet': {'id': '60efa4a0-69e8-49a4-9234-03bbf35312da', 'name': '', 'tenant_id': '787899fce28a4917b8c5b1256e2d5cbe', 'network_id': 'edbbfd4e-924e-45bb-aeeb-41808e13d797', 'ip_version': 4, 'cidr': '180.51.83.0/26', 'allocation_pools': [{'start': '180.51.83.2', 'end': '180.51.83.62'}], 'gateway_ip': '180.51.83.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '180.51.83.2', 'tags': [], 'project_id': '787899fce28a4917b8c5b1256e2d5cbe'}} 2024-08-26 21:29:32,971 - INFO - Created VN ctest-vn-00895051 2024-08-26 21:29:33,020 - DEBUG - VN ctest-vn-00895051 UUID is edbbfd4e-924e-45bb-aeeb-41808e13d797 2024-08-26 21:29:33,179 - DEBUG - Services list from nova: [, , ] 2024-08-26 21:29:34,235 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1773-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1773-1) 2024-08-26 21:29:35,329 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1773-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1773-1) 2024-08-26 21:29:35,330 - INFO - Waiting for VM ctest-TestBasicVMVNx-93915328-36909004 to be up.. 2024-08-26 21:29:35,430 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-26 21:29:40,525 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-26 21:29:45,602 - DEBUG - VM is in ACTIVE state now 2024-08-26 21:29:45,602 - INFO - VM name : ctest-TestBasicVMVNx-93915328-36909004 2024-08-26 21:29:45,674 - DEBUG - VM ctest-TestBasicVMVNx-93915328-36909004 ID is 1beff792-dfd3-42d1-bd73-e2944e3ceb67 2024-08-26 21:29:45,692 - DEBUG - VM ctest-TestBasicVMVNx-93915328-36909004 launched on Node cn-jenkins-deploy-platform-ansible-os-1773-1 2024-08-26 21:29:45,766 - DEBUG - Requesting: http://10.0.0.68:8082/virtual-machine/1beff792-dfd3-42d1-bd73-e2944e3ceb67 2024-08-26 21:29:46,059 - DEBUG - Requesting: http://10.0.0.68:8082/virtual-machine/1beff792-dfd3-42d1-bd73-e2944e3ceb67 2024-08-26 21:29:46,093 - DEBUG - Requesting: http://10.0.0.68:8082/virtual-machine-interface/8baa9020-7b90-4b2d-8a52-27ee0e7cc3b6 2024-08-26 21:29:47,335 - 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.82 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.297 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.297/1.558/2.820/1.261 ms') 2024-08-26 21:29:47,336 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-93915328-36909004 passed 2024-08-26 21:29:47,484 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 21:29:47,485 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-93915328-36909004, IP 180.51.83.3, Port 22 2024-08-26 21:29:47,636 - DEBUG - VM ctest-TestBasicVMVNx-93915328-36909004 is ready for SSH connections 2024-08-26 21:29:47,636 - INFO - Waiting for VM ctest-TestBasicVMVNx-93915328-27009220 to be up.. 2024-08-26 21:29:47,718 - DEBUG - VM is in ACTIVE state now 2024-08-26 21:29:47,719 - INFO - VM name : ctest-TestBasicVMVNx-93915328-27009220 2024-08-26 21:29:47,801 - DEBUG - VM ctest-TestBasicVMVNx-93915328-27009220 ID is 61a7fa61-bd8f-4f99-9aa9-acccc971a562 2024-08-26 21:29:47,801 - DEBUG - VM ctest-TestBasicVMVNx-93915328-27009220 launched on Node cn-jenkins-deploy-platform-ansible-os-1773-1 2024-08-26 21:29:47,876 - DEBUG - Requesting: http://10.0.0.68:8082/virtual-machine/61a7fa61-bd8f-4f99-9aa9-acccc971a562 2024-08-26 21:29:47,884 - DEBUG - Requesting: http://10.0.0.68:8082/virtual-machine-interface/ea97b0e8-a14d-4299-a5a0-f4962e8371ab 2024-08-26 21:29:51,148 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1023ms') 2024-08-26 21:29:51,148 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-93915328-27009220 failed! 2024-08-26 21:29:51,200 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-93915328:ctest-vn-00895051 is 180.51.83.1 and allocation pool is NOT set 2024-08-26 21:29:53,264 - 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.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.429 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.429/1.600/2.771/1.171 ms') 2024-08-26 21:29:55,019 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-93915328-27009220 passed 2024-08-26 21:29:55,172 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 21:29:55,172 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-93915328-27009220, IP 180.51.83.4, Port 22 2024-08-26 21:29:55,328 - DEBUG - VM ctest-TestBasicVMVNx-93915328-27009220 is ready for SSH connections 2024-08-26 21:29:55,328 - DEBUG - FILE SIZE = 1303B 2024-08-26 21:29:55,328 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-93915328-36909004 to ctest-TestBasicVMVNx-93915328-27009220 using scp 2024-08-26 21:29:55,329 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 21:29:55,334 - 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.68, gateway password: c0ntrail123 2024-08-26 21:29:55,334 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-08-26 21:29:56,919 - DEBUG - 1+0 records in 1+0 records out 2024-08-26 21:29:57,489 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 21:29:57,820 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.68, gateway password: c0ntrail123 2024-08-26 21:29:57,821 - DEBUG - ls -l testfile 2024-08-26 21:29:59,526 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 26 15:29 testfile 2024-08-26 21:29:59,526 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-93915328-27009220 2024-08-26 21:29:59,527 - INFO - Deleting VM ctest-TestBasicVMVNx-93915328-27009220 2024-08-26 21:29:59,597 - INFO - Deleting VM ctest-TestBasicVMVNx-93915328-36909004 2024-08-26 21:29:59,660 - INFO - Deleting VN ctest-vn-00895051 2024-08-26 21:29:59,707 - DEBUG - VN edbbfd4e-924e-45bb-aeeb-41808e13d797 still in use: Unable to complete operation on network edbbfd4e-924e-45bb-aeeb-41808e13d797. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f388079a-e320-43df-bd97-8f9bcbe06b7f'] 2024-08-26 21:29:59,707 - WARNING - Deleting VN ctest-vn-00895051 failed..Will retry 2024-08-26 21:30:01,834 - DEBUG - Response for deleting network () 2024-08-26 21:30:02,090 - DEBUG - No XMPP flaps were noticed during the test
2024-08-26 21:30:02,090 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:31]
2024-08-26 21:30:02,090 - INFO - -------------------------------------------------------------------------------- 2024-08-26 21:30:02,758 - INFO - Deleted project: ctest-TestBasicVMVNx-93915328, ID : 787899fc-e28a-4917-b8c5-b1256e2d5cbe