2024-11-12 14:42:12,259 - INFO - Domain Default found not creating 2024-11-12 14:42:12,436 - INFO - Project ctest-TestBasicVMVNx-66677635 not found, creating it 2024-11-12 14:42:12,938 - INFO - Created Project:ctest-TestBasicVMVNx-66677635, ID : 1d532a52-a1f7-42d9-9204-d893c69a6291 2024-11-12 14:42:14,446 - INFO - ================================================================================ 2024-11-12 14:42:14,446 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-11-12 14:42:14,446 - 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-12 14:42:14,701 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.22': '0'}} with 2024-11-12 14:42:14,701 - INFO - Initial checks done. Running the testcase now 2024-11-12 14:42:14,701 - INFO - 2024-11-12 14:42:15,335 - DEBUG - Response for create_network : {'network': {'id': '647e7366-c1bc-402d-afba-37e27de33873', 'name': 'ctest-vn-71479334', 'tenant_id': '1d532a52a1f742d99204d893c69a6291', 'project_id': '1d532a52a1f742d99204d893c69a6291', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-66677635', 'ctest-vn-71479334'], 'port_security_enabled': True, 'description': ''}} 2024-11-12 14:42:15,553 - DEBUG - Response for create_subnet : {'subnet': {'id': '6cdb4293-71a3-4815-b0af-9645afe079fb', 'name': '', 'tenant_id': '1d532a52a1f742d99204d893c69a6291', 'network_id': '647e7366-c1bc-402d-afba-37e27de33873', 'ip_version': 4, 'cidr': '80.156.166.192/26', 'allocation_pools': [{'start': '80.156.166.194', 'end': '80.156.166.254'}], 'gateway_ip': '80.156.166.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.156.166.194', 'tags': [], 'project_id': '1d532a52a1f742d99204d893c69a6291'}} 2024-11-12 14:42:15,576 - INFO - Created VN ctest-vn-71479334 2024-11-12 14:42:15,634 - DEBUG - VN ctest-vn-71479334 UUID is 647e7366-c1bc-402d-afba-37e27de33873 2024-11-12 14:42:15,815 - DEBUG - Services list from nova: [, , ] 2024-11-12 14:42:16,885 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2277-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2277-1) 2024-11-12 14:42:18,097 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2277-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2277-1) 2024-11-12 14:42:18,097 - INFO - Waiting for VM ctest-TestBasicVMVNx-66677635-44717863 to be up.. 2024-11-12 14:42:18,244 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-12 14:42:23,327 - DEBUG - VM is in ACTIVE state now 2024-11-12 14:42:23,328 - INFO - VM name : ctest-TestBasicVMVNx-66677635-44717863 2024-11-12 14:42:23,416 - DEBUG - VM ctest-TestBasicVMVNx-66677635-44717863 ID is e2a8bea0-6ca8-4c07-a948-4b505baeb9d4 2024-11-12 14:42:23,435 - DEBUG - VM ctest-TestBasicVMVNx-66677635-44717863 launched on Node cn-jenkins-deploy-platform-ansible-os-2277-1 2024-11-12 14:42:23,518 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/e2a8bea0-6ca8-4c07-a948-4b505baeb9d4 2024-11-12 14:42:23,820 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/e2a8bea0-6ca8-4c07-a948-4b505baeb9d4 2024-11-12 14:42:23,855 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/101f4a34-6b7d-4d8e-9fe7-429ffe593433 2024-11-12 14:42:27,130 - 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') 2024-11-12 14:42:27,130 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-66677635-44717863 failed! 2024-11-12 14:42:27,190 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-66677635:ctest-vn-71479334 is 80.156.166.193 and allocation pool is NOT set 2024-11-12 14:42:29,254 - 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.81 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.680 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.680/1.743/2.806/1.063 ms') 2024-11-12 14:42:29,255 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-66677635-44717863 passed 2024-11-12 14:42:29,422 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-12 14:42:29,423 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-66677635-44717863, IP 80.156.166.195, Port 22 2024-11-12 14:42:29,582 - DEBUG - VM ctest-TestBasicVMVNx-66677635-44717863 is ready for SSH connections 2024-11-12 14:42:29,582 - INFO - Waiting for VM ctest-TestBasicVMVNx-66677635-66063223 to be up.. 2024-11-12 14:42:29,688 - DEBUG - VM is in ACTIVE state now 2024-11-12 14:42:29,689 - INFO - VM name : ctest-TestBasicVMVNx-66677635-66063223 2024-11-12 14:42:29,780 - DEBUG - VM ctest-TestBasicVMVNx-66677635-66063223 ID is e08c8739-7b2a-4eb8-aed0-6f5d4d8eae93 2024-11-12 14:42:29,780 - DEBUG - VM ctest-TestBasicVMVNx-66677635-66063223 launched on Node cn-jenkins-deploy-platform-ansible-os-2277-1 2024-11-12 14:42:29,864 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/e08c8739-7b2a-4eb8-aed0-6f5d4d8eae93 2024-11-12 14:42:29,873 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/7df9c4b2-ea37-4c95-bffa-e4844da1b148 2024-11-12 14:42:31,135 - 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=3.47 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.502 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.502/1.987/3.472/1.485 ms') 2024-11-12 14:42:31,136 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-66677635-66063223 passed 2024-11-12 14:42:31,302 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-12 14:42:31,303 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-66677635-66063223, IP 80.156.166.196, Port 22 2024-11-12 14:42:31,458 - DEBUG - VM ctest-TestBasicVMVNx-66677635-66063223 is ready for SSH connections 2024-11-12 14:42:31,458 - DEBUG - FILE SIZE = 1303B 2024-11-12 14:42:31,458 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-66677635-44717863 to ctest-TestBasicVMVNx-66677635-66063223 using scp 2024-11-12 14:42:31,459 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-12 14:42:31,464 - 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-12 14:42:31,464 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-11-12 14:42:33,440 - DEBUG - 1+0 records in 1+0 records out 2024-11-12 14:42:34,199 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-12 14:42:34,523 - 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-12 14:42:34,523 - DEBUG - ls -l testfile 2024-11-12 14:42:36,149 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 12 07:42 testfile 2024-11-12 14:42:36,149 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-66677635-66063223 2024-11-12 14:42:36,149 - INFO - Deleting VM ctest-TestBasicVMVNx-66677635-66063223 2024-11-12 14:42:36,226 - INFO - Deleting VM ctest-TestBasicVMVNx-66677635-44717863 2024-11-12 14:42:36,296 - INFO - Deleting VN ctest-vn-71479334 2024-11-12 14:42:36,343 - DEBUG - VN 647e7366-c1bc-402d-afba-37e27de33873 still in use: Unable to complete operation on network 647e7366-c1bc-402d-afba-37e27de33873. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3338d7b1-ec19-41b4-a8a1-01ffa3860e7b'] 2024-11-12 14:42:36,343 - WARNING - Deleting VN ctest-vn-71479334 failed..Will retry 2024-11-12 14:42:38,466 - DEBUG - Response for deleting network () 2024-11-12 14:42:38,729 - DEBUG - No XMPP flaps were noticed during the test 2024-11-12 14:42:38,729 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2024-11-12 14:42:38,729 - INFO - -------------------------------------------------------------------------------- 2024-11-12 14:42:39,486 - INFO - Deleted project: ctest-TestBasicVMVNx-66677635, ID : 1d532a52-a1f7-42d9-9204-d893c69a6291