2025-07-21 12:35:01,664 - INFO - Domain Default found not creating 2025-07-21 12:35:01,890 - INFO - Project ctest-TestBasicVMVNx-01841959 not found, creating it 2025-07-21 12:35:02,454 - INFO - Created Project:ctest-TestBasicVMVNx-01841959, ID : f249170a-035b-436a-b874-5d5cf07347ef 2025-07-21 12:35:04,612 - INFO - ================================================================================ 2025-07-21 12:35:04,612 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-07-21 12:35:04,612 - 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-21 12:35:04,932 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2025-07-21 12:35:04,933 - INFO - Initial checks done. Running the testcase now 2025-07-21 12:35:04,933 - INFO - 2025-07-21 12:35:05,749 - DEBUG - Response for create_network : {'network': {'id': '6118fd6d-28d1-449f-9fbd-8ff6918e2260', 'name': 'ctest-vn-17696215', 'tenant_id': 'f249170a035b436ab8745d5cf07347ef', 'project_id': 'f249170a035b436ab8745d5cf07347ef', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-01841959', 'ctest-vn-17696215'], 'port_security_enabled': True, 'description': ''}} 2025-07-21 12:35:05,935 - DEBUG - Response for create_subnet : {'subnet': {'id': '308628e0-979b-47a8-8dc4-ebabac95ce99', 'name': '', 'tenant_id': 'f249170a035b436ab8745d5cf07347ef', 'network_id': '6118fd6d-28d1-449f-9fbd-8ff6918e2260', 'ip_version': 4, 'cidr': '187.191.146.64/26', 'allocation_pools': [{'start': '187.191.146.66', 'end': '187.191.146.126'}], 'gateway_ip': '187.191.146.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '187.191.146.66', 'tags': [], 'project_id': 'f249170a035b436ab8745d5cf07347ef'}} 2025-07-21 12:35:05,958 - INFO - Created VN ctest-vn-17696215 2025-07-21 12:35:06,018 - DEBUG - VN ctest-vn-17696215 UUID is 6118fd6d-28d1-449f-9fbd-8ff6918e2260 2025-07-21 12:35:06,309 - DEBUG - Services list from nova: [, , ] 2025-07-21 12:35:08,112 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3679-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3679-1) 2025-07-21 12:35:09,716 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3679-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3679-1) 2025-07-21 12:35:09,716 - INFO - Waiting for VM ctest-TestBasicVMVNx-01841959-62150808 to be up.. 2025-07-21 12:35:09,797 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-21 12:35:15,066 - DEBUG - VM is in ACTIVE state now 2025-07-21 12:35:15,066 - INFO - VM name : ctest-TestBasicVMVNx-01841959-62150808 2025-07-21 12:35:15,205 - DEBUG - VM ctest-TestBasicVMVNx-01841959-62150808 ID is a3f27396-4058-4edb-9b76-aa71b142cb42 2025-07-21 12:35:15,237 - DEBUG - VM ctest-TestBasicVMVNx-01841959-62150808 launched on Node cn-jenkins-deploy-platform-ansible-os-3679-1 2025-07-21 12:35:15,345 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a3f27396-4058-4edb-9b76-aa71b142cb42 2025-07-21 12:35:15,651 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a3f27396-4058-4edb-9b76-aa71b142cb42 2025-07-21 12:35:15,702 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/0c081ff2-920d-49e3-80a3-72ac372d399f 2025-07-21 12:35:19,032 - 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 1002ms') 2025-07-21 12:35:19,032 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-01841959-62150808 failed! 2025-07-21 12:35:19,103 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-01841959:ctest-vn-17696215 is 187.191.146.65 and allocation pool is NOT set 2025-07-21 12:35:21,186 - 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=7.19 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.16 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 = 3.157/5.173/7.190/2.016 ms') 2025-07-21 12:35:21,186 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-01841959-62150808 passed 2025-07-21 12:35:21,387 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-21 12:35:21,387 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-01841959-62150808, IP 187.191.146.67, Port 22 2025-07-21 12:35:21,468 - 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-21 12:35:21,697 - DEBUG - VM ctest-TestBasicVMVNx-01841959-62150808 is NOT ready for SSH connections, VM status: ACTIVE 2025-07-21 12:35:26,697 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-21 12:35:26,698 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-01841959-62150808, IP 187.191.146.67, Port 22 2025-07-21 12:35:26,900 - DEBUG - VM ctest-TestBasicVMVNx-01841959-62150808 is ready for SSH connections 2025-07-21 12:35:26,900 - INFO - Waiting for VM ctest-TestBasicVMVNx-01841959-39843457 to be up.. 2025-07-21 12:35:27,104 - DEBUG - VM is in ACTIVE state now 2025-07-21 12:35:27,105 - INFO - VM name : ctest-TestBasicVMVNx-01841959-39843457 2025-07-21 12:35:27,310 - DEBUG - VM ctest-TestBasicVMVNx-01841959-39843457 ID is f700c5de-bf8a-4d29-843e-049ba6012d55 2025-07-21 12:35:27,310 - DEBUG - VM ctest-TestBasicVMVNx-01841959-39843457 launched on Node cn-jenkins-deploy-platform-ansible-os-3679-1 2025-07-21 12:35:27,511 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f700c5de-bf8a-4d29-843e-049ba6012d55 2025-07-21 12:35:27,541 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/9c5f8e59-2b11-48b9-a409-79520e8e355d 2025-07-21 12:35:28,906 - 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=11.3 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.822 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.822/6.040/11.259/5.218 ms') 2025-07-21 12:35:28,907 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-01841959-39843457 passed 2025-07-21 12:35:29,107 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-21 12:35:29,107 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-01841959-39843457, IP 187.191.146.68, Port 22 2025-07-21 12:35:29,317 - DEBUG - VM ctest-TestBasicVMVNx-01841959-39843457 is ready for SSH connections 2025-07-21 12:35:29,317 - DEBUG - FILE SIZE = 1303B 2025-07-21 12:35:29,318 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-01841959-62150808 to ctest-TestBasicVMVNx-01841959-39843457 using scp 2025-07-21 12:35:29,320 - 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-07-21 12:35:29,320 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-07-21 12:35:31,575 - DEBUG - 1+0 records in 1+0 records out 2025-07-21 12:35:32,294 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-21 12:35:32,727 - 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-07-21 12:35:32,728 - DEBUG - ls -l testfile 2025-07-21 12:35:34,694 - DEBUG - -rw------- 1 cirros cirros 1303 Jul 21 06:35 testfile 2025-07-21 12:35:34,695 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-01841959-39843457 2025-07-21 12:35:34,695 - INFO - Deleting VM ctest-TestBasicVMVNx-01841959-39843457 2025-07-21 12:35:34,857 - INFO - Deleting VM ctest-TestBasicVMVNx-01841959-62150808 2025-07-21 12:35:35,008 - INFO - Deleting VN ctest-vn-17696215 2025-07-21 12:35:35,068 - DEBUG - VN 6118fd6d-28d1-449f-9fbd-8ff6918e2260 still in use: Unable to complete operation on network 6118fd6d-28d1-449f-9fbd-8ff6918e2260. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b390e409-9c70-4792-9726-08d345c4f005'] 2025-07-21 12:35:35,069 - WARNING - Deleting VN ctest-vn-17696215 failed..Will retry 2025-07-21 12:35:37,223 - DEBUG - Response for deleting network () 2025-07-21 12:35:37,503 - DEBUG - No XMPP flaps were noticed during the test
2025-07-21 12:35:37,503 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:33]
2025-07-21 12:35:37,503 - INFO - -------------------------------------------------------------------------------- 2025-07-21 12:35:38,432 - INFO - Deleted project: ctest-TestBasicVMVNx-01841959, ID : f249170a-035b-436a-b874-5d5cf07347ef