2024-11-13 08:50:41,190 - INFO - Domain Default found not creating 2024-11-13 08:50:41,376 - INFO - Project ctest-TestBasicVMVNx-32144016 not found, creating it 2024-11-13 08:50:41,902 - INFO - Created Project:ctest-TestBasicVMVNx-32144016, ID : 13bacaf2-50a2-4fda-b240-b2fae16d6c45 2024-11-13 08:50:44,090 - INFO - ================================================================================ 2024-11-13 08:50:44,090 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-11-13 08:50:44,090 - 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-13 08:50:44,350 - DEBUG - Nothing to compare xmpp stats {'10.0.0.24': {'10.20.0.13': '0'}} with 2024-11-13 08:50:44,350 - INFO - Initial checks done. Running the testcase now 2024-11-13 08:50:44,351 - INFO - 2024-11-13 08:50:44,934 - DEBUG - Response for create_network : {'network': {'id': '3b465b01-e5b1-4a28-bbcc-ddd301d07f9f', 'name': 'ctest-vn-60724072', 'tenant_id': '13bacaf250a24fdab240b2fae16d6c45', 'project_id': '13bacaf250a24fdab240b2fae16d6c45', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-32144016', 'ctest-vn-60724072'], 'port_security_enabled': True, 'description': ''}} 2024-11-13 08:50:45,146 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e41abec2-4d44-4381-9d13-2807390015ee', 'name': '', 'tenant_id': '13bacaf250a24fdab240b2fae16d6c45', 'network_id': '3b465b01-e5b1-4a28-bbcc-ddd301d07f9f', 'ip_version': 4, 'cidr': '198.184.66.0/26', 'allocation_pools': [{'start': '198.184.66.2', 'end': '198.184.66.62'}], 'gateway_ip': '198.184.66.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '198.184.66.2', 'tags': [], 'project_id': '13bacaf250a24fdab240b2fae16d6c45'}} 2024-11-13 08:50:45,166 - INFO - Created VN ctest-vn-60724072 2024-11-13 08:50:45,224 - DEBUG - VN ctest-vn-60724072 UUID is 3b465b01-e5b1-4a28-bbcc-ddd301d07f9f 2024-11-13 08:50:45,418 - DEBUG - Services list from nova: [, , ] 2024-11-13 08:50:46,550 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2281-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2281-1) 2024-11-13 08:50:47,817 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2281-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2281-1) 2024-11-13 08:50:47,817 - INFO - Waiting for VM ctest-TestBasicVMVNx-32144016-72381640 to be up.. 2024-11-13 08:50:47,919 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-13 08:50:53,021 - DEBUG - VM is in ACTIVE state now 2024-11-13 08:50:53,022 - INFO - VM name : ctest-TestBasicVMVNx-32144016-72381640 2024-11-13 08:50:53,132 - DEBUG - VM ctest-TestBasicVMVNx-32144016-72381640 ID is c45b58af-c04e-4728-b18d-942ac22ff59c 2024-11-13 08:50:53,150 - DEBUG - VM ctest-TestBasicVMVNx-32144016-72381640 launched on Node cn-jenkins-deploy-platform-ansible-os-2281-1 2024-11-13 08:50:53,237 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/c45b58af-c04e-4728-b18d-942ac22ff59c 2024-11-13 08:50:53,545 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/c45b58af-c04e-4728-b18d-942ac22ff59c 2024-11-13 08:50:53,600 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/31b9563c-3913-4c3b-acc3-278a66bab6be 2024-11-13 08:50:56,885 - 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 1001ms') 2024-11-13 08:50:56,885 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-32144016-72381640 failed! 2024-11-13 08:50:56,948 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-32144016:ctest-vn-60724072 is 198.184.66.1 and allocation pool is NOT set 2024-11-13 08:50:59,007 - 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=7.33 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.547 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.547/3.938/7.329/3.391 ms') 2024-11-13 08:50:59,007 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-32144016-72381640 passed 2024-11-13 08:50:59,176 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-13 08:50:59,176 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-32144016-72381640, IP 198.184.66.3, Port 22 2024-11-13 08:50:59,333 - DEBUG - VM ctest-TestBasicVMVNx-32144016-72381640 is ready for SSH connections 2024-11-13 08:50:59,333 - INFO - Waiting for VM ctest-TestBasicVMVNx-32144016-24635765 to be up.. 2024-11-13 08:50:59,428 - DEBUG - VM is in ACTIVE state now 2024-11-13 08:50:59,428 - INFO - VM name : ctest-TestBasicVMVNx-32144016-24635765 2024-11-13 08:50:59,532 - DEBUG - VM ctest-TestBasicVMVNx-32144016-24635765 ID is 52e5f76e-9e5a-4a43-9414-a871f56d3936 2024-11-13 08:50:59,532 - DEBUG - VM ctest-TestBasicVMVNx-32144016-24635765 launched on Node cn-jenkins-deploy-platform-ansible-os-2281-1 2024-11-13 08:50:59,680 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/52e5f76e-9e5a-4a43-9414-a871f56d3936 2024-11-13 08:50:59,702 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/67d05c8b-9b66-4359-a1cb-798b9cefe253 2024-11-13 08:51:01,000 - 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.52 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.25 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 = 1.249/3.383/5.518/2.134 ms') 2024-11-13 08:51:01,000 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-32144016-24635765 passed 2024-11-13 08:51:01,164 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-13 08:51:01,164 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-32144016-24635765, IP 198.184.66.4, Port 22 2024-11-13 08:51:01,327 - DEBUG - VM ctest-TestBasicVMVNx-32144016-24635765 is ready for SSH connections 2024-11-13 08:51:01,327 - DEBUG - FILE SIZE = 1303B 2024-11-13 08:51:01,327 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-32144016-72381640 to ctest-TestBasicVMVNx-32144016-24635765 using scp 2024-11-13 08:51:01,328 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-13 08:51:01,335 - 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.24, gateway password: c0ntrail123 2024-11-13 08:51:01,335 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-11-13 08:51:03,276 - DEBUG - 1+0 records in 1+0 records out 2024-11-13 08:51:04,080 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-13 08:51:04,423 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.24, gateway password: c0ntrail123 2024-11-13 08:51:04,423 - DEBUG - ls -l testfile 2024-11-13 08:51:06,278 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 13 01:51 testfile 2024-11-13 08:51:06,278 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-32144016-24635765 2024-11-13 08:51:06,279 - INFO - Deleting VM ctest-TestBasicVMVNx-32144016-24635765 2024-11-13 08:51:06,365 - INFO - Deleting VM ctest-TestBasicVMVNx-32144016-72381640 2024-11-13 08:51:06,475 - INFO - Deleting VN ctest-vn-60724072 2024-11-13 08:51:06,521 - DEBUG - VN 3b465b01-e5b1-4a28-bbcc-ddd301d07f9f still in use: Unable to complete operation on network 3b465b01-e5b1-4a28-bbcc-ddd301d07f9f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-de48b6ca-f5a7-4091-92dc-596b2230d262'] 2024-11-13 08:51:06,522 - WARNING - Deleting VN ctest-vn-60724072 failed..Will retry 2024-11-13 08:51:08,676 - DEBUG - Response for deleting network () 2024-11-13 08:51:08,930 - DEBUG - No XMPP flaps were noticed during the test
2024-11-13 08:51:08,930 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2024-11-13 08:51:08,930 - INFO - -------------------------------------------------------------------------------- 2024-11-13 08:51:09,621 - INFO - Deleted project: ctest-TestBasicVMVNx-32144016, ID : 13bacaf2-50a2-4fda-b240-b2fae16d6c45