2025-12-08 20:23:05,431 - INFO - Domain Default found not creating 2025-12-08 20:23:05,623 - INFO - Project ctest-TestBasicVMVNx-55673662 not found, creating it 2025-12-08 20:23:06,114 - INFO - Created Project:ctest-TestBasicVMVNx-55673662, ID : 52271f55-56ce-423f-983d-8afab2519980 2025-12-08 20:23:07,842 - INFO - ================================================================================ 2025-12-08 20:23:07,842 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-12-08 20:23:07,842 - 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-12-08 20:23:08,100 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.14': '0'}} with 2025-12-08 20:23:08,100 - INFO - Initial checks done. Running the testcase now 2025-12-08 20:23:08,100 - INFO - 2025-12-08 20:23:08,704 - DEBUG - Response for create_network : {'network': {'id': 'da0c09f2-acb9-4f0b-b44e-2b2f1e2c489f', 'name': 'ctest-vn-74203945', 'tenant_id': '52271f5556ce423f983d8afab2519980', 'project_id': '52271f5556ce423f983d8afab2519980', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-55673662', 'ctest-vn-74203945'], 'port_security_enabled': True, 'description': ''}} 2025-12-08 20:23:08,880 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b6a86fca-200a-48ba-a9c7-7d801553be26', 'name': '', 'tenant_id': '52271f5556ce423f983d8afab2519980', 'network_id': 'da0c09f2-acb9-4f0b-b44e-2b2f1e2c489f', 'ip_version': 4, 'cidr': '210.59.39.128/26', 'allocation_pools': [{'start': '210.59.39.130', 'end': '210.59.39.190'}], 'gateway_ip': '210.59.39.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '210.59.39.130', 'tags': [], 'project_id': '52271f5556ce423f983d8afab2519980'}} 2025-12-08 20:23:08,902 - INFO - Created VN ctest-vn-74203945 2025-12-08 20:23:08,958 - DEBUG - VN ctest-vn-74203945 UUID is da0c09f2-acb9-4f0b-b44e-2b2f1e2c489f 2025-12-08 20:23:09,148 - DEBUG - Services list from nova: [, , ] 2025-12-08 20:23:10,277 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4860-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4860-1) 2025-12-08 20:23:11,518 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4860-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4860-1) 2025-12-08 20:23:11,518 - INFO - Waiting for VM ctest-TestBasicVMVNx-55673662-92505241 to be up.. 2025-12-08 20:23:11,611 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-08 20:23:16,715 - DEBUG - VM is in ACTIVE state now 2025-12-08 20:23:16,715 - INFO - VM name : ctest-TestBasicVMVNx-55673662-92505241 2025-12-08 20:23:16,808 - DEBUG - VM ctest-TestBasicVMVNx-55673662-92505241 ID is a5cfced0-b2c8-4296-aefe-ae055a800183 2025-12-08 20:23:16,839 - DEBUG - VM ctest-TestBasicVMVNx-55673662-92505241 launched on Node cn-jenkins-deploy-platform-ansible-os-4860-1 2025-12-08 20:23:16,954 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/a5cfced0-b2c8-4296-aefe-ae055a800183 2025-12-08 20:23:17,268 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/a5cfced0-b2c8-4296-aefe-ae055a800183 2025-12-08 20:23:17,310 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/75c4a2ff-3f3b-469e-8c68-05e1c6d01033 2025-12-08 20:23:20,584 - 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 1017ms') 2025-12-08 20:23:20,584 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-55673662-92505241 failed! 2025-12-08 20:23:20,641 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-55673662:ctest-vn-74203945 is 210.59.39.129 and allocation pool is NOT set 2025-12-08 20:23:22,713 - 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=5.44 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.93 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 = 1.931/3.686/5.442/1.755 ms') 2025-12-08 20:23:22,713 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-55673662-92505241 passed 2025-12-08 20:23:22,861 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 20:23:22,862 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-55673662-92505241, IP 210.59.39.131, Port 22 2025-12-08 20:23:22,921 - 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-12-08 20:23:23,003 - DEBUG - VM ctest-TestBasicVMVNx-55673662-92505241 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-08 20:23:28,004 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 20:23:28,004 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-55673662-92505241, IP 210.59.39.131, Port 22 2025-12-08 20:23:28,165 - DEBUG - VM ctest-TestBasicVMVNx-55673662-92505241 is ready for SSH connections 2025-12-08 20:23:28,165 - INFO - Waiting for VM ctest-TestBasicVMVNx-55673662-72657715 to be up.. 2025-12-08 20:23:28,249 - DEBUG - VM is in ACTIVE state now 2025-12-08 20:23:28,249 - INFO - VM name : ctest-TestBasicVMVNx-55673662-72657715 2025-12-08 20:23:28,331 - DEBUG - VM ctest-TestBasicVMVNx-55673662-72657715 ID is eb48d8b4-02cd-4ff1-9858-0677970ad24c 2025-12-08 20:23:28,331 - DEBUG - VM ctest-TestBasicVMVNx-55673662-72657715 launched on Node cn-jenkins-deploy-platform-ansible-os-4860-1 2025-12-08 20:23:28,414 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/eb48d8b4-02cd-4ff1-9858-0677970ad24c 2025-12-08 20:23:28,424 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/d6cc45d7-5707-4ed6-9312-76ba8cd4207f 2025-12-08 20:23:29,665 - 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.09 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.587 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.587/1.838/3.090/1.251 ms') 2025-12-08 20:23:29,665 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-55673662-72657715 passed 2025-12-08 20:23:29,825 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 20:23:29,826 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-55673662-72657715, IP 210.59.39.132, Port 22 2025-12-08 20:23:29,985 - DEBUG - VM ctest-TestBasicVMVNx-55673662-72657715 is ready for SSH connections 2025-12-08 20:23:29,986 - DEBUG - FILE SIZE = 1303B 2025-12-08 20:23:29,986 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-55673662-92505241 to ctest-TestBasicVMVNx-55673662-72657715 using scp 2025-12-08 20:23:29,987 - 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.33, gateway password: c0ntrail123 2025-12-08 20:23:29,988 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-12-08 20:23:32,031 - DEBUG - 1+0 records in 1+0 records out 2025-12-08 20:23:32,359 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 20:23:32,713 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-12-08 20:23:32,713 - DEBUG - ls -l testfile 2025-12-08 20:23:34,323 - DEBUG - -rw------- 1 cirros cirros 1303 Dec 8 13:23 testfile 2025-12-08 20:23:34,323 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-55673662-72657715 2025-12-08 20:23:34,323 - INFO - Deleting VM ctest-TestBasicVMVNx-55673662-72657715 2025-12-08 20:23:34,409 - INFO - Deleting VM ctest-TestBasicVMVNx-55673662-92505241 2025-12-08 20:23:34,490 - INFO - Deleting VN ctest-vn-74203945 2025-12-08 20:23:34,530 - DEBUG - VN da0c09f2-acb9-4f0b-b44e-2b2f1e2c489f still in use: Unable to complete operation on network da0c09f2-acb9-4f0b-b44e-2b2f1e2c489f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-903bb756-7277-47fa-8265-55472f71802d'] 2025-12-08 20:23:34,531 - WARNING - Deleting VN ctest-vn-74203945 failed..Will retry 2025-12-08 20:23:36,641 - DEBUG - Response for deleting network () 2025-12-08 20:23:36,905 - DEBUG - No XMPP flaps were noticed during the test
2025-12-08 20:23:36,905 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:29]
2025-12-08 20:23:36,905 - INFO - -------------------------------------------------------------------------------- 2025-12-08 20:23:37,633 - INFO - Deleted project: ctest-TestBasicVMVNx-55673662, ID : 52271f55-56ce-423f-983d-8afab2519980