2024-09-17 22:49:34,704 - INFO - Domain Default found not creating 2024-09-17 22:49:34,901 - INFO - Project ctest-TestBasicVMVNx-33744503 not found, creating it 2024-09-17 22:49:35,405 - INFO - Created Project:ctest-TestBasicVMVNx-33744503, ID : f67d064c-1c3f-46dc-b779-de6938d5949a 2024-09-17 22:49:36,926 - INFO - ================================================================================ 2024-09-17 22:49:36,926 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-17 22:49:36,926 - 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-17 22:49:37,182 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.6': '0'}} with 2024-09-17 22:49:37,182 - INFO - Initial checks done. Running the testcase now 2024-09-17 22:49:37,182 - INFO - 2024-09-17 22:49:37,755 - DEBUG - Response for create_network : {'network': {'id': 'f7acf570-244f-47d5-b53f-be3e2665a289', 'name': 'ctest-vn-54167913', 'tenant_id': 'f67d064c1c3f46dcb779de6938d5949a', 'project_id': 'f67d064c1c3f46dcb779de6938d5949a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-33744503', 'ctest-vn-54167913'], 'port_security_enabled': True, 'description': ''}} 2024-09-17 22:49:37,944 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b7351495-9812-4601-896f-ae3a6fab5be7', 'name': '', 'tenant_id': 'f67d064c1c3f46dcb779de6938d5949a', 'network_id': 'f7acf570-244f-47d5-b53f-be3e2665a289', 'ip_version': 4, 'cidr': '90.124.222.64/26', 'allocation_pools': [{'start': '90.124.222.66', 'end': '90.124.222.126'}], 'gateway_ip': '90.124.222.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.124.222.66', 'tags': [], 'project_id': 'f67d064c1c3f46dcb779de6938d5949a'}} 2024-09-17 22:49:37,964 - INFO - Created VN ctest-vn-54167913 2024-09-17 22:49:38,019 - DEBUG - VN ctest-vn-54167913 UUID is f7acf570-244f-47d5-b53f-be3e2665a289 2024-09-17 22:49:38,188 - DEBUG - Services list from nova: [, , ] 2024-09-17 22:49:39,271 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1975-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1975-1) 2024-09-17 22:49:40,440 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1975-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1975-1) 2024-09-17 22:49:40,440 - INFO - Waiting for VM ctest-TestBasicVMVNx-33744503-40014098 to be up.. 2024-09-17 22:49:40,556 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-17 22:49:45,641 - DEBUG - VM is in ACTIVE state now 2024-09-17 22:49:45,641 - INFO - VM name : ctest-TestBasicVMVNx-33744503-40014098 2024-09-17 22:49:45,725 - DEBUG - VM ctest-TestBasicVMVNx-33744503-40014098 ID is ca773496-04c6-4910-8522-f0430ecbb73f 2024-09-17 22:49:45,746 - DEBUG - VM ctest-TestBasicVMVNx-33744503-40014098 launched on Node cn-jenkins-deploy-platform-ansible-os-1975-1 2024-09-17 22:49:45,843 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/ca773496-04c6-4910-8522-f0430ecbb73f 2024-09-17 22:49:46,141 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/ca773496-04c6-4910-8522-f0430ecbb73f 2024-09-17 22:49:46,182 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/438cf2aa-db78-4d37-a2ae-783adfa4fe21 2024-09-17 22:49:49,473 - 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-17 22:49:49,473 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-33744503-40014098 failed! 2024-09-17 22:49:49,535 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-33744503:ctest-vn-54167913 is 90.124.222.65 and allocation pool is NOT set 2024-09-17 22:49:51,601 - 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=2.70 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.443 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.443/1.573/2.704/1.130 ms') 2024-09-17 22:49:51,601 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-33744503-40014098 passed 2024-09-17 22:49:51,759 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 22:49:51,759 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-33744503-40014098, IP 90.124.222.67, Port 22 2024-09-17 22:49:51,914 - DEBUG - VM ctest-TestBasicVMVNx-33744503-40014098 is ready for SSH connections 2024-09-17 22:49:51,915 - INFO - Waiting for VM ctest-TestBasicVMVNx-33744503-48127196 to be up.. 2024-09-17 22:49:51,998 - DEBUG - VM is in ACTIVE state now 2024-09-17 22:49:51,998 - INFO - VM name : ctest-TestBasicVMVNx-33744503-48127196 2024-09-17 22:49:52,079 - DEBUG - VM ctest-TestBasicVMVNx-33744503-48127196 ID is b7a5650b-b7c4-44da-9ba4-d9147f1d29c5 2024-09-17 22:49:52,079 - DEBUG - VM ctest-TestBasicVMVNx-33744503-48127196 launched on Node cn-jenkins-deploy-platform-ansible-os-1975-1 2024-09-17 22:49:52,156 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/b7a5650b-b7c4-44da-9ba4-d9147f1d29c5 2024-09-17 22:49:52,167 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/4980924d-cdb7-4992-bb38-cad90b0beed0 2024-09-17 22:49:53,418 - 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.434 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.434/1.626/2.818/1.192 ms') 2024-09-17 22:49:53,419 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-33744503-48127196 passed 2024-09-17 22:49:53,579 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 22:49:53,579 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-33744503-48127196, IP 90.124.222.68, Port 22 2024-09-17 22:49:53,734 - DEBUG - VM ctest-TestBasicVMVNx-33744503-48127196 is ready for SSH connections 2024-09-17 22:49:53,734 - DEBUG - FILE SIZE = 1303B 2024-09-17 22:49:53,734 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-33744503-40014098 to ctest-TestBasicVMVNx-33744503-48127196 using scp 2024-09-17 22:49:53,735 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 22:49:53,740 - 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.33, gateway password: c0ntrail123 2024-09-17 22:49:53,740 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-17 22:49:55,622 - DEBUG - 1+0 records in 1+0 records out 2024-09-17 22:49:56,206 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 22:49:56,536 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2024-09-17 22:49:56,536 - DEBUG - ls -l testfile 2024-09-17 22:49:58,120 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 17 16:49 testfile 2024-09-17 22:49:58,120 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-33744503-48127196 2024-09-17 22:49:58,121 - INFO - Deleting VM ctest-TestBasicVMVNx-33744503-48127196 2024-09-17 22:49:58,190 - INFO - Deleting VM ctest-TestBasicVMVNx-33744503-40014098 2024-09-17 22:49:58,262 - INFO - Deleting VN ctest-vn-54167913 2024-09-17 22:49:58,299 - DEBUG - VN f7acf570-244f-47d5-b53f-be3e2665a289 still in use: Unable to complete operation on network f7acf570-244f-47d5-b53f-be3e2665a289. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-341497a2-4d0c-4164-9f5f-47f40e5ac06a'] 2024-09-17 22:49:58,299 - WARNING - Deleting VN ctest-vn-54167913 failed..Will retry 2024-09-17 22:50:00,416 - DEBUG - Response for deleting network () 2024-09-17 22:50:00,669 - DEBUG - No XMPP flaps were noticed during the test
2024-09-17 22:50:00,670 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2024-09-17 22:50:00,670 - INFO - -------------------------------------------------------------------------------- 2024-09-17 22:50:01,408 - INFO - Deleted project: ctest-TestBasicVMVNx-33744503, ID : f67d064c-1c3f-46dc-b779-de6938d5949a