2024-11-11 01:51:28,091 - INFO - Domain Default found not creating 2024-11-11 01:51:28,254 - INFO - Project ctest-TestBasicVMVNx-63667119 not found, creating it 2024-11-11 01:51:28,752 - INFO - Created Project:ctest-TestBasicVMVNx-63667119, ID : c8283030-0030-476c-8fe0-93c282de384c 2024-11-11 01:51:30,383 - INFO - ================================================================================ 2024-11-11 01:51:30,384 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-11-11 01:51:30,384 - 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-11 01:51:30,642 - DEBUG - Nothing to compare xmpp stats {'10.0.0.32': {'10.20.0.34': '0'}} with 2024-11-11 01:51:30,642 - INFO - Initial checks done. Running the testcase now 2024-11-11 01:51:30,642 - INFO - 2024-11-11 01:51:31,291 - DEBUG - Response for create_network : {'network': {'id': 'ea850fd0-f32a-41af-bf79-847532d93d08', 'name': 'ctest-vn-91329995', 'tenant_id': 'c82830300030476c8fe093c282de384c', 'project_id': 'c82830300030476c8fe093c282de384c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-63667119', 'ctest-vn-91329995'], 'port_security_enabled': True, 'description': ''}} 2024-11-11 01:51:31,467 - DEBUG - Response for create_subnet : {'subnet': {'id': '89e89c5e-220a-4e73-aefc-30da99845b7f', 'name': '', 'tenant_id': 'c82830300030476c8fe093c282de384c', 'network_id': 'ea850fd0-f32a-41af-bf79-847532d93d08', 'ip_version': 4, 'cidr': '72.209.171.64/26', 'allocation_pools': [{'start': '72.209.171.66', 'end': '72.209.171.126'}], 'gateway_ip': '72.209.171.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '72.209.171.66', 'tags': [], 'project_id': 'c82830300030476c8fe093c282de384c'}} 2024-11-11 01:51:31,487 - INFO - Created VN ctest-vn-91329995 2024-11-11 01:51:31,546 - DEBUG - VN ctest-vn-91329995 UUID is ea850fd0-f32a-41af-bf79-847532d93d08 2024-11-11 01:51:31,723 - DEBUG - Services list from nova: [, , ] 2024-11-11 01:51:32,864 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2270-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2270-1) 2024-11-11 01:51:34,148 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2270-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2270-1) 2024-11-11 01:51:34,149 - INFO - Waiting for VM ctest-TestBasicVMVNx-63667119-64430718 to be up.. 2024-11-11 01:51:34,245 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-11 01:51:39,352 - DEBUG - VM is in ACTIVE state now 2024-11-11 01:51:39,352 - INFO - VM name : ctest-TestBasicVMVNx-63667119-64430718 2024-11-11 01:51:39,446 - DEBUG - VM ctest-TestBasicVMVNx-63667119-64430718 ID is 3b0487a7-60f7-499e-9203-898b8a972822 2024-11-11 01:51:39,466 - DEBUG - VM ctest-TestBasicVMVNx-63667119-64430718 launched on Node cn-jenkins-deploy-platform-ansible-os-2270-1 2024-11-11 01:51:39,548 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/3b0487a7-60f7-499e-9203-898b8a972822 2024-11-11 01:51:39,885 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/3b0487a7-60f7-499e-9203-898b8a972822 2024-11-11 01:51:39,923 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/f39cc4ee-f95c-445c-b1ae-69eb986ab79e 2024-11-11 01:51:43,196 - 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 1014ms') 2024-11-11 01:51:43,196 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-63667119-64430718 failed! 2024-11-11 01:51:43,258 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-63667119:ctest-vn-91329995 is 72.209.171.65 and allocation pool is NOT set 2024-11-11 01:51:45,320 - 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.88 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.932 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.932/2.404/3.877/1.472 ms') 2024-11-11 01:51:45,320 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-63667119-64430718 passed 2024-11-11 01:51:45,478 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-11 01:51:45,478 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-63667119-64430718, IP 72.209.171.67, Port 22 2024-11-11 01:51:45,647 - DEBUG - VM ctest-TestBasicVMVNx-63667119-64430718 is ready for SSH connections 2024-11-11 01:51:45,648 - INFO - Waiting for VM ctest-TestBasicVMVNx-63667119-44473257 to be up.. 2024-11-11 01:51:45,734 - DEBUG - VM is in ACTIVE state now 2024-11-11 01:51:45,734 - INFO - VM name : ctest-TestBasicVMVNx-63667119-44473257 2024-11-11 01:51:45,821 - DEBUG - VM ctest-TestBasicVMVNx-63667119-44473257 ID is 9b9b034b-5a5a-49d2-9a6d-c88bb5c24d56 2024-11-11 01:51:45,821 - DEBUG - VM ctest-TestBasicVMVNx-63667119-44473257 launched on Node cn-jenkins-deploy-platform-ansible-os-2270-1 2024-11-11 01:51:45,905 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/9b9b034b-5a5a-49d2-9a6d-c88bb5c24d56 2024-11-11 01:51:45,916 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/17dacc3b-b1be-45d4-9a67-de21343de1f3 2024-11-11 01:51:47,168 - 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.21 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.416 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.416/1.811/3.207/1.395 ms') 2024-11-11 01:51:47,168 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-63667119-44473257 passed 2024-11-11 01:51:47,326 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-11 01:51:47,326 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-63667119-44473257, IP 72.209.171.68, Port 22 2024-11-11 01:51:47,481 - DEBUG - VM ctest-TestBasicVMVNx-63667119-44473257 is ready for SSH connections 2024-11-11 01:51:47,482 - DEBUG - FILE SIZE = 1303B 2024-11-11 01:51:47,482 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-63667119-64430718 to ctest-TestBasicVMVNx-63667119-44473257 using scp 2024-11-11 01:51:47,482 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-11 01:51:47,488 - 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.32, gateway password: c0ntrail123 2024-11-11 01:51:47,489 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-11-11 01:51:49,116 - DEBUG - 1+0 records in 1+0 records out 2024-11-11 01:51:49,792 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-11 01:51:50,135 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.32, gateway password: c0ntrail123 2024-11-11 01:51:50,135 - DEBUG - ls -l testfile 2024-11-11 01:51:51,762 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 10 18:51 testfile 2024-11-11 01:51:51,762 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-63667119-44473257 2024-11-11 01:51:51,762 - INFO - Deleting VM ctest-TestBasicVMVNx-63667119-44473257 2024-11-11 01:51:51,838 - INFO - Deleting VM ctest-TestBasicVMVNx-63667119-64430718 2024-11-11 01:51:51,911 - INFO - Deleting VN ctest-vn-91329995 2024-11-11 01:51:51,954 - DEBUG - VN ea850fd0-f32a-41af-bf79-847532d93d08 still in use: Unable to complete operation on network ea850fd0-f32a-41af-bf79-847532d93d08. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d7a8b66f-6db9-4714-92db-437e03bf66ac'] 2024-11-11 01:51:51,954 - WARNING - Deleting VN ctest-vn-91329995 failed..Will retry 2024-11-11 01:51:54,074 - DEBUG - Response for deleting network () 2024-11-11 01:51:54,329 - DEBUG - No XMPP flaps were noticed during the test
2024-11-11 01:51:54,329 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2024-11-11 01:51:54,329 - INFO - -------------------------------------------------------------------------------- 2024-11-11 01:51:55,138 - INFO - Deleted project: ctest-TestBasicVMVNx-63667119, ID : c8283030-0030-476c-8fe0-93c282de384c