2025-06-19 12:49:03,991 - INFO - Domain Default found not creating 2025-06-19 12:49:04,155 - INFO - Project ctest-TestBasicVMVNx-55457831 not found, creating it 2025-06-19 12:49:04,664 - INFO - Created Project:ctest-TestBasicVMVNx-55457831, ID : 40536132-7700-409d-85f7-17b85bb77e01 2025-06-19 12:49:06,206 - INFO - ================================================================================ 2025-06-19 12:49:06,207 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-06-19 12:49:06,207 - 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-06-19 12:49:06,480 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.14': '0'}} with 2025-06-19 12:49:06,480 - INFO - Initial checks done. Running the testcase now 2025-06-19 12:49:06,480 - INFO - 2025-06-19 12:49:07,068 - DEBUG - Response for create_network : {'network': {'id': '072378de-a8b1-47c9-9bc2-d00f097a4fef', 'name': 'ctest-vn-96956947', 'tenant_id': '405361327700409d85f717b85bb77e01', 'project_id': '405361327700409d85f717b85bb77e01', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-55457831', 'ctest-vn-96956947'], 'port_security_enabled': True, 'description': ''}} 2025-06-19 12:49:07,300 - DEBUG - Response for create_subnet : {'subnet': {'id': '8c3ba808-af5c-4b37-8e0b-6278f38f6938', 'name': '', 'tenant_id': '405361327700409d85f717b85bb77e01', 'network_id': '072378de-a8b1-47c9-9bc2-d00f097a4fef', 'ip_version': 4, 'cidr': '102.11.94.64/26', 'allocation_pools': [{'start': '102.11.94.66', 'end': '102.11.94.126'}], 'gateway_ip': '102.11.94.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '102.11.94.66', 'tags': [], 'project_id': '405361327700409d85f717b85bb77e01'}} 2025-06-19 12:49:07,328 - INFO - Created VN ctest-vn-96956947 2025-06-19 12:49:07,386 - DEBUG - VN ctest-vn-96956947 UUID is 072378de-a8b1-47c9-9bc2-d00f097a4fef 2025-06-19 12:49:07,570 - DEBUG - Services list from nova: [, , ] 2025-06-19 12:49:08,614 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3494-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3494-1) 2025-06-19 12:49:09,835 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3494-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3494-1) 2025-06-19 12:49:09,838 - INFO - Waiting for VM ctest-TestBasicVMVNx-55457831-07831352 to be up.. 2025-06-19 12:49:09,930 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-19 12:49:15,013 - DEBUG - VM is in ACTIVE state now 2025-06-19 12:49:15,013 - INFO - VM name : ctest-TestBasicVMVNx-55457831-07831352 2025-06-19 12:49:15,088 - DEBUG - VM ctest-TestBasicVMVNx-55457831-07831352 ID is 67af10c6-070f-478b-98af-d8a9f7b96be2 2025-06-19 12:49:15,105 - DEBUG - VM ctest-TestBasicVMVNx-55457831-07831352 launched on Node cn-jenkins-deploy-platform-ansible-os-3494-1 2025-06-19 12:49:15,175 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/67af10c6-070f-478b-98af-d8a9f7b96be2 2025-06-19 12:49:15,468 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/67af10c6-070f-478b-98af-d8a9f7b96be2 2025-06-19 12:49:15,514 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/3bd637ee-e8d3-4229-854b-2df0a0088e24 2025-06-19 12:49:18,798 - 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 1035ms') 2025-06-19 12:49:18,798 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-55457831-07831352 failed! 2025-06-19 12:49:18,854 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-55457831:ctest-vn-96956947 is 102.11.94.65 and allocation pool is NOT set 2025-06-19 12:49:20,921 - 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.55 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.90 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 = 1.896/3.223/4.551/1.327 ms') 2025-06-19 12:49:20,921 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-55457831-07831352 passed 2025-06-19 12:49:21,086 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 12:49:21,086 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-55457831-07831352, IP 102.11.94.67, Port 22 2025-06-19 12:49:21,241 - DEBUG - VM ctest-TestBasicVMVNx-55457831-07831352 is ready for SSH connections 2025-06-19 12:49:21,241 - INFO - Waiting for VM ctest-TestBasicVMVNx-55457831-32367802 to be up.. 2025-06-19 12:49:21,331 - DEBUG - VM is in ACTIVE state now 2025-06-19 12:49:21,331 - INFO - VM name : ctest-TestBasicVMVNx-55457831-32367802 2025-06-19 12:49:21,409 - DEBUG - VM ctest-TestBasicVMVNx-55457831-32367802 ID is 130b50fe-6761-4a5b-b88a-5c7878731025 2025-06-19 12:49:21,409 - DEBUG - VM ctest-TestBasicVMVNx-55457831-32367802 launched on Node cn-jenkins-deploy-platform-ansible-os-3494-1 2025-06-19 12:49:21,487 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/130b50fe-6761-4a5b-b88a-5c7878731025 2025-06-19 12:49:21,497 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/dd68fb84-99ba-45e5-80e1-f4a4c25e4848 2025-06-19 12:49:22,745 - 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.01 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.444 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.444/1.726/3.008/1.282 ms') 2025-06-19 12:49:22,745 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-55457831-32367802 passed 2025-06-19 12:49:22,898 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 12:49:22,898 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-55457831-32367802, IP 102.11.94.68, Port 22 2025-06-19 12:49:23,061 - DEBUG - VM ctest-TestBasicVMVNx-55457831-32367802 is ready for SSH connections 2025-06-19 12:49:23,061 - DEBUG - FILE SIZE = 1303B 2025-06-19 12:49:23,061 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-55457831-07831352 to ctest-TestBasicVMVNx-55457831-32367802 using scp 2025-06-19 12:49:23,063 - 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.131, gateway password: c0ntrail123 2025-06-19 12:49:23,063 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-06-19 12:49:24,979 - DEBUG - 1+0 records in 1+0 records out 2025-06-19 12:49:25,756 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 12:49:26,078 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-06-19 12:49:26,079 - DEBUG - ls -l testfile 2025-06-19 12:49:27,621 - DEBUG - -rw------- 1 cirros cirros 1303 Jun 19 06:49 testfile 2025-06-19 12:49:27,622 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-55457831-32367802 2025-06-19 12:49:27,622 - INFO - Deleting VM ctest-TestBasicVMVNx-55457831-32367802 2025-06-19 12:49:27,694 - INFO - Deleting VM ctest-TestBasicVMVNx-55457831-07831352 2025-06-19 12:49:27,765 - INFO - Deleting VN ctest-vn-96956947 2025-06-19 12:49:27,801 - DEBUG - VN 072378de-a8b1-47c9-9bc2-d00f097a4fef still in use: Unable to complete operation on network 072378de-a8b1-47c9-9bc2-d00f097a4fef. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9dc44e30-f923-43fb-8179-10980169f8fb'] 2025-06-19 12:49:27,801 - WARNING - Deleting VN ctest-vn-96956947 failed..Will retry 2025-06-19 12:49:29,918 - DEBUG - Response for deleting network () 2025-06-19 12:49:30,175 - DEBUG - No XMPP flaps were noticed during the test
2025-06-19 12:49:30,176 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-06-19 12:49:30,176 - INFO - -------------------------------------------------------------------------------- 2025-06-19 12:49:30,866 - INFO - Deleted project: ctest-TestBasicVMVNx-55457831, ID : 40536132-7700-409d-85f7-17b85bb77e01