2024-11-07 09:28:17,299 - INFO - Domain Default found not creating 2024-11-07 09:28:17,467 - INFO - Project ctest-TestBasicVMVNx-33066340 not found, creating it 2024-11-07 09:28:17,973 - INFO - Created Project:ctest-TestBasicVMVNx-33066340, ID : ecef030b-ed77-4ea4-baf3-13f2662c8e11 2024-11-07 09:28:19,422 - INFO - ================================================================================ 2024-11-07 09:28:19,422 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-11-07 09:28:19,422 - 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-07 09:28:19,680 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.8': '0'}} with 2024-11-07 09:28:19,681 - INFO - Initial checks done. Running the testcase now 2024-11-07 09:28:19,681 - INFO - 2024-11-07 09:28:20,244 - DEBUG - Response for create_network : {'network': {'id': 'bb459ccd-76ba-4341-9ca6-4010672e1b02', 'name': 'ctest-vn-13590073', 'tenant_id': 'ecef030bed774ea4baf313f2662c8e11', 'project_id': 'ecef030bed774ea4baf313f2662c8e11', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-33066340', 'ctest-vn-13590073'], 'port_security_enabled': True, 'description': ''}} 2024-11-07 09:28:20,424 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f3520c6e-5091-4922-8bcd-3fa4d1e0633e', 'name': '', 'tenant_id': 'ecef030bed774ea4baf313f2662c8e11', 'network_id': 'bb459ccd-76ba-4341-9ca6-4010672e1b02', 'ip_version': 4, 'cidr': '63.65.255.0/26', 'allocation_pools': [{'start': '63.65.255.2', 'end': '63.65.255.62'}], 'gateway_ip': '63.65.255.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '63.65.255.2', 'tags': [], 'project_id': 'ecef030bed774ea4baf313f2662c8e11'}} 2024-11-07 09:28:20,443 - INFO - Created VN ctest-vn-13590073 2024-11-07 09:28:20,503 - DEBUG - VN ctest-vn-13590073 UUID is bb459ccd-76ba-4341-9ca6-4010672e1b02 2024-11-07 09:28:20,676 - DEBUG - Services list from nova: [, , ] 2024-11-07 09:28:21,735 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2215-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2215-1) 2024-11-07 09:28:23,145 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2215-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2215-1) 2024-11-07 09:28:23,145 - INFO - Waiting for VM ctest-TestBasicVMVNx-33066340-80982203 to be up.. 2024-11-07 09:28:23,244 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-07 09:28:28,337 - DEBUG - VM is in ACTIVE state now 2024-11-07 09:28:28,337 - INFO - VM name : ctest-TestBasicVMVNx-33066340-80982203 2024-11-07 09:28:28,426 - DEBUG - VM ctest-TestBasicVMVNx-33066340-80982203 ID is 4b1d4e62-8cd7-45d4-bf11-047d2a6fd2d5 2024-11-07 09:28:28,450 - DEBUG - VM ctest-TestBasicVMVNx-33066340-80982203 launched on Node cn-jenkins-deploy-platform-ansible-os-2215-1 2024-11-07 09:28:28,537 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/4b1d4e62-8cd7-45d4-bf11-047d2a6fd2d5 2024-11-07 09:28:28,836 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/4b1d4e62-8cd7-45d4-bf11-047d2a6fd2d5 2024-11-07 09:28:28,875 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/c56b455f-f7a7-4f14-b655-59a9f56f43f3 2024-11-07 09:28:32,141 - 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 1011ms') 2024-11-07 09:28:32,141 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-33066340-80982203 failed! 2024-11-07 09:28:32,206 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-33066340:ctest-vn-13590073 is 63.65.255.1 and allocation pool is NOT set 2024-11-07 09:28:34,272 - 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=224 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.72 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.719/112.677/223.635/110.958 ms') 2024-11-07 09:28:34,272 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-33066340-80982203 passed 2024-11-07 09:28:34,430 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-07 09:28:34,431 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-33066340-80982203, IP 63.65.255.3, Port 22 2024-11-07 09:28:34,586 - DEBUG - VM ctest-TestBasicVMVNx-33066340-80982203 is ready for SSH connections 2024-11-07 09:28:34,586 - INFO - Waiting for VM ctest-TestBasicVMVNx-33066340-98587644 to be up.. 2024-11-07 09:28:34,668 - DEBUG - VM is in ACTIVE state now 2024-11-07 09:28:34,669 - INFO - VM name : ctest-TestBasicVMVNx-33066340-98587644 2024-11-07 09:28:34,750 - DEBUG - VM ctest-TestBasicVMVNx-33066340-98587644 ID is 8a7b9b85-b9c2-4842-a7b9-7fe908c42610 2024-11-07 09:28:34,750 - DEBUG - VM ctest-TestBasicVMVNx-33066340-98587644 launched on Node cn-jenkins-deploy-platform-ansible-os-2215-1 2024-11-07 09:28:34,834 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/8a7b9b85-b9c2-4842-a7b9-7fe908c42610 2024-11-07 09:28:34,844 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/ff7fa1e8-c388-4b2b-8bb9-98f9de6df1ce 2024-11-07 09:28:36,095 - 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=2.82 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.404 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.404/1.610/2.816/1.206 ms') 2024-11-07 09:28:36,095 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-33066340-98587644 passed 2024-11-07 09:28:36,250 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-07 09:28:36,251 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-33066340-98587644, IP 63.65.255.4, Port 22 2024-11-07 09:28:36,406 - DEBUG - VM ctest-TestBasicVMVNx-33066340-98587644 is ready for SSH connections 2024-11-07 09:28:36,406 - DEBUG - FILE SIZE = 1303B 2024-11-07 09:28:36,406 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-33066340-80982203 to ctest-TestBasicVMVNx-33066340-98587644 using scp 2024-11-07 09:28:36,407 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-07 09:28:36,411 - 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.22, gateway password: c0ntrail123 2024-11-07 09:28:36,411 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-11-07 09:28:38,298 - DEBUG - 1+0 records in 1+0 records out 2024-11-07 09:28:39,095 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-07 09:28:39,434 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2024-11-07 09:28:39,434 - DEBUG - ls -l testfile 2024-11-07 09:28:41,021 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 7 02:28 testfile 2024-11-07 09:28:41,021 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-33066340-98587644 2024-11-07 09:28:41,022 - INFO - Deleting VM ctest-TestBasicVMVNx-33066340-98587644 2024-11-07 09:28:41,086 - INFO - Deleting VM ctest-TestBasicVMVNx-33066340-80982203 2024-11-07 09:28:41,156 - INFO - Deleting VN ctest-vn-13590073 2024-11-07 09:28:41,205 - DEBUG - VN bb459ccd-76ba-4341-9ca6-4010672e1b02 still in use: Unable to complete operation on network bb459ccd-76ba-4341-9ca6-4010672e1b02. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2f0f1367-f500-44c4-96fd-c9bd7f613ce9'] 2024-11-07 09:28:41,205 - WARNING - Deleting VN ctest-vn-13590073 failed..Will retry 2024-11-07 09:28:43,314 - DEBUG - Response for deleting network () 2024-11-07 09:28:43,568 - DEBUG - No XMPP flaps were noticed during the test 2024-11-07 09:28:43,569 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2024-11-07 09:28:43,569 - INFO - -------------------------------------------------------------------------------- 2024-11-07 09:28:44,306 - INFO - Deleted project: ctest-TestBasicVMVNx-33066340, ID : ecef030b-ed77-4ea4-baf3-13f2662c8e11