2025-05-12 02:27:06,057 - INFO - Domain Default found not creating 2025-05-12 02:27:06,188 - INFO - Project ctest-TestBasicVMVNx-03159030 not found, creating it 2025-05-12 02:27:06,634 - INFO - Created Project:ctest-TestBasicVMVNx-03159030, ID : 4f8f4504-66ec-4b7d-acf0-54659313d2b4 2025-05-12 02:27:08,025 - INFO - ================================================================================ 2025-05-12 02:27:08,025 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-05-12 02:27:08,025 - 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-05-12 02:27:08,284 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.254': '0'}} with 2025-05-12 02:27:08,284 - INFO - Initial checks done. Running the testcase now 2025-05-12 02:27:08,284 - INFO - 2025-05-12 02:27:08,828 - DEBUG - Response for create_network : {'network': {'id': '4eff070d-f886-401f-ab0f-c5daeae93bd0', 'name': 'ctest-vn-77291792', 'tenant_id': '4f8f450466ec4b7dacf054659313d2b4', 'project_id': '4f8f450466ec4b7dacf054659313d2b4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-03159030', 'ctest-vn-77291792'], 'port_security_enabled': True, 'description': ''}} 2025-05-12 02:27:09,043 - DEBUG - Response for create_subnet : {'subnet': {'id': '38eb1b5b-8d3a-44b3-87ee-e6584967f738', 'name': '', 'tenant_id': '4f8f450466ec4b7dacf054659313d2b4', 'network_id': '4eff070d-f886-401f-ab0f-c5daeae93bd0', 'ip_version': 4, 'cidr': '53.43.67.192/26', 'allocation_pools': [{'start': '53.43.67.194', 'end': '53.43.67.254'}], 'gateway_ip': '53.43.67.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '53.43.67.194', 'tags': [], 'project_id': '4f8f450466ec4b7dacf054659313d2b4'}} 2025-05-12 02:27:09,064 - INFO - Created VN ctest-vn-77291792 2025-05-12 02:27:09,119 - DEBUG - VN ctest-vn-77291792 UUID is 4eff070d-f886-401f-ab0f-c5daeae93bd0 2025-05-12 02:27:09,323 - DEBUG - Services list from nova: [, , ] 2025-05-12 02:27:10,329 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3297-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3297-1) 2025-05-12 02:27:11,488 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3297-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3297-1) 2025-05-12 02:27:11,489 - INFO - Waiting for VM ctest-TestBasicVMVNx-03159030-27703073 to be up.. 2025-05-12 02:27:11,578 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-12 02:27:16,675 - DEBUG - VM is in ACTIVE state now 2025-05-12 02:27:16,675 - INFO - VM name : ctest-TestBasicVMVNx-03159030-27703073 2025-05-12 02:27:16,752 - DEBUG - VM ctest-TestBasicVMVNx-03159030-27703073 ID is 4403790e-b184-4e17-97ce-ecf6ead7c68d 2025-05-12 02:27:16,770 - DEBUG - VM ctest-TestBasicVMVNx-03159030-27703073 launched on Node cn-jenkins-deploy-platform-ansible-os-3297-1 2025-05-12 02:27:16,856 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/4403790e-b184-4e17-97ce-ecf6ead7c68d 2025-05-12 02:27:17,154 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/4403790e-b184-4e17-97ce-ecf6ead7c68d 2025-05-12 02:27:17,186 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/cd9a526f-eabe-4d38-8a4c-030bdf3d78c0 2025-05-12 02:27:20,448 - 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 1020ms') 2025-05-12 02:27:20,448 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-03159030-27703073 failed! 2025-05-12 02:27:20,506 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-03159030:ctest-vn-77291792 is 53.43.67.193 and allocation pool is NOT set 2025-05-12 02:27:22,566 - 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=2.63 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.716 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.716/1.671/2.626/0.955 ms') 2025-05-12 02:27:22,566 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-03159030-27703073 passed 2025-05-12 02:27:22,731 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-12 02:27:22,731 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-03159030-27703073, IP 53.43.67.195, Port 22 2025-05-12 02:27:22,890 - DEBUG - VM ctest-TestBasicVMVNx-03159030-27703073 is ready for SSH connections 2025-05-12 02:27:22,891 - INFO - Waiting for VM ctest-TestBasicVMVNx-03159030-36805412 to be up.. 2025-05-12 02:27:22,965 - DEBUG - VM is in ACTIVE state now 2025-05-12 02:27:22,965 - INFO - VM name : ctest-TestBasicVMVNx-03159030-36805412 2025-05-12 02:27:23,039 - DEBUG - VM ctest-TestBasicVMVNx-03159030-36805412 ID is 05f674c4-61cb-4c3d-8cc8-7262f748a42b 2025-05-12 02:27:23,039 - DEBUG - VM ctest-TestBasicVMVNx-03159030-36805412 launched on Node cn-jenkins-deploy-platform-ansible-os-3297-1 2025-05-12 02:27:23,122 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/05f674c4-61cb-4c3d-8cc8-7262f748a42b 2025-05-12 02:27:23,131 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/c9853f75-7b03-413e-82a2-055392db79ea 2025-05-12 02:27:24,380 - 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.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.392 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.392/2.068/3.745/1.676 ms') 2025-05-12 02:27:24,380 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-03159030-36805412 passed 2025-05-12 02:27:24,531 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-12 02:27:24,531 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-03159030-36805412, IP 53.43.67.196, Port 22 2025-05-12 02:27:24,683 - DEBUG - VM ctest-TestBasicVMVNx-03159030-36805412 is ready for SSH connections 2025-05-12 02:27:24,683 - DEBUG - FILE SIZE = 1303B 2025-05-12 02:27:24,683 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-03159030-27703073 to ctest-TestBasicVMVNx-03159030-36805412 using scp 2025-05-12 02:27:24,684 - 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.19, gateway password: c0ntrail123 2025-05-12 02:27:24,685 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-05-12 02:27:26,593 - DEBUG - 1+0 records in 1+0 records out 2025-05-12 02:27:27,177 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-12 02:27:27,503 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-05-12 02:27:27,503 - DEBUG - ls -l testfile 2025-05-12 02:27:29,099 - DEBUG - -rw------- 1 cirros cirros 1303 May 11 20:27 testfile 2025-05-12 02:27:29,100 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-03159030-36805412 2025-05-12 02:27:29,100 - INFO - Deleting VM ctest-TestBasicVMVNx-03159030-36805412 2025-05-12 02:27:29,174 - INFO - Deleting VM ctest-TestBasicVMVNx-03159030-27703073 2025-05-12 02:27:29,240 - INFO - Deleting VN ctest-vn-77291792 2025-05-12 02:27:29,277 - DEBUG - VN 4eff070d-f886-401f-ab0f-c5daeae93bd0 still in use: Unable to complete operation on network 4eff070d-f886-401f-ab0f-c5daeae93bd0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9ac503fa-a4fc-4925-899d-bc63db029bfc'] 2025-05-12 02:27:29,277 - WARNING - Deleting VN ctest-vn-77291792 failed..Will retry 2025-05-12 02:27:31,383 - DEBUG - Response for deleting network () 2025-05-12 02:27:31,636 - DEBUG - No XMPP flaps were noticed during the test 2025-05-12 02:27:31,636 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23] 2025-05-12 02:27:31,637 - INFO - -------------------------------------------------------------------------------- 2025-05-12 02:27:32,311 - INFO - Deleted project: ctest-TestBasicVMVNx-03159030, ID : 4f8f4504-66ec-4b7d-acf0-54659313d2b4