2025-03-27 19:28:54,483 - INFO - Domain Default found not creating 2025-03-27 19:28:54,624 - INFO - Project ctest-TestBasicVMVNx-99320795 not found, creating it 2025-03-27 19:28:55,097 - INFO - Created Project:ctest-TestBasicVMVNx-99320795, ID : b647d8b3-7c48-4c04-af2c-a8209b7d0b38 2025-03-27 19:28:56,505 - INFO - ================================================================================ 2025-03-27 19:28:56,505 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-03-27 19:28:56,506 - 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-03-27 19:28:56,768 - DEBUG - Nothing to compare xmpp stats {'10.0.0.52': {'10.20.0.7': '0'}} with 2025-03-27 19:28:56,768 - INFO - Initial checks done. Running the testcase now 2025-03-27 19:28:56,768 - INFO - 2025-03-27 19:28:57,305 - DEBUG - Response for create_network : {'network': {'id': 'b91cd150-a0e8-482f-ab77-9d6b88bc9e51', 'name': 'ctest-vn-12537620', 'tenant_id': 'b647d8b37c484c04af2ca8209b7d0b38', 'project_id': 'b647d8b37c484c04af2ca8209b7d0b38', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-99320795', 'ctest-vn-12537620'], 'port_security_enabled': True, 'description': ''}} 2025-03-27 19:28:57,460 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c5667e4f-f7d8-428a-97d3-3f9836e9f173', 'name': '', 'tenant_id': 'b647d8b37c484c04af2ca8209b7d0b38', 'network_id': 'b91cd150-a0e8-482f-ab77-9d6b88bc9e51', 'ip_version': 4, 'cidr': '160.135.148.0/26', 'allocation_pools': [{'start': '160.135.148.2', 'end': '160.135.148.62'}], 'gateway_ip': '160.135.148.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '160.135.148.2', 'tags': [], 'project_id': 'b647d8b37c484c04af2ca8209b7d0b38'}} 2025-03-27 19:28:57,477 - INFO - Created VN ctest-vn-12537620 2025-03-27 19:28:57,530 - DEBUG - VN ctest-vn-12537620 UUID is b91cd150-a0e8-482f-ab77-9d6b88bc9e51 2025-03-27 19:28:57,726 - DEBUG - Services list from nova: [, , ] 2025-03-27 19:28:58,732 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2983-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2983-1) 2025-03-27 19:28:59,858 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2983-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2983-1) 2025-03-27 19:28:59,858 - INFO - Waiting for VM ctest-TestBasicVMVNx-99320795-53508740 to be up.. 2025-03-27 19:28:59,947 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-27 19:29:05,024 - DEBUG - VM is in ACTIVE state now 2025-03-27 19:29:05,025 - INFO - VM name : ctest-TestBasicVMVNx-99320795-53508740 2025-03-27 19:29:05,099 - DEBUG - VM ctest-TestBasicVMVNx-99320795-53508740 ID is 5497b1bb-3dfd-477e-81f9-fd44a4220293 2025-03-27 19:29:05,122 - DEBUG - VM ctest-TestBasicVMVNx-99320795-53508740 launched on Node cn-jenkins-deploy-platform-ansible-os-2983-1 2025-03-27 19:29:05,199 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine/5497b1bb-3dfd-477e-81f9-fd44a4220293 2025-03-27 19:29:05,495 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine/5497b1bb-3dfd-477e-81f9-fd44a4220293 2025-03-27 19:29:05,526 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine-interface/12153fd8-430f-48b4-974b-f3a76591e57c 2025-03-27 19:29:08,773 - 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-03-27 19:29:08,773 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-99320795-53508740 failed! 2025-03-27 19:29:08,830 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-99320795:ctest-vn-12537620 is 160.135.148.1 and allocation pool is NOT set 2025-03-27 19:29:10,893 - 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.70 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.379 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.379/1.539/2.699/1.160 ms') 2025-03-27 19:29:10,893 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-99320795-53508740 passed 2025-03-27 19:29:11,046 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 19:29:11,046 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-99320795-53508740, IP 160.135.148.3, Port 22 2025-03-27 19:29:11,201 - DEBUG - VM ctest-TestBasicVMVNx-99320795-53508740 is ready for SSH connections 2025-03-27 19:29:11,201 - INFO - Waiting for VM ctest-TestBasicVMVNx-99320795-56004558 to be up.. 2025-03-27 19:29:11,293 - DEBUG - VM is in ACTIVE state now 2025-03-27 19:29:11,293 - INFO - VM name : ctest-TestBasicVMVNx-99320795-56004558 2025-03-27 19:29:11,371 - DEBUG - VM ctest-TestBasicVMVNx-99320795-56004558 ID is 1f2b8af7-4b31-4650-bc1e-d1362793a740 2025-03-27 19:29:11,371 - DEBUG - VM ctest-TestBasicVMVNx-99320795-56004558 launched on Node cn-jenkins-deploy-platform-ansible-os-2983-1 2025-03-27 19:29:11,456 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine/1f2b8af7-4b31-4650-bc1e-d1362793a740 2025-03-27 19:29:11,465 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine-interface/1411b0a5-8405-4ce0-b2a9-edbe283e90c4 2025-03-27 19:29:12,709 - 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.94 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.912 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.912/3.424/5.937/2.512 ms') 2025-03-27 19:29:12,710 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-99320795-56004558 passed 2025-03-27 19:29:12,858 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 19:29:12,858 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-99320795-56004558, IP 160.135.148.4, Port 22 2025-03-27 19:29:13,017 - DEBUG - VM ctest-TestBasicVMVNx-99320795-56004558 is ready for SSH connections 2025-03-27 19:29:13,017 - DEBUG - FILE SIZE = 1303B 2025-03-27 19:29:13,017 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-99320795-53508740 to ctest-TestBasicVMVNx-99320795-56004558 using scp 2025-03-27 19:29:13,018 - 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.52, gateway password: c0ntrail123 2025-03-27 19:29:13,018 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-03-27 19:29:14,914 - DEBUG - 1+0 records in 1+0 records out 2025-03-27 19:29:15,723 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 19:29:16,055 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.52, gateway password: c0ntrail123 2025-03-27 19:29:16,055 - DEBUG - ls -l testfile 2025-03-27 19:29:17,662 - DEBUG - -rw------- 1 cirros cirros 1303 Mar 27 13:29 testfile 2025-03-27 19:29:17,663 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-99320795-56004558 2025-03-27 19:29:17,663 - INFO - Deleting VM ctest-TestBasicVMVNx-99320795-56004558 2025-03-27 19:29:17,730 - INFO - Deleting VM ctest-TestBasicVMVNx-99320795-53508740 2025-03-27 19:29:17,796 - INFO - Deleting VN ctest-vn-12537620 2025-03-27 19:29:17,834 - DEBUG - VN b91cd150-a0e8-482f-ab77-9d6b88bc9e51 still in use: Unable to complete operation on network b91cd150-a0e8-482f-ab77-9d6b88bc9e51. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cec4b0e2-4166-4a0e-ad5e-af65f9b29fb4'] 2025-03-27 19:29:17,834 - WARNING - Deleting VN ctest-vn-12537620 failed..Will retry 2025-03-27 19:29:19,938 - DEBUG - Response for deleting network () 2025-03-27 19:29:20,199 - DEBUG - No XMPP flaps were noticed during the test 2025-03-27 19:29:20,200 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2025-03-27 19:29:20,200 - INFO - -------------------------------------------------------------------------------- 2025-03-27 19:29:20,885 - INFO - Deleted project: ctest-TestBasicVMVNx-99320795, ID : b647d8b3-7c48-4c04-af2c-a8209b7d0b38