2024-11-08 18:53:56,173 - INFO - Domain Default found not creating 2024-11-08 18:53:56,507 - INFO - Project ctest-TestBasicVMVNx-61078474 not found, creating it 2024-11-08 18:53:57,219 - INFO - Created Project:ctest-TestBasicVMVNx-61078474, ID : b675e6c3-5ab4-4352-bca1-df8941451e03 2024-11-08 18:53:59,341 - INFO - ================================================================================ 2024-11-08 18:53:59,342 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-11-08 18:53:59,343 - 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-11-08 18:53:59,633 - DEBUG - Nothing to compare xmpp stats {'10.0.0.12': {'10.20.0.24': '0'}} with 2024-11-08 18:53:59,633 - INFO - Initial checks done. Running the testcase now 2024-11-08 18:53:59,633 - INFO - 2024-11-08 18:54:00,362 - DEBUG - Response for create_network : {'network': {'id': 'bdd14549-1dfe-4e3e-a651-bb3144716aa2', 'name': 'ctest-vn-11980431', 'tenant_id': 'b675e6c35ab44352bca1df8941451e03', 'project_id': 'b675e6c35ab44352bca1df8941451e03', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-61078474', 'ctest-vn-11980431'], 'port_security_enabled': True, 'description': ''}} 2024-11-08 18:54:00,577 - DEBUG - Response for create_subnet : {'subnet': {'id': '184d6003-5b42-4b6c-8100-7895dac281aa', 'name': '', 'tenant_id': 'b675e6c35ab44352bca1df8941451e03', 'network_id': 'bdd14549-1dfe-4e3e-a651-bb3144716aa2', 'ip_version': 4, 'cidr': '167.201.24.192/26', 'allocation_pools': [{'start': '167.201.24.194', 'end': '167.201.24.254'}], 'gateway_ip': '167.201.24.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '167.201.24.194', 'tags': [], 'project_id': 'b675e6c35ab44352bca1df8941451e03'}} 2024-11-08 18:54:00,601 - INFO - Created VN ctest-vn-11980431 2024-11-08 18:54:00,664 - DEBUG - VN ctest-vn-11980431 UUID is bdd14549-1dfe-4e3e-a651-bb3144716aa2 2024-11-08 18:54:00,882 - DEBUG - Services list from nova: [, , ] 2024-11-08 18:54:02,119 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2240-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2240-1) 2024-11-08 18:54:03,427 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2240-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2240-1) 2024-11-08 18:54:03,427 - INFO - Waiting for VM ctest-TestBasicVMVNx-61078474-42004359 to be up.. 2024-11-08 18:54:03,522 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-08 18:54:08,643 - DEBUG - VM is in ACTIVE state now 2024-11-08 18:54:08,644 - INFO - VM name : ctest-TestBasicVMVNx-61078474-42004359 2024-11-08 18:54:08,795 - DEBUG - VM ctest-TestBasicVMVNx-61078474-42004359 ID is 250eea73-8144-46f8-a80a-4515a917eef6 2024-11-08 18:54:08,821 - DEBUG - VM ctest-TestBasicVMVNx-61078474-42004359 launched on Node cn-jenkins-deploy-platform-ansible-os-2240-1 2024-11-08 18:54:08,993 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/250eea73-8144-46f8-a80a-4515a917eef6 2024-11-08 18:54:09,328 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/250eea73-8144-46f8-a80a-4515a917eef6 2024-11-08 18:54:09,374 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/05ca1b47-e38f-4525-9e55-254979a8c22b 2024-11-08 18:54:12,668 - 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 1009ms') 2024-11-08 18:54:12,668 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-61078474-42004359 failed! 2024-11-08 18:54:12,748 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-61078474:ctest-vn-11980431 is 167.201.24.193 and allocation pool is NOT set 2024-11-08 18:54:14,827 - 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.85 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.476 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.476/2.163/3.850/1.687 ms') 2024-11-08 18:54:14,827 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-61078474-42004359 passed 2024-11-08 18:54:15,004 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-08 18:54:15,005 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-61078474-42004359, IP 167.201.24.195, Port 22 2024-11-08 18:54:15,190 - DEBUG - VM ctest-TestBasicVMVNx-61078474-42004359 is ready for SSH connections 2024-11-08 18:54:15,190 - INFO - Waiting for VM ctest-TestBasicVMVNx-61078474-73168448 to be up.. 2024-11-08 18:54:15,387 - DEBUG - VM is in ACTIVE state now 2024-11-08 18:54:15,387 - INFO - VM name : ctest-TestBasicVMVNx-61078474-73168448 2024-11-08 18:54:15,558 - DEBUG - VM ctest-TestBasicVMVNx-61078474-73168448 ID is 1235bde1-7fab-4bae-a042-df611cc13c28 2024-11-08 18:54:15,559 - DEBUG - VM ctest-TestBasicVMVNx-61078474-73168448 launched on Node cn-jenkins-deploy-platform-ansible-os-2240-1 2024-11-08 18:54:15,715 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/1235bde1-7fab-4bae-a042-df611cc13c28 2024-11-08 18:54:15,727 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/c6969cff-a313-49b7-af67-fdd2ce3e47ad 2024-11-08 18:54:17,023 - 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=2.95 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.565 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.565/1.757/2.949/1.192 ms') 2024-11-08 18:54:17,023 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-61078474-73168448 passed 2024-11-08 18:54:17,224 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-08 18:54:17,224 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-61078474-73168448, IP 167.201.24.196, Port 22 2024-11-08 18:54:17,426 - DEBUG - VM ctest-TestBasicVMVNx-61078474-73168448 is ready for SSH connections 2024-11-08 18:54:17,426 - DEBUG - FILE SIZE = 1303B 2024-11-08 18:54:17,426 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-61078474-42004359 to ctest-TestBasicVMVNx-61078474-73168448 using scp 2024-11-08 18:54:17,429 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-08 18:54:17,446 - 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 2024-11-08 18:54:17,447 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-11-08 18:54:19,606 - DEBUG - 1+0 records in 1+0 records out 2024-11-08 18:54:20,387 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-08 18:54:20,755 - 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 2024-11-08 18:54:20,756 - DEBUG - ls -l testfile 2024-11-08 18:54:22,466 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 8 11:54 testfile 2024-11-08 18:54:22,466 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-61078474-73168448 2024-11-08 18:54:22,466 - INFO - Deleting VM ctest-TestBasicVMVNx-61078474-73168448 2024-11-08 18:54:22,569 - INFO - Deleting VM ctest-TestBasicVMVNx-61078474-42004359 2024-11-08 18:54:22,667 - INFO - Deleting VN ctest-vn-11980431 2024-11-08 18:54:22,725 - DEBUG - VN bdd14549-1dfe-4e3e-a651-bb3144716aa2 still in use: Unable to complete operation on network bdd14549-1dfe-4e3e-a651-bb3144716aa2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4ab0cbd2-4db0-48b0-98d7-02f66b6ead36'] 2024-11-08 18:54:22,725 - WARNING - Deleting VN ctest-vn-11980431 failed..Will retry 2024-11-08 18:54:24,901 - DEBUG - Response for deleting network () 2024-11-08 18:54:25,176 - DEBUG - No XMPP flaps were noticed during the test
2024-11-08 18:54:25,176 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:26]
2024-11-08 18:54:25,176 - INFO - -------------------------------------------------------------------------------- 2024-11-08 18:54:26,231 - INFO - Deleted project: ctest-TestBasicVMVNx-61078474, ID : b675e6c3-5ab4-4352-bca1-df8941451e03