2025-01-08 23:27:25,228 - INFO - Domain Default found not creating 2025-01-08 23:27:25,349 - INFO - Project ctest-TestBasicVMVNx-14385764 not found, creating it 2025-01-08 23:27:25,795 - INFO - Created Project:ctest-TestBasicVMVNx-14385764, ID : b8294f0c-04fd-4a98-a4ae-84460a3a773f 2025-01-08 23:27:27,186 - INFO - ================================================================================ 2025-01-08 23:27:27,187 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-01-08 23:27:27,187 - 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-08 23:27:27,444 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.6': '0'}} with 2025-01-08 23:27:27,444 - INFO - Initial checks done. Running the testcase now 2025-01-08 23:27:27,444 - INFO - 2025-01-08 23:27:27,957 - DEBUG - Response for create_network : {'network': {'id': '65a4c427-0520-4647-9c96-0038f646927f', 'name': 'ctest-vn-48900261', 'tenant_id': 'b8294f0c04fd4a98a4ae84460a3a773f', 'project_id': 'b8294f0c04fd4a98a4ae84460a3a773f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-14385764', 'ctest-vn-48900261'], 'port_security_enabled': True, 'description': ''}} 2025-01-08 23:27:28,191 - DEBUG - Response for create_subnet : {'subnet': {'id': '1bd59473-085e-4d06-8213-004779397800', 'name': '', 'tenant_id': 'b8294f0c04fd4a98a4ae84460a3a773f', 'network_id': '65a4c427-0520-4647-9c96-0038f646927f', 'ip_version': 4, 'cidr': '156.27.163.64/26', 'allocation_pools': [{'start': '156.27.163.66', 'end': '156.27.163.126'}], 'gateway_ip': '156.27.163.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.27.163.66', 'tags': [], 'project_id': 'b8294f0c04fd4a98a4ae84460a3a773f'}} 2025-01-08 23:27:28,208 - INFO - Created VN ctest-vn-48900261 2025-01-08 23:27:28,258 - DEBUG - VN ctest-vn-48900261 UUID is 65a4c427-0520-4647-9c96-0038f646927f 2025-01-08 23:27:28,457 - DEBUG - Services list from nova: [, , ] 2025-01-08 23:27:29,424 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2571-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2571-1) 2025-01-08 23:27:30,507 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2571-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2571-1) 2025-01-08 23:27:30,508 - INFO - Waiting for VM ctest-TestBasicVMVNx-14385764-16114657 to be up.. 2025-01-08 23:27:30,578 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-08 23:27:35,661 - DEBUG - VM is in ACTIVE state now 2025-01-08 23:27:35,661 - INFO - VM name : ctest-TestBasicVMVNx-14385764-16114657 2025-01-08 23:27:35,754 - DEBUG - VM ctest-TestBasicVMVNx-14385764-16114657 ID is a5a4da50-c0ae-4b79-adc9-99098dd1a69e 2025-01-08 23:27:35,866 - DEBUG - VM ctest-TestBasicVMVNx-14385764-16114657 launched on Node cn-jenkins-deploy-platform-ansible-os-2571-1 2025-01-08 23:27:35,944 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/a5a4da50-c0ae-4b79-adc9-99098dd1a69e 2025-01-08 23:27:36,244 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/a5a4da50-c0ae-4b79-adc9-99098dd1a69e 2025-01-08 23:27:36,275 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/6877bc23-78dc-46f3-9ea6-4c82e293aad2 2025-01-08 23:27:39,557 - 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 1027ms') 2025-01-08 23:27:39,557 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-14385764-16114657 failed! 2025-01-08 23:27:39,614 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-14385764:ctest-vn-48900261 is 156.27.163.65 and allocation pool is NOT set 2025-01-08 23:27:41,672 - 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=2.64 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.407 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.407/1.525/2.643/1.118 ms') 2025-01-08 23:27:41,672 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-14385764-16114657 passed 2025-01-08 23:27:41,822 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-08 23:27:41,822 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-14385764-16114657, IP 156.27.163.67, Port 22 2025-01-08 23:27:41,990 - DEBUG - VM ctest-TestBasicVMVNx-14385764-16114657 is ready for SSH connections 2025-01-08 23:27:41,990 - INFO - Waiting for VM ctest-TestBasicVMVNx-14385764-85979331 to be up.. 2025-01-08 23:27:42,062 - DEBUG - VM is in ACTIVE state now 2025-01-08 23:27:42,063 - INFO - VM name : ctest-TestBasicVMVNx-14385764-85979331 2025-01-08 23:27:42,139 - DEBUG - VM ctest-TestBasicVMVNx-14385764-85979331 ID is 20bb7183-7678-4942-a0b3-656932f42854 2025-01-08 23:27:42,139 - DEBUG - VM ctest-TestBasicVMVNx-14385764-85979331 launched on Node cn-jenkins-deploy-platform-ansible-os-2571-1 2025-01-08 23:27:42,211 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/20bb7183-7678-4942-a0b3-656932f42854 2025-01-08 23:27:42,219 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/3285fe22-16fb-408e-b707-e4d7d9e574bc 2025-01-08 23:27:43,469 - 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.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.319 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.319/1.574/2.830/1.255 ms') 2025-01-08 23:27:43,469 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-14385764-85979331 passed 2025-01-08 23:27:43,622 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-08 23:27:43,622 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-14385764-85979331, IP 156.27.163.68, Port 22 2025-01-08 23:27:43,773 - DEBUG - VM ctest-TestBasicVMVNx-14385764-85979331 is ready for SSH connections 2025-01-08 23:27:43,774 - DEBUG - FILE SIZE = 1303B 2025-01-08 23:27:43,774 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-14385764-16114657 to ctest-TestBasicVMVNx-14385764-85979331 using scp 2025-01-08 23:27:43,774 - 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.41, gateway password: c0ntrail123 2025-01-08 23:27:43,774 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-01-08 23:27:45,643 - DEBUG - 1+0 records in 1+0 records out 2025-01-08 23:27:46,206 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-08 23:27:46,528 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-01-08 23:27:46,528 - DEBUG - ls -l testfile 2025-01-08 23:27:48,072 - DEBUG - -rw------- 1 cirros cirros 1303 Jan 8 16:27 testfile 2025-01-08 23:27:48,073 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-14385764-85979331 2025-01-08 23:27:48,073 - INFO - Deleting VM ctest-TestBasicVMVNx-14385764-85979331 2025-01-08 23:27:48,137 - INFO - Deleting VM ctest-TestBasicVMVNx-14385764-16114657 2025-01-08 23:27:48,205 - INFO - Deleting VN ctest-vn-48900261 2025-01-08 23:27:48,240 - DEBUG - VN 65a4c427-0520-4647-9c96-0038f646927f still in use: Unable to complete operation on network 65a4c427-0520-4647-9c96-0038f646927f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e2e89b0e-4bfe-4ced-bb35-360161eb4864'] 2025-01-08 23:27:48,240 - WARNING - Deleting VN ctest-vn-48900261 failed..Will retry 2025-01-08 23:27:50,347 - DEBUG - Response for deleting network () 2025-01-08 23:27:50,607 - DEBUG - No XMPP flaps were noticed during the test
2025-01-08 23:27:50,608 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-01-08 23:27:50,608 - INFO - -------------------------------------------------------------------------------- 2025-01-08 23:27:51,271 - INFO - Deleted project: ctest-TestBasicVMVNx-14385764, ID : b8294f0c-04fd-4a98-a4ae-84460a3a773f