2025-07-31 12:12:48,731 - INFO - Domain Default found not creating 2025-07-31 12:12:48,900 - INFO - Project ctest-TestBasicVMVNx-31081792 not found, creating it 2025-07-31 12:12:49,375 - INFO - Created Project:ctest-TestBasicVMVNx-31081792, ID : 533fb03f-f6a6-4ddf-9ff2-22f8a5b537de 2025-07-31 12:12:50,893 - INFO - ================================================================================ 2025-07-31 12:12:50,894 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-07-31 12:12:50,894 - 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-07-31 12:12:51,153 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0'}} with 2025-07-31 12:12:51,153 - INFO - Initial checks done. Running the testcase now 2025-07-31 12:12:51,154 - INFO - 2025-07-31 12:12:51,733 - DEBUG - Response for create_network : {'network': {'id': '2cdc8dd0-091f-45c6-b9d3-42d6b33ab2e5', 'name': 'ctest-vn-50739987', 'tenant_id': '533fb03ff6a64ddf9ff222f8a5b537de', 'project_id': '533fb03ff6a64ddf9ff222f8a5b537de', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-31081792', 'ctest-vn-50739987'], 'port_security_enabled': True, 'description': ''}} 2025-07-31 12:12:51,966 - DEBUG - Response for create_subnet : {'subnet': {'id': '1f38c110-73f0-48f3-a36f-22a58d8d6baf', 'name': '', 'tenant_id': '533fb03ff6a64ddf9ff222f8a5b537de', 'network_id': '2cdc8dd0-091f-45c6-b9d3-42d6b33ab2e5', 'ip_version': 4, 'cidr': '25.237.15.128/26', 'allocation_pools': [{'start': '25.237.15.130', 'end': '25.237.15.190'}], 'gateway_ip': '25.237.15.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '25.237.15.130', 'tags': [], 'project_id': '533fb03ff6a64ddf9ff222f8a5b537de'}} 2025-07-31 12:12:51,986 - INFO - Created VN ctest-vn-50739987 2025-07-31 12:12:52,039 - DEBUG - VN ctest-vn-50739987 UUID is 2cdc8dd0-091f-45c6-b9d3-42d6b33ab2e5 2025-07-31 12:12:52,215 - DEBUG - Services list from nova: [, , ] 2025-07-31 12:12:53,246 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3734-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3734-1) 2025-07-31 12:12:54,428 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3734-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3734-1) 2025-07-31 12:12:54,428 - INFO - Waiting for VM ctest-TestBasicVMVNx-31081792-32567123 to be up.. 2025-07-31 12:12:54,512 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-31 12:12:59,587 - DEBUG - VM is in ACTIVE state now 2025-07-31 12:12:59,587 - INFO - VM name : ctest-TestBasicVMVNx-31081792-32567123 2025-07-31 12:12:59,663 - DEBUG - VM ctest-TestBasicVMVNx-31081792-32567123 ID is 89b16904-c1a7-416a-8842-b5b493574ea8 2025-07-31 12:12:59,682 - DEBUG - VM ctest-TestBasicVMVNx-31081792-32567123 launched on Node cn-jenkins-deploy-platform-ansible-os-3734-1 2025-07-31 12:12:59,755 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/89b16904-c1a7-416a-8842-b5b493574ea8 2025-07-31 12:13:00,050 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/89b16904-c1a7-416a-8842-b5b493574ea8 2025-07-31 12:13:00,086 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/2342823f-a135-42d1-9254-559650248126 2025-07-31 12:13:03,347 - 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 1007ms') 2025-07-31 12:13:03,347 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-31081792-32567123 failed! 2025-07-31 12:13:03,403 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-31081792:ctest-vn-50739987 is 25.237.15.129 and allocation pool is NOT set 2025-07-31 12:13:05,465 - 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=3.16 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.561 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 = 0.561/1.862/3.164/1.301 ms') 2025-07-31 12:13:05,465 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-31081792-32567123 passed 2025-07-31 12:13:05,623 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 12:13:05,623 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-31081792-32567123, IP 25.237.15.131, Port 22 2025-07-31 12:13:05,783 - DEBUG - VM ctest-TestBasicVMVNx-31081792-32567123 is ready for SSH connections 2025-07-31 12:13:05,783 - INFO - Waiting for VM ctest-TestBasicVMVNx-31081792-39196139 to be up.. 2025-07-31 12:13:05,858 - DEBUG - VM is in ACTIVE state now 2025-07-31 12:13:05,859 - INFO - VM name : ctest-TestBasicVMVNx-31081792-39196139 2025-07-31 12:13:05,938 - DEBUG - VM ctest-TestBasicVMVNx-31081792-39196139 ID is f0ec1577-bdcd-41c0-af09-f3846b41dc71 2025-07-31 12:13:05,938 - DEBUG - VM ctest-TestBasicVMVNx-31081792-39196139 launched on Node cn-jenkins-deploy-platform-ansible-os-3734-1 2025-07-31 12:13:06,012 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/f0ec1577-bdcd-41c0-af09-f3846b41dc71 2025-07-31 12:13:06,022 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/f8c0122a-5ba1-4511-87f8-4df4f4fff01b 2025-07-31 12:13:07,274 - 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.98 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.492 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.492/1.733/2.975/1.241 ms') 2025-07-31 12:13:07,274 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-31081792-39196139 passed 2025-07-31 12:13:07,427 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 12:13:07,428 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-31081792-39196139, IP 25.237.15.132, Port 22 2025-07-31 12:13:07,587 - DEBUG - VM ctest-TestBasicVMVNx-31081792-39196139 is ready for SSH connections 2025-07-31 12:13:07,587 - DEBUG - FILE SIZE = 1303B 2025-07-31 12:13:07,587 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-31081792-32567123 to ctest-TestBasicVMVNx-31081792-39196139 using scp 2025-07-31 12:13:07,589 - 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.65, gateway password: c0ntrail123 2025-07-31 12:13:07,589 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-07-31 12:13:09,527 - DEBUG - 1+0 records in 1+0 records out 2025-07-31 12:13:10,131 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 12:13:10,455 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-07-31 12:13:10,456 - DEBUG - ls -l testfile 2025-07-31 12:13:12,018 - DEBUG - -rw------- 1 cirros cirros 1303 Jul 31 06:13 testfile 2025-07-31 12:13:12,018 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-31081792-39196139 2025-07-31 12:13:12,019 - INFO - Deleting VM ctest-TestBasicVMVNx-31081792-39196139 2025-07-31 12:13:12,084 - INFO - Deleting VM ctest-TestBasicVMVNx-31081792-32567123 2025-07-31 12:13:12,152 - INFO - Deleting VN ctest-vn-50739987 2025-07-31 12:13:12,190 - DEBUG - VN 2cdc8dd0-091f-45c6-b9d3-42d6b33ab2e5 still in use: Unable to complete operation on network 2cdc8dd0-091f-45c6-b9d3-42d6b33ab2e5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2edda325-9142-43e7-89cd-9cabd5e98e05'] 2025-07-31 12:13:12,191 - WARNING - Deleting VN ctest-vn-50739987 failed..Will retry 2025-07-31 12:13:14,301 - DEBUG - Response for deleting network () 2025-07-31 12:13:14,561 - DEBUG - No XMPP flaps were noticed during the test 2025-07-31 12:13:14,561 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2025-07-31 12:13:14,562 - INFO - -------------------------------------------------------------------------------- 2025-07-31 12:13:15,235 - INFO - Deleted project: ctest-TestBasicVMVNx-31081792, ID : 533fb03f-f6a6-4ddf-9ff2-22f8a5b537de