2024-10-24 02:43:54,417 - INFO - Domain Default found not creating
2024-10-24 02:43:54,574 - INFO - Project ctest-TestBasicVMVNx-20479827 not found, creating it
2024-10-24 02:43:55,058 - INFO - Created Project:ctest-TestBasicVMVNx-20479827, ID : c3706a55-7b48-4c32-9b2a-149abc230ea0
2024-10-24 02:43:56,570 - INFO - ================================================================================
2024-10-24 02:43:56,570 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2024-10-24 02:43:56,570 - 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-10-24 02:43:56,833 - DEBUG - Nothing to compare xmpp stats {'10.0.0.40': {'10.20.0.20': '0'}} with
2024-10-24 02:43:56,833 - INFO - Initial checks done. Running the testcase now
2024-10-24 02:43:56,833 - INFO -
2024-10-24 02:43:57,413 - DEBUG - Response for create_network : {'network': {'id': '1c78db92-6d50-4e21-b858-aef89d689c6d', 'name': 'ctest-vn-36378042', 'tenant_id': 'c3706a557b484c329b2a149abc230ea0', 'project_id': 'c3706a557b484c329b2a149abc230ea0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-20479827', 'ctest-vn-36378042'], 'port_security_enabled': True, 'description': ''}}
2024-10-24 02:43:57,624 - DEBUG - Response for create_subnet : {'subnet': {'id': '8cb0581a-cf40-4247-bc6a-9daa065d3369', 'name': '', 'tenant_id': 'c3706a557b484c329b2a149abc230ea0', 'network_id': '1c78db92-6d50-4e21-b858-aef89d689c6d', 'ip_version': 4, 'cidr': '117.225.153.0/26', 'allocation_pools': [{'start': '117.225.153.2', 'end': '117.225.153.62'}], 'gateway_ip': '117.225.153.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '117.225.153.2', 'tags': [], 'project_id': 'c3706a557b484c329b2a149abc230ea0'}}
2024-10-24 02:43:57,644 - INFO - Created VN ctest-vn-36378042
2024-10-24 02:43:57,694 - DEBUG - VN ctest-vn-36378042 UUID is 1c78db92-6d50-4e21-b858-aef89d689c6d
2024-10-24 02:43:57,866 - DEBUG - Services list from nova: [, , ]
2024-10-24 02:43:58,907 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2136-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2136-1)
2024-10-24 02:44:00,070 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2136-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2136-1)
2024-10-24 02:44:00,073 - INFO - Waiting for VM ctest-TestBasicVMVNx-20479827-19714442 to be up..
2024-10-24 02:44:00,163 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-10-24 02:44:05,252 - DEBUG - VM is in ACTIVE state now
2024-10-24 02:44:05,252 - INFO - VM name : ctest-TestBasicVMVNx-20479827-19714442
2024-10-24 02:44:05,337 - DEBUG - VM ctest-TestBasicVMVNx-20479827-19714442 ID is 4ff8573a-ddf6-4893-817c-40251c42ea5f
2024-10-24 02:44:05,359 - DEBUG - VM ctest-TestBasicVMVNx-20479827-19714442 launched on Node cn-jenkins-deploy-platform-ansible-os-2136-1
2024-10-24 02:44:05,438 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine/4ff8573a-ddf6-4893-817c-40251c42ea5f
2024-10-24 02:44:05,746 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine/4ff8573a-ddf6-4893-817c-40251c42ea5f
2024-10-24 02:44:05,784 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine-interface/4fa0a53b-cafb-4078-b7eb-d57013199a63
2024-10-24 02:44:09,039 - 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 1015ms')
2024-10-24 02:44:09,039 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-20479827-19714442 failed!
2024-10-24 02:44:09,093 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-20479827:ctest-vn-36378042 is 117.225.153.1 and allocation pool is NOT set
2024-10-24 02:44:11,153 - 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.26 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.579 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.579/1.917/3.255/1.338 ms')
2024-10-24 02:44:11,153 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-20479827-19714442 passed
2024-10-24 02:44:11,302 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-24 02:44:11,302 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-20479827-19714442, IP 117.225.153.3, Port 22
2024-10-24 02:44:11,457 - DEBUG - VM ctest-TestBasicVMVNx-20479827-19714442 is ready for SSH connections
2024-10-24 02:44:11,457 - INFO - Waiting for VM ctest-TestBasicVMVNx-20479827-05009137 to be up..
2024-10-24 02:44:11,538 - DEBUG - VM is in ACTIVE state now
2024-10-24 02:44:11,538 - INFO - VM name : ctest-TestBasicVMVNx-20479827-05009137
2024-10-24 02:44:11,627 - DEBUG - VM ctest-TestBasicVMVNx-20479827-05009137 ID is 2e8170f1-31d0-4a0a-97b5-3ed5cc606530
2024-10-24 02:44:11,627 - DEBUG - VM ctest-TestBasicVMVNx-20479827-05009137 launched on Node cn-jenkins-deploy-platform-ansible-os-2136-1
2024-10-24 02:44:11,724 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine/2e8170f1-31d0-4a0a-97b5-3ed5cc606530
2024-10-24 02:44:11,734 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine-interface/a8f7774c-8fb8-43b4-8ebe-2af95b6f6d4f
2024-10-24 02:44:12,975 - 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.02 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.467 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.467/1.743/3.019/1.276 ms')
2024-10-24 02:44:12,976 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-20479827-05009137 passed
2024-10-24 02:44:13,126 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-24 02:44:13,126 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-20479827-05009137, IP 117.225.153.4, Port 22
2024-10-24 02:44:13,281 - DEBUG - VM ctest-TestBasicVMVNx-20479827-05009137 is ready for SSH connections
2024-10-24 02:44:13,281 - DEBUG - FILE SIZE = 1303B
2024-10-24 02:44:13,281 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-20479827-19714442 to ctest-TestBasicVMVNx-20479827-05009137 using scp
2024-10-24 02:44:13,282 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-24 02:44:13,288 - 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.40, gateway password: c0ntrail123
2024-10-24 02:44:13,288 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2024-10-24 02:44:15,193 - DEBUG - 1+0 records in
1+0 records out
2024-10-24 02:44:15,969 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-24 02:44:16,298 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.40, gateway password: c0ntrail123
2024-10-24 02:44:16,299 - DEBUG - ls -l testfile
2024-10-24 02:44:17,872 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 23 20:44 [0;0mtestfile[0m
2024-10-24 02:44:17,872 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-20479827-05009137
2024-10-24 02:44:17,872 - INFO - Deleting VM ctest-TestBasicVMVNx-20479827-05009137
2024-10-24 02:44:17,936 - INFO - Deleting VM ctest-TestBasicVMVNx-20479827-19714442
2024-10-24 02:44:18,013 - INFO - Deleting VN ctest-vn-36378042
2024-10-24 02:44:18,057 - DEBUG - VN 1c78db92-6d50-4e21-b858-aef89d689c6d still in use: Unable to complete operation on network 1c78db92-6d50-4e21-b858-aef89d689c6d. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-4ee87a69-df11-4c70-a8f9-d2d505a38b80']
2024-10-24 02:44:18,058 - WARNING - Deleting VN ctest-vn-36378042 failed..Will retry
2024-10-24 02:44:20,179 - DEBUG - Response for deleting network ()
2024-10-24 02:44:20,437 - DEBUG - No XMPP flaps were noticed during the test
2024-10-24 02:44:20,437 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2024-10-24 02:44:20,438 - INFO - --------------------------------------------------------------------------------
2024-10-24 02:44:21,160 - INFO - Deleted project: ctest-TestBasicVMVNx-20479827, ID : c3706a55-7b48-4c32-9b2a-149abc230ea0