2024-09-03 10:40:17,413 - INFO - Domain Default found not creating 2024-09-03 10:40:17,586 - INFO - Project ctest-TestBasicVMVNx-67655735 not found, creating it 2024-09-03 10:40:18,089 - INFO - Created Project:ctest-TestBasicVMVNx-67655735, ID : 3117ee98-69e1-461c-b912-020c6c0a66b2 2024-09-03 10:40:19,702 - INFO - ================================================================================ 2024-09-03 10:40:19,702 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-03 10:40:19,702 - 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-03 10:40:19,957 - DEBUG - Nothing to compare xmpp stats {'10.0.0.31': {'10.20.0.7': '0'}} with 2024-09-03 10:40:19,957 - INFO - Initial checks done. Running the testcase now 2024-09-03 10:40:19,957 - INFO - 2024-09-03 10:40:20,482 - DEBUG - Response for create_network : {'network': {'id': '69ef0514-4901-4099-827b-2eeab3d10159', 'name': 'ctest-vn-26041158', 'tenant_id': '3117ee9869e1461cb912020c6c0a66b2', 'project_id': '3117ee9869e1461cb912020c6c0a66b2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-67655735', 'ctest-vn-26041158'], 'port_security_enabled': True, 'description': ''}} 2024-09-03 10:40:20,648 - DEBUG - Response for create_subnet : {'subnet': {'id': '179176b9-ca7b-41e9-817e-096f91fc3f13', 'name': '', 'tenant_id': '3117ee9869e1461cb912020c6c0a66b2', 'network_id': '69ef0514-4901-4099-827b-2eeab3d10159', 'ip_version': 4, 'cidr': '190.96.123.64/26', 'allocation_pools': [{'start': '190.96.123.66', 'end': '190.96.123.126'}], 'gateway_ip': '190.96.123.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '190.96.123.66', 'tags': [], 'project_id': '3117ee9869e1461cb912020c6c0a66b2'}} 2024-09-03 10:40:20,668 - INFO - Created VN ctest-vn-26041158 2024-09-03 10:40:20,719 - DEBUG - VN ctest-vn-26041158 UUID is 69ef0514-4901-4099-827b-2eeab3d10159 2024-09-03 10:40:20,903 - DEBUG - Services list from nova: [, , ] 2024-09-03 10:40:21,926 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1833-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1833-1) 2024-09-03 10:40:23,064 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1833-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1833-1) 2024-09-03 10:40:23,064 - INFO - Waiting for VM ctest-TestBasicVMVNx-67655735-94170137 to be up.. 2024-09-03 10:40:23,242 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-03 10:40:28,323 - DEBUG - VM is in ACTIVE state now 2024-09-03 10:40:28,323 - INFO - VM name : ctest-TestBasicVMVNx-67655735-94170137 2024-09-03 10:40:28,403 - DEBUG - VM ctest-TestBasicVMVNx-67655735-94170137 ID is 6dccd588-f7d5-43f7-89ec-219c09500d41 2024-09-03 10:40:28,426 - DEBUG - VM ctest-TestBasicVMVNx-67655735-94170137 launched on Node cn-jenkins-deploy-platform-ansible-os-1833-1 2024-09-03 10:40:28,516 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/6dccd588-f7d5-43f7-89ec-219c09500d41 2024-09-03 10:40:28,814 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/6dccd588-f7d5-43f7-89ec-219c09500d41 2024-09-03 10:40:28,851 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/69a4637a-6607-4765-8016-81f73e4e55fe 2024-09-03 10:40:32,112 - 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 1023ms') 2024-09-03 10:40:32,112 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-67655735-94170137 failed! 2024-09-03 10:40:32,167 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-67655735:ctest-vn-26041158 is 190.96.123.65 and allocation pool is NOT set 2024-09-03 10:40:34,229 - 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=4.47 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.503 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.503/2.485/4.468/1.982 ms') 2024-09-03 10:40:34,229 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-67655735-94170137 passed 2024-09-03 10:40:34,379 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-03 10:40:34,379 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-67655735-94170137, IP 190.96.123.67, Port 22 2024-09-03 10:40:34,534 - DEBUG - VM ctest-TestBasicVMVNx-67655735-94170137 is ready for SSH connections 2024-09-03 10:40:34,534 - INFO - Waiting for VM ctest-TestBasicVMVNx-67655735-53199953 to be up.. 2024-09-03 10:40:34,609 - DEBUG - VM is in ACTIVE state now 2024-09-03 10:40:34,610 - INFO - VM name : ctest-TestBasicVMVNx-67655735-53199953 2024-09-03 10:40:34,681 - DEBUG - VM ctest-TestBasicVMVNx-67655735-53199953 ID is 95c1291d-be52-490c-9bff-e71bb2ecf1bf 2024-09-03 10:40:34,681 - DEBUG - VM ctest-TestBasicVMVNx-67655735-53199953 launched on Node cn-jenkins-deploy-platform-ansible-os-1833-1 2024-09-03 10:40:34,754 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/95c1291d-be52-490c-9bff-e71bb2ecf1bf 2024-09-03 10:40:34,764 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/15740ec7-59cf-4815-ad98-55408169e9fb 2024-09-03 10:40:36,005 - 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.79 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.727 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.727/1.759/2.792/1.032 ms') 2024-09-03 10:40:36,006 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-67655735-53199953 passed 2024-09-03 10:40:36,155 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-03 10:40:36,155 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-67655735-53199953, IP 190.96.123.68, Port 22 2024-09-03 10:40:36,310 - DEBUG - VM ctest-TestBasicVMVNx-67655735-53199953 is ready for SSH connections 2024-09-03 10:40:36,310 - DEBUG - FILE SIZE = 1303B 2024-09-03 10:40:36,311 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-67655735-94170137 to ctest-TestBasicVMVNx-67655735-53199953 using scp 2024-09-03 10:40:36,311 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-03 10:40:36,317 - 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-03 10:40:36,318 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-03 10:40:38,257 - DEBUG - 1+0 records in 1+0 records out 2024-09-03 10:40:38,896 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-03 10:40:39,227 - 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-03 10:40:39,227 - DEBUG - ls -l testfile 2024-09-03 10:40:40,799 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 3 04:40 testfile 2024-09-03 10:40:40,799 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-67655735-53199953 2024-09-03 10:40:40,799 - INFO - Deleting VM ctest-TestBasicVMVNx-67655735-53199953 2024-09-03 10:40:40,870 - INFO - Deleting VM ctest-TestBasicVMVNx-67655735-94170137 2024-09-03 10:40:40,964 - INFO - Deleting VN ctest-vn-26041158 2024-09-03 10:40:41,005 - DEBUG - VN 69ef0514-4901-4099-827b-2eeab3d10159 still in use: Unable to complete operation on network 69ef0514-4901-4099-827b-2eeab3d10159. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f3543db8-bff5-4d67-9014-64d6a497daf2'] 2024-09-03 10:40:41,005 - WARNING - Deleting VN ctest-vn-26041158 failed..Will retry 2024-09-03 10:40:43,106 - DEBUG - Response for deleting network () 2024-09-03 10:40:43,361 - DEBUG - No XMPP flaps were noticed during the test
2024-09-03 10:40:43,361 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2024-09-03 10:40:43,361 - INFO - -------------------------------------------------------------------------------- 2024-09-03 10:40:44,030 - INFO - Deleted project: ctest-TestBasicVMVNx-67655735, ID : 3117ee98-69e1-461c-b912-020c6c0a66b2