2024-09-03 14:48:35,858 - INFO - Domain Default found not creating 2024-09-03 14:48:36,032 - INFO - Project ctest-TestBasicVMVNx-03670973 not found, creating it 2024-09-03 14:48:36,615 - INFO - Created Project:ctest-TestBasicVMVNx-03670973, ID : 02bbb024-18ee-4d61-baf5-540e36aa5149 2024-09-03 14:48:38,370 - INFO - ================================================================================ 2024-09-03 14:48:38,370 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-03 14:48:38,370 - 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-03 14:48:38,634 - DEBUG - Nothing to compare xmpp stats {'10.0.0.42': {'10.20.0.10': '0'}} with 2024-09-03 14:48:38,634 - INFO - Initial checks done. Running the testcase now 2024-09-03 14:48:38,634 - INFO - 2024-09-03 14:48:39,307 - DEBUG - Response for create_network : {'network': {'id': 'bd8c0002-37fb-4ea8-b422-afb80737b7d9', 'name': 'ctest-vn-73434106', 'tenant_id': '02bbb02418ee4d61baf5540e36aa5149', 'project_id': '02bbb02418ee4d61baf5540e36aa5149', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-03670973', 'ctest-vn-73434106'], 'port_security_enabled': True, 'description': ''}} 2024-09-03 14:48:39,524 - DEBUG - Response for create_subnet : {'subnet': {'id': '4ea98c24-17c6-44fa-bb84-678ca61dc832', 'name': '', 'tenant_id': '02bbb02418ee4d61baf5540e36aa5149', 'network_id': 'bd8c0002-37fb-4ea8-b422-afb80737b7d9', 'ip_version': 4, 'cidr': '156.248.143.128/26', 'allocation_pools': [{'start': '156.248.143.130', 'end': '156.248.143.190'}], 'gateway_ip': '156.248.143.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.248.143.130', 'tags': [], 'project_id': '02bbb02418ee4d61baf5540e36aa5149'}} 2024-09-03 14:48:39,544 - INFO - Created VN ctest-vn-73434106 2024-09-03 14:48:39,595 - DEBUG - VN ctest-vn-73434106 UUID is bd8c0002-37fb-4ea8-b422-afb80737b7d9 2024-09-03 14:48:39,763 - DEBUG - Services list from nova: [, , ] 2024-09-03 14:48:40,993 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1836-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1836-1) 2024-09-03 14:48:42,238 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1836-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1836-1) 2024-09-03 14:48:42,239 - INFO - Waiting for VM ctest-TestBasicVMVNx-03670973-84352666 to be up.. 2024-09-03 14:48:42,343 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-03 14:48:47,450 - DEBUG - VM is in ACTIVE state now 2024-09-03 14:48:47,450 - INFO - VM name : ctest-TestBasicVMVNx-03670973-84352666 2024-09-03 14:48:47,564 - DEBUG - VM ctest-TestBasicVMVNx-03670973-84352666 ID is adf7426e-577f-4d5d-9494-48f228105b44 2024-09-03 14:48:47,584 - DEBUG - VM ctest-TestBasicVMVNx-03670973-84352666 launched on Node cn-jenkins-deploy-platform-ansible-os-1836-1 2024-09-03 14:48:47,671 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/adf7426e-577f-4d5d-9494-48f228105b44 2024-09-03 14:48:48,001 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/adf7426e-577f-4d5d-9494-48f228105b44 2024-09-03 14:48:48,039 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/ca1dc58b-a7ba-48ca-bf98-0ef5795fda7e 2024-09-03 14:48:51,298 - 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-09-03 14:48:51,299 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-03670973-84352666 failed! 2024-09-03 14:48:51,367 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-03670973:ctest-vn-73434106 is 156.248.143.129 and allocation pool is NOT set 2024-09-03 14:48:53,437 - 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.73 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.92 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 = 1.916/3.321/4.726/1.405 ms') 2024-09-03 14:48:53,437 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-03670973-84352666 passed 2024-09-03 14:48:53,595 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-03 14:48:53,595 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-03670973-84352666, IP 156.248.143.131, Port 22 2024-09-03 14:48:53,762 - DEBUG - VM ctest-TestBasicVMVNx-03670973-84352666 is ready for SSH connections 2024-09-03 14:48:53,762 - INFO - Waiting for VM ctest-TestBasicVMVNx-03670973-65344928 to be up.. 2024-09-03 14:48:53,962 - DEBUG - VM is in ACTIVE state now 2024-09-03 14:48:53,962 - INFO - VM name : ctest-TestBasicVMVNx-03670973-65344928 2024-09-03 14:48:54,048 - DEBUG - VM ctest-TestBasicVMVNx-03670973-65344928 ID is b3005e67-15bf-4af8-9b7e-e6f89999e84a 2024-09-03 14:48:54,048 - DEBUG - VM ctest-TestBasicVMVNx-03670973-65344928 launched on Node cn-jenkins-deploy-platform-ansible-os-1836-1 2024-09-03 14:48:54,137 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/b3005e67-15bf-4af8-9b7e-e6f89999e84a 2024-09-03 14:48:54,147 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/3f7c98e6-82e3-4972-9e7c-524301307221 2024-09-03 14:48:55,391 - 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.31 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.515 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.515/1.910/3.306/1.395 ms') 2024-09-03 14:48:55,391 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-03670973-65344928 passed 2024-09-03 14:48:55,539 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-03 14:48:55,539 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-03670973-65344928, IP 156.248.143.132, Port 22 2024-09-03 14:48:55,699 - DEBUG - VM ctest-TestBasicVMVNx-03670973-65344928 is ready for SSH connections 2024-09-03 14:48:55,699 - DEBUG - FILE SIZE = 1303B 2024-09-03 14:48:55,699 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-03670973-84352666 to ctest-TestBasicVMVNx-03670973-65344928 using scp 2024-09-03 14:48:55,700 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-03 14:48:55,706 - 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.42, gateway password: c0ntrail123 2024-09-03 14:48:55,706 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-03 14:48:57,638 - DEBUG - 1+0 records in 1+0 records out 2024-09-03 14:48:58,452 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-03 14:48:58,772 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.42, gateway password: c0ntrail123 2024-09-03 14:48:58,773 - DEBUG - ls -l testfile 2024-09-03 14:49:00,372 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 3 08:48 testfile 2024-09-03 14:49:00,372 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-03670973-65344928 2024-09-03 14:49:00,372 - INFO - Deleting VM ctest-TestBasicVMVNx-03670973-65344928 2024-09-03 14:49:00,451 - INFO - Deleting VM ctest-TestBasicVMVNx-03670973-84352666 2024-09-03 14:49:00,531 - INFO - Deleting VN ctest-vn-73434106 2024-09-03 14:49:00,581 - DEBUG - VN bd8c0002-37fb-4ea8-b422-afb80737b7d9 still in use: Unable to complete operation on network bd8c0002-37fb-4ea8-b422-afb80737b7d9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5bb94f07-d04e-454e-a732-0e3744f5356c'] 2024-09-03 14:49:00,581 - WARNING - Deleting VN ctest-vn-73434106 failed..Will retry 2024-09-03 14:49:02,698 - DEBUG - Response for deleting network () 2024-09-03 14:49:02,952 - DEBUG - No XMPP flaps were noticed during the test
2024-09-03 14:49:02,952 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2024-09-03 14:49:02,953 - INFO - -------------------------------------------------------------------------------- 2024-09-03 14:49:03,782 - INFO - Deleted project: ctest-TestBasicVMVNx-03670973, ID : 02bbb024-18ee-4d61-baf5-540e36aa5149