2025-12-29 18:03:46,457 - INFO - Domain Default found not creating 2025-12-29 18:03:46,720 - INFO - Project ctest-TestBasicVMVNx-79513267 not found, creating it 2025-12-29 18:03:47,342 - INFO - Created Project:ctest-TestBasicVMVNx-79513267, ID : 3018cf58-592f-49d2-8ba5-9300eb10eeef 2025-12-29 18:03:49,344 - INFO - ================================================================================ 2025-12-29 18:03:49,345 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-12-29 18:03:49,345 - 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-12-29 18:03:49,639 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0'}} with 2025-12-29 18:03:49,640 - INFO - Initial checks done. Running the testcase now 2025-12-29 18:03:49,640 - INFO - 2025-12-29 18:03:50,336 - DEBUG - Response for create_network : {'network': {'id': '820ad172-2bb4-428e-827c-161703b0844c', 'name': 'ctest-vn-17604630', 'tenant_id': '3018cf58592f49d28ba59300eb10eeef', 'project_id': '3018cf58592f49d28ba59300eb10eeef', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-79513267', 'ctest-vn-17604630'], 'port_security_enabled': True, 'description': ''}} 2025-12-29 18:03:50,622 - DEBUG - Response for create_subnet : {'subnet': {'id': '988b3c48-ed01-43f3-9268-109fc829744f', 'name': '', 'tenant_id': '3018cf58592f49d28ba59300eb10eeef', 'network_id': '820ad172-2bb4-428e-827c-161703b0844c', 'ip_version': 4, 'cidr': '204.1.197.0/26', 'allocation_pools': [{'start': '204.1.197.2', 'end': '204.1.197.62'}], 'gateway_ip': '204.1.197.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '204.1.197.2', 'tags': [], 'project_id': '3018cf58592f49d28ba59300eb10eeef'}} 2025-12-29 18:03:50,648 - INFO - Created VN ctest-vn-17604630 2025-12-29 18:03:50,703 - DEBUG - VN ctest-vn-17604630 UUID is 820ad172-2bb4-428e-827c-161703b0844c 2025-12-29 18:03:50,971 - DEBUG - Services list from nova: [, , ] 2025-12-29 18:03:52,533 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4938-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4938-1) 2025-12-29 18:03:54,114 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4938-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4938-1) 2025-12-29 18:03:54,114 - INFO - Waiting for VM ctest-TestBasicVMVNx-79513267-31497454 to be up.. 2025-12-29 18:03:54,218 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-29 18:03:59,325 - DEBUG - VM is in ACTIVE state now 2025-12-29 18:03:59,326 - INFO - VM name : ctest-TestBasicVMVNx-79513267-31497454 2025-12-29 18:03:59,418 - DEBUG - VM ctest-TestBasicVMVNx-79513267-31497454 ID is c4eba208-8fcb-4c89-98ce-09b48c87b7c8 2025-12-29 18:03:59,450 - DEBUG - VM ctest-TestBasicVMVNx-79513267-31497454 launched on Node cn-jenkins-deploy-platform-ansible-os-4938-1 2025-12-29 18:03:59,576 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/c4eba208-8fcb-4c89-98ce-09b48c87b7c8 2025-12-29 18:03:59,882 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/c4eba208-8fcb-4c89-98ce-09b48c87b7c8 2025-12-29 18:03:59,928 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/cb8f3a89-4fc8-42af-bf43-f12e9a48207b 2025-12-29 18:04:03,207 - 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 1019ms') 2025-12-29 18:04:03,207 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-79513267-31497454 failed! 2025-12-29 18:04:03,275 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-79513267:ctest-vn-17604630 is 204.1.197.1 and allocation pool is NOT set 2025-12-29 18:04:05,340 - 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=15.2 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.85 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 1.850/8.538/15.227/6.688 ms') 2025-12-29 18:04:05,340 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-79513267-31497454 passed 2025-12-29 18:04:05,491 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-29 18:04:05,491 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-79513267-31497454, IP 204.1.197.3, Port 22 2025-12-29 18:04:05,560 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-12-29 18:04:05,671 - DEBUG - VM ctest-TestBasicVMVNx-79513267-31497454 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-29 18:04:10,672 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-29 18:04:10,672 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-79513267-31497454, IP 204.1.197.3, Port 22 2025-12-29 18:04:10,849 - DEBUG - VM ctest-TestBasicVMVNx-79513267-31497454 is ready for SSH connections 2025-12-29 18:04:10,849 - INFO - Waiting for VM ctest-TestBasicVMVNx-79513267-87728515 to be up.. 2025-12-29 18:04:11,003 - DEBUG - VM is in ACTIVE state now 2025-12-29 18:04:11,003 - INFO - VM name : ctest-TestBasicVMVNx-79513267-87728515 2025-12-29 18:04:11,195 - DEBUG - VM ctest-TestBasicVMVNx-79513267-87728515 ID is d38c6867-e3a4-45e3-9633-8010092b6851 2025-12-29 18:04:11,196 - DEBUG - VM ctest-TestBasicVMVNx-79513267-87728515 launched on Node cn-jenkins-deploy-platform-ansible-os-4938-1 2025-12-29 18:04:11,388 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/d38c6867-e3a4-45e3-9633-8010092b6851 2025-12-29 18:04:11,410 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/06a29a1f-5999-4e4d-80b0-978b4c547990 2025-12-29 18:04:12,732 - 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=10.2 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.809 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.809/5.502/10.196/4.693 ms') 2025-12-29 18:04:12,732 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-79513267-87728515 passed 2025-12-29 18:04:12,907 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-29 18:04:12,907 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-79513267-87728515, IP 204.1.197.4, Port 22 2025-12-29 18:04:13,111 - DEBUG - VM ctest-TestBasicVMVNx-79513267-87728515 is ready for SSH connections 2025-12-29 18:04:13,111 - DEBUG - FILE SIZE = 1303B 2025-12-29 18:04:13,111 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-79513267-31497454 to ctest-TestBasicVMVNx-79513267-87728515 using scp 2025-12-29 18:04:13,116 - 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.249, gateway password: c0ntrail123 2025-12-29 18:04:13,117 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-12-29 18:04:15,541 - DEBUG - 1+0 records in 1+0 records out 2025-12-29 18:04:15,944 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-29 18:04:16,431 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-12-29 18:04:16,432 - DEBUG - ls -l testfile 2025-12-29 18:04:18,578 - DEBUG - -rw------- 1 cirros cirros 1303 Dec 29 11:04 testfile 2025-12-29 18:04:18,578 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-79513267-87728515 2025-12-29 18:04:18,578 - INFO - Deleting VM ctest-TestBasicVMVNx-79513267-87728515 2025-12-29 18:04:18,674 - INFO - Deleting VM ctest-TestBasicVMVNx-79513267-31497454 2025-12-29 18:04:18,789 - INFO - Deleting VN ctest-vn-17604630 2025-12-29 18:04:18,846 - DEBUG - VN 820ad172-2bb4-428e-827c-161703b0844c still in use: Unable to complete operation on network 820ad172-2bb4-428e-827c-161703b0844c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fc0d298f-dda6-47c9-a366-e567e2235ec6'] 2025-12-29 18:04:18,846 - WARNING - Deleting VN ctest-vn-17604630 failed..Will retry 2025-12-29 18:04:21,039 - DEBUG - Response for deleting network () 2025-12-29 18:04:21,354 - DEBUG - No XMPP flaps were noticed during the test
2025-12-29 18:04:21,355 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:32]
2025-12-29 18:04:21,355 - INFO - -------------------------------------------------------------------------------- 2025-12-29 18:04:22,237 - INFO - Deleted project: ctest-TestBasicVMVNx-79513267, ID : 3018cf58-592f-49d2-8ba5-9300eb10eeef