2025-05-16 09:53:30,060 - INFO - Domain Default found not creating 2025-05-16 09:53:30,189 - INFO - Project ctest-TestBasicVMVNx-18899381 not found, creating it 2025-05-16 09:53:30,628 - INFO - Created Project:ctest-TestBasicVMVNx-18899381, ID : 86c2afdf-082a-42d1-ab7c-84a2e8560f99 2025-05-16 09:53:32,002 - INFO - ================================================================================ 2025-05-16 09:53:32,002 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-05-16 09:53:32,003 - 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-05-16 09:53:32,254 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.17': '0'}} with 2025-05-16 09:53:32,255 - INFO - Initial checks done. Running the testcase now 2025-05-16 09:53:32,255 - INFO - 2025-05-16 09:53:32,788 - DEBUG - Response for create_network : {'network': {'id': '6f11f822-1d57-4e3d-9be4-0e42a1537f91', 'name': 'ctest-vn-51853038', 'tenant_id': '86c2afdf082a42d1ab7c84a2e8560f99', 'project_id': '86c2afdf082a42d1ab7c84a2e8560f99', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-18899381', 'ctest-vn-51853038'], 'port_security_enabled': True, 'description': ''}} 2025-05-16 09:53:32,979 - DEBUG - Response for create_subnet : {'subnet': {'id': '30e92b68-2bd5-44e3-9164-ea275b3bafb4', 'name': '', 'tenant_id': '86c2afdf082a42d1ab7c84a2e8560f99', 'network_id': '6f11f822-1d57-4e3d-9be4-0e42a1537f91', 'ip_version': 4, 'cidr': '53.174.84.192/26', 'allocation_pools': [{'start': '53.174.84.194', 'end': '53.174.84.254'}], 'gateway_ip': '53.174.84.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '53.174.84.194', 'tags': [], 'project_id': '86c2afdf082a42d1ab7c84a2e8560f99'}} 2025-05-16 09:53:32,995 - INFO - Created VN ctest-vn-51853038 2025-05-16 09:53:33,046 - DEBUG - VN ctest-vn-51853038 UUID is 6f11f822-1d57-4e3d-9be4-0e42a1537f91 2025-05-16 09:53:33,201 - DEBUG - Services list from nova: [, , ] 2025-05-16 09:53:34,171 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3321-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3321-1) 2025-05-16 09:53:35,280 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3321-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3321-1) 2025-05-16 09:53:35,280 - INFO - Waiting for VM ctest-TestBasicVMVNx-18899381-31577949 to be up.. 2025-05-16 09:53:35,358 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-16 09:53:40,434 - DEBUG - VM is in ACTIVE state now 2025-05-16 09:53:40,434 - INFO - VM name : ctest-TestBasicVMVNx-18899381-31577949 2025-05-16 09:53:40,503 - DEBUG - VM ctest-TestBasicVMVNx-18899381-31577949 ID is ec15a958-9309-4de8-bcd0-c11bb6be513d 2025-05-16 09:53:40,612 - DEBUG - VM ctest-TestBasicVMVNx-18899381-31577949 launched on Node cn-jenkins-deploy-platform-ansible-os-3321-1 2025-05-16 09:53:40,683 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/ec15a958-9309-4de8-bcd0-c11bb6be513d 2025-05-16 09:53:40,976 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/ec15a958-9309-4de8-bcd0-c11bb6be513d 2025-05-16 09:53:41,007 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/5f4889a4-852a-4d81-806b-5e60ea3519e0 2025-05-16 09:53:44,275 - 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 1023ms') 2025-05-16 09:53:44,275 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-18899381-31577949 failed! 2025-05-16 09:53:44,330 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-18899381:ctest-vn-51853038 is 53.174.84.193 and allocation pool is NOT set 2025-05-16 09:53:46,396 - 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.65 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.870 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.870/2.261/3.652/1.391 ms') 2025-05-16 09:53:46,396 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-18899381-31577949 passed 2025-05-16 09:53:46,554 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-16 09:53:46,554 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-18899381-31577949, IP 53.174.84.195, Port 22 2025-05-16 09:53:46,709 - DEBUG - VM ctest-TestBasicVMVNx-18899381-31577949 is ready for SSH connections 2025-05-16 09:53:46,709 - INFO - Waiting for VM ctest-TestBasicVMVNx-18899381-75086558 to be up.. 2025-05-16 09:53:46,782 - DEBUG - VM is in ACTIVE state now 2025-05-16 09:53:46,782 - INFO - VM name : ctest-TestBasicVMVNx-18899381-75086558 2025-05-16 09:53:46,852 - DEBUG - VM ctest-TestBasicVMVNx-18899381-75086558 ID is 280923e2-086f-4cc6-a790-80afd846a05a 2025-05-16 09:53:46,852 - DEBUG - VM ctest-TestBasicVMVNx-18899381-75086558 launched on Node cn-jenkins-deploy-platform-ansible-os-3321-1 2025-05-16 09:53:46,921 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/280923e2-086f-4cc6-a790-80afd846a05a 2025-05-16 09:53:46,929 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/de8e71d0-f18c-4762-b48b-4e55c3edd3d4 2025-05-16 09:53:48,170 - 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.79 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.381 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.381/1.586/2.791/1.205 ms') 2025-05-16 09:53:48,170 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-18899381-75086558 passed 2025-05-16 09:53:48,318 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-16 09:53:48,318 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-18899381-75086558, IP 53.174.84.196, Port 22 2025-05-16 09:53:48,469 - DEBUG - VM ctest-TestBasicVMVNx-18899381-75086558 is ready for SSH connections 2025-05-16 09:53:48,469 - DEBUG - FILE SIZE = 1303B 2025-05-16 09:53:48,469 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-18899381-31577949 to ctest-TestBasicVMVNx-18899381-75086558 using scp 2025-05-16 09:53:48,470 - 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.49, gateway password: c0ntrail123 2025-05-16 09:53:48,470 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-05-16 09:53:50,069 - DEBUG - 1+0 records in 1+0 records out 2025-05-16 09:53:50,636 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-16 09:53:50,949 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-05-16 09:53:50,950 - DEBUG - ls -l testfile 2025-05-16 09:53:52,524 - DEBUG - -rw------- 1 cirros cirros 1303 May 16 03:53 testfile 2025-05-16 09:53:52,525 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-18899381-75086558 2025-05-16 09:53:52,525 - INFO - Deleting VM ctest-TestBasicVMVNx-18899381-75086558 2025-05-16 09:53:52,591 - INFO - Deleting VM ctest-TestBasicVMVNx-18899381-31577949 2025-05-16 09:53:52,661 - INFO - Deleting VN ctest-vn-51853038 2025-05-16 09:53:52,702 - DEBUG - VN 6f11f822-1d57-4e3d-9be4-0e42a1537f91 still in use: Unable to complete operation on network 6f11f822-1d57-4e3d-9be4-0e42a1537f91. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fde95dd6-8770-4d3b-9b17-3bd7daf251c6'] 2025-05-16 09:53:52,702 - WARNING - Deleting VN ctest-vn-51853038 failed..Will retry 2025-05-16 09:53:54,840 - DEBUG - Response for deleting network () 2025-05-16 09:53:55,095 - DEBUG - No XMPP flaps were noticed during the test
2025-05-16 09:53:55,095 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-05-16 09:53:55,095 - INFO - -------------------------------------------------------------------------------- 2025-05-16 09:53:55,758 - INFO - Deleted project: ctest-TestBasicVMVNx-18899381, ID : 86c2afdf-082a-42d1-ab7c-84a2e8560f99