2025-01-15 12:29:24,787 - INFO - Domain Default found not creating 2025-01-15 12:29:24,954 - INFO - Project ctest-TestBasicVMVNx-17509794 not found, creating it 2025-01-15 12:29:25,437 - INFO - Created Project:ctest-TestBasicVMVNx-17509794, ID : d98d38c7-a302-4d72-a33c-24f1af2fdcf4 2025-01-15 12:29:26,939 - INFO - ================================================================================ 2025-01-15 12:29:26,939 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-01-15 12:29:26,940 - 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-15 12:29:27,198 - DEBUG - Nothing to compare xmpp stats {'10.0.0.37': {'10.20.0.5': '0'}} with 2025-01-15 12:29:27,198 - INFO - Initial checks done. Running the testcase now 2025-01-15 12:29:27,198 - INFO - 2025-01-15 12:29:27,805 - DEBUG - Response for create_network : {'network': {'id': 'a377a82a-afe5-4725-b21e-6775a1608ada', 'name': 'ctest-vn-95189048', 'tenant_id': 'd98d38c7a3024d72a33c24f1af2fdcf4', 'project_id': 'd98d38c7a3024d72a33c24f1af2fdcf4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-17509794', 'ctest-vn-95189048'], 'port_security_enabled': True, 'description': ''}} 2025-01-15 12:29:27,969 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bdf33043-85a5-424f-8245-3fe8a273587e', 'name': '', 'tenant_id': 'd98d38c7a3024d72a33c24f1af2fdcf4', 'network_id': 'a377a82a-afe5-4725-b21e-6775a1608ada', 'ip_version': 4, 'cidr': '56.23.195.128/26', 'allocation_pools': [{'start': '56.23.195.130', 'end': '56.23.195.190'}], 'gateway_ip': '56.23.195.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '56.23.195.130', 'tags': [], 'project_id': 'd98d38c7a3024d72a33c24f1af2fdcf4'}} 2025-01-15 12:29:27,989 - INFO - Created VN ctest-vn-95189048 2025-01-15 12:29:28,043 - DEBUG - VN ctest-vn-95189048 UUID is a377a82a-afe5-4725-b21e-6775a1608ada 2025-01-15 12:29:28,217 - DEBUG - Services list from nova: [, , ] 2025-01-15 12:29:29,279 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2638-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2638-1) 2025-01-15 12:29:30,499 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2638-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2638-1) 2025-01-15 12:29:30,500 - INFO - Waiting for VM ctest-TestBasicVMVNx-17509794-98989943 to be up.. 2025-01-15 12:29:30,600 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-15 12:29:35,699 - DEBUG - VM is in ACTIVE state now 2025-01-15 12:29:35,700 - INFO - VM name : ctest-TestBasicVMVNx-17509794-98989943 2025-01-15 12:29:35,786 - DEBUG - VM ctest-TestBasicVMVNx-17509794-98989943 ID is 03c4b771-228e-45e7-9896-0886967b50b3 2025-01-15 12:29:35,817 - DEBUG - VM ctest-TestBasicVMVNx-17509794-98989943 launched on Node cn-jenkins-deploy-platform-ansible-os-2638-1 2025-01-15 12:29:35,933 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine/03c4b771-228e-45e7-9896-0886967b50b3 2025-01-15 12:29:36,243 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine/03c4b771-228e-45e7-9896-0886967b50b3 2025-01-15 12:29:36,279 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine-interface/4c673395-a324-4557-a1c3-d8199ae7f1c0 2025-01-15 12:29:39,550 - 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 1022ms') 2025-01-15 12:29:39,550 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-17509794-98989943 failed! 2025-01-15 12:29:39,607 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-17509794:ctest-vn-95189048 is 56.23.195.129 and allocation pool is NOT set 2025-01-15 12:29:41,681 - 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.60 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.728 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.728/2.161/3.595/1.433 ms') 2025-01-15 12:29:41,682 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-17509794-98989943 passed 2025-01-15 12:29:41,835 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-15 12:29:41,835 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-17509794-98989943, IP 56.23.195.131, Port 22 2025-01-15 12:29:42,007 - DEBUG - VM ctest-TestBasicVMVNx-17509794-98989943 is ready for SSH connections 2025-01-15 12:29:42,007 - INFO - Waiting for VM ctest-TestBasicVMVNx-17509794-70869311 to be up.. 2025-01-15 12:29:42,095 - DEBUG - VM is in ACTIVE state now 2025-01-15 12:29:42,095 - INFO - VM name : ctest-TestBasicVMVNx-17509794-70869311 2025-01-15 12:29:42,181 - DEBUG - VM ctest-TestBasicVMVNx-17509794-70869311 ID is b32542b5-31f1-403c-bec2-186cbea3fe3c 2025-01-15 12:29:42,181 - DEBUG - VM ctest-TestBasicVMVNx-17509794-70869311 launched on Node cn-jenkins-deploy-platform-ansible-os-2638-1 2025-01-15 12:29:42,278 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine/b32542b5-31f1-403c-bec2-186cbea3fe3c 2025-01-15 12:29:42,289 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine-interface/d250d98d-fadb-42c2-970e-c1d62de9c486 2025-01-15 12:29:43,544 - 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.47 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.406 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.406/2.437/4.469/2.031 ms') 2025-01-15 12:29:43,544 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-17509794-70869311 passed 2025-01-15 12:29:43,699 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-15 12:29:43,699 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-17509794-70869311, IP 56.23.195.132, Port 22 2025-01-15 12:29:43,855 - DEBUG - VM ctest-TestBasicVMVNx-17509794-70869311 is ready for SSH connections 2025-01-15 12:29:43,855 - DEBUG - FILE SIZE = 1303B 2025-01-15 12:29:43,855 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-17509794-98989943 to ctest-TestBasicVMVNx-17509794-70869311 using scp 2025-01-15 12:29:43,856 - 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.37, gateway password: c0ntrail123 2025-01-15 12:29:43,856 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-01-15 12:29:45,869 - DEBUG - 1+0 records in 1+0 records out 2025-01-15 12:29:46,662 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-15 12:29:46,994 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.37, gateway password: c0ntrail123 2025-01-15 12:29:46,995 - DEBUG - ls -l testfile 2025-01-15 12:29:48,597 - DEBUG - -rw------- 1 cirros cirros 1303 Jan 15 05:29 testfile 2025-01-15 12:29:48,597 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-17509794-70869311 2025-01-15 12:29:48,597 - INFO - Deleting VM ctest-TestBasicVMVNx-17509794-70869311 2025-01-15 12:29:48,672 - INFO - Deleting VM ctest-TestBasicVMVNx-17509794-98989943 2025-01-15 12:29:48,740 - INFO - Deleting VN ctest-vn-95189048 2025-01-15 12:29:48,787 - DEBUG - VN a377a82a-afe5-4725-b21e-6775a1608ada still in use: Unable to complete operation on network a377a82a-afe5-4725-b21e-6775a1608ada. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2a6f3c07-8497-4128-aebb-3393140cb87e'] 2025-01-15 12:29:48,787 - WARNING - Deleting VN ctest-vn-95189048 failed..Will retry 2025-01-15 12:29:50,935 - DEBUG - Response for deleting network () 2025-01-15 12:29:51,198 - DEBUG - No XMPP flaps were noticed during the test 2025-01-15 12:29:51,198 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25] 2025-01-15 12:29:51,198 - INFO - -------------------------------------------------------------------------------- 2025-01-15 12:29:51,875 - INFO - Deleted project: ctest-TestBasicVMVNx-17509794, ID : d98d38c7-a302-4d72-a33c-24f1af2fdcf4