2024-09-05 19:23:46,885 - INFO - Domain Default found not creating 2024-09-05 19:23:47,316 - INFO - Project ctest-TestBasicVMVNx-67054518 not found, creating it 2024-09-05 19:23:48,295 - INFO - Created Project:ctest-TestBasicVMVNx-67054518, ID : ae6eb85b-ed76-4602-857b-bfcf2bf7d9b7 2024-09-05 19:23:50,772 - INFO - ================================================================================ 2024-09-05 19:23:50,772 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-05 19:23:50,772 - 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 2024-09-05 19:23:51,037 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.8': '0'}} with 2024-09-05 19:23:51,037 - INFO - Initial checks done. Running the testcase now 2024-09-05 19:23:51,037 - INFO - 2024-09-05 19:23:51,924 - DEBUG - Response for create_network : {'network': {'id': 'd80d5d04-0d26-4ef3-8ebd-2d498cb3616c', 'name': 'ctest-vn-95814326', 'tenant_id': 'ae6eb85bed764602857bbfcf2bf7d9b7', 'project_id': 'ae6eb85bed764602857bbfcf2bf7d9b7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-67054518', 'ctest-vn-95814326'], 'port_security_enabled': True, 'description': ''}} 2024-09-05 19:23:52,220 - DEBUG - Response for create_subnet : {'subnet': {'id': '5c123822-99c5-4971-98b5-9de352d50c6b', 'name': '', 'tenant_id': 'ae6eb85bed764602857bbfcf2bf7d9b7', 'network_id': 'd80d5d04-0d26-4ef3-8ebd-2d498cb3616c', 'ip_version': 4, 'cidr': '100.146.223.128/26', 'allocation_pools': [{'start': '100.146.223.130', 'end': '100.146.223.190'}], 'gateway_ip': '100.146.223.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '100.146.223.130', 'tags': [], 'project_id': 'ae6eb85bed764602857bbfcf2bf7d9b7'}} 2024-09-05 19:23:52,268 - INFO - Created VN ctest-vn-95814326 2024-09-05 19:23:52,338 - DEBUG - VN ctest-vn-95814326 UUID is d80d5d04-0d26-4ef3-8ebd-2d498cb3616c 2024-09-05 19:23:52,687 - DEBUG - Services list from nova: [, , ] 2024-09-05 19:23:54,594 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1857-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1857-1) 2024-09-05 19:23:56,270 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1857-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1857-1) 2024-09-05 19:23:56,271 - INFO - Waiting for VM ctest-TestBasicVMVNx-67054518-26255897 to be up.. 2024-09-05 19:23:56,380 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-05 19:24:01,525 - DEBUG - VM is in ACTIVE state now 2024-09-05 19:24:01,525 - INFO - VM name : ctest-TestBasicVMVNx-67054518-26255897 2024-09-05 19:24:01,787 - DEBUG - VM ctest-TestBasicVMVNx-67054518-26255897 ID is a81dc18d-1f48-4d92-81d1-2ec3a3228586 2024-09-05 19:24:01,808 - DEBUG - VM ctest-TestBasicVMVNx-67054518-26255897 launched on Node cn-jenkins-deploy-platform-ansible-os-1857-1 2024-09-05 19:24:01,951 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/a81dc18d-1f48-4d92-81d1-2ec3a3228586 2024-09-05 19:24:02,294 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/a81dc18d-1f48-4d92-81d1-2ec3a3228586 2024-09-05 19:24:02,333 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/7110d349-7b70-4458-afec-a5c7e1ae706f 2024-09-05 19:24:05,623 - 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 1027ms') 2024-09-05 19:24:05,623 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-67054518-26255897 failed! 2024-09-05 19:24:05,689 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-67054518:ctest-vn-95814326 is 100.146.223.129 and allocation pool is NOT set 2024-09-05 19:24:07,758 - 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.24 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.891 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 = 0.891/2.566/4.242/1.675 ms') 2024-09-05 19:24:07,758 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-67054518-26255897 passed 2024-09-05 19:24:07,934 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-05 19:24:07,934 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-67054518-26255897, IP 100.146.223.131, Port 22 2024-09-05 19:24:08,140 - DEBUG - VM ctest-TestBasicVMVNx-67054518-26255897 is ready for SSH connections 2024-09-05 19:24:08,141 - INFO - Waiting for VM ctest-TestBasicVMVNx-67054518-98308995 to be up.. 2024-09-05 19:24:08,316 - DEBUG - VM is in ACTIVE state now 2024-09-05 19:24:08,317 - INFO - VM name : ctest-TestBasicVMVNx-67054518-98308995 2024-09-05 19:24:08,447 - DEBUG - VM ctest-TestBasicVMVNx-67054518-98308995 ID is 33a6e886-c939-4a9d-864c-7d1ace1f0fc1 2024-09-05 19:24:08,447 - DEBUG - VM ctest-TestBasicVMVNx-67054518-98308995 launched on Node cn-jenkins-deploy-platform-ansible-os-1857-1 2024-09-05 19:24:08,554 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/33a6e886-c939-4a9d-864c-7d1ace1f0fc1 2024-09-05 19:24:08,572 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/5d25054d-9793-41f8-b101-6e92b1ab43df 2024-09-05 19:24:09,887 - 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.36 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.31 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 = 2.313/3.838/5.364/1.525 ms') 2024-09-05 19:24:09,887 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-67054518-98308995 passed 2024-09-05 19:24:10,074 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-05 19:24:10,075 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-67054518-98308995, IP 100.146.223.132, Port 22 2024-09-05 19:24:10,269 - DEBUG - VM ctest-TestBasicVMVNx-67054518-98308995 is ready for SSH connections 2024-09-05 19:24:10,270 - DEBUG - FILE SIZE = 1303B 2024-09-05 19:24:10,270 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-67054518-26255897 to ctest-TestBasicVMVNx-67054518-98308995 using scp 2024-09-05 19:24:10,272 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-05 19:24:10,290 - 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.22, gateway password: c0ntrail123 2024-09-05 19:24:10,290 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-05 19:24:12,781 - DEBUG - 1+0 records in 1+0 records out 2024-09-05 19:24:13,453 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-05 19:24:13,983 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2024-09-05 19:24:13,984 - DEBUG - ls -l testfile 2024-09-05 19:24:15,934 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 5 13:24 testfile 2024-09-05 19:24:15,935 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-67054518-98308995 2024-09-05 19:24:15,935 - INFO - Deleting VM ctest-TestBasicVMVNx-67054518-98308995 2024-09-05 19:24:16,119 - INFO - Deleting VM ctest-TestBasicVMVNx-67054518-26255897 2024-09-05 19:24:16,249 - INFO - Deleting VN ctest-vn-95814326 2024-09-05 19:24:16,347 - DEBUG - VN d80d5d04-0d26-4ef3-8ebd-2d498cb3616c still in use: Unable to complete operation on network d80d5d04-0d26-4ef3-8ebd-2d498cb3616c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f5166ca2-4579-48d0-a979-bd7aeabb5d92'] 2024-09-05 19:24:16,347 - WARNING - Deleting VN ctest-vn-95814326 failed..Will retry 2024-09-05 19:24:18,593 - DEBUG - Response for deleting network () 2024-09-05 19:24:18,934 - DEBUG - No XMPP flaps were noticed during the test 2024-09-05 19:24:18,935 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:28] 2024-09-05 19:24:18,935 - INFO - -------------------------------------------------------------------------------- 2024-09-05 19:24:20,006 - INFO - Deleted project: ctest-TestBasicVMVNx-67054518, ID : ae6eb85b-ed76-4602-857b-bfcf2bf7d9b7