2025-04-24 20:21:14,296 - INFO - Domain Default found not creating 2025-04-24 20:21:14,411 - INFO - Project ctest-TestBasicVMVNx-44039034 not found, creating it 2025-04-24 20:21:14,918 - INFO - Created Project:ctest-TestBasicVMVNx-44039034, ID : b0fbe28c-35d1-4f38-a3b7-529108a1d155 2025-04-24 20:21:16,240 - INFO - ================================================================================ 2025-04-24 20:21:16,240 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-04-24 20:21:16,240 - 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-04-24 20:21:16,503 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-04-24 20:21:16,503 - INFO - Initial checks done. Running the testcase now 2025-04-24 20:21:16,503 - INFO - 2025-04-24 20:21:17,025 - DEBUG - Response for create_network : {'network': {'id': 'f858362b-b888-44af-be4e-c7dfffada4e5', 'name': 'ctest-vn-09707584', 'tenant_id': 'b0fbe28c35d14f38a3b7529108a1d155', 'project_id': 'b0fbe28c35d14f38a3b7529108a1d155', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-44039034', 'ctest-vn-09707584'], 'port_security_enabled': True, 'description': ''}} 2025-04-24 20:21:17,201 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ee4b9d14-1ac0-4668-9579-d71e5e57fe81', 'name': '', 'tenant_id': 'b0fbe28c35d14f38a3b7529108a1d155', 'network_id': 'f858362b-b888-44af-be4e-c7dfffada4e5', 'ip_version': 4, 'cidr': '215.100.40.64/26', 'allocation_pools': [{'start': '215.100.40.66', 'end': '215.100.40.126'}], 'gateway_ip': '215.100.40.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '215.100.40.66', 'tags': [], 'project_id': 'b0fbe28c35d14f38a3b7529108a1d155'}} 2025-04-24 20:21:17,217 - INFO - Created VN ctest-vn-09707584 2025-04-24 20:21:17,270 - DEBUG - VN ctest-vn-09707584 UUID is f858362b-b888-44af-be4e-c7dfffada4e5 2025-04-24 20:21:17,460 - DEBUG - Services list from nova: [, , ] 2025-04-24 20:21:18,394 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3209-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3209-1) 2025-04-24 20:21:19,476 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3209-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3209-1) 2025-04-24 20:21:19,477 - INFO - Waiting for VM ctest-TestBasicVMVNx-44039034-54262961 to be up.. 2025-04-24 20:21:19,553 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-24 20:21:24,623 - DEBUG - VM is in ACTIVE state now 2025-04-24 20:21:24,623 - INFO - VM name : ctest-TestBasicVMVNx-44039034-54262961 2025-04-24 20:21:24,687 - DEBUG - VM ctest-TestBasicVMVNx-44039034-54262961 ID is 45001c0e-522a-4e0b-a79a-21606fb73f69 2025-04-24 20:21:24,703 - DEBUG - VM ctest-TestBasicVMVNx-44039034-54262961 launched on Node cn-jenkins-deploy-platform-ansible-os-3209-1 2025-04-24 20:21:24,767 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/45001c0e-522a-4e0b-a79a-21606fb73f69 2025-04-24 20:21:25,057 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/45001c0e-522a-4e0b-a79a-21606fb73f69 2025-04-24 20:21:25,086 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/0d098b48-382a-4587-9e24-72e11679f76e 2025-04-24 20:21:28,324 - 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 1008ms') 2025-04-24 20:21:28,324 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-44039034-54262961 failed! 2025-04-24 20:21:28,378 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-44039034:ctest-vn-09707584 is 215.100.40.65 and allocation pool is NOT set 2025-04-24 20:21:30,437 - 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.58 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.325 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.325/1.450/2.576/1.125 ms') 2025-04-24 20:21:30,437 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-44039034-54262961 passed 2025-04-24 20:21:30,590 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-24 20:21:30,590 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-44039034-54262961, IP 215.100.40.67, Port 22 2025-04-24 20:21:30,742 - DEBUG - VM ctest-TestBasicVMVNx-44039034-54262961 is ready for SSH connections 2025-04-24 20:21:30,742 - INFO - Waiting for VM ctest-TestBasicVMVNx-44039034-38990054 to be up.. 2025-04-24 20:21:30,811 - DEBUG - VM is in ACTIVE state now 2025-04-24 20:21:30,811 - INFO - VM name : ctest-TestBasicVMVNx-44039034-38990054 2025-04-24 20:21:30,881 - DEBUG - VM ctest-TestBasicVMVNx-44039034-38990054 ID is 3b9644a1-0173-407c-ab54-f92495a7d1bc 2025-04-24 20:21:30,881 - DEBUG - VM ctest-TestBasicVMVNx-44039034-38990054 launched on Node cn-jenkins-deploy-platform-ansible-os-3209-1 2025-04-24 20:21:30,953 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/3b9644a1-0173-407c-ab54-f92495a7d1bc 2025-04-24 20:21:30,961 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/394c801b-0d5e-4583-8ac7-642c48284655 2025-04-24 20:21:32,205 - 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.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.380 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.380/1.541/2.703/1.161 ms') 2025-04-24 20:21:32,205 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-44039034-38990054 passed 2025-04-24 20:21:32,354 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-24 20:21:32,354 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-44039034-38990054, IP 215.100.40.68, Port 22 2025-04-24 20:21:32,509 - DEBUG - VM ctest-TestBasicVMVNx-44039034-38990054 is ready for SSH connections 2025-04-24 20:21:32,510 - DEBUG - FILE SIZE = 1303B 2025-04-24 20:21:32,510 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-44039034-54262961 to ctest-TestBasicVMVNx-44039034-38990054 using scp 2025-04-24 20:21:32,510 - 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-04-24 20:21:32,510 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-04-24 20:21:34,346 - DEBUG - 1+0 records in 1+0 records out 2025-04-24 20:21:34,905 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-24 20:21:35,217 - 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-04-24 20:21:35,218 - DEBUG - ls -l testfile 2025-04-24 20:21:36,769 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 24 14:21 testfile 2025-04-24 20:21:36,770 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-44039034-38990054 2025-04-24 20:21:36,770 - INFO - Deleting VM ctest-TestBasicVMVNx-44039034-38990054 2025-04-24 20:21:36,832 - INFO - Deleting VM ctest-TestBasicVMVNx-44039034-54262961 2025-04-24 20:21:36,897 - INFO - Deleting VN ctest-vn-09707584 2025-04-24 20:21:36,930 - DEBUG - VN f858362b-b888-44af-be4e-c7dfffada4e5 still in use: Unable to complete operation on network f858362b-b888-44af-be4e-c7dfffada4e5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7f847c53-ede0-4faf-9c56-4f45ef4f4a8b'] 2025-04-24 20:21:36,930 - WARNING - Deleting VN ctest-vn-09707584 failed..Will retry 2025-04-24 20:21:39,046 - DEBUG - Response for deleting network () 2025-04-24 20:21:39,295 - DEBUG - No XMPP flaps were noticed during the test 2025-04-24 20:21:39,295 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23] 2025-04-24 20:21:39,295 - INFO - -------------------------------------------------------------------------------- 2025-04-24 20:21:39,958 - INFO - Deleted project: ctest-TestBasicVMVNx-44039034, ID : b0fbe28c-35d1-4f38-a3b7-529108a1d155