2025-01-02 22:33:07,034 - INFO - Domain Default found not creating 2025-01-02 22:33:07,198 - INFO - Project ctest-TestBasicVMVNx-39898973 not found, creating it 2025-01-02 22:33:07,682 - INFO - Created Project:ctest-TestBasicVMVNx-39898973, ID : ceaed658-d205-4faf-9e83-8bb00727772f 2025-01-02 22:33:09,136 - INFO - ================================================================================ 2025-01-02 22:33:09,136 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-01-02 22:33:09,136 - 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 2025-01-02 22:33:09,392 - DEBUG - Nothing to compare xmpp stats {'10.0.0.30': {'10.20.0.18': '0'}} with 2025-01-02 22:33:09,392 - INFO - Initial checks done. Running the testcase now 2025-01-02 22:33:09,392 - INFO - 2025-01-02 22:33:09,995 - DEBUG - Response for create_network : {'network': {'id': '35378c11-c05d-4cca-a293-4155427d925f', 'name': 'ctest-vn-65757796', 'tenant_id': 'ceaed658d2054faf9e838bb00727772f', 'project_id': 'ceaed658d2054faf9e838bb00727772f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-39898973', 'ctest-vn-65757796'], 'port_security_enabled': True, 'description': ''}} 2025-01-02 22:33:10,177 - DEBUG - Response for create_subnet : {'subnet': {'id': '17b1b273-4797-4656-89a1-c4c793a7c730', 'name': '', 'tenant_id': 'ceaed658d2054faf9e838bb00727772f', 'network_id': '35378c11-c05d-4cca-a293-4155427d925f', 'ip_version': 4, 'cidr': '119.244.168.128/26', 'allocation_pools': [{'start': '119.244.168.130', 'end': '119.244.168.190'}], 'gateway_ip': '119.244.168.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '119.244.168.130', 'tags': [], 'project_id': 'ceaed658d2054faf9e838bb00727772f'}} 2025-01-02 22:33:10,196 - INFO - Created VN ctest-vn-65757796 2025-01-02 22:33:10,248 - DEBUG - VN ctest-vn-65757796 UUID is 35378c11-c05d-4cca-a293-4155427d925f 2025-01-02 22:33:10,524 - DEBUG - Services list from nova: [, , ] 2025-01-02 22:33:11,555 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2514-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2514-1) 2025-01-02 22:33:12,667 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2514-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2514-1) 2025-01-02 22:33:12,668 - INFO - Waiting for VM ctest-TestBasicVMVNx-39898973-23903764 to be up.. 2025-01-02 22:33:12,764 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-02 22:33:17,866 - DEBUG - VM is in ACTIVE state now 2025-01-02 22:33:17,866 - INFO - VM name : ctest-TestBasicVMVNx-39898973-23903764 2025-01-02 22:33:17,950 - DEBUG - VM ctest-TestBasicVMVNx-39898973-23903764 ID is 2f8ec50f-da9d-4d17-8a3a-8197c7e0b391 2025-01-02 22:33:17,969 - DEBUG - VM ctest-TestBasicVMVNx-39898973-23903764 launched on Node cn-jenkins-deploy-platform-ansible-os-2514-1 2025-01-02 22:33:18,050 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/2f8ec50f-da9d-4d17-8a3a-8197c7e0b391 2025-01-02 22:33:18,346 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/2f8ec50f-da9d-4d17-8a3a-8197c7e0b391 2025-01-02 22:33:18,379 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/7e80a074-9b51-4b94-9f4d-85396a59cb3e 2025-01-02 22:33:21,653 - 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 1019ms') 2025-01-02 22:33:21,653 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-39898973-23903764 failed! 2025-01-02 22:33:21,708 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-39898973:ctest-vn-65757796 is 119.244.168.129 and allocation pool is NOT set 2025-01-02 22:33:23,769 - 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.64 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.444 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.444/2.042/3.641/1.598 ms') 2025-01-02 22:33:23,770 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-39898973-23903764 passed 2025-01-02 22:33:23,920 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-02 22:33:23,920 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-39898973-23903764, IP 119.244.168.131, Port 22 2025-01-02 22:33:24,080 - DEBUG - VM ctest-TestBasicVMVNx-39898973-23903764 is ready for SSH connections 2025-01-02 22:33:24,080 - INFO - Waiting for VM ctest-TestBasicVMVNx-39898973-06865447 to be up.. 2025-01-02 22:33:24,158 - DEBUG - VM is in ACTIVE state now 2025-01-02 22:33:24,158 - INFO - VM name : ctest-TestBasicVMVNx-39898973-06865447 2025-01-02 22:33:24,229 - DEBUG - VM ctest-TestBasicVMVNx-39898973-06865447 ID is 884df448-c9c9-426c-992f-4b9b82fe98c9 2025-01-02 22:33:24,229 - DEBUG - VM ctest-TestBasicVMVNx-39898973-06865447 launched on Node cn-jenkins-deploy-platform-ansible-os-2514-1 2025-01-02 22:33:24,305 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/884df448-c9c9-426c-992f-4b9b82fe98c9 2025-01-02 22:33:24,314 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/9960f248-9358-4f04-926a-8ecb2f574050 2025-01-02 22:33:25,548 - 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=4.24 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.07 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.074/3.156/4.239/1.082 ms') 2025-01-02 22:33:25,548 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-39898973-06865447 passed 2025-01-02 22:33:25,704 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-02 22:33:25,704 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-39898973-06865447, IP 119.244.168.132, Port 22 2025-01-02 22:33:25,873 - DEBUG - VM ctest-TestBasicVMVNx-39898973-06865447 is ready for SSH connections 2025-01-02 22:33:25,873 - DEBUG - FILE SIZE = 1303B 2025-01-02 22:33:25,873 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-39898973-23903764 to ctest-TestBasicVMVNx-39898973-06865447 using scp 2025-01-02 22:33:25,874 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-02 22:33:25,881 - 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.30, gateway password: c0ntrail123 2025-01-02 22:33:25,881 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-01-02 22:33:27,818 - DEBUG - 1+0 records in 1+0 records out 2025-01-02 22:33:28,414 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-02 22:33:28,755 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.30, gateway password: c0ntrail123 2025-01-02 22:33:28,755 - DEBUG - ls -l testfile 2025-01-02 22:33:30,333 - DEBUG - -rw------- 1 cirros cirros 1303 Jan 2 15:33 testfile 2025-01-02 22:33:30,333 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-39898973-06865447 2025-01-02 22:33:30,333 - INFO - Deleting VM ctest-TestBasicVMVNx-39898973-06865447 2025-01-02 22:33:30,418 - INFO - Deleting VM ctest-TestBasicVMVNx-39898973-23903764 2025-01-02 22:33:30,501 - INFO - Deleting VN ctest-vn-65757796 2025-01-02 22:33:30,543 - DEBUG - VN 35378c11-c05d-4cca-a293-4155427d925f still in use: Unable to complete operation on network 35378c11-c05d-4cca-a293-4155427d925f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f68919e3-e952-484b-9e87-881af0906ed8'] 2025-01-02 22:33:30,544 - WARNING - Deleting VN ctest-vn-65757796 failed..Will retry 2025-01-02 22:33:32,657 - DEBUG - Response for deleting network () 2025-01-02 22:33:32,922 - DEBUG - No XMPP flaps were noticed during the test
2025-01-02 22:33:32,922 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-01-02 22:33:32,922 - INFO - -------------------------------------------------------------------------------- 2025-01-02 22:33:33,633 - INFO - Deleted project: ctest-TestBasicVMVNx-39898973, ID : ceaed658-d205-4faf-9e83-8bb00727772f