2025-08-31 00:14:37,943 - INFO - Domain Default found not creating 2025-08-31 00:14:38,121 - INFO - Project ctest-TestBasicVMVNx-56934594 not found, creating it 2025-08-31 00:14:38,633 - INFO - Created Project:ctest-TestBasicVMVNx-56934594, ID : 71a5ecb1-a779-4a1b-b00e-65e21f7bfddf 2025-08-31 00:14:40,312 - INFO - ================================================================================ 2025-08-31 00:14:40,312 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-08-31 00:14:40,312 - 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-31 00:14:40,585 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-08-31 00:14:40,585 - INFO - Initial checks done. Running the testcase now 2025-08-31 00:14:40,585 - INFO - 2025-08-31 00:14:41,165 - DEBUG - Response for create_network : {'network': {'id': 'aedac2dc-39e1-4434-b773-7bd3a910af78', 'name': 'ctest-vn-79525396', 'tenant_id': '71a5ecb1a7794a1bb00e65e21f7bfddf', 'project_id': '71a5ecb1a7794a1bb00e65e21f7bfddf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-56934594', 'ctest-vn-79525396'], 'port_security_enabled': True, 'description': ''}} 2025-08-31 00:14:41,387 - DEBUG - Response for create_subnet : {'subnet': {'id': '2733349d-0407-443a-ae31-5b45f10c0e75', 'name': '', 'tenant_id': '71a5ecb1a7794a1bb00e65e21f7bfddf', 'network_id': 'aedac2dc-39e1-4434-b773-7bd3a910af78', 'ip_version': 4, 'cidr': '161.97.98.64/26', 'allocation_pools': [{'start': '161.97.98.66', 'end': '161.97.98.126'}], 'gateway_ip': '161.97.98.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '161.97.98.66', 'tags': [], 'project_id': '71a5ecb1a7794a1bb00e65e21f7bfddf'}} 2025-08-31 00:14:41,411 - INFO - Created VN ctest-vn-79525396 2025-08-31 00:14:41,466 - DEBUG - VN ctest-vn-79525396 UUID is aedac2dc-39e1-4434-b773-7bd3a910af78 2025-08-31 00:14:41,673 - DEBUG - Services list from nova: [, , ] 2025-08-31 00:14:42,764 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3985-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3985-1) 2025-08-31 00:14:43,943 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3985-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3985-1) 2025-08-31 00:14:43,943 - INFO - Waiting for VM ctest-TestBasicVMVNx-56934594-21728274 to be up.. 2025-08-31 00:14:44,062 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-31 00:14:49,159 - DEBUG - VM is in ACTIVE state now 2025-08-31 00:14:49,160 - INFO - VM name : ctest-TestBasicVMVNx-56934594-21728274 2025-08-31 00:14:49,243 - DEBUG - VM ctest-TestBasicVMVNx-56934594-21728274 ID is 2e7dc34a-947e-4642-a83f-9649be59a143 2025-08-31 00:14:49,265 - DEBUG - VM ctest-TestBasicVMVNx-56934594-21728274 launched on Node cn-jenkins-deploy-platform-ansible-os-3985-1 2025-08-31 00:14:49,354 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/2e7dc34a-947e-4642-a83f-9649be59a143 2025-08-31 00:14:49,652 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/2e7dc34a-947e-4642-a83f-9649be59a143 2025-08-31 00:14:49,692 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/830102ba-7476-4e58-b807-59bbc97b279d 2025-08-31 00:14:52,969 - 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 1025ms') 2025-08-31 00:14:52,969 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-56934594-21728274 failed! 2025-08-31 00:14:53,022 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-56934594:ctest-vn-79525396 is 161.97.98.65 and allocation pool is NOT set 2025-08-31 00:14:55,086 - 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.12 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.476 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.476/1.795/3.115/1.319 ms') 2025-08-31 00:14:55,086 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-56934594-21728274 passed 2025-08-31 00:14:55,234 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 00:14:55,234 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-56934594-21728274, IP 161.97.98.67, Port 22 2025-08-31 00:14:55,399 - DEBUG - VM ctest-TestBasicVMVNx-56934594-21728274 is ready for SSH connections 2025-08-31 00:14:55,400 - INFO - Waiting for VM ctest-TestBasicVMVNx-56934594-92588656 to be up.. 2025-08-31 00:14:55,480 - DEBUG - VM is in ACTIVE state now 2025-08-31 00:14:55,480 - INFO - VM name : ctest-TestBasicVMVNx-56934594-92588656 2025-08-31 00:14:55,558 - DEBUG - VM ctest-TestBasicVMVNx-56934594-92588656 ID is 314a8e3b-59d3-4fdb-91ea-eafdb8a789b7 2025-08-31 00:14:55,558 - DEBUG - VM ctest-TestBasicVMVNx-56934594-92588656 launched on Node cn-jenkins-deploy-platform-ansible-os-3985-1 2025-08-31 00:14:55,646 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/314a8e3b-59d3-4fdb-91ea-eafdb8a789b7 2025-08-31 00:14:55,655 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/985540c1-0682-4c12-a943-4a3d28d03126 2025-08-31 00:14:56,894 - 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=4.50 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.83 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 = 1.826/3.162/4.499/1.336 ms') 2025-08-31 00:14:56,895 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-56934594-92588656 passed 2025-08-31 00:14:57,046 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 00:14:57,046 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-56934594-92588656, IP 161.97.98.68, Port 22 2025-08-31 00:14:57,202 - DEBUG - VM ctest-TestBasicVMVNx-56934594-92588656 is ready for SSH connections 2025-08-31 00:14:57,202 - DEBUG - FILE SIZE = 1303B 2025-08-31 00:14:57,202 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-56934594-21728274 to ctest-TestBasicVMVNx-56934594-92588656 using scp 2025-08-31 00:14:57,204 - 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-31 00:14:57,204 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-08-31 00:14:59,181 - DEBUG - 1+0 records in 1+0 records out 2025-08-31 00:15:00,015 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 00:15:00,355 - 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-31 00:15:00,356 - DEBUG - ls -l testfile 2025-08-31 00:15:01,976 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 30 18:15 testfile 2025-08-31 00:15:01,977 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-56934594-92588656 2025-08-31 00:15:01,977 - INFO - Deleting VM ctest-TestBasicVMVNx-56934594-92588656 2025-08-31 00:15:02,062 - INFO - Deleting VM ctest-TestBasicVMVNx-56934594-21728274 2025-08-31 00:15:02,145 - INFO - Deleting VN ctest-vn-79525396 2025-08-31 00:15:02,193 - DEBUG - VN aedac2dc-39e1-4434-b773-7bd3a910af78 still in use: Unable to complete operation on network aedac2dc-39e1-4434-b773-7bd3a910af78. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1919cdb4-be92-45d2-9a1d-3dcb7ce45f4a'] 2025-08-31 00:15:02,193 - WARNING - Deleting VN ctest-vn-79525396 failed..Will retry 2025-08-31 00:15:04,303 - DEBUG - Response for deleting network () 2025-08-31 00:15:04,578 - DEBUG - No XMPP flaps were noticed during the test 2025-08-31 00:15:04,578 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2025-08-31 00:15:04,578 - INFO - -------------------------------------------------------------------------------- 2025-08-31 00:15:05,268 - INFO - Deleted project: ctest-TestBasicVMVNx-56934594, ID : 71a5ecb1-a779-4a1b-b00e-65e21f7bfddf