2025-01-13 09:17:36,545 - INFO - Domain Default found not creating 2025-01-13 09:17:36,700 - INFO - Project ctest-TestBasicVMVNx-57296370 not found, creating it 2025-01-13 09:17:37,161 - INFO - Created Project:ctest-TestBasicVMVNx-57296370, ID : d4149bdc-c1d5-44d7-a203-57482480c091 2025-01-13 09:17:38,641 - INFO - ================================================================================ 2025-01-13 09:17:38,642 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-01-13 09:17:38,642 - 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-13 09:17:38,900 - DEBUG - Nothing to compare xmpp stats {'10.0.0.34': {'10.20.0.5': '0'}} with 2025-01-13 09:17:38,900 - INFO - Initial checks done. Running the testcase now 2025-01-13 09:17:38,900 - INFO - 2025-01-13 09:17:39,480 - DEBUG - Response for create_network : {'network': {'id': 'a1793387-23b0-46e4-bc30-c8aa2c5b6099', 'name': 'ctest-vn-90183656', 'tenant_id': 'd4149bdcc1d544d7a20357482480c091', 'project_id': 'd4149bdcc1d544d7a20357482480c091', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-57296370', 'ctest-vn-90183656'], 'port_security_enabled': True, 'description': ''}} 2025-01-13 09:17:39,670 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a7a7cf5c-b188-4f96-a6cf-e7a97d478a41', 'name': '', 'tenant_id': 'd4149bdcc1d544d7a20357482480c091', 'network_id': 'a1793387-23b0-46e4-bc30-c8aa2c5b6099', 'ip_version': 4, 'cidr': '136.93.215.0/26', 'allocation_pools': [{'start': '136.93.215.2', 'end': '136.93.215.62'}], 'gateway_ip': '136.93.215.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '136.93.215.2', 'tags': [], 'project_id': 'd4149bdcc1d544d7a20357482480c091'}} 2025-01-13 09:17:39,690 - INFO - Created VN ctest-vn-90183656 2025-01-13 09:17:39,746 - DEBUG - VN ctest-vn-90183656 UUID is a1793387-23b0-46e4-bc30-c8aa2c5b6099 2025-01-13 09:17:39,909 - DEBUG - Services list from nova: [, , ] 2025-01-13 09:17:40,927 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2609-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2609-1) 2025-01-13 09:17:42,088 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2609-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2609-1) 2025-01-13 09:17:42,089 - INFO - Waiting for VM ctest-TestBasicVMVNx-57296370-15352994 to be up.. 2025-01-13 09:17:42,178 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-13 09:17:47,265 - DEBUG - VM is in ACTIVE state now 2025-01-13 09:17:47,265 - INFO - VM name : ctest-TestBasicVMVNx-57296370-15352994 2025-01-13 09:17:47,357 - DEBUG - VM ctest-TestBasicVMVNx-57296370-15352994 ID is ed754bbb-bd16-4c7a-9061-0213668d22f4 2025-01-13 09:17:47,379 - DEBUG - VM ctest-TestBasicVMVNx-57296370-15352994 launched on Node cn-jenkins-deploy-platform-ansible-os-2609-1 2025-01-13 09:17:47,456 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/ed754bbb-bd16-4c7a-9061-0213668d22f4 2025-01-13 09:17:47,749 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/ed754bbb-bd16-4c7a-9061-0213668d22f4 2025-01-13 09:17:47,780 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine-interface/248b89ef-3063-4cc6-8a2d-fdf13a9d85ef 2025-01-13 09:17:51,036 - 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 1024ms') 2025-01-13 09:17:51,036 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-57296370-15352994 failed! 2025-01-13 09:17:51,094 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-57296370:ctest-vn-90183656 is 136.93.215.1 and allocation pool is NOT set 2025-01-13 09:17:53,155 - 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.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.089/3.640/1.551 ms') 2025-01-13 09:17:53,156 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-57296370-15352994 passed 2025-01-13 09:17:53,310 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-13 09:17:53,310 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-57296370-15352994, IP 136.93.215.3, Port 22 2025-01-13 09:17:53,477 - DEBUG - VM ctest-TestBasicVMVNx-57296370-15352994 is ready for SSH connections 2025-01-13 09:17:53,477 - INFO - Waiting for VM ctest-TestBasicVMVNx-57296370-34151999 to be up.. 2025-01-13 09:17:53,563 - DEBUG - VM is in ACTIVE state now 2025-01-13 09:17:53,563 - INFO - VM name : ctest-TestBasicVMVNx-57296370-34151999 2025-01-13 09:17:53,637 - DEBUG - VM ctest-TestBasicVMVNx-57296370-34151999 ID is 2c423753-b22d-4c82-be81-2e24a75f92eb 2025-01-13 09:17:53,637 - DEBUG - VM ctest-TestBasicVMVNx-57296370-34151999 launched on Node cn-jenkins-deploy-platform-ansible-os-2609-1 2025-01-13 09:17:53,712 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/2c423753-b22d-4c82-be81-2e24a75f92eb 2025-01-13 09:17:53,722 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine-interface/1b5211b8-66cc-4a76-aae4-3d1d47e9aa2a 2025-01-13 09:17:54,967 - 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.17 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.413 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.413/1.792/3.172/1.379 ms') 2025-01-13 09:17:54,967 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-57296370-34151999 passed 2025-01-13 09:17:55,130 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-13 09:17:55,131 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-57296370-34151999, IP 136.93.215.4, Port 22 2025-01-13 09:17:55,293 - DEBUG - VM ctest-TestBasicVMVNx-57296370-34151999 is ready for SSH connections 2025-01-13 09:17:55,293 - DEBUG - FILE SIZE = 1303B 2025-01-13 09:17:55,293 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-57296370-15352994 to ctest-TestBasicVMVNx-57296370-34151999 using scp 2025-01-13 09:17:55,294 - 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.34, gateway password: c0ntrail123 2025-01-13 09:17:55,294 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-01-13 09:17:57,231 - DEBUG - 1+0 records in 1+0 records out 2025-01-13 09:17:57,868 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-13 09:17:58,194 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.34, gateway password: c0ntrail123 2025-01-13 09:17:58,195 - DEBUG - ls -l testfile 2025-01-13 09:17:59,791 - DEBUG - -rw------- 1 cirros cirros 1303 Jan 13 02:17 testfile 2025-01-13 09:17:59,791 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-57296370-34151999 2025-01-13 09:17:59,791 - INFO - Deleting VM ctest-TestBasicVMVNx-57296370-34151999 2025-01-13 09:17:59,858 - INFO - Deleting VM ctest-TestBasicVMVNx-57296370-15352994 2025-01-13 09:17:59,926 - INFO - Deleting VN ctest-vn-90183656 2025-01-13 09:17:59,961 - DEBUG - VN a1793387-23b0-46e4-bc30-c8aa2c5b6099 still in use: Unable to complete operation on network a1793387-23b0-46e4-bc30-c8aa2c5b6099. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e3152a44-3292-4ef5-8333-f17ef496c67e'] 2025-01-13 09:17:59,961 - WARNING - Deleting VN ctest-vn-90183656 failed..Will retry 2025-01-13 09:18:02,072 - DEBUG - Response for deleting network () 2025-01-13 09:18:02,327 - DEBUG - No XMPP flaps were noticed during the test
2025-01-13 09:18:02,327 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-01-13 09:18:02,327 - INFO - -------------------------------------------------------------------------------- 2025-01-13 09:18:03,021 - INFO - Deleted project: ctest-TestBasicVMVNx-57296370, ID : d4149bdc-c1d5-44d7-a203-57482480c091