2024-09-13 14:06:09,285 - INFO - Domain Default found not creating 2024-09-13 14:06:09,462 - INFO - Project ctest-TestBasicVMVNx-65195423 not found, creating it 2024-09-13 14:06:09,939 - INFO - Created Project:ctest-TestBasicVMVNx-65195423, ID : ca8b13a4-7a85-4d9a-9920-e429346ba413 2024-09-13 14:06:11,453 - INFO - ================================================================================ 2024-09-13 14:06:11,453 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-13 14:06:11,453 - 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-13 14:06:11,718 - DEBUG - Nothing to compare xmpp stats {'10.0.0.30': {'10.20.0.29': '0'}} with 2024-09-13 14:06:11,718 - INFO - Initial checks done. Running the testcase now 2024-09-13 14:06:11,718 - INFO - 2024-09-13 14:06:12,341 - DEBUG - Response for create_network : {'network': {'id': '63a18a6b-9604-4ce7-aae3-eba9be2b86f8', 'name': 'ctest-vn-41051008', 'tenant_id': 'ca8b13a47a854d9a9920e429346ba413', 'project_id': 'ca8b13a47a854d9a9920e429346ba413', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-65195423', 'ctest-vn-41051008'], 'port_security_enabled': True, 'description': ''}} 2024-09-13 14:06:12,514 - DEBUG - Response for create_subnet : {'subnet': {'id': '7d1aac4c-535d-4d62-9929-503163fa3aa0', 'name': '', 'tenant_id': 'ca8b13a47a854d9a9920e429346ba413', 'network_id': '63a18a6b-9604-4ce7-aae3-eba9be2b86f8', 'ip_version': 4, 'cidr': '110.50.26.64/26', 'allocation_pools': [{'start': '110.50.26.66', 'end': '110.50.26.126'}], 'gateway_ip': '110.50.26.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '110.50.26.66', 'tags': [], 'project_id': 'ca8b13a47a854d9a9920e429346ba413'}} 2024-09-13 14:06:12,535 - INFO - Created VN ctest-vn-41051008 2024-09-13 14:06:12,591 - DEBUG - VN ctest-vn-41051008 UUID is 63a18a6b-9604-4ce7-aae3-eba9be2b86f8 2024-09-13 14:06:12,770 - DEBUG - Services list from nova: [, , ] 2024-09-13 14:06:13,854 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1921-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1921-1) 2024-09-13 14:06:15,059 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1921-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1921-1) 2024-09-13 14:06:15,059 - INFO - Waiting for VM ctest-TestBasicVMVNx-65195423-62740921 to be up.. 2024-09-13 14:06:15,267 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-13 14:06:20,347 - DEBUG - VM is in ACTIVE state now 2024-09-13 14:06:20,347 - INFO - VM name : ctest-TestBasicVMVNx-65195423-62740921 2024-09-13 14:06:20,440 - DEBUG - VM ctest-TestBasicVMVNx-65195423-62740921 ID is 0497d358-4e3b-434d-bf00-a1d8c5ba019e 2024-09-13 14:06:20,460 - DEBUG - VM ctest-TestBasicVMVNx-65195423-62740921 launched on Node cn-jenkins-deploy-platform-ansible-os-1921-1 2024-09-13 14:06:20,552 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/0497d358-4e3b-434d-bf00-a1d8c5ba019e 2024-09-13 14:06:20,860 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/0497d358-4e3b-434d-bf00-a1d8c5ba019e 2024-09-13 14:06:20,899 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/cc3dda01-0eb5-453a-8a85-36fed85c9551 2024-09-13 14:06:24,174 - 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 1027ms') 2024-09-13 14:06:24,174 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-65195423-62740921 failed! 2024-09-13 14:06:24,247 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-65195423:ctest-vn-41051008 is 110.50.26.65 and allocation pool is NOT set 2024-09-13 14:06:26,311 - 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.95 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.526 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.526/2.738/4.951/2.212 ms') 2024-09-13 14:06:26,311 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-65195423-62740921 passed 2024-09-13 14:06:26,471 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-13 14:06:26,471 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-65195423-62740921, IP 110.50.26.67, Port 22 2024-09-13 14:06:26,649 - DEBUG - VM ctest-TestBasicVMVNx-65195423-62740921 is ready for SSH connections 2024-09-13 14:06:26,649 - INFO - Waiting for VM ctest-TestBasicVMVNx-65195423-53084166 to be up.. 2024-09-13 14:06:26,735 - DEBUG - VM is in ACTIVE state now 2024-09-13 14:06:26,735 - INFO - VM name : ctest-TestBasicVMVNx-65195423-53084166 2024-09-13 14:06:26,817 - DEBUG - VM ctest-TestBasicVMVNx-65195423-53084166 ID is d062a09c-222b-4b36-893d-f89dde62046e 2024-09-13 14:06:26,817 - DEBUG - VM ctest-TestBasicVMVNx-65195423-53084166 launched on Node cn-jenkins-deploy-platform-ansible-os-1921-1 2024-09-13 14:06:26,908 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/d062a09c-222b-4b36-893d-f89dde62046e 2024-09-13 14:06:26,918 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/0e0a86cd-9f0c-4613-8f80-3e00d8e5631e 2024-09-13 14:06:28,174 - 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=4.04 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.04 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.039/2.539/4.039/1.500 ms') 2024-09-13 14:06:28,174 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-65195423-53084166 passed 2024-09-13 14:06:28,339 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-13 14:06:28,339 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-65195423-53084166, IP 110.50.26.68, Port 22 2024-09-13 14:06:28,494 - DEBUG - VM ctest-TestBasicVMVNx-65195423-53084166 is ready for SSH connections 2024-09-13 14:06:28,494 - DEBUG - FILE SIZE = 1303B 2024-09-13 14:06:28,494 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-65195423-62740921 to ctest-TestBasicVMVNx-65195423-53084166 using scp 2024-09-13 14:06:28,495 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-13 14:06:28,501 - 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-09-13 14:06:28,501 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-13 14:06:30,395 - DEBUG - 1+0 records in 1+0 records out 2024-09-13 14:06:31,172 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-13 14:06:31,490 - 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-09-13 14:06:31,490 - DEBUG - ls -l testfile 2024-09-13 14:06:33,075 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 13 08:06 testfile 2024-09-13 14:06:33,075 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-65195423-53084166 2024-09-13 14:06:33,075 - INFO - Deleting VM ctest-TestBasicVMVNx-65195423-53084166 2024-09-13 14:06:33,154 - INFO - Deleting VM ctest-TestBasicVMVNx-65195423-62740921 2024-09-13 14:06:33,238 - INFO - Deleting VN ctest-vn-41051008 2024-09-13 14:06:33,288 - DEBUG - VN 63a18a6b-9604-4ce7-aae3-eba9be2b86f8 still in use: Unable to complete operation on network 63a18a6b-9604-4ce7-aae3-eba9be2b86f8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-82c7f969-d7d8-4902-841f-ab6a16e96a13'] 2024-09-13 14:06:33,288 - WARNING - Deleting VN ctest-vn-41051008 failed..Will retry 2024-09-13 14:06:35,479 - DEBUG - Response for deleting network () 2024-09-13 14:06:35,760 - DEBUG - No XMPP flaps were noticed during the test 2024-09-13 14:06:35,761 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2024-09-13 14:06:35,761 - INFO - -------------------------------------------------------------------------------- 2024-09-13 14:06:36,461 - INFO - Deleted project: ctest-TestBasicVMVNx-65195423, ID : ca8b13a4-7a85-4d9a-9920-e429346ba413