2025-01-07 13:57:25,387 - INFO - Domain Default found not creating 2025-01-07 13:57:25,553 - INFO - Project ctest-TestBasicVMVNx-19229570 not found, creating it 2025-01-07 13:57:26,068 - INFO - Created Project:ctest-TestBasicVMVNx-19229570, ID : 11e2c882-2e7c-4e8c-9b42-32d0e12c70cc 2025-01-07 13:57:28,139 - INFO - ================================================================================ 2025-01-07 13:57:28,139 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-01-07 13:57:28,139 - 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 2025-01-07 13:57:28,398 - DEBUG - Nothing to compare xmpp stats {'10.0.0.12': {'10.20.0.5': '0'}} with 2025-01-07 13:57:28,398 - INFO - Initial checks done. Running the testcase now 2025-01-07 13:57:28,398 - INFO - 2025-01-07 13:57:28,943 - DEBUG - Response for create_network : {'network': {'id': '90d95b59-3bdd-45be-bf83-706ff564d7ca', 'name': 'ctest-vn-49774167', 'tenant_id': '11e2c8822e7c4e8c9b4232d0e12c70cc', 'project_id': '11e2c8822e7c4e8c9b4232d0e12c70cc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-19229570', 'ctest-vn-49774167'], 'port_security_enabled': True, 'description': ''}} 2025-01-07 13:57:29,126 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e829099a-8eae-4819-9ebb-37a6b0723df1', 'name': '', 'tenant_id': '11e2c8822e7c4e8c9b4232d0e12c70cc', 'network_id': '90d95b59-3bdd-45be-bf83-706ff564d7ca', 'ip_version': 4, 'cidr': '24.238.98.64/26', 'allocation_pools': [{'start': '24.238.98.66', 'end': '24.238.98.126'}], 'gateway_ip': '24.238.98.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '24.238.98.66', 'tags': [], 'project_id': '11e2c8822e7c4e8c9b4232d0e12c70cc'}} 2025-01-07 13:57:29,144 - INFO - Created VN ctest-vn-49774167 2025-01-07 13:57:29,199 - DEBUG - VN ctest-vn-49774167 UUID is 90d95b59-3bdd-45be-bf83-706ff564d7ca 2025-01-07 13:57:29,368 - DEBUG - Services list from nova: [, , ] 2025-01-07 13:57:30,375 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2550-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2550-1) 2025-01-07 13:57:31,510 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2550-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2550-1) 2025-01-07 13:57:31,510 - INFO - Waiting for VM ctest-TestBasicVMVNx-19229570-91581195 to be up.. 2025-01-07 13:57:31,599 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-07 13:57:36,684 - DEBUG - VM is in ACTIVE state now 2025-01-07 13:57:36,685 - INFO - VM name : ctest-TestBasicVMVNx-19229570-91581195 2025-01-07 13:57:36,769 - DEBUG - VM ctest-TestBasicVMVNx-19229570-91581195 ID is a05839f7-95c0-42d8-89ca-c0f983cf1cb9 2025-01-07 13:57:36,794 - DEBUG - VM ctest-TestBasicVMVNx-19229570-91581195 launched on Node cn-jenkins-deploy-platform-ansible-os-2550-1 2025-01-07 13:57:36,889 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/a05839f7-95c0-42d8-89ca-c0f983cf1cb9 2025-01-07 13:57:37,189 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/a05839f7-95c0-42d8-89ca-c0f983cf1cb9 2025-01-07 13:57:37,222 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/fb0da10e-a9e0-4355-a89a-369dacf11d23 2025-01-07 13:57:40,488 - 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 1026ms') 2025-01-07 13:57:40,488 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-19229570-91581195 failed! 2025-01-07 13:57:40,547 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-19229570:ctest-vn-49774167 is 24.238.98.65 and allocation pool is NOT set 2025-01-07 13:57:42,603 - 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=6.39 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.420 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.420/3.403/6.387/2.983 ms') 2025-01-07 13:57:42,604 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-19229570-91581195 passed 2025-01-07 13:57:42,755 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-07 13:57:42,755 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-19229570-91581195, IP 24.238.98.67, Port 22 2025-01-07 13:57:42,924 - DEBUG - VM ctest-TestBasicVMVNx-19229570-91581195 is ready for SSH connections 2025-01-07 13:57:42,924 - INFO - Waiting for VM ctest-TestBasicVMVNx-19229570-34183882 to be up.. 2025-01-07 13:57:42,998 - DEBUG - VM is in ACTIVE state now 2025-01-07 13:57:42,998 - INFO - VM name : ctest-TestBasicVMVNx-19229570-34183882 2025-01-07 13:57:43,079 - DEBUG - VM ctest-TestBasicVMVNx-19229570-34183882 ID is a89c2ff5-cb49-4f6c-b490-c18c23203335 2025-01-07 13:57:43,079 - DEBUG - VM ctest-TestBasicVMVNx-19229570-34183882 launched on Node cn-jenkins-deploy-platform-ansible-os-2550-1 2025-01-07 13:57:43,260 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/a89c2ff5-cb49-4f6c-b490-c18c23203335 2025-01-07 13:57:43,280 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/30ca7791-0300-4d14-b915-e51e754f03fc 2025-01-07 13:57:44,529 - 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.49 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.465 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.465/1.978/3.492/1.513 ms') 2025-01-07 13:57:44,529 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-19229570-34183882 passed 2025-01-07 13:57:44,683 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-07 13:57:44,683 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-19229570-34183882, IP 24.238.98.68, Port 22 2025-01-07 13:57:44,845 - DEBUG - VM ctest-TestBasicVMVNx-19229570-34183882 is ready for SSH connections 2025-01-07 13:57:44,845 - DEBUG - FILE SIZE = 1303B 2025-01-07 13:57:44,845 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-19229570-91581195 to ctest-TestBasicVMVNx-19229570-34183882 using scp 2025-01-07 13:57:44,846 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-07 13:57:44,870 - 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.12, gateway password: c0ntrail123 2025-01-07 13:57:44,870 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-01-07 13:57:46,802 - DEBUG - 1+0 records in 1+0 records out 2025-01-07 13:57:47,442 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-07 13:57:47,782 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.12, gateway password: c0ntrail123 2025-01-07 13:57:47,783 - DEBUG - ls -l testfile 2025-01-07 13:57:49,372 - DEBUG - -rw------- 1 cirros cirros 1303 Jan 7 06:57 testfile 2025-01-07 13:57:49,372 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-19229570-34183882 2025-01-07 13:57:49,372 - INFO - Deleting VM ctest-TestBasicVMVNx-19229570-34183882 2025-01-07 13:57:49,445 - INFO - Deleting VM ctest-TestBasicVMVNx-19229570-91581195 2025-01-07 13:57:49,526 - INFO - Deleting VN ctest-vn-49774167 2025-01-07 13:57:49,563 - DEBUG - VN 90d95b59-3bdd-45be-bf83-706ff564d7ca still in use: Unable to complete operation on network 90d95b59-3bdd-45be-bf83-706ff564d7ca. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-99c41cb8-ed0f-47c3-9b6b-a17801ab2b65'] 2025-01-07 13:57:49,563 - WARNING - Deleting VN ctest-vn-49774167 failed..Will retry 2025-01-07 13:57:51,668 - DEBUG - Response for deleting network () 2025-01-07 13:57:51,931 - DEBUG - No XMPP flaps were noticed during the test
2025-01-07 13:57:51,931 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-01-07 13:57:51,931 - INFO - -------------------------------------------------------------------------------- 2025-01-07 13:57:52,607 - INFO - Deleted project: ctest-TestBasicVMVNx-19229570, ID : 11e2c882-2e7c-4e8c-9b42-32d0e12c70cc