2024-11-13 11:55:32,250 - INFO - Domain Default found not creating 2024-11-13 11:55:32,454 - INFO - Project ctest-TestBasicVMVNx-93185594 not found, creating it 2024-11-13 11:55:32,989 - INFO - Created Project:ctest-TestBasicVMVNx-93185594, ID : e644d9b7-5f3f-4c6f-b0f5-bfc73cedb15d 2024-11-13 11:55:34,580 - INFO - ================================================================================ 2024-11-13 11:55:34,580 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-11-13 11:55:34,580 - 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-13 11:55:34,836 - DEBUG - Nothing to compare xmpp stats {'10.0.0.47': {'10.20.0.30': '0'}} with 2024-11-13 11:55:34,836 - INFO - Initial checks done. Running the testcase now 2024-11-13 11:55:34,836 - INFO - 2024-11-13 11:55:35,455 - DEBUG - Response for create_network : {'network': {'id': '52ee8769-15c0-402f-a0a5-729ddbd77aa0', 'name': 'ctest-vn-86659138', 'tenant_id': 'e644d9b75f3f4c6fb0f5bfc73cedb15d', 'project_id': 'e644d9b75f3f4c6fb0f5bfc73cedb15d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-93185594', 'ctest-vn-86659138'], 'port_security_enabled': True, 'description': ''}} 2024-11-13 11:55:35,663 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c677a90b-3bcf-4863-96c4-41f5e0fe15df', 'name': '', 'tenant_id': 'e644d9b75f3f4c6fb0f5bfc73cedb15d', 'network_id': '52ee8769-15c0-402f-a0a5-729ddbd77aa0', 'ip_version': 4, 'cidr': '98.255.152.64/26', 'allocation_pools': [{'start': '98.255.152.66', 'end': '98.255.152.126'}], 'gateway_ip': '98.255.152.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '98.255.152.66', 'tags': [], 'project_id': 'e644d9b75f3f4c6fb0f5bfc73cedb15d'}} 2024-11-13 11:55:35,687 - INFO - Created VN ctest-vn-86659138 2024-11-13 11:55:35,745 - DEBUG - VN ctest-vn-86659138 UUID is 52ee8769-15c0-402f-a0a5-729ddbd77aa0 2024-11-13 11:55:35,952 - DEBUG - Services list from nova: [, , ] 2024-11-13 11:55:37,070 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2284-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2284-1) 2024-11-13 11:55:38,357 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2284-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2284-1) 2024-11-13 11:55:38,357 - INFO - Waiting for VM ctest-TestBasicVMVNx-93185594-13624211 to be up.. 2024-11-13 11:55:38,461 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-13 11:55:43,558 - DEBUG - VM is in ACTIVE state now 2024-11-13 11:55:43,558 - INFO - VM name : ctest-TestBasicVMVNx-93185594-13624211 2024-11-13 11:55:43,652 - DEBUG - VM ctest-TestBasicVMVNx-93185594-13624211 ID is ce7ac4f3-a17a-4d9e-99d8-3aca9d80282b 2024-11-13 11:55:43,674 - DEBUG - VM ctest-TestBasicVMVNx-93185594-13624211 launched on Node cn-jenkins-deploy-platform-ansible-os-2284-1 2024-11-13 11:55:43,770 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine/ce7ac4f3-a17a-4d9e-99d8-3aca9d80282b 2024-11-13 11:55:44,070 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine/ce7ac4f3-a17a-4d9e-99d8-3aca9d80282b 2024-11-13 11:55:44,118 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine-interface/74c016e4-7407-4d00-92d1-242076f3848c 2024-11-13 11:55:47,401 - 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 1015ms') 2024-11-13 11:55:47,401 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-93185594-13624211 failed! 2024-11-13 11:55:47,461 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-93185594:ctest-vn-86659138 is 98.255.152.65 and allocation pool is NOT set 2024-11-13 11:55:49,519 - 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=8.32 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.880 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.880/4.602/8.324/3.722 ms') 2024-11-13 11:55:49,519 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-93185594-13624211 passed 2024-11-13 11:55:49,681 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-13 11:55:49,681 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-93185594-13624211, IP 98.255.152.67, Port 22 2024-11-13 11:55:49,836 - DEBUG - VM ctest-TestBasicVMVNx-93185594-13624211 is ready for SSH connections 2024-11-13 11:55:49,836 - INFO - Waiting for VM ctest-TestBasicVMVNx-93185594-94881516 to be up.. 2024-11-13 11:55:49,922 - DEBUG - VM is in ACTIVE state now 2024-11-13 11:55:49,922 - INFO - VM name : ctest-TestBasicVMVNx-93185594-94881516 2024-11-13 11:55:50,003 - DEBUG - VM ctest-TestBasicVMVNx-93185594-94881516 ID is 6f02dd85-59b1-445a-8fc9-722b391ab192 2024-11-13 11:55:50,003 - DEBUG - VM ctest-TestBasicVMVNx-93185594-94881516 launched on Node cn-jenkins-deploy-platform-ansible-os-2284-1 2024-11-13 11:55:50,088 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine/6f02dd85-59b1-445a-8fc9-722b391ab192 2024-11-13 11:55:50,098 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine-interface/cdeaa7dc-1025-4414-bb90-8751cce28e8a 2024-11-13 11:55:51,357 - 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.548 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.548/1.919/3.291/1.371 ms') 2024-11-13 11:55:51,357 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-93185594-94881516 passed 2024-11-13 11:55:51,521 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-13 11:55:51,521 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-93185594-94881516, IP 98.255.152.68, Port 22 2024-11-13 11:55:51,676 - DEBUG - VM ctest-TestBasicVMVNx-93185594-94881516 is ready for SSH connections 2024-11-13 11:55:51,676 - DEBUG - FILE SIZE = 1303B 2024-11-13 11:55:51,676 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-93185594-13624211 to ctest-TestBasicVMVNx-93185594-94881516 using scp 2024-11-13 11:55:51,677 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-13 11:55:51,683 - 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.47, gateway password: c0ntrail123 2024-11-13 11:55:51,683 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-11-13 11:55:53,585 - DEBUG - 1+0 records in 1+0 records out 2024-11-13 11:55:54,401 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-13 11:55:54,736 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.47, gateway password: c0ntrail123 2024-11-13 11:55:54,736 - DEBUG - ls -l testfile 2024-11-13 11:55:56,320 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 13 04:55 testfile 2024-11-13 11:55:56,321 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-93185594-94881516 2024-11-13 11:55:56,321 - INFO - Deleting VM ctest-TestBasicVMVNx-93185594-94881516 2024-11-13 11:55:56,392 - INFO - Deleting VM ctest-TestBasicVMVNx-93185594-13624211 2024-11-13 11:55:56,456 - INFO - Deleting VN ctest-vn-86659138 2024-11-13 11:55:56,504 - DEBUG - VN 52ee8769-15c0-402f-a0a5-729ddbd77aa0 still in use: Unable to complete operation on network 52ee8769-15c0-402f-a0a5-729ddbd77aa0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f167251d-229c-4bbb-9ee0-c805318bc067'] 2024-11-13 11:55:56,505 - WARNING - Deleting VN ctest-vn-86659138 failed..Will retry 2024-11-13 11:55:58,618 - DEBUG - Response for deleting network () 2024-11-13 11:55:58,879 - DEBUG - No XMPP flaps were noticed during the test 2024-11-13 11:55:58,879 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2024-11-13 11:55:58,880 - INFO - -------------------------------------------------------------------------------- 2024-11-13 11:55:59,634 - INFO - Deleted project: ctest-TestBasicVMVNx-93185594, ID : e644d9b7-5f3f-4c6f-b0f5-bfc73cedb15d