2025-02-11 19:39:26,431 - INFO - Domain Default found not creating 2025-02-11 19:39:26,600 - INFO - Project ctest-TestBasicVMVNx-65468995 not found, creating it 2025-02-11 19:39:27,101 - INFO - Created Project:ctest-TestBasicVMVNx-65468995, ID : db7b6cb8-dd07-4060-aac8-7144e600ab44 2025-02-11 19:39:28,602 - INFO - ================================================================================ 2025-02-11 19:39:28,602 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-02-11 19:39:28,602 - 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-11 19:39:28,864 - DEBUG - Nothing to compare xmpp stats {'10.0.0.31': {'10.20.0.31': '0'}} with 2025-02-11 19:39:28,864 - INFO - Initial checks done. Running the testcase now 2025-02-11 19:39:28,864 - INFO - 2025-02-11 19:39:29,449 - DEBUG - Response for create_network : {'network': {'id': 'f22dd4db-0607-4f87-9267-1fff48bef622', 'name': 'ctest-vn-65730417', 'tenant_id': 'db7b6cb8dd074060aac87144e600ab44', 'project_id': 'db7b6cb8dd074060aac87144e600ab44', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-65468995', 'ctest-vn-65730417'], 'port_security_enabled': True, 'description': ''}} 2025-02-11 19:39:29,688 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e811a3fa-252d-42ce-a231-4a97694be0c7', 'name': '', 'tenant_id': 'db7b6cb8dd074060aac87144e600ab44', 'network_id': 'f22dd4db-0607-4f87-9267-1fff48bef622', 'ip_version': 4, 'cidr': '22.154.86.0/26', 'allocation_pools': [{'start': '22.154.86.2', 'end': '22.154.86.62'}], 'gateway_ip': '22.154.86.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '22.154.86.2', 'tags': [], 'project_id': 'db7b6cb8dd074060aac87144e600ab44'}} 2025-02-11 19:39:29,708 - INFO - Created VN ctest-vn-65730417 2025-02-11 19:39:29,763 - DEBUG - VN ctest-vn-65730417 UUID is f22dd4db-0607-4f87-9267-1fff48bef622 2025-02-11 19:39:29,945 - DEBUG - Services list from nova: [, , ] 2025-02-11 19:39:31,009 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2722-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2722-1) 2025-02-11 19:39:32,258 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2722-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2722-1) 2025-02-11 19:39:32,259 - INFO - Waiting for VM ctest-TestBasicVMVNx-65468995-64813987 to be up.. 2025-02-11 19:39:32,367 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-11 19:39:37,473 - DEBUG - VM is in ACTIVE state now 2025-02-11 19:39:37,473 - INFO - VM name : ctest-TestBasicVMVNx-65468995-64813987 2025-02-11 19:39:37,564 - DEBUG - VM ctest-TestBasicVMVNx-65468995-64813987 ID is 87b22d62-5efe-41b5-b80e-957c17d3d415 2025-02-11 19:39:37,584 - DEBUG - VM ctest-TestBasicVMVNx-65468995-64813987 launched on Node cn-jenkins-deploy-platform-ansible-os-2722-1 2025-02-11 19:39:37,680 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/87b22d62-5efe-41b5-b80e-957c17d3d415 2025-02-11 19:39:38,009 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/87b22d62-5efe-41b5-b80e-957c17d3d415 2025-02-11 19:39:38,051 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/4610dd82-8845-41ee-87da-136b01b3d2c5 2025-02-11 19:39:41,346 - 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 1030ms') 2025-02-11 19:39:41,347 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-65468995-64813987 failed! 2025-02-11 19:39:41,411 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-65468995:ctest-vn-65730417 is 22.154.86.1 and allocation pool is NOT set 2025-02-11 19:39:43,477 - 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.697 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.697/1.876/3.055/1.179 ms') 2025-02-11 19:39:43,477 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-65468995-64813987 passed 2025-02-11 19:39:43,647 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-11 19:39:43,647 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-65468995-64813987, IP 22.154.86.3, Port 22 2025-02-11 19:39:43,806 - DEBUG - VM ctest-TestBasicVMVNx-65468995-64813987 is ready for SSH connections 2025-02-11 19:39:43,806 - INFO - Waiting for VM ctest-TestBasicVMVNx-65468995-26059769 to be up.. 2025-02-11 19:39:43,922 - DEBUG - VM is in ACTIVE state now 2025-02-11 19:39:43,922 - INFO - VM name : ctest-TestBasicVMVNx-65468995-26059769 2025-02-11 19:39:44,026 - DEBUG - VM ctest-TestBasicVMVNx-65468995-26059769 ID is b831bf9d-611d-4ad7-9d14-c6071d0a31d7 2025-02-11 19:39:44,026 - DEBUG - VM ctest-TestBasicVMVNx-65468995-26059769 launched on Node cn-jenkins-deploy-platform-ansible-os-2722-1 2025-02-11 19:39:44,111 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/b831bf9d-611d-4ad7-9d14-c6071d0a31d7 2025-02-11 19:39:44,122 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/fa5ba055-2001-441e-86eb-8499d9004015 2025-02-11 19:39:45,372 - 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.41 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.528 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.528/1.967/3.406/1.439 ms') 2025-02-11 19:39:45,372 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-65468995-26059769 passed 2025-02-11 19:39:45,526 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-11 19:39:45,527 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-65468995-26059769, IP 22.154.86.4, Port 22 2025-02-11 19:39:45,682 - DEBUG - VM ctest-TestBasicVMVNx-65468995-26059769 is ready for SSH connections 2025-02-11 19:39:45,683 - DEBUG - FILE SIZE = 1303B 2025-02-11 19:39:45,683 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-65468995-64813987 to ctest-TestBasicVMVNx-65468995-26059769 using scp 2025-02-11 19:39:45,684 - 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.31, gateway password: c0ntrail123 2025-02-11 19:39:45,684 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-02-11 19:39:47,662 - DEBUG - 1+0 records in 1+0 records out 2025-02-11 19:39:48,442 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-11 19:39:48,777 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.31, gateway password: c0ntrail123 2025-02-11 19:39:48,777 - DEBUG - ls -l testfile 2025-02-11 19:39:50,382 - DEBUG - -rw------- 1 cirros cirros 1303 Feb 11 12:39 testfile 2025-02-11 19:39:50,382 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-65468995-26059769 2025-02-11 19:39:50,382 - INFO - Deleting VM ctest-TestBasicVMVNx-65468995-26059769 2025-02-11 19:39:50,455 - INFO - Deleting VM ctest-TestBasicVMVNx-65468995-64813987 2025-02-11 19:39:50,539 - INFO - Deleting VN ctest-vn-65730417 2025-02-11 19:39:50,579 - DEBUG - VN f22dd4db-0607-4f87-9267-1fff48bef622 still in use: Unable to complete operation on network f22dd4db-0607-4f87-9267-1fff48bef622. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-073da614-4ba5-4517-a92b-8c4427476cb6'] 2025-02-11 19:39:50,579 - WARNING - Deleting VN ctest-vn-65730417 failed..Will retry 2025-02-11 19:39:52,729 - DEBUG - Response for deleting network () 2025-02-11 19:39:52,992 - DEBUG - No XMPP flaps were noticed during the test 2025-02-11 19:39:52,992 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2025-02-11 19:39:52,993 - INFO - -------------------------------------------------------------------------------- 2025-02-11 19:39:53,733 - INFO - Deleted project: ctest-TestBasicVMVNx-65468995, ID : db7b6cb8-dd07-4060-aac8-7144e600ab44