2025-07-15 16:42:09,752 - INFO - Domain Default found not creating 2025-07-15 16:42:09,933 - INFO - Project ctest-TestBasicVMVNx-78377087 not found, creating it 2025-07-15 16:42:10,426 - INFO - Created Project:ctest-TestBasicVMVNx-78377087, ID : 89a51e7d-f9c1-431c-bcae-e63f55b3e8d8 2025-07-15 16:42:11,954 - INFO - ================================================================================ 2025-07-15 16:42:11,954 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-07-15 16:42:11,954 - 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-07-15 16:42:12,215 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.0.0.33': '0'}} with 2025-07-15 16:42:12,215 - INFO - Initial checks done. Running the testcase now 2025-07-15 16:42:12,215 - INFO - 2025-07-15 16:42:12,778 - DEBUG - Response for create_network : {'network': {'id': '7bcd1da9-5e76-4d34-82d4-65c7d3d84bc6', 'name': 'ctest-vn-80714126', 'tenant_id': '89a51e7df9c1431cbcaee63f55b3e8d8', 'project_id': '89a51e7df9c1431cbcaee63f55b3e8d8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-78377087', 'ctest-vn-80714126'], 'port_security_enabled': True, 'description': ''}} 2025-07-15 16:42:12,979 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fecf9b89-fc2a-40a0-9abc-efcb5ece72d4', 'name': '', 'tenant_id': '89a51e7df9c1431cbcaee63f55b3e8d8', 'network_id': '7bcd1da9-5e76-4d34-82d4-65c7d3d84bc6', 'ip_version': 4, 'cidr': '107.118.36.64/26', 'allocation_pools': [{'start': '107.118.36.66', 'end': '107.118.36.126'}], 'gateway_ip': '107.118.36.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '107.118.36.66', 'tags': [], 'project_id': '89a51e7df9c1431cbcaee63f55b3e8d8'}} 2025-07-15 16:42:12,999 - INFO - Created VN ctest-vn-80714126 2025-07-15 16:42:13,053 - DEBUG - VN ctest-vn-80714126 UUID is 7bcd1da9-5e76-4d34-82d4-65c7d3d84bc6 2025-07-15 16:42:13,233 - DEBUG - Services list from nova: [, , ] 2025-07-15 16:42:14,304 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3640-30), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3640-30) 2025-07-15 16:42:15,625 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3640-30), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3640-30) 2025-07-15 16:42:15,625 - INFO - Waiting for VM ctest-TestBasicVMVNx-78377087-01214825 to be up.. 2025-07-15 16:42:15,736 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-15 16:42:20,822 - DEBUG - VM is in ACTIVE state now 2025-07-15 16:42:20,822 - INFO - VM name : ctest-TestBasicVMVNx-78377087-01214825 2025-07-15 16:42:20,908 - DEBUG - VM ctest-TestBasicVMVNx-78377087-01214825 ID is cb7c0e8f-5661-4668-8d4a-60ef1ff9aa09 2025-07-15 16:42:20,929 - DEBUG - VM ctest-TestBasicVMVNx-78377087-01214825 launched on Node cn-jenkins-deploy-platform-ansible-os-3640-30. 2025-07-15 16:42:21,027 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/cb7c0e8f-5661-4668-8d4a-60ef1ff9aa09 2025-07-15 16:42:21,333 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/cb7c0e8f-5661-4668-8d4a-60ef1ff9aa09 2025-07-15 16:42:21,367 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/a38a9976-aeb1-4faf-9dfb-ed76a8abd0a4 2025-07-15 16:42:24,624 - 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-07-15 16:42:24,624 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-78377087-01214825 failed! 2025-07-15 16:42:24,681 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-78377087:ctest-vn-80714126 is 107.118.36.65 and allocation pool is NOT set 2025-07-15 16:42:26,745 - 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.83 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.12 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.121/2.473/3.825/1.352 ms') 2025-07-15 16:42:26,745 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-78377087-01214825 passed 2025-07-15 16:42:26,897 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-15 16:42:26,897 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-78377087-01214825, IP 107.118.36.67, Port 22 2025-07-15 16:42:27,061 - DEBUG - VM ctest-TestBasicVMVNx-78377087-01214825 is ready for SSH connections 2025-07-15 16:42:27,061 - INFO - Waiting for VM ctest-TestBasicVMVNx-78377087-12157223 to be up.. 2025-07-15 16:42:27,154 - DEBUG - VM is in ACTIVE state now 2025-07-15 16:42:27,155 - INFO - VM name : ctest-TestBasicVMVNx-78377087-12157223 2025-07-15 16:42:27,242 - DEBUG - VM ctest-TestBasicVMVNx-78377087-12157223 ID is 95ab81bb-94a4-4440-96b3-a86c164e3917 2025-07-15 16:42:27,242 - DEBUG - VM ctest-TestBasicVMVNx-78377087-12157223 launched on Node cn-jenkins-deploy-platform-ansible-os-3640-30. 2025-07-15 16:42:27,321 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/95ab81bb-94a4-4440-96b3-a86c164e3917 2025-07-15 16:42:27,330 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/2f6717af-e2c7-4aba-aba5-ac1cb7a4c284 2025-07-15 16:42:28,592 - 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.08 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.967 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.967/3.023/5.080/2.056 ms') 2025-07-15 16:42:28,592 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-78377087-12157223 passed 2025-07-15 16:42:28,741 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-15 16:42:28,741 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-78377087-12157223, IP 107.118.36.68, Port 22 2025-07-15 16:42:28,911 - DEBUG - VM ctest-TestBasicVMVNx-78377087-12157223 is ready for SSH connections 2025-07-15 16:42:28,911 - DEBUG - FILE SIZE = 1303B 2025-07-15 16:42:28,911 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-78377087-01214825 to ctest-TestBasicVMVNx-78377087-12157223 using scp 2025-07-15 16:42:28,913 - 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.33, gateway password: c0ntrail123 2025-07-15 16:42:28,913 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-07-15 16:42:30,947 - DEBUG - 1+0 records in 1+0 records out 2025-07-15 16:42:31,652 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-15 16:42:31,988 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-07-15 16:42:31,988 - DEBUG - ls -l testfile 2025-07-15 16:42:33,593 - DEBUG - -rw------- 1 cirros cirros 1303 Jul 15 10:42 testfile 2025-07-15 16:42:33,594 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-78377087-12157223 2025-07-15 16:42:33,594 - INFO - Deleting VM ctest-TestBasicVMVNx-78377087-12157223 2025-07-15 16:42:33,669 - INFO - Deleting VM ctest-TestBasicVMVNx-78377087-01214825 2025-07-15 16:42:33,753 - INFO - Deleting VN ctest-vn-80714126 2025-07-15 16:42:33,795 - DEBUG - VN 7bcd1da9-5e76-4d34-82d4-65c7d3d84bc6 still in use: Unable to complete operation on network 7bcd1da9-5e76-4d34-82d4-65c7d3d84bc6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cbe83248-c1d3-4289-95bc-adf0419fede8'] 2025-07-15 16:42:33,795 - WARNING - Deleting VN ctest-vn-80714126 failed..Will retry 2025-07-15 16:42:35,903 - DEBUG - Response for deleting network () 2025-07-15 16:42:36,163 - DEBUG - No XMPP flaps were noticed during the test
2025-07-15 16:42:36,163 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25]
2025-07-15 16:42:36,163 - INFO - -------------------------------------------------------------------------------- 2025-07-15 16:42:36,899 - INFO - Deleted project: ctest-TestBasicVMVNx-78377087, ID : 89a51e7d-f9c1-431c-bcae-e63f55b3e8d8