2025-04-25 00:14:29,294 - INFO - Domain Default found not creating 2025-04-25 00:14:29,409 - INFO - Project ctest-TestBasicVMVNx-03342091 not found, creating it 2025-04-25 00:14:29,880 - INFO - Created Project:ctest-TestBasicVMVNx-03342091, ID : 7d391a1c-112b-4695-8ae6-1a5a19381ce7 2025-04-25 00:14:31,220 - INFO - ================================================================================ 2025-04-25 00:14:31,220 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-04-25 00:14:31,221 - 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-04-25 00:14:31,473 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.17': '0'}} with 2025-04-25 00:14:31,473 - INFO - Initial checks done. Running the testcase now 2025-04-25 00:14:31,474 - INFO - 2025-04-25 00:14:31,982 - DEBUG - Response for create_network : {'network': {'id': 'f2b45413-45d1-4957-8067-f02be26f388a', 'name': 'ctest-vn-75398019', 'tenant_id': '7d391a1c112b46958ae61a5a19381ce7', 'project_id': '7d391a1c112b46958ae61a5a19381ce7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-03342091', 'ctest-vn-75398019'], 'port_security_enabled': True, 'description': ''}} 2025-04-25 00:14:32,118 - DEBUG - Response for create_subnet : {'subnet': {'id': '874381c4-3da1-4ffc-a31f-629f604d99a8', 'name': '', 'tenant_id': '7d391a1c112b46958ae61a5a19381ce7', 'network_id': 'f2b45413-45d1-4957-8067-f02be26f388a', 'ip_version': 4, 'cidr': '144.40.224.128/26', 'allocation_pools': [{'start': '144.40.224.130', 'end': '144.40.224.190'}], 'gateway_ip': '144.40.224.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '144.40.224.130', 'tags': [], 'project_id': '7d391a1c112b46958ae61a5a19381ce7'}} 2025-04-25 00:14:32,133 - INFO - Created VN ctest-vn-75398019 2025-04-25 00:14:32,184 - DEBUG - VN ctest-vn-75398019 UUID is f2b45413-45d1-4957-8067-f02be26f388a 2025-04-25 00:14:32,367 - DEBUG - Services list from nova: [, , ] 2025-04-25 00:14:33,310 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3211-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3211-1) 2025-04-25 00:14:34,360 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3211-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3211-1) 2025-04-25 00:14:34,360 - INFO - Waiting for VM ctest-TestBasicVMVNx-03342091-92236997 to be up.. 2025-04-25 00:14:34,431 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-25 00:14:39,505 - DEBUG - VM is in ACTIVE state now 2025-04-25 00:14:39,505 - INFO - VM name : ctest-TestBasicVMVNx-03342091-92236997 2025-04-25 00:14:39,569 - DEBUG - VM ctest-TestBasicVMVNx-03342091-92236997 ID is db68e70f-5428-4104-9c1a-5f2f1f3633a1 2025-04-25 00:14:39,585 - DEBUG - VM ctest-TestBasicVMVNx-03342091-92236997 launched on Node cn-jenkins-deploy-platform-ansible-os-3211-1 2025-04-25 00:14:39,650 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/db68e70f-5428-4104-9c1a-5f2f1f3633a1 2025-04-25 00:14:39,939 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/db68e70f-5428-4104-9c1a-5f2f1f3633a1 2025-04-25 00:14:39,967 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/f45b9740-34f8-43ee-9e16-6ac76765fb86 2025-04-25 00:14:43,231 - 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-04-25 00:14:43,231 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-03342091-92236997 failed! 2025-04-25 00:14:43,284 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-03342091:ctest-vn-75398019 is 144.40.224.129 and allocation pool is NOT set 2025-04-25 00:14:45,342 - 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=2.33 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.372 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.372/1.348/2.325/0.976 ms') 2025-04-25 00:14:45,342 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-03342091-92236997 passed 2025-04-25 00:14:45,488 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-25 00:14:45,488 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-03342091-92236997, IP 144.40.224.131, Port 22 2025-04-25 00:14:45,639 - DEBUG - VM ctest-TestBasicVMVNx-03342091-92236997 is ready for SSH connections 2025-04-25 00:14:45,639 - INFO - Waiting for VM ctest-TestBasicVMVNx-03342091-43278759 to be up.. 2025-04-25 00:14:45,704 - DEBUG - VM is in ACTIVE state now 2025-04-25 00:14:45,704 - INFO - VM name : ctest-TestBasicVMVNx-03342091-43278759 2025-04-25 00:14:45,771 - DEBUG - VM ctest-TestBasicVMVNx-03342091-43278759 ID is 8214cea6-9e28-4e11-8168-630f6740a808 2025-04-25 00:14:45,771 - DEBUG - VM ctest-TestBasicVMVNx-03342091-43278759 launched on Node cn-jenkins-deploy-platform-ansible-os-3211-1 2025-04-25 00:14:45,834 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/8214cea6-9e28-4e11-8168-630f6740a808 2025-04-25 00:14:45,841 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/e338609a-54f4-4b6b-bb0b-8b7b20a27c7c 2025-04-25 00:14:47,078 - 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.06 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.373 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.373/1.717/3.061/1.344 ms') 2025-04-25 00:14:47,078 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-03342091-43278759 passed 2025-04-25 00:14:47,228 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-25 00:14:47,228 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-03342091-43278759, IP 144.40.224.132, Port 22 2025-04-25 00:14:47,379 - DEBUG - VM ctest-TestBasicVMVNx-03342091-43278759 is ready for SSH connections 2025-04-25 00:14:47,379 - DEBUG - FILE SIZE = 1303B 2025-04-25 00:14:47,379 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-03342091-92236997 to ctest-TestBasicVMVNx-03342091-43278759 using scp 2025-04-25 00:14:47,380 - 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.19, gateway password: c0ntrail123 2025-04-25 00:14:47,380 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-04-25 00:14:49,229 - DEBUG - 1+0 records in 1+0 records out 2025-04-25 00:14:49,809 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-25 00:14:50,122 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-04-25 00:14:50,123 - DEBUG - ls -l testfile 2025-04-25 00:14:51,722 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 24 18:14 testfile 2025-04-25 00:14:51,722 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-03342091-43278759 2025-04-25 00:14:51,722 - INFO - Deleting VM ctest-TestBasicVMVNx-03342091-43278759 2025-04-25 00:14:51,779 - INFO - Deleting VM ctest-TestBasicVMVNx-03342091-92236997 2025-04-25 00:14:51,834 - INFO - Deleting VN ctest-vn-75398019 2025-04-25 00:14:51,870 - DEBUG - VN f2b45413-45d1-4957-8067-f02be26f388a still in use: Unable to complete operation on network f2b45413-45d1-4957-8067-f02be26f388a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d3c4ab26-b486-4afc-ad97-aa5047525830'] 2025-04-25 00:14:51,870 - WARNING - Deleting VN ctest-vn-75398019 failed..Will retry 2025-04-25 00:14:53,968 - DEBUG - Response for deleting network () 2025-04-25 00:14:54,222 - DEBUG - No XMPP flaps were noticed during the test
2025-04-25 00:14:54,222 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-04-25 00:14:54,222 - INFO - -------------------------------------------------------------------------------- 2025-04-25 00:14:54,861 - INFO - Deleted project: ctest-TestBasicVMVNx-03342091, ID : 7d391a1c-112b-4695-8ae6-1a5a19381ce7