2024-10-19 09:09:01,411 - INFO - Domain Default found not creating 2024-10-19 09:09:01,599 - INFO - Project ctest-TestBasicVMVNx-33143807 not found, creating it 2024-10-19 09:09:02,115 - INFO - Created Project:ctest-TestBasicVMVNx-33143807, ID : b0c1c7c8-bbb0-4ba2-8c37-b477a52b72e2 2024-10-19 09:09:03,636 - INFO - ================================================================================ 2024-10-19 09:09:03,636 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-10-19 09:09:03,636 - 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-10-19 09:09:03,896 - DEBUG - Nothing to compare xmpp stats {'10.0.0.30': {'10.20.0.12': '0'}} with 2024-10-19 09:09:03,896 - INFO - Initial checks done. Running the testcase now 2024-10-19 09:09:03,896 - INFO - 2024-10-19 09:09:04,482 - DEBUG - Response for create_network : {'network': {'id': '7a169349-806e-4b88-98b9-18a438da21a7', 'name': 'ctest-vn-34605484', 'tenant_id': 'b0c1c7c8bbb04ba28c37b477a52b72e2', 'project_id': 'b0c1c7c8bbb04ba28c37b477a52b72e2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-33143807', 'ctest-vn-34605484'], 'port_security_enabled': True, 'description': ''}} 2024-10-19 09:09:04,689 - DEBUG - Response for create_subnet : {'subnet': {'id': '15aac727-d59b-484b-a44b-5f18887847dd', 'name': '', 'tenant_id': 'b0c1c7c8bbb04ba28c37b477a52b72e2', 'network_id': '7a169349-806e-4b88-98b9-18a438da21a7', 'ip_version': 4, 'cidr': '188.50.237.128/26', 'allocation_pools': [{'start': '188.50.237.130', 'end': '188.50.237.190'}], 'gateway_ip': '188.50.237.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '188.50.237.130', 'tags': [], 'project_id': 'b0c1c7c8bbb04ba28c37b477a52b72e2'}} 2024-10-19 09:09:04,707 - INFO - Created VN ctest-vn-34605484 2024-10-19 09:09:04,764 - DEBUG - VN ctest-vn-34605484 UUID is 7a169349-806e-4b88-98b9-18a438da21a7 2024-10-19 09:09:04,940 - DEBUG - Services list from nova: [, , ] 2024-10-19 09:09:06,005 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2115-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2115-1) 2024-10-19 09:09:07,206 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2115-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2115-1) 2024-10-19 09:09:07,206 - INFO - Waiting for VM ctest-TestBasicVMVNx-33143807-93731350 to be up.. 2024-10-19 09:09:07,310 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-10-19 09:09:12,401 - DEBUG - VM is in ACTIVE state now 2024-10-19 09:09:12,402 - INFO - VM name : ctest-TestBasicVMVNx-33143807-93731350 2024-10-19 09:09:12,489 - DEBUG - VM ctest-TestBasicVMVNx-33143807-93731350 ID is 04d5ed4e-4918-4590-993a-f1afaddeeea5 2024-10-19 09:09:12,509 - DEBUG - VM ctest-TestBasicVMVNx-33143807-93731350 launched on Node cn-jenkins-deploy-platform-ansible-os-2115-1 2024-10-19 09:09:12,587 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/04d5ed4e-4918-4590-993a-f1afaddeeea5 2024-10-19 09:09:12,886 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/04d5ed4e-4918-4590-993a-f1afaddeeea5 2024-10-19 09:09:12,924 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/21f06ebe-8434-432a-9323-c12127b1dbf2 2024-10-19 09:09:16,185 - 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') 2024-10-19 09:09:16,185 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-33143807-93731350 failed! 2024-10-19 09:09:16,243 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-33143807:ctest-vn-34605484 is 188.50.237.129 and allocation pool is NOT set 2024-10-19 09:09:18,305 - 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.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.493 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.493/2.086/3.679/1.593 ms') 2024-10-19 09:09:18,305 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-33143807-93731350 passed 2024-10-19 09:09:18,463 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-19 09:09:18,463 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-33143807-93731350, IP 188.50.237.131, Port 22 2024-10-19 09:09:18,619 - DEBUG - VM ctest-TestBasicVMVNx-33143807-93731350 is ready for SSH connections 2024-10-19 09:09:18,619 - INFO - Waiting for VM ctest-TestBasicVMVNx-33143807-33623951 to be up.. 2024-10-19 09:09:18,714 - DEBUG - VM is in ACTIVE state now 2024-10-19 09:09:18,714 - INFO - VM name : ctest-TestBasicVMVNx-33143807-33623951 2024-10-19 09:09:18,810 - DEBUG - VM ctest-TestBasicVMVNx-33143807-33623951 ID is bc396e3f-1cb0-4c21-afb3-7d03259ee3f2 2024-10-19 09:09:18,810 - DEBUG - VM ctest-TestBasicVMVNx-33143807-33623951 launched on Node cn-jenkins-deploy-platform-ansible-os-2115-1 2024-10-19 09:09:18,905 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/bc396e3f-1cb0-4c21-afb3-7d03259ee3f2 2024-10-19 09:09:18,916 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/74d681c1-74d7-4f33-b2d7-8fb1e22c58f6 2024-10-19 09:09:20,177 - 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.89 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.858 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.858/2.373/3.888/1.515 ms') 2024-10-19 09:09:20,178 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-33143807-33623951 passed 2024-10-19 09:09:20,339 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-19 09:09:20,339 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-33143807-33623951, IP 188.50.237.132, Port 22 2024-10-19 09:09:20,495 - DEBUG - VM ctest-TestBasicVMVNx-33143807-33623951 is ready for SSH connections 2024-10-19 09:09:20,495 - DEBUG - FILE SIZE = 1303B 2024-10-19 09:09:20,495 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-33143807-93731350 to ctest-TestBasicVMVNx-33143807-33623951 using scp 2024-10-19 09:09:20,496 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-19 09:09:20,503 - 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.30, gateway password: c0ntrail123 2024-10-19 09:09:20,503 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-10-19 09:09:22,425 - DEBUG - 1+0 records in 1+0 records out 2024-10-19 09:09:23,034 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-19 09:09:23,360 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.30, gateway password: c0ntrail123 2024-10-19 09:09:23,360 - DEBUG - ls -l testfile 2024-10-19 09:09:24,943 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 19 03:09 testfile 2024-10-19 09:09:24,943 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-33143807-33623951 2024-10-19 09:09:24,943 - INFO - Deleting VM ctest-TestBasicVMVNx-33143807-33623951 2024-10-19 09:09:25,028 - INFO - Deleting VM ctest-TestBasicVMVNx-33143807-93731350 2024-10-19 09:09:25,104 - INFO - Deleting VN ctest-vn-34605484 2024-10-19 09:09:25,146 - DEBUG - VN 7a169349-806e-4b88-98b9-18a438da21a7 still in use: Unable to complete operation on network 7a169349-806e-4b88-98b9-18a438da21a7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bf201e36-26f2-4b8f-94d4-de682fb38c4a'] 2024-10-19 09:09:25,146 - WARNING - Deleting VN ctest-vn-34605484 failed..Will retry 2024-10-19 09:09:27,283 - DEBUG - Response for deleting network () 2024-10-19 09:09:27,537 - DEBUG - No XMPP flaps were noticed during the test 2024-10-19 09:09:27,537 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2024-10-19 09:09:27,537 - INFO - -------------------------------------------------------------------------------- 2024-10-19 09:09:28,320 - INFO - Deleted project: ctest-TestBasicVMVNx-33143807, ID : b0c1c7c8-bbb0-4ba2-8c37-b477a52b72e2