2025-06-08 05:59:35,260 - INFO - Domain Default found not creating 2025-06-08 05:59:35,402 - INFO - Project ctest-TestBasicVMVNx-08476384 not found, creating it 2025-06-08 05:59:35,855 - INFO - Created Project:ctest-TestBasicVMVNx-08476384, ID : acbd0b24-dc6a-43a9-bb1d-578cac7249e4 2025-06-08 05:59:37,392 - INFO - ================================================================================ 2025-06-08 05:59:37,392 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-06-08 05:59:37,392 - 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-06-08 05:59:37,650 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0'}} with 2025-06-08 05:59:37,650 - INFO - Initial checks done. Running the testcase now 2025-06-08 05:59:37,651 - INFO - 2025-06-08 05:59:38,234 - DEBUG - Response for create_network : {'network': {'id': 'c11b91a4-a400-41c1-9992-018a775978d5', 'name': 'ctest-vn-84039341', 'tenant_id': 'acbd0b24dc6a43a9bb1d578cac7249e4', 'project_id': 'acbd0b24dc6a43a9bb1d578cac7249e4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-08476384', 'ctest-vn-84039341'], 'port_security_enabled': True, 'description': ''}} 2025-06-08 05:59:38,385 - DEBUG - Response for create_subnet : {'subnet': {'id': '8575dc5f-24d2-4b05-8bc5-ef4a221496f6', 'name': '', 'tenant_id': 'acbd0b24dc6a43a9bb1d578cac7249e4', 'network_id': 'c11b91a4-a400-41c1-9992-018a775978d5', 'ip_version': 4, 'cidr': '27.104.105.192/26', 'allocation_pools': [{'start': '27.104.105.194', 'end': '27.104.105.254'}], 'gateway_ip': '27.104.105.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '27.104.105.194', 'tags': [], 'project_id': 'acbd0b24dc6a43a9bb1d578cac7249e4'}} 2025-06-08 05:59:38,403 - INFO - Created VN ctest-vn-84039341 2025-06-08 05:59:38,456 - DEBUG - VN ctest-vn-84039341 UUID is c11b91a4-a400-41c1-9992-018a775978d5 2025-06-08 05:59:38,617 - DEBUG - Services list from nova: [, , ] 2025-06-08 05:59:39,726 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3414-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3414-1) 2025-06-08 05:59:40,972 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3414-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3414-1) 2025-06-08 05:59:40,973 - INFO - Waiting for VM ctest-TestBasicVMVNx-08476384-51394014 to be up.. 2025-06-08 05:59:41,054 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-08 05:59:46,141 - DEBUG - VM is in ACTIVE state now 2025-06-08 05:59:46,141 - INFO - VM name : ctest-TestBasicVMVNx-08476384-51394014 2025-06-08 05:59:46,214 - DEBUG - VM ctest-TestBasicVMVNx-08476384-51394014 ID is fded6165-a968-4ced-a519-078668c349fb 2025-06-08 05:59:46,234 - DEBUG - VM ctest-TestBasicVMVNx-08476384-51394014 launched on Node cn-jenkins-deploy-platform-ansible-os-3414-1 2025-06-08 05:59:46,308 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/fded6165-a968-4ced-a519-078668c349fb 2025-06-08 05:59:46,645 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/fded6165-a968-4ced-a519-078668c349fb 2025-06-08 05:59:46,679 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/c0e4d257-d439-4036-809c-77eb50329e49 2025-06-08 05:59:49,927 - 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-06-08 05:59:49,927 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-08476384-51394014 failed! 2025-06-08 05:59:49,988 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-08476384:ctest-vn-84039341 is 27.104.105.193 and allocation pool is NOT set 2025-06-08 05:59:52,055 - 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=5.43 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.51 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 = 1.514/3.472/5.430/1.958 ms') 2025-06-08 05:59:52,055 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-08476384-51394014 passed 2025-06-08 05:59:52,208 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-08 05:59:52,208 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-08476384-51394014, IP 27.104.105.195, Port 22 2025-06-08 05:59:52,378 - DEBUG - VM ctest-TestBasicVMVNx-08476384-51394014 is ready for SSH connections 2025-06-08 05:59:52,378 - INFO - Waiting for VM ctest-TestBasicVMVNx-08476384-48732997 to be up.. 2025-06-08 05:59:52,454 - DEBUG - VM is in ACTIVE state now 2025-06-08 05:59:52,454 - INFO - VM name : ctest-TestBasicVMVNx-08476384-48732997 2025-06-08 05:59:52,531 - DEBUG - VM ctest-TestBasicVMVNx-08476384-48732997 ID is f812e5cb-1eb6-4bde-83e8-8893333d3fd3 2025-06-08 05:59:52,531 - DEBUG - VM ctest-TestBasicVMVNx-08476384-48732997 launched on Node cn-jenkins-deploy-platform-ansible-os-3414-1 2025-06-08 05:59:52,603 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/f812e5cb-1eb6-4bde-83e8-8893333d3fd3 2025-06-08 05:59:52,614 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/d858c228-2bc6-449d-8b1c-bbd10e1c0b78 2025-06-08 05:59:53,860 - 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=3.22 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.85 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 = 2.849/3.033/3.218/0.184 ms') 2025-06-08 05:59:53,860 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-08476384-48732997 passed 2025-06-08 05:59:54,008 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-08 05:59:54,008 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-08476384-48732997, IP 27.104.105.196, Port 22 2025-06-08 05:59:54,064 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-06-08 05:59:54,136 - DEBUG - VM ctest-TestBasicVMVNx-08476384-48732997 is NOT ready for SSH connections, VM status: ACTIVE 2025-06-08 05:59:59,137 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-08 05:59:59,137 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-08476384-48732997, IP 27.104.105.196, Port 22 2025-06-08 05:59:59,293 - DEBUG - VM ctest-TestBasicVMVNx-08476384-48732997 is ready for SSH connections 2025-06-08 05:59:59,293 - DEBUG - FILE SIZE = 1303B 2025-06-08 05:59:59,293 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-08476384-51394014 to ctest-TestBasicVMVNx-08476384-48732997 using scp 2025-06-08 05:59:59,295 - 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-06-08 05:59:59,295 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-06-08 06:00:01,280 - DEBUG - 1+0 records in 1+0 records out 2025-06-08 06:00:01,981 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-08 06:00:02,316 - 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-06-08 06:00:02,316 - DEBUG - ls -l testfile 2025-06-08 06:00:03,912 - DEBUG - -rw------- 1 cirros cirros 1303 Jun 8 00:00 testfile 2025-06-08 06:00:03,912 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-08476384-48732997 2025-06-08 06:00:03,913 - INFO - Deleting VM ctest-TestBasicVMVNx-08476384-48732997 2025-06-08 06:00:03,994 - INFO - Deleting VM ctest-TestBasicVMVNx-08476384-51394014 2025-06-08 06:00:04,063 - INFO - Deleting VN ctest-vn-84039341 2025-06-08 06:00:04,099 - DEBUG - VN c11b91a4-a400-41c1-9992-018a775978d5 still in use: Unable to complete operation on network c11b91a4-a400-41c1-9992-018a775978d5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-75b8171e-c80f-4cbd-8ad9-69d95f8dfb96'] 2025-06-08 06:00:04,099 - WARNING - Deleting VN ctest-vn-84039341 failed..Will retry 2025-06-08 06:00:06,259 - DEBUG - Response for deleting network () 2025-06-08 06:00:06,520 - DEBUG - No XMPP flaps were noticed during the test
2025-06-08 06:00:06,520 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:29]
2025-06-08 06:00:06,521 - INFO - -------------------------------------------------------------------------------- 2025-06-08 06:00:07,366 - INFO - Deleted project: ctest-TestBasicVMVNx-08476384, ID : acbd0b24-dc6a-43a9-bb1d-578cac7249e4