2025-05-14 14:53:41,375 - INFO - Domain Default found not creating 2025-05-14 14:53:41,497 - INFO - Project ctest-TestBasicVMVNx-53456555 not found, creating it 2025-05-14 14:53:41,961 - INFO - Created Project:ctest-TestBasicVMVNx-53456555, ID : d3ca3748-d030-4885-aa32-c0ffd9b0b822 2025-05-14 14:53:43,293 - INFO - ================================================================================ 2025-05-14 14:53:43,293 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-05-14 14:53:43,293 - 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-05-14 14:53:43,555 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-05-14 14:53:43,555 - INFO - Initial checks done. Running the testcase now 2025-05-14 14:53:43,555 - INFO - 2025-05-14 14:53:44,078 - DEBUG - Response for create_network : {'network': {'id': 'c727e8db-04a6-403d-8406-19c2d1bbed72', 'name': 'ctest-vn-53098278', 'tenant_id': 'd3ca3748d0304885aa32c0ffd9b0b822', 'project_id': 'd3ca3748d0304885aa32c0ffd9b0b822', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-53456555', 'ctest-vn-53098278'], 'port_security_enabled': True, 'description': ''}} 2025-05-14 14:53:44,290 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ccbd492e-9a94-4fcd-8743-de96c7e46a42', 'name': '', 'tenant_id': 'd3ca3748d0304885aa32c0ffd9b0b822', 'network_id': 'c727e8db-04a6-403d-8406-19c2d1bbed72', 'ip_version': 4, 'cidr': '97.12.138.0/26', 'allocation_pools': [{'start': '97.12.138.2', 'end': '97.12.138.62'}], 'gateway_ip': '97.12.138.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '97.12.138.2', 'tags': [], 'project_id': 'd3ca3748d0304885aa32c0ffd9b0b822'}} 2025-05-14 14:53:44,306 - INFO - Created VN ctest-vn-53098278 2025-05-14 14:53:44,357 - DEBUG - VN ctest-vn-53098278 UUID is c727e8db-04a6-403d-8406-19c2d1bbed72 2025-05-14 14:53:44,542 - DEBUG - Services list from nova: [, , ] 2025-05-14 14:53:45,472 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3309-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3309-1) 2025-05-14 14:53:46,511 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3309-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3309-1) 2025-05-14 14:53:46,511 - INFO - Waiting for VM ctest-TestBasicVMVNx-53456555-10002691 to be up.. 2025-05-14 14:53:46,578 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-14 14:53:51,647 - DEBUG - VM is in ACTIVE state now 2025-05-14 14:53:51,647 - INFO - VM name : ctest-TestBasicVMVNx-53456555-10002691 2025-05-14 14:53:51,713 - DEBUG - VM ctest-TestBasicVMVNx-53456555-10002691 ID is 42cf9e84-a9fa-426c-b3ac-304969d2fc98 2025-05-14 14:53:51,730 - DEBUG - VM ctest-TestBasicVMVNx-53456555-10002691 launched on Node cn-jenkins-deploy-platform-ansible-os-3309-1 2025-05-14 14:53:51,795 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/42cf9e84-a9fa-426c-b3ac-304969d2fc98 2025-05-14 14:53:52,083 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/42cf9e84-a9fa-426c-b3ac-304969d2fc98 2025-05-14 14:53:52,111 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/0fa8d797-0d1f-4f39-a828-0a4221823e60 2025-05-14 14:53:55,368 - 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 1024ms') 2025-05-14 14:53:55,368 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-53456555-10002691 failed! 2025-05-14 14:53:55,421 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-53456555:ctest-vn-53098278 is 97.12.138.1 and allocation pool is NOT set 2025-05-14 14:53:57,481 - 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.61 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.396 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.396/1.501/2.606/1.105 ms') 2025-05-14 14:53:57,481 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-53456555-10002691 passed 2025-05-14 14:53:57,629 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-14 14:53:57,629 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-53456555-10002691, IP 97.12.138.3, Port 22 2025-05-14 14:53:57,784 - DEBUG - VM ctest-TestBasicVMVNx-53456555-10002691 is ready for SSH connections 2025-05-14 14:53:57,784 - INFO - Waiting for VM ctest-TestBasicVMVNx-53456555-28526278 to be up.. 2025-05-14 14:53:57,847 - DEBUG - VM is in ACTIVE state now 2025-05-14 14:53:57,847 - INFO - VM name : ctest-TestBasicVMVNx-53456555-28526278 2025-05-14 14:53:57,909 - DEBUG - VM ctest-TestBasicVMVNx-53456555-28526278 ID is 93b20564-050d-413d-b1be-1dde9566b6d6 2025-05-14 14:53:57,909 - DEBUG - VM ctest-TestBasicVMVNx-53456555-28526278 launched on Node cn-jenkins-deploy-platform-ansible-os-3309-1 2025-05-14 14:53:58,052 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/93b20564-050d-413d-b1be-1dde9566b6d6 2025-05-14 14:53:58,060 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/69fff7a6-e5f1-415e-998d-28ef3fd5f53b 2025-05-14 14:53:59,298 - 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.90 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.374 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.374/1.638/2.902/1.264 ms') 2025-05-14 14:53:59,298 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-53456555-28526278 passed 2025-05-14 14:53:59,445 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-14 14:53:59,445 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-53456555-28526278, IP 97.12.138.4, Port 22 2025-05-14 14:53:59,604 - DEBUG - VM ctest-TestBasicVMVNx-53456555-28526278 is ready for SSH connections 2025-05-14 14:53:59,604 - DEBUG - FILE SIZE = 1303B 2025-05-14 14:53:59,604 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-53456555-10002691 to ctest-TestBasicVMVNx-53456555-28526278 using scp 2025-05-14 14:53:59,605 - 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-05-14 14:53:59,605 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-05-14 14:54:01,444 - DEBUG - 1+0 records in 1+0 records out 2025-05-14 14:54:02,028 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-14 14:54:02,346 - 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-05-14 14:54:02,346 - DEBUG - ls -l testfile 2025-05-14 14:54:03,896 - DEBUG - -rw------- 1 cirros cirros 1303 May 14 08:54 testfile 2025-05-14 14:54:03,896 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-53456555-28526278 2025-05-14 14:54:03,896 - INFO - Deleting VM ctest-TestBasicVMVNx-53456555-28526278 2025-05-14 14:54:03,958 - INFO - Deleting VM ctest-TestBasicVMVNx-53456555-10002691 2025-05-14 14:54:04,020 - INFO - Deleting VN ctest-vn-53098278 2025-05-14 14:54:04,057 - DEBUG - VN c727e8db-04a6-403d-8406-19c2d1bbed72 still in use: Unable to complete operation on network c727e8db-04a6-403d-8406-19c2d1bbed72. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-817a3522-89ec-4dd0-bec0-a31aa69ace3b'] 2025-05-14 14:54:04,057 - WARNING - Deleting VN ctest-vn-53098278 failed..Will retry 2025-05-14 14:54:06,162 - DEBUG - Response for deleting network () 2025-05-14 14:54:06,426 - DEBUG - No XMPP flaps were noticed during the test 2025-05-14 14:54:06,426 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23] 2025-05-14 14:54:06,426 - INFO - -------------------------------------------------------------------------------- 2025-05-14 14:54:07,068 - INFO - Deleted project: ctest-TestBasicVMVNx-53456555, ID : d3ca3748-d030-4885-aa32-c0ffd9b0b822