2024-08-21 18:32:40,506 - INFO - Domain Default found not creating 2024-08-21 18:32:40,682 - INFO - Project ctest-TestBasicVMVNx-37553857 not found, creating it 2024-08-21 18:32:41,171 - INFO - Created Project:ctest-TestBasicVMVNx-37553857, ID : aa287a12-7f67-4849-97f1-621f4c471d05 2024-08-21 18:32:42,736 - INFO - ================================================================================ 2024-08-21 18:32:42,736 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-08-21 18:32:42,737 - 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-21 18:32:43,007 - DEBUG - Nothing to compare xmpp stats {'10.0.0.56': {'10.20.0.12': '0'}} with 2024-08-21 18:32:43,007 - INFO - Initial checks done. Running the testcase now 2024-08-21 18:32:43,007 - INFO - 2024-08-21 18:32:43,604 - DEBUG - Response for create_network : {'network': {'id': 'fc17abb2-d3bb-4477-b615-f5847fd0f110', 'name': 'ctest-vn-46906431', 'tenant_id': 'aa287a127f67484997f1621f4c471d05', 'project_id': 'aa287a127f67484997f1621f4c471d05', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-37553857', 'ctest-vn-46906431'], 'port_security_enabled': True, 'description': ''}} 2024-08-21 18:32:43,779 - DEBUG - Response for create_subnet : {'subnet': {'id': '79e0af40-ce4b-4787-a6d1-6a1b64c4c27c', 'name': '', 'tenant_id': 'aa287a127f67484997f1621f4c471d05', 'network_id': 'fc17abb2-d3bb-4477-b615-f5847fd0f110', 'ip_version': 4, 'cidr': '5.210.128.192/26', 'allocation_pools': [{'start': '5.210.128.194', 'end': '5.210.128.254'}], 'gateway_ip': '5.210.128.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '5.210.128.194', 'tags': [], 'project_id': 'aa287a127f67484997f1621f4c471d05'}} 2024-08-21 18:32:43,799 - INFO - Created VN ctest-vn-46906431 2024-08-21 18:32:43,852 - DEBUG - VN ctest-vn-46906431 UUID is fc17abb2-d3bb-4477-b615-f5847fd0f110 2024-08-21 18:32:44,023 - DEBUG - Services list from nova: [, , ] 2024-08-21 18:32:45,075 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1696-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1696-1) 2024-08-21 18:32:46,303 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1696-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1696-1) 2024-08-21 18:32:46,303 - INFO - Waiting for VM ctest-TestBasicVMVNx-37553857-86919937 to be up.. 2024-08-21 18:32:46,409 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-21 18:32:51,497 - DEBUG - VM is in ACTIVE state now 2024-08-21 18:32:51,497 - INFO - VM name : ctest-TestBasicVMVNx-37553857-86919937 2024-08-21 18:32:51,587 - DEBUG - VM ctest-TestBasicVMVNx-37553857-86919937 ID is d10d6b05-ad3c-4e88-9d19-d652553290b1 2024-08-21 18:32:51,605 - DEBUG - VM ctest-TestBasicVMVNx-37553857-86919937 launched on Node cn-jenkins-deploy-platform-ansible-os-1696-1 2024-08-21 18:32:51,687 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/d10d6b05-ad3c-4e88-9d19-d652553290b1 2024-08-21 18:32:51,990 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/d10d6b05-ad3c-4e88-9d19-d652553290b1 2024-08-21 18:32:52,028 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/cd08bd2c-334f-4bd9-80d3-c39e09da9f48 2024-08-21 18:32:55,285 - 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 1014ms') 2024-08-21 18:32:55,286 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-37553857-86919937 failed! 2024-08-21 18:32:55,344 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-37553857:ctest-vn-46906431 is 5.210.128.193 and allocation pool is NOT set 2024-08-21 18:32:57,413 - 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.88 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.458 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.458/2.167/3.877/1.709 ms') 2024-08-21 18:32:57,414 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-37553857-86919937 passed 2024-08-21 18:32:57,564 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 18:32:57,564 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-37553857-86919937, IP 5.210.128.195, Port 22 2024-08-21 18:32:57,719 - DEBUG - VM ctest-TestBasicVMVNx-37553857-86919937 is ready for SSH connections 2024-08-21 18:32:57,719 - INFO - Waiting for VM ctest-TestBasicVMVNx-37553857-32014986 to be up.. 2024-08-21 18:32:57,812 - DEBUG - VM is in ACTIVE state now 2024-08-21 18:32:57,812 - INFO - VM name : ctest-TestBasicVMVNx-37553857-32014986 2024-08-21 18:32:57,895 - DEBUG - VM ctest-TestBasicVMVNx-37553857-32014986 ID is 4f12b7ad-1afa-4717-888e-ec2713b3a6e7 2024-08-21 18:32:57,895 - DEBUG - VM ctest-TestBasicVMVNx-37553857-32014986 launched on Node cn-jenkins-deploy-platform-ansible-os-1696-1 2024-08-21 18:32:57,974 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/4f12b7ad-1afa-4717-888e-ec2713b3a6e7 2024-08-21 18:32:57,983 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/2c8bbf68-97fe-4fd1-948f-ed051e989b85 2024-08-21 18:32:59,238 - 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.59 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.468 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 = 0.468/1.529/2.590/1.061 ms') 2024-08-21 18:32:59,238 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-37553857-32014986 passed 2024-08-21 18:32:59,388 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 18:32:59,388 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-37553857-32014986, IP 5.210.128.196, Port 22 2024-08-21 18:32:59,543 - DEBUG - VM ctest-TestBasicVMVNx-37553857-32014986 is ready for SSH connections 2024-08-21 18:32:59,543 - DEBUG - FILE SIZE = 1303B 2024-08-21 18:32:59,543 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-37553857-86919937 to ctest-TestBasicVMVNx-37553857-32014986 using scp 2024-08-21 18:32:59,544 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 18:32:59,549 - 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.56, gateway password: c0ntrail123 2024-08-21 18:32:59,549 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-08-21 18:33:01,468 - DEBUG - 1+0 records in 1+0 records out 2024-08-21 18:33:02,231 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 18:33:02,558 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.56, gateway password: c0ntrail123 2024-08-21 18:33:02,559 - DEBUG - ls -l testfile 2024-08-21 18:33:04,166 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 21 12:33 testfile 2024-08-21 18:33:04,166 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-37553857-32014986 2024-08-21 18:33:04,167 - INFO - Deleting VM ctest-TestBasicVMVNx-37553857-32014986 2024-08-21 18:33:04,245 - INFO - Deleting VM ctest-TestBasicVMVNx-37553857-86919937 2024-08-21 18:33:04,326 - INFO - Deleting VN ctest-vn-46906431 2024-08-21 18:33:04,370 - DEBUG - VN fc17abb2-d3bb-4477-b615-f5847fd0f110 still in use: Unable to complete operation on network fc17abb2-d3bb-4477-b615-f5847fd0f110. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-29c91332-2257-4358-b066-15ca42bea17d'] 2024-08-21 18:33:04,370 - WARNING - Deleting VN ctest-vn-46906431 failed..Will retry 2024-08-21 18:33:06,489 - DEBUG - Response for deleting network () 2024-08-21 18:33:06,764 - DEBUG - No XMPP flaps were noticed during the test
2024-08-21 18:33:06,765 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2024-08-21 18:33:06,765 - INFO - -------------------------------------------------------------------------------- 2024-08-21 18:33:07,488 - INFO - Deleted project: ctest-TestBasicVMVNx-37553857, ID : aa287a12-7f67-4849-97f1-621f4c471d05