2025-05-12 10:41:50,009 - INFO - Domain Default found not creating 2025-05-12 10:41:50,147 - INFO - Project ctest-TestBasicVMVNx-94147977 not found, creating it 2025-05-12 10:41:50,595 - INFO - Created Project:ctest-TestBasicVMVNx-94147977, ID : 6feef03e-9670-496a-a253-756f49353a4d 2025-05-12 10:41:51,970 - INFO - ================================================================================ 2025-05-12 10:41:51,971 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-05-12 10:41:51,971 - 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 10:41:52,228 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-05-12 10:41:52,228 - INFO - Initial checks done. Running the testcase now 2025-05-12 10:41:52,228 - INFO - 2025-05-12 10:41:52,777 - DEBUG - Response for create_network : {'network': {'id': '18f934a0-2f1f-4d78-a37b-fbc701df442e', 'name': 'ctest-vn-41649221', 'tenant_id': '6feef03e9670496aa253756f49353a4d', 'project_id': '6feef03e9670496aa253756f49353a4d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-94147977', 'ctest-vn-41649221'], 'port_security_enabled': True, 'description': ''}} 2025-05-12 10:41:52,954 - DEBUG - Response for create_subnet : {'subnet': {'id': '5afa2c26-c9d9-459a-94ba-36ae196c37a1', 'name': '', 'tenant_id': '6feef03e9670496aa253756f49353a4d', 'network_id': '18f934a0-2f1f-4d78-a37b-fbc701df442e', 'ip_version': 4, 'cidr': '209.225.129.192/26', 'allocation_pools': [{'start': '209.225.129.194', 'end': '209.225.129.254'}], 'gateway_ip': '209.225.129.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '209.225.129.194', 'tags': [], 'project_id': '6feef03e9670496aa253756f49353a4d'}} 2025-05-12 10:41:52,970 - INFO - Created VN ctest-vn-41649221 2025-05-12 10:41:53,025 - DEBUG - VN ctest-vn-41649221 UUID is 18f934a0-2f1f-4d78-a37b-fbc701df442e 2025-05-12 10:41:53,225 - DEBUG - Services list from nova: [, , ] 2025-05-12 10:41:54,203 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3300-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3300-1) 2025-05-12 10:41:55,522 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3300-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3300-1) 2025-05-12 10:41:55,523 - INFO - Waiting for VM ctest-TestBasicVMVNx-94147977-83058082 to be up.. 2025-05-12 10:41:55,654 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-12 10:42:00,730 - DEBUG - VM is in ACTIVE state now 2025-05-12 10:42:00,732 - INFO - VM name : ctest-TestBasicVMVNx-94147977-83058082 2025-05-12 10:42:00,817 - DEBUG - VM ctest-TestBasicVMVNx-94147977-83058082 ID is 8faabcb5-7df0-47b2-a34b-acc7501a1296 2025-05-12 10:42:00,842 - DEBUG - VM ctest-TestBasicVMVNx-94147977-83058082 launched on Node cn-jenkins-deploy-platform-ansible-os-3300-1 2025-05-12 10:42:01,010 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/8faabcb5-7df0-47b2-a34b-acc7501a1296 2025-05-12 10:42:01,421 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/8faabcb5-7df0-47b2-a34b-acc7501a1296 2025-05-12 10:42:01,460 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/48379506-67d6-4b2c-a84c-007814156d3f 2025-05-12 10:42:04,728 - 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-05-12 10:42:04,729 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-94147977-83058082 failed! 2025-05-12 10:42:04,789 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-94147977:ctest-vn-41649221 is 209.225.129.193 and allocation pool is NOT set 2025-05-12 10:42:06,853 - 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.426 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.426/1.529/2.633/1.103 ms') 2025-05-12 10:42:06,853 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-94147977-83058082 passed 2025-05-12 10:42:07,014 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-12 10:42:07,014 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-94147977-83058082, IP 209.225.129.195, Port 22 2025-05-12 10:42:07,184 - DEBUG - VM ctest-TestBasicVMVNx-94147977-83058082 is ready for SSH connections 2025-05-12 10:42:07,184 - INFO - Waiting for VM ctest-TestBasicVMVNx-94147977-53379475 to be up.. 2025-05-12 10:42:07,264 - DEBUG - VM is in ACTIVE state now 2025-05-12 10:42:07,264 - INFO - VM name : ctest-TestBasicVMVNx-94147977-53379475 2025-05-12 10:42:07,342 - DEBUG - VM ctest-TestBasicVMVNx-94147977-53379475 ID is 0d9dc0ad-81ef-4db5-a958-285479e1571c 2025-05-12 10:42:07,342 - DEBUG - VM ctest-TestBasicVMVNx-94147977-53379475 launched on Node cn-jenkins-deploy-platform-ansible-os-3300-1 2025-05-12 10:42:07,416 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/0d9dc0ad-81ef-4db5-a958-285479e1571c 2025-05-12 10:42:07,427 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/fc453013-deda-441a-af47-db373de86e5e 2025-05-12 10:42:08,685 - 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.84 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.570 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.570/1.706/2.843/1.136 ms') 2025-05-12 10:42:08,685 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-94147977-53379475 passed 2025-05-12 10:42:08,833 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-12 10:42:08,834 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-94147977-53379475, IP 209.225.129.196, Port 22 2025-05-12 10:42:08,989 - DEBUG - VM ctest-TestBasicVMVNx-94147977-53379475 is ready for SSH connections 2025-05-12 10:42:08,989 - DEBUG - FILE SIZE = 1303B 2025-05-12 10:42:08,989 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-94147977-83058082 to ctest-TestBasicVMVNx-94147977-53379475 using scp 2025-05-12 10:42:08,990 - 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.33, gateway password: c0ntrail123 2025-05-12 10:42:08,990 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-05-12 10:42:10,895 - DEBUG - 1+0 records in 1+0 records out 2025-05-12 10:42:11,479 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-12 10:42:11,795 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-05-12 10:42:11,796 - DEBUG - ls -l testfile 2025-05-12 10:42:13,363 - DEBUG - -rw------- 1 cirros cirros 1303 May 12 04:42 testfile 2025-05-12 10:42:13,363 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-94147977-53379475 2025-05-12 10:42:13,364 - INFO - Deleting VM ctest-TestBasicVMVNx-94147977-53379475 2025-05-12 10:42:13,427 - INFO - Deleting VM ctest-TestBasicVMVNx-94147977-83058082 2025-05-12 10:42:13,485 - INFO - Deleting VN ctest-vn-41649221 2025-05-12 10:42:13,519 - DEBUG - VN 18f934a0-2f1f-4d78-a37b-fbc701df442e still in use: Unable to complete operation on network 18f934a0-2f1f-4d78-a37b-fbc701df442e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ccef44d0-48f3-40d9-a6a5-e5cab0dfe922'] 2025-05-12 10:42:13,519 - WARNING - Deleting VN ctest-vn-41649221 failed..Will retry 2025-05-12 10:42:15,611 - DEBUG - Response for deleting network () 2025-05-12 10:42:15,867 - DEBUG - No XMPP flaps were noticed during the test 2025-05-12 10:42:15,867 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2025-05-12 10:42:15,867 - INFO - -------------------------------------------------------------------------------- 2025-05-12 10:42:16,515 - INFO - Deleted project: ctest-TestBasicVMVNx-94147977, ID : 6feef03e-9670-496a-a253-756f49353a4d