2024-08-26 21:25:08,075 - INFO - Domain Default found not creating 2024-08-26 21:25:08,243 - INFO - Project ctest-TestBasicVMVNx-83739102 not found, creating it 2024-08-26 21:25:08,714 - INFO - Created Project:ctest-TestBasicVMVNx-83739102, ID : abc3b21b-0ad5-4d86-b7a3-490a980df1a0 2024-08-26 21:25:10,172 - INFO - ================================================================================ 2024-08-26 21:25:10,172 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-08-26 21:25:10,172 - 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 21:25:10,432 - DEBUG - Nothing to compare xmpp stats {'10.0.0.12': {'10.20.0.20': '0'}} with 2024-08-26 21:25:10,432 - INFO - Initial checks done. Running the testcase now 2024-08-26 21:25:10,432 - INFO - 2024-08-26 21:25:10,987 - DEBUG - Response for create_network : {'network': {'id': 'a1a7f141-176f-4246-8109-df499dc14076', 'name': 'ctest-vn-25343482', 'tenant_id': 'abc3b21b0ad54d86b7a3490a980df1a0', 'project_id': 'abc3b21b0ad54d86b7a3490a980df1a0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-83739102', 'ctest-vn-25343482'], 'port_security_enabled': True, 'description': ''}} 2024-08-26 21:25:11,220 - DEBUG - Response for create_subnet : {'subnet': {'id': '31e4e2a4-18f5-4e48-9127-42c8a162f928', 'name': '', 'tenant_id': 'abc3b21b0ad54d86b7a3490a980df1a0', 'network_id': 'a1a7f141-176f-4246-8109-df499dc14076', 'ip_version': 4, 'cidr': '197.242.235.0/26', 'allocation_pools': [{'start': '197.242.235.2', 'end': '197.242.235.62'}], 'gateway_ip': '197.242.235.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '197.242.235.2', 'tags': [], 'project_id': 'abc3b21b0ad54d86b7a3490a980df1a0'}} 2024-08-26 21:25:11,240 - INFO - Created VN ctest-vn-25343482 2024-08-26 21:25:11,293 - DEBUG - VN ctest-vn-25343482 UUID is a1a7f141-176f-4246-8109-df499dc14076 2024-08-26 21:25:11,458 - DEBUG - Services list from nova: [, , ] 2024-08-26 21:25:12,475 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1774-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1774-1) 2024-08-26 21:25:13,623 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1774-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1774-1) 2024-08-26 21:25:13,623 - INFO - Waiting for VM ctest-TestBasicVMVNx-83739102-36681377 to be up.. 2024-08-26 21:25:13,703 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-26 21:25:18,780 - DEBUG - VM is in ACTIVE state now 2024-08-26 21:25:18,780 - INFO - VM name : ctest-TestBasicVMVNx-83739102-36681377 2024-08-26 21:25:18,858 - DEBUG - VM ctest-TestBasicVMVNx-83739102-36681377 ID is e256a36a-41d0-4be4-938b-90d2c60d0551 2024-08-26 21:25:18,877 - DEBUG - VM ctest-TestBasicVMVNx-83739102-36681377 launched on Node cn-jenkins-deploy-platform-ansible-os-1774-1 2024-08-26 21:25:18,954 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/e256a36a-41d0-4be4-938b-90d2c60d0551 2024-08-26 21:25:19,260 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/e256a36a-41d0-4be4-938b-90d2c60d0551 2024-08-26 21:25:19,295 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/6ed6f2d3-2ac1-471d-a26c-ce7d9fd4f285 2024-08-26 21:25:22,549 - 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 1005ms') 2024-08-26 21:25:22,550 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-83739102-36681377 failed! 2024-08-26 21:25:22,605 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-83739102:ctest-vn-25343482 is 197.242.235.1 and allocation pool is NOT set 2024-08-26 21:25:24,671 - 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.38 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.02 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 = 1.020/5.199/9.379/4.179 ms') 2024-08-26 21:25:24,671 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-83739102-36681377 passed 2024-08-26 21:25:24,825 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 21:25:24,825 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-83739102-36681377, IP 197.242.235.3, Port 22 2024-08-26 21:25:24,981 - DEBUG - VM ctest-TestBasicVMVNx-83739102-36681377 is ready for SSH connections 2024-08-26 21:25:24,981 - INFO - Waiting for VM ctest-TestBasicVMVNx-83739102-02685598 to be up.. 2024-08-26 21:25:25,061 - DEBUG - VM is in ACTIVE state now 2024-08-26 21:25:25,061 - INFO - VM name : ctest-TestBasicVMVNx-83739102-02685598 2024-08-26 21:25:25,138 - DEBUG - VM ctest-TestBasicVMVNx-83739102-02685598 ID is f097540d-a7dc-4490-bd88-d5b029cb2cd3 2024-08-26 21:25:25,138 - DEBUG - VM ctest-TestBasicVMVNx-83739102-02685598 launched on Node cn-jenkins-deploy-platform-ansible-os-1774-1 2024-08-26 21:25:25,217 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/f097540d-a7dc-4490-bd88-d5b029cb2cd3 2024-08-26 21:25:25,226 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/655da269-4765-4718-b32b-b7341ccbbd5d 2024-08-26 21:25:26,461 - 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.07 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.400 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.400/1.732/3.065/1.332 ms') 2024-08-26 21:25:26,461 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-83739102-02685598 passed 2024-08-26 21:25:26,609 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 21:25:26,609 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-83739102-02685598, IP 197.242.235.4, Port 22 2024-08-26 21:25:26,769 - DEBUG - VM ctest-TestBasicVMVNx-83739102-02685598 is ready for SSH connections 2024-08-26 21:25:26,769 - DEBUG - FILE SIZE = 1303B 2024-08-26 21:25:26,769 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-83739102-36681377 to ctest-TestBasicVMVNx-83739102-02685598 using scp 2024-08-26 21:25:26,770 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 21:25:26,776 - 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-08-26 21:25:26,776 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-08-26 21:25:28,732 - DEBUG - 1+0 records in 1+0 records out 2024-08-26 21:25:29,348 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 21:25:29,674 - 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-08-26 21:25:29,675 - DEBUG - ls -l testfile 2024-08-26 21:25:31,243 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 26 15:25 testfile 2024-08-26 21:25:31,243 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-83739102-02685598 2024-08-26 21:25:31,243 - INFO - Deleting VM ctest-TestBasicVMVNx-83739102-02685598 2024-08-26 21:25:31,308 - INFO - Deleting VM ctest-TestBasicVMVNx-83739102-36681377 2024-08-26 21:25:31,382 - INFO - Deleting VN ctest-vn-25343482 2024-08-26 21:25:31,421 - DEBUG - VN a1a7f141-176f-4246-8109-df499dc14076 still in use: Unable to complete operation on network a1a7f141-176f-4246-8109-df499dc14076. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4e8daf36-60f9-4de5-a328-e1cd3577fe4a'] 2024-08-26 21:25:31,421 - WARNING - Deleting VN ctest-vn-25343482 failed..Will retry 2024-08-26 21:25:33,545 - DEBUG - Response for deleting network () 2024-08-26 21:25:33,803 - DEBUG - No XMPP flaps were noticed during the test 2024-08-26 21:25:33,803 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23] 2024-08-26 21:25:33,803 - INFO - -------------------------------------------------------------------------------- 2024-08-26 21:25:34,501 - INFO - Deleted project: ctest-TestBasicVMVNx-83739102, ID : abc3b21b-0ad5-4d86-b7a3-490a980df1a0