2025-07-23 13:38:12,056 - INFO - Domain Default found not creating 2025-07-23 13:38:12,269 - INFO - Project ctest-TestBasicVMVNx-37526752 not found, creating it 2025-07-23 13:38:12,810 - INFO - Created Project:ctest-TestBasicVMVNx-37526752, ID : 1bde2cc8-1a12-4f7a-934f-74b1b5b6db24 2025-07-23 13:38:14,488 - INFO - ================================================================================ 2025-07-23 13:38:14,488 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-07-23 13:38:14,488 - 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-23 13:38:14,771 - DEBUG - Nothing to compare xmpp stats {'10.0.0.56': {'10.20.0.209': '0'}} with 2025-07-23 13:38:14,771 - INFO - Initial checks done. Running the testcase now 2025-07-23 13:38:14,771 - INFO - 2025-07-23 13:38:15,428 - DEBUG - Response for create_network : {'network': {'id': 'bafbc51d-a892-4d9c-aae3-9c6a4243e495', 'name': 'ctest-vn-01324173', 'tenant_id': '1bde2cc81a124f7a934f74b1b5b6db24', 'project_id': '1bde2cc81a124f7a934f74b1b5b6db24', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-37526752', 'ctest-vn-01324173'], 'port_security_enabled': True, 'description': ''}} 2025-07-23 13:38:15,654 - DEBUG - Response for create_subnet : {'subnet': {'id': '9e79dbc4-6ee5-42cd-a52b-3e7f112d37c9', 'name': '', 'tenant_id': '1bde2cc81a124f7a934f74b1b5b6db24', 'network_id': 'bafbc51d-a892-4d9c-aae3-9c6a4243e495', 'ip_version': 4, 'cidr': '201.121.119.0/26', 'allocation_pools': [{'start': '201.121.119.2', 'end': '201.121.119.62'}], 'gateway_ip': '201.121.119.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '201.121.119.2', 'tags': [], 'project_id': '1bde2cc81a124f7a934f74b1b5b6db24'}} 2025-07-23 13:38:15,680 - INFO - Created VN ctest-vn-01324173 2025-07-23 13:38:15,738 - DEBUG - VN ctest-vn-01324173 UUID is bafbc51d-a892-4d9c-aae3-9c6a4243e495 2025-07-23 13:38:15,943 - DEBUG - Services list from nova: [, , ] 2025-07-23 13:38:17,094 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3700-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3700-1) 2025-07-23 13:38:18,339 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3700-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3700-1) 2025-07-23 13:38:18,339 - INFO - Waiting for VM ctest-TestBasicVMVNx-37526752-86542038 to be up.. 2025-07-23 13:38:18,449 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-23 13:38:23,545 - DEBUG - VM is in ACTIVE state now 2025-07-23 13:38:23,545 - INFO - VM name : ctest-TestBasicVMVNx-37526752-86542038 2025-07-23 13:38:23,639 - DEBUG - VM ctest-TestBasicVMVNx-37526752-86542038 ID is 2b4ab17e-7b99-4503-9c04-1092b61bcdc5 2025-07-23 13:38:23,664 - DEBUG - VM ctest-TestBasicVMVNx-37526752-86542038 launched on Node cn-jenkins-deploy-platform-ansible-os-3700-1 2025-07-23 13:38:23,753 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/2b4ab17e-7b99-4503-9c04-1092b61bcdc5 2025-07-23 13:38:24,066 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/2b4ab17e-7b99-4503-9c04-1092b61bcdc5 2025-07-23 13:38:24,105 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/4af8052c-9ea4-4fd9-a85b-f9e2636c4d6d 2025-07-23 13:38:27,389 - 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 1017ms') 2025-07-23 13:38:27,390 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-37526752-86542038 failed! 2025-07-23 13:38:27,450 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-37526752:ctest-vn-01324173 is 201.121.119.1 and allocation pool is NOT set 2025-07-23 13:38:29,518 - 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.41 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.768 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 = 0.768/3.088/5.408/2.320 ms') 2025-07-23 13:38:29,519 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-37526752-86542038 passed 2025-07-23 13:38:29,682 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 13:38:29,682 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-37526752-86542038, IP 201.121.119.3, Port 22 2025-07-23 13:38:29,852 - DEBUG - VM ctest-TestBasicVMVNx-37526752-86542038 is ready for SSH connections 2025-07-23 13:38:29,853 - INFO - Waiting for VM ctest-TestBasicVMVNx-37526752-75295146 to be up.. 2025-07-23 13:38:29,957 - DEBUG - VM is in ACTIVE state now 2025-07-23 13:38:29,957 - INFO - VM name : ctest-TestBasicVMVNx-37526752-75295146 2025-07-23 13:38:30,066 - DEBUG - VM ctest-TestBasicVMVNx-37526752-75295146 ID is 4313e5c4-163f-46c4-91cf-a6e933891f61 2025-07-23 13:38:30,067 - DEBUG - VM ctest-TestBasicVMVNx-37526752-75295146 launched on Node cn-jenkins-deploy-platform-ansible-os-3700-1 2025-07-23 13:38:30,168 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/4313e5c4-163f-46c4-91cf-a6e933891f61 2025-07-23 13:38:30,182 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/39d46269-18a2-4721-85c3-0d9699717d70 2025-07-23 13:38:31,444 - 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=7.28 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.32 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 = 1.320/4.301/7.283/2.981 ms') 2025-07-23 13:38:31,444 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-37526752-75295146 passed 2025-07-23 13:38:31,610 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 13:38:31,610 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-37526752-75295146, IP 201.121.119.4, Port 22 2025-07-23 13:38:31,784 - DEBUG - VM ctest-TestBasicVMVNx-37526752-75295146 is ready for SSH connections 2025-07-23 13:38:31,784 - DEBUG - FILE SIZE = 1303B 2025-07-23 13:38:31,784 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-37526752-86542038 to ctest-TestBasicVMVNx-37526752-75295146 using scp 2025-07-23 13:38:31,785 - 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.56, gateway password: c0ntrail123 2025-07-23 13:38:31,785 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-07-23 13:38:33,842 - DEBUG - 1+0 records in 1+0 records out 2025-07-23 13:38:34,667 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 13:38:35,006 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.56, gateway password: c0ntrail123 2025-07-23 13:38:35,006 - DEBUG - ls -l testfile 2025-07-23 13:38:36,624 - DEBUG - -rw------- 1 cirros cirros 1303 Jul 23 07:38 testfile 2025-07-23 13:38:36,624 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-37526752-75295146 2025-07-23 13:38:36,625 - INFO - Deleting VM ctest-TestBasicVMVNx-37526752-75295146 2025-07-23 13:38:36,719 - INFO - Deleting VM ctest-TestBasicVMVNx-37526752-86542038 2025-07-23 13:38:36,813 - INFO - Deleting VN ctest-vn-01324173 2025-07-23 13:38:36,862 - DEBUG - VN bafbc51d-a892-4d9c-aae3-9c6a4243e495 still in use: Unable to complete operation on network bafbc51d-a892-4d9c-aae3-9c6a4243e495. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f2125549-f540-4cd5-99ad-a7d14fbaf59a'] 2025-07-23 13:38:36,862 - WARNING - Deleting VN ctest-vn-01324173 failed..Will retry 2025-07-23 13:38:39,008 - DEBUG - Response for deleting network () 2025-07-23 13:38:39,282 - DEBUG - No XMPP flaps were noticed during the test
2025-07-23 13:38:39,282 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25]
2025-07-23 13:38:39,283 - INFO - -------------------------------------------------------------------------------- 2025-07-23 13:38:39,993 - INFO - Deleted project: ctest-TestBasicVMVNx-37526752, ID : 1bde2cc8-1a12-4f7a-934f-74b1b5b6db24