2025-04-26 11:27:35,302 - INFO - Domain Default found not creating 2025-04-26 11:27:35,420 - INFO - Project ctest-TestBasicVMVNx-90384546 not found, creating it 2025-04-26 11:27:35,848 - INFO - Created Project:ctest-TestBasicVMVNx-90384546, ID : 2d15a3d0-6be8-4f37-854b-c1133ee52aeb 2025-04-26 11:27:37,165 - INFO - ================================================================================ 2025-04-26 11:27:37,165 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-04-26 11:27:37,166 - 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-04-26 11:27:37,418 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-04-26 11:27:37,418 - INFO - Initial checks done. Running the testcase now 2025-04-26 11:27:37,419 - INFO - 2025-04-26 11:27:37,928 - DEBUG - Response for create_network : {'network': {'id': '9c042a4d-008d-4ef6-a6ba-48417af48d6f', 'name': 'ctest-vn-56187373', 'tenant_id': '2d15a3d06be84f37854bc1133ee52aeb', 'project_id': '2d15a3d06be84f37854bc1133ee52aeb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-90384546', 'ctest-vn-56187373'], 'port_security_enabled': True, 'description': ''}} 2025-04-26 11:27:38,103 - DEBUG - Response for create_subnet : {'subnet': {'id': '92abcb58-4ca9-4ca9-aed5-0a2bea2d4140', 'name': '', 'tenant_id': '2d15a3d06be84f37854bc1133ee52aeb', 'network_id': '9c042a4d-008d-4ef6-a6ba-48417af48d6f', 'ip_version': 4, 'cidr': '168.248.202.0/26', 'allocation_pools': [{'start': '168.248.202.2', 'end': '168.248.202.62'}], 'gateway_ip': '168.248.202.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.248.202.2', 'tags': [], 'project_id': '2d15a3d06be84f37854bc1133ee52aeb'}} 2025-04-26 11:27:38,118 - INFO - Created VN ctest-vn-56187373 2025-04-26 11:27:38,168 - DEBUG - VN ctest-vn-56187373 UUID is 9c042a4d-008d-4ef6-a6ba-48417af48d6f 2025-04-26 11:27:38,356 - DEBUG - Services list from nova: [, , ] 2025-04-26 11:27:39,306 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3220-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3220-1) 2025-04-26 11:27:40,378 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3220-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3220-1) 2025-04-26 11:27:40,378 - INFO - Waiting for VM ctest-TestBasicVMVNx-90384546-23078539 to be up.. 2025-04-26 11:27:40,450 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-26 11:27:45,517 - DEBUG - VM is in ACTIVE state now 2025-04-26 11:27:45,517 - INFO - VM name : ctest-TestBasicVMVNx-90384546-23078539 2025-04-26 11:27:45,576 - DEBUG - VM ctest-TestBasicVMVNx-90384546-23078539 ID is f6357131-c537-431e-aa76-4a50a2aaf9a8 2025-04-26 11:27:45,592 - DEBUG - VM ctest-TestBasicVMVNx-90384546-23078539 launched on Node cn-jenkins-deploy-platform-ansible-os-3220-1 2025-04-26 11:27:45,651 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f6357131-c537-431e-aa76-4a50a2aaf9a8 2025-04-26 11:27:45,937 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f6357131-c537-431e-aa76-4a50a2aaf9a8 2025-04-26 11:27:45,964 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b4a46188-3824-49ef-91a4-8c28203d2d0b 2025-04-26 11:27:49,216 - 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 1012ms') 2025-04-26 11:27:49,216 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-90384546-23078539 failed! 2025-04-26 11:27:49,268 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-90384546:ctest-vn-56187373 is 168.248.202.1 and allocation pool is NOT set 2025-04-26 11:27:51,328 - 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.70 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.306 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.306/1.502/2.698/1.196 ms') 2025-04-26 11:27:51,328 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-90384546-23078539 passed 2025-04-26 11:27:51,472 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-26 11:27:51,472 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-90384546-23078539, IP 168.248.202.3, Port 22 2025-04-26 11:27:51,630 - DEBUG - VM ctest-TestBasicVMVNx-90384546-23078539 is ready for SSH connections 2025-04-26 11:27:51,631 - INFO - Waiting for VM ctest-TestBasicVMVNx-90384546-84620323 to be up.. 2025-04-26 11:27:51,694 - DEBUG - VM is in ACTIVE state now 2025-04-26 11:27:51,695 - INFO - VM name : ctest-TestBasicVMVNx-90384546-84620323 2025-04-26 11:27:51,762 - DEBUG - VM ctest-TestBasicVMVNx-90384546-84620323 ID is 2b590b32-ca43-4417-8d06-df80bb84deb6 2025-04-26 11:27:51,762 - DEBUG - VM ctest-TestBasicVMVNx-90384546-84620323 launched on Node cn-jenkins-deploy-platform-ansible-os-3220-1 2025-04-26 11:27:51,825 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/2b590b32-ca43-4417-8d06-df80bb84deb6 2025-04-26 11:27:51,832 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/3741730e-4493-46d2-bf5d-a86838f60d76 2025-04-26 11:27:53,054 - 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.92 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.333 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.333/1.627/2.921/1.294 ms') 2025-04-26 11:27:53,054 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-90384546-84620323 passed 2025-04-26 11:27:53,204 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-26 11:27:53,204 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-90384546-84620323, IP 168.248.202.4, Port 22 2025-04-26 11:27:53,359 - DEBUG - VM ctest-TestBasicVMVNx-90384546-84620323 is ready for SSH connections 2025-04-26 11:27:53,359 - DEBUG - FILE SIZE = 1303B 2025-04-26 11:27:53,359 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-90384546-23078539 to ctest-TestBasicVMVNx-90384546-84620323 using scp 2025-04-26 11:27:53,360 - 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.38, gateway password: c0ntrail123 2025-04-26 11:27:53,360 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-04-26 11:27:55,188 - DEBUG - 1+0 records in 1+0 records out 2025-04-26 11:27:55,773 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-26 11:27:56,098 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-04-26 11:27:56,099 - DEBUG - ls -l testfile 2025-04-26 11:27:57,649 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 26 05:27 testfile 2025-04-26 11:27:57,649 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-90384546-84620323 2025-04-26 11:27:57,649 - INFO - Deleting VM ctest-TestBasicVMVNx-90384546-84620323 2025-04-26 11:27:57,707 - INFO - Deleting VM ctest-TestBasicVMVNx-90384546-23078539 2025-04-26 11:27:57,761 - INFO - Deleting VN ctest-vn-56187373 2025-04-26 11:27:57,793 - DEBUG - VN 9c042a4d-008d-4ef6-a6ba-48417af48d6f still in use: Unable to complete operation on network 9c042a4d-008d-4ef6-a6ba-48417af48d6f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-011a60ae-d6f0-48ec-b37a-6d748eabfb7f'] 2025-04-26 11:27:57,793 - WARNING - Deleting VN ctest-vn-56187373 failed..Will retry 2025-04-26 11:27:59,877 - DEBUG - Response for deleting network () 2025-04-26 11:28:00,129 - DEBUG - No XMPP flaps were noticed during the test 2025-04-26 11:28:00,129 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23] 2025-04-26 11:28:00,129 - INFO - -------------------------------------------------------------------------------- 2025-04-26 11:28:00,764 - INFO - Deleted project: ctest-TestBasicVMVNx-90384546, ID : 2d15a3d0-6be8-4f37-854b-c1133ee52aeb