2024-08-26 17:14:33,038 - INFO - Domain Default found not creating 2024-08-26 17:14:33,214 - INFO - Project ctest-TestBasicVMVNx-59949767 not found, creating it 2024-08-26 17:14:33,728 - INFO - Created Project:ctest-TestBasicVMVNx-59949767, ID : fa898db4-5303-445d-82ed-85f780c0e0f0 2024-08-26 17:14:36,755 - INFO - ================================================================================ 2024-08-26 17:14:36,755 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-08-26 17:14:36,755 - 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-26 17:14:37,019 - DEBUG - Nothing to compare xmpp stats {'10.0.0.28': {'10.20.0.11': '0'}} with 2024-08-26 17:14:37,019 - INFO - Initial checks done. Running the testcase now 2024-08-26 17:14:37,020 - INFO - 2024-08-26 17:14:37,582 - DEBUG - Response for create_network : {'network': {'id': '7db8ff8d-f1bc-4715-a912-970ce22ecd89', 'name': 'ctest-vn-63583127', 'tenant_id': 'fa898db45303445d82ed85f780c0e0f0', 'project_id': 'fa898db45303445d82ed85f780c0e0f0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-59949767', 'ctest-vn-63583127'], 'port_security_enabled': True, 'description': ''}} 2024-08-26 17:14:37,807 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fa224ca0-840f-47ed-b88b-f76a0495f6c9', 'name': '', 'tenant_id': 'fa898db45303445d82ed85f780c0e0f0', 'network_id': '7db8ff8d-f1bc-4715-a912-970ce22ecd89', 'ip_version': 4, 'cidr': '201.8.200.0/26', 'allocation_pools': [{'start': '201.8.200.2', 'end': '201.8.200.62'}], 'gateway_ip': '201.8.200.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '201.8.200.2', 'tags': [], 'project_id': 'fa898db45303445d82ed85f780c0e0f0'}} 2024-08-26 17:14:37,827 - INFO - Created VN ctest-vn-63583127 2024-08-26 17:14:37,881 - DEBUG - VN ctest-vn-63583127 UUID is 7db8ff8d-f1bc-4715-a912-970ce22ecd89 2024-08-26 17:14:38,054 - DEBUG - Services list from nova: [, , ] 2024-08-26 17:14:39,136 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1764-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1764-1) 2024-08-26 17:14:40,289 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1764-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1764-1) 2024-08-26 17:14:40,289 - INFO - Waiting for VM ctest-TestBasicVMVNx-59949767-98732627 to be up.. 2024-08-26 17:14:40,365 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-26 17:14:45,449 - DEBUG - VM is in ACTIVE state now 2024-08-26 17:14:45,449 - INFO - VM name : ctest-TestBasicVMVNx-59949767-98732627 2024-08-26 17:14:45,524 - DEBUG - VM ctest-TestBasicVMVNx-59949767-98732627 ID is 4ac4c50d-6a8f-434a-aa97-5dd995113246 2024-08-26 17:14:45,542 - DEBUG - VM ctest-TestBasicVMVNx-59949767-98732627 launched on Node cn-jenkins-deploy-platform-ansible-os-1764-1 2024-08-26 17:14:45,619 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/4ac4c50d-6a8f-434a-aa97-5dd995113246 2024-08-26 17:14:45,914 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/4ac4c50d-6a8f-434a-aa97-5dd995113246 2024-08-26 17:14:45,949 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/3bc2781c-8e20-4169-b2b8-c7efd2d17348 2024-08-26 17:14:49,218 - 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 1029ms') 2024-08-26 17:14:49,218 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-59949767-98732627 failed! 2024-08-26 17:14:49,272 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-59949767:ctest-vn-63583127 is 201.8.200.1 and allocation pool is NOT set 2024-08-26 17:14:51,330 - 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=9.09 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.396 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.396/4.742/9.089/4.346 ms') 2024-08-26 17:14:51,330 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-59949767-98732627 passed 2024-08-26 17:14:51,480 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 17:14:51,481 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-59949767-98732627, IP 201.8.200.3, Port 22 2024-08-26 17:14:51,635 - DEBUG - VM ctest-TestBasicVMVNx-59949767-98732627 is ready for SSH connections 2024-08-26 17:14:51,636 - INFO - Waiting for VM ctest-TestBasicVMVNx-59949767-32694445 to be up.. 2024-08-26 17:14:51,714 - DEBUG - VM is in ACTIVE state now 2024-08-26 17:14:51,714 - INFO - VM name : ctest-TestBasicVMVNx-59949767-32694445 2024-08-26 17:14:51,794 - DEBUG - VM ctest-TestBasicVMVNx-59949767-32694445 ID is 979cde1c-97dd-415e-99a3-2d32fed6967c 2024-08-26 17:14:51,794 - DEBUG - VM ctest-TestBasicVMVNx-59949767-32694445 launched on Node cn-jenkins-deploy-platform-ansible-os-1764-1 2024-08-26 17:14:51,874 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/979cde1c-97dd-415e-99a3-2d32fed6967c 2024-08-26 17:14:51,882 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/98d24883-252d-4fd6-8281-934b1b681f0c 2024-08-26 17:14:53,124 - 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.08 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.376 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.376/1.728/3.081/1.352 ms') 2024-08-26 17:14:53,124 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-59949767-32694445 passed 2024-08-26 17:14:53,276 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 17:14:53,277 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-59949767-32694445, IP 201.8.200.4, Port 22 2024-08-26 17:14:53,432 - DEBUG - VM ctest-TestBasicVMVNx-59949767-32694445 is ready for SSH connections 2024-08-26 17:14:53,432 - DEBUG - FILE SIZE = 1303B 2024-08-26 17:14:53,432 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-59949767-98732627 to ctest-TestBasicVMVNx-59949767-32694445 using scp 2024-08-26 17:14:53,432 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 17:14:53,438 - 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.28, gateway password: c0ntrail123 2024-08-26 17:14:53,438 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-08-26 17:14:55,356 - DEBUG - 1+0 records in 1+0 records out 2024-08-26 17:14:55,930 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 17:14:56,248 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.28, gateway password: c0ntrail123 2024-08-26 17:14:56,248 - DEBUG - ls -l testfile 2024-08-26 17:14:56,827 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 26 11:14 testfile 2024-08-26 17:14:57,670 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-59949767-32694445 2024-08-26 17:14:57,670 - INFO - Deleting VM ctest-TestBasicVMVNx-59949767-32694445 2024-08-26 17:14:57,739 - INFO - Deleting VM ctest-TestBasicVMVNx-59949767-98732627 2024-08-26 17:14:57,813 - INFO - Deleting VN ctest-vn-63583127 2024-08-26 17:14:57,855 - DEBUG - VN 7db8ff8d-f1bc-4715-a912-970ce22ecd89 still in use: Unable to complete operation on network 7db8ff8d-f1bc-4715-a912-970ce22ecd89. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ed6abf35-2b05-4cd4-8e4e-b89b7ff0910d'] 2024-08-26 17:14:57,855 - WARNING - Deleting VN ctest-vn-63583127 failed..Will retry 2024-08-26 17:14:59,964 - DEBUG - Response for deleting network () 2024-08-26 17:15:00,227 - DEBUG - No XMPP flaps were noticed during the test 2024-08-26 17:15:00,227 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2024-08-26 17:15:00,227 - INFO - -------------------------------------------------------------------------------- 2024-08-26 17:15:00,908 - INFO - Deleted project: ctest-TestBasicVMVNx-59949767, ID : fa898db4-5303-445d-82ed-85f780c0e0f0