2025-04-22 20:49:24,374 - INFO - Domain Default found not creating 2025-04-22 20:49:24,517 - INFO - Project ctest-TestBasicVMVNx-81476258 not found, creating it 2025-04-22 20:49:24,967 - INFO - Created Project:ctest-TestBasicVMVNx-81476258, ID : 141049df-011e-4d69-bffc-b0cb01b10441 2025-04-22 20:49:26,482 - INFO - ================================================================================ 2025-04-22 20:49:26,482 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-04-22 20:49:26,482 - 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-04-22 20:49:26,738 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2025-04-22 20:49:26,738 - INFO - Initial checks done. Running the testcase now 2025-04-22 20:49:26,738 - INFO - 2025-04-22 20:49:27,336 - DEBUG - Response for create_network : {'network': {'id': '7c8f1e90-5b91-4fbc-bc96-23a0b04dc4cb', 'name': 'ctest-vn-86063883', 'tenant_id': '141049df011e4d69bffcb0cb01b10441', 'project_id': '141049df011e4d69bffcb0cb01b10441', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-81476258', 'ctest-vn-86063883'], 'port_security_enabled': True, 'description': ''}} 2025-04-22 20:49:27,565 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c32eb113-791b-4371-b7da-b25d4e3e650c', 'name': '', 'tenant_id': '141049df011e4d69bffcb0cb01b10441', 'network_id': '7c8f1e90-5b91-4fbc-bc96-23a0b04dc4cb', 'ip_version': 4, 'cidr': '58.208.162.64/26', 'allocation_pools': [{'start': '58.208.162.66', 'end': '58.208.162.126'}], 'gateway_ip': '58.208.162.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '58.208.162.66', 'tags': [], 'project_id': '141049df011e4d69bffcb0cb01b10441'}} 2025-04-22 20:49:27,582 - INFO - Created VN ctest-vn-86063883 2025-04-22 20:49:27,636 - DEBUG - VN ctest-vn-86063883 UUID is 7c8f1e90-5b91-4fbc-bc96-23a0b04dc4cb 2025-04-22 20:49:27,831 - DEBUG - Services list from nova: [, , ] 2025-04-22 20:49:28,901 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3173-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3173-1) 2025-04-22 20:49:30,095 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3173-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3173-1) 2025-04-22 20:49:30,096 - INFO - Waiting for VM ctest-TestBasicVMVNx-81476258-59719133 to be up.. 2025-04-22 20:49:30,177 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-22 20:49:35,256 - DEBUG - VM is in ACTIVE state now 2025-04-22 20:49:35,256 - INFO - VM name : ctest-TestBasicVMVNx-81476258-59719133 2025-04-22 20:49:35,328 - DEBUG - VM ctest-TestBasicVMVNx-81476258-59719133 ID is f78e3a08-6336-48ec-951b-72d8c8ad6de8 2025-04-22 20:49:35,346 - DEBUG - VM ctest-TestBasicVMVNx-81476258-59719133 launched on Node cn-jenkins-deploy-platform-ansible-os-3173-1 2025-04-22 20:49:35,417 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/f78e3a08-6336-48ec-951b-72d8c8ad6de8 2025-04-22 20:49:35,752 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/f78e3a08-6336-48ec-951b-72d8c8ad6de8 2025-04-22 20:49:35,782 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/5e9a22fd-291b-47c3-a73c-918ff083ab09 2025-04-22 20:49:39,043 - 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') 2025-04-22 20:49:39,043 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-81476258-59719133 failed! 2025-04-22 20:49:39,104 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-81476258:ctest-vn-86063883 is 58.208.162.65 and allocation pool is NOT set 2025-04-22 20:49:41,172 - 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=5.65 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.385 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.385/3.016/5.648/2.631 ms') 2025-04-22 20:49:41,172 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-81476258-59719133 passed 2025-04-22 20:49:41,328 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-22 20:49:41,329 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-81476258-59719133, IP 58.208.162.67, Port 22 2025-04-22 20:49:41,484 - DEBUG - VM ctest-TestBasicVMVNx-81476258-59719133 is ready for SSH connections 2025-04-22 20:49:41,484 - INFO - Waiting for VM ctest-TestBasicVMVNx-81476258-54766391 to be up.. 2025-04-22 20:49:41,564 - DEBUG - VM is in ACTIVE state now 2025-04-22 20:49:41,564 - INFO - VM name : ctest-TestBasicVMVNx-81476258-54766391 2025-04-22 20:49:41,638 - DEBUG - VM ctest-TestBasicVMVNx-81476258-54766391 ID is 90762bd5-f9ed-41ca-8506-6e741494ac73 2025-04-22 20:49:41,638 - DEBUG - VM ctest-TestBasicVMVNx-81476258-54766391 launched on Node cn-jenkins-deploy-platform-ansible-os-3173-1 2025-04-22 20:49:41,711 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/90762bd5-f9ed-41ca-8506-6e741494ac73 2025-04-22 20:49:41,720 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/b6d52254-aab2-4bc2-a41a-e998ba2f90bf 2025-04-22 20:49:42,963 - 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.94 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.412 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.412/1.673/2.935/1.261 ms') 2025-04-22 20:49:42,963 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-81476258-54766391 passed 2025-04-22 20:49:43,116 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-22 20:49:43,116 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-81476258-54766391, IP 58.208.162.68, Port 22 2025-04-22 20:49:43,272 - DEBUG - VM ctest-TestBasicVMVNx-81476258-54766391 is ready for SSH connections 2025-04-22 20:49:43,272 - DEBUG - FILE SIZE = 1303B 2025-04-22 20:49:43,272 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-81476258-59719133 to ctest-TestBasicVMVNx-81476258-54766391 using scp 2025-04-22 20:49:43,273 - 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-04-22 20:49:43,273 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-04-22 20:49:45,264 - DEBUG - 1+0 records in 1+0 records out 2025-04-22 20:49:45,915 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-22 20:49:46,255 - 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-04-22 20:49:46,255 - DEBUG - ls -l testfile 2025-04-22 20:49:47,852 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 22 14:49 testfile 2025-04-22 20:49:47,852 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-81476258-54766391 2025-04-22 20:49:47,853 - INFO - Deleting VM ctest-TestBasicVMVNx-81476258-54766391 2025-04-22 20:49:47,932 - INFO - Deleting VM ctest-TestBasicVMVNx-81476258-59719133 2025-04-22 20:49:48,014 - INFO - Deleting VN ctest-vn-86063883 2025-04-22 20:49:48,051 - DEBUG - VN 7c8f1e90-5b91-4fbc-bc96-23a0b04dc4cb still in use: Unable to complete operation on network 7c8f1e90-5b91-4fbc-bc96-23a0b04dc4cb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-391e369c-7f8d-48d1-81b7-3b5d67a7a8cf'] 2025-04-22 20:49:48,051 - WARNING - Deleting VN ctest-vn-86063883 failed..Will retry 2025-04-22 20:49:50,191 - DEBUG - Response for deleting network () 2025-04-22 20:49:50,451 - DEBUG - No XMPP flaps were noticed during the test 2025-04-22 20:49:50,451 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2025-04-22 20:49:50,451 - INFO - -------------------------------------------------------------------------------- 2025-04-22 20:49:51,221 - INFO - Deleted project: ctest-TestBasicVMVNx-81476258, ID : 141049df-011e-4d69-bffc-b0cb01b10441