2025-02-03 16:40:20,456 - INFO - Domain Default found not creating 2025-02-03 16:40:20,620 - INFO - Project ctest-TestBasicVMVNx-59116592 not found, creating it 2025-02-03 16:40:21,132 - INFO - Created Project:ctest-TestBasicVMVNx-59116592, ID : 67d9df4b-5109-4c8c-abc0-56d3e6fd128e 2025-02-03 16:40:22,766 - INFO - ================================================================================ 2025-02-03 16:40:22,766 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-02-03 16:40:22,766 - 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-03 16:40:23,022 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.5': '0'}} with 2025-02-03 16:40:23,022 - INFO - Initial checks done. Running the testcase now 2025-02-03 16:40:23,022 - INFO - 2025-02-03 16:40:23,590 - DEBUG - Response for create_network : {'network': {'id': 'fcabbcf4-5f2a-46e8-8485-138f73d55e5d', 'name': 'ctest-vn-22716026', 'tenant_id': '67d9df4b51094c8cabc056d3e6fd128e', 'project_id': '67d9df4b51094c8cabc056d3e6fd128e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-59116592', 'ctest-vn-22716026'], 'port_security_enabled': True, 'description': ''}} 2025-02-03 16:40:23,803 - DEBUG - Response for create_subnet : {'subnet': {'id': '3ca367c5-f811-4a27-9e1f-1136b6ae444d', 'name': '', 'tenant_id': '67d9df4b51094c8cabc056d3e6fd128e', 'network_id': 'fcabbcf4-5f2a-46e8-8485-138f73d55e5d', 'ip_version': 4, 'cidr': '131.228.220.0/26', 'allocation_pools': [{'start': '131.228.220.2', 'end': '131.228.220.62'}], 'gateway_ip': '131.228.220.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '131.228.220.2', 'tags': [], 'project_id': '67d9df4b51094c8cabc056d3e6fd128e'}} 2025-02-03 16:40:23,821 - INFO - Created VN ctest-vn-22716026 2025-02-03 16:40:23,875 - DEBUG - VN ctest-vn-22716026 UUID is fcabbcf4-5f2a-46e8-8485-138f73d55e5d 2025-02-03 16:40:24,039 - DEBUG - Services list from nova: [, , ] 2025-02-03 16:40:25,060 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2680-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2680-1) 2025-02-03 16:40:26,211 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2680-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2680-1) 2025-02-03 16:40:26,211 - INFO - Waiting for VM ctest-TestBasicVMVNx-59116592-25313301 to be up.. 2025-02-03 16:40:26,298 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-03 16:40:31,379 - DEBUG - VM is in ACTIVE state now 2025-02-03 16:40:31,379 - INFO - VM name : ctest-TestBasicVMVNx-59116592-25313301 2025-02-03 16:40:31,457 - DEBUG - VM ctest-TestBasicVMVNx-59116592-25313301 ID is 8e9ed87d-45c2-41bc-b625-eb4dfa3a7413 2025-02-03 16:40:31,478 - DEBUG - VM ctest-TestBasicVMVNx-59116592-25313301 launched on Node cn-jenkins-deploy-platform-ansible-os-2680-1 2025-02-03 16:40:31,559 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/8e9ed87d-45c2-41bc-b625-eb4dfa3a7413 2025-02-03 16:40:31,853 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/8e9ed87d-45c2-41bc-b625-eb4dfa3a7413 2025-02-03 16:40:31,885 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/5e986df4-4898-4d62-8699-12fa6388ce6b 2025-02-03 16:40:35,151 - 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 1023ms') 2025-02-03 16:40:35,151 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-59116592-25313301 failed! 2025-02-03 16:40:35,207 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-59116592:ctest-vn-22716026 is 131.228.220.1 and allocation pool is NOT set 2025-02-03 16:40:37,270 - 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.83 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.29 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.287/3.056/4.826/1.769 ms') 2025-02-03 16:40:37,271 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-59116592-25313301 passed 2025-02-03 16:40:37,423 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-03 16:40:37,423 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-59116592-25313301, IP 131.228.220.3, Port 22 2025-02-03 16:40:37,479 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-02-03 16:40:37,554 - DEBUG - VM ctest-TestBasicVMVNx-59116592-25313301 is NOT ready for SSH connections, VM status: ACTIVE 2025-02-03 16:40:42,555 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-03 16:40:42,555 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-59116592-25313301, IP 131.228.220.3, Port 22 2025-02-03 16:40:42,715 - DEBUG - VM ctest-TestBasicVMVNx-59116592-25313301 is ready for SSH connections 2025-02-03 16:40:42,715 - INFO - Waiting for VM ctest-TestBasicVMVNx-59116592-96287632 to be up.. 2025-02-03 16:40:42,789 - DEBUG - VM is in ACTIVE state now 2025-02-03 16:40:42,789 - INFO - VM name : ctest-TestBasicVMVNx-59116592-96287632 2025-02-03 16:40:42,859 - DEBUG - VM ctest-TestBasicVMVNx-59116592-96287632 ID is 802d3fcd-bf51-4563-8d44-ebb602631db5 2025-02-03 16:40:42,859 - DEBUG - VM ctest-TestBasicVMVNx-59116592-96287632 launched on Node cn-jenkins-deploy-platform-ansible-os-2680-1 2025-02-03 16:40:42,933 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/802d3fcd-bf51-4563-8d44-ebb602631db5 2025-02-03 16:40:42,941 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/00f28c6e-2e24-471b-8727-1ef4041bf550 2025-02-03 16:40:44,183 - 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.89 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.398 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.398/1.643/2.888/1.245 ms') 2025-02-03 16:40:44,183 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-59116592-96287632 passed 2025-02-03 16:40:44,339 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-03 16:40:44,339 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-59116592-96287632, IP 131.228.220.4, Port 22 2025-02-03 16:40:44,495 - DEBUG - VM ctest-TestBasicVMVNx-59116592-96287632 is ready for SSH connections 2025-02-03 16:40:44,495 - DEBUG - FILE SIZE = 1303B 2025-02-03 16:40:44,495 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-59116592-25313301 to ctest-TestBasicVMVNx-59116592-96287632 using scp 2025-02-03 16:40:44,495 - 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-02-03 16:40:44,495 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-02-03 16:40:46,508 - DEBUG - 1+0 records in 1+0 records out 2025-02-03 16:40:47,093 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-03 16:40:47,411 - 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-02-03 16:40:47,411 - DEBUG - ls -l testfile 2025-02-03 16:40:49,005 - DEBUG - -rw------- 1 cirros cirros 1303 Feb 3 09:40 testfile 2025-02-03 16:40:49,005 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-59116592-96287632 2025-02-03 16:40:49,006 - INFO - Deleting VM ctest-TestBasicVMVNx-59116592-96287632 2025-02-03 16:40:49,068 - INFO - Deleting VM ctest-TestBasicVMVNx-59116592-25313301 2025-02-03 16:40:49,147 - INFO - Deleting VN ctest-vn-22716026 2025-02-03 16:40:49,191 - DEBUG - VN fcabbcf4-5f2a-46e8-8485-138f73d55e5d still in use: Unable to complete operation on network fcabbcf4-5f2a-46e8-8485-138f73d55e5d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fbae8526-ad22-4369-844f-01b19cf11e97'] 2025-02-03 16:40:49,191 - WARNING - Deleting VN ctest-vn-22716026 failed..Will retry 2025-02-03 16:40:51,294 - DEBUG - Response for deleting network () 2025-02-03 16:40:51,553 - DEBUG - No XMPP flaps were noticed during the test
2025-02-03 16:40:51,554 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:29]
2025-02-03 16:40:51,554 - INFO - -------------------------------------------------------------------------------- 2025-02-03 16:40:52,251 - INFO - Deleted project: ctest-TestBasicVMVNx-59116592, ID : 67d9df4b-5109-4c8c-abc0-56d3e6fd128e