2025-09-11 12:11:10,542 - INFO - Domain Default found not creating 2025-09-11 12:11:10,692 - INFO - Project ctest-TestBasicVMVNx-62150939 not found, creating it 2025-09-11 12:11:11,176 - INFO - Created Project:ctest-TestBasicVMVNx-62150939, ID : a088342d-f865-4c91-abc7-9bf60b87f39c 2025-09-11 12:11:12,857 - INFO - ================================================================================ 2025-09-11 12:11:12,857 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-09-11 12:11:12,857 - 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-09-11 12:11:13,115 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-11 12:11:13,115 - INFO - Initial checks done. Running the testcase now 2025-09-11 12:11:13,115 - INFO - 2025-09-11 12:11:13,700 - DEBUG - Response for create_network : {'network': {'id': '22428cec-eb6d-4128-8017-10805e71530d', 'name': 'ctest-vn-88960296', 'tenant_id': 'a088342df8654c91abc79bf60b87f39c', 'project_id': 'a088342df8654c91abc79bf60b87f39c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-62150939', 'ctest-vn-88960296'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 12:11:13,881 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bb21ddac-8af0-4ce6-a18f-fc7c7ffd25d6', 'name': '', 'tenant_id': 'a088342df8654c91abc79bf60b87f39c', 'network_id': '22428cec-eb6d-4128-8017-10805e71530d', 'ip_version': 4, 'cidr': '175.214.62.128/26', 'allocation_pools': [{'start': '175.214.62.130', 'end': '175.214.62.190'}], 'gateway_ip': '175.214.62.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '175.214.62.130', 'tags': [], 'project_id': 'a088342df8654c91abc79bf60b87f39c'}} 2025-09-11 12:11:13,899 - INFO - Created VN ctest-vn-88960296 2025-09-11 12:11:13,953 - DEBUG - VN ctest-vn-88960296 UUID is 22428cec-eb6d-4128-8017-10805e71530d 2025-09-11 12:11:14,122 - DEBUG - Services list from nova: [, , ] 2025-09-11 12:11:15,251 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4090-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4090-1) 2025-09-11 12:11:16,487 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4090-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4090-1) 2025-09-11 12:11:16,488 - INFO - Waiting for VM ctest-TestBasicVMVNx-62150939-60699675 to be up.. 2025-09-11 12:11:16,570 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-11 12:11:21,654 - DEBUG - VM is in ACTIVE state now 2025-09-11 12:11:21,655 - INFO - VM name : ctest-TestBasicVMVNx-62150939-60699675 2025-09-11 12:11:21,734 - DEBUG - VM ctest-TestBasicVMVNx-62150939-60699675 ID is a9a7f907-f7b9-4bde-96f2-0eb24ee0043b 2025-09-11 12:11:21,756 - DEBUG - VM ctest-TestBasicVMVNx-62150939-60699675 launched on Node cn-jenkins-deploy-platform-ansible-os-4090-1 2025-09-11 12:11:21,835 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/a9a7f907-f7b9-4bde-96f2-0eb24ee0043b 2025-09-11 12:11:22,173 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/a9a7f907-f7b9-4bde-96f2-0eb24ee0043b 2025-09-11 12:11:22,210 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/d218630f-46ed-4959-bbae-1c0cae441532 2025-09-11 12:11:25,466 - 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 1017ms') 2025-09-11 12:11:25,466 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-62150939-60699675 failed! 2025-09-11 12:11:25,521 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-62150939:ctest-vn-88960296 is 175.214.62.129 and allocation pool is NOT set 2025-09-11 12:11:27,592 - 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.70 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.92 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.921/3.308/4.696/1.387 ms') 2025-09-11 12:11:27,592 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-62150939-60699675 passed 2025-09-11 12:11:27,749 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 12:11:27,750 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-62150939-60699675, IP 175.214.62.131, Port 22 2025-09-11 12:11:27,905 - DEBUG - VM ctest-TestBasicVMVNx-62150939-60699675 is ready for SSH connections 2025-09-11 12:11:27,905 - INFO - Waiting for VM ctest-TestBasicVMVNx-62150939-30718341 to be up.. 2025-09-11 12:11:27,988 - DEBUG - VM is in ACTIVE state now 2025-09-11 12:11:27,989 - INFO - VM name : ctest-TestBasicVMVNx-62150939-30718341 2025-09-11 12:11:28,062 - DEBUG - VM ctest-TestBasicVMVNx-62150939-30718341 ID is 631467c3-7c39-46b7-9e97-be1f74a0361e 2025-09-11 12:11:28,062 - DEBUG - VM ctest-TestBasicVMVNx-62150939-30718341 launched on Node cn-jenkins-deploy-platform-ansible-os-4090-1 2025-09-11 12:11:28,138 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/631467c3-7c39-46b7-9e97-be1f74a0361e 2025-09-11 12:11:28,146 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/40cebced-8c87-4561-bfb6-9211c8ec9427 2025-09-11 12:11:29,388 - 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.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.507 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.507/2.135/3.764/1.628 ms') 2025-09-11 12:11:29,388 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-62150939-30718341 passed 2025-09-11 12:11:29,541 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 12:11:29,542 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-62150939-30718341, IP 175.214.62.132, Port 22 2025-09-11 12:11:29,697 - DEBUG - VM ctest-TestBasicVMVNx-62150939-30718341 is ready for SSH connections 2025-09-11 12:11:29,697 - DEBUG - FILE SIZE = 1303B 2025-09-11 12:11:29,698 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-62150939-60699675 to ctest-TestBasicVMVNx-62150939-30718341 using scp 2025-09-11 12:11:29,699 - 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.254, gateway password: c0ntrail123 2025-09-11 12:11:29,700 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-09-11 12:11:31,707 - DEBUG - 1+0 records in 1+0 records out 2025-09-11 12:11:32,510 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 12:11:32,894 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-11 12:11:32,895 - DEBUG - ls -l testfile 2025-09-11 12:11:34,585 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 11 06:11 testfile 2025-09-11 12:11:34,585 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-62150939-30718341 2025-09-11 12:11:34,586 - INFO - Deleting VM ctest-TestBasicVMVNx-62150939-30718341 2025-09-11 12:11:34,660 - INFO - Deleting VM ctest-TestBasicVMVNx-62150939-60699675 2025-09-11 12:11:34,740 - INFO - Deleting VN ctest-vn-88960296 2025-09-11 12:11:34,780 - DEBUG - VN 22428cec-eb6d-4128-8017-10805e71530d still in use: Unable to complete operation on network 22428cec-eb6d-4128-8017-10805e71530d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d1adc097-cd50-40fa-9e53-c59490ab0e69'] 2025-09-11 12:11:34,780 - WARNING - Deleting VN ctest-vn-88960296 failed..Will retry 2025-09-11 12:11:36,893 - DEBUG - Response for deleting network () 2025-09-11 12:11:37,151 - DEBUG - No XMPP flaps were noticed during the test
2025-09-11 12:11:37,151 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25]
2025-09-11 12:11:37,152 - INFO - -------------------------------------------------------------------------------- 2025-09-11 12:11:37,859 - INFO - Deleted project: ctest-TestBasicVMVNx-62150939, ID : a088342d-f865-4c91-abc7-9bf60b87f39c