2025-10-09 16:34:27,479 - INFO - Domain Default found not creating 2025-10-09 16:34:27,653 - INFO - Project ctest-TestBasicVMVNx-69119667 not found, creating it 2025-10-09 16:34:28,166 - INFO - Created Project:ctest-TestBasicVMVNx-69119667, ID : 1f15f11e-b231-4bcb-94a9-1eeb38fc09e0 2025-10-09 16:34:29,879 - INFO - ================================================================================ 2025-10-09 16:34:29,879 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-10-09 16:34:29,879 - 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-10-09 16:34:30,139 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-10-09 16:34:30,139 - INFO - Initial checks done. Running the testcase now 2025-10-09 16:34:30,139 - INFO - 2025-10-09 16:34:30,745 - DEBUG - Response for create_network : {'network': {'id': '70c1fd0f-b3ba-4730-9616-278cc64a001b', 'name': 'ctest-vn-30644184', 'tenant_id': '1f15f11eb2314bcb94a91eeb38fc09e0', 'project_id': '1f15f11eb2314bcb94a91eeb38fc09e0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-69119667', 'ctest-vn-30644184'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 16:34:30,928 - DEBUG - Response for create_subnet : {'subnet': {'id': '8753baca-1f62-4f7f-9bc5-d2648f00a51d', 'name': '', 'tenant_id': '1f15f11eb2314bcb94a91eeb38fc09e0', 'network_id': '70c1fd0f-b3ba-4730-9616-278cc64a001b', 'ip_version': 4, 'cidr': '129.218.212.0/26', 'allocation_pools': [{'start': '129.218.212.2', 'end': '129.218.212.62'}], 'gateway_ip': '129.218.212.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '129.218.212.2', 'tags': [], 'project_id': '1f15f11eb2314bcb94a91eeb38fc09e0'}} 2025-10-09 16:34:30,951 - INFO - Created VN ctest-vn-30644184 2025-10-09 16:34:31,004 - DEBUG - VN ctest-vn-30644184 UUID is 70c1fd0f-b3ba-4730-9616-278cc64a001b 2025-10-09 16:34:31,193 - DEBUG - Services list from nova: [, , ] 2025-10-09 16:34:32,294 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4267-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4267-1) 2025-10-09 16:34:33,493 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4267-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4267-1) 2025-10-09 16:34:33,493 - INFO - Waiting for VM ctest-TestBasicVMVNx-69119667-33922210 to be up.. 2025-10-09 16:34:33,595 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-09 16:34:38,689 - DEBUG - VM is in ACTIVE state now 2025-10-09 16:34:38,690 - INFO - VM name : ctest-TestBasicVMVNx-69119667-33922210 2025-10-09 16:34:38,782 - DEBUG - VM ctest-TestBasicVMVNx-69119667-33922210 ID is 7b896e35-4b48-4195-ad73-fc05a8c5b389 2025-10-09 16:34:38,807 - DEBUG - VM ctest-TestBasicVMVNx-69119667-33922210 launched on Node cn-jenkins-deploy-platform-ansible-os-4267-1 2025-10-09 16:34:38,897 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/7b896e35-4b48-4195-ad73-fc05a8c5b389 2025-10-09 16:34:39,220 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/7b896e35-4b48-4195-ad73-fc05a8c5b389 2025-10-09 16:34:39,261 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/8cae45e4-52f1-4333-8088-6ee8140dac7b 2025-10-09 16:34:42,525 - 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 1020ms') 2025-10-09 16:34:42,525 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-69119667-33922210 failed! 2025-10-09 16:34:42,580 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-69119667:ctest-vn-30644184 is 129.218.212.1 and allocation pool is NOT set 2025-10-09 16:34:44,647 - 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.94 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.896 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.896/2.919/4.942/2.023 ms') 2025-10-09 16:34:44,647 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-69119667-33922210 passed 2025-10-09 16:34:44,804 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 16:34:44,804 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-69119667-33922210, IP 129.218.212.3, Port 22 2025-10-09 16:34:44,960 - DEBUG - VM ctest-TestBasicVMVNx-69119667-33922210 is ready for SSH connections 2025-10-09 16:34:44,961 - INFO - Waiting for VM ctest-TestBasicVMVNx-69119667-69654630 to be up.. 2025-10-09 16:34:45,047 - DEBUG - VM is in ACTIVE state now 2025-10-09 16:34:45,047 - INFO - VM name : ctest-TestBasicVMVNx-69119667-69654630 2025-10-09 16:34:45,147 - DEBUG - VM ctest-TestBasicVMVNx-69119667-69654630 ID is 60d8c882-e595-4a08-ae51-e01beeac0c84 2025-10-09 16:34:45,148 - DEBUG - VM ctest-TestBasicVMVNx-69119667-69654630 launched on Node cn-jenkins-deploy-platform-ansible-os-4267-1 2025-10-09 16:34:45,234 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/60d8c882-e595-4a08-ae51-e01beeac0c84 2025-10-09 16:34:45,243 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/77b7912a-bf4c-4d70-b6bf-bb393cc877b8 2025-10-09 16:34:46,506 - 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.03 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.784 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.784/3.904/7.025/3.120 ms') 2025-10-09 16:34:46,506 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-69119667-69654630 passed 2025-10-09 16:34:46,668 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 16:34:46,669 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-69119667-69654630, IP 129.218.212.4, Port 22 2025-10-09 16:34:46,834 - DEBUG - VM ctest-TestBasicVMVNx-69119667-69654630 is ready for SSH connections 2025-10-09 16:34:46,834 - DEBUG - FILE SIZE = 1303B 2025-10-09 16:34:46,834 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-69119667-33922210 to ctest-TestBasicVMVNx-69119667-69654630 using scp 2025-10-09 16:34:46,836 - 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.22, gateway password: c0ntrail123 2025-10-09 16:34:46,836 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-10-09 16:34:48,857 - DEBUG - 1+0 records in 1+0 records out 2025-10-09 16:34:49,704 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 16:34:50,041 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-10-09 16:34:50,042 - DEBUG - ls -l testfile 2025-10-09 16:34:51,689 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 9 10:34 testfile 2025-10-09 16:34:51,689 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-69119667-69654630 2025-10-09 16:34:51,690 - INFO - Deleting VM ctest-TestBasicVMVNx-69119667-69654630 2025-10-09 16:34:51,771 - INFO - Deleting VM ctest-TestBasicVMVNx-69119667-33922210 2025-10-09 16:34:51,863 - INFO - Deleting VN ctest-vn-30644184 2025-10-09 16:34:51,905 - DEBUG - VN 70c1fd0f-b3ba-4730-9616-278cc64a001b still in use: Unable to complete operation on network 70c1fd0f-b3ba-4730-9616-278cc64a001b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-35848c78-7e17-4187-8b68-5fc61293089b'] 2025-10-09 16:34:51,905 - WARNING - Deleting VN ctest-vn-30644184 failed..Will retry 2025-10-09 16:34:54,013 - DEBUG - Response for deleting network () 2025-10-09 16:34:54,284 - DEBUG - No XMPP flaps were noticed during the test
2025-10-09 16:34:54,284 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25]
2025-10-09 16:34:54,284 - INFO - -------------------------------------------------------------------------------- 2025-10-09 16:34:54,975 - INFO - Deleted project: ctest-TestBasicVMVNx-69119667, ID : 1f15f11e-b231-4bcb-94a9-1eeb38fc09e0