2025-02-20 02:25:26,114 - INFO - Domain Default found not creating 2025-02-20 02:25:26,262 - INFO - Project ctest-TestBasicVMVNx-64372551 not found, creating it 2025-02-20 02:25:26,718 - INFO - Created Project:ctest-TestBasicVMVNx-64372551, ID : 334e03ec-2659-4313-b131-b7237ae2fe4f 2025-02-20 02:25:28,201 - INFO - ================================================================================ 2025-02-20 02:25:28,201 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-02-20 02:25:28,201 - 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-20 02:25:28,458 - DEBUG - Nothing to compare xmpp stats {'10.0.0.37': {'10.20.0.14': '0'}} with 2025-02-20 02:25:28,458 - INFO - Initial checks done. Running the testcase now 2025-02-20 02:25:28,458 - INFO - 2025-02-20 02:25:28,989 - DEBUG - Response for create_network : {'network': {'id': '92d92e87-876b-4276-b573-c37b67fd59c3', 'name': 'ctest-vn-42374710', 'tenant_id': '334e03ec26594313b131b7237ae2fe4f', 'project_id': '334e03ec26594313b131b7237ae2fe4f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-64372551', 'ctest-vn-42374710'], 'port_security_enabled': True, 'description': ''}} 2025-02-20 02:25:29,222 - DEBUG - Response for create_subnet : {'subnet': {'id': '0e653fc4-9e8f-476b-be26-1d1d2b66c97f', 'name': '', 'tenant_id': '334e03ec26594313b131b7237ae2fe4f', 'network_id': '92d92e87-876b-4276-b573-c37b67fd59c3', 'ip_version': 4, 'cidr': '160.37.108.192/26', 'allocation_pools': [{'start': '160.37.108.194', 'end': '160.37.108.254'}], 'gateway_ip': '160.37.108.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '160.37.108.194', 'tags': [], 'project_id': '334e03ec26594313b131b7237ae2fe4f'}} 2025-02-20 02:25:29,241 - INFO - Created VN ctest-vn-42374710 2025-02-20 02:25:29,294 - DEBUG - VN ctest-vn-42374710 UUID is 92d92e87-876b-4276-b573-c37b67fd59c3 2025-02-20 02:25:29,454 - DEBUG - Services list from nova: [, , ] 2025-02-20 02:25:30,465 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2750-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2750-1) 2025-02-20 02:25:31,579 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2750-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2750-1) 2025-02-20 02:25:31,579 - INFO - Waiting for VM ctest-TestBasicVMVNx-64372551-40622465 to be up.. 2025-02-20 02:25:31,663 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-20 02:25:36,740 - DEBUG - VM is in ACTIVE state now 2025-02-20 02:25:36,740 - INFO - VM name : ctest-TestBasicVMVNx-64372551-40622465 2025-02-20 02:25:36,817 - DEBUG - VM ctest-TestBasicVMVNx-64372551-40622465 ID is 284e8b66-5a16-4d5e-912a-fb7eccc45648 2025-02-20 02:25:36,836 - DEBUG - VM ctest-TestBasicVMVNx-64372551-40622465 launched on Node cn-jenkins-deploy-platform-ansible-os-2750-1 2025-02-20 02:25:36,910 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine/284e8b66-5a16-4d5e-912a-fb7eccc45648 2025-02-20 02:25:37,203 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine/284e8b66-5a16-4d5e-912a-fb7eccc45648 2025-02-20 02:25:37,233 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine-interface/4f643c98-2be9-47e3-be4f-77e5663f3357 2025-02-20 02:25:40,475 - 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 1003ms') 2025-02-20 02:25:40,475 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-64372551-40622465 failed! 2025-02-20 02:25:40,530 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-64372551:ctest-vn-42374710 is 160.37.108.193 and allocation pool is NOT set 2025-02-20 02:25:42,585 - 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.88 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.363 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.363/1.619/2.875/1.256 ms') 2025-02-20 02:25:42,585 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-64372551-40622465 passed 2025-02-20 02:25:42,734 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-20 02:25:42,734 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-64372551-40622465, IP 160.37.108.195, Port 22 2025-02-20 02:25:42,893 - DEBUG - VM ctest-TestBasicVMVNx-64372551-40622465 is ready for SSH connections 2025-02-20 02:25:42,894 - INFO - Waiting for VM ctest-TestBasicVMVNx-64372551-60771436 to be up.. 2025-02-20 02:25:42,976 - DEBUG - VM is in ACTIVE state now 2025-02-20 02:25:42,976 - INFO - VM name : ctest-TestBasicVMVNx-64372551-60771436 2025-02-20 02:25:43,062 - DEBUG - VM ctest-TestBasicVMVNx-64372551-60771436 ID is c5ca8028-84a0-4451-a1b9-50d27522c28c 2025-02-20 02:25:43,063 - DEBUG - VM ctest-TestBasicVMVNx-64372551-60771436 launched on Node cn-jenkins-deploy-platform-ansible-os-2750-1 2025-02-20 02:25:43,139 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine/c5ca8028-84a0-4451-a1b9-50d27522c28c 2025-02-20 02:25:43,149 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine-interface/2e7a9b7d-898a-48f7-b554-42f17cc8c92c 2025-02-20 02:25:44,390 - 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=5.33 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.14 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 = 1.140/3.233/5.327/2.093 ms') 2025-02-20 02:25:44,390 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-64372551-60771436 passed 2025-02-20 02:25:44,538 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-20 02:25:44,538 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-64372551-60771436, IP 160.37.108.196, Port 22 2025-02-20 02:25:44,697 - DEBUG - VM ctest-TestBasicVMVNx-64372551-60771436 is ready for SSH connections 2025-02-20 02:25:44,697 - DEBUG - FILE SIZE = 1303B 2025-02-20 02:25:44,697 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-64372551-40622465 to ctest-TestBasicVMVNx-64372551-60771436 using scp 2025-02-20 02:25:44,698 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-20 02:25:44,703 - 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.37, gateway password: c0ntrail123 2025-02-20 02:25:44,703 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-02-20 02:25:46,569 - DEBUG - 1+0 records in 1+0 records out 2025-02-20 02:25:47,150 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-20 02:25:47,473 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.37, gateway password: c0ntrail123 2025-02-20 02:25:47,473 - DEBUG - ls -l testfile 2025-02-20 02:25:49,081 - DEBUG - -rw------- 1 cirros cirros 1303 Feb 19 19:25 testfile 2025-02-20 02:25:49,081 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-64372551-60771436 2025-02-20 02:25:49,081 - INFO - Deleting VM ctest-TestBasicVMVNx-64372551-60771436 2025-02-20 02:25:49,278 - INFO - Deleting VM ctest-TestBasicVMVNx-64372551-40622465 2025-02-20 02:25:49,341 - INFO - Deleting VN ctest-vn-42374710 2025-02-20 02:25:49,378 - DEBUG - VN 92d92e87-876b-4276-b573-c37b67fd59c3 still in use: Unable to complete operation on network 92d92e87-876b-4276-b573-c37b67fd59c3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1d59b2f2-86c3-43d2-a01f-2705d660303e'] 2025-02-20 02:25:49,378 - WARNING - Deleting VN ctest-vn-42374710 failed..Will retry 2025-02-20 02:25:51,472 - DEBUG - Response for deleting network () 2025-02-20 02:25:51,727 - DEBUG - No XMPP flaps were noticed during the test
2025-02-20 02:25:51,728 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-02-20 02:25:51,728 - INFO - -------------------------------------------------------------------------------- 2025-02-20 02:25:52,381 - INFO - Deleted project: ctest-TestBasicVMVNx-64372551, ID : 334e03ec-2659-4313-b131-b7237ae2fe4f