2024-12-26 02:17:40,678 - INFO - Domain Default found not creating 2024-12-26 02:17:40,817 - INFO - Project ctest-TestBasicVMVNx-89014799 not found, creating it 2024-12-26 02:17:41,280 - INFO - Created Project:ctest-TestBasicVMVNx-89014799, ID : fe278bd3-ce31-4f7f-aa27-0cecf829c3bf 2024-12-26 02:17:42,737 - INFO - ================================================================================ 2024-12-26 02:17:42,737 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-12-26 02:17:42,737 - 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-12-26 02:17:42,997 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.0.0.22': '0'}} with 2024-12-26 02:17:42,997 - INFO - Initial checks done. Running the testcase now 2024-12-26 02:17:42,997 - INFO - 2024-12-26 02:17:43,561 - DEBUG - Response for create_network : {'network': {'id': '59a8a949-1e9c-4f53-b40a-c93aa8ae7ba4', 'name': 'ctest-vn-48940845', 'tenant_id': 'fe278bd3ce314f7faa270cecf829c3bf', 'project_id': 'fe278bd3ce314f7faa270cecf829c3bf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-89014799', 'ctest-vn-48940845'], 'port_security_enabled': True, 'description': ''}} 2024-12-26 02:17:43,754 - DEBUG - Response for create_subnet : {'subnet': {'id': '7502b42c-de64-4f73-855d-f947e2f85e4b', 'name': '', 'tenant_id': 'fe278bd3ce314f7faa270cecf829c3bf', 'network_id': '59a8a949-1e9c-4f53-b40a-c93aa8ae7ba4', 'ip_version': 4, 'cidr': '203.149.213.64/26', 'allocation_pools': [{'start': '203.149.213.66', 'end': '203.149.213.126'}], 'gateway_ip': '203.149.213.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.149.213.66', 'tags': [], 'project_id': 'fe278bd3ce314f7faa270cecf829c3bf'}} 2024-12-26 02:17:43,772 - INFO - Created VN ctest-vn-48940845 2024-12-26 02:17:43,826 - DEBUG - VN ctest-vn-48940845 UUID is 59a8a949-1e9c-4f53-b40a-c93aa8ae7ba4 2024-12-26 02:17:43,990 - DEBUG - Services list from nova: [, , ] 2024-12-26 02:17:45,015 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2496-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2496-1) 2024-12-26 02:17:46,204 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2496-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2496-1) 2024-12-26 02:17:46,204 - INFO - Waiting for VM ctest-TestBasicVMVNx-89014799-96752732 to be up.. 2024-12-26 02:17:46,301 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-12-26 02:17:51,384 - DEBUG - VM is in ACTIVE state now 2024-12-26 02:17:51,385 - INFO - VM name : ctest-TestBasicVMVNx-89014799-96752732 2024-12-26 02:17:51,480 - DEBUG - VM ctest-TestBasicVMVNx-89014799-96752732 ID is 7c639f72-f1de-4e39-89ca-22b94852e9d9 2024-12-26 02:17:51,505 - DEBUG - VM ctest-TestBasicVMVNx-89014799-96752732 launched on Node cn-jenkins-deploy-platform-ansible-os-2496-1. 2024-12-26 02:17:51,580 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/7c639f72-f1de-4e39-89ca-22b94852e9d9 2024-12-26 02:17:51,918 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/7c639f72-f1de-4e39-89ca-22b94852e9d9 2024-12-26 02:17:51,962 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/1080c8a0-d8aa-437e-a3b4-86b3999a8381 2024-12-26 02:17:55,237 - 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 1031ms') 2024-12-26 02:17:55,237 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-89014799-96752732 failed! 2024-12-26 02:17:55,297 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-89014799:ctest-vn-48940845 is 203.149.213.65 and allocation pool is NOT set 2024-12-26 02:17:57,362 - 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=2.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.839 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.839/1.800/2.762/0.961 ms') 2024-12-26 02:17:57,362 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-89014799-96752732 passed 2024-12-26 02:17:57,510 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-12-26 02:17:57,510 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-89014799-96752732, IP 203.149.213.67, Port 22 2024-12-26 02:17:57,669 - DEBUG - VM ctest-TestBasicVMVNx-89014799-96752732 is ready for SSH connections 2024-12-26 02:17:57,669 - INFO - Waiting for VM ctest-TestBasicVMVNx-89014799-61483889 to be up.. 2024-12-26 02:17:57,749 - DEBUG - VM is in ACTIVE state now 2024-12-26 02:17:57,749 - INFO - VM name : ctest-TestBasicVMVNx-89014799-61483889 2024-12-26 02:17:57,824 - DEBUG - VM ctest-TestBasicVMVNx-89014799-61483889 ID is 24ffff24-45c5-41ad-8ef9-6109738352b1 2024-12-26 02:17:57,824 - DEBUG - VM ctest-TestBasicVMVNx-89014799-61483889 launched on Node cn-jenkins-deploy-platform-ansible-os-2496-1. 2024-12-26 02:17:57,901 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/24ffff24-45c5-41ad-8ef9-6109738352b1 2024-12-26 02:17:57,912 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/d73f28bb-c8fe-405d-a091-3c004a093a1f 2024-12-26 02:17:59,156 - 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.71 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.444 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.444/2.076/3.708/1.632 ms') 2024-12-26 02:17:59,156 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-89014799-61483889 passed 2024-12-26 02:17:59,306 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-12-26 02:17:59,306 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-89014799-61483889, IP 203.149.213.68, Port 22 2024-12-26 02:17:59,461 - DEBUG - VM ctest-TestBasicVMVNx-89014799-61483889 is ready for SSH connections 2024-12-26 02:17:59,461 - DEBUG - FILE SIZE = 1303B 2024-12-26 02:17:59,461 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-89014799-96752732 to ctest-TestBasicVMVNx-89014799-61483889 using scp 2024-12-26 02:17:59,462 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-12-26 02:17:59,466 - 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.22, gateway password: c0ntrail123 2024-12-26 02:17:59,467 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-12-26 02:18:01,367 - DEBUG - 1+0 records in 1+0 records out 2024-12-26 02:18:01,960 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-12-26 02:18:02,308 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2024-12-26 02:18:02,308 - DEBUG - ls -l testfile 2024-12-26 02:18:03,885 - DEBUG - -rw------- 1 cirros cirros 1303 Dec 25 19:18 testfile 2024-12-26 02:18:03,885 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-89014799-61483889 2024-12-26 02:18:03,885 - INFO - Deleting VM ctest-TestBasicVMVNx-89014799-61483889 2024-12-26 02:18:04,048 - INFO - Deleting VM ctest-TestBasicVMVNx-89014799-96752732 2024-12-26 02:18:04,119 - INFO - Deleting VN ctest-vn-48940845 2024-12-26 02:18:04,166 - DEBUG - VN 59a8a949-1e9c-4f53-b40a-c93aa8ae7ba4 still in use: Unable to complete operation on network 59a8a949-1e9c-4f53-b40a-c93aa8ae7ba4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-09c3349c-1c9b-41dd-a4f4-44ed1871a3c3'] 2024-12-26 02:18:04,166 - WARNING - Deleting VN ctest-vn-48940845 failed..Will retry 2024-12-26 02:18:06,279 - DEBUG - Response for deleting network () 2024-12-26 02:18:06,547 - DEBUG - No XMPP flaps were noticed during the test
2024-12-26 02:18:06,548 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2024-12-26 02:18:06,548 - INFO - -------------------------------------------------------------------------------- 2024-12-26 02:18:07,236 - INFO - Deleted project: ctest-TestBasicVMVNx-89014799, ID : fe278bd3-ce31-4f7f-aa27-0cecf829c3bf