2025-09-16 11:44:53,832 - INFO - Domain Default found not creating 2025-09-16 11:44:54,002 - INFO - Project ctest-TestBasicVMVNx-33867523 not found, creating it 2025-09-16 11:44:54,441 - INFO - Created Project:ctest-TestBasicVMVNx-33867523, ID : 77bea89f-06bd-4221-8ae3-e4609c48cad6 2025-09-16 11:44:56,000 - INFO - ================================================================================ 2025-09-16 11:44:56,000 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-09-16 11:44:56,000 - 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-09-16 11:44:56,263 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-09-16 11:44:56,263 - INFO - Initial checks done. Running the testcase now 2025-09-16 11:44:56,263 - INFO - 2025-09-16 11:44:56,798 - DEBUG - Response for create_network : {'network': {'id': 'd0e92af4-33dc-4192-b1c4-32e5b025003b', 'name': 'ctest-vn-47020201', 'tenant_id': '77bea89f06bd42218ae3e4609c48cad6', 'project_id': '77bea89f06bd42218ae3e4609c48cad6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-33867523', 'ctest-vn-47020201'], 'port_security_enabled': True, 'description': ''}} 2025-09-16 11:44:56,986 - DEBUG - Response for create_subnet : {'subnet': {'id': '72c9eb0f-4cff-41da-8b99-93894005f384', 'name': '', 'tenant_id': '77bea89f06bd42218ae3e4609c48cad6', 'network_id': 'd0e92af4-33dc-4192-b1c4-32e5b025003b', 'ip_version': 4, 'cidr': '41.159.12.0/26', 'allocation_pools': [{'start': '41.159.12.2', 'end': '41.159.12.62'}], 'gateway_ip': '41.159.12.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '41.159.12.2', 'tags': [], 'project_id': '77bea89f06bd42218ae3e4609c48cad6'}} 2025-09-16 11:44:57,003 - INFO - Created VN ctest-vn-47020201 2025-09-16 11:44:57,054 - DEBUG - VN ctest-vn-47020201 UUID is d0e92af4-33dc-4192-b1c4-32e5b025003b 2025-09-16 11:44:57,219 - DEBUG - Services list from nova: [, , ] 2025-09-16 11:44:58,206 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4121-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4121-1) 2025-09-16 11:44:59,344 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4121-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4121-1) 2025-09-16 11:44:59,345 - INFO - Waiting for VM ctest-TestBasicVMVNx-33867523-56269490 to be up.. 2025-09-16 11:44:59,440 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-16 11:45:04,516 - DEBUG - VM is in ACTIVE state now 2025-09-16 11:45:04,516 - INFO - VM name : ctest-TestBasicVMVNx-33867523-56269490 2025-09-16 11:45:04,589 - DEBUG - VM ctest-TestBasicVMVNx-33867523-56269490 ID is 229fbed8-3fee-4d94-b17b-50ded85070b0 2025-09-16 11:45:04,608 - DEBUG - VM ctest-TestBasicVMVNx-33867523-56269490 launched on Node cn-jenkins-deploy-platform-ansible-os-4121-1 2025-09-16 11:45:04,679 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/229fbed8-3fee-4d94-b17b-50ded85070b0 2025-09-16 11:45:04,979 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/229fbed8-3fee-4d94-b17b-50ded85070b0 2025-09-16 11:45:05,011 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f7affb86-948b-45b2-8b52-ffa9d61168c6 2025-09-16 11:45:08,271 - 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 1029ms') 2025-09-16 11:45:08,271 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-33867523-56269490 failed! 2025-09-16 11:45:08,326 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-33867523:ctest-vn-47020201 is 41.159.12.1 and allocation pool is NOT set 2025-09-16 11:45:10,384 - 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=2.84 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.438 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.438/1.636/2.835/1.198 ms') 2025-09-16 11:45:10,384 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-33867523-56269490 passed 2025-09-16 11:45:10,538 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-16 11:45:10,538 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-33867523-56269490, IP 41.159.12.3, Port 22 2025-09-16 11:45:10,694 - DEBUG - VM ctest-TestBasicVMVNx-33867523-56269490 is ready for SSH connections 2025-09-16 11:45:10,694 - INFO - Waiting for VM ctest-TestBasicVMVNx-33867523-96323096 to be up.. 2025-09-16 11:45:10,761 - DEBUG - VM is in ACTIVE state now 2025-09-16 11:45:10,761 - INFO - VM name : ctest-TestBasicVMVNx-33867523-96323096 2025-09-16 11:45:10,832 - DEBUG - VM ctest-TestBasicVMVNx-33867523-96323096 ID is a0e839d9-328f-4c66-9a9c-35eb6f83490e 2025-09-16 11:45:10,832 - DEBUG - VM ctest-TestBasicVMVNx-33867523-96323096 launched on Node cn-jenkins-deploy-platform-ansible-os-4121-1 2025-09-16 11:45:10,902 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a0e839d9-328f-4c66-9a9c-35eb6f83490e 2025-09-16 11:45:10,910 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/cfa69e0a-97b5-43ef-a5d2-32f2043131d6 2025-09-16 11:45:12,146 - 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=2.86 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.375 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.375/1.615/2.855/1.240 ms') 2025-09-16 11:45:12,146 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-33867523-96323096 passed 2025-09-16 11:45:12,298 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-16 11:45:12,298 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-33867523-96323096, IP 41.159.12.4, Port 22 2025-09-16 11:45:12,449 - DEBUG - VM ctest-TestBasicVMVNx-33867523-96323096 is ready for SSH connections 2025-09-16 11:45:12,449 - DEBUG - FILE SIZE = 1303B 2025-09-16 11:45:12,449 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-33867523-56269490 to ctest-TestBasicVMVNx-33867523-96323096 using scp 2025-09-16 11:45:12,451 - 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.38, gateway password: c0ntrail123 2025-09-16 11:45:12,451 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-09-16 11:45:14,090 - DEBUG - 1+0 records in 1+0 records out 2025-09-16 11:45:14,710 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-16 11:45:15,033 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-16 11:45:15,033 - DEBUG - ls -l testfile 2025-09-16 11:45:16,597 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 16 05:45 testfile 2025-09-16 11:45:16,597 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-33867523-96323096 2025-09-16 11:45:16,597 - INFO - Deleting VM ctest-TestBasicVMVNx-33867523-96323096 2025-09-16 11:45:16,665 - INFO - Deleting VM ctest-TestBasicVMVNx-33867523-56269490 2025-09-16 11:45:16,738 - INFO - Deleting VN ctest-vn-47020201 2025-09-16 11:45:16,782 - DEBUG - VN d0e92af4-33dc-4192-b1c4-32e5b025003b still in use: Unable to complete operation on network d0e92af4-33dc-4192-b1c4-32e5b025003b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-49a5e77f-f9f9-4860-a5b2-95dec880a69a'] 2025-09-16 11:45:16,783 - WARNING - Deleting VN ctest-vn-47020201 failed..Will retry 2025-09-16 11:45:18,885 - DEBUG - Response for deleting network () 2025-09-16 11:45:19,140 - DEBUG - No XMPP flaps were noticed during the test
2025-09-16 11:45:19,140 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-09-16 11:45:19,140 - INFO - -------------------------------------------------------------------------------- 2025-09-16 11:45:19,807 - INFO - Deleted project: ctest-TestBasicVMVNx-33867523, ID : 77bea89f-06bd-4221-8ae3-e4609c48cad6