2025-07-13 02:11:53,734 - INFO - Domain Default found not creating 2025-07-13 02:11:53,865 - INFO - Project ctest-TestBasicVMVNx-80927536 not found, creating it 2025-07-13 02:11:54,307 - INFO - Created Project:ctest-TestBasicVMVNx-80927536, ID : 2be39314-454c-45a0-8f14-1db03884f33b 2025-07-13 02:11:55,697 - INFO - ================================================================================ 2025-07-13 02:11:55,697 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-07-13 02:11:55,698 - 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-07-13 02:11:55,958 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0'}} with 2025-07-13 02:11:55,958 - INFO - Initial checks done. Running the testcase now 2025-07-13 02:11:55,958 - INFO - 2025-07-13 02:11:56,493 - DEBUG - Response for create_network : {'network': {'id': '364d69e3-7d19-40c5-8a48-3b3f37bfc213', 'name': 'ctest-vn-34809957', 'tenant_id': '2be39314454c45a08f141db03884f33b', 'project_id': '2be39314454c45a08f141db03884f33b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-80927536', 'ctest-vn-34809957'], 'port_security_enabled': True, 'description': ''}} 2025-07-13 02:11:56,666 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f00d4181-3f37-4c00-ad29-19472558146b', 'name': '', 'tenant_id': '2be39314454c45a08f141db03884f33b', 'network_id': '364d69e3-7d19-40c5-8a48-3b3f37bfc213', 'ip_version': 4, 'cidr': '218.53.138.64/26', 'allocation_pools': [{'start': '218.53.138.66', 'end': '218.53.138.126'}], 'gateway_ip': '218.53.138.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '218.53.138.66', 'tags': [], 'project_id': '2be39314454c45a08f141db03884f33b'}} 2025-07-13 02:11:56,683 - INFO - Created VN ctest-vn-34809957 2025-07-13 02:11:56,736 - DEBUG - VN ctest-vn-34809957 UUID is 364d69e3-7d19-40c5-8a48-3b3f37bfc213 2025-07-13 02:11:56,928 - DEBUG - Services list from nova: [, , ] 2025-07-13 02:11:57,884 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3633-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3633-1) 2025-07-13 02:11:58,972 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3633-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3633-1) 2025-07-13 02:11:58,972 - INFO - Waiting for VM ctest-TestBasicVMVNx-80927536-62120282 to be up.. 2025-07-13 02:11:59,037 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-13 02:12:04,109 - DEBUG - VM is in ACTIVE state now 2025-07-13 02:12:04,109 - INFO - VM name : ctest-TestBasicVMVNx-80927536-62120282 2025-07-13 02:12:04,178 - DEBUG - VM ctest-TestBasicVMVNx-80927536-62120282 ID is 648affb9-608d-41da-9d7b-263685e229f0 2025-07-13 02:12:04,195 - DEBUG - VM ctest-TestBasicVMVNx-80927536-62120282 launched on Node cn-jenkins-deploy-platform-ansible-os-3633-1 2025-07-13 02:12:04,259 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/648affb9-608d-41da-9d7b-263685e229f0 2025-07-13 02:12:04,564 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/648affb9-608d-41da-9d7b-263685e229f0 2025-07-13 02:12:04,590 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/45f671da-a3ca-4d8e-b31e-69f73331030d 2025-07-13 02:12:07,825 - 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 1004ms') 2025-07-13 02:12:07,825 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-80927536-62120282 failed! 2025-07-13 02:12:07,880 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-80927536:ctest-vn-34809957 is 218.53.138.65 and allocation pool is NOT set 2025-07-13 02:12:09,944 - 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.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.42 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.423/3.092/3.761/0.669 ms') 2025-07-13 02:12:09,944 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-80927536-62120282 passed 2025-07-13 02:12:10,100 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-13 02:12:10,100 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-80927536-62120282, IP 218.53.138.67, Port 22 2025-07-13 02:12:10,155 - 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-07-13 02:12:10,227 - DEBUG - VM ctest-TestBasicVMVNx-80927536-62120282 is NOT ready for SSH connections, VM status: ACTIVE 2025-07-13 02:12:15,228 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-13 02:12:15,228 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-80927536-62120282, IP 218.53.138.67, Port 22 2025-07-13 02:12:15,392 - DEBUG - VM ctest-TestBasicVMVNx-80927536-62120282 is ready for SSH connections 2025-07-13 02:12:15,392 - INFO - Waiting for VM ctest-TestBasicVMVNx-80927536-97364928 to be up.. 2025-07-13 02:12:15,466 - DEBUG - VM is in ACTIVE state now 2025-07-13 02:12:15,466 - INFO - VM name : ctest-TestBasicVMVNx-80927536-97364928 2025-07-13 02:12:15,530 - DEBUG - VM ctest-TestBasicVMVNx-80927536-97364928 ID is 393cdcf8-6d0c-4970-ade6-1ebb42066bcd 2025-07-13 02:12:15,530 - DEBUG - VM ctest-TestBasicVMVNx-80927536-97364928 launched on Node cn-jenkins-deploy-platform-ansible-os-3633-1 2025-07-13 02:12:15,593 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/393cdcf8-6d0c-4970-ade6-1ebb42066bcd 2025-07-13 02:12:15,602 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/c7dbebd1-0de9-4370-9a13-80f9ae2a40ea 2025-07-13 02:12:16,839 - 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.69 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.364 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 = 0.364/1.527/2.690/1.163 ms') 2025-07-13 02:12:16,839 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-80927536-97364928 passed 2025-07-13 02:12:16,988 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-13 02:12:16,988 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-80927536-97364928, IP 218.53.138.68, Port 22 2025-07-13 02:12:17,139 - DEBUG - VM ctest-TestBasicVMVNx-80927536-97364928 is ready for SSH connections 2025-07-13 02:12:17,139 - DEBUG - FILE SIZE = 1303B 2025-07-13 02:12:17,139 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-80927536-62120282 to ctest-TestBasicVMVNx-80927536-97364928 using scp 2025-07-13 02:12:17,140 - 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-07-13 02:12:17,140 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-07-13 02:12:19,037 - DEBUG - 1+0 records in 1+0 records out 2025-07-13 02:12:19,800 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-13 02:12:20,123 - 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-07-13 02:12:20,123 - DEBUG - ls -l testfile 2025-07-13 02:12:21,699 - DEBUG - -rw------- 1 cirros cirros 1303 Jul 12 20:12 testfile 2025-07-13 02:12:21,699 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-80927536-97364928 2025-07-13 02:12:21,700 - INFO - Deleting VM ctest-TestBasicVMVNx-80927536-97364928 2025-07-13 02:12:21,853 - INFO - Deleting VM ctest-TestBasicVMVNx-80927536-62120282 2025-07-13 02:12:21,916 - INFO - Deleting VN ctest-vn-34809957 2025-07-13 02:12:21,957 - DEBUG - VN 364d69e3-7d19-40c5-8a48-3b3f37bfc213 still in use: Unable to complete operation on network 364d69e3-7d19-40c5-8a48-3b3f37bfc213. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-91477f41-c1d5-49fb-bc27-2e7e389450fc'] 2025-07-13 02:12:21,957 - WARNING - Deleting VN ctest-vn-34809957 failed..Will retry 2025-07-13 02:12:24,056 - DEBUG - Response for deleting network () 2025-07-13 02:12:24,319 - DEBUG - No XMPP flaps were noticed during the test
2025-07-13 02:12:24,319 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:29]
2025-07-13 02:12:24,319 - INFO - -------------------------------------------------------------------------------- 2025-07-13 02:12:24,975 - INFO - Deleted project: ctest-TestBasicVMVNx-80927536, ID : 2be39314-454c-45a0-8f14-1db03884f33b