2024-08-26 22:28:10,509 - INFO - Domain Default found not creating 2024-08-26 22:28:10,666 - INFO - Project ctest-TestBasicVMVNx-57388047 not found, creating it 2024-08-26 22:28:11,142 - INFO - Created Project:ctest-TestBasicVMVNx-57388047, ID : 97e04669-6d99-4dd6-a201-bdc15e9e6f9d 2024-08-26 22:28:12,618 - INFO - ================================================================================ 2024-08-26 22:28:12,619 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-08-26 22:28:12,619 - 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-26 22:28:12,874 - DEBUG - Nothing to compare xmpp stats {'10.0.0.29': {'10.20.0.14': '0'}} with 2024-08-26 22:28:12,875 - INFO - Initial checks done. Running the testcase now 2024-08-26 22:28:12,875 - INFO - 2024-08-26 22:28:13,434 - DEBUG - Response for create_network : {'network': {'id': '8195481c-69fc-4dd3-b7cf-c87d24eafe4a', 'name': 'ctest-vn-29199774', 'tenant_id': '97e046696d994dd6a201bdc15e9e6f9d', 'project_id': '97e046696d994dd6a201bdc15e9e6f9d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-57388047', 'ctest-vn-29199774'], 'port_security_enabled': True, 'description': ''}} 2024-08-26 22:28:13,649 - DEBUG - Response for create_subnet : {'subnet': {'id': '041f4ce0-4352-4a02-9f82-8567c860fcc1', 'name': '', 'tenant_id': '97e046696d994dd6a201bdc15e9e6f9d', 'network_id': '8195481c-69fc-4dd3-b7cf-c87d24eafe4a', 'ip_version': 4, 'cidr': '195.144.38.64/26', 'allocation_pools': [{'start': '195.144.38.66', 'end': '195.144.38.126'}], 'gateway_ip': '195.144.38.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '195.144.38.66', 'tags': [], 'project_id': '97e046696d994dd6a201bdc15e9e6f9d'}} 2024-08-26 22:28:13,670 - INFO - Created VN ctest-vn-29199774 2024-08-26 22:28:13,721 - DEBUG - VN ctest-vn-29199774 UUID is 8195481c-69fc-4dd3-b7cf-c87d24eafe4a 2024-08-26 22:28:13,894 - DEBUG - Services list from nova: [, , ] 2024-08-26 22:28:16,293 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1776-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1776-1) 2024-08-26 22:28:17,442 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1776-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1776-1) 2024-08-26 22:28:17,443 - INFO - Waiting for VM ctest-TestBasicVMVNx-57388047-00728768 to be up.. 2024-08-26 22:28:17,541 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-26 22:28:22,621 - DEBUG - VM is in ACTIVE state now 2024-08-26 22:28:22,622 - INFO - VM name : ctest-TestBasicVMVNx-57388047-00728768 2024-08-26 22:28:22,706 - DEBUG - VM ctest-TestBasicVMVNx-57388047-00728768 ID is 822c8c59-2010-46ac-8e75-ccf006db4328 2024-08-26 22:28:22,724 - DEBUG - VM ctest-TestBasicVMVNx-57388047-00728768 launched on Node cn-jenkins-deploy-platform-ansible-os-1776-1 2024-08-26 22:28:22,803 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/822c8c59-2010-46ac-8e75-ccf006db4328 2024-08-26 22:28:23,097 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/822c8c59-2010-46ac-8e75-ccf006db4328 2024-08-26 22:28:23,136 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/ceb719f9-f3e7-4ae9-a45b-2bdcf41768e1 2024-08-26 22:28:26,386 - 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 1003ms') 2024-08-26 22:28:26,386 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-57388047-00728768 failed! 2024-08-26 22:28:26,441 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-57388047:ctest-vn-29199774 is 195.144.38.65 and allocation pool is NOT set 2024-08-26 22:28:28,499 - 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=3.51 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.538 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.538/2.025/3.513/1.487 ms') 2024-08-26 22:28:28,499 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-57388047-00728768 passed 2024-08-26 22:28:28,649 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 22:28:28,649 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-57388047-00728768, IP 195.144.38.67, Port 22 2024-08-26 22:28:28,808 - DEBUG - VM ctest-TestBasicVMVNx-57388047-00728768 is ready for SSH connections 2024-08-26 22:28:28,808 - INFO - Waiting for VM ctest-TestBasicVMVNx-57388047-77274990 to be up.. 2024-08-26 22:28:28,890 - DEBUG - VM is in ACTIVE state now 2024-08-26 22:28:28,890 - INFO - VM name : ctest-TestBasicVMVNx-57388047-77274990 2024-08-26 22:28:28,967 - DEBUG - VM ctest-TestBasicVMVNx-57388047-77274990 ID is 67e06284-f6a4-4dd5-a62c-19a20bf12c3b 2024-08-26 22:28:28,967 - DEBUG - VM ctest-TestBasicVMVNx-57388047-77274990 launched on Node cn-jenkins-deploy-platform-ansible-os-1776-1 2024-08-26 22:28:29,043 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/67e06284-f6a4-4dd5-a62c-19a20bf12c3b 2024-08-26 22:28:29,053 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/2c823540-b790-4a64-b20b-77013d050100 2024-08-26 22:28:30,291 - 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=6.05 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.77 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 = 2.772/4.412/6.053/1.640 ms') 2024-08-26 22:28:30,291 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-57388047-77274990 passed 2024-08-26 22:28:30,445 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 22:28:30,445 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-57388047-77274990, IP 195.144.38.68, Port 22 2024-08-26 22:28:30,604 - DEBUG - VM ctest-TestBasicVMVNx-57388047-77274990 is ready for SSH connections 2024-08-26 22:28:30,604 - DEBUG - FILE SIZE = 1303B 2024-08-26 22:28:30,604 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-57388047-00728768 to ctest-TestBasicVMVNx-57388047-77274990 using scp 2024-08-26 22:28:30,605 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 22:28:30,611 - 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.29, gateway password: c0ntrail123 2024-08-26 22:28:30,612 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-08-26 22:28:32,551 - DEBUG - 1+0 records in 1+0 records out 2024-08-26 22:28:33,127 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 22:28:33,461 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123 2024-08-26 22:28:33,461 - DEBUG - ls -l testfile 2024-08-26 22:28:34,047 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 26 16:28 testfile 2024-08-26 22:28:34,047 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-57388047-77274990 2024-08-26 22:28:34,047 - INFO - Deleting VM ctest-TestBasicVMVNx-57388047-77274990 2024-08-26 22:28:34,121 - INFO - Deleting VM ctest-TestBasicVMVNx-57388047-00728768 2024-08-26 22:28:34,199 - INFO - Deleting VN ctest-vn-29199774 2024-08-26 22:28:34,248 - DEBUG - VN 8195481c-69fc-4dd3-b7cf-c87d24eafe4a still in use: Unable to complete operation on network 8195481c-69fc-4dd3-b7cf-c87d24eafe4a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6df190d7-bf8e-496d-8ad1-d370ca43c1c3'] 2024-08-26 22:28:34,249 - WARNING - Deleting VN ctest-vn-29199774 failed..Will retry 2024-08-26 22:28:36,367 - DEBUG - Response for deleting network () 2024-08-26 22:28:36,626 - DEBUG - No XMPP flaps were noticed during the test
2024-08-26 22:28:36,626 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2024-08-26 22:28:36,627 - INFO - -------------------------------------------------------------------------------- 2024-08-26 22:28:38,815 - INFO - Deleted project: ctest-TestBasicVMVNx-57388047, ID : 97e04669-6d99-4dd6-a201-bdc15e9e6f9d