2024-08-23 23:20:08,798 - INFO - Domain Default found not creating 2024-08-23 23:20:08,948 - INFO - Project ctest-TestBasicVMVNx-84009664 not found, creating it 2024-08-23 23:20:09,440 - INFO - Created Project:ctest-TestBasicVMVNx-84009664, ID : 5f3168df-df1b-4292-9269-1d5e50ffdf98 2024-08-23 23:20:10,898 - INFO - ================================================================================ 2024-08-23 23:20:10,898 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-08-23 23:20:10,898 - 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-08-23 23:20:11,154 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.5': '0'}} with 2024-08-23 23:20:11,154 - INFO - Initial checks done. Running the testcase now 2024-08-23 23:20:11,154 - INFO - 2024-08-23 23:20:11,708 - DEBUG - Response for create_network : {'network': {'id': 'dc6086b9-5122-4e4f-8c3b-279b599a6e64', 'name': 'ctest-vn-96373785', 'tenant_id': '5f3168dfdf1b429292691d5e50ffdf98', 'project_id': '5f3168dfdf1b429292691d5e50ffdf98', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-84009664', 'ctest-vn-96373785'], 'port_security_enabled': True, 'description': ''}} 2024-08-23 23:20:11,924 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bb9bc0ad-5090-49f9-a519-5bdd61535334', 'name': '', 'tenant_id': '5f3168dfdf1b429292691d5e50ffdf98', 'network_id': 'dc6086b9-5122-4e4f-8c3b-279b599a6e64', 'ip_version': 4, 'cidr': '74.214.63.64/26', 'allocation_pools': [{'start': '74.214.63.66', 'end': '74.214.63.126'}], 'gateway_ip': '74.214.63.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '74.214.63.66', 'tags': [], 'project_id': '5f3168dfdf1b429292691d5e50ffdf98'}} 2024-08-23 23:20:11,943 - INFO - Created VN ctest-vn-96373785 2024-08-23 23:20:11,992 - DEBUG - VN ctest-vn-96373785 UUID is dc6086b9-5122-4e4f-8c3b-279b599a6e64 2024-08-23 23:20:12,150 - DEBUG - Services list from nova: [, , ] 2024-08-23 23:20:13,969 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1735-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1735-1) 2024-08-23 23:20:17,389 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1735-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1735-1) 2024-08-23 23:20:17,389 - INFO - Waiting for VM ctest-TestBasicVMVNx-84009664-27418878 to be up.. 2024-08-23 23:20:17,462 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-23 23:20:22,535 - DEBUG - VM is in ACTIVE state now 2024-08-23 23:20:22,535 - INFO - VM name : ctest-TestBasicVMVNx-84009664-27418878 2024-08-23 23:20:22,604 - DEBUG - VM ctest-TestBasicVMVNx-84009664-27418878 ID is 2760529a-ee7a-4af3-bfc8-0f8903a0a0d3 2024-08-23 23:20:22,620 - DEBUG - VM ctest-TestBasicVMVNx-84009664-27418878 launched on Node cn-jenkins-deploy-platform-ansible-os-1735-1 2024-08-23 23:20:22,687 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/2760529a-ee7a-4af3-bfc8-0f8903a0a0d3 2024-08-23 23:20:22,980 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/2760529a-ee7a-4af3-bfc8-0f8903a0a0d3 2024-08-23 23:20:23,012 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/8ef626ed-fcb7-4958-9491-233c2e50a15e 2024-08-23 23:20:26,258 - 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 1016ms') 2024-08-23 23:20:26,258 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-84009664-27418878 failed! 2024-08-23 23:20:26,312 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-84009664:ctest-vn-96373785 is 74.214.63.65 and allocation pool is NOT set 2024-08-23 23:20:28,377 - 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=5.30 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=4.73 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 = 4.727/5.015/5.304/0.288 ms') 2024-08-23 23:20:28,378 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-84009664-27418878 passed 2024-08-23 23:20:28,532 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-23 23:20:28,532 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-84009664-27418878, IP 74.214.63.67, Port 22 2024-08-23 23:20:28,593 - 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': ''} 2024-08-23 23:20:28,667 - DEBUG - VM ctest-TestBasicVMVNx-84009664-27418878 is NOT ready for SSH connections, VM status: ACTIVE 2024-08-23 23:20:33,668 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-23 23:20:33,668 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-84009664-27418878, IP 74.214.63.67, Port 22 2024-08-23 23:20:33,824 - DEBUG - VM ctest-TestBasicVMVNx-84009664-27418878 is ready for SSH connections 2024-08-23 23:20:33,824 - INFO - Waiting for VM ctest-TestBasicVMVNx-84009664-62368012 to be up.. 2024-08-23 23:20:33,902 - DEBUG - VM is in ACTIVE state now 2024-08-23 23:20:33,902 - INFO - VM name : ctest-TestBasicVMVNx-84009664-62368012 2024-08-23 23:20:33,975 - DEBUG - VM ctest-TestBasicVMVNx-84009664-62368012 ID is 641e9893-3bbe-4219-82b8-fbcd571d9f21 2024-08-23 23:20:33,975 - DEBUG - VM ctest-TestBasicVMVNx-84009664-62368012 launched on Node cn-jenkins-deploy-platform-ansible-os-1735-1 2024-08-23 23:20:34,047 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/641e9893-3bbe-4219-82b8-fbcd571d9f21 2024-08-23 23:20:34,055 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f7f711ab-25ff-418d-9a9f-9a7951b8e850 2024-08-23 23:20:35,293 - 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.73 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.391 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.391/1.562/2.734/1.171 ms') 2024-08-23 23:20:35,293 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-84009664-62368012 passed 2024-08-23 23:20:35,440 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-23 23:20:35,440 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-84009664-62368012, IP 74.214.63.68, Port 22 2024-08-23 23:20:35,591 - DEBUG - VM ctest-TestBasicVMVNx-84009664-62368012 is ready for SSH connections 2024-08-23 23:20:35,591 - DEBUG - FILE SIZE = 1303B 2024-08-23 23:20:35,591 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-84009664-27418878 to ctest-TestBasicVMVNx-84009664-62368012 using scp 2024-08-23 23:20:35,592 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-23 23:20:35,597 - 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.38, gateway password: c0ntrail123 2024-08-23 23:20:35,598 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-08-23 23:20:39,663 - DEBUG - 1+0 records in 1+0 records out 2024-08-23 23:20:40,254 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-23 23:20:40,577 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2024-08-23 23:20:40,577 - DEBUG - ls -l testfile 2024-08-23 23:20:42,146 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 23 17:20 testfile 2024-08-23 23:20:42,147 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-84009664-62368012 2024-08-23 23:20:42,147 - INFO - Deleting VM ctest-TestBasicVMVNx-84009664-62368012 2024-08-23 23:20:42,210 - INFO - Deleting VM ctest-TestBasicVMVNx-84009664-27418878 2024-08-23 23:20:42,269 - INFO - Deleting VN ctest-vn-96373785 2024-08-23 23:20:42,306 - DEBUG - VN dc6086b9-5122-4e4f-8c3b-279b599a6e64 still in use: Unable to complete operation on network dc6086b9-5122-4e4f-8c3b-279b599a6e64. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-eb6ae24a-3336-4d4a-893f-563bec5671bb'] 2024-08-23 23:20:42,306 - WARNING - Deleting VN ctest-vn-96373785 failed..Will retry 2024-08-23 23:20:44,411 - DEBUG - Response for deleting network () 2024-08-23 23:20:44,674 - DEBUG - No XMPP flaps were noticed during the test
2024-08-23 23:20:44,674 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:34]
2024-08-23 23:20:44,674 - INFO - -------------------------------------------------------------------------------- 2024-08-23 23:20:45,339 - INFO - Deleted project: ctest-TestBasicVMVNx-84009664, ID : 5f3168df-df1b-4292-9269-1d5e50ffdf98