2025-01-08 19:58:12,324 - INFO - Domain Default found not creating 2025-01-08 19:58:12,494 - INFO - Project ctest-TestBasicVMVNx-54793261 not found, creating it 2025-01-08 19:58:12,999 - INFO - Created Project:ctest-TestBasicVMVNx-54793261, ID : d629fb75-c0d5-43b0-b793-d88ed735d4f5 2025-01-08 19:58:14,478 - INFO - ================================================================================ 2025-01-08 19:58:14,478 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-01-08 19:58:14,479 - 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-01-08 19:58:14,747 - DEBUG - Nothing to compare xmpp stats {'10.0.0.28': {'10.20.0.17': '0'}} with 2025-01-08 19:58:14,747 - INFO - Initial checks done. Running the testcase now 2025-01-08 19:58:14,747 - INFO - 2025-01-08 19:58:15,314 - DEBUG - Response for create_network : {'network': {'id': 'd12020ea-c62b-4c24-bf45-bf9cd6add538', 'name': 'ctest-vn-17890146', 'tenant_id': 'd629fb75c0d543b0b793d88ed735d4f5', 'project_id': 'd629fb75c0d543b0b793d88ed735d4f5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-54793261', 'ctest-vn-17890146'], 'port_security_enabled': True, 'description': ''}} 2025-01-08 19:58:15,471 - DEBUG - Response for create_subnet : {'subnet': {'id': '97974a9e-e010-4e9d-b397-45fbfee29257', 'name': '', 'tenant_id': 'd629fb75c0d543b0b793d88ed735d4f5', 'network_id': 'd12020ea-c62b-4c24-bf45-bf9cd6add538', 'ip_version': 4, 'cidr': '116.43.68.64/26', 'allocation_pools': [{'start': '116.43.68.66', 'end': '116.43.68.126'}], 'gateway_ip': '116.43.68.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '116.43.68.66', 'tags': [], 'project_id': 'd629fb75c0d543b0b793d88ed735d4f5'}} 2025-01-08 19:58:15,493 - INFO - Created VN ctest-vn-17890146 2025-01-08 19:58:15,549 - DEBUG - VN ctest-vn-17890146 UUID is d12020ea-c62b-4c24-bf45-bf9cd6add538 2025-01-08 19:58:15,722 - DEBUG - Services list from nova: [, , ] 2025-01-08 19:58:16,764 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2567-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2567-1) 2025-01-08 19:58:17,954 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2567-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2567-1) 2025-01-08 19:58:17,954 - INFO - Waiting for VM ctest-TestBasicVMVNx-54793261-64046912 to be up.. 2025-01-08 19:58:18,040 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-08 19:58:23,123 - DEBUG - VM is in ACTIVE state now 2025-01-08 19:58:23,124 - INFO - VM name : ctest-TestBasicVMVNx-54793261-64046912 2025-01-08 19:58:23,206 - DEBUG - VM ctest-TestBasicVMVNx-54793261-64046912 ID is 49068461-f812-48d2-8c31-90460557eb91 2025-01-08 19:58:23,230 - DEBUG - VM ctest-TestBasicVMVNx-54793261-64046912 launched on Node cn-jenkins-deploy-platform-ansible-os-2567-1 2025-01-08 19:58:23,311 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/49068461-f812-48d2-8c31-90460557eb91 2025-01-08 19:58:23,610 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/49068461-f812-48d2-8c31-90460557eb91 2025-01-08 19:58:23,646 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/7c2c734b-2a8a-4080-aae7-280df9a77b5e 2025-01-08 19:58:26,906 - 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 1007ms') 2025-01-08 19:58:26,907 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-54793261-64046912 failed! 2025-01-08 19:58:26,965 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-54793261:ctest-vn-17890146 is 116.43.68.65 and allocation pool is NOT set 2025-01-08 19:58:29,033 - 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=4.61 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.73 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 = 1.734/3.171/4.608/1.437 ms') 2025-01-08 19:58:29,033 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-54793261-64046912 passed 2025-01-08 19:58:29,189 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-08 19:58:29,189 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-54793261-64046912, IP 116.43.68.67, Port 22 2025-01-08 19:58:29,352 - DEBUG - VM ctest-TestBasicVMVNx-54793261-64046912 is ready for SSH connections 2025-01-08 19:58:29,352 - INFO - Waiting for VM ctest-TestBasicVMVNx-54793261-24725201 to be up.. 2025-01-08 19:58:29,440 - DEBUG - VM is in ACTIVE state now 2025-01-08 19:58:29,440 - INFO - VM name : ctest-TestBasicVMVNx-54793261-24725201 2025-01-08 19:58:29,518 - DEBUG - VM ctest-TestBasicVMVNx-54793261-24725201 ID is 8967cc00-13ea-4cbe-b94f-6237fea91e3c 2025-01-08 19:58:29,518 - DEBUG - VM ctest-TestBasicVMVNx-54793261-24725201 launched on Node cn-jenkins-deploy-platform-ansible-os-2567-1 2025-01-08 19:58:29,609 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/8967cc00-13ea-4cbe-b94f-6237fea91e3c 2025-01-08 19:58:29,623 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/9b470646-a0a3-463d-8793-88baa1445c21 2025-01-08 19:58:30,871 - 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=3.00 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.452 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.452/1.727/3.003/1.275 ms') 2025-01-08 19:58:30,871 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-54793261-24725201 passed 2025-01-08 19:58:31,025 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-08 19:58:31,025 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-54793261-24725201, IP 116.43.68.68, Port 22 2025-01-08 19:58:31,180 - DEBUG - VM ctest-TestBasicVMVNx-54793261-24725201 is ready for SSH connections 2025-01-08 19:58:31,180 - DEBUG - FILE SIZE = 1303B 2025-01-08 19:58:31,180 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-54793261-64046912 to ctest-TestBasicVMVNx-54793261-24725201 using scp 2025-01-08 19:58:31,181 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-08 19:58:31,198 - 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.28, gateway password: c0ntrail123 2025-01-08 19:58:31,198 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-01-08 19:58:33,145 - DEBUG - 1+0 records in 1+0 records out 2025-01-08 19:58:33,911 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-08 19:58:34,234 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.28, gateway password: c0ntrail123 2025-01-08 19:58:34,234 - DEBUG - ls -l testfile 2025-01-08 19:58:35,808 - DEBUG - -rw------- 1 cirros cirros 1303 Jan 8 12:58 testfile 2025-01-08 19:58:35,808 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-54793261-24725201 2025-01-08 19:58:35,809 - INFO - Deleting VM ctest-TestBasicVMVNx-54793261-24725201 2025-01-08 19:58:35,889 - INFO - Deleting VM ctest-TestBasicVMVNx-54793261-64046912 2025-01-08 19:58:35,967 - INFO - Deleting VN ctest-vn-17890146 2025-01-08 19:58:36,008 - DEBUG - VN d12020ea-c62b-4c24-bf45-bf9cd6add538 still in use: Unable to complete operation on network d12020ea-c62b-4c24-bf45-bf9cd6add538. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8a4d665c-d68f-486a-95f0-fd5b8f8724a3'] 2025-01-08 19:58:36,009 - WARNING - Deleting VN ctest-vn-17890146 failed..Will retry 2025-01-08 19:58:38,529 - DEBUG - Response for deleting network () 2025-01-08 19:58:38,791 - DEBUG - No XMPP flaps were noticed during the test 2025-01-08 19:58:38,791 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2025-01-08 19:58:38,792 - INFO - -------------------------------------------------------------------------------- 2025-01-08 19:58:39,543 - INFO - Deleted project: ctest-TestBasicVMVNx-54793261, ID : d629fb75-c0d5-43b0-b793-d88ed735d4f5