2025-01-30 17:13:43,972 - INFO - Domain Default found not creating 2025-01-30 17:13:44,139 - INFO - Project ctest-TestBasicVMVNx-41322043 not found, creating it 2025-01-30 17:13:44,607 - INFO - Created Project:ctest-TestBasicVMVNx-41322043, ID : 2e55ae59-828a-4c0a-9ff4-43aa1d0b5d05 2025-01-30 17:13:46,126 - INFO - ================================================================================ 2025-01-30 17:13:46,127 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-01-30 17:13:46,127 - 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-01-30 17:13:46,383 - DEBUG - Nothing to compare xmpp stats {'10.0.0.12': {'10.20.0.7': '0'}} with 2025-01-30 17:13:46,383 - INFO - Initial checks done. Running the testcase now 2025-01-30 17:13:46,383 - INFO - 2025-01-30 17:13:46,932 - DEBUG - Response for create_network : {'network': {'id': '28073783-9728-481b-aca4-548c71a07a04', 'name': 'ctest-vn-06363049', 'tenant_id': '2e55ae59828a4c0a9ff443aa1d0b5d05', 'project_id': '2e55ae59828a4c0a9ff443aa1d0b5d05', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-41322043', 'ctest-vn-06363049'], 'port_security_enabled': True, 'description': ''}} 2025-01-30 17:13:47,095 - DEBUG - Response for create_subnet : {'subnet': {'id': '137fa51f-d8b3-47b4-9ef9-21fd70916062', 'name': '', 'tenant_id': '2e55ae59828a4c0a9ff443aa1d0b5d05', 'network_id': '28073783-9728-481b-aca4-548c71a07a04', 'ip_version': 4, 'cidr': '106.177.76.128/26', 'allocation_pools': [{'start': '106.177.76.130', 'end': '106.177.76.190'}], 'gateway_ip': '106.177.76.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '106.177.76.130', 'tags': [], 'project_id': '2e55ae59828a4c0a9ff443aa1d0b5d05'}} 2025-01-30 17:13:47,115 - INFO - Created VN ctest-vn-06363049 2025-01-30 17:13:47,168 - DEBUG - VN ctest-vn-06363049 UUID is 28073783-9728-481b-aca4-548c71a07a04 2025-01-30 17:13:47,338 - DEBUG - Services list from nova: [, , ] 2025-01-30 17:13:48,356 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2670-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2670-1) 2025-01-30 17:13:49,584 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2670-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2670-1) 2025-01-30 17:13:49,585 - INFO - Waiting for VM ctest-TestBasicVMVNx-41322043-35398061 to be up.. 2025-01-30 17:13:49,680 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-30 17:13:54,760 - DEBUG - VM is in ACTIVE state now 2025-01-30 17:13:54,760 - INFO - VM name : ctest-TestBasicVMVNx-41322043-35398061 2025-01-30 17:13:54,842 - DEBUG - VM ctest-TestBasicVMVNx-41322043-35398061 ID is df28206d-15cd-4142-96bc-5169fcb46ae9 2025-01-30 17:13:54,862 - DEBUG - VM ctest-TestBasicVMVNx-41322043-35398061 launched on Node cn-jenkins-deploy-platform-ansible-os-2670-1 2025-01-30 17:13:54,945 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/df28206d-15cd-4142-96bc-5169fcb46ae9 2025-01-30 17:13:55,240 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/df28206d-15cd-4142-96bc-5169fcb46ae9 2025-01-30 17:13:55,275 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/4eba2a0c-0922-49b3-8d55-16ccbb0ef125 2025-01-30 17:13:58,548 - 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 1021ms') 2025-01-30 17:13:58,548 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-41322043-35398061 failed! 2025-01-30 17:13:58,604 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-41322043:ctest-vn-06363049 is 106.177.76.129 and allocation pool is NOT set 2025-01-30 17:14:00,670 - 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.64 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.912 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.912/2.776/4.641/1.864 ms') 2025-01-30 17:14:00,670 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-41322043-35398061 passed 2025-01-30 17:14:00,825 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-30 17:14:00,825 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-41322043-35398061, IP 106.177.76.131, Port 22 2025-01-30 17:14:00,991 - DEBUG - VM ctest-TestBasicVMVNx-41322043-35398061 is ready for SSH connections 2025-01-30 17:14:00,991 - INFO - Waiting for VM ctest-TestBasicVMVNx-41322043-84792807 to be up.. 2025-01-30 17:14:01,083 - DEBUG - VM is in ACTIVE state now 2025-01-30 17:14:01,083 - INFO - VM name : ctest-TestBasicVMVNx-41322043-84792807 2025-01-30 17:14:01,166 - DEBUG - VM ctest-TestBasicVMVNx-41322043-84792807 ID is 891e1a51-785e-4e83-b94c-5ebcc478e118 2025-01-30 17:14:01,166 - DEBUG - VM ctest-TestBasicVMVNx-41322043-84792807 launched on Node cn-jenkins-deploy-platform-ansible-os-2670-1 2025-01-30 17:14:01,247 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/891e1a51-785e-4e83-b94c-5ebcc478e118 2025-01-30 17:14:01,258 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/b7061bf2-9b55-4795-a835-ad6858da3698 2025-01-30 17:14:02,513 - 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=3.29 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.530 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.530/1.909/3.289/1.379 ms') 2025-01-30 17:14:02,513 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-41322043-84792807 passed 2025-01-30 17:14:02,668 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-30 17:14:02,668 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-41322043-84792807, IP 106.177.76.132, Port 22 2025-01-30 17:14:02,836 - DEBUG - VM ctest-TestBasicVMVNx-41322043-84792807 is ready for SSH connections 2025-01-30 17:14:02,836 - DEBUG - FILE SIZE = 1303B 2025-01-30 17:14:02,836 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-41322043-35398061 to ctest-TestBasicVMVNx-41322043-84792807 using scp 2025-01-30 17:14:02,837 - 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.12, gateway password: c0ntrail123 2025-01-30 17:14:02,838 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-01-30 17:14:04,753 - DEBUG - 1+0 records in 1+0 records out 2025-01-30 17:14:05,390 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-30 17:14:05,722 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.12, gateway password: c0ntrail123 2025-01-30 17:14:05,722 - DEBUG - ls -l testfile 2025-01-30 17:14:07,318 - DEBUG - -rw------- 1 cirros cirros 1303 Jan 30 10:14 testfile 2025-01-30 17:14:07,318 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-41322043-84792807 2025-01-30 17:14:07,319 - INFO - Deleting VM ctest-TestBasicVMVNx-41322043-84792807 2025-01-30 17:14:07,394 - INFO - Deleting VM ctest-TestBasicVMVNx-41322043-35398061 2025-01-30 17:14:07,466 - INFO - Deleting VN ctest-vn-06363049 2025-01-30 17:14:07,512 - DEBUG - VN 28073783-9728-481b-aca4-548c71a07a04 still in use: Unable to complete operation on network 28073783-9728-481b-aca4-548c71a07a04. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d7b9dfa9-73f7-487f-ab69-0ab783bf00c4'] 2025-01-30 17:14:07,512 - WARNING - Deleting VN ctest-vn-06363049 failed..Will retry 2025-01-30 17:14:09,629 - DEBUG - Response for deleting network () 2025-01-30 17:14:09,887 - DEBUG - No XMPP flaps were noticed during the test
2025-01-30 17:14:09,887 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-01-30 17:14:09,887 - INFO - -------------------------------------------------------------------------------- 2025-01-30 17:14:10,565 - INFO - Deleted project: ctest-TestBasicVMVNx-41322043, ID : 2e55ae59-828a-4c0a-9ff4-43aa1d0b5d05