2025-02-13 06:38:19,075 - INFO - Domain Default found not creating 2025-02-13 06:38:19,214 - INFO - Project ctest-TestBasicVMVNx-66641572 not found, creating it 2025-02-13 06:38:19,649 - INFO - Created Project:ctest-TestBasicVMVNx-66641572, ID : a50aab4d-e37f-43b3-a1eb-bd612d1fdf61 2025-02-13 06:38:21,012 - INFO - ================================================================================ 2025-02-13 06:38:21,013 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-02-13 06:38:21,013 - 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-13 06:38:21,276 - DEBUG - Nothing to compare xmpp stats {'10.0.0.43': {'10.20.0.7': '0'}} with 2025-02-13 06:38:21,276 - INFO - Initial checks done. Running the testcase now 2025-02-13 06:38:21,276 - INFO - 2025-02-13 06:38:21,795 - DEBUG - Response for create_network : {'network': {'id': '5c81555c-4915-4d6e-994a-090a9127b2ff', 'name': 'ctest-vn-90725991', 'tenant_id': 'a50aab4de37f43b3a1ebbd612d1fdf61', 'project_id': 'a50aab4de37f43b3a1ebbd612d1fdf61', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-66641572', 'ctest-vn-90725991'], 'port_security_enabled': True, 'description': ''}} 2025-02-13 06:38:21,998 - DEBUG - Response for create_subnet : {'subnet': {'id': '28c4c348-1104-4773-a25c-64a5c4de086e', 'name': '', 'tenant_id': 'a50aab4de37f43b3a1ebbd612d1fdf61', 'network_id': '5c81555c-4915-4d6e-994a-090a9127b2ff', 'ip_version': 4, 'cidr': '125.199.42.0/26', 'allocation_pools': [{'start': '125.199.42.2', 'end': '125.199.42.62'}], 'gateway_ip': '125.199.42.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '125.199.42.2', 'tags': [], 'project_id': 'a50aab4de37f43b3a1ebbd612d1fdf61'}} 2025-02-13 06:38:22,016 - INFO - Created VN ctest-vn-90725991 2025-02-13 06:38:22,069 - DEBUG - VN ctest-vn-90725991 UUID is 5c81555c-4915-4d6e-994a-090a9127b2ff 2025-02-13 06:38:22,227 - DEBUG - Services list from nova: [, , ] 2025-02-13 06:38:23,224 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2733-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2733-1) 2025-02-13 06:38:24,356 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2733-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2733-1) 2025-02-13 06:38:24,356 - INFO - Waiting for VM ctest-TestBasicVMVNx-66641572-41206589 to be up.. 2025-02-13 06:38:24,451 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-13 06:38:29,525 - DEBUG - VM is in ACTIVE state now 2025-02-13 06:38:29,525 - INFO - VM name : ctest-TestBasicVMVNx-66641572-41206589 2025-02-13 06:38:29,596 - DEBUG - VM ctest-TestBasicVMVNx-66641572-41206589 ID is 0da7d47f-0ab2-4130-acea-03b70b3e9261 2025-02-13 06:38:29,613 - DEBUG - VM ctest-TestBasicVMVNx-66641572-41206589 launched on Node cn-jenkins-deploy-platform-ansible-os-2733-1 2025-02-13 06:38:29,683 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-machine/0da7d47f-0ab2-4130-acea-03b70b3e9261 2025-02-13 06:38:29,973 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-machine/0da7d47f-0ab2-4130-acea-03b70b3e9261 2025-02-13 06:38:30,003 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-machine-interface/fd2c8d2e-cf80-4cff-a95a-3113c4ecb4ec 2025-02-13 06:38:33,275 - 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-02-13 06:38:33,276 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-66641572-41206589 failed! 2025-02-13 06:38:33,343 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-66641572:ctest-vn-90725991 is 125.199.42.1 and allocation pool is NOT set 2025-02-13 06:38:35,401 - 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.06 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.386 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.386/1.722/3.059/1.336 ms') 2025-02-13 06:38:35,401 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-66641572-41206589 passed 2025-02-13 06:38:35,550 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-13 06:38:35,550 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-66641572-41206589, IP 125.199.42.3, Port 22 2025-02-13 06:38:35,705 - DEBUG - VM ctest-TestBasicVMVNx-66641572-41206589 is ready for SSH connections 2025-02-13 06:38:35,705 - INFO - Waiting for VM ctest-TestBasicVMVNx-66641572-81584393 to be up.. 2025-02-13 06:38:35,782 - DEBUG - VM is in ACTIVE state now 2025-02-13 06:38:35,783 - INFO - VM name : ctest-TestBasicVMVNx-66641572-81584393 2025-02-13 06:38:35,856 - DEBUG - VM ctest-TestBasicVMVNx-66641572-81584393 ID is 40548622-bc44-443c-bf7e-017fbd114931 2025-02-13 06:38:35,856 - DEBUG - VM ctest-TestBasicVMVNx-66641572-81584393 launched on Node cn-jenkins-deploy-platform-ansible-os-2733-1 2025-02-13 06:38:35,930 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-machine/40548622-bc44-443c-bf7e-017fbd114931 2025-02-13 06:38:35,939 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-machine-interface/b653316e-23b3-4dd1-9e09-c8a3da339615 2025-02-13 06:38:37,171 - 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.591 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.591/1.709/2.828/1.118 ms') 2025-02-13 06:38:37,171 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-66641572-81584393 passed 2025-02-13 06:38:37,322 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-13 06:38:37,322 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-66641572-81584393, IP 125.199.42.4, Port 22 2025-02-13 06:38:37,477 - DEBUG - VM ctest-TestBasicVMVNx-66641572-81584393 is ready for SSH connections 2025-02-13 06:38:37,477 - DEBUG - FILE SIZE = 1303B 2025-02-13 06:38:37,477 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-66641572-41206589 to ctest-TestBasicVMVNx-66641572-81584393 using scp 2025-02-13 06:38:37,478 - 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.43, gateway password: c0ntrail123 2025-02-13 06:38:37,478 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-02-13 06:38:39,428 - DEBUG - 1+0 records in 1+0 records out 2025-02-13 06:38:40,022 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-13 06:38:40,363 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.43, gateway password: c0ntrail123 2025-02-13 06:38:40,363 - DEBUG - ls -l testfile 2025-02-13 06:38:41,928 - DEBUG - -rw------- 1 cirros cirros 1303 Feb 12 23:38 testfile 2025-02-13 06:38:41,928 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-66641572-81584393 2025-02-13 06:38:41,928 - INFO - Deleting VM ctest-TestBasicVMVNx-66641572-81584393 2025-02-13 06:38:41,996 - INFO - Deleting VM ctest-TestBasicVMVNx-66641572-41206589 2025-02-13 06:38:42,058 - INFO - Deleting VN ctest-vn-90725991 2025-02-13 06:38:42,093 - DEBUG - VN 5c81555c-4915-4d6e-994a-090a9127b2ff still in use: Unable to complete operation on network 5c81555c-4915-4d6e-994a-090a9127b2ff. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d03643c6-f71a-47e0-a0e8-4a8acfe6e559'] 2025-02-13 06:38:42,093 - WARNING - Deleting VN ctest-vn-90725991 failed..Will retry 2025-02-13 06:38:44,199 - DEBUG - Response for deleting network () 2025-02-13 06:38:44,463 - DEBUG - No XMPP flaps were noticed during the test
2025-02-13 06:38:44,464 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-02-13 06:38:44,464 - INFO - -------------------------------------------------------------------------------- 2025-02-13 06:38:45,127 - INFO - Deleted project: ctest-TestBasicVMVNx-66641572, ID : a50aab4d-e37f-43b3-a1eb-bd612d1fdf61