2024-08-22 14:28:15,640 - INFO - Domain Default found not creating 2024-08-22 14:28:15,804 - INFO - Project ctest-TestBasicVMVNx-14463186 not found, creating it 2024-08-22 14:28:16,287 - INFO - Created Project:ctest-TestBasicVMVNx-14463186, ID : 774fe48f-7dc1-4692-bea9-7b21fb84e3f7 2024-08-22 14:28:17,772 - INFO - ================================================================================ 2024-08-22 14:28:17,773 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-08-22 14:28:17,773 - 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-22 14:28:18,032 - DEBUG - Nothing to compare xmpp stats {'10.0.0.24': {'10.20.0.7': '0'}} with 2024-08-22 14:28:18,032 - INFO - Initial checks done. Running the testcase now 2024-08-22 14:28:18,032 - INFO - 2024-08-22 14:28:18,587 - DEBUG - Response for create_network : {'network': {'id': 'f17b293f-1572-4155-abc9-631dc2a1da32', 'name': 'ctest-vn-00317856', 'tenant_id': '774fe48f7dc14692bea97b21fb84e3f7', 'project_id': '774fe48f7dc14692bea97b21fb84e3f7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-14463186', 'ctest-vn-00317856'], 'port_security_enabled': True, 'description': ''}} 2024-08-22 14:28:18,755 - DEBUG - Response for create_subnet : {'subnet': {'id': '26c81d1e-ee15-4ede-bd1e-47b09c875285', 'name': '', 'tenant_id': '774fe48f7dc14692bea97b21fb84e3f7', 'network_id': 'f17b293f-1572-4155-abc9-631dc2a1da32', 'ip_version': 4, 'cidr': '222.200.34.64/26', 'allocation_pools': [{'start': '222.200.34.66', 'end': '222.200.34.126'}], 'gateway_ip': '222.200.34.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '222.200.34.66', 'tags': [], 'project_id': '774fe48f7dc14692bea97b21fb84e3f7'}} 2024-08-22 14:28:18,774 - INFO - Created VN ctest-vn-00317856 2024-08-22 14:28:18,826 - DEBUG - VN ctest-vn-00317856 UUID is f17b293f-1572-4155-abc9-631dc2a1da32 2024-08-22 14:28:18,989 - DEBUG - Services list from nova: [, , ] 2024-08-22 14:28:20,004 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1714-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1714-1) 2024-08-22 14:28:21,203 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1714-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1714-1) 2024-08-22 14:28:21,203 - INFO - Waiting for VM ctest-TestBasicVMVNx-14463186-70875500 to be up.. 2024-08-22 14:28:21,279 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-22 14:28:26,363 - DEBUG - VM is in ACTIVE state now 2024-08-22 14:28:26,363 - INFO - VM name : ctest-TestBasicVMVNx-14463186-70875500 2024-08-22 14:28:26,442 - DEBUG - VM ctest-TestBasicVMVNx-14463186-70875500 ID is e364a629-6155-4173-bb2d-7a9b30ff4b98 2024-08-22 14:28:26,464 - DEBUG - VM ctest-TestBasicVMVNx-14463186-70875500 launched on Node cn-jenkins-deploy-platform-ansible-os-1714-1 2024-08-22 14:28:26,545 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/e364a629-6155-4173-bb2d-7a9b30ff4b98 2024-08-22 14:28:26,841 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/e364a629-6155-4173-bb2d-7a9b30ff4b98 2024-08-22 14:28:27,016 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/e76c85a0-e0c9-44be-8f08-c0ea2fc98dc8 2024-08-22 14:28:30,291 - 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 1031ms') 2024-08-22 14:28:30,291 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-14463186-70875500 failed! 2024-08-22 14:28:30,354 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-14463186:ctest-vn-00317856 is 222.200.34.65 and allocation pool is NOT set 2024-08-22 14:28:32,412 - 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.58 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.426 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.426/2.502/4.578/2.076 ms') 2024-08-22 14:28:32,412 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-14463186-70875500 passed 2024-08-22 14:28:32,562 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-22 14:28:32,562 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-14463186-70875500, IP 222.200.34.67, Port 22 2024-08-22 14:28:32,722 - DEBUG - VM ctest-TestBasicVMVNx-14463186-70875500 is ready for SSH connections 2024-08-22 14:28:32,722 - INFO - Waiting for VM ctest-TestBasicVMVNx-14463186-90665923 to be up.. 2024-08-22 14:28:32,802 - DEBUG - VM is in ACTIVE state now 2024-08-22 14:28:32,802 - INFO - VM name : ctest-TestBasicVMVNx-14463186-90665923 2024-08-22 14:28:32,882 - DEBUG - VM ctest-TestBasicVMVNx-14463186-90665923 ID is 82a5762d-2881-4bfd-bece-fab61b5f90f0 2024-08-22 14:28:32,882 - DEBUG - VM ctest-TestBasicVMVNx-14463186-90665923 launched on Node cn-jenkins-deploy-platform-ansible-os-1714-1 2024-08-22 14:28:32,970 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/82a5762d-2881-4bfd-bece-fab61b5f90f0 2024-08-22 14:28:32,980 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/e915dff9-ced0-496e-814f-9e7049c76705 2024-08-22 14:28:34,227 - 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.29 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.342 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.342/1.816/3.291/1.474 ms') 2024-08-22 14:28:34,228 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-14463186-90665923 passed 2024-08-22 14:28:34,378 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-22 14:28:34,378 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-14463186-90665923, IP 222.200.34.68, Port 22 2024-08-22 14:28:34,534 - DEBUG - VM ctest-TestBasicVMVNx-14463186-90665923 is ready for SSH connections 2024-08-22 14:28:34,534 - DEBUG - FILE SIZE = 1303B 2024-08-22 14:28:34,534 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-14463186-70875500 to ctest-TestBasicVMVNx-14463186-90665923 using scp 2024-08-22 14:28:34,535 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-22 14:28:34,540 - 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.24, gateway password: c0ntrail123 2024-08-22 14:28:34,541 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-08-22 14:28:36,442 - DEBUG - 1+0 records in 1+0 records out 2024-08-22 14:28:37,038 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-22 14:28:37,363 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.24, gateway password: c0ntrail123 2024-08-22 14:28:37,363 - DEBUG - ls -l testfile 2024-08-22 14:28:38,983 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 22 08:28 testfile 2024-08-22 14:28:38,983 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-14463186-90665923 2024-08-22 14:28:38,983 - INFO - Deleting VM ctest-TestBasicVMVNx-14463186-90665923 2024-08-22 14:28:39,060 - INFO - Deleting VM ctest-TestBasicVMVNx-14463186-70875500 2024-08-22 14:28:39,132 - INFO - Deleting VN ctest-vn-00317856 2024-08-22 14:28:39,172 - DEBUG - VN f17b293f-1572-4155-abc9-631dc2a1da32 still in use: Unable to complete operation on network f17b293f-1572-4155-abc9-631dc2a1da32. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7c31b21c-a393-473f-a5ab-993100f4a895'] 2024-08-22 14:28:39,172 - WARNING - Deleting VN ctest-vn-00317856 failed..Will retry 2024-08-22 14:28:41,279 - DEBUG - Response for deleting network () 2024-08-22 14:28:41,542 - DEBUG - No XMPP flaps were noticed during the test
2024-08-22 14:28:41,542 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2024-08-22 14:28:41,542 - INFO - -------------------------------------------------------------------------------- 2024-08-22 14:28:42,219 - INFO - Deleted project: ctest-TestBasicVMVNx-14463186, ID : 774fe48f-7dc1-4692-bea9-7b21fb84e3f7