2024-09-04 14:02:32,597 - INFO - Domain Default found not creating 2024-09-04 14:02:32,778 - INFO - Project ctest-TestBasicVMVNx-09446542 not found, creating it 2024-09-04 14:02:33,311 - INFO - Created Project:ctest-TestBasicVMVNx-09446542, ID : fce32df7-11f8-4142-9010-29288ec1be14 2024-09-04 14:02:34,926 - INFO - ================================================================================ 2024-09-04 14:02:34,926 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-04 14:02:34,926 - 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-04 14:02:35,186 - DEBUG - Nothing to compare xmpp stats {'10.0.0.53': {'10.20.0.23': '0'}} with 2024-09-04 14:02:35,186 - INFO - Initial checks done. Running the testcase now 2024-09-04 14:02:35,186 - INFO - 2024-09-04 14:02:35,758 - DEBUG - Response for create_network : {'network': {'id': '8fb6d0af-e614-4be6-a123-5da96f3768ef', 'name': 'ctest-vn-44278939', 'tenant_id': 'fce32df711f84142901029288ec1be14', 'project_id': 'fce32df711f84142901029288ec1be14', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-09446542', 'ctest-vn-44278939'], 'port_security_enabled': True, 'description': ''}} 2024-09-04 14:02:35,953 - DEBUG - Response for create_subnet : {'subnet': {'id': '9ec746c8-9f4c-4a84-8c3f-66a95a41d5d0', 'name': '', 'tenant_id': 'fce32df711f84142901029288ec1be14', 'network_id': '8fb6d0af-e614-4be6-a123-5da96f3768ef', 'ip_version': 4, 'cidr': '38.211.120.64/26', 'allocation_pools': [{'start': '38.211.120.66', 'end': '38.211.120.126'}], 'gateway_ip': '38.211.120.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '38.211.120.66', 'tags': [], 'project_id': 'fce32df711f84142901029288ec1be14'}} 2024-09-04 14:02:35,978 - INFO - Created VN ctest-vn-44278939 2024-09-04 14:02:36,031 - DEBUG - VN ctest-vn-44278939 UUID is 8fb6d0af-e614-4be6-a123-5da96f3768ef 2024-09-04 14:02:36,212 - DEBUG - Services list from nova: [, , ] 2024-09-04 14:02:37,296 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1841-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1841-1) 2024-09-04 14:02:38,501 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1841-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1841-1) 2024-09-04 14:02:38,501 - INFO - Waiting for VM ctest-TestBasicVMVNx-09446542-81559247 to be up.. 2024-09-04 14:02:38,609 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-04 14:02:43,701 - DEBUG - VM is in ACTIVE state now 2024-09-04 14:02:43,701 - INFO - VM name : ctest-TestBasicVMVNx-09446542-81559247 2024-09-04 14:02:43,790 - DEBUG - VM ctest-TestBasicVMVNx-09446542-81559247 ID is 69862f49-0271-4e8d-83fe-66a84743c4d3 2024-09-04 14:02:43,916 - DEBUG - VM ctest-TestBasicVMVNx-09446542-81559247 launched on Node cn-jenkins-deploy-platform-ansible-os-1841-1 2024-09-04 14:02:44,003 - DEBUG - Requesting: http://10.0.0.53:8082/virtual-machine/69862f49-0271-4e8d-83fe-66a84743c4d3 2024-09-04 14:02:44,310 - DEBUG - Requesting: http://10.0.0.53:8082/virtual-machine/69862f49-0271-4e8d-83fe-66a84743c4d3 2024-09-04 14:02:44,352 - DEBUG - Requesting: http://10.0.0.53:8082/virtual-machine-interface/b2ba50a0-e74c-4b50-83b6-a5d41b1ff86c 2024-09-04 14:02:47,622 - 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-04 14:02:47,622 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-09446542-81559247 failed! 2024-09-04 14:02:47,675 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-09446542:ctest-vn-44278939 is 38.211.120.65 and allocation pool is NOT set 2024-09-04 14:02:49,743 - 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=3.42 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.544 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.544/1.983/3.422/1.439 ms') 2024-09-04 14:02:49,743 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-09446542-81559247 passed 2024-09-04 14:02:49,895 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-04 14:02:49,895 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-09446542-81559247, IP 38.211.120.67, Port 22 2024-09-04 14:02:50,051 - DEBUG - VM ctest-TestBasicVMVNx-09446542-81559247 is ready for SSH connections 2024-09-04 14:02:50,051 - INFO - Waiting for VM ctest-TestBasicVMVNx-09446542-92345862 to be up.. 2024-09-04 14:02:50,144 - DEBUG - VM is in ACTIVE state now 2024-09-04 14:02:50,144 - INFO - VM name : ctest-TestBasicVMVNx-09446542-92345862 2024-09-04 14:02:50,246 - DEBUG - VM ctest-TestBasicVMVNx-09446542-92345862 ID is 24a945e7-427a-42b0-ac21-c95dfb8edc55 2024-09-04 14:02:50,246 - DEBUG - VM ctest-TestBasicVMVNx-09446542-92345862 launched on Node cn-jenkins-deploy-platform-ansible-os-1841-1 2024-09-04 14:02:50,335 - DEBUG - Requesting: http://10.0.0.53:8082/virtual-machine/24a945e7-427a-42b0-ac21-c95dfb8edc55 2024-09-04 14:02:50,345 - DEBUG - Requesting: http://10.0.0.53:8082/virtual-machine-interface/4c5e5666-5613-4bd0-b0ce-9b0eb0c8129b 2024-09-04 14:02:51,593 - 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.40 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.493 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.493/1.944/3.396/1.451 ms') 2024-09-04 14:02:51,593 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-09446542-92345862 passed 2024-09-04 14:02:51,751 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-04 14:02:51,751 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-09446542-92345862, IP 38.211.120.68, Port 22 2024-09-04 14:02:51,925 - DEBUG - VM ctest-TestBasicVMVNx-09446542-92345862 is ready for SSH connections 2024-09-04 14:02:51,925 - DEBUG - FILE SIZE = 1303B 2024-09-04 14:02:51,925 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-09446542-81559247 to ctest-TestBasicVMVNx-09446542-92345862 using scp 2024-09-04 14:02:51,926 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-04 14:02:51,931 - 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.53, gateway password: c0ntrail123 2024-09-04 14:02:51,931 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-04 14:02:53,949 - DEBUG - 1+0 records in 1+0 records out 2024-09-04 14:02:54,731 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-04 14:02:55,069 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.53, gateway password: c0ntrail123 2024-09-04 14:02:55,069 - DEBUG - ls -l testfile 2024-09-04 14:02:56,654 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 4 08:02 testfile 2024-09-04 14:02:56,654 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-09446542-92345862 2024-09-04 14:02:56,654 - INFO - Deleting VM ctest-TestBasicVMVNx-09446542-92345862 2024-09-04 14:02:56,730 - INFO - Deleting VM ctest-TestBasicVMVNx-09446542-81559247 2024-09-04 14:02:56,804 - INFO - Deleting VN ctest-vn-44278939 2024-09-04 14:02:56,849 - DEBUG - VN 8fb6d0af-e614-4be6-a123-5da96f3768ef still in use: Unable to complete operation on network 8fb6d0af-e614-4be6-a123-5da96f3768ef. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1abb1f0d-3e27-4b23-a0b0-e71767f6a7dd'] 2024-09-04 14:02:56,849 - WARNING - Deleting VN ctest-vn-44278939 failed..Will retry 2024-09-04 14:02:58,994 - DEBUG - Response for deleting network () 2024-09-04 14:02:59,269 - DEBUG - No XMPP flaps were noticed during the test
2024-09-04 14:02:59,269 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25]
2024-09-04 14:02:59,269 - INFO - -------------------------------------------------------------------------------- 2024-09-04 14:03:00,028 - INFO - Deleted project: ctest-TestBasicVMVNx-09446542, ID : fce32df7-11f8-4142-9010-29288ec1be14