2025-01-08 09:21:22,575 - INFO - Domain Default found not creating 2025-01-08 09:21:22,729 - INFO - Project ctest-TestBasicVMVNx-66860687 not found, creating it 2025-01-08 09:21:23,192 - INFO - Created Project:ctest-TestBasicVMVNx-66860687, ID : f11e1fca-dbc8-401f-a7b6-f803f730f625 2025-01-08 09:21:24,919 - INFO - ================================================================================ 2025-01-08 09:21:24,919 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-01-08 09:21:24,920 - 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 2025-01-08 09:21:25,179 - DEBUG - Nothing to compare xmpp stats {'10.0.0.53': {'10.20.0.27': '0'}} with 2025-01-08 09:21:25,179 - INFO - Initial checks done. Running the testcase now 2025-01-08 09:21:25,179 - INFO - 2025-01-08 09:21:25,777 - DEBUG - Response for create_network : {'network': {'id': '87d9b1d6-d20a-44fe-a373-88d1dd38bea7', 'name': 'ctest-vn-04283857', 'tenant_id': 'f11e1fcadbc8401fa7b6f803f730f625', 'project_id': 'f11e1fcadbc8401fa7b6f803f730f625', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-66860687', 'ctest-vn-04283857'], 'port_security_enabled': True, 'description': ''}} 2025-01-08 09:21:25,935 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a98404f3-daa7-43fb-9072-21610cd49f04', 'name': '', 'tenant_id': 'f11e1fcadbc8401fa7b6f803f730f625', 'network_id': '87d9b1d6-d20a-44fe-a373-88d1dd38bea7', 'ip_version': 4, 'cidr': '154.179.68.0/26', 'allocation_pools': [{'start': '154.179.68.2', 'end': '154.179.68.62'}], 'gateway_ip': '154.179.68.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '154.179.68.2', 'tags': [], 'project_id': 'f11e1fcadbc8401fa7b6f803f730f625'}} 2025-01-08 09:21:25,954 - INFO - Created VN ctest-vn-04283857 2025-01-08 09:21:26,012 - DEBUG - VN ctest-vn-04283857 UUID is 87d9b1d6-d20a-44fe-a373-88d1dd38bea7 2025-01-08 09:21:26,190 - DEBUG - Services list from nova: [, , ] 2025-01-08 09:21:27,236 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2558-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2558-1) 2025-01-08 09:21:28,456 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2558-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2558-1) 2025-01-08 09:21:28,456 - INFO - Waiting for VM ctest-TestBasicVMVNx-66860687-68228228 to be up.. 2025-01-08 09:21:28,565 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-08 09:21:33,667 - DEBUG - VM is in ACTIVE state now 2025-01-08 09:21:33,667 - INFO - VM name : ctest-TestBasicVMVNx-66860687-68228228 2025-01-08 09:21:33,757 - DEBUG - VM ctest-TestBasicVMVNx-66860687-68228228 ID is 477e6ff9-a46b-4049-89b3-616eab684e85 2025-01-08 09:21:33,779 - DEBUG - VM ctest-TestBasicVMVNx-66860687-68228228 launched on Node cn-jenkins-deploy-platform-ansible-os-2558-1 2025-01-08 09:21:33,863 - DEBUG - Requesting: http://10.0.0.53:8082/virtual-machine/477e6ff9-a46b-4049-89b3-616eab684e85 2025-01-08 09:21:34,165 - DEBUG - Requesting: http://10.0.0.53:8082/virtual-machine/477e6ff9-a46b-4049-89b3-616eab684e85 2025-01-08 09:21:34,209 - DEBUG - Requesting: http://10.0.0.53:8082/virtual-machine-interface/fc8a01c2-2ee8-42c3-9a4c-0219fd4e0e55 2025-01-08 09:21:37,485 - 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') 2025-01-08 09:21:37,486 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-66860687-68228228 failed! 2025-01-08 09:21:37,544 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-66860687:ctest-vn-04283857 is 154.179.68.1 and allocation pool is NOT set 2025-01-08 09:21:39,610 - 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.72 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.854 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.854/2.287/3.721/1.433 ms') 2025-01-08 09:21:39,610 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-66860687-68228228 passed 2025-01-08 09:21:39,764 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-08 09:21:39,764 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-66860687-68228228, IP 154.179.68.3, Port 22 2025-01-08 09:21:39,919 - DEBUG - VM ctest-TestBasicVMVNx-66860687-68228228 is ready for SSH connections 2025-01-08 09:21:39,919 - INFO - Waiting for VM ctest-TestBasicVMVNx-66860687-60500388 to be up.. 2025-01-08 09:21:40,004 - DEBUG - VM is in ACTIVE state now 2025-01-08 09:21:40,004 - INFO - VM name : ctest-TestBasicVMVNx-66860687-60500388 2025-01-08 09:21:40,090 - DEBUG - VM ctest-TestBasicVMVNx-66860687-60500388 ID is 6a7e3422-4ac5-4d54-99b3-39b11d453dfc 2025-01-08 09:21:40,090 - DEBUG - VM ctest-TestBasicVMVNx-66860687-60500388 launched on Node cn-jenkins-deploy-platform-ansible-os-2558-1 2025-01-08 09:21:40,175 - DEBUG - Requesting: http://10.0.0.53:8082/virtual-machine/6a7e3422-4ac5-4d54-99b3-39b11d453dfc 2025-01-08 09:21:40,185 - DEBUG - Requesting: http://10.0.0.53:8082/virtual-machine-interface/9b041945-f279-420e-aac6-2d9b6527bdec 2025-01-08 09:21:41,441 - 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=5.28 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.918 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.918/3.097/5.276/2.179 ms') 2025-01-08 09:21:41,441 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-66860687-60500388 passed 2025-01-08 09:21:41,596 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-08 09:21:41,596 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-66860687-60500388, IP 154.179.68.4, Port 22 2025-01-08 09:21:41,761 - DEBUG - VM ctest-TestBasicVMVNx-66860687-60500388 is ready for SSH connections 2025-01-08 09:21:41,761 - DEBUG - FILE SIZE = 1303B 2025-01-08 09:21:41,761 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-66860687-68228228 to ctest-TestBasicVMVNx-66860687-60500388 using scp 2025-01-08 09:21:41,762 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-08 09:21:41,782 - 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.53, gateway password: c0ntrail123 2025-01-08 09:21:41,782 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-01-08 09:21:43,716 - DEBUG - 1+0 records in 1+0 records out 2025-01-08 09:21:44,504 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-08 09:21:44,839 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.53, gateway password: c0ntrail123 2025-01-08 09:21:44,840 - DEBUG - ls -l testfile 2025-01-08 09:21:46,439 - DEBUG - -rw------- 1 cirros cirros 1303 Jan 8 02:21 testfile 2025-01-08 09:21:46,439 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-66860687-60500388 2025-01-08 09:21:46,439 - INFO - Deleting VM ctest-TestBasicVMVNx-66860687-60500388 2025-01-08 09:21:46,519 - INFO - Deleting VM ctest-TestBasicVMVNx-66860687-68228228 2025-01-08 09:21:46,697 - INFO - Deleting VN ctest-vn-04283857 2025-01-08 09:21:46,734 - DEBUG - VN 87d9b1d6-d20a-44fe-a373-88d1dd38bea7 still in use: Unable to complete operation on network 87d9b1d6-d20a-44fe-a373-88d1dd38bea7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-047ce734-36b4-4a63-ace8-c40dc4c275ac'] 2025-01-08 09:21:46,734 - WARNING - Deleting VN ctest-vn-04283857 failed..Will retry 2025-01-08 09:21:48,861 - DEBUG - Response for deleting network () 2025-01-08 09:21:49,123 - DEBUG - No XMPP flaps were noticed during the test 2025-01-08 09:21:49,123 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25] 2025-01-08 09:21:49,123 - INFO - -------------------------------------------------------------------------------- 2025-01-08 09:21:49,822 - INFO - Deleted project: ctest-TestBasicVMVNx-66860687, ID : f11e1fca-dbc8-401f-a7b6-f803f730f625