2025-01-10 21:54:50,359 - INFO - Domain Default found not creating 2025-01-10 21:54:50,541 - INFO - Project ctest-TestBasicVMVNx-29449046 not found, creating it 2025-01-10 21:54:51,061 - INFO - Created Project:ctest-TestBasicVMVNx-29449046, ID : 5510e808-2878-45b7-be06-e54a52f6f605 2025-01-10 21:54:52,656 - INFO - ================================================================================ 2025-01-10 21:54:52,656 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-01-10 21:54:52,656 - 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-10 21:54:52,927 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.7': '0'}} with 2025-01-10 21:54:52,927 - INFO - Initial checks done. Running the testcase now 2025-01-10 21:54:52,927 - INFO - 2025-01-10 21:54:53,554 - DEBUG - Response for create_network : {'network': {'id': 'b11f14bc-e884-459b-ba77-eb5eed3f2a29', 'name': 'ctest-vn-60289755', 'tenant_id': '5510e808287845b7be06e54a52f6f605', 'project_id': '5510e808287845b7be06e54a52f6f605', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-29449046', 'ctest-vn-60289755'], 'port_security_enabled': True, 'description': ''}} 2025-01-10 21:54:53,787 - DEBUG - Response for create_subnet : {'subnet': {'id': '8770db29-1c87-4548-b955-166e899b9cb8', 'name': '', 'tenant_id': '5510e808287845b7be06e54a52f6f605', 'network_id': 'b11f14bc-e884-459b-ba77-eb5eed3f2a29', 'ip_version': 4, 'cidr': '70.164.119.128/26', 'allocation_pools': [{'start': '70.164.119.130', 'end': '70.164.119.190'}], 'gateway_ip': '70.164.119.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '70.164.119.130', 'tags': [], 'project_id': '5510e808287845b7be06e54a52f6f605'}} 2025-01-10 21:54:53,808 - INFO - Created VN ctest-vn-60289755 2025-01-10 21:54:53,869 - DEBUG - VN ctest-vn-60289755 UUID is b11f14bc-e884-459b-ba77-eb5eed3f2a29 2025-01-10 21:54:54,063 - DEBUG - Services list from nova: [, , ] 2025-01-10 21:54:55,142 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2600-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2600-1) 2025-01-10 21:54:56,365 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2600-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2600-1) 2025-01-10 21:54:56,366 - INFO - Waiting for VM ctest-TestBasicVMVNx-29449046-82059145 to be up.. 2025-01-10 21:54:56,456 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-10 21:55:01,562 - DEBUG - VM is in ACTIVE state now 2025-01-10 21:55:01,562 - INFO - VM name : ctest-TestBasicVMVNx-29449046-82059145 2025-01-10 21:55:01,654 - DEBUG - VM ctest-TestBasicVMVNx-29449046-82059145 ID is 198c3161-b636-4186-9510-0633724d60d2 2025-01-10 21:55:01,675 - DEBUG - VM ctest-TestBasicVMVNx-29449046-82059145 launched on Node cn-jenkins-deploy-platform-ansible-os-2600-1 2025-01-10 21:55:01,773 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/198c3161-b636-4186-9510-0633724d60d2 2025-01-10 21:55:02,107 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/198c3161-b636-4186-9510-0633724d60d2 2025-01-10 21:55:02,168 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/f44d560a-be04-409a-83ec-8c77ac019b3a 2025-01-10 21:55:05,470 - 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 1010ms') 2025-01-10 21:55:05,470 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-29449046-82059145 failed! 2025-01-10 21:55:05,525 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-29449046:ctest-vn-60289755 is 70.164.119.129 and allocation pool is NOT set 2025-01-10 21:55:07,582 - 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.47 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.869 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.869/2.670/4.472/1.801 ms') 2025-01-10 21:55:07,582 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-29449046-82059145 passed 2025-01-10 21:55:07,737 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-10 21:55:07,737 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-29449046-82059145, IP 70.164.119.131, Port 22 2025-01-10 21:55:07,892 - DEBUG - VM ctest-TestBasicVMVNx-29449046-82059145 is ready for SSH connections 2025-01-10 21:55:07,892 - INFO - Waiting for VM ctest-TestBasicVMVNx-29449046-81357506 to be up.. 2025-01-10 21:55:07,986 - DEBUG - VM is in ACTIVE state now 2025-01-10 21:55:07,986 - INFO - VM name : ctest-TestBasicVMVNx-29449046-81357506 2025-01-10 21:55:08,077 - DEBUG - VM ctest-TestBasicVMVNx-29449046-81357506 ID is fdff9e92-37b1-41fc-b64c-407504eb8e84 2025-01-10 21:55:08,078 - DEBUG - VM ctest-TestBasicVMVNx-29449046-81357506 launched on Node cn-jenkins-deploy-platform-ansible-os-2600-1 2025-01-10 21:55:08,172 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/fdff9e92-37b1-41fc-b64c-407504eb8e84 2025-01-10 21:55:08,182 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/5f46aefd-7948-4dbc-b5e5-704e7574be69 2025-01-10 21:55:09,431 - 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=6.08 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.12 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.116/3.597/6.078/2.481 ms') 2025-01-10 21:55:09,431 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-29449046-81357506 passed 2025-01-10 21:55:09,585 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-10 21:55:09,585 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-29449046-81357506, IP 70.164.119.132, Port 22 2025-01-10 21:55:09,741 - DEBUG - VM ctest-TestBasicVMVNx-29449046-81357506 is ready for SSH connections 2025-01-10 21:55:09,741 - DEBUG - FILE SIZE = 1303B 2025-01-10 21:55:09,741 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-29449046-82059145 to ctest-TestBasicVMVNx-29449046-81357506 using scp 2025-01-10 21:55:09,742 - 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.41, gateway password: c0ntrail123 2025-01-10 21:55:09,742 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-01-10 21:55:11,702 - DEBUG - 1+0 records in 1+0 records out 2025-01-10 21:55:12,330 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-10 21:55:12,668 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-01-10 21:55:12,668 - DEBUG - ls -l testfile 2025-01-10 21:55:14,285 - DEBUG - -rw------- 1 cirros cirros 1303 Jan 10 14:55 testfile 2025-01-10 21:55:14,285 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-29449046-81357506 2025-01-10 21:55:14,285 - INFO - Deleting VM ctest-TestBasicVMVNx-29449046-81357506 2025-01-10 21:55:14,364 - INFO - Deleting VM ctest-TestBasicVMVNx-29449046-82059145 2025-01-10 21:55:14,447 - INFO - Deleting VN ctest-vn-60289755 2025-01-10 21:55:14,488 - DEBUG - VN b11f14bc-e884-459b-ba77-eb5eed3f2a29 still in use: Unable to complete operation on network b11f14bc-e884-459b-ba77-eb5eed3f2a29. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8ed0c70a-453c-415b-a5b5-0da6c0fe72e9'] 2025-01-10 21:55:14,488 - WARNING - Deleting VN ctest-vn-60289755 failed..Will retry 2025-01-10 21:55:16,635 - DEBUG - Response for deleting network () 2025-01-10 21:55:16,895 - DEBUG - No XMPP flaps were noticed during the test
2025-01-10 21:55:16,895 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-01-10 21:55:16,896 - INFO - -------------------------------------------------------------------------------- 2025-01-10 21:55:17,667 - INFO - Deleted project: ctest-TestBasicVMVNx-29449046, ID : 5510e808-2878-45b7-be06-e54a52f6f605