2025-06-24 13:21:20,613 - INFO - Domain Default found not creating 2025-06-24 13:21:20,775 - INFO - Project ctest-TestBasicVMVNx-48153780 not found, creating it 2025-06-24 13:21:21,271 - INFO - Created Project:ctest-TestBasicVMVNx-48153780, ID : 3536f651-2949-4fbf-b681-c268d4d10ca7 2025-06-24 13:21:22,752 - INFO - ================================================================================ 2025-06-24 13:21:22,752 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-06-24 13:21:22,752 - 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-06-24 13:21:23,005 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-06-24 13:21:23,005 - INFO - Initial checks done. Running the testcase now 2025-06-24 13:21:23,005 - INFO - 2025-06-24 13:21:23,564 - DEBUG - Response for create_network : {'network': {'id': '8cd7ff78-a496-4075-a2c6-0d63b5f9d75e', 'name': 'ctest-vn-33432044', 'tenant_id': '3536f65129494fbfb681c268d4d10ca7', 'project_id': '3536f65129494fbfb681c268d4d10ca7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-48153780', 'ctest-vn-33432044'], 'port_security_enabled': True, 'description': ''}} 2025-06-24 13:21:23,726 - DEBUG - Response for create_subnet : {'subnet': {'id': '30ae50db-77fa-42de-85d8-1bb248bf23ad', 'name': '', 'tenant_id': '3536f65129494fbfb681c268d4d10ca7', 'network_id': '8cd7ff78-a496-4075-a2c6-0d63b5f9d75e', 'ip_version': 4, 'cidr': '169.101.37.0/26', 'allocation_pools': [{'start': '169.101.37.2', 'end': '169.101.37.62'}], 'gateway_ip': '169.101.37.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '169.101.37.2', 'tags': [], 'project_id': '3536f65129494fbfb681c268d4d10ca7'}} 2025-06-24 13:21:23,746 - INFO - Created VN ctest-vn-33432044 2025-06-24 13:21:23,799 - DEBUG - VN ctest-vn-33432044 UUID is 8cd7ff78-a496-4075-a2c6-0d63b5f9d75e 2025-06-24 13:21:23,977 - DEBUG - Services list from nova: [, , ] 2025-06-24 13:21:24,990 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3533-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3533-1) 2025-06-24 13:21:26,178 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3533-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3533-1) 2025-06-24 13:21:26,179 - INFO - Waiting for VM ctest-TestBasicVMVNx-48153780-74021776 to be up.. 2025-06-24 13:21:26,272 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-24 13:21:31,359 - DEBUG - VM is in ACTIVE state now 2025-06-24 13:21:31,359 - INFO - VM name : ctest-TestBasicVMVNx-48153780-74021776 2025-06-24 13:21:31,443 - DEBUG - VM ctest-TestBasicVMVNx-48153780-74021776 ID is cb537c4e-c89c-4671-97f3-95413c627410 2025-06-24 13:21:31,465 - DEBUG - VM ctest-TestBasicVMVNx-48153780-74021776 launched on Node cn-jenkins-deploy-platform-ansible-os-3533-1 2025-06-24 13:21:31,553 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/cb537c4e-c89c-4671-97f3-95413c627410 2025-06-24 13:21:31,852 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/cb537c4e-c89c-4671-97f3-95413c627410 2025-06-24 13:21:31,886 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/4d4c0297-2e83-4ff0-b39c-00cced726eb4 2025-06-24 13:21:35,164 - 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 1028ms') 2025-06-24 13:21:35,165 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-48153780-74021776 failed! 2025-06-24 13:21:35,223 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-48153780:ctest-vn-33432044 is 169.101.37.1 and allocation pool is NOT set 2025-06-24 13:21:37,290 - 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=7.69 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.485 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.485/4.087/7.689/3.602 ms') 2025-06-24 13:21:37,290 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-48153780-74021776 passed 2025-06-24 13:21:37,443 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-24 13:21:37,443 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-48153780-74021776, IP 169.101.37.3, Port 22 2025-06-24 13:21:37,599 - DEBUG - VM ctest-TestBasicVMVNx-48153780-74021776 is ready for SSH connections 2025-06-24 13:21:37,599 - INFO - Waiting for VM ctest-TestBasicVMVNx-48153780-14297964 to be up.. 2025-06-24 13:21:37,674 - DEBUG - VM is in ACTIVE state now 2025-06-24 13:21:37,674 - INFO - VM name : ctest-TestBasicVMVNx-48153780-14297964 2025-06-24 13:21:37,751 - DEBUG - VM ctest-TestBasicVMVNx-48153780-14297964 ID is fba1a298-d2a3-481d-bdd2-5f1775c73a7b 2025-06-24 13:21:37,751 - DEBUG - VM ctest-TestBasicVMVNx-48153780-14297964 launched on Node cn-jenkins-deploy-platform-ansible-os-3533-1 2025-06-24 13:21:37,827 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/fba1a298-d2a3-481d-bdd2-5f1775c73a7b 2025-06-24 13:21:37,837 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/9fb9ae85-1267-4024-b745-f8c6894cd330 2025-06-24 13:21:39,084 - 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.15 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.522 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.522/1.837/3.152/1.315 ms') 2025-06-24 13:21:39,085 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-48153780-14297964 passed 2025-06-24 13:21:39,239 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-24 13:21:39,239 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-48153780-14297964, IP 169.101.37.4, Port 22 2025-06-24 13:21:39,395 - DEBUG - VM ctest-TestBasicVMVNx-48153780-14297964 is ready for SSH connections 2025-06-24 13:21:39,395 - DEBUG - FILE SIZE = 1303B 2025-06-24 13:21:39,395 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-48153780-74021776 to ctest-TestBasicVMVNx-48153780-14297964 using scp 2025-06-24 13:21:39,396 - 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.254, gateway password: c0ntrail123 2025-06-24 13:21:39,396 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-06-24 13:21:41,475 - DEBUG - 1+0 records in 1+0 records out 2025-06-24 13:21:42,086 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-24 13:21:42,421 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-24 13:21:42,421 - DEBUG - ls -l testfile 2025-06-24 13:21:44,005 - DEBUG - -rw------- 1 cirros cirros 1303 Jun 24 07:21 testfile 2025-06-24 13:21:44,005 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-48153780-14297964 2025-06-24 13:21:44,006 - INFO - Deleting VM ctest-TestBasicVMVNx-48153780-14297964 2025-06-24 13:21:44,083 - INFO - Deleting VM ctest-TestBasicVMVNx-48153780-74021776 2025-06-24 13:21:44,158 - INFO - Deleting VN ctest-vn-33432044 2025-06-24 13:21:44,195 - DEBUG - VN 8cd7ff78-a496-4075-a2c6-0d63b5f9d75e still in use: Unable to complete operation on network 8cd7ff78-a496-4075-a2c6-0d63b5f9d75e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-233151ef-46b5-4624-ae99-9e00ed01275f'] 2025-06-24 13:21:44,195 - WARNING - Deleting VN ctest-vn-33432044 failed..Will retry 2025-06-24 13:21:46,302 - DEBUG - Response for deleting network () 2025-06-24 13:21:46,567 - DEBUG - No XMPP flaps were noticed during the test 2025-06-24 13:21:46,567 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2025-06-24 13:21:46,567 - INFO - -------------------------------------------------------------------------------- 2025-06-24 13:21:47,267 - INFO - Deleted project: ctest-TestBasicVMVNx-48153780, ID : 3536f651-2949-4fbf-b681-c268d4d10ca7