2024-08-27 04:46:13,351 - INFO - Domain Default found not creating 2024-08-27 04:46:13,567 - INFO - Project ctest-TestBasicVMVNx-11757413 not found, creating it 2024-08-27 04:46:14,101 - INFO - Created Project:ctest-TestBasicVMVNx-11757413, ID : 8d7e3196-35f6-4799-af40-7e8f9164f802 2024-08-27 04:46:15,690 - INFO - ================================================================================ 2024-08-27 04:46:15,691 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-08-27 04:46:15,691 - 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 04:46:15,946 - DEBUG - Nothing to compare xmpp stats {'10.0.0.45': {'10.20.0.23': '0'}} with 2024-08-27 04:46:15,946 - INFO - Initial checks done. Running the testcase now 2024-08-27 04:46:15,946 - INFO - 2024-08-27 04:46:16,538 - DEBUG - Response for create_network : {'network': {'id': '0f19d41f-19a6-4283-824d-17890cdd67f5', 'name': 'ctest-vn-85554626', 'tenant_id': '8d7e319635f64799af407e8f9164f802', 'project_id': '8d7e319635f64799af407e8f9164f802', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-11757413', 'ctest-vn-85554626'], 'port_security_enabled': True, 'description': ''}} 2024-08-27 04:46:16,774 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e498b3b7-ac9a-42b9-af76-d87f5af4b369', 'name': '', 'tenant_id': '8d7e319635f64799af407e8f9164f802', 'network_id': '0f19d41f-19a6-4283-824d-17890cdd67f5', 'ip_version': 4, 'cidr': '18.212.176.192/26', 'allocation_pools': [{'start': '18.212.176.194', 'end': '18.212.176.254'}], 'gateway_ip': '18.212.176.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '18.212.176.194', 'tags': [], 'project_id': '8d7e319635f64799af407e8f9164f802'}} 2024-08-27 04:46:16,796 - INFO - Created VN ctest-vn-85554626 2024-08-27 04:46:16,848 - DEBUG - VN ctest-vn-85554626 UUID is 0f19d41f-19a6-4283-824d-17890cdd67f5 2024-08-27 04:46:17,023 - DEBUG - Services list from nova: [, , ] 2024-08-27 04:46:18,073 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1792-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1792-1) 2024-08-27 04:46:19,290 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1792-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1792-1) 2024-08-27 04:46:19,291 - INFO - Waiting for VM ctest-TestBasicVMVNx-11757413-60437068 to be up.. 2024-08-27 04:46:19,398 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-27 04:46:24,499 - DEBUG - VM is in ACTIVE state now 2024-08-27 04:46:24,499 - INFO - VM name : ctest-TestBasicVMVNx-11757413-60437068 2024-08-27 04:46:24,596 - DEBUG - VM ctest-TestBasicVMVNx-11757413-60437068 ID is 6dac5fc4-fc1d-40f4-8e56-ceef49337770 2024-08-27 04:46:24,617 - DEBUG - VM ctest-TestBasicVMVNx-11757413-60437068 launched on Node cn-jenkins-deploy-platform-ansible-os-1792-1 2024-08-27 04:46:24,710 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine/6dac5fc4-fc1d-40f4-8e56-ceef49337770 2024-08-27 04:46:25,088 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine/6dac5fc4-fc1d-40f4-8e56-ceef49337770 2024-08-27 04:46:25,132 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine-interface/075af163-b417-461f-95b6-f6c9867435c3 2024-08-27 04:46:28,407 - 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 1017ms') 2024-08-27 04:46:28,408 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-11757413-60437068 failed! 2024-08-27 04:46:28,468 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-11757413:ctest-vn-85554626 is 18.212.176.193 and allocation pool is NOT set 2024-08-27 04:46:30,530 - 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.75 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.15 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 = 1.151/2.951/4.751/1.800 ms') 2024-08-27 04:46:30,530 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-11757413-60437068 passed 2024-08-27 04:46:30,680 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-27 04:46:30,680 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-11757413-60437068, IP 18.212.176.195, Port 22 2024-08-27 04:46:30,835 - DEBUG - VM ctest-TestBasicVMVNx-11757413-60437068 is ready for SSH connections 2024-08-27 04:46:30,835 - INFO - Waiting for VM ctest-TestBasicVMVNx-11757413-82977848 to be up.. 2024-08-27 04:46:30,916 - DEBUG - VM is in ACTIVE state now 2024-08-27 04:46:30,916 - INFO - VM name : ctest-TestBasicVMVNx-11757413-82977848 2024-08-27 04:46:31,002 - DEBUG - VM ctest-TestBasicVMVNx-11757413-82977848 ID is 55a37d43-cda5-4b80-b230-7b36724da428 2024-08-27 04:46:31,002 - DEBUG - VM ctest-TestBasicVMVNx-11757413-82977848 launched on Node cn-jenkins-deploy-platform-ansible-os-1792-1 2024-08-27 04:46:31,204 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine/55a37d43-cda5-4b80-b230-7b36724da428 2024-08-27 04:46:31,215 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine-interface/ce7a47e5-aac5-4ec1-8c10-e7756e181991 2024-08-27 04:46:32,461 - 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=2.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.571 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.571/1.671/2.772/1.100 ms') 2024-08-27 04:46:32,461 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-11757413-82977848 passed 2024-08-27 04:46:32,612 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-27 04:46:32,612 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-11757413-82977848, IP 18.212.176.196, Port 22 2024-08-27 04:46:32,771 - DEBUG - VM ctest-TestBasicVMVNx-11757413-82977848 is ready for SSH connections 2024-08-27 04:46:32,771 - DEBUG - FILE SIZE = 1303B 2024-08-27 04:46:32,771 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-11757413-60437068 to ctest-TestBasicVMVNx-11757413-82977848 using scp 2024-08-27 04:46:32,771 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-27 04:46:32,777 - 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.45, gateway password: c0ntrail123 2024-08-27 04:46:32,777 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-08-27 04:46:34,739 - DEBUG - 1+0 records in 1+0 records out 2024-08-27 04:46:35,572 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-27 04:46:35,907 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.45, gateway password: c0ntrail123 2024-08-27 04:46:35,907 - DEBUG - ls -l testfile 2024-08-27 04:46:37,492 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 26 22:46 testfile 2024-08-27 04:46:37,492 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-11757413-82977848 2024-08-27 04:46:37,493 - INFO - Deleting VM ctest-TestBasicVMVNx-11757413-82977848 2024-08-27 04:46:37,582 - INFO - Deleting VM ctest-TestBasicVMVNx-11757413-60437068 2024-08-27 04:46:37,659 - INFO - Deleting VN ctest-vn-85554626 2024-08-27 04:46:37,710 - DEBUG - VN 0f19d41f-19a6-4283-824d-17890cdd67f5 still in use: Unable to complete operation on network 0f19d41f-19a6-4283-824d-17890cdd67f5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-15d69905-138e-40f2-b7c9-5594b576413a'] 2024-08-27 04:46:37,710 - WARNING - Deleting VN ctest-vn-85554626 failed..Will retry 2024-08-27 04:46:39,867 - DEBUG - Response for deleting network () 2024-08-27 04:46:40,121 - DEBUG - No XMPP flaps were noticed during the test
2024-08-27 04:46:40,122 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25]
2024-08-27 04:46:40,122 - INFO - -------------------------------------------------------------------------------- 2024-08-27 04:46:40,840 - INFO - Deleted project: ctest-TestBasicVMVNx-11757413, ID : 8d7e3196-35f6-4799-af40-7e8f9164f802