2025-06-20 08:21:27,272 - INFO - Domain Default found not creating 2025-06-20 08:21:27,432 - INFO - Project ctest-TestBasicVMVNx-60499792 not found, creating it 2025-06-20 08:21:27,914 - INFO - Created Project:ctest-TestBasicVMVNx-60499792, ID : 74f7cf78-f422-45ba-939e-d49b715eef2f 2025-06-20 08:21:29,512 - INFO - ================================================================================ 2025-06-20 08:21:29,513 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-06-20 08:21:29,513 - 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-06-20 08:21:29,768 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-06-20 08:21:29,769 - INFO - Initial checks done. Running the testcase now 2025-06-20 08:21:29,769 - INFO - 2025-06-20 08:21:30,382 - DEBUG - Response for create_network : {'network': {'id': 'c1bc1fdc-b00b-4fa9-bdf3-7dfd17ceb560', 'name': 'ctest-vn-34022079', 'tenant_id': '74f7cf78f42245ba939ed49b715eef2f', 'project_id': '74f7cf78f42245ba939ed49b715eef2f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-60499792', 'ctest-vn-34022079'], 'port_security_enabled': True, 'description': ''}} 2025-06-20 08:21:30,543 - DEBUG - Response for create_subnet : {'subnet': {'id': '8eec92c5-9ab6-4ad2-a96c-dc4b0aac58fd', 'name': '', 'tenant_id': '74f7cf78f42245ba939ed49b715eef2f', 'network_id': 'c1bc1fdc-b00b-4fa9-bdf3-7dfd17ceb560', 'ip_version': 4, 'cidr': '105.104.59.64/26', 'allocation_pools': [{'start': '105.104.59.66', 'end': '105.104.59.126'}], 'gateway_ip': '105.104.59.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '105.104.59.66', 'tags': [], 'project_id': '74f7cf78f42245ba939ed49b715eef2f'}} 2025-06-20 08:21:30,565 - INFO - Created VN ctest-vn-34022079 2025-06-20 08:21:30,623 - DEBUG - VN ctest-vn-34022079 UUID is c1bc1fdc-b00b-4fa9-bdf3-7dfd17ceb560 2025-06-20 08:21:30,812 - DEBUG - Services list from nova: [, , ] 2025-06-20 08:21:31,982 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3502-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3502-1) 2025-06-20 08:21:33,439 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3502-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3502-1) 2025-06-20 08:21:33,439 - INFO - Waiting for VM ctest-TestBasicVMVNx-60499792-23542319 to be up.. 2025-06-20 08:21:33,551 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-20 08:21:38,669 - DEBUG - VM is in ACTIVE state now 2025-06-20 08:21:38,669 - INFO - VM name : ctest-TestBasicVMVNx-60499792-23542319 2025-06-20 08:21:38,775 - DEBUG - VM ctest-TestBasicVMVNx-60499792-23542319 ID is ea7cc6dc-9e30-4b5c-ac7a-bdcb412e8990 2025-06-20 08:21:38,805 - DEBUG - VM ctest-TestBasicVMVNx-60499792-23542319 launched on Node cn-jenkins-deploy-platform-ansible-os-3502-1 2025-06-20 08:21:38,909 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ea7cc6dc-9e30-4b5c-ac7a-bdcb412e8990 2025-06-20 08:21:39,259 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ea7cc6dc-9e30-4b5c-ac7a-bdcb412e8990 2025-06-20 08:21:39,292 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/057ede7a-16cb-484d-9926-a03c9cffae00 2025-06-20 08:21:42,558 - 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 1023ms') 2025-06-20 08:21:42,558 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-60499792-23542319 failed! 2025-06-20 08:21:42,615 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-60499792:ctest-vn-34022079 is 105.104.59.65 and allocation pool is NOT set 2025-06-20 08:21:44,678 - 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.43 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.84 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.838/3.134/3.431/0.296 ms') 2025-06-20 08:21:44,678 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-60499792-23542319 passed 2025-06-20 08:21:44,835 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-20 08:21:44,835 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-60499792-23542319, IP 105.104.59.67, Port 22 2025-06-20 08:21:44,994 - DEBUG - VM ctest-TestBasicVMVNx-60499792-23542319 is ready for SSH connections 2025-06-20 08:21:44,994 - INFO - Waiting for VM ctest-TestBasicVMVNx-60499792-53653702 to be up.. 2025-06-20 08:21:45,086 - DEBUG - VM is in ACTIVE state now 2025-06-20 08:21:45,086 - INFO - VM name : ctest-TestBasicVMVNx-60499792-53653702 2025-06-20 08:21:45,171 - DEBUG - VM ctest-TestBasicVMVNx-60499792-53653702 ID is 1fae7865-c3de-4b2b-b770-5e2a1b14d98a 2025-06-20 08:21:45,171 - DEBUG - VM ctest-TestBasicVMVNx-60499792-53653702 launched on Node cn-jenkins-deploy-platform-ansible-os-3502-1 2025-06-20 08:21:45,275 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/1fae7865-c3de-4b2b-b770-5e2a1b14d98a 2025-06-20 08:21:45,286 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/1f106f73-6dfa-4cb0-9f82-b9a30cd2045a 2025-06-20 08:21:46,545 - 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=4.27 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.26 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.257/2.761/4.266/1.504 ms') 2025-06-20 08:21:46,545 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-60499792-53653702 passed 2025-06-20 08:21:46,699 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-20 08:21:46,699 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-60499792-53653702, IP 105.104.59.68, Port 22 2025-06-20 08:21:46,866 - DEBUG - VM ctest-TestBasicVMVNx-60499792-53653702 is ready for SSH connections 2025-06-20 08:21:46,867 - DEBUG - FILE SIZE = 1303B 2025-06-20 08:21:46,867 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-60499792-23542319 to ctest-TestBasicVMVNx-60499792-53653702 using scp 2025-06-20 08:21:46,868 - 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-06-20 08:21:46,868 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-06-20 08:21:48,835 - DEBUG - 1+0 records in 1+0 records out 2025-06-20 08:21:49,517 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-20 08:21:49,876 - 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-06-20 08:21:49,876 - DEBUG - ls -l testfile 2025-06-20 08:21:51,507 - DEBUG - -rw------- 1 cirros cirros 1303 Jun 20 02:21 testfile 2025-06-20 08:21:51,507 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-60499792-53653702 2025-06-20 08:21:51,508 - INFO - Deleting VM ctest-TestBasicVMVNx-60499792-53653702 2025-06-20 08:21:51,577 - INFO - Deleting VM ctest-TestBasicVMVNx-60499792-23542319 2025-06-20 08:21:51,653 - INFO - Deleting VN ctest-vn-34022079 2025-06-20 08:21:51,691 - DEBUG - VN c1bc1fdc-b00b-4fa9-bdf3-7dfd17ceb560 still in use: Unable to complete operation on network c1bc1fdc-b00b-4fa9-bdf3-7dfd17ceb560. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4c38b6ac-875a-46c4-aae5-8b0bf5d72ba0'] 2025-06-20 08:21:51,691 - WARNING - Deleting VN ctest-vn-34022079 failed..Will retry 2025-06-20 08:21:53,862 - DEBUG - Response for deleting network () 2025-06-20 08:21:54,118 - DEBUG - No XMPP flaps were noticed during the test
2025-06-20 08:21:54,119 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25]
2025-06-20 08:21:54,119 - INFO - -------------------------------------------------------------------------------- 2025-06-20 08:21:55,042 - INFO - Deleted project: ctest-TestBasicVMVNx-60499792, ID : 74f7cf78-f422-45ba-939e-d49b715eef2f