2025-03-24 21:13:48,236 - INFO - Domain Default found not creating 2025-03-24 21:13:48,421 - INFO - Project ctest-TestBasicVMVNx-40888744 not found, creating it 2025-03-24 21:13:48,920 - INFO - Created Project:ctest-TestBasicVMVNx-40888744, ID : 8a32c76b-7555-45ab-a1a5-a03734cfac46 2025-03-24 21:13:51,059 - INFO - ================================================================================ 2025-03-24 21:13:51,059 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-03-24 21:13:51,059 - 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-03-24 21:13:51,319 - DEBUG - Nothing to compare xmpp stats {'10.0.0.17': {'10.20.0.19': '0'}} with 2025-03-24 21:13:51,319 - INFO - Initial checks done. Running the testcase now 2025-03-24 21:13:51,319 - INFO - 2025-03-24 21:13:51,843 - DEBUG - Response for create_network : {'network': {'id': '2cbd1a93-29de-44c5-9a9c-4b821afd4a3e', 'name': 'ctest-vn-37305687', 'tenant_id': '8a32c76b755545aba1a5a03734cfac46', 'project_id': '8a32c76b755545aba1a5a03734cfac46', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-40888744', 'ctest-vn-37305687'], 'port_security_enabled': True, 'description': ''}} 2025-03-24 21:13:52,072 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd1f85d0c-2fdc-4f6b-9a8a-a273783f9620', 'name': '', 'tenant_id': '8a32c76b755545aba1a5a03734cfac46', 'network_id': '2cbd1a93-29de-44c5-9a9c-4b821afd4a3e', 'ip_version': 4, 'cidr': '22.67.16.192/26', 'allocation_pools': [{'start': '22.67.16.194', 'end': '22.67.16.254'}], 'gateway_ip': '22.67.16.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '22.67.16.194', 'tags': [], 'project_id': '8a32c76b755545aba1a5a03734cfac46'}} 2025-03-24 21:13:52,094 - INFO - Created VN ctest-vn-37305687 2025-03-24 21:13:52,149 - DEBUG - VN ctest-vn-37305687 UUID is 2cbd1a93-29de-44c5-9a9c-4b821afd4a3e 2025-03-24 21:13:52,351 - DEBUG - Services list from nova: [, , ] 2025-03-24 21:13:53,364 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2945-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2945-1) 2025-03-24 21:13:54,587 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2945-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2945-1) 2025-03-24 21:13:54,588 - INFO - Waiting for VM ctest-TestBasicVMVNx-40888744-52746731 to be up.. 2025-03-24 21:13:54,687 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-24 21:13:59,933 - DEBUG - VM is in ACTIVE state now 2025-03-24 21:13:59,933 - INFO - VM name : ctest-TestBasicVMVNx-40888744-52746731 2025-03-24 21:14:00,014 - DEBUG - VM ctest-TestBasicVMVNx-40888744-52746731 ID is f0f58fb4-c94e-435e-8399-55d113be4a33 2025-03-24 21:14:00,033 - DEBUG - VM ctest-TestBasicVMVNx-40888744-52746731 launched on Node cn-jenkins-deploy-platform-ansible-os-2945-1 2025-03-24 21:14:00,120 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/f0f58fb4-c94e-435e-8399-55d113be4a33 2025-03-24 21:14:00,422 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/f0f58fb4-c94e-435e-8399-55d113be4a33 2025-03-24 21:14:00,454 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/2dd58436-9ff9-4f77-ac4c-3bab3255a98e 2025-03-24 21:14:03,721 - 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 1015ms') 2025-03-24 21:14:03,721 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-40888744-52746731 failed! 2025-03-24 21:14:03,777 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-40888744:ctest-vn-37305687 is 22.67.16.193 and allocation pool is NOT set 2025-03-24 21:14:05,837 - 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=3.88 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.446 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.446/2.164/3.882/1.718 ms') 2025-03-24 21:14:05,837 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-40888744-52746731 passed 2025-03-24 21:14:05,993 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-24 21:14:05,993 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-40888744-52746731, IP 22.67.16.195, Port 22 2025-03-24 21:14:06,157 - DEBUG - VM ctest-TestBasicVMVNx-40888744-52746731 is ready for SSH connections 2025-03-24 21:14:06,157 - INFO - Waiting for VM ctest-TestBasicVMVNx-40888744-82319148 to be up.. 2025-03-24 21:14:06,232 - DEBUG - VM is in ACTIVE state now 2025-03-24 21:14:06,232 - INFO - VM name : ctest-TestBasicVMVNx-40888744-82319148 2025-03-24 21:14:06,303 - DEBUG - VM ctest-TestBasicVMVNx-40888744-82319148 ID is a428d11a-bf01-45bb-8311-3576c9b15d98 2025-03-24 21:14:06,303 - DEBUG - VM ctest-TestBasicVMVNx-40888744-82319148 launched on Node cn-jenkins-deploy-platform-ansible-os-2945-1 2025-03-24 21:14:06,380 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/a428d11a-bf01-45bb-8311-3576c9b15d98 2025-03-24 21:14:06,388 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/95c44151-5d52-474c-bc9b-c3049b50674a 2025-03-24 21:14:07,632 - 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.72 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.433 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.433/1.576/2.720/1.143 ms') 2025-03-24 21:14:07,632 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-40888744-82319148 passed 2025-03-24 21:14:07,781 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-24 21:14:07,781 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-40888744-82319148, IP 22.67.16.196, Port 22 2025-03-24 21:14:07,950 - DEBUG - VM ctest-TestBasicVMVNx-40888744-82319148 is ready for SSH connections 2025-03-24 21:14:07,950 - DEBUG - FILE SIZE = 1303B 2025-03-24 21:14:07,950 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-40888744-52746731 to ctest-TestBasicVMVNx-40888744-82319148 using scp 2025-03-24 21:14:07,951 - 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 2025-03-24 21:14:07,951 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-03-24 21:14:09,839 - DEBUG - 1+0 records in 1+0 records out 2025-03-24 21:14:10,620 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-24 21:14:10,944 - 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 2025-03-24 21:14:10,944 - DEBUG - ls -l testfile 2025-03-24 21:14:12,520 - DEBUG - -rw------- 1 cirros cirros 1303 Mar 24 15:14 testfile 2025-03-24 21:14:12,520 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-40888744-82319148 2025-03-24 21:14:12,521 - INFO - Deleting VM ctest-TestBasicVMVNx-40888744-82319148 2025-03-24 21:14:12,603 - INFO - Deleting VM ctest-TestBasicVMVNx-40888744-52746731 2025-03-24 21:14:12,675 - INFO - Deleting VN ctest-vn-37305687 2025-03-24 21:14:12,719 - DEBUG - VN 2cbd1a93-29de-44c5-9a9c-4b821afd4a3e still in use: Unable to complete operation on network 2cbd1a93-29de-44c5-9a9c-4b821afd4a3e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f1c75ed8-7aad-466c-8f63-fe1472560514'] 2025-03-24 21:14:12,719 - WARNING - Deleting VN ctest-vn-37305687 failed..Will retry 2025-03-24 21:14:14,850 - DEBUG - Response for deleting network () 2025-03-24 21:14:15,104 - DEBUG - No XMPP flaps were noticed during the test 2025-03-24 21:14:15,104 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2025-03-24 21:14:15,104 - INFO - -------------------------------------------------------------------------------- 2025-03-24 21:14:15,806 - INFO - Deleted project: ctest-TestBasicVMVNx-40888744, ID : 8a32c76b-7555-45ab-a1a5-a03734cfac46