2025-02-10 09:09:31,261 - INFO - Domain Default found not creating 2025-02-10 09:09:31,451 - INFO - Project ctest-TestBasicVMVNx-37004423 not found, creating it 2025-02-10 09:09:31,939 - INFO - Created Project:ctest-TestBasicVMVNx-37004423, ID : c745a081-4535-42f3-9984-a5620aeed50c 2025-02-10 09:09:33,680 - INFO - ================================================================================ 2025-02-10 09:09:33,680 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-02-10 09:09:33,680 - 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-10 09:09:33,936 - DEBUG - Nothing to compare xmpp stats {'10.0.0.35': {'10.20.0.13': '0'}} with 2025-02-10 09:09:33,936 - INFO - Initial checks done. Running the testcase now 2025-02-10 09:09:33,936 - INFO - 2025-02-10 09:09:34,558 - DEBUG - Response for create_network : {'network': {'id': 'f8e0af8f-2a53-43d6-a866-87e05e7d0dc1', 'name': 'ctest-vn-90076827', 'tenant_id': 'c745a081453542f39984a5620aeed50c', 'project_id': 'c745a081453542f39984a5620aeed50c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-37004423', 'ctest-vn-90076827'], 'port_security_enabled': True, 'description': ''}} 2025-02-10 09:09:34,783 - DEBUG - Response for create_subnet : {'subnet': {'id': '492e7449-b2c0-42b9-8fc7-fd5fda527bc1', 'name': '', 'tenant_id': 'c745a081453542f39984a5620aeed50c', 'network_id': 'f8e0af8f-2a53-43d6-a866-87e05e7d0dc1', 'ip_version': 4, 'cidr': '218.94.242.192/26', 'allocation_pools': [{'start': '218.94.242.194', 'end': '218.94.242.254'}], 'gateway_ip': '218.94.242.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '218.94.242.194', 'tags': [], 'project_id': 'c745a081453542f39984a5620aeed50c'}} 2025-02-10 09:09:34,801 - INFO - Created VN ctest-vn-90076827 2025-02-10 09:09:34,856 - DEBUG - VN ctest-vn-90076827 UUID is f8e0af8f-2a53-43d6-a866-87e05e7d0dc1 2025-02-10 09:09:35,034 - DEBUG - Services list from nova: [, , ] 2025-02-10 09:09:36,181 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2710-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2710-1) 2025-02-10 09:09:37,456 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2710-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2710-1) 2025-02-10 09:09:37,456 - INFO - Waiting for VM ctest-TestBasicVMVNx-37004423-38430126 to be up.. 2025-02-10 09:09:37,557 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-10 09:09:42,642 - DEBUG - VM is in ACTIVE state now 2025-02-10 09:09:42,642 - INFO - VM name : ctest-TestBasicVMVNx-37004423-38430126 2025-02-10 09:09:42,745 - DEBUG - VM ctest-TestBasicVMVNx-37004423-38430126 ID is 78d75eed-8b6c-41d1-8205-996eba71c2ba 2025-02-10 09:09:42,864 - DEBUG - VM ctest-TestBasicVMVNx-37004423-38430126 launched on Node cn-jenkins-deploy-platform-ansible-os-2710-1 2025-02-10 09:09:42,966 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/78d75eed-8b6c-41d1-8205-996eba71c2ba 2025-02-10 09:09:43,304 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/78d75eed-8b6c-41d1-8205-996eba71c2ba 2025-02-10 09:09:43,340 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine-interface/c6f400d0-22eb-4cfc-95e1-6189c5397336 2025-02-10 09:09:46,603 - 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 1014ms') 2025-02-10 09:09:46,603 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-37004423-38430126 failed! 2025-02-10 09:09:46,660 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-37004423:ctest-vn-90076827 is 218.94.242.193 and allocation pool is NOT set 2025-02-10 09:09:48,723 - 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.93 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.491 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.491/1.710/2.929/1.219 ms') 2025-02-10 09:09:48,723 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-37004423-38430126 passed 2025-02-10 09:09:48,876 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-10 09:09:48,876 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-37004423-38430126, IP 218.94.242.195, Port 22 2025-02-10 09:09:49,042 - DEBUG - VM ctest-TestBasicVMVNx-37004423-38430126 is ready for SSH connections 2025-02-10 09:09:49,042 - INFO - Waiting for VM ctest-TestBasicVMVNx-37004423-08445876 to be up.. 2025-02-10 09:09:49,129 - DEBUG - VM is in ACTIVE state now 2025-02-10 09:09:49,129 - INFO - VM name : ctest-TestBasicVMVNx-37004423-08445876 2025-02-10 09:09:49,212 - DEBUG - VM ctest-TestBasicVMVNx-37004423-08445876 ID is a6a3d479-7159-4157-88b8-c3bab9b5a6b4 2025-02-10 09:09:49,212 - DEBUG - VM ctest-TestBasicVMVNx-37004423-08445876 launched on Node cn-jenkins-deploy-platform-ansible-os-2710-1 2025-02-10 09:09:49,296 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/a6a3d479-7159-4157-88b8-c3bab9b5a6b4 2025-02-10 09:09:49,308 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine-interface/794997b2-3c20-4e00-ba55-fb4ab1e567c2 2025-02-10 09:09:50,561 - 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=4.15 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.32 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.316/2.731/4.146/1.415 ms') 2025-02-10 09:09:50,561 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-37004423-08445876 passed 2025-02-10 09:09:50,720 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-10 09:09:50,720 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-37004423-08445876, IP 218.94.242.196, Port 22 2025-02-10 09:09:50,876 - DEBUG - VM ctest-TestBasicVMVNx-37004423-08445876 is ready for SSH connections 2025-02-10 09:09:50,876 - DEBUG - FILE SIZE = 1303B 2025-02-10 09:09:50,876 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-37004423-38430126 to ctest-TestBasicVMVNx-37004423-08445876 using scp 2025-02-10 09:09:50,877 - 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.35, gateway password: c0ntrail123 2025-02-10 09:09:50,877 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-02-10 09:09:52,928 - DEBUG - 1+0 records in 1+0 records out 2025-02-10 09:09:53,720 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-10 09:09:54,144 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.35, gateway password: c0ntrail123 2025-02-10 09:09:54,144 - DEBUG - ls -l testfile 2025-02-10 09:09:55,798 - DEBUG - -rw------- 1 cirros cirros 1303 Feb 10 02:09 testfile 2025-02-10 09:09:55,798 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-37004423-08445876 2025-02-10 09:09:55,798 - INFO - Deleting VM ctest-TestBasicVMVNx-37004423-08445876 2025-02-10 09:09:55,866 - INFO - Deleting VM ctest-TestBasicVMVNx-37004423-38430126 2025-02-10 09:09:55,946 - INFO - Deleting VN ctest-vn-90076827 2025-02-10 09:09:55,985 - DEBUG - VN f8e0af8f-2a53-43d6-a866-87e05e7d0dc1 still in use: Unable to complete operation on network f8e0af8f-2a53-43d6-a866-87e05e7d0dc1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-73c13c6e-7349-4ecb-a65a-b3705ba6649b'] 2025-02-10 09:09:55,985 - WARNING - Deleting VN ctest-vn-90076827 failed..Will retry 2025-02-10 09:09:58,145 - DEBUG - Response for deleting network () 2025-02-10 09:09:58,411 - DEBUG - No XMPP flaps were noticed during the test
2025-02-10 09:09:58,411 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25]
2025-02-10 09:09:58,411 - INFO - -------------------------------------------------------------------------------- 2025-02-10 09:09:59,201 - INFO - Deleted project: ctest-TestBasicVMVNx-37004423, ID : c745a081-4535-42f3-9984-a5620aeed50c