2025-06-19 08:10:34,912 - INFO - Domain Default found not creating 2025-06-19 08:10:35,085 - INFO - Project ctest-TestBasicVMVNx-70709261 not found, creating it 2025-06-19 08:10:35,586 - INFO - Created Project:ctest-TestBasicVMVNx-70709261, ID : 7198b93e-478d-428b-b9ef-cb9250fa4387 2025-06-19 08:10:37,099 - INFO - ================================================================================ 2025-06-19 08:10:37,100 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-06-19 08:10:37,100 - 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-06-19 08:10:37,372 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0'}} with 2025-06-19 08:10:37,372 - INFO - Initial checks done. Running the testcase now 2025-06-19 08:10:37,372 - INFO - 2025-06-19 08:10:37,986 - DEBUG - Response for create_network : {'network': {'id': 'd05acb50-33fb-4c85-a89e-aa6c22b48322', 'name': 'ctest-vn-02900121', 'tenant_id': '7198b93e478d428bb9efcb9250fa4387', 'project_id': '7198b93e478d428bb9efcb9250fa4387', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-70709261', 'ctest-vn-02900121'], 'port_security_enabled': True, 'description': ''}} 2025-06-19 08:10:38,165 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cdc82f4e-51ca-406a-9751-eaa5ad682e74', 'name': '', 'tenant_id': '7198b93e478d428bb9efcb9250fa4387', 'network_id': 'd05acb50-33fb-4c85-a89e-aa6c22b48322', 'ip_version': 4, 'cidr': '91.7.52.64/26', 'allocation_pools': [{'start': '91.7.52.66', 'end': '91.7.52.126'}], 'gateway_ip': '91.7.52.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '91.7.52.66', 'tags': [], 'project_id': '7198b93e478d428bb9efcb9250fa4387'}} 2025-06-19 08:10:38,191 - INFO - Created VN ctest-vn-02900121 2025-06-19 08:10:38,249 - DEBUG - VN ctest-vn-02900121 UUID is d05acb50-33fb-4c85-a89e-aa6c22b48322 2025-06-19 08:10:38,445 - DEBUG - Services list from nova: [, , ] 2025-06-19 08:10:39,488 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3484-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3484-1) 2025-06-19 08:10:40,713 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3484-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3484-1) 2025-06-19 08:10:40,713 - INFO - Waiting for VM ctest-TestBasicVMVNx-70709261-88451316 to be up.. 2025-06-19 08:10:40,805 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-19 08:10:45,897 - DEBUG - VM is in ACTIVE state now 2025-06-19 08:10:45,897 - INFO - VM name : ctest-TestBasicVMVNx-70709261-88451316 2025-06-19 08:10:46,003 - DEBUG - VM ctest-TestBasicVMVNx-70709261-88451316 ID is e3cfc804-8da7-42a9-aa2a-2696f48f1add 2025-06-19 08:10:46,024 - DEBUG - VM ctest-TestBasicVMVNx-70709261-88451316 launched on Node cn-jenkins-deploy-platform-ansible-os-3484-1 2025-06-19 08:10:46,107 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/e3cfc804-8da7-42a9-aa2a-2696f48f1add 2025-06-19 08:10:46,405 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/e3cfc804-8da7-42a9-aa2a-2696f48f1add 2025-06-19 08:10:46,443 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/d9ba0174-b3a6-4b38-b19a-86021dee876b 2025-06-19 08:10:49,698 - 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 1007ms') 2025-06-19 08:10:49,698 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-70709261-88451316 failed! 2025-06-19 08:10:49,757 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-70709261:ctest-vn-02900121 is 91.7.52.65 and allocation pool is NOT set 2025-06-19 08:10:51,819 - 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=6.02 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.557 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.557/3.288/6.020/2.731 ms') 2025-06-19 08:10:51,819 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-70709261-88451316 passed 2025-06-19 08:10:51,977 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 08:10:51,977 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-70709261-88451316, IP 91.7.52.67, Port 22 2025-06-19 08:10:52,143 - DEBUG - VM ctest-TestBasicVMVNx-70709261-88451316 is ready for SSH connections 2025-06-19 08:10:52,143 - INFO - Waiting for VM ctest-TestBasicVMVNx-70709261-37983896 to be up.. 2025-06-19 08:10:52,227 - DEBUG - VM is in ACTIVE state now 2025-06-19 08:10:52,227 - INFO - VM name : ctest-TestBasicVMVNx-70709261-37983896 2025-06-19 08:10:52,316 - DEBUG - VM ctest-TestBasicVMVNx-70709261-37983896 ID is a8c5384b-8222-48b3-9777-1eecb464e2a2 2025-06-19 08:10:52,316 - DEBUG - VM ctest-TestBasicVMVNx-70709261-37983896 launched on Node cn-jenkins-deploy-platform-ansible-os-3484-1 2025-06-19 08:10:52,393 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/a8c5384b-8222-48b3-9777-1eecb464e2a2 2025-06-19 08:10:52,402 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/3df5d7c7-d3cc-4a4d-8ba5-980d34be2ed9 2025-06-19 08:10:53,655 - 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.20 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.536 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.536/1.869/3.202/1.333 ms') 2025-06-19 08:10:53,655 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-70709261-37983896 passed 2025-06-19 08:10:53,813 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 08:10:53,813 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-70709261-37983896, IP 91.7.52.68, Port 22 2025-06-19 08:10:53,979 - DEBUG - VM ctest-TestBasicVMVNx-70709261-37983896 is ready for SSH connections 2025-06-19 08:10:53,979 - DEBUG - FILE SIZE = 1303B 2025-06-19 08:10:53,979 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-70709261-88451316 to ctest-TestBasicVMVNx-70709261-37983896 using scp 2025-06-19 08:10:53,980 - 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.65, gateway password: c0ntrail123 2025-06-19 08:10:53,981 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-06-19 08:10:55,937 - DEBUG - 1+0 records in 1+0 records out 2025-06-19 08:10:56,546 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 08:10:56,877 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-06-19 08:10:56,877 - DEBUG - ls -l testfile 2025-06-19 08:10:58,435 - DEBUG - -rw------- 1 cirros cirros 1303 Jun 19 02:10 testfile 2025-06-19 08:10:58,435 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-70709261-37983896 2025-06-19 08:10:58,435 - INFO - Deleting VM ctest-TestBasicVMVNx-70709261-37983896 2025-06-19 08:10:58,506 - INFO - Deleting VM ctest-TestBasicVMVNx-70709261-88451316 2025-06-19 08:10:58,579 - INFO - Deleting VN ctest-vn-02900121 2025-06-19 08:10:58,619 - DEBUG - VN d05acb50-33fb-4c85-a89e-aa6c22b48322 still in use: Unable to complete operation on network d05acb50-33fb-4c85-a89e-aa6c22b48322. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5778e8dd-b096-47f0-8eb8-7fc3c442d346'] 2025-06-19 08:10:58,619 - WARNING - Deleting VN ctest-vn-02900121 failed..Will retry 2025-06-19 08:11:00,732 - DEBUG - Response for deleting network () 2025-06-19 08:11:00,987 - DEBUG - No XMPP flaps were noticed during the test 2025-06-19 08:11:00,987 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23] 2025-06-19 08:11:00,987 - INFO - -------------------------------------------------------------------------------- 2025-06-19 08:11:01,701 - INFO - Deleted project: ctest-TestBasicVMVNx-70709261, ID : 7198b93e-478d-428b-b9ef-cb9250fa4387