2025-02-06 17:48:02,563 - INFO - Domain Default found not creating 2025-02-06 17:48:02,694 - INFO - Project ctest-TestBasicVMVNx-46666396 not found, creating it 2025-02-06 17:48:03,160 - INFO - Created Project:ctest-TestBasicVMVNx-46666396, ID : 8334a7f4-fc79-4d26-9fd8-3e84ce347990 2025-02-06 17:48:04,526 - INFO - ================================================================================ 2025-02-06 17:48:04,526 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-02-06 17:48:04,526 - 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-02-06 17:48:04,779 - DEBUG - Nothing to compare xmpp stats {'10.0.0.24': {'10.20.0.5': '0'}} with 2025-02-06 17:48:04,779 - INFO - Initial checks done. Running the testcase now 2025-02-06 17:48:04,779 - INFO - 2025-02-06 17:48:05,319 - DEBUG - Response for create_network : {'network': {'id': '34c67b87-ed5a-454f-9468-f0a0b6eff251', 'name': 'ctest-vn-28658988', 'tenant_id': '8334a7f4fc794d269fd83e84ce347990', 'project_id': '8334a7f4fc794d269fd83e84ce347990', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-46666396', 'ctest-vn-28658988'], 'port_security_enabled': True, 'description': ''}} 2025-02-06 17:48:05,518 - DEBUG - Response for create_subnet : {'subnet': {'id': '0f6f63df-dd28-4f68-b565-64fb52616b47', 'name': '', 'tenant_id': '8334a7f4fc794d269fd83e84ce347990', 'network_id': '34c67b87-ed5a-454f-9468-f0a0b6eff251', 'ip_version': 4, 'cidr': '67.54.250.128/26', 'allocation_pools': [{'start': '67.54.250.130', 'end': '67.54.250.190'}], 'gateway_ip': '67.54.250.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '67.54.250.130', 'tags': [], 'project_id': '8334a7f4fc794d269fd83e84ce347990'}} 2025-02-06 17:48:05,535 - INFO - Created VN ctest-vn-28658988 2025-02-06 17:48:05,585 - DEBUG - VN ctest-vn-28658988 UUID is 34c67b87-ed5a-454f-9468-f0a0b6eff251 2025-02-06 17:48:05,753 - DEBUG - Services list from nova: [, , ] 2025-02-06 17:48:06,734 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2703-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2703-1) 2025-02-06 17:48:07,859 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2703-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2703-1) 2025-02-06 17:48:07,860 - INFO - Waiting for VM ctest-TestBasicVMVNx-46666396-44384719 to be up.. 2025-02-06 17:48:07,943 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-06 17:48:13,015 - DEBUG - VM is in ACTIVE state now 2025-02-06 17:48:13,015 - INFO - VM name : ctest-TestBasicVMVNx-46666396-44384719 2025-02-06 17:48:13,080 - DEBUG - VM ctest-TestBasicVMVNx-46666396-44384719 ID is ba4325f7-4e92-4ed6-8bdb-50ba8ea1733e 2025-02-06 17:48:13,098 - DEBUG - VM ctest-TestBasicVMVNx-46666396-44384719 launched on Node cn-jenkins-deploy-platform-ansible-os-2703-1 2025-02-06 17:48:13,165 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/ba4325f7-4e92-4ed6-8bdb-50ba8ea1733e 2025-02-06 17:48:13,460 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/ba4325f7-4e92-4ed6-8bdb-50ba8ea1733e 2025-02-06 17:48:13,489 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/e6c6701b-62ad-402d-be5d-b92242585709 2025-02-06 17:48:16,747 - 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 1019ms') 2025-02-06 17:48:16,747 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-46666396-44384719 failed! 2025-02-06 17:48:16,805 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-46666396:ctest-vn-28658988 is 67.54.250.129 and allocation pool is NOT set 2025-02-06 17:48:18,863 - 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.54 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.398 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.398/1.469/2.540/1.071 ms') 2025-02-06 17:48:18,864 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-46666396-44384719 passed 2025-02-06 17:48:19,013 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-06 17:48:19,013 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-46666396-44384719, IP 67.54.250.131, Port 22 2025-02-06 17:48:19,165 - DEBUG - VM ctest-TestBasicVMVNx-46666396-44384719 is ready for SSH connections 2025-02-06 17:48:19,165 - INFO - Waiting for VM ctest-TestBasicVMVNx-46666396-57115382 to be up.. 2025-02-06 17:48:19,237 - DEBUG - VM is in ACTIVE state now 2025-02-06 17:48:19,238 - INFO - VM name : ctest-TestBasicVMVNx-46666396-57115382 2025-02-06 17:48:19,309 - DEBUG - VM ctest-TestBasicVMVNx-46666396-57115382 ID is 0d31ed04-c4c3-45a3-bf07-988338f27975 2025-02-06 17:48:19,309 - DEBUG - VM ctest-TestBasicVMVNx-46666396-57115382 launched on Node cn-jenkins-deploy-platform-ansible-os-2703-1 2025-02-06 17:48:19,378 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/0d31ed04-c4c3-45a3-bf07-988338f27975 2025-02-06 17:48:19,387 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/5c228ed2-3eb2-4541-b8bf-0fae9501c851 2025-02-06 17:48:20,620 - 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=0.428 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.428/1.652/2.876/1.224 ms') 2025-02-06 17:48:20,620 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-46666396-57115382 passed 2025-02-06 17:48:20,773 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-06 17:48:20,773 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-46666396-57115382, IP 67.54.250.132, Port 22 2025-02-06 17:48:20,924 - DEBUG - VM ctest-TestBasicVMVNx-46666396-57115382 is ready for SSH connections 2025-02-06 17:48:20,925 - DEBUG - FILE SIZE = 1303B 2025-02-06 17:48:20,925 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-46666396-44384719 to ctest-TestBasicVMVNx-46666396-57115382 using scp 2025-02-06 17:48:20,925 - 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.24, gateway password: c0ntrail123 2025-02-06 17:48:20,925 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-02-06 17:48:22,795 - DEBUG - 1+0 records in 1+0 records out 2025-02-06 17:48:23,381 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-06 17:48:23,693 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.24, gateway password: c0ntrail123 2025-02-06 17:48:23,693 - DEBUG - ls -l testfile 2025-02-06 17:48:25,263 - DEBUG - -rw------- 1 cirros cirros 1303 Feb 6 10:48 testfile 2025-02-06 17:48:25,263 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-46666396-57115382 2025-02-06 17:48:25,263 - INFO - Deleting VM ctest-TestBasicVMVNx-46666396-57115382 2025-02-06 17:48:25,328 - INFO - Deleting VM ctest-TestBasicVMVNx-46666396-44384719 2025-02-06 17:48:25,388 - INFO - Deleting VN ctest-vn-28658988 2025-02-06 17:48:25,427 - DEBUG - VN 34c67b87-ed5a-454f-9468-f0a0b6eff251 still in use: Unable to complete operation on network 34c67b87-ed5a-454f-9468-f0a0b6eff251. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-74495824-0416-46f4-bc96-45b9d00b82e0'] 2025-02-06 17:48:25,427 - WARNING - Deleting VN ctest-vn-28658988 failed..Will retry 2025-02-06 17:48:27,530 - DEBUG - Response for deleting network () 2025-02-06 17:48:27,791 - DEBUG - No XMPP flaps were noticed during the test
2025-02-06 17:48:27,791 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-02-06 17:48:27,791 - INFO - -------------------------------------------------------------------------------- 2025-02-06 17:48:28,444 - INFO - Deleted project: ctest-TestBasicVMVNx-46666396, ID : 8334a7f4-fc79-4d26-9fd8-3e84ce347990