2025-06-10 12:26:31,822 - INFO - Domain Default found not creating 2025-06-10 12:26:31,965 - INFO - Project ctest-TestBasicVMVNx-36049518 not found, creating it 2025-06-10 12:26:32,414 - INFO - Created Project:ctest-TestBasicVMVNx-36049518, ID : 3f6fae96-55fa-4284-a73b-61c3e374d5d2 2025-06-10 12:26:33,919 - INFO - ================================================================================ 2025-06-10 12:26:33,919 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-06-10 12:26:33,919 - 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-10 12:26:34,176 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.254': '0'}} with 2025-06-10 12:26:34,176 - INFO - Initial checks done. Running the testcase now 2025-06-10 12:26:34,176 - INFO - 2025-06-10 12:26:34,768 - DEBUG - Response for create_network : {'network': {'id': '7cb58c0c-17eb-4ce0-bbb3-e8b12967aa1b', 'name': 'ctest-vn-88318651', 'tenant_id': '3f6fae9655fa4284a73b61c3e374d5d2', 'project_id': '3f6fae9655fa4284a73b61c3e374d5d2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-36049518', 'ctest-vn-88318651'], 'port_security_enabled': True, 'description': ''}} 2025-06-10 12:26:34,927 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ae02e5c0-35d3-40b5-92f2-fd091d1c7afb', 'name': '', 'tenant_id': '3f6fae9655fa4284a73b61c3e374d5d2', 'network_id': '7cb58c0c-17eb-4ce0-bbb3-e8b12967aa1b', 'ip_version': 4, 'cidr': '12.1.203.64/26', 'allocation_pools': [{'start': '12.1.203.66', 'end': '12.1.203.126'}], 'gateway_ip': '12.1.203.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '12.1.203.66', 'tags': [], 'project_id': '3f6fae9655fa4284a73b61c3e374d5d2'}} 2025-06-10 12:26:34,945 - INFO - Created VN ctest-vn-88318651 2025-06-10 12:26:34,997 - DEBUG - VN ctest-vn-88318651 UUID is 7cb58c0c-17eb-4ce0-bbb3-e8b12967aa1b 2025-06-10 12:26:35,199 - DEBUG - Services list from nova: [, , ] 2025-06-10 12:26:36,303 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3432-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3432-1) 2025-06-10 12:26:37,627 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3432-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3432-1) 2025-06-10 12:26:37,627 - INFO - Waiting for VM ctest-TestBasicVMVNx-36049518-25013934 to be up.. 2025-06-10 12:26:37,716 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-10 12:26:42,796 - DEBUG - VM is in ACTIVE state now 2025-06-10 12:26:42,796 - INFO - VM name : ctest-TestBasicVMVNx-36049518-25013934 2025-06-10 12:26:42,873 - DEBUG - VM ctest-TestBasicVMVNx-36049518-25013934 ID is 88c50144-ce63-477f-9aca-39a5540a2e66 2025-06-10 12:26:42,892 - DEBUG - VM ctest-TestBasicVMVNx-36049518-25013934 launched on Node cn-jenkins-deploy-platform-ansible-os-3432-1 2025-06-10 12:26:42,974 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/88c50144-ce63-477f-9aca-39a5540a2e66 2025-06-10 12:26:43,311 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/88c50144-ce63-477f-9aca-39a5540a2e66 2025-06-10 12:26:43,351 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/eec6c921-20fe-4c47-b2c6-46892918edfe 2025-06-10 12:26:46,627 - 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 1023ms') 2025-06-10 12:26:46,628 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-36049518-25013934 failed! 2025-06-10 12:26:46,681 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-36049518:ctest-vn-88318651 is 12.1.203.65 and allocation pool is NOT set 2025-06-10 12:26:48,749 - 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.90 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.861 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.861/2.881/4.902/2.020 ms') 2025-06-10 12:26:48,749 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-36049518-25013934 passed 2025-06-10 12:26:48,905 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-10 12:26:48,906 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-36049518-25013934, IP 12.1.203.67, Port 22 2025-06-10 12:26:49,061 - DEBUG - VM ctest-TestBasicVMVNx-36049518-25013934 is ready for SSH connections 2025-06-10 12:26:49,061 - INFO - Waiting for VM ctest-TestBasicVMVNx-36049518-99883577 to be up.. 2025-06-10 12:26:49,145 - DEBUG - VM is in ACTIVE state now 2025-06-10 12:26:49,145 - INFO - VM name : ctest-TestBasicVMVNx-36049518-99883577 2025-06-10 12:26:49,223 - DEBUG - VM ctest-TestBasicVMVNx-36049518-99883577 ID is cd664cf6-5b98-498b-a323-561b7c51299d 2025-06-10 12:26:49,223 - DEBUG - VM ctest-TestBasicVMVNx-36049518-99883577 launched on Node cn-jenkins-deploy-platform-ansible-os-3432-1 2025-06-10 12:26:49,302 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/cd664cf6-5b98-498b-a323-561b7c51299d 2025-06-10 12:26:49,310 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/2bb4fe09-171b-4b77-a5c7-1e2e3fb73dd0 2025-06-10 12:26:50,554 - 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.92 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.573 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.573/1.747/2.922/1.174 ms') 2025-06-10 12:26:50,555 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-36049518-99883577 passed 2025-06-10 12:26:50,713 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-10 12:26:50,714 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-36049518-99883577, IP 12.1.203.68, Port 22 2025-06-10 12:26:50,872 - DEBUG - VM ctest-TestBasicVMVNx-36049518-99883577 is ready for SSH connections 2025-06-10 12:26:50,872 - DEBUG - FILE SIZE = 1303B 2025-06-10 12:26:50,873 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-36049518-25013934 to ctest-TestBasicVMVNx-36049518-99883577 using scp 2025-06-10 12:26:50,873 - 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.65, gateway password: c0ntrail123 2025-06-10 12:26:50,873 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-06-10 12:26:52,842 - DEBUG - 1+0 records in 1+0 records out 2025-06-10 12:26:53,502 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-10 12:26:53,833 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-06-10 12:26:53,833 - DEBUG - ls -l testfile 2025-06-10 12:26:55,474 - DEBUG - -rw------- 1 cirros cirros 1303 Jun 10 06:26 testfile 2025-06-10 12:26:55,475 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-36049518-99883577 2025-06-10 12:26:55,475 - INFO - Deleting VM ctest-TestBasicVMVNx-36049518-99883577 2025-06-10 12:26:55,554 - INFO - Deleting VM ctest-TestBasicVMVNx-36049518-25013934 2025-06-10 12:26:55,636 - INFO - Deleting VN ctest-vn-88318651 2025-06-10 12:26:55,675 - DEBUG - VN 7cb58c0c-17eb-4ce0-bbb3-e8b12967aa1b still in use: Unable to complete operation on network 7cb58c0c-17eb-4ce0-bbb3-e8b12967aa1b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ff6afa2b-7880-4ff1-ad95-2191982bc681'] 2025-06-10 12:26:55,675 - WARNING - Deleting VN ctest-vn-88318651 failed..Will retry 2025-06-10 12:26:57,813 - DEBUG - Response for deleting network () 2025-06-10 12:26:58,067 - DEBUG - No XMPP flaps were noticed during the test
2025-06-10 12:26:58,067 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25]
2025-06-10 12:26:58,067 - INFO - -------------------------------------------------------------------------------- 2025-06-10 12:26:58,773 - INFO - Deleted project: ctest-TestBasicVMVNx-36049518, ID : 3f6fae96-55fa-4284-a73b-61c3e374d5d2