2024-09-02 02:48:25,252 - INFO - Domain Default found not creating 2024-09-02 02:48:25,407 - INFO - Project ctest-TestBasicVMVNx-10165285 not found, creating it 2024-09-02 02:48:25,896 - INFO - Created Project:ctest-TestBasicVMVNx-10165285, ID : 6ed8cf9e-ecb3-4f1b-b41d-b5cf2a863b6f 2024-09-02 02:48:27,351 - INFO - ================================================================================ 2024-09-02 02:48:27,352 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-02 02:48:27,352 - 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-09-02 02:48:27,607 - DEBUG - Nothing to compare xmpp stats {'10.0.0.31': {'10.20.0.19': '0'}} with 2024-09-02 02:48:27,607 - INFO - Initial checks done. Running the testcase now 2024-09-02 02:48:27,607 - INFO - 2024-09-02 02:48:28,150 - DEBUG - Response for create_network : {'network': {'id': 'a95b8479-dc0f-4658-b7f2-90ab0da4b58d', 'name': 'ctest-vn-35553882', 'tenant_id': '6ed8cf9eecb34f1bb41db5cf2a863b6f', 'project_id': '6ed8cf9eecb34f1bb41db5cf2a863b6f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-10165285', 'ctest-vn-35553882'], 'port_security_enabled': True, 'description': ''}} 2024-09-02 02:48:28,364 - DEBUG - Response for create_subnet : {'subnet': {'id': '9dd94796-ca89-4935-b273-6f11fdc39fc3', 'name': '', 'tenant_id': '6ed8cf9eecb34f1bb41db5cf2a863b6f', 'network_id': 'a95b8479-dc0f-4658-b7f2-90ab0da4b58d', 'ip_version': 4, 'cidr': '163.204.154.64/26', 'allocation_pools': [{'start': '163.204.154.66', 'end': '163.204.154.126'}], 'gateway_ip': '163.204.154.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '163.204.154.66', 'tags': [], 'project_id': '6ed8cf9eecb34f1bb41db5cf2a863b6f'}} 2024-09-02 02:48:28,387 - INFO - Created VN ctest-vn-35553882 2024-09-02 02:48:28,438 - DEBUG - VN ctest-vn-35553882 UUID is a95b8479-dc0f-4658-b7f2-90ab0da4b58d 2024-09-02 02:48:28,599 - DEBUG - Services list from nova: [, , ] 2024-09-02 02:48:29,721 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1828-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1828-1) 2024-09-02 02:48:30,838 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1828-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1828-1) 2024-09-02 02:48:30,838 - INFO - Waiting for VM ctest-TestBasicVMVNx-10165285-09632041 to be up.. 2024-09-02 02:48:30,930 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-02 02:48:36,011 - DEBUG - VM is in ACTIVE state now 2024-09-02 02:48:36,011 - INFO - VM name : ctest-TestBasicVMVNx-10165285-09632041 2024-09-02 02:48:36,085 - DEBUG - VM ctest-TestBasicVMVNx-10165285-09632041 ID is c9814b42-ec90-4ce9-9818-571353b73624 2024-09-02 02:48:36,102 - DEBUG - VM ctest-TestBasicVMVNx-10165285-09632041 launched on Node cn-jenkins-deploy-platform-ansible-os-1828-1 2024-09-02 02:48:36,173 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/c9814b42-ec90-4ce9-9818-571353b73624 2024-09-02 02:48:36,476 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/c9814b42-ec90-4ce9-9818-571353b73624 2024-09-02 02:48:36,509 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/6b1257ac-a7b6-40b3-b4b1-86f0858efeb4 2024-09-02 02:48:39,769 - 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 1028ms') 2024-09-02 02:48:39,769 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-10165285-09632041 failed! 2024-09-02 02:48:39,822 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-10165285:ctest-vn-35553882 is 163.204.154.65 and allocation pool is NOT set 2024-09-02 02:48:43,903 - 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=2 ttl=63 time=5.84 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1020ms\r\nrtt min/avg/max/mdev = 5.838/5.838/5.838/0.000 ms') 2024-09-02 02:48:43,903 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-10165285-09632041 passed 2024-09-02 02:48:44,058 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-02 02:48:44,058 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-10165285-09632041, IP 163.204.154.67, Port 22 2024-09-02 02:48:44,214 - DEBUG - VM ctest-TestBasicVMVNx-10165285-09632041 is ready for SSH connections 2024-09-02 02:48:44,214 - INFO - Waiting for VM ctest-TestBasicVMVNx-10165285-31343733 to be up.. 2024-09-02 02:48:44,290 - DEBUG - VM is in ACTIVE state now 2024-09-02 02:48:44,290 - INFO - VM name : ctest-TestBasicVMVNx-10165285-31343733 2024-09-02 02:48:44,365 - DEBUG - VM ctest-TestBasicVMVNx-10165285-31343733 ID is 8f700fab-7394-4b30-8828-690e2f50cda6 2024-09-02 02:48:44,365 - DEBUG - VM ctest-TestBasicVMVNx-10165285-31343733 launched on Node cn-jenkins-deploy-platform-ansible-os-1828-1 2024-09-02 02:48:44,466 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/8f700fab-7394-4b30-8828-690e2f50cda6 2024-09-02 02:48:44,476 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/aff90561-528d-4b1e-8c73-1f14b359e6bc 2024-09-02 02:48:45,723 - 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.73 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.410 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.410/2.071/3.733/1.661 ms') 2024-09-02 02:48:45,723 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-10165285-31343733 passed 2024-09-02 02:48:45,894 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-02 02:48:45,894 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-10165285-31343733, IP 163.204.154.68, Port 22 2024-09-02 02:48:46,053 - DEBUG - VM ctest-TestBasicVMVNx-10165285-31343733 is ready for SSH connections 2024-09-02 02:48:46,053 - DEBUG - FILE SIZE = 1303B 2024-09-02 02:48:46,053 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-10165285-09632041 to ctest-TestBasicVMVNx-10165285-31343733 using scp 2024-09-02 02:48:46,054 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-02 02:48:46,058 - 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.31, gateway password: c0ntrail123 2024-09-02 02:48:46,058 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-02 02:48:47,622 - DEBUG - 1+0 records in 1+0 records out 2024-09-02 02:48:48,204 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-02 02:48:48,522 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.31, gateway password: c0ntrail123 2024-09-02 02:48:48,522 - DEBUG - ls -l testfile 2024-09-02 02:48:50,073 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 1 20:48 testfile 2024-09-02 02:48:50,074 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-10165285-31343733 2024-09-02 02:48:50,074 - INFO - Deleting VM ctest-TestBasicVMVNx-10165285-31343733 2024-09-02 02:48:50,189 - INFO - Deleting VM ctest-TestBasicVMVNx-10165285-09632041 2024-09-02 02:48:50,255 - INFO - Deleting VN ctest-vn-35553882 2024-09-02 02:48:50,295 - DEBUG - VN a95b8479-dc0f-4658-b7f2-90ab0da4b58d still in use: Unable to complete operation on network a95b8479-dc0f-4658-b7f2-90ab0da4b58d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4d6436ed-79f4-4899-b7f2-7c0af85a6529'] 2024-09-02 02:48:50,295 - WARNING - Deleting VN ctest-vn-35553882 failed..Will retry 2024-09-02 02:48:52,399 - DEBUG - Response for deleting network () 2024-09-02 02:48:52,655 - DEBUG - No XMPP flaps were noticed during the test 2024-09-02 02:48:52,655 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25] 2024-09-02 02:48:52,655 - INFO - -------------------------------------------------------------------------------- 2024-09-02 02:48:53,324 - INFO - Deleted project: ctest-TestBasicVMVNx-10165285, ID : 6ed8cf9e-ecb3-4f1b-b41d-b5cf2a863b6f