2025-04-25 10:33:08,106 - INFO - Domain Default found not creating 2025-04-25 10:33:08,217 - INFO - Project ctest-TestBasicVMVNx-89280554 not found, creating it 2025-04-25 10:33:08,622 - INFO - Created Project:ctest-TestBasicVMVNx-89280554, ID : 730689f8-2bda-402b-bc2f-da26f7791b07 2025-04-25 10:33:09,839 - INFO - ================================================================================ 2025-04-25 10:33:09,839 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-04-25 10:33:09,839 - 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-25 10:33:10,091 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-04-25 10:33:10,091 - INFO - Initial checks done. Running the testcase now 2025-04-25 10:33:10,091 - INFO - 2025-04-25 10:33:10,862 - DEBUG - Response for create_network : {'network': {'id': '534e1ddc-759d-492c-8d49-0a1d62742dcb', 'name': 'ctest-vn-46011671', 'tenant_id': '730689f82bda402bbc2fda26f7791b07', 'project_id': '730689f82bda402bbc2fda26f7791b07', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-89280554', 'ctest-vn-46011671'], 'port_security_enabled': True, 'description': ''}} 2025-04-25 10:33:11,020 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b2dd734c-39c6-40b3-94ca-59b991444ec8', 'name': '', 'tenant_id': '730689f82bda402bbc2fda26f7791b07', 'network_id': '534e1ddc-759d-492c-8d49-0a1d62742dcb', 'ip_version': 4, 'cidr': '131.234.192.192/26', 'allocation_pools': [{'start': '131.234.192.194', 'end': '131.234.192.254'}], 'gateway_ip': '131.234.192.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '131.234.192.194', 'tags': [], 'project_id': '730689f82bda402bbc2fda26f7791b07'}} 2025-04-25 10:33:11,036 - INFO - Created VN ctest-vn-46011671 2025-04-25 10:33:11,086 - DEBUG - VN ctest-vn-46011671 UUID is 534e1ddc-759d-492c-8d49-0a1d62742dcb 2025-04-25 10:33:11,273 - DEBUG - Services list from nova: [, , ] 2025-04-25 10:33:12,131 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3215-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3215-1) 2025-04-25 10:33:13,088 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3215-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3215-1) 2025-04-25 10:33:13,088 - INFO - Waiting for VM ctest-TestBasicVMVNx-89280554-60084336 to be up.. 2025-04-25 10:33:13,150 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-25 10:33:18,222 - DEBUG - VM is in ACTIVE state now 2025-04-25 10:33:18,222 - INFO - VM name : ctest-TestBasicVMVNx-89280554-60084336 2025-04-25 10:33:18,288 - DEBUG - VM ctest-TestBasicVMVNx-89280554-60084336 ID is 72229b4e-ffe7-4382-beaa-9f027f1d4c90 2025-04-25 10:33:18,304 - DEBUG - VM ctest-TestBasicVMVNx-89280554-60084336 launched on Node cn-jenkins-deploy-platform-ansible-os-3215-1 2025-04-25 10:33:18,368 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/72229b4e-ffe7-4382-beaa-9f027f1d4c90 2025-04-25 10:33:18,625 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/72229b4e-ffe7-4382-beaa-9f027f1d4c90 2025-04-25 10:33:18,654 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/ddcb7020-f4f0-4d15-a7af-ae61a324ecd3 2025-04-25 10:33:21,899 - 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=2 ttl=63 time=11.7 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1016ms\r\nrtt min/avg/max/mdev = 11.707/11.707/11.707/0.000 ms') 2025-04-25 10:33:21,899 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-89280554-60084336 passed 2025-04-25 10:33:22,046 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-25 10:33:22,046 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-89280554-60084336, IP 131.234.192.195, Port 22 2025-04-25 10:33:22,205 - DEBUG - VM ctest-TestBasicVMVNx-89280554-60084336 is ready for SSH connections 2025-04-25 10:33:22,205 - INFO - Waiting for VM ctest-TestBasicVMVNx-89280554-03077457 to be up.. 2025-04-25 10:33:22,278 - DEBUG - VM is in ACTIVE state now 2025-04-25 10:33:22,279 - INFO - VM name : ctest-TestBasicVMVNx-89280554-03077457 2025-04-25 10:33:22,351 - DEBUG - VM ctest-TestBasicVMVNx-89280554-03077457 ID is 67d3c71b-1f2a-48c4-bc81-159d20f0ab1a 2025-04-25 10:33:22,351 - DEBUG - VM ctest-TestBasicVMVNx-89280554-03077457 launched on Node cn-jenkins-deploy-platform-ansible-os-3215-1 2025-04-25 10:33:22,418 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/67d3c71b-1f2a-48c4-bc81-159d20f0ab1a 2025-04-25 10:33:22,426 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/c5b5f728-9bca-4093-8999-d2989b41cf81 2025-04-25 10:33:23,654 - 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.59 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.448 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.448/1.517/2.586/1.069 ms') 2025-04-25 10:33:23,654 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-89280554-03077457 passed 2025-04-25 10:33:23,814 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-25 10:33:23,814 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-89280554-03077457, IP 131.234.192.196, Port 22 2025-04-25 10:33:23,970 - DEBUG - VM ctest-TestBasicVMVNx-89280554-03077457 is ready for SSH connections 2025-04-25 10:33:23,970 - DEBUG - FILE SIZE = 1303B 2025-04-25 10:33:23,970 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-89280554-60084336 to ctest-TestBasicVMVNx-89280554-03077457 using scp 2025-04-25 10:33:23,970 - 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.254, gateway password: c0ntrail123 2025-04-25 10:33:23,971 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-04-25 10:33:25,751 - DEBUG - 1+0 records in 1+0 records out 2025-04-25 10:33:26,272 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-25 10:33:26,575 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-04-25 10:33:26,575 - DEBUG - ls -l testfile 2025-04-25 10:33:28,102 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 25 04:33 testfile 2025-04-25 10:33:28,102 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-89280554-03077457 2025-04-25 10:33:28,102 - INFO - Deleting VM ctest-TestBasicVMVNx-89280554-03077457 2025-04-25 10:33:28,157 - INFO - Deleting VM ctest-TestBasicVMVNx-89280554-60084336 2025-04-25 10:33:28,215 - INFO - Deleting VN ctest-vn-46011671 2025-04-25 10:33:28,247 - DEBUG - VN 534e1ddc-759d-492c-8d49-0a1d62742dcb still in use: Unable to complete operation on network 534e1ddc-759d-492c-8d49-0a1d62742dcb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-99977f26-e4a7-4b4a-a6b3-a866d385d902'] 2025-04-25 10:33:28,247 - WARNING - Deleting VN ctest-vn-46011671 failed..Will retry 2025-04-25 10:33:30,330 - DEBUG - Response for deleting network () 2025-04-25 10:33:30,579 - DEBUG - No XMPP flaps were noticed during the test 2025-04-25 10:33:30,579 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:21] 2025-04-25 10:33:30,579 - INFO - -------------------------------------------------------------------------------- 2025-04-25 10:33:31,166 - INFO - Deleted project: ctest-TestBasicVMVNx-89280554, ID : 730689f8-2bda-402b-bc2f-da26f7791b07