2025-06-16 20:56:02,181 - INFO - Domain Default found not creating 2025-06-16 20:56:02,343 - INFO - Project ctest-TestBasicVMVNx-71444777 not found, creating it 2025-06-16 20:56:02,835 - INFO - Created Project:ctest-TestBasicVMVNx-71444777, ID : 1b666e40-ba4d-44b0-a052-48146ac5f3ae 2025-06-16 20:56:04,433 - INFO - ================================================================================ 2025-06-16 20:56:04,433 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-06-16 20:56:04,433 - 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-16 20:56:04,689 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.17': '0'}} with 2025-06-16 20:56:04,689 - INFO - Initial checks done. Running the testcase now 2025-06-16 20:56:04,689 - INFO - 2025-06-16 20:56:05,294 - DEBUG - Response for create_network : {'network': {'id': 'acf6f8b0-8a48-4af0-bdc0-597c98408768', 'name': 'ctest-vn-57594062', 'tenant_id': '1b666e40ba4d44b0a05248146ac5f3ae', 'project_id': '1b666e40ba4d44b0a05248146ac5f3ae', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-71444777', 'ctest-vn-57594062'], 'port_security_enabled': True, 'description': ''}} 2025-06-16 20:56:05,475 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd222cc81-ee8a-4bfc-81aa-8df8804600f8', 'name': '', 'tenant_id': '1b666e40ba4d44b0a05248146ac5f3ae', 'network_id': 'acf6f8b0-8a48-4af0-bdc0-597c98408768', 'ip_version': 4, 'cidr': '168.199.124.0/26', 'allocation_pools': [{'start': '168.199.124.2', 'end': '168.199.124.62'}], 'gateway_ip': '168.199.124.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.199.124.2', 'tags': [], 'project_id': '1b666e40ba4d44b0a05248146ac5f3ae'}} 2025-06-16 20:56:05,496 - INFO - Created VN ctest-vn-57594062 2025-06-16 20:56:05,551 - DEBUG - VN ctest-vn-57594062 UUID is acf6f8b0-8a48-4af0-bdc0-597c98408768 2025-06-16 20:56:05,765 - DEBUG - Services list from nova: [, , ] 2025-06-16 20:56:06,909 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3457-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3457-1) 2025-06-16 20:56:08,182 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3457-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3457-1) 2025-06-16 20:56:08,182 - INFO - Waiting for VM ctest-TestBasicVMVNx-71444777-41969377 to be up.. 2025-06-16 20:56:08,282 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-16 20:56:13,375 - DEBUG - VM is in ACTIVE state now 2025-06-16 20:56:13,376 - INFO - VM name : ctest-TestBasicVMVNx-71444777-41969377 2025-06-16 20:56:13,477 - DEBUG - VM ctest-TestBasicVMVNx-71444777-41969377 ID is 15abfda7-103c-4fd3-9458-769bdb49fd89 2025-06-16 20:56:13,506 - DEBUG - VM ctest-TestBasicVMVNx-71444777-41969377 launched on Node cn-jenkins-deploy-platform-ansible-os-3457-1 2025-06-16 20:56:13,595 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/15abfda7-103c-4fd3-9458-769bdb49fd89 2025-06-16 20:56:13,931 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/15abfda7-103c-4fd3-9458-769bdb49fd89 2025-06-16 20:56:13,966 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/bae039a7-dbd0-48d1-b0e9-416efd795f1c 2025-06-16 20:56:17,225 - 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 1011ms') 2025-06-16 20:56:17,225 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-71444777-41969377 failed! 2025-06-16 20:56:17,283 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-71444777:ctest-vn-57594062 is 168.199.124.1 and allocation pool is NOT set 2025-06-16 20:56:19,348 - 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.01 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.80 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.798/2.902/4.007/1.104 ms') 2025-06-16 20:56:19,348 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-71444777-41969377 passed 2025-06-16 20:56:19,503 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-16 20:56:19,503 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-71444777-41969377, IP 168.199.124.3, Port 22 2025-06-16 20:56:19,659 - DEBUG - VM ctest-TestBasicVMVNx-71444777-41969377 is ready for SSH connections 2025-06-16 20:56:19,659 - INFO - Waiting for VM ctest-TestBasicVMVNx-71444777-74868842 to be up.. 2025-06-16 20:56:19,743 - DEBUG - VM is in ACTIVE state now 2025-06-16 20:56:19,743 - INFO - VM name : ctest-TestBasicVMVNx-71444777-74868842 2025-06-16 20:56:19,838 - DEBUG - VM ctest-TestBasicVMVNx-71444777-74868842 ID is 5d91db60-9416-475c-9e39-2ff29ee4dfad 2025-06-16 20:56:19,838 - DEBUG - VM ctest-TestBasicVMVNx-71444777-74868842 launched on Node cn-jenkins-deploy-platform-ansible-os-3457-1 2025-06-16 20:56:19,932 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/5d91db60-9416-475c-9e39-2ff29ee4dfad 2025-06-16 20:56:19,942 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/a55a93a3-a6a9-4cad-9b24-815fe198758c 2025-06-16 20:56:21,197 - 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=5.04 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.52 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 = 2.518/3.781/5.044/1.263 ms') 2025-06-16 20:56:21,198 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-71444777-74868842 passed 2025-06-16 20:56:21,355 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-16 20:56:21,355 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-71444777-74868842, IP 168.199.124.4, Port 22 2025-06-16 20:56:21,422 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-06-16 20:56:21,527 - DEBUG - VM ctest-TestBasicVMVNx-71444777-74868842 is NOT ready for SSH connections, VM status: ACTIVE 2025-06-16 20:56:26,527 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-16 20:56:26,528 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-71444777-74868842, IP 168.199.124.4, Port 22 2025-06-16 20:56:26,682 - DEBUG - VM ctest-TestBasicVMVNx-71444777-74868842 is ready for SSH connections 2025-06-16 20:56:26,683 - DEBUG - FILE SIZE = 1303B 2025-06-16 20:56:26,683 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-71444777-41969377 to ctest-TestBasicVMVNx-71444777-74868842 using scp 2025-06-16 20:56:26,683 - 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.57, gateway password: c0ntrail123 2025-06-16 20:56:26,683 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-06-16 20:56:28,725 - DEBUG - 1+0 records in 1+0 records out 2025-06-16 20:56:29,642 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-16 20:56:30,008 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-06-16 20:56:30,008 - DEBUG - ls -l testfile 2025-06-16 20:56:31,635 - DEBUG - -rw------- 1 cirros cirros 1303 Jun 16 14:56 testfile 2025-06-16 20:56:31,635 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-71444777-74868842 2025-06-16 20:56:31,635 - INFO - Deleting VM ctest-TestBasicVMVNx-71444777-74868842 2025-06-16 20:56:31,714 - INFO - Deleting VM ctest-TestBasicVMVNx-71444777-41969377 2025-06-16 20:56:31,788 - INFO - Deleting VN ctest-vn-57594062 2025-06-16 20:56:31,830 - DEBUG - VN acf6f8b0-8a48-4af0-bdc0-597c98408768 still in use: Unable to complete operation on network acf6f8b0-8a48-4af0-bdc0-597c98408768. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fcf9e3d6-42fd-4ed8-8a81-b4c45c5ac9f2'] 2025-06-16 20:56:31,830 - WARNING - Deleting VN ctest-vn-57594062 failed..Will retry 2025-06-16 20:56:33,945 - DEBUG - Response for deleting network () 2025-06-16 20:56:34,205 - DEBUG - No XMPP flaps were noticed during the test
2025-06-16 20:56:34,205 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:30]
2025-06-16 20:56:34,205 - INFO - -------------------------------------------------------------------------------- 2025-06-16 20:56:34,990 - INFO - Deleted project: ctest-TestBasicVMVNx-71444777, ID : 1b666e40-ba4d-44b0-a052-48146ac5f3ae