2024-11-04 02:23:03,271 - INFO - Domain Default found not creating 2024-11-04 02:23:03,438 - INFO - Project ctest-TestBasicVMVNx-02209320 not found, creating it 2024-11-04 02:23:03,936 - INFO - Created Project:ctest-TestBasicVMVNx-02209320, ID : 05f593cb-4e34-4f1f-b01c-7111a12e1c92 2024-11-04 02:23:05,484 - INFO - ================================================================================ 2024-11-04 02:23:05,485 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-11-04 02:23:05,485 - 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-11-04 02:23:05,744 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.0.0.23': '0'}} with 2024-11-04 02:23:05,744 - INFO - Initial checks done. Running the testcase now 2024-11-04 02:23:05,744 - INFO - 2024-11-04 02:23:06,333 - DEBUG - Response for create_network : {'network': {'id': 'e3ac733e-8808-4fa9-ad5f-de0ffbb62cc0', 'name': 'ctest-vn-30067944', 'tenant_id': '05f593cb4e344f1fb01c7111a12e1c92', 'project_id': '05f593cb4e344f1fb01c7111a12e1c92', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-02209320', 'ctest-vn-30067944'], 'port_security_enabled': True, 'description': ''}} 2024-11-04 02:23:06,508 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd5adcb91-a8f8-4377-8c1b-b92643d1c788', 'name': '', 'tenant_id': '05f593cb4e344f1fb01c7111a12e1c92', 'network_id': 'e3ac733e-8808-4fa9-ad5f-de0ffbb62cc0', 'ip_version': 4, 'cidr': '59.30.111.192/26', 'allocation_pools': [{'start': '59.30.111.194', 'end': '59.30.111.254'}], 'gateway_ip': '59.30.111.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '59.30.111.194', 'tags': [], 'project_id': '05f593cb4e344f1fb01c7111a12e1c92'}} 2024-11-04 02:23:06,527 - INFO - Created VN ctest-vn-30067944 2024-11-04 02:23:06,582 - DEBUG - VN ctest-vn-30067944 UUID is e3ac733e-8808-4fa9-ad5f-de0ffbb62cc0 2024-11-04 02:23:06,751 - DEBUG - Services list from nova: [, , ] 2024-11-04 02:23:07,795 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2194-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2194-1) 2024-11-04 02:23:08,999 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2194-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2194-1) 2024-11-04 02:23:08,999 - INFO - Waiting for VM ctest-TestBasicVMVNx-02209320-97279520 to be up.. 2024-11-04 02:23:09,091 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-04 02:23:14,184 - DEBUG - VM is in ACTIVE state now 2024-11-04 02:23:14,184 - INFO - VM name : ctest-TestBasicVMVNx-02209320-97279520 2024-11-04 02:23:14,269 - DEBUG - VM ctest-TestBasicVMVNx-02209320-97279520 ID is 2ce74726-03dd-44f8-a691-f14a07eec2fa 2024-11-04 02:23:14,290 - DEBUG - VM ctest-TestBasicVMVNx-02209320-97279520 launched on Node cn-jenkins-deploy-platform-ansible-os-2194-1. 2024-11-04 02:23:14,374 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/2ce74726-03dd-44f8-a691-f14a07eec2fa 2024-11-04 02:23:14,675 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/2ce74726-03dd-44f8-a691-f14a07eec2fa 2024-11-04 02:23:14,711 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/6d21e3f3-99a3-45a7-88ca-bdef87e6293b 2024-11-04 02:23:17,980 - 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 1006ms') 2024-11-04 02:23:17,980 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-02209320-97279520 failed! 2024-11-04 02:23:18,038 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-02209320:ctest-vn-30067944 is 59.30.111.193 and allocation pool is NOT set 2024-11-04 02:23:20,103 - 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.52 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.406 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.406/1.465/2.524/1.059 ms') 2024-11-04 02:23:20,103 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-02209320-97279520 passed 2024-11-04 02:23:20,262 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-04 02:23:20,262 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-02209320-97279520, IP 59.30.111.195, Port 22 2024-11-04 02:23:20,435 - DEBUG - VM ctest-TestBasicVMVNx-02209320-97279520 is ready for SSH connections 2024-11-04 02:23:20,435 - INFO - Waiting for VM ctest-TestBasicVMVNx-02209320-24226008 to be up.. 2024-11-04 02:23:20,518 - DEBUG - VM is in ACTIVE state now 2024-11-04 02:23:20,518 - INFO - VM name : ctest-TestBasicVMVNx-02209320-24226008 2024-11-04 02:23:20,595 - DEBUG - VM ctest-TestBasicVMVNx-02209320-24226008 ID is 4e277392-fd47-490a-8691-1c588fd0b5d9 2024-11-04 02:23:20,596 - DEBUG - VM ctest-TestBasicVMVNx-02209320-24226008 launched on Node cn-jenkins-deploy-platform-ansible-os-2194-1. 2024-11-04 02:23:20,671 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/4e277392-fd47-490a-8691-1c588fd0b5d9 2024-11-04 02:23:20,681 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/abf798de-ebb8-4d58-aa55-1208c4777cf7 2024-11-04 02:23:21,933 - 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.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.392 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.392/1.576/2.760/1.184 ms') 2024-11-04 02:23:21,933 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-02209320-24226008 passed 2024-11-04 02:23:22,086 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-04 02:23:22,086 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-02209320-24226008, IP 59.30.111.196, Port 22 2024-11-04 02:23:22,249 - DEBUG - VM ctest-TestBasicVMVNx-02209320-24226008 is ready for SSH connections 2024-11-04 02:23:22,249 - DEBUG - FILE SIZE = 1303B 2024-11-04 02:23:22,249 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-02209320-97279520 to ctest-TestBasicVMVNx-02209320-24226008 using scp 2024-11-04 02:23:22,250 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-04 02:23:22,255 - 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.23, gateway password: c0ntrail123 2024-11-04 02:23:22,255 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-11-04 02:23:24,163 - DEBUG - 1+0 records in 1+0 records out 2024-11-04 02:23:24,954 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-04 02:23:25,278 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2024-11-04 02:23:25,279 - DEBUG - ls -l testfile 2024-11-04 02:23:26,863 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 3 19:23 testfile 2024-11-04 02:23:26,864 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-02209320-24226008 2024-11-04 02:23:26,864 - INFO - Deleting VM ctest-TestBasicVMVNx-02209320-24226008 2024-11-04 02:23:26,933 - INFO - Deleting VM ctest-TestBasicVMVNx-02209320-97279520 2024-11-04 02:23:27,009 - INFO - Deleting VN ctest-vn-30067944 2024-11-04 02:23:27,054 - DEBUG - VN e3ac733e-8808-4fa9-ad5f-de0ffbb62cc0 still in use: Unable to complete operation on network e3ac733e-8808-4fa9-ad5f-de0ffbb62cc0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-34d0c757-a8b0-4773-910b-c60309b12f20'] 2024-11-04 02:23:27,054 - WARNING - Deleting VN ctest-vn-30067944 failed..Will retry 2024-11-04 02:23:29,163 - DEBUG - Response for deleting network () 2024-11-04 02:23:29,420 - DEBUG - No XMPP flaps were noticed during the test 2024-11-04 02:23:29,420 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2024-11-04 02:23:29,420 - INFO - -------------------------------------------------------------------------------- 2024-11-04 02:23:30,107 - INFO - Deleted project: ctest-TestBasicVMVNx-02209320, ID : 05f593cb-4e34-4f1f-b01c-7111a12e1c92