2025-11-05 14:09:03,867 - INFO - Domain Default found not creating 2025-11-05 14:09:04,028 - INFO - Project ctest-TestBasicVMVNx-35558072 not found, creating it 2025-11-05 14:09:04,496 - INFO - Created Project:ctest-TestBasicVMVNx-35558072, ID : e37e80cf-09b0-43cf-974a-552a86ba9950 2025-11-05 14:09:06,215 - INFO - ================================================================================ 2025-11-05 14:09:06,215 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-11-05 14:09:06,215 - 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-11-05 14:09:06,482 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.201': '0'}} with 2025-11-05 14:09:06,482 - INFO - Initial checks done. Running the testcase now 2025-11-05 14:09:06,482 - INFO - 2025-11-05 14:09:07,074 - DEBUG - Response for create_network : {'network': {'id': '38e0672e-4fa6-46bc-8fb9-c2e1a1e261db', 'name': 'ctest-vn-42166165', 'tenant_id': 'e37e80cf09b043cf974a552a86ba9950', 'project_id': 'e37e80cf09b043cf974a552a86ba9950', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-35558072', 'ctest-vn-42166165'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 14:09:07,225 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c7e6f7b4-a0e9-4ce5-8455-11ceb396c7f1', 'name': '', 'tenant_id': 'e37e80cf09b043cf974a552a86ba9950', 'network_id': '38e0672e-4fa6-46bc-8fb9-c2e1a1e261db', 'ip_version': 4, 'cidr': '193.42.221.0/26', 'allocation_pools': [{'start': '193.42.221.2', 'end': '193.42.221.62'}], 'gateway_ip': '193.42.221.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '193.42.221.2', 'tags': [], 'project_id': 'e37e80cf09b043cf974a552a86ba9950'}} 2025-11-05 14:09:07,242 - INFO - Created VN ctest-vn-42166165 2025-11-05 14:09:07,294 - DEBUG - VN ctest-vn-42166165 UUID is 38e0672e-4fa6-46bc-8fb9-c2e1a1e261db 2025-11-05 14:09:07,470 - DEBUG - Services list from nova: [, , ] 2025-11-05 14:09:08,633 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4643-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4643-1) 2025-11-05 14:09:09,936 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4643-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4643-1) 2025-11-05 14:09:09,937 - INFO - Waiting for VM ctest-TestBasicVMVNx-35558072-49113945 to be up.. 2025-11-05 14:09:10,018 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-05 14:09:15,099 - DEBUG - VM is in ACTIVE state now 2025-11-05 14:09:15,099 - INFO - VM name : ctest-TestBasicVMVNx-35558072-49113945 2025-11-05 14:09:15,175 - DEBUG - VM ctest-TestBasicVMVNx-35558072-49113945 ID is d1796371-eb00-403a-813f-07da7fa993e0 2025-11-05 14:09:15,195 - DEBUG - VM ctest-TestBasicVMVNx-35558072-49113945 launched on Node cn-jenkins-deploy-platform-ansible-os-4643-1 2025-11-05 14:09:15,272 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d1796371-eb00-403a-813f-07da7fa993e0 2025-11-05 14:09:15,606 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d1796371-eb00-403a-813f-07da7fa993e0 2025-11-05 14:09:15,641 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/9397dab1-4fc9-497c-8ab4-9cd94a7c8779 2025-11-05 14:09:18,888 - 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-11-05 14:09:18,889 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-35558072-49113945 failed! 2025-11-05 14:09:18,946 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-35558072:ctest-vn-42166165 is 193.42.221.1 and allocation pool is NOT set 2025-11-05 14:09:21,005 - 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=4.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.04 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.043/3.363/4.684/1.320 ms') 2025-11-05 14:09:21,005 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-35558072-49113945 passed 2025-11-05 14:09:21,158 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 14:09:21,158 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-35558072-49113945, IP 193.42.221.3, Port 22 2025-11-05 14:09:21,325 - DEBUG - VM ctest-TestBasicVMVNx-35558072-49113945 is ready for SSH connections 2025-11-05 14:09:21,325 - INFO - Waiting for VM ctest-TestBasicVMVNx-35558072-31128988 to be up.. 2025-11-05 14:09:21,399 - DEBUG - VM is in ACTIVE state now 2025-11-05 14:09:21,399 - INFO - VM name : ctest-TestBasicVMVNx-35558072-31128988 2025-11-05 14:09:21,473 - DEBUG - VM ctest-TestBasicVMVNx-35558072-31128988 ID is f280b100-b803-455a-b43a-905bd2bbe827 2025-11-05 14:09:21,473 - DEBUG - VM ctest-TestBasicVMVNx-35558072-31128988 launched on Node cn-jenkins-deploy-platform-ansible-os-4643-1 2025-11-05 14:09:21,551 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/f280b100-b803-455a-b43a-905bd2bbe827 2025-11-05 14:09:21,559 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/557fca19-2017-4cff-8159-917a43728c05 2025-11-05 14:09:22,800 - 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.65 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.33 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.330/2.989/3.648/0.659 ms') 2025-11-05 14:09:22,800 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-35558072-31128988 passed 2025-11-05 14:09:22,954 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 14:09:22,954 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-35558072-31128988, IP 193.42.221.4, Port 22 2025-11-05 14:09:23,021 - 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-11-05 14:09:23,106 - DEBUG - VM ctest-TestBasicVMVNx-35558072-31128988 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-05 14:09:28,106 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 14:09:28,106 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-35558072-31128988, IP 193.42.221.4, Port 22 2025-11-05 14:09:28,261 - DEBUG - VM ctest-TestBasicVMVNx-35558072-31128988 is ready for SSH connections 2025-11-05 14:09:28,261 - DEBUG - FILE SIZE = 1303B 2025-11-05 14:09:28,261 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-35558072-49113945 to ctest-TestBasicVMVNx-35558072-31128988 using scp 2025-11-05 14:09:28,263 - 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.50, gateway password: c0ntrail123 2025-11-05 14:09:28,263 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-11-05 14:09:29,934 - DEBUG - 1+0 records in 1+0 records out 2025-11-05 14:09:30,635 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 14:09:30,977 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-05 14:09:30,978 - DEBUG - ls -l testfile 2025-11-05 14:09:33,046 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 5 07:09 testfile 2025-11-05 14:09:33,047 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-35558072-31128988 2025-11-05 14:09:33,048 - INFO - Deleting VM ctest-TestBasicVMVNx-35558072-31128988 2025-11-05 14:09:33,127 - INFO - Deleting VM ctest-TestBasicVMVNx-35558072-49113945 2025-11-05 14:09:33,206 - INFO - Deleting VN ctest-vn-42166165 2025-11-05 14:09:33,246 - DEBUG - VN 38e0672e-4fa6-46bc-8fb9-c2e1a1e261db still in use: Unable to complete operation on network 38e0672e-4fa6-46bc-8fb9-c2e1a1e261db. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-493cbd6b-3b44-41e8-b652-94bc100e8240'] 2025-11-05 14:09:33,247 - WARNING - Deleting VN ctest-vn-42166165 failed..Will retry 2025-11-05 14:09:35,363 - DEBUG - Response for deleting network () 2025-11-05 14:09:35,620 - DEBUG - No XMPP flaps were noticed during the test
2025-11-05 14:09:35,620 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:29]
2025-11-05 14:09:35,621 - INFO - -------------------------------------------------------------------------------- 2025-11-05 14:09:36,356 - INFO - Deleted project: ctest-TestBasicVMVNx-35558072, ID : e37e80cf-09b0-43cf-974a-552a86ba9950