2025-01-07 17:04:36,016 - INFO - Domain Default found not creating 2025-01-07 17:04:36,159 - INFO - Project ctest-TestBasicVMVNx-03258410 not found, creating it 2025-01-07 17:04:36,628 - INFO - Created Project:ctest-TestBasicVMVNx-03258410, ID : ebb0c332-392d-48d7-b929-9e0291998518 2025-01-07 17:04:38,009 - INFO - ================================================================================ 2025-01-07 17:04:38,009 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-01-07 17:04:38,009 - 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 17:04:38,265 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.8': '0'}} with 2025-01-07 17:04:38,265 - INFO - Initial checks done. Running the testcase now 2025-01-07 17:04:38,265 - INFO - 2025-01-07 17:04:38,796 - DEBUG - Response for create_network : {'network': {'id': 'b293bb93-db6a-4627-8309-a0a7d7ea2888', 'name': 'ctest-vn-51184013', 'tenant_id': 'ebb0c332392d48d7b9299e0291998518', 'project_id': 'ebb0c332392d48d7b9299e0291998518', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-03258410', 'ctest-vn-51184013'], 'port_security_enabled': True, 'description': ''}} 2025-01-07 17:04:38,958 - DEBUG - Response for create_subnet : {'subnet': {'id': '2fa02d91-9380-4a3d-be13-b6fda0a3e695', 'name': '', 'tenant_id': 'ebb0c332392d48d7b9299e0291998518', 'network_id': 'b293bb93-db6a-4627-8309-a0a7d7ea2888', 'ip_version': 4, 'cidr': '43.59.79.64/26', 'allocation_pools': [{'start': '43.59.79.66', 'end': '43.59.79.126'}], 'gateway_ip': '43.59.79.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '43.59.79.66', 'tags': [], 'project_id': 'ebb0c332392d48d7b9299e0291998518'}} 2025-01-07 17:04:38,975 - INFO - Created VN ctest-vn-51184013 2025-01-07 17:04:39,028 - DEBUG - VN ctest-vn-51184013 UUID is b293bb93-db6a-4627-8309-a0a7d7ea2888 2025-01-07 17:04:39,227 - DEBUG - Services list from nova: [, , ] 2025-01-07 17:04:40,213 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2552-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2552-1) 2025-01-07 17:04:41,350 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2552-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2552-1) 2025-01-07 17:04:41,350 - INFO - Waiting for VM ctest-TestBasicVMVNx-03258410-55520549 to be up.. 2025-01-07 17:04:41,446 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-07 17:04:46,525 - DEBUG - VM is in ACTIVE state now 2025-01-07 17:04:46,525 - INFO - VM name : ctest-TestBasicVMVNx-03258410-55520549 2025-01-07 17:04:46,597 - DEBUG - VM ctest-TestBasicVMVNx-03258410-55520549 ID is 6c23ee65-9f72-42d4-9a84-12bfd1b7bc40 2025-01-07 17:04:46,615 - DEBUG - VM ctest-TestBasicVMVNx-03258410-55520549 launched on Node cn-jenkins-deploy-platform-ansible-os-2552-1 2025-01-07 17:04:46,688 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/6c23ee65-9f72-42d4-9a84-12bfd1b7bc40 2025-01-07 17:04:46,981 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/6c23ee65-9f72-42d4-9a84-12bfd1b7bc40 2025-01-07 17:04:47,010 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/a30ca786-1bf0-4b4d-865c-18aa78fcc5c0 2025-01-07 17:04:50,254 - 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 1003ms') 2025-01-07 17:04:50,254 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-03258410-55520549 failed! 2025-01-07 17:04:50,308 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-03258410:ctest-vn-51184013 is 43.59.79.65 and allocation pool is NOT set 2025-01-07 17:04:52,371 - 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.58 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.330 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.330/1.454/2.579/1.124 ms') 2025-01-07 17:04:52,371 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-03258410-55520549 passed 2025-01-07 17:04:52,520 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-07 17:04:52,520 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-03258410-55520549, IP 43.59.79.67, Port 22 2025-01-07 17:04:52,671 - DEBUG - VM ctest-TestBasicVMVNx-03258410-55520549 is ready for SSH connections 2025-01-07 17:04:52,671 - INFO - Waiting for VM ctest-TestBasicVMVNx-03258410-27084780 to be up.. 2025-01-07 17:04:52,752 - DEBUG - VM is in ACTIVE state now 2025-01-07 17:04:52,752 - INFO - VM name : ctest-TestBasicVMVNx-03258410-27084780 2025-01-07 17:04:52,823 - DEBUG - VM ctest-TestBasicVMVNx-03258410-27084780 ID is 89c71b1e-2b7c-4c7f-87a7-c54689f0e944 2025-01-07 17:04:52,823 - DEBUG - VM ctest-TestBasicVMVNx-03258410-27084780 launched on Node cn-jenkins-deploy-platform-ansible-os-2552-1 2025-01-07 17:04:52,890 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/89c71b1e-2b7c-4c7f-87a7-c54689f0e944 2025-01-07 17:04:52,898 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/4168dfa5-9a9f-4976-9b04-eb6ecacd6393 2025-01-07 17:04:54,135 - 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=4.97 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.814 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.814/2.894/4.974/2.080 ms') 2025-01-07 17:04:54,135 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-03258410-27084780 passed 2025-01-07 17:04:54,284 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-07 17:04:54,284 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-03258410-27084780, IP 43.59.79.68, Port 22 2025-01-07 17:04:54,435 - DEBUG - VM ctest-TestBasicVMVNx-03258410-27084780 is ready for SSH connections 2025-01-07 17:04:54,435 - DEBUG - FILE SIZE = 1303B 2025-01-07 17:04:54,435 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-03258410-55520549 to ctest-TestBasicVMVNx-03258410-27084780 using scp 2025-01-07 17:04:54,436 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-07 17:04:54,455 - 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.50, gateway password: c0ntrail123 2025-01-07 17:04:54,455 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-01-07 17:04:56,315 - DEBUG - 1+0 records in 1+0 records out 2025-01-07 17:04:57,066 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-07 17:04:57,386 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-01-07 17:04:57,386 - DEBUG - ls -l testfile 2025-01-07 17:04:58,955 - DEBUG - -rw------- 1 cirros cirros 1303 Jan 7 10:04 testfile 2025-01-07 17:04:58,955 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-03258410-27084780 2025-01-07 17:04:58,956 - INFO - Deleting VM ctest-TestBasicVMVNx-03258410-27084780 2025-01-07 17:04:59,025 - INFO - Deleting VM ctest-TestBasicVMVNx-03258410-55520549 2025-01-07 17:04:59,088 - INFO - Deleting VN ctest-vn-51184013 2025-01-07 17:04:59,124 - DEBUG - VN b293bb93-db6a-4627-8309-a0a7d7ea2888 still in use: Unable to complete operation on network b293bb93-db6a-4627-8309-a0a7d7ea2888. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6a5acc70-c187-49c8-84b0-cc46731bad84'] 2025-01-07 17:04:59,124 - WARNING - Deleting VN ctest-vn-51184013 failed..Will retry 2025-01-07 17:05:01,234 - DEBUG - Response for deleting network () 2025-01-07 17:05:01,494 - DEBUG - No XMPP flaps were noticed during the test
2025-01-07 17:05:01,494 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-01-07 17:05:01,494 - INFO - -------------------------------------------------------------------------------- 2025-01-07 17:05:02,182 - INFO - Deleted project: ctest-TestBasicVMVNx-03258410, ID : ebb0c332-392d-48d7-b929-9e0291998518