2024-08-21 16:32:56,988 - INFO - Domain Default found not creating 2024-08-21 16:32:57,146 - INFO - Project ctest-TestBasicVMVNx-42477857 not found, creating it 2024-08-21 16:32:57,643 - INFO - Created Project:ctest-TestBasicVMVNx-42477857, ID : 5d27c729-aea7-4e29-aa69-3286985a14f9 2024-08-21 16:32:59,090 - INFO - ================================================================================ 2024-08-21 16:32:59,091 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-08-21 16:32:59,091 - 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 2024-08-21 16:32:59,348 - DEBUG - Nothing to compare xmpp stats {'10.0.0.42': {'10.20.0.5': '0'}} with 2024-08-21 16:32:59,348 - INFO - Initial checks done. Running the testcase now 2024-08-21 16:32:59,348 - INFO - 2024-08-21 16:32:59,903 - DEBUG - Response for create_network : {'network': {'id': '63501eff-bc0a-47a7-9893-5723593f7ec9', 'name': 'ctest-vn-31563682', 'tenant_id': '5d27c729aea74e29aa693286985a14f9', 'project_id': '5d27c729aea74e29aa693286985a14f9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-42477857', 'ctest-vn-31563682'], 'port_security_enabled': True, 'description': ''}} 2024-08-21 16:33:00,087 - DEBUG - Response for create_subnet : {'subnet': {'id': '3d64e4d6-e171-4feb-8d64-7a988585d92f', 'name': '', 'tenant_id': '5d27c729aea74e29aa693286985a14f9', 'network_id': '63501eff-bc0a-47a7-9893-5723593f7ec9', 'ip_version': 4, 'cidr': '30.182.212.0/26', 'allocation_pools': [{'start': '30.182.212.2', 'end': '30.182.212.62'}], 'gateway_ip': '30.182.212.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '30.182.212.2', 'tags': [], 'project_id': '5d27c729aea74e29aa693286985a14f9'}} 2024-08-21 16:33:00,106 - INFO - Created VN ctest-vn-31563682 2024-08-21 16:33:00,158 - DEBUG - VN ctest-vn-31563682 UUID is 63501eff-bc0a-47a7-9893-5723593f7ec9 2024-08-21 16:33:00,328 - DEBUG - Services list from nova: [, , ] 2024-08-21 16:33:01,321 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1693-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1693-1) 2024-08-21 16:33:02,465 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1693-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1693-1) 2024-08-21 16:33:02,465 - INFO - Waiting for VM ctest-TestBasicVMVNx-42477857-24075953 to be up.. 2024-08-21 16:33:02,551 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-21 16:33:07,643 - DEBUG - VM is in ACTIVE state now 2024-08-21 16:33:07,643 - INFO - VM name : ctest-TestBasicVMVNx-42477857-24075953 2024-08-21 16:33:07,727 - DEBUG - VM ctest-TestBasicVMVNx-42477857-24075953 ID is 0d780ade-72fd-4cef-91fd-d4e68eb626a4 2024-08-21 16:33:07,750 - DEBUG - VM ctest-TestBasicVMVNx-42477857-24075953 launched on Node cn-jenkins-deploy-platform-ansible-os-1693-1 2024-08-21 16:33:07,827 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/0d780ade-72fd-4cef-91fd-d4e68eb626a4 2024-08-21 16:33:08,124 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/0d780ade-72fd-4cef-91fd-d4e68eb626a4 2024-08-21 16:33:08,162 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/37a9c6ff-5eec-4ae2-94fa-3de5713c8a23 2024-08-21 16:33:11,432 - 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 1027ms') 2024-08-21 16:33:11,432 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-42477857-24075953 failed! 2024-08-21 16:33:11,486 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-42477857:ctest-vn-31563682 is 30.182.212.1 and allocation pool is NOT set 2024-08-21 16:33:13,547 - 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=16.5 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.442 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.442/8.462/16.483/8.020 ms') 2024-08-21 16:33:13,547 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-42477857-24075953 passed 2024-08-21 16:33:13,694 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 16:33:13,695 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-42477857-24075953, IP 30.182.212.3, Port 22 2024-08-21 16:33:13,846 - DEBUG - VM ctest-TestBasicVMVNx-42477857-24075953 is ready for SSH connections 2024-08-21 16:33:13,846 - INFO - Waiting for VM ctest-TestBasicVMVNx-42477857-65841209 to be up.. 2024-08-21 16:33:13,919 - DEBUG - VM is in ACTIVE state now 2024-08-21 16:33:13,919 - INFO - VM name : ctest-TestBasicVMVNx-42477857-65841209 2024-08-21 16:33:13,992 - DEBUG - VM ctest-TestBasicVMVNx-42477857-65841209 ID is 838a0bf2-c46b-4866-993f-c274826d17a4 2024-08-21 16:33:13,992 - DEBUG - VM ctest-TestBasicVMVNx-42477857-65841209 launched on Node cn-jenkins-deploy-platform-ansible-os-1693-1 2024-08-21 16:33:14,072 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/838a0bf2-c46b-4866-993f-c274826d17a4 2024-08-21 16:33:14,081 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/8ca847cd-025e-4b15-88c4-8d155d3a2c3d 2024-08-21 16:33:15,325 - 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.23 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.28 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.282/2.254/3.227/0.972 ms') 2024-08-21 16:33:15,326 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-42477857-65841209 passed 2024-08-21 16:33:15,474 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 16:33:15,474 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-42477857-65841209, IP 30.182.212.4, Port 22 2024-08-21 16:33:15,630 - DEBUG - VM ctest-TestBasicVMVNx-42477857-65841209 is ready for SSH connections 2024-08-21 16:33:15,630 - DEBUG - FILE SIZE = 1303B 2024-08-21 16:33:15,630 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-42477857-24075953 to ctest-TestBasicVMVNx-42477857-65841209 using scp 2024-08-21 16:33:15,631 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 16:33:15,636 - 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.42, gateway password: c0ntrail123 2024-08-21 16:33:15,636 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-08-21 16:33:17,543 - DEBUG - 1+0 records in 1+0 records out 2024-08-21 16:33:18,128 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 16:33:18,454 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.42, gateway password: c0ntrail123 2024-08-21 16:33:18,455 - DEBUG - ls -l testfile 2024-08-21 16:33:20,013 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 21 10:33 testfile 2024-08-21 16:33:20,013 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-42477857-65841209 2024-08-21 16:33:20,013 - INFO - Deleting VM ctest-TestBasicVMVNx-42477857-65841209 2024-08-21 16:33:20,083 - INFO - Deleting VM ctest-TestBasicVMVNx-42477857-24075953 2024-08-21 16:33:20,143 - INFO - Deleting VN ctest-vn-31563682 2024-08-21 16:33:20,181 - DEBUG - VN 63501eff-bc0a-47a7-9893-5723593f7ec9 still in use: Unable to complete operation on network 63501eff-bc0a-47a7-9893-5723593f7ec9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-27237e81-af56-4c5d-a6d7-4f294d9ffc5a'] 2024-08-21 16:33:20,181 - WARNING - Deleting VN ctest-vn-31563682 failed..Will retry 2024-08-21 16:33:22,308 - DEBUG - Response for deleting network () 2024-08-21 16:33:22,572 - DEBUG - No XMPP flaps were noticed during the test
2024-08-21 16:33:22,572 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2024-08-21 16:33:22,572 - INFO - -------------------------------------------------------------------------------- 2024-08-21 16:33:23,258 - INFO - Deleted project: ctest-TestBasicVMVNx-42477857, ID : 5d27c729-aea7-4e29-aa69-3286985a14f9