2025-01-07 09:21:36,359 - INFO - Domain Default found not creating 2025-01-07 09:21:36,539 - INFO - Project ctest-TestBasicVMVNx-05381145 not found, creating it 2025-01-07 09:21:37,053 - INFO - Created Project:ctest-TestBasicVMVNx-05381145, ID : 87db6250-1e35-4c7c-a809-f85f9f1e64b2 2025-01-07 09:21:38,582 - INFO - ================================================================================ 2025-01-07 09:21:38,583 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-01-07 09:21:38,583 - 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-07 09:21:38,842 - DEBUG - Nothing to compare xmpp stats {'10.0.0.32': {'10.20.0.22': '0'}} with 2025-01-07 09:21:38,842 - INFO - Initial checks done. Running the testcase now 2025-01-07 09:21:38,842 - INFO - 2025-01-07 09:21:39,416 - DEBUG - Response for create_network : {'network': {'id': 'eef42bd3-de8d-4538-bbd6-60aac530d38b', 'name': 'ctest-vn-86898821', 'tenant_id': '87db62501e354c7ca809f85f9f1e64b2', 'project_id': '87db62501e354c7ca809f85f9f1e64b2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-05381145', 'ctest-vn-86898821'], 'port_security_enabled': True, 'description': ''}} 2025-01-07 09:21:39,593 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ecf7b2b1-9314-4d82-9f48-0871023d60ed', 'name': '', 'tenant_id': '87db62501e354c7ca809f85f9f1e64b2', 'network_id': 'eef42bd3-de8d-4538-bbd6-60aac530d38b', 'ip_version': 4, 'cidr': '37.207.182.0/26', 'allocation_pools': [{'start': '37.207.182.2', 'end': '37.207.182.62'}], 'gateway_ip': '37.207.182.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '37.207.182.2', 'tags': [], 'project_id': '87db62501e354c7ca809f85f9f1e64b2'}} 2025-01-07 09:21:39,612 - INFO - Created VN ctest-vn-86898821 2025-01-07 09:21:39,666 - DEBUG - VN ctest-vn-86898821 UUID is eef42bd3-de8d-4538-bbd6-60aac530d38b 2025-01-07 09:21:39,850 - DEBUG - Services list from nova: [, , ] 2025-01-07 09:21:40,892 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2543-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2543-1) 2025-01-07 09:21:42,051 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2543-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2543-1) 2025-01-07 09:21:42,051 - INFO - Waiting for VM ctest-TestBasicVMVNx-05381145-73693568 to be up.. 2025-01-07 09:21:42,150 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-07 09:21:47,255 - DEBUG - VM is in ACTIVE state now 2025-01-07 09:21:47,255 - INFO - VM name : ctest-TestBasicVMVNx-05381145-73693568 2025-01-07 09:21:47,339 - DEBUG - VM ctest-TestBasicVMVNx-05381145-73693568 ID is 2b3bdd25-4211-4587-a39d-5cc364948a8f 2025-01-07 09:21:47,364 - DEBUG - VM ctest-TestBasicVMVNx-05381145-73693568 launched on Node cn-jenkins-deploy-platform-ansible-os-2543-1 2025-01-07 09:21:47,459 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/2b3bdd25-4211-4587-a39d-5cc364948a8f 2025-01-07 09:21:47,762 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/2b3bdd25-4211-4587-a39d-5cc364948a8f 2025-01-07 09:21:47,799 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/6898562c-f588-4ea0-a19a-124b710bf09d 2025-01-07 09:21:51,052 - 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 1013ms') 2025-01-07 09:21:51,052 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-05381145-73693568 failed! 2025-01-07 09:21:51,110 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-05381145:ctest-vn-86898821 is 37.207.182.1 and allocation pool is NOT set 2025-01-07 09:21:53,177 - 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.61 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.21 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.211/2.411/3.612/1.200 ms') 2025-01-07 09:21:53,177 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-05381145-73693568 passed 2025-01-07 09:21:53,334 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-07 09:21:53,334 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-05381145-73693568, IP 37.207.182.3, Port 22 2025-01-07 09:21:53,500 - DEBUG - VM ctest-TestBasicVMVNx-05381145-73693568 is ready for SSH connections 2025-01-07 09:21:53,500 - INFO - Waiting for VM ctest-TestBasicVMVNx-05381145-19390034 to be up.. 2025-01-07 09:21:53,599 - DEBUG - VM is in ACTIVE state now 2025-01-07 09:21:53,599 - INFO - VM name : ctest-TestBasicVMVNx-05381145-19390034 2025-01-07 09:21:53,692 - DEBUG - VM ctest-TestBasicVMVNx-05381145-19390034 ID is 86300746-2ac4-47cd-a06a-8db8d1afc675 2025-01-07 09:21:53,692 - DEBUG - VM ctest-TestBasicVMVNx-05381145-19390034 launched on Node cn-jenkins-deploy-platform-ansible-os-2543-1 2025-01-07 09:21:53,777 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/86300746-2ac4-47cd-a06a-8db8d1afc675 2025-01-07 09:21:53,788 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/09d2751f-62f7-4158-9d39-3fcf550f207e 2025-01-07 09:21:55,038 - 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.25 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.463 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 = 0.463/1.858/3.253/1.395 ms') 2025-01-07 09:21:55,038 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-05381145-19390034 passed 2025-01-07 09:21:55,206 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-07 09:21:55,206 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-05381145-19390034, IP 37.207.182.4, Port 22 2025-01-07 09:21:55,377 - DEBUG - VM ctest-TestBasicVMVNx-05381145-19390034 is ready for SSH connections 2025-01-07 09:21:55,377 - DEBUG - FILE SIZE = 1303B 2025-01-07 09:21:55,377 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-05381145-73693568 to ctest-TestBasicVMVNx-05381145-19390034 using scp 2025-01-07 09:21:55,378 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-07 09:21:55,399 - 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.32, gateway password: c0ntrail123 2025-01-07 09:21:55,399 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-01-07 09:21:57,387 - DEBUG - 1+0 records in 1+0 records out 2025-01-07 09:21:58,148 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-07 09:21:58,479 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.32, gateway password: c0ntrail123 2025-01-07 09:21:58,479 - DEBUG - ls -l testfile 2025-01-07 09:22:00,077 - DEBUG - -rw------- 1 cirros cirros 1303 Jan 7 02:21 testfile 2025-01-07 09:22:00,077 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-05381145-19390034 2025-01-07 09:22:00,077 - INFO - Deleting VM ctest-TestBasicVMVNx-05381145-19390034 2025-01-07 09:22:00,341 - INFO - Deleting VM ctest-TestBasicVMVNx-05381145-73693568 2025-01-07 09:22:00,413 - INFO - Deleting VN ctest-vn-86898821 2025-01-07 09:22:00,457 - DEBUG - VN eef42bd3-de8d-4538-bbd6-60aac530d38b still in use: Unable to complete operation on network eef42bd3-de8d-4538-bbd6-60aac530d38b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c81ddd80-6c78-4220-8680-fee6ca48d59b'] 2025-01-07 09:22:00,458 - WARNING - Deleting VN ctest-vn-86898821 failed..Will retry 2025-01-07 09:22:02,580 - DEBUG - Response for deleting network () 2025-01-07 09:22:02,853 - DEBUG - No XMPP flaps were noticed during the test
2025-01-07 09:22:02,853 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-01-07 09:22:02,854 - INFO - -------------------------------------------------------------------------------- 2025-01-07 09:22:03,575 - INFO - Deleted project: ctest-TestBasicVMVNx-05381145, ID : 87db6250-1e35-4c7c-a809-f85f9f1e64b2