2024-08-26 17:14:30,032 - INFO - Domain Default found not creating 2024-08-26 17:14:30,205 - INFO - Project ctest-TestBasicVMVNx-63317877 not found, creating it 2024-08-26 17:14:30,694 - INFO - Created Project:ctest-TestBasicVMVNx-63317877, ID : 9bcf07fe-e61d-4f73-a3b7-c2dc57cab959 2024-08-26 17:14:32,258 - INFO - ================================================================================ 2024-08-26 17:14:32,258 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-08-26 17:14:32,258 - 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-08-26 17:14:32,531 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.25': '0'}} with 2024-08-26 17:14:32,531 - INFO - Initial checks done. Running the testcase now 2024-08-26 17:14:32,532 - INFO - 2024-08-26 17:14:33,126 - DEBUG - Response for create_network : {'network': {'id': '72dbbf24-3540-445d-81f3-73145532c834', 'name': 'ctest-vn-10657555', 'tenant_id': '9bcf07fee61d4f73a3b7c2dc57cab959', 'project_id': '9bcf07fee61d4f73a3b7c2dc57cab959', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-63317877', 'ctest-vn-10657555'], 'port_security_enabled': True, 'description': ''}} 2024-08-26 17:14:33,299 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd48cf28e-e4cf-4e62-8bfb-7883607d7fe5', 'name': '', 'tenant_id': '9bcf07fee61d4f73a3b7c2dc57cab959', 'network_id': '72dbbf24-3540-445d-81f3-73145532c834', 'ip_version': 4, 'cidr': '208.223.171.192/26', 'allocation_pools': [{'start': '208.223.171.194', 'end': '208.223.171.254'}], 'gateway_ip': '208.223.171.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '208.223.171.194', 'tags': [], 'project_id': '9bcf07fee61d4f73a3b7c2dc57cab959'}} 2024-08-26 17:14:33,324 - INFO - Created VN ctest-vn-10657555 2024-08-26 17:14:33,385 - DEBUG - VN ctest-vn-10657555 UUID is 72dbbf24-3540-445d-81f3-73145532c834 2024-08-26 17:14:33,659 - DEBUG - Services list from nova: [, , ] 2024-08-26 17:14:34,718 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1765-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1765-1) 2024-08-26 17:14:35,957 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1765-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1765-1) 2024-08-26 17:14:35,958 - INFO - Waiting for VM ctest-TestBasicVMVNx-63317877-14699561 to be up.. 2024-08-26 17:14:36,056 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-26 17:14:41,151 - DEBUG - VM is in ACTIVE state now 2024-08-26 17:14:41,151 - INFO - VM name : ctest-TestBasicVMVNx-63317877-14699561 2024-08-26 17:14:41,253 - DEBUG - VM ctest-TestBasicVMVNx-63317877-14699561 ID is bf67a5a6-2f52-4784-96de-1ad9343e57c7 2024-08-26 17:14:41,276 - DEBUG - VM ctest-TestBasicVMVNx-63317877-14699561 launched on Node cn-jenkins-deploy-platform-ansible-os-1765-1 2024-08-26 17:14:41,358 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/bf67a5a6-2f52-4784-96de-1ad9343e57c7 2024-08-26 17:14:41,671 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/bf67a5a6-2f52-4784-96de-1ad9343e57c7 2024-08-26 17:14:41,711 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/816a7b2c-2568-4990-944d-7883b6fc81d0 2024-08-26 17:14:44,973 - 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 1026ms') 2024-08-26 17:14:44,974 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-63317877-14699561 failed! 2024-08-26 17:14:45,024 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-63317877:ctest-vn-10657555 is 208.223.171.193 and allocation pool is NOT set 2024-08-26 17:14:47,090 - 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.37 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.456 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 = 0.456/2.410/4.365/1.954 ms') 2024-08-26 17:14:47,090 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-63317877-14699561 passed 2024-08-26 17:14:47,245 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 17:14:47,245 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-63317877-14699561, IP 208.223.171.195, Port 22 2024-08-26 17:14:47,401 - DEBUG - VM ctest-TestBasicVMVNx-63317877-14699561 is ready for SSH connections 2024-08-26 17:14:47,401 - INFO - Waiting for VM ctest-TestBasicVMVNx-63317877-23997067 to be up.. 2024-08-26 17:14:47,481 - DEBUG - VM is in ACTIVE state now 2024-08-26 17:14:47,481 - INFO - VM name : ctest-TestBasicVMVNx-63317877-23997067 2024-08-26 17:14:47,559 - DEBUG - VM ctest-TestBasicVMVNx-63317877-23997067 ID is 609bd4f0-196f-4dcb-a195-b2b6b11e97b2 2024-08-26 17:14:47,559 - DEBUG - VM ctest-TestBasicVMVNx-63317877-23997067 launched on Node cn-jenkins-deploy-platform-ansible-os-1765-1 2024-08-26 17:14:47,641 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/609bd4f0-196f-4dcb-a195-b2b6b11e97b2 2024-08-26 17:14:47,649 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/d130b7fb-532b-4dd6-a932-1b4fd3727f8f 2024-08-26 17:14:48,907 - 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.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.844 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.844/1.770/2.697/0.926 ms') 2024-08-26 17:14:48,907 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-63317877-23997067 passed 2024-08-26 17:14:49,057 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 17:14:49,057 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-63317877-23997067, IP 208.223.171.196, Port 22 2024-08-26 17:14:49,212 - DEBUG - VM ctest-TestBasicVMVNx-63317877-23997067 is ready for SSH connections 2024-08-26 17:14:49,212 - DEBUG - FILE SIZE = 1303B 2024-08-26 17:14:49,212 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-63317877-14699561 to ctest-TestBasicVMVNx-63317877-23997067 using scp 2024-08-26 17:14:49,213 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 17:14:49,219 - 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.49, gateway password: c0ntrail123 2024-08-26 17:14:49,220 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-08-26 17:14:51,134 - DEBUG - 1+0 records in 1+0 records out 2024-08-26 17:14:51,926 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 17:14:52,257 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2024-08-26 17:14:52,257 - DEBUG - ls -l testfile 2024-08-26 17:14:53,831 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 26 11:14 testfile 2024-08-26 17:14:53,831 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-63317877-23997067 2024-08-26 17:14:53,831 - INFO - Deleting VM ctest-TestBasicVMVNx-63317877-23997067 2024-08-26 17:14:53,901 - INFO - Deleting VM ctest-TestBasicVMVNx-63317877-14699561 2024-08-26 17:14:53,979 - INFO - Deleting VN ctest-vn-10657555 2024-08-26 17:14:54,022 - DEBUG - VN 72dbbf24-3540-445d-81f3-73145532c834 still in use: Unable to complete operation on network 72dbbf24-3540-445d-81f3-73145532c834. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e207149e-41b8-434f-beef-997ee08fdb70'] 2024-08-26 17:14:54,022 - WARNING - Deleting VN ctest-vn-10657555 failed..Will retry 2024-08-26 17:14:56,135 - DEBUG - Response for deleting network () 2024-08-26 17:14:56,399 - DEBUG - No XMPP flaps were noticed during the test 2024-08-26 17:14:56,399 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2024-08-26 17:14:56,399 - INFO - -------------------------------------------------------------------------------- 2024-08-26 17:14:57,104 - INFO - Deleted project: ctest-TestBasicVMVNx-63317877, ID : 9bcf07fe-e61d-4f73-a3b7-c2dc57cab959