2025-01-13 11:47:04,455 - INFO - Domain Default found not creating 2025-01-13 11:47:04,663 - INFO - Project ctest-TestBasicVMVNx-53758018 not found, creating it 2025-01-13 11:47:05,159 - INFO - Created Project:ctest-TestBasicVMVNx-53758018, ID : 3c3c7961-9b1a-4a5b-afa0-38cc8b40185b 2025-01-13 11:47:06,744 - INFO - ================================================================================ 2025-01-13 11:47:06,744 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-01-13 11:47:06,744 - 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 2025-01-13 11:47:07,006 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.24': '0'}} with 2025-01-13 11:47:07,006 - INFO - Initial checks done. Running the testcase now 2025-01-13 11:47:07,006 - INFO - 2025-01-13 11:47:07,592 - DEBUG - Response for create_network : {'network': {'id': '6ac92a4d-3676-4c67-9659-f1d3f3f0ef3e', 'name': 'ctest-vn-55997466', 'tenant_id': '3c3c79619b1a4a5bafa038cc8b40185b', 'project_id': '3c3c79619b1a4a5bafa038cc8b40185b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-53758018', 'ctest-vn-55997466'], 'port_security_enabled': True, 'description': ''}} 2025-01-13 11:47:07,801 - DEBUG - Response for create_subnet : {'subnet': {'id': '1634a00c-85cf-4a45-851d-02ca9ce39c99', 'name': '', 'tenant_id': '3c3c79619b1a4a5bafa038cc8b40185b', 'network_id': '6ac92a4d-3676-4c67-9659-f1d3f3f0ef3e', 'ip_version': 4, 'cidr': '90.21.52.64/26', 'allocation_pools': [{'start': '90.21.52.66', 'end': '90.21.52.126'}], 'gateway_ip': '90.21.52.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.21.52.66', 'tags': [], 'project_id': '3c3c79619b1a4a5bafa038cc8b40185b'}} 2025-01-13 11:47:07,822 - INFO - Created VN ctest-vn-55997466 2025-01-13 11:47:07,875 - DEBUG - VN ctest-vn-55997466 UUID is 6ac92a4d-3676-4c67-9659-f1d3f3f0ef3e 2025-01-13 11:47:08,061 - DEBUG - Services list from nova: [, , ] 2025-01-13 11:47:09,114 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2611-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2611-1) 2025-01-13 11:47:10,449 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2611-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2611-1) 2025-01-13 11:47:10,450 - INFO - Waiting for VM ctest-TestBasicVMVNx-53758018-65457030 to be up.. 2025-01-13 11:47:10,552 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-13 11:47:15,656 - DEBUG - VM is in ACTIVE state now 2025-01-13 11:47:15,657 - INFO - VM name : ctest-TestBasicVMVNx-53758018-65457030 2025-01-13 11:47:15,754 - DEBUG - VM ctest-TestBasicVMVNx-53758018-65457030 ID is c3dfb2d1-23ed-41d1-9a30-e0160db31345 2025-01-13 11:47:15,782 - DEBUG - VM ctest-TestBasicVMVNx-53758018-65457030 launched on Node cn-jenkins-deploy-platform-ansible-os-2611-1 2025-01-13 11:47:15,878 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/c3dfb2d1-23ed-41d1-9a30-e0160db31345 2025-01-13 11:47:16,175 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/c3dfb2d1-23ed-41d1-9a30-e0160db31345 2025-01-13 11:47:16,212 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/085ca740-2ba8-4b7d-815a-92ea088dbe60 2025-01-13 11:47:19,480 - 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 1011ms') 2025-01-13 11:47:19,481 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-53758018-65457030 failed! 2025-01-13 11:47:19,539 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-53758018:ctest-vn-55997466 is 90.21.52.65 and allocation pool is NOT set 2025-01-13 11:47:21,597 - 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=6.22 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.465 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.465/3.340/6.216/2.875 ms') 2025-01-13 11:47:21,597 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-53758018-65457030 passed 2025-01-13 11:47:21,759 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-13 11:47:21,759 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-53758018-65457030, IP 90.21.52.67, Port 22 2025-01-13 11:47:21,925 - DEBUG - VM ctest-TestBasicVMVNx-53758018-65457030 is ready for SSH connections 2025-01-13 11:47:21,925 - INFO - Waiting for VM ctest-TestBasicVMVNx-53758018-43369044 to be up.. 2025-01-13 11:47:22,021 - DEBUG - VM is in ACTIVE state now 2025-01-13 11:47:22,021 - INFO - VM name : ctest-TestBasicVMVNx-53758018-43369044 2025-01-13 11:47:22,111 - DEBUG - VM ctest-TestBasicVMVNx-53758018-43369044 ID is 71d5cc86-9e23-43d3-b639-f794883918e5 2025-01-13 11:47:22,112 - DEBUG - VM ctest-TestBasicVMVNx-53758018-43369044 launched on Node cn-jenkins-deploy-platform-ansible-os-2611-1 2025-01-13 11:47:22,196 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/71d5cc86-9e23-43d3-b639-f794883918e5 2025-01-13 11:47:22,206 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/07af690c-6e5d-4e14-87b3-2bf8a0f8a538 2025-01-13 11:47:23,475 - 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=3.73 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.706 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.706/2.218/3.731/1.512 ms') 2025-01-13 11:47:23,475 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-53758018-43369044 passed 2025-01-13 11:47:23,635 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-13 11:47:23,635 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-53758018-43369044, IP 90.21.52.68, Port 22 2025-01-13 11:47:23,790 - DEBUG - VM ctest-TestBasicVMVNx-53758018-43369044 is ready for SSH connections 2025-01-13 11:47:23,790 - DEBUG - FILE SIZE = 1303B 2025-01-13 11:47:23,790 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-53758018-65457030 to ctest-TestBasicVMVNx-53758018-43369044 using scp 2025-01-13 11:47:23,791 - 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.23, gateway password: c0ntrail123 2025-01-13 11:47:23,791 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-01-13 11:47:25,774 - DEBUG - 1+0 records in 1+0 records out 2025-01-13 11:47:26,622 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-13 11:47:26,949 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-01-13 11:47:26,949 - DEBUG - ls -l testfile 2025-01-13 11:47:28,562 - DEBUG - -rw------- 1 cirros cirros 1303 Jan 13 04:47 testfile 2025-01-13 11:47:28,563 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-53758018-43369044 2025-01-13 11:47:28,563 - INFO - Deleting VM ctest-TestBasicVMVNx-53758018-43369044 2025-01-13 11:47:28,655 - INFO - Deleting VM ctest-TestBasicVMVNx-53758018-65457030 2025-01-13 11:47:28,737 - INFO - Deleting VN ctest-vn-55997466 2025-01-13 11:47:28,785 - DEBUG - VN 6ac92a4d-3676-4c67-9659-f1d3f3f0ef3e still in use: Unable to complete operation on network 6ac92a4d-3676-4c67-9659-f1d3f3f0ef3e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1f0da2f3-465f-41c7-af61-6dc86ff5834d'] 2025-01-13 11:47:28,785 - WARNING - Deleting VN ctest-vn-55997466 failed..Will retry 2025-01-13 11:47:30,907 - DEBUG - Response for deleting network () 2025-01-13 11:47:31,174 - DEBUG - No XMPP flaps were noticed during the test 2025-01-13 11:47:31,174 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25] 2025-01-13 11:47:31,175 - INFO - -------------------------------------------------------------------------------- 2025-01-13 11:47:31,930 - INFO - Deleted project: ctest-TestBasicVMVNx-53758018, ID : 3c3c7961-9b1a-4a5b-afa0-38cc8b40185b