2025-10-17 21:58:10,434 - INFO - Domain Default found not creating 2025-10-17 21:58:10,837 - INFO - Project ctest-TestBasicVMVNx-19899034 not found, creating it 2025-10-17 21:58:11,584 - INFO - Created Project:ctest-TestBasicVMVNx-19899034, ID : 1019234c-86c7-45b5-ad3c-93ee3e1c81d6 2025-10-17 21:58:14,039 - INFO - ================================================================================ 2025-10-17 21:58:14,039 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-10-17 21:58:14,040 - 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-10-17 21:58:14,368 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-10-17 21:58:14,368 - INFO - Initial checks done. Running the testcase now 2025-10-17 21:58:14,369 - INFO - 2025-10-17 21:58:15,238 - DEBUG - Response for create_network : {'network': {'id': 'e5d26747-3474-456f-9db9-f2054d5e79d1', 'name': 'ctest-vn-72238076', 'tenant_id': '1019234c86c745b5ad3c93ee3e1c81d6', 'project_id': '1019234c86c745b5ad3c93ee3e1c81d6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-19899034', 'ctest-vn-72238076'], 'port_security_enabled': True, 'description': ''}} 2025-10-17 21:58:15,478 - DEBUG - Response for create_subnet : {'subnet': {'id': '23ecbf40-c8b0-48a4-afc6-cd6f41db1c40', 'name': '', 'tenant_id': '1019234c86c745b5ad3c93ee3e1c81d6', 'network_id': 'e5d26747-3474-456f-9db9-f2054d5e79d1', 'ip_version': 4, 'cidr': '27.43.182.64/26', 'allocation_pools': [{'start': '27.43.182.66', 'end': '27.43.182.126'}], 'gateway_ip': '27.43.182.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '27.43.182.66', 'tags': [], 'project_id': '1019234c86c745b5ad3c93ee3e1c81d6'}} 2025-10-17 21:58:15,502 - INFO - Created VN ctest-vn-72238076 2025-10-17 21:58:15,557 - DEBUG - VN ctest-vn-72238076 UUID is e5d26747-3474-456f-9db9-f2054d5e79d1 2025-10-17 21:58:15,799 - DEBUG - Services list from nova: [, , ] 2025-10-17 21:58:17,217 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4359-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4359-1) 2025-10-17 21:58:18,663 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4359-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4359-1) 2025-10-17 21:58:18,663 - INFO - Waiting for VM ctest-TestBasicVMVNx-19899034-32795642 to be up.. 2025-10-17 21:58:18,735 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-17 21:58:23,870 - DEBUG - VM is in ACTIVE state now 2025-10-17 21:58:23,870 - INFO - VM name : ctest-TestBasicVMVNx-19899034-32795642 2025-10-17 21:58:23,990 - DEBUG - VM ctest-TestBasicVMVNx-19899034-32795642 ID is c49b3064-f27f-4361-9ecc-73027f89637c 2025-10-17 21:58:24,022 - DEBUG - VM ctest-TestBasicVMVNx-19899034-32795642 launched on Node cn-jenkins-deploy-platform-ansible-os-4359-1 2025-10-17 21:58:24,129 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/c49b3064-f27f-4361-9ecc-73027f89637c 2025-10-17 21:58:24,481 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/c49b3064-f27f-4361-9ecc-73027f89637c 2025-10-17 21:58:24,535 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/7e40b62d-5336-4a24-83b1-8c76cd8876c8 2025-10-17 21:58:27,867 - 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 1003ms') 2025-10-17 21:58:27,868 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-19899034-32795642 failed! 2025-10-17 21:58:27,946 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-19899034:ctest-vn-72238076 is 27.43.182.65 and allocation pool is NOT set 2025-10-17 21:58:30,029 - 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=4.83 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.22 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 = 2.218/3.521/4.825/1.303 ms') 2025-10-17 21:58:30,030 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-19899034-32795642 passed 2025-10-17 21:58:30,209 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 21:58:30,209 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-19899034-32795642, IP 27.43.182.67, Port 22 2025-10-17 21:58:30,289 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-10-17 21:58:30,419 - DEBUG - VM ctest-TestBasicVMVNx-19899034-32795642 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-17 21:58:35,420 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 21:58:35,420 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-19899034-32795642, IP 27.43.182.67, Port 22 2025-10-17 21:58:35,632 - DEBUG - VM ctest-TestBasicVMVNx-19899034-32795642 is ready for SSH connections 2025-10-17 21:58:35,632 - INFO - Waiting for VM ctest-TestBasicVMVNx-19899034-96452631 to be up.. 2025-10-17 21:58:35,844 - DEBUG - VM is in ACTIVE state now 2025-10-17 21:58:35,844 - INFO - VM name : ctest-TestBasicVMVNx-19899034-96452631 2025-10-17 21:58:35,933 - DEBUG - VM ctest-TestBasicVMVNx-19899034-96452631 ID is 99d4e0f0-ef04-49ac-b0bc-11b5d999b885 2025-10-17 21:58:35,933 - DEBUG - VM ctest-TestBasicVMVNx-19899034-96452631 launched on Node cn-jenkins-deploy-platform-ansible-os-4359-1 2025-10-17 21:58:36,040 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/99d4e0f0-ef04-49ac-b0bc-11b5d999b885 2025-10-17 21:58:36,051 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/42d3f74c-0abb-44bd-90a9-4894a7478751 2025-10-17 21:58:37,323 - 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.74 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.881 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.881/2.812/4.744/1.931 ms') 2025-10-17 21:58:37,324 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-19899034-96452631 passed 2025-10-17 21:58:37,514 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 21:58:37,514 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-19899034-96452631, IP 27.43.182.68, Port 22 2025-10-17 21:58:37,718 - DEBUG - VM ctest-TestBasicVMVNx-19899034-96452631 is ready for SSH connections 2025-10-17 21:58:37,719 - DEBUG - FILE SIZE = 1303B 2025-10-17 21:58:37,719 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-19899034-32795642 to ctest-TestBasicVMVNx-19899034-96452631 using scp 2025-10-17 21:58:37,723 - 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-10-17 21:58:37,724 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-10-17 21:58:40,206 - DEBUG - 1+0 records in 1+0 records out 2025-10-17 21:58:41,015 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 21:58:41,502 - 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-10-17 21:58:41,502 - DEBUG - ls -l testfile 2025-10-17 21:58:43,339 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 17 15:58 testfile 2025-10-17 21:58:43,339 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-19899034-96452631 2025-10-17 21:58:43,340 - INFO - Deleting VM ctest-TestBasicVMVNx-19899034-96452631 2025-10-17 21:58:43,435 - INFO - Deleting VM ctest-TestBasicVMVNx-19899034-32795642 2025-10-17 21:58:43,542 - INFO - Deleting VN ctest-vn-72238076 2025-10-17 21:58:43,603 - DEBUG - VN e5d26747-3474-456f-9db9-f2054d5e79d1 still in use: Unable to complete operation on network e5d26747-3474-456f-9db9-f2054d5e79d1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fcb59549-0d85-4740-948c-8238109dfd33'] 2025-10-17 21:58:43,604 - WARNING - Deleting VN ctest-vn-72238076 failed..Will retry 2025-10-17 21:58:45,836 - DEBUG - Response for deleting network () 2025-10-17 21:58:46,129 - DEBUG - No XMPP flaps were noticed during the test 2025-10-17 21:58:46,129 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:32] 2025-10-17 21:58:46,129 - INFO - -------------------------------------------------------------------------------- 2025-10-17 21:58:47,046 - INFO - Deleted project: ctest-TestBasicVMVNx-19899034, ID : 1019234c-86c7-45b5-ad3c-93ee3e1c81d6