2025-09-05 20:20:57,100 - INFO - Domain Default found not creating 2025-09-05 20:20:57,369 - INFO - Project ctest-TestBasicVMVNx-34625545 not found, creating it 2025-09-05 20:20:57,997 - INFO - Created Project:ctest-TestBasicVMVNx-34625545, ID : 30387544-fbea-43ad-852b-4598e3fae332 2025-09-05 20:21:00,230 - INFO - ================================================================================ 2025-09-05 20:21:00,230 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-09-05 20:21:00,230 - 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-09-05 20:21:00,546 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-09-05 20:21:00,546 - INFO - Initial checks done. Running the testcase now 2025-09-05 20:21:00,547 - INFO - 2025-09-05 20:21:01,328 - DEBUG - Response for create_network : {'network': {'id': '0a4fc814-0035-43c6-b6b8-feb958888a08', 'name': 'ctest-vn-38870415', 'tenant_id': '30387544fbea43ad852b4598e3fae332', 'project_id': '30387544fbea43ad852b4598e3fae332', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-34625545', 'ctest-vn-38870415'], 'port_security_enabled': True, 'description': ''}} 2025-09-05 20:21:01,540 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fe1f009a-7a39-4dc9-b992-9e7bf6fa8591', 'name': '', 'tenant_id': '30387544fbea43ad852b4598e3fae332', 'network_id': '0a4fc814-0035-43c6-b6b8-feb958888a08', 'ip_version': 4, 'cidr': '204.59.33.192/26', 'allocation_pools': [{'start': '204.59.33.194', 'end': '204.59.33.254'}], 'gateway_ip': '204.59.33.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '204.59.33.194', 'tags': [], 'project_id': '30387544fbea43ad852b4598e3fae332'}} 2025-09-05 20:21:01,560 - INFO - Created VN ctest-vn-38870415 2025-09-05 20:21:01,610 - DEBUG - VN ctest-vn-38870415 UUID is 0a4fc814-0035-43c6-b6b8-feb958888a08 2025-09-05 20:21:01,852 - DEBUG - Services list from nova: [, , ] 2025-09-05 20:21:03,337 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4031-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4031-1) 2025-09-05 20:21:04,764 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4031-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4031-1) 2025-09-05 20:21:04,765 - INFO - Waiting for VM ctest-TestBasicVMVNx-34625545-45840405 to be up.. 2025-09-05 20:21:04,848 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-05 20:21:10,027 - DEBUG - VM is in ACTIVE state now 2025-09-05 20:21:10,027 - INFO - VM name : ctest-TestBasicVMVNx-34625545-45840405 2025-09-05 20:21:10,147 - DEBUG - VM ctest-TestBasicVMVNx-34625545-45840405 ID is 5867497d-d1c7-4e3a-b0e6-99c93d9f84db 2025-09-05 20:21:10,196 - DEBUG - VM ctest-TestBasicVMVNx-34625545-45840405 launched on Node cn-jenkins-deploy-platform-ansible-os-4031-1 2025-09-05 20:21:10,367 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/5867497d-d1c7-4e3a-b0e6-99c93d9f84db 2025-09-05 20:21:10,694 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/5867497d-d1c7-4e3a-b0e6-99c93d9f84db 2025-09-05 20:21:10,751 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/7a453ace-3e8a-41e9-8156-81e51ef90f0d 2025-09-05 20:21:14,069 - 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 1015ms') 2025-09-05 20:21:14,070 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-34625545-45840405 failed! 2025-09-05 20:21:14,147 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-34625545:ctest-vn-38870415 is 204.59.33.193 and allocation pool is NOT set 2025-09-05 20:21:16,228 - 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.14 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.57 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 2.565/3.852/5.139/1.287 ms') 2025-09-05 20:21:16,228 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-34625545-45840405 passed 2025-09-05 20:21:16,395 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-05 20:21:16,395 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-34625545-45840405, IP 204.59.33.195, Port 22 2025-09-05 20:21:16,592 - DEBUG - VM ctest-TestBasicVMVNx-34625545-45840405 is ready for SSH connections 2025-09-05 20:21:16,592 - INFO - Waiting for VM ctest-TestBasicVMVNx-34625545-63211911 to be up.. 2025-09-05 20:21:16,775 - DEBUG - VM is in ACTIVE state now 2025-09-05 20:21:16,775 - INFO - VM name : ctest-TestBasicVMVNx-34625545-63211911 2025-09-05 20:21:16,893 - DEBUG - VM ctest-TestBasicVMVNx-34625545-63211911 ID is f8c297f9-4db1-4c21-b4b6-18ce0bb9fbaf 2025-09-05 20:21:16,893 - DEBUG - VM ctest-TestBasicVMVNx-34625545-63211911 launched on Node cn-jenkins-deploy-platform-ansible-os-4031-1 2025-09-05 20:21:17,020 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f8c297f9-4db1-4c21-b4b6-18ce0bb9fbaf 2025-09-05 20:21:17,035 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e448ad46-17f1-422e-812c-9b30f52ea5e9 2025-09-05 20:21:18,336 - 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.87 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.894 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.894/2.384/3.874/1.490 ms') 2025-09-05 20:21:18,337 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-34625545-63211911 passed 2025-09-05 20:21:18,523 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-05 20:21:18,523 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-34625545-63211911, IP 204.59.33.196, Port 22 2025-09-05 20:21:18,594 - 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-09-05 20:21:18,718 - DEBUG - VM ctest-TestBasicVMVNx-34625545-63211911 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-05 20:21:23,720 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-05 20:21:23,720 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-34625545-63211911, IP 204.59.33.196, Port 22 2025-09-05 20:21:23,906 - DEBUG - VM ctest-TestBasicVMVNx-34625545-63211911 is ready for SSH connections 2025-09-05 20:21:23,906 - DEBUG - FILE SIZE = 1303B 2025-09-05 20:21:23,906 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-34625545-45840405 to ctest-TestBasicVMVNx-34625545-63211911 using scp 2025-09-05 20:21:23,910 - 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.38, gateway password: c0ntrail123 2025-09-05 20:21:23,910 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-09-05 20:21:26,380 - DEBUG - 1+0 records in 1+0 records out 2025-09-05 20:21:27,221 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-05 20:21:27,693 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-05 20:21:27,694 - DEBUG - ls -l testfile 2025-09-05 20:21:29,775 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 5 14:21 testfile 2025-09-05 20:21:29,776 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-34625545-63211911 2025-09-05 20:21:29,776 - INFO - Deleting VM ctest-TestBasicVMVNx-34625545-63211911 2025-09-05 20:21:29,939 - INFO - Deleting VM ctest-TestBasicVMVNx-34625545-45840405 2025-09-05 20:21:30,073 - INFO - Deleting VN ctest-vn-38870415 2025-09-05 20:21:30,133 - DEBUG - VN 0a4fc814-0035-43c6-b6b8-feb958888a08 still in use: Unable to complete operation on network 0a4fc814-0035-43c6-b6b8-feb958888a08. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-611f0949-5b95-4402-8604-ebe431ca68ff'] 2025-09-05 20:21:30,133 - WARNING - Deleting VN ctest-vn-38870415 failed..Will retry 2025-09-05 20:21:32,312 - DEBUG - Response for deleting network () 2025-09-05 20:21:32,623 - DEBUG - No XMPP flaps were noticed during the test
2025-09-05 20:21:32,623 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:32]
2025-09-05 20:21:32,623 - INFO - -------------------------------------------------------------------------------- 2025-09-05 20:21:33,531 - INFO - Deleted project: ctest-TestBasicVMVNx-34625545, ID : 30387544-fbea-43ad-852b-4598e3fae332