2025-06-10 19:48:37,751 - INFO - Domain Default found not creating 2025-06-10 19:48:37,929 - INFO - Project ctest-TestBasicVMVNx-58780214 not found, creating it 2025-06-10 19:48:38,431 - INFO - Created Project:ctest-TestBasicVMVNx-58780214, ID : efd1c7ea-8862-405b-98c2-622f9ead298c 2025-06-10 19:48:39,996 - INFO - ================================================================================ 2025-06-10 19:48:39,996 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-06-10 19:48:39,996 - 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 19:48:40,257 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-06-10 19:48:40,257 - INFO - Initial checks done. Running the testcase now 2025-06-10 19:48:40,257 - INFO - 2025-06-10 19:48:40,845 - DEBUG - Response for create_network : {'network': {'id': 'fe9a5466-33ff-40f5-83db-379775ee8633', 'name': 'ctest-vn-12969784', 'tenant_id': 'efd1c7ea8862405b98c2622f9ead298c', 'project_id': 'efd1c7ea8862405b98c2622f9ead298c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-58780214', 'ctest-vn-12969784'], 'port_security_enabled': True, 'description': ''}} 2025-06-10 19:48:41,046 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f20e6cec-eb4c-48fa-bfc7-0c453769ee3e', 'name': '', 'tenant_id': 'efd1c7ea8862405b98c2622f9ead298c', 'network_id': 'fe9a5466-33ff-40f5-83db-379775ee8633', 'ip_version': 4, 'cidr': '111.96.156.0/26', 'allocation_pools': [{'start': '111.96.156.2', 'end': '111.96.156.62'}], 'gateway_ip': '111.96.156.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.96.156.2', 'tags': [], 'project_id': 'efd1c7ea8862405b98c2622f9ead298c'}} 2025-06-10 19:48:41,064 - INFO - Created VN ctest-vn-12969784 2025-06-10 19:48:41,122 - DEBUG - VN ctest-vn-12969784 UUID is fe9a5466-33ff-40f5-83db-379775ee8633 2025-06-10 19:48:41,322 - DEBUG - Services list from nova: [, , ] 2025-06-10 19:48:42,348 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3437-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3437-1) 2025-06-10 19:48:43,455 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3437-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3437-1) 2025-06-10 19:48:43,455 - INFO - Waiting for VM ctest-TestBasicVMVNx-58780214-70565608 to be up.. 2025-06-10 19:48:43,541 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-10 19:48:48,625 - DEBUG - VM is in ACTIVE state now 2025-06-10 19:48:48,627 - INFO - VM name : ctest-TestBasicVMVNx-58780214-70565608 2025-06-10 19:48:48,703 - DEBUG - VM ctest-TestBasicVMVNx-58780214-70565608 ID is 74bd7df2-f471-40d6-b8d6-579d81ebc8ff 2025-06-10 19:48:48,722 - DEBUG - VM ctest-TestBasicVMVNx-58780214-70565608 launched on Node cn-jenkins-deploy-platform-ansible-os-3437-1 2025-06-10 19:48:48,794 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/74bd7df2-f471-40d6-b8d6-579d81ebc8ff 2025-06-10 19:48:49,093 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/74bd7df2-f471-40d6-b8d6-579d81ebc8ff 2025-06-10 19:48:49,126 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/b49fbbe7-7a9b-4955-b4ec-0de1d5403266 2025-06-10 19:48:52,375 - 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 1010ms') 2025-06-10 19:48:52,375 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-58780214-70565608 failed! 2025-06-10 19:48:52,430 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-58780214:ctest-vn-12969784 is 111.96.156.1 and allocation pool is NOT set 2025-06-10 19:48:54,496 - 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.78 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.708 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 = 0.708/2.242/3.776/1.534 ms') 2025-06-10 19:48:54,497 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-58780214-70565608 passed 2025-06-10 19:48:54,649 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-10 19:48:54,650 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-58780214-70565608, IP 111.96.156.3, Port 22 2025-06-10 19:48:54,815 - DEBUG - VM ctest-TestBasicVMVNx-58780214-70565608 is ready for SSH connections 2025-06-10 19:48:54,816 - INFO - Waiting for VM ctest-TestBasicVMVNx-58780214-68422166 to be up.. 2025-06-10 19:48:54,889 - DEBUG - VM is in ACTIVE state now 2025-06-10 19:48:54,889 - INFO - VM name : ctest-TestBasicVMVNx-58780214-68422166 2025-06-10 19:48:54,967 - DEBUG - VM ctest-TestBasicVMVNx-58780214-68422166 ID is 5a447711-decd-48a2-b84c-1ebcd89f5a14 2025-06-10 19:48:54,967 - DEBUG - VM ctest-TestBasicVMVNx-58780214-68422166 launched on Node cn-jenkins-deploy-platform-ansible-os-3437-1 2025-06-10 19:48:55,044 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/5a447711-decd-48a2-b84c-1ebcd89f5a14 2025-06-10 19:48:55,053 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/44bc75d7-8f95-49ea-8ea4-ebe8f58c2910 2025-06-10 19:48:56,310 - 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.43 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.741 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.741/2.086/3.432/1.345 ms') 2025-06-10 19:48:56,310 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-58780214-68422166 passed 2025-06-10 19:48:56,458 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-10 19:48:56,458 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-58780214-68422166, IP 111.96.156.4, Port 22 2025-06-10 19:48:56,620 - DEBUG - VM ctest-TestBasicVMVNx-58780214-68422166 is ready for SSH connections 2025-06-10 19:48:56,620 - DEBUG - FILE SIZE = 1303B 2025-06-10 19:48:56,620 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-58780214-70565608 to ctest-TestBasicVMVNx-58780214-68422166 using scp 2025-06-10 19:48:56,621 - 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-06-10 19:48:56,621 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-06-10 19:48:58,509 - DEBUG - 1+0 records in 1+0 records out 2025-06-10 19:48:59,311 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-10 19:48:59,641 - 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-06-10 19:48:59,641 - DEBUG - ls -l testfile 2025-06-10 19:49:01,198 - DEBUG - -rw------- 1 cirros cirros 1303 Jun 10 13:48 testfile 2025-06-10 19:49:01,198 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-58780214-68422166 2025-06-10 19:49:01,198 - INFO - Deleting VM ctest-TestBasicVMVNx-58780214-68422166 2025-06-10 19:49:01,264 - INFO - Deleting VM ctest-TestBasicVMVNx-58780214-70565608 2025-06-10 19:49:01,332 - INFO - Deleting VN ctest-vn-12969784 2025-06-10 19:49:01,376 - DEBUG - VN fe9a5466-33ff-40f5-83db-379775ee8633 still in use: Unable to complete operation on network fe9a5466-33ff-40f5-83db-379775ee8633. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d8173819-c391-42be-8242-47d0a81a00d3'] 2025-06-10 19:49:01,376 - WARNING - Deleting VN ctest-vn-12969784 failed..Will retry 2025-06-10 19:49:03,504 - DEBUG - Response for deleting network () 2025-06-10 19:49:03,765 - DEBUG - No XMPP flaps were noticed during the test 2025-06-10 19:49:03,765 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2025-06-10 19:49:03,765 - INFO - -------------------------------------------------------------------------------- 2025-06-10 19:49:04,452 - INFO - Deleted project: ctest-TestBasicVMVNx-58780214, ID : efd1c7ea-8862-405b-98c2-622f9ead298c