2025-04-28 17:52:25,514 - INFO - Domain Default found not creating 2025-04-28 17:52:25,635 - INFO - Project ctest-TestBasicVMVNx-91449123 not found, creating it 2025-04-28 17:52:26,052 - INFO - Created Project:ctest-TestBasicVMVNx-91449123, ID : 9c669b8a-769d-4d47-a569-5739f0d22aca 2025-04-28 17:52:27,640 - INFO - ================================================================================ 2025-04-28 17:52:27,640 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-04-28 17:52:27,640 - 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-28 17:52:27,895 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-04-28 17:52:27,895 - INFO - Initial checks done. Running the testcase now 2025-04-28 17:52:27,895 - INFO - 2025-04-28 17:52:28,379 - DEBUG - Response for create_network : {'network': {'id': '97408700-2567-469f-bf88-2b7e403b514c', 'name': 'ctest-vn-90438379', 'tenant_id': '9c669b8a769d4d47a5695739f0d22aca', 'project_id': '9c669b8a769d4d47a5695739f0d22aca', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-91449123', 'ctest-vn-90438379'], 'port_security_enabled': True, 'description': ''}} 2025-04-28 17:52:28,544 - DEBUG - Response for create_subnet : {'subnet': {'id': '93a3d469-2d34-42cd-a43b-b44d5bc94a7b', 'name': '', 'tenant_id': '9c669b8a769d4d47a5695739f0d22aca', 'network_id': '97408700-2567-469f-bf88-2b7e403b514c', 'ip_version': 4, 'cidr': '58.228.184.64/26', 'allocation_pools': [{'start': '58.228.184.66', 'end': '58.228.184.126'}], 'gateway_ip': '58.228.184.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '58.228.184.66', 'tags': [], 'project_id': '9c669b8a769d4d47a5695739f0d22aca'}} 2025-04-28 17:52:28,560 - INFO - Created VN ctest-vn-90438379 2025-04-28 17:52:28,610 - DEBUG - VN ctest-vn-90438379 UUID is 97408700-2567-469f-bf88-2b7e403b514c 2025-04-28 17:52:28,798 - DEBUG - Services list from nova: [, , ] 2025-04-28 17:52:29,648 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3245-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3245-1) 2025-04-28 17:52:30,630 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3245-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3245-1) 2025-04-28 17:52:30,630 - INFO - Waiting for VM ctest-TestBasicVMVNx-91449123-64449205 to be up.. 2025-04-28 17:52:30,707 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-28 17:52:35,773 - DEBUG - VM is in ACTIVE state now 2025-04-28 17:52:35,773 - INFO - VM name : ctest-TestBasicVMVNx-91449123-64449205 2025-04-28 17:52:35,838 - DEBUG - VM ctest-TestBasicVMVNx-91449123-64449205 ID is ff5064d1-4bdb-422c-8063-e49004da1b36 2025-04-28 17:52:35,858 - DEBUG - VM ctest-TestBasicVMVNx-91449123-64449205 launched on Node cn-jenkins-deploy-platform-ansible-os-3245-1 2025-04-28 17:52:35,926 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/ff5064d1-4bdb-422c-8063-e49004da1b36 2025-04-28 17:52:36,183 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/ff5064d1-4bdb-422c-8063-e49004da1b36 2025-04-28 17:52:36,209 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/e59bd4fd-14ee-4876-a290-45127b43cfb5 2025-04-28 17:52:39,472 - 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=2 ttl=63 time=10.3 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1031ms\r\nrtt min/avg/max/mdev = 10.334/10.334/10.334/0.000 ms') 2025-04-28 17:52:39,473 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-91449123-64449205 passed 2025-04-28 17:52:39,630 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-28 17:52:39,630 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-91449123-64449205, IP 58.228.184.67, Port 22 2025-04-28 17:52:39,785 - DEBUG - VM ctest-TestBasicVMVNx-91449123-64449205 is ready for SSH connections 2025-04-28 17:52:39,785 - INFO - Waiting for VM ctest-TestBasicVMVNx-91449123-02132148 to be up.. 2025-04-28 17:52:39,849 - DEBUG - VM is in ACTIVE state now 2025-04-28 17:52:39,849 - INFO - VM name : ctest-TestBasicVMVNx-91449123-02132148 2025-04-28 17:52:39,907 - DEBUG - VM ctest-TestBasicVMVNx-91449123-02132148 ID is 6539d14d-6a8b-4ab0-81c6-79fe48ab7135 2025-04-28 17:52:39,908 - DEBUG - VM ctest-TestBasicVMVNx-91449123-02132148 launched on Node cn-jenkins-deploy-platform-ansible-os-3245-1 2025-04-28 17:52:39,988 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/6539d14d-6a8b-4ab0-81c6-79fe48ab7135 2025-04-28 17:52:39,995 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/53a0250d-d76b-401d-a91f-f2b2866bc445 2025-04-28 17:52:41,243 - 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=4.07 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.739 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.739/2.405/4.071/1.666 ms') 2025-04-28 17:52:41,244 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-91449123-02132148 passed 2025-04-28 17:52:41,390 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-28 17:52:41,390 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-91449123-02132148, IP 58.228.184.68, Port 22 2025-04-28 17:52:41,541 - DEBUG - VM ctest-TestBasicVMVNx-91449123-02132148 is ready for SSH connections 2025-04-28 17:52:41,542 - DEBUG - FILE SIZE = 1303B 2025-04-28 17:52:41,542 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-91449123-64449205 to ctest-TestBasicVMVNx-91449123-02132148 using scp 2025-04-28 17:52:41,542 - 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-28 17:52:41,542 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-04-28 17:52:43,316 - DEBUG - 1+0 records in 1+0 records out 2025-04-28 17:52:43,838 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-28 17:52:44,137 - 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-28 17:52:44,138 - DEBUG - ls -l testfile 2025-04-28 17:52:45,671 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 28 11:52 testfile 2025-04-28 17:52:45,671 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-91449123-02132148 2025-04-28 17:52:45,671 - INFO - Deleting VM ctest-TestBasicVMVNx-91449123-02132148 2025-04-28 17:52:45,726 - INFO - Deleting VM ctest-TestBasicVMVNx-91449123-64449205 2025-04-28 17:52:45,781 - INFO - Deleting VN ctest-vn-90438379 2025-04-28 17:52:45,814 - DEBUG - VN 97408700-2567-469f-bf88-2b7e403b514c still in use: Unable to complete operation on network 97408700-2567-469f-bf88-2b7e403b514c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-919a9ad1-cf5e-497d-81a0-c0cb94342a39'] 2025-04-28 17:52:45,814 - WARNING - Deleting VN ctest-vn-90438379 failed..Will retry 2025-04-28 17:52:47,913 - DEBUG - Response for deleting network () 2025-04-28 17:52:48,167 - DEBUG - No XMPP flaps were noticed during the test 2025-04-28 17:52:48,167 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:21] 2025-04-28 17:52:48,167 - INFO - -------------------------------------------------------------------------------- 2025-04-28 17:52:48,773 - INFO - Deleted project: ctest-TestBasicVMVNx-91449123, ID : 9c669b8a-769d-4d47-a569-5739f0d22aca