2025-01-11 21:56:41,277 - INFO - Domain Default found not creating 2025-01-11 21:56:41,444 - INFO - Project ctest-TestBasicVMVNx-46665741 not found, creating it 2025-01-11 21:56:41,903 - INFO - Created Project:ctest-TestBasicVMVNx-46665741, ID : a4e146e8-8fe0-4214-a8e6-a7cf069a2df6 2025-01-11 21:56:43,368 - INFO - ================================================================================ 2025-01-11 21:56:43,368 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-01-11 21:56:43,368 - 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-11 21:56:43,628 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.33': '0'}} with 2025-01-11 21:56:43,628 - INFO - Initial checks done. Running the testcase now 2025-01-11 21:56:43,628 - INFO - 2025-01-11 21:56:44,158 - DEBUG - Response for create_network : {'network': {'id': '2441ef0c-7d2e-4629-9429-91a44640d378', 'name': 'ctest-vn-11454379', 'tenant_id': 'a4e146e88fe04214a8e6a7cf069a2df6', 'project_id': 'a4e146e88fe04214a8e6a7cf069a2df6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-46665741', 'ctest-vn-11454379'], 'port_security_enabled': True, 'description': ''}} 2025-01-11 21:56:44,371 - DEBUG - Response for create_subnet : {'subnet': {'id': '562e807d-db5e-4859-8901-2771fc72f17a', 'name': '', 'tenant_id': 'a4e146e88fe04214a8e6a7cf069a2df6', 'network_id': '2441ef0c-7d2e-4629-9429-91a44640d378', 'ip_version': 4, 'cidr': '108.111.45.64/26', 'allocation_pools': [{'start': '108.111.45.66', 'end': '108.111.45.126'}], 'gateway_ip': '108.111.45.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '108.111.45.66', 'tags': [], 'project_id': 'a4e146e88fe04214a8e6a7cf069a2df6'}} 2025-01-11 21:56:44,389 - INFO - Created VN ctest-vn-11454379 2025-01-11 21:56:44,441 - DEBUG - VN ctest-vn-11454379 UUID is 2441ef0c-7d2e-4629-9429-91a44640d378 2025-01-11 21:56:44,610 - DEBUG - Services list from nova: [, , ] 2025-01-11 21:56:45,629 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2601-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2601-1) 2025-01-11 21:56:46,743 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2601-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2601-1) 2025-01-11 21:56:46,743 - INFO - Waiting for VM ctest-TestBasicVMVNx-46665741-23166066 to be up.. 2025-01-11 21:56:46,830 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-11 21:56:51,913 - DEBUG - VM is in ACTIVE state now 2025-01-11 21:56:51,913 - INFO - VM name : ctest-TestBasicVMVNx-46665741-23166066 2025-01-11 21:56:51,992 - DEBUG - VM ctest-TestBasicVMVNx-46665741-23166066 ID is 26ad12fb-43df-4372-9b5b-7aed92e4503b 2025-01-11 21:56:52,014 - DEBUG - VM ctest-TestBasicVMVNx-46665741-23166066 launched on Node cn-jenkins-deploy-platform-ansible-os-2601-1 2025-01-11 21:56:52,096 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/26ad12fb-43df-4372-9b5b-7aed92e4503b 2025-01-11 21:56:52,388 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/26ad12fb-43df-4372-9b5b-7aed92e4503b 2025-01-11 21:56:52,420 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/35575725-32b4-4fe9-92c0-240525f51269 2025-01-11 21:56:55,668 - 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 1006ms') 2025-01-11 21:56:55,668 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-46665741-23166066 failed! 2025-01-11 21:56:55,725 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-46665741:ctest-vn-11454379 is 108.111.45.65 and allocation pool is NOT set 2025-01-11 21:56:57,782 - 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=5.41 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.688 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.688/3.048/5.408/2.360 ms') 2025-01-11 21:56:57,782 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-46665741-23166066 passed 2025-01-11 21:56:57,933 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-11 21:56:57,934 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-46665741-23166066, IP 108.111.45.67, Port 22 2025-01-11 21:56:58,088 - DEBUG - VM ctest-TestBasicVMVNx-46665741-23166066 is ready for SSH connections 2025-01-11 21:56:58,089 - INFO - Waiting for VM ctest-TestBasicVMVNx-46665741-15749142 to be up.. 2025-01-11 21:56:58,169 - DEBUG - VM is in ACTIVE state now 2025-01-11 21:56:58,169 - INFO - VM name : ctest-TestBasicVMVNx-46665741-15749142 2025-01-11 21:56:58,242 - DEBUG - VM ctest-TestBasicVMVNx-46665741-15749142 ID is f8be79f3-2b5a-498f-805a-4c9cad514c69 2025-01-11 21:56:58,242 - DEBUG - VM ctest-TestBasicVMVNx-46665741-15749142 launched on Node cn-jenkins-deploy-platform-ansible-os-2601-1 2025-01-11 21:56:58,315 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/f8be79f3-2b5a-498f-805a-4c9cad514c69 2025-01-11 21:56:58,325 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/00d6e740-6164-4a99-9f37-434b4f8357f9 2025-01-11 21:56:59,566 - 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.66 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.803 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.803/2.233/3.663/1.430 ms') 2025-01-11 21:56:59,566 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-46665741-15749142 passed 2025-01-11 21:56:59,721 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-11 21:56:59,722 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-46665741-15749142, IP 108.111.45.68, Port 22 2025-01-11 21:56:59,889 - DEBUG - VM ctest-TestBasicVMVNx-46665741-15749142 is ready for SSH connections 2025-01-11 21:56:59,889 - DEBUG - FILE SIZE = 1303B 2025-01-11 21:56:59,889 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-46665741-23166066 to ctest-TestBasicVMVNx-46665741-15749142 using scp 2025-01-11 21:56:59,890 - 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.23, gateway password: c0ntrail123 2025-01-11 21:56:59,890 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-01-11 21:57:01,775 - DEBUG - 1+0 records in 1+0 records out 2025-01-11 21:57:02,556 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-11 21:57:02,883 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-01-11 21:57:02,884 - DEBUG - ls -l testfile 2025-01-11 21:57:04,452 - DEBUG - -rw------- 1 cirros cirros 1303 Jan 11 14:57 testfile 2025-01-11 21:57:04,452 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-46665741-15749142 2025-01-11 21:57:04,452 - INFO - Deleting VM ctest-TestBasicVMVNx-46665741-15749142 2025-01-11 21:57:04,522 - INFO - Deleting VM ctest-TestBasicVMVNx-46665741-23166066 2025-01-11 21:57:04,584 - INFO - Deleting VN ctest-vn-11454379 2025-01-11 21:57:04,621 - DEBUG - VN 2441ef0c-7d2e-4629-9429-91a44640d378 still in use: Unable to complete operation on network 2441ef0c-7d2e-4629-9429-91a44640d378. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ad668912-8cc4-49c3-b9c6-6434a6953122'] 2025-01-11 21:57:04,621 - WARNING - Deleting VN ctest-vn-11454379 failed..Will retry 2025-01-11 21:57:06,754 - DEBUG - Response for deleting network () 2025-01-11 21:57:07,020 - DEBUG - No XMPP flaps were noticed during the test
2025-01-11 21:57:07,020 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-01-11 21:57:07,021 - INFO - -------------------------------------------------------------------------------- 2025-01-11 21:57:07,703 - INFO - Deleted project: ctest-TestBasicVMVNx-46665741, ID : a4e146e8-8fe0-4214-a8e6-a7cf069a2df6