2025-03-30 21:04:15,450 - INFO - Domain Default found not creating 2025-03-30 21:04:15,622 - INFO - Project ctest-TestBasicVMVNx-74127735 not found, creating it 2025-03-30 21:04:16,145 - INFO - Created Project:ctest-TestBasicVMVNx-74127735, ID : 3b5a0be0-a98a-4c05-bda7-bc670d378592 2025-03-30 21:04:17,710 - INFO - ================================================================================ 2025-03-30 21:04:17,711 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-03-30 21:04:17,711 - 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-03-30 21:04:17,984 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.11': '0'}} with 2025-03-30 21:04:17,984 - INFO - Initial checks done. Running the testcase now 2025-03-30 21:04:17,984 - INFO - 2025-03-30 21:04:18,570 - DEBUG - Response for create_network : {'network': {'id': 'f32118ed-b6f2-42fe-a59c-5e779edba273', 'name': 'ctest-vn-93666046', 'tenant_id': '3b5a0be0a98a4c05bda7bc670d378592', 'project_id': '3b5a0be0a98a4c05bda7bc670d378592', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-74127735', 'ctest-vn-93666046'], 'port_security_enabled': True, 'description': ''}} 2025-03-30 21:04:18,773 - DEBUG - Response for create_subnet : {'subnet': {'id': '04011fcd-25fa-4aaf-b20a-90018ccadd43', 'name': '', 'tenant_id': '3b5a0be0a98a4c05bda7bc670d378592', 'network_id': 'f32118ed-b6f2-42fe-a59c-5e779edba273', 'ip_version': 4, 'cidr': '47.120.178.64/26', 'allocation_pools': [{'start': '47.120.178.66', 'end': '47.120.178.126'}], 'gateway_ip': '47.120.178.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '47.120.178.66', 'tags': [], 'project_id': '3b5a0be0a98a4c05bda7bc670d378592'}} 2025-03-30 21:04:18,795 - INFO - Created VN ctest-vn-93666046 2025-03-30 21:04:18,853 - DEBUG - VN ctest-vn-93666046 UUID is f32118ed-b6f2-42fe-a59c-5e779edba273 2025-03-30 21:04:19,136 - DEBUG - Services list from nova: [, , ] 2025-03-30 21:04:20,241 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3009-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3009-1) 2025-03-30 21:04:21,428 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3009-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3009-1) 2025-03-30 21:04:21,428 - INFO - Waiting for VM ctest-TestBasicVMVNx-74127735-36839759 to be up.. 2025-03-30 21:04:21,544 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-30 21:04:26,661 - DEBUG - VM is in ACTIVE state now 2025-03-30 21:04:26,661 - INFO - VM name : ctest-TestBasicVMVNx-74127735-36839759 2025-03-30 21:04:26,751 - DEBUG - VM ctest-TestBasicVMVNx-74127735-36839759 ID is 2bd959e2-8555-43c3-b9ac-62ce92c0f4bc 2025-03-30 21:04:26,787 - DEBUG - VM ctest-TestBasicVMVNx-74127735-36839759 launched on Node cn-jenkins-deploy-platform-ansible-os-3009-1 2025-03-30 21:04:26,882 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/2bd959e2-8555-43c3-b9ac-62ce92c0f4bc 2025-03-30 21:04:27,192 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/2bd959e2-8555-43c3-b9ac-62ce92c0f4bc 2025-03-30 21:04:27,228 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/e5e02aed-1ca4-438d-baf4-6bd18a0d5f52 2025-03-30 21:04:30,499 - 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 1024ms') 2025-03-30 21:04:30,499 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-74127735-36839759 failed! 2025-03-30 21:04:30,557 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-74127735:ctest-vn-93666046 is 47.120.178.65 and allocation pool is NOT set 2025-03-30 21:04:32,622 - 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.88 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.53 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.527/2.703/3.879/1.176 ms') 2025-03-30 21:04:32,622 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-74127735-36839759 passed 2025-03-30 21:04:32,777 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-30 21:04:32,777 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-74127735-36839759, IP 47.120.178.67, Port 22 2025-03-30 21:04:32,933 - DEBUG - VM ctest-TestBasicVMVNx-74127735-36839759 is ready for SSH connections 2025-03-30 21:04:32,933 - INFO - Waiting for VM ctest-TestBasicVMVNx-74127735-44278915 to be up.. 2025-03-30 21:04:33,019 - DEBUG - VM is in ACTIVE state now 2025-03-30 21:04:33,019 - INFO - VM name : ctest-TestBasicVMVNx-74127735-44278915 2025-03-30 21:04:33,100 - DEBUG - VM ctest-TestBasicVMVNx-74127735-44278915 ID is 8aa79a65-c7f0-4fb7-9eee-f4a3c063117f 2025-03-30 21:04:33,100 - DEBUG - VM ctest-TestBasicVMVNx-74127735-44278915 launched on Node cn-jenkins-deploy-platform-ansible-os-3009-1 2025-03-30 21:04:33,181 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/8aa79a65-c7f0-4fb7-9eee-f4a3c063117f 2025-03-30 21:04:33,191 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/b46eef4a-8e6d-4b3c-b942-14a96af67629 2025-03-30 21:04:34,435 - 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.88 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.23 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 = 2.882/3.055/3.229/0.173 ms') 2025-03-30 21:04:34,435 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-74127735-44278915 passed 2025-03-30 21:04:34,585 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-30 21:04:34,585 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-74127735-44278915, IP 47.120.178.68, Port 22 2025-03-30 21:04:34,751 - DEBUG - VM ctest-TestBasicVMVNx-74127735-44278915 is ready for SSH connections 2025-03-30 21:04:34,751 - DEBUG - FILE SIZE = 1303B 2025-03-30 21:04:34,751 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-74127735-36839759 to ctest-TestBasicVMVNx-74127735-44278915 using scp 2025-03-30 21:04:34,752 - 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.22, gateway password: c0ntrail123 2025-03-30 21:04:34,752 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-03-30 21:04:36,748 - DEBUG - 1+0 records in 1+0 records out 2025-03-30 21:04:37,369 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-30 21:04:37,700 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-03-30 21:04:37,701 - DEBUG - ls -l testfile 2025-03-30 21:04:39,299 - DEBUG - -rw------- 1 cirros cirros 1303 Mar 30 15:04 testfile 2025-03-30 21:04:39,299 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-74127735-44278915 2025-03-30 21:04:39,299 - INFO - Deleting VM ctest-TestBasicVMVNx-74127735-44278915 2025-03-30 21:04:39,374 - INFO - Deleting VM ctest-TestBasicVMVNx-74127735-36839759 2025-03-30 21:04:39,449 - INFO - Deleting VN ctest-vn-93666046 2025-03-30 21:04:39,487 - DEBUG - VN f32118ed-b6f2-42fe-a59c-5e779edba273 still in use: Unable to complete operation on network f32118ed-b6f2-42fe-a59c-5e779edba273. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4334a6fc-ac72-47ea-bed6-af5fb3500bf7'] 2025-03-30 21:04:39,487 - WARNING - Deleting VN ctest-vn-93666046 failed..Will retry 2025-03-30 21:04:41,599 - DEBUG - Response for deleting network () 2025-03-30 21:04:41,875 - DEBUG - No XMPP flaps were noticed during the test 2025-03-30 21:04:41,875 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2025-03-30 21:04:41,875 - INFO - -------------------------------------------------------------------------------- 2025-03-30 21:04:42,622 - INFO - Deleted project: ctest-TestBasicVMVNx-74127735, ID : 3b5a0be0-a98a-4c05-bda7-bc670d378592