2025-10-12 07:35:36,997 - INFO - Domain Default found not creating 2025-10-12 07:35:37,295 - INFO - Project ctest-TestBasicVMVNx-95468120 not found, creating it 2025-10-12 07:35:37,919 - INFO - Created Project:ctest-TestBasicVMVNx-95468120, ID : 0a1739a3-7c7a-4438-87a8-e4ba564e0bc8 2025-10-12 07:35:40,068 - INFO - ================================================================================ 2025-10-12 07:35:40,068 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-10-12 07:35:40,068 - 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-12 07:35:40,369 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.254': '0'}} with 2025-10-12 07:35:40,369 - INFO - Initial checks done. Running the testcase now 2025-10-12 07:35:40,369 - INFO - 2025-10-12 07:35:41,183 - DEBUG - Response for create_network : {'network': {'id': '3a6865a5-15f3-49df-971c-322956ab6cd8', 'name': 'ctest-vn-86223541', 'tenant_id': '0a1739a37c7a443887a8e4ba564e0bc8', 'project_id': '0a1739a37c7a443887a8e4ba564e0bc8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-95468120', 'ctest-vn-86223541'], 'port_security_enabled': True, 'description': ''}} 2025-10-12 07:35:41,380 - DEBUG - Response for create_subnet : {'subnet': {'id': 'baa076ef-48c3-421a-b24b-14427fd61a1c', 'name': '', 'tenant_id': '0a1739a37c7a443887a8e4ba564e0bc8', 'network_id': '3a6865a5-15f3-49df-971c-322956ab6cd8', 'ip_version': 4, 'cidr': '196.160.17.192/26', 'allocation_pools': [{'start': '196.160.17.194', 'end': '196.160.17.254'}], 'gateway_ip': '196.160.17.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '196.160.17.194', 'tags': [], 'project_id': '0a1739a37c7a443887a8e4ba564e0bc8'}} 2025-10-12 07:35:41,403 - INFO - Created VN ctest-vn-86223541 2025-10-12 07:35:41,457 - DEBUG - VN ctest-vn-86223541 UUID is 3a6865a5-15f3-49df-971c-322956ab6cd8 2025-10-12 07:35:41,700 - DEBUG - Services list from nova: [, , ] 2025-10-12 07:35:43,178 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4291-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4291-1) 2025-10-12 07:35:44,573 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4291-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4291-1) 2025-10-12 07:35:44,573 - INFO - Waiting for VM ctest-TestBasicVMVNx-95468120-02578909 to be up.. 2025-10-12 07:35:44,672 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-12 07:35:49,820 - DEBUG - VM is in ACTIVE state now 2025-10-12 07:35:49,820 - INFO - VM name : ctest-TestBasicVMVNx-95468120-02578909 2025-10-12 07:35:49,945 - DEBUG - VM ctest-TestBasicVMVNx-95468120-02578909 ID is 8944b114-a2ce-4a00-8071-7851bf6c2277 2025-10-12 07:35:49,985 - DEBUG - VM ctest-TestBasicVMVNx-95468120-02578909 launched on Node cn-jenkins-deploy-platform-ansible-os-4291-1 2025-10-12 07:35:50,158 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/8944b114-a2ce-4a00-8071-7851bf6c2277 2025-10-12 07:35:50,511 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/8944b114-a2ce-4a00-8071-7851bf6c2277 2025-10-12 07:35:50,577 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/9bc87f76-0917-4055-b7e1-8cd4c19d9a03 2025-10-12 07:35:53,880 - 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 1004ms') 2025-10-12 07:35:53,880 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-95468120-02578909 failed! 2025-10-12 07:35:53,953 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-95468120:ctest-vn-86223541 is 196.160.17.193 and allocation pool is NOT set 2025-10-12 07:35:56,024 - 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=10.9 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.74 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 = 1.740/6.309/10.878/4.569 ms') 2025-10-12 07:35:56,024 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-95468120-02578909 passed 2025-10-12 07:35:56,192 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-12 07:35:56,192 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-95468120-02578909, IP 196.160.17.195, Port 22 2025-10-12 07:35:56,259 - 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-12 07:35:56,387 - DEBUG - VM ctest-TestBasicVMVNx-95468120-02578909 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-12 07:36:01,388 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-12 07:36:01,388 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-95468120-02578909, IP 196.160.17.195, Port 22 2025-10-12 07:36:01,556 - DEBUG - VM ctest-TestBasicVMVNx-95468120-02578909 is ready for SSH connections 2025-10-12 07:36:01,557 - INFO - Waiting for VM ctest-TestBasicVMVNx-95468120-59661159 to be up.. 2025-10-12 07:36:01,644 - DEBUG - VM is in ACTIVE state now 2025-10-12 07:36:01,645 - INFO - VM name : ctest-TestBasicVMVNx-95468120-59661159 2025-10-12 07:36:01,734 - DEBUG - VM ctest-TestBasicVMVNx-95468120-59661159 ID is 05fac5d5-e34f-4100-9003-e43d15651845 2025-10-12 07:36:01,734 - DEBUG - VM ctest-TestBasicVMVNx-95468120-59661159 launched on Node cn-jenkins-deploy-platform-ansible-os-4291-1 2025-10-12 07:36:01,874 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/05fac5d5-e34f-4100-9003-e43d15651845 2025-10-12 07:36:01,890 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/82913900-ea42-4557-b011-3bcd6ff47ad8 2025-10-12 07:36:03,204 - 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=9.28 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.834 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.834/5.054/9.275/4.220 ms') 2025-10-12 07:36:03,204 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-95468120-59661159 passed 2025-10-12 07:36:03,368 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-12 07:36:03,369 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-95468120-59661159, IP 196.160.17.196, Port 22 2025-10-12 07:36:03,575 - DEBUG - VM ctest-TestBasicVMVNx-95468120-59661159 is ready for SSH connections 2025-10-12 07:36:03,576 - DEBUG - FILE SIZE = 1303B 2025-10-12 07:36:03,576 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-95468120-02578909 to ctest-TestBasicVMVNx-95468120-59661159 using scp 2025-10-12 07:36:03,583 - 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.48, gateway password: c0ntrail123 2025-10-12 07:36:03,584 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-10-12 07:36:05,987 - DEBUG - 1+0 records in 1+0 records out 2025-10-12 07:36:06,881 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-12 07:36:07,371 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-10-12 07:36:07,372 - DEBUG - ls -l testfile 2025-10-12 07:36:09,358 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 12 01:36 testfile 2025-10-12 07:36:09,359 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-95468120-59661159 2025-10-12 07:36:09,359 - INFO - Deleting VM ctest-TestBasicVMVNx-95468120-59661159 2025-10-12 07:36:09,506 - INFO - Deleting VM ctest-TestBasicVMVNx-95468120-02578909 2025-10-12 07:36:09,615 - INFO - Deleting VN ctest-vn-86223541 2025-10-12 07:36:09,687 - DEBUG - VN 3a6865a5-15f3-49df-971c-322956ab6cd8 still in use: Unable to complete operation on network 3a6865a5-15f3-49df-971c-322956ab6cd8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-965cc6a4-03bb-445c-9ae4-89be5879a117'] 2025-10-12 07:36:09,687 - WARNING - Deleting VN ctest-vn-86223541 failed..Will retry 2025-10-12 07:36:11,894 - DEBUG - Response for deleting network () 2025-10-12 07:36:12,211 - DEBUG - No XMPP flaps were noticed during the test 2025-10-12 07:36:12,211 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:32] 2025-10-12 07:36:12,211 - INFO - -------------------------------------------------------------------------------- 2025-10-12 07:36:13,132 - INFO - Deleted project: ctest-TestBasicVMVNx-95468120, ID : 0a1739a3-7c7a-4438-87a8-e4ba564e0bc8