2025-08-19 21:06:39,899 - INFO - Domain Default found not creating 2025-08-19 21:06:40,035 - INFO - Project ctest-TestBasicVMVNx-21066581 not found, creating it 2025-08-19 21:06:40,512 - INFO - Created Project:ctest-TestBasicVMVNx-21066581, ID : f596a75e-5faf-413c-8f0b-e5e0f124ed5d 2025-08-19 21:06:41,821 - INFO - ================================================================================ 2025-08-19 21:06:41,821 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-08-19 21:06:41,821 - 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-08-19 21:06:42,074 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.0.0.254': '0'}} with 2025-08-19 21:06:42,074 - INFO - Initial checks done. Running the testcase now 2025-08-19 21:06:42,074 - INFO - 2025-08-19 21:06:42,583 - DEBUG - Response for create_network : {'network': {'id': 'd06a0f27-c7ef-4195-9180-528b70476aa1', 'name': 'ctest-vn-48491940', 'tenant_id': 'f596a75e5faf413c8f0be5e0f124ed5d', 'project_id': 'f596a75e5faf413c8f0be5e0f124ed5d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-21066581', 'ctest-vn-48491940'], 'port_security_enabled': True, 'description': ''}} 2025-08-19 21:06:42,820 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ab074475-520b-4ceb-98b5-5e288749a094', 'name': '', 'tenant_id': 'f596a75e5faf413c8f0be5e0f124ed5d', 'network_id': 'd06a0f27-c7ef-4195-9180-528b70476aa1', 'ip_version': 4, 'cidr': '73.240.23.0/26', 'allocation_pools': [{'start': '73.240.23.2', 'end': '73.240.23.62'}], 'gateway_ip': '73.240.23.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '73.240.23.2', 'tags': [], 'project_id': 'f596a75e5faf413c8f0be5e0f124ed5d'}} 2025-08-19 21:06:42,833 - INFO - Created VN ctest-vn-48491940 2025-08-19 21:06:42,890 - DEBUG - VN ctest-vn-48491940 UUID is d06a0f27-c7ef-4195-9180-528b70476aa1 2025-08-19 21:06:43,074 - DEBUG - Services list from nova: [, , ] 2025-08-19 21:06:44,095 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3888-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3888-1) 2025-08-19 21:06:45,179 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3888-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3888-1) 2025-08-19 21:06:45,179 - INFO - Waiting for VM ctest-TestBasicVMVNx-21066581-76621692 to be up.. 2025-08-19 21:06:45,250 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-19 21:06:50,316 - DEBUG - VM is in ACTIVE state now 2025-08-19 21:06:50,316 - INFO - VM name : ctest-TestBasicVMVNx-21066581-76621692 2025-08-19 21:06:50,383 - DEBUG - VM ctest-TestBasicVMVNx-21066581-76621692 ID is f8cc7261-52d6-488d-8c50-2c89eae2e1c4 2025-08-19 21:06:50,402 - DEBUG - VM ctest-TestBasicVMVNx-21066581-76621692 launched on Node cn-jenkins-deploy-platform-ansible-os-3888-1. 2025-08-19 21:06:50,485 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/f8cc7261-52d6-488d-8c50-2c89eae2e1c4 2025-08-19 21:06:50,780 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/f8cc7261-52d6-488d-8c50-2c89eae2e1c4 2025-08-19 21:06:50,806 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/2bd36b82-0dda-4bba-9a15-9553a822e4ff 2025-08-19 21:06:54,060 - 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 1031ms') 2025-08-19 21:06:54,060 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-21066581-76621692 failed! 2025-08-19 21:06:54,115 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-21066581:ctest-vn-48491940 is 73.240.23.1 and allocation pool is NOT set 2025-08-19 21:06:56,177 - 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.79 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.95 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.946/2.867/3.788/0.921 ms') 2025-08-19 21:06:56,177 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-21066581-76621692 passed 2025-08-19 21:06:56,323 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 21:06:56,323 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-21066581-76621692, IP 73.240.23.3, Port 22 2025-08-19 21:06:56,482 - DEBUG - VM ctest-TestBasicVMVNx-21066581-76621692 is ready for SSH connections 2025-08-19 21:06:56,482 - INFO - Waiting for VM ctest-TestBasicVMVNx-21066581-68603003 to be up.. 2025-08-19 21:06:56,543 - DEBUG - VM is in ACTIVE state now 2025-08-19 21:06:56,543 - INFO - VM name : ctest-TestBasicVMVNx-21066581-68603003 2025-08-19 21:06:56,607 - DEBUG - VM ctest-TestBasicVMVNx-21066581-68603003 ID is acd690a0-413f-46e3-8ede-e9a4cc6b03c8 2025-08-19 21:06:56,607 - DEBUG - VM ctest-TestBasicVMVNx-21066581-68603003 launched on Node cn-jenkins-deploy-platform-ansible-os-3888-1. 2025-08-19 21:06:56,674 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/acd690a0-413f-46e3-8ede-e9a4cc6b03c8 2025-08-19 21:06:56,681 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/69f38396-4239-4f77-913a-f5375bce1077 2025-08-19 21:06:57,908 - 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.60 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.311 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.311/1.457/2.603/1.146 ms') 2025-08-19 21:06:57,908 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-21066581-68603003 passed 2025-08-19 21:06:58,055 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 21:06:58,055 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-21066581-68603003, IP 73.240.23.4, Port 22 2025-08-19 21:06:58,205 - DEBUG - VM ctest-TestBasicVMVNx-21066581-68603003 is ready for SSH connections 2025-08-19 21:06:58,205 - DEBUG - FILE SIZE = 1303B 2025-08-19 21:06:58,205 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-21066581-76621692 to ctest-TestBasicVMVNx-21066581-68603003 using scp 2025-08-19 21:06:58,207 - 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-08-19 21:06:58,207 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-08-19 21:07:00,058 - DEBUG - 1+0 records in 1+0 records out 2025-08-19 21:07:00,654 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 21:07:00,963 - 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-08-19 21:07:00,964 - DEBUG - ls -l testfile 2025-08-19 21:07:02,534 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 19 15:07 testfile 2025-08-19 21:07:02,534 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-21066581-68603003 2025-08-19 21:07:02,534 - INFO - Deleting VM ctest-TestBasicVMVNx-21066581-68603003 2025-08-19 21:07:02,594 - INFO - Deleting VM ctest-TestBasicVMVNx-21066581-76621692 2025-08-19 21:07:02,664 - INFO - Deleting VN ctest-vn-48491940 2025-08-19 21:07:02,701 - DEBUG - VN d06a0f27-c7ef-4195-9180-528b70476aa1 still in use: Unable to complete operation on network d06a0f27-c7ef-4195-9180-528b70476aa1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a47b0215-0ab2-473a-9caf-537a5391988c'] 2025-08-19 21:07:02,701 - WARNING - Deleting VN ctest-vn-48491940 failed..Will retry 2025-08-19 21:07:04,789 - DEBUG - Response for deleting network () 2025-08-19 21:07:05,047 - DEBUG - No XMPP flaps were noticed during the test
2025-08-19 21:07:05,047 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-08-19 21:07:05,047 - INFO - -------------------------------------------------------------------------------- 2025-08-19 21:07:05,689 - INFO - Deleted project: ctest-TestBasicVMVNx-21066581, ID : f596a75e-5faf-413c-8f0b-e5e0f124ed5d