2024-08-27 08:38:48,785 - INFO - Domain Default found not creating 2024-08-27 08:38:48,974 - INFO - Project ctest-TestBasicVMVNx-57214568 not found, creating it 2024-08-27 08:38:49,534 - INFO - Created Project:ctest-TestBasicVMVNx-57214568, ID : a040c58f-2a2a-4b3b-8076-529a569fe37b 2024-08-27 08:38:51,213 - INFO - ================================================================================ 2024-08-27 08:38:51,214 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-08-27 08:38:51,214 - 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-27 08:38:51,473 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.20': '0'}} with 2024-08-27 08:38:51,473 - INFO - Initial checks done. Running the testcase now 2024-08-27 08:38:51,473 - INFO - 2024-08-27 08:38:52,173 - DEBUG - Response for create_network : {'network': {'id': '957466b2-9ed8-4f6b-8a6c-c23f042f13ed', 'name': 'ctest-vn-52961326', 'tenant_id': 'a040c58f2a2a4b3b8076529a569fe37b', 'project_id': 'a040c58f2a2a4b3b8076529a569fe37b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-57214568', 'ctest-vn-52961326'], 'port_security_enabled': True, 'description': ''}} 2024-08-27 08:38:52,391 - DEBUG - Response for create_subnet : {'subnet': {'id': '477d6f1e-101c-4b7c-8d27-26f76bb1a483', 'name': '', 'tenant_id': 'a040c58f2a2a4b3b8076529a569fe37b', 'network_id': '957466b2-9ed8-4f6b-8a6c-c23f042f13ed', 'ip_version': 4, 'cidr': '107.183.131.128/26', 'allocation_pools': [{'start': '107.183.131.130', 'end': '107.183.131.190'}], 'gateway_ip': '107.183.131.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '107.183.131.130', 'tags': [], 'project_id': 'a040c58f2a2a4b3b8076529a569fe37b'}} 2024-08-27 08:38:52,415 - INFO - Created VN ctest-vn-52961326 2024-08-27 08:38:52,474 - DEBUG - VN ctest-vn-52961326 UUID is 957466b2-9ed8-4f6b-8a6c-c23f042f13ed 2024-08-27 08:38:52,668 - DEBUG - Services list from nova: [, , ] 2024-08-27 08:38:53,770 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1794-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1794-1) 2024-08-27 08:38:55,062 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1794-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1794-1) 2024-08-27 08:38:55,063 - INFO - Waiting for VM ctest-TestBasicVMVNx-57214568-40658026 to be up.. 2024-08-27 08:38:55,164 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-27 08:39:00,279 - DEBUG - VM is in ACTIVE state now 2024-08-27 08:39:00,280 - INFO - VM name : ctest-TestBasicVMVNx-57214568-40658026 2024-08-27 08:39:00,399 - DEBUG - VM ctest-TestBasicVMVNx-57214568-40658026 ID is b89ec222-9adb-4bf9-a574-43b8711c57bc 2024-08-27 08:39:00,424 - DEBUG - VM ctest-TestBasicVMVNx-57214568-40658026 launched on Node cn-jenkins-deploy-platform-ansible-os-1794-1 2024-08-27 08:39:00,528 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/b89ec222-9adb-4bf9-a574-43b8711c57bc 2024-08-27 08:39:00,830 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/b89ec222-9adb-4bf9-a574-43b8711c57bc 2024-08-27 08:39:00,869 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/f6ae08d9-c07b-420b-834c-b7999a7b1b47 2024-08-27 08:39:04,121 - 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 1006ms') 2024-08-27 08:39:04,121 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-57214568-40658026 failed! 2024-08-27 08:39:04,178 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-57214568:ctest-vn-52961326 is 107.183.131.129 and allocation pool is NOT set 2024-08-27 08:39:06,251 - 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=10.1 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=4.31 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 = 4.309/7.180/10.052/2.871 ms') 2024-08-27 08:39:06,251 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-57214568-40658026 passed 2024-08-27 08:39:06,406 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-27 08:39:06,406 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-57214568-40658026, IP 107.183.131.131, Port 22 2024-08-27 08:39:06,562 - DEBUG - VM ctest-TestBasicVMVNx-57214568-40658026 is ready for SSH connections 2024-08-27 08:39:06,562 - INFO - Waiting for VM ctest-TestBasicVMVNx-57214568-19973636 to be up.. 2024-08-27 08:39:06,650 - DEBUG - VM is in ACTIVE state now 2024-08-27 08:39:06,650 - INFO - VM name : ctest-TestBasicVMVNx-57214568-19973636 2024-08-27 08:39:06,751 - DEBUG - VM ctest-TestBasicVMVNx-57214568-19973636 ID is bbf5b8e9-acba-4764-8b6a-39ef873431c1 2024-08-27 08:39:06,752 - DEBUG - VM ctest-TestBasicVMVNx-57214568-19973636 launched on Node cn-jenkins-deploy-platform-ansible-os-1794-1 2024-08-27 08:39:06,846 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/bbf5b8e9-acba-4764-8b6a-39ef873431c1 2024-08-27 08:39:06,857 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/f3ed0643-4180-4985-8fcb-970a2c453684 2024-08-27 08:39:08,114 - 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.96 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.863 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 = 0.863/2.909/4.955/2.046 ms') 2024-08-27 08:39:08,114 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-57214568-19973636 passed 2024-08-27 08:39:08,266 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-27 08:39:08,266 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-57214568-19973636, IP 107.183.131.132, Port 22 2024-08-27 08:39:08,436 - DEBUG - VM ctest-TestBasicVMVNx-57214568-19973636 is ready for SSH connections 2024-08-27 08:39:08,436 - DEBUG - FILE SIZE = 1303B 2024-08-27 08:39:08,436 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-57214568-40658026 to ctest-TestBasicVMVNx-57214568-19973636 using scp 2024-08-27 08:39:08,437 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-27 08:39:08,444 - 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.27, gateway password: c0ntrail123 2024-08-27 08:39:08,444 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-08-27 08:39:10,439 - DEBUG - 1+0 records in 1+0 records out 2024-08-27 08:39:11,223 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-27 08:39:11,561 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2024-08-27 08:39:11,561 - DEBUG - ls -l testfile 2024-08-27 08:39:13,160 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 27 02:39 testfile 2024-08-27 08:39:13,160 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-57214568-19973636 2024-08-27 08:39:13,161 - INFO - Deleting VM ctest-TestBasicVMVNx-57214568-19973636 2024-08-27 08:39:13,246 - INFO - Deleting VM ctest-TestBasicVMVNx-57214568-40658026 2024-08-27 08:39:13,318 - INFO - Deleting VN ctest-vn-52961326 2024-08-27 08:39:13,364 - DEBUG - VN 957466b2-9ed8-4f6b-8a6c-c23f042f13ed still in use: Unable to complete operation on network 957466b2-9ed8-4f6b-8a6c-c23f042f13ed. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1e9f656a-5583-4c35-918b-e4f2523bb85b'] 2024-08-27 08:39:13,364 - WARNING - Deleting VN ctest-vn-52961326 failed..Will retry 2024-08-27 08:39:15,528 - DEBUG - Response for deleting network () 2024-08-27 08:39:15,789 - DEBUG - No XMPP flaps were noticed during the test 2024-08-27 08:39:15,789 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2024-08-27 08:39:15,789 - INFO - -------------------------------------------------------------------------------- 2024-08-27 08:39:16,583 - INFO - Deleted project: ctest-TestBasicVMVNx-57214568, ID : a040c58f-2a2a-4b3b-8076-529a569fe37b