2025-02-06 02:22:08,842 - INFO - Domain Default found not creating 2025-02-06 02:22:08,956 - INFO - Project ctest-TestBasicVMVNx-33933409 not found, creating it 2025-02-06 02:22:09,443 - INFO - Created Project:ctest-TestBasicVMVNx-33933409, ID : 9a992f4d-6047-4176-8793-f1db8baeb52e 2025-02-06 02:22:10,748 - INFO - ================================================================================ 2025-02-06 02:22:10,748 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-02-06 02:22:10,748 - 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-02-06 02:22:11,009 - DEBUG - Nothing to compare xmpp stats {'10.0.0.32': {'10.0.0.32': '0'}} with 2025-02-06 02:22:11,009 - INFO - Initial checks done. Running the testcase now 2025-02-06 02:22:11,009 - INFO - 2025-02-06 02:22:11,527 - DEBUG - Response for create_network : {'network': {'id': 'dfda02a3-458e-44dd-92c9-4f869c479afc', 'name': 'ctest-vn-15666203', 'tenant_id': '9a992f4d604741768793f1db8baeb52e', 'project_id': '9a992f4d604741768793f1db8baeb52e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-33933409', 'ctest-vn-15666203'], 'port_security_enabled': True, 'description': ''}} 2025-02-06 02:22:11,674 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c056931f-88ab-40bf-bad3-e0c6ccfc2bbc', 'name': '', 'tenant_id': '9a992f4d604741768793f1db8baeb52e', 'network_id': 'dfda02a3-458e-44dd-92c9-4f869c479afc', 'ip_version': 4, 'cidr': '41.67.137.192/26', 'allocation_pools': [{'start': '41.67.137.194', 'end': '41.67.137.254'}], 'gateway_ip': '41.67.137.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '41.67.137.194', 'tags': [], 'project_id': '9a992f4d604741768793f1db8baeb52e'}} 2025-02-06 02:22:11,689 - INFO - Created VN ctest-vn-15666203 2025-02-06 02:22:11,743 - DEBUG - VN ctest-vn-15666203 UUID is dfda02a3-458e-44dd-92c9-4f869c479afc 2025-02-06 02:22:11,923 - DEBUG - Services list from nova: [, , ] 2025-02-06 02:22:12,888 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2700-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2700-1) 2025-02-06 02:22:13,940 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2700-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2700-1) 2025-02-06 02:22:13,940 - INFO - Waiting for VM ctest-TestBasicVMVNx-33933409-78783432 to be up.. 2025-02-06 02:22:14,002 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-06 02:22:19,073 - DEBUG - VM is in ACTIVE state now 2025-02-06 02:22:19,073 - INFO - VM name : ctest-TestBasicVMVNx-33933409-78783432 2025-02-06 02:22:19,138 - DEBUG - VM ctest-TestBasicVMVNx-33933409-78783432 ID is 2a29a4dd-0b6c-494c-8bca-7563e3389a99 2025-02-06 02:22:19,155 - DEBUG - VM ctest-TestBasicVMVNx-33933409-78783432 launched on Node cn-jenkins-deploy-platform-ansible-os-2700-1. 2025-02-06 02:22:19,217 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/2a29a4dd-0b6c-494c-8bca-7563e3389a99 2025-02-06 02:22:19,510 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/2a29a4dd-0b6c-494c-8bca-7563e3389a99 2025-02-06 02:22:19,538 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/04c81b31-e4cd-4716-b5d6-eae2c31745bd 2025-02-06 02:22:22,815 - 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 1036ms') 2025-02-06 02:22:22,815 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-33933409-78783432 failed! 2025-02-06 02:22:22,871 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-33933409:ctest-vn-15666203 is 41.67.137.193 and allocation pool is NOT set 2025-02-06 02:22:24,926 - 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.55 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.337 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.337/1.945/3.554/1.608 ms') 2025-02-06 02:22:24,926 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-33933409-78783432 passed 2025-02-06 02:22:25,083 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-06 02:22:25,083 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-33933409-78783432, IP 41.67.137.195, Port 22 2025-02-06 02:22:25,239 - DEBUG - VM ctest-TestBasicVMVNx-33933409-78783432 is ready for SSH connections 2025-02-06 02:22:25,239 - INFO - Waiting for VM ctest-TestBasicVMVNx-33933409-98029189 to be up.. 2025-02-06 02:22:25,304 - DEBUG - VM is in ACTIVE state now 2025-02-06 02:22:25,305 - INFO - VM name : ctest-TestBasicVMVNx-33933409-98029189 2025-02-06 02:22:25,364 - DEBUG - VM ctest-TestBasicVMVNx-33933409-98029189 ID is 8394c733-9350-4922-bef6-d65e779b5b15 2025-02-06 02:22:25,365 - DEBUG - VM ctest-TestBasicVMVNx-33933409-98029189 launched on Node cn-jenkins-deploy-platform-ansible-os-2700-1. 2025-02-06 02:22:25,428 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/8394c733-9350-4922-bef6-d65e779b5b15 2025-02-06 02:22:25,435 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/02025b24-08f5-4884-a6c5-20b4fb38fcaf 2025-02-06 02:22:26,668 - 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.80 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.353 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.353/1.574/2.795/1.221 ms') 2025-02-06 02:22:26,668 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-33933409-98029189 passed 2025-02-06 02:22:26,815 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-06 02:22:26,815 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-33933409-98029189, IP 41.67.137.196, Port 22 2025-02-06 02:22:26,966 - DEBUG - VM ctest-TestBasicVMVNx-33933409-98029189 is ready for SSH connections 2025-02-06 02:22:26,966 - DEBUG - FILE SIZE = 1303B 2025-02-06 02:22:26,966 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-33933409-78783432 to ctest-TestBasicVMVNx-33933409-98029189 using scp 2025-02-06 02:22:26,967 - 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.32, gateway password: c0ntrail123 2025-02-06 02:22:26,967 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-02-06 02:22:28,823 - DEBUG - 1+0 records in 1+0 records out 2025-02-06 02:22:29,411 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-06 02:22:29,715 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.32, gateway password: c0ntrail123 2025-02-06 02:22:29,715 - DEBUG - ls -l testfile 2025-02-06 02:22:31,249 - DEBUG - -rw------- 1 cirros cirros 1303 Feb 5 19:22 testfile 2025-02-06 02:22:31,249 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-33933409-98029189 2025-02-06 02:22:31,249 - INFO - Deleting VM ctest-TestBasicVMVNx-33933409-98029189 2025-02-06 02:22:31,307 - INFO - Deleting VM ctest-TestBasicVMVNx-33933409-78783432 2025-02-06 02:22:31,364 - INFO - Deleting VN ctest-vn-15666203 2025-02-06 02:22:31,402 - DEBUG - VN dfda02a3-458e-44dd-92c9-4f869c479afc still in use: Unable to complete operation on network dfda02a3-458e-44dd-92c9-4f869c479afc. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8501383f-6a00-4839-b2d5-f63ba31159bb'] 2025-02-06 02:22:31,402 - WARNING - Deleting VN ctest-vn-15666203 failed..Will retry 2025-02-06 02:22:33,489 - DEBUG - Response for deleting network () 2025-02-06 02:22:33,748 - DEBUG - No XMPP flaps were noticed during the test
2025-02-06 02:22:33,748 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-02-06 02:22:33,748 - INFO - -------------------------------------------------------------------------------- 2025-02-06 02:22:34,398 - INFO - Deleted project: ctest-TestBasicVMVNx-33933409, ID : 9a992f4d-6047-4176-8793-f1db8baeb52e