2025-04-11 15:00:35,589 - INFO - Domain Default found not creating 2025-04-11 15:00:35,744 - INFO - Project ctest-TestBasicVMVNx-54754747 not found, creating it 2025-04-11 15:00:36,220 - INFO - Created Project:ctest-TestBasicVMVNx-54754747, ID : 25978781-43f1-461e-8a16-da47a29b9568 2025-04-11 15:00:37,740 - INFO - ================================================================================ 2025-04-11 15:00:37,740 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-04-11 15:00:37,740 - 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-11 15:00:37,998 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2025-04-11 15:00:37,998 - INFO - Initial checks done. Running the testcase now 2025-04-11 15:00:37,998 - INFO - 2025-04-11 15:00:38,550 - DEBUG - Response for create_network : {'network': {'id': '5ba2a6f7-4d48-4954-be96-caf3a070793c', 'name': 'ctest-vn-66609512', 'tenant_id': '2597878143f1461e8a16da47a29b9568', 'project_id': '2597878143f1461e8a16da47a29b9568', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-54754747', 'ctest-vn-66609512'], 'port_security_enabled': True, 'description': ''}} 2025-04-11 15:00:38,712 - DEBUG - Response for create_subnet : {'subnet': {'id': '9d6ba7c0-c500-4ea0-9a58-e86d0e89c21b', 'name': '', 'tenant_id': '2597878143f1461e8a16da47a29b9568', 'network_id': '5ba2a6f7-4d48-4954-be96-caf3a070793c', 'ip_version': 4, 'cidr': '143.34.78.64/26', 'allocation_pools': [{'start': '143.34.78.66', 'end': '143.34.78.126'}], 'gateway_ip': '143.34.78.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '143.34.78.66', 'tags': [], 'project_id': '2597878143f1461e8a16da47a29b9568'}} 2025-04-11 15:00:38,731 - INFO - Created VN ctest-vn-66609512 2025-04-11 15:00:38,786 - DEBUG - VN ctest-vn-66609512 UUID is 5ba2a6f7-4d48-4954-be96-caf3a070793c 2025-04-11 15:00:38,990 - DEBUG - Services list from nova: [, , ] 2025-04-11 15:00:40,026 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3080-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3080-1) 2025-04-11 15:00:41,275 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3080-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3080-1) 2025-04-11 15:00:41,276 - INFO - Waiting for VM ctest-TestBasicVMVNx-54754747-40497200 to be up.. 2025-04-11 15:00:41,371 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-11 15:00:46,495 - DEBUG - VM is in ACTIVE state now 2025-04-11 15:00:46,495 - INFO - VM name : ctest-TestBasicVMVNx-54754747-40497200 2025-04-11 15:00:46,582 - DEBUG - VM ctest-TestBasicVMVNx-54754747-40497200 ID is 579701b0-ef82-49dc-99c7-5c451d6e1eb5 2025-04-11 15:00:46,602 - DEBUG - VM ctest-TestBasicVMVNx-54754747-40497200 launched on Node cn-jenkins-deploy-platform-ansible-os-3080-1 2025-04-11 15:00:46,699 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/579701b0-ef82-49dc-99c7-5c451d6e1eb5 2025-04-11 15:00:46,997 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/579701b0-ef82-49dc-99c7-5c451d6e1eb5 2025-04-11 15:00:47,029 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/3d00ed57-52d9-40c4-a1b2-4b5b503e731a 2025-04-11 15:00:50,291 - 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 1019ms') 2025-04-11 15:00:50,291 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-54754747-40497200 failed! 2025-04-11 15:00:50,346 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-54754747:ctest-vn-66609512 is 143.34.78.65 and allocation pool is NOT set 2025-04-11 15:00:52,410 - 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.62 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.866 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.866/1.744/2.622/0.878 ms') 2025-04-11 15:00:52,411 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-54754747-40497200 passed 2025-04-11 15:00:52,574 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-11 15:00:52,574 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-54754747-40497200, IP 143.34.78.67, Port 22 2025-04-11 15:00:52,738 - DEBUG - VM ctest-TestBasicVMVNx-54754747-40497200 is ready for SSH connections 2025-04-11 15:00:52,738 - INFO - Waiting for VM ctest-TestBasicVMVNx-54754747-68738437 to be up.. 2025-04-11 15:00:52,829 - DEBUG - VM is in ACTIVE state now 2025-04-11 15:00:52,829 - INFO - VM name : ctest-TestBasicVMVNx-54754747-68738437 2025-04-11 15:00:52,909 - DEBUG - VM ctest-TestBasicVMVNx-54754747-68738437 ID is 856213b3-9e38-4f97-b39f-6aa701548536 2025-04-11 15:00:52,909 - DEBUG - VM ctest-TestBasicVMVNx-54754747-68738437 launched on Node cn-jenkins-deploy-platform-ansible-os-3080-1 2025-04-11 15:00:52,989 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/856213b3-9e38-4f97-b39f-6aa701548536 2025-04-11 15:00:52,998 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/53c9d39f-1349-465b-a94e-52a38059888e 2025-04-11 15:00:54,254 - 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.93 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.532 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.532/2.232/3.932/1.700 ms') 2025-04-11 15:00:54,254 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-54754747-68738437 passed 2025-04-11 15:00:54,410 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-11 15:00:54,410 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-54754747-68738437, IP 143.34.78.68, Port 22 2025-04-11 15:00:54,584 - DEBUG - VM ctest-TestBasicVMVNx-54754747-68738437 is ready for SSH connections 2025-04-11 15:00:54,585 - DEBUG - FILE SIZE = 1303B 2025-04-11 15:00:54,585 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-54754747-40497200 to ctest-TestBasicVMVNx-54754747-68738437 using scp 2025-04-11 15:00:54,585 - 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-11 15:00:54,585 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-04-11 15:00:56,484 - DEBUG - 1+0 records in 1+0 records out 2025-04-11 15:00:57,283 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-11 15:00:57,608 - 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-11 15:00:57,608 - DEBUG - ls -l testfile 2025-04-11 15:00:59,203 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 11 09:00 testfile 2025-04-11 15:00:59,204 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-54754747-68738437 2025-04-11 15:00:59,204 - INFO - Deleting VM ctest-TestBasicVMVNx-54754747-68738437 2025-04-11 15:00:59,279 - INFO - Deleting VM ctest-TestBasicVMVNx-54754747-40497200 2025-04-11 15:00:59,354 - INFO - Deleting VN ctest-vn-66609512 2025-04-11 15:00:59,390 - DEBUG - VN 5ba2a6f7-4d48-4954-be96-caf3a070793c still in use: Unable to complete operation on network 5ba2a6f7-4d48-4954-be96-caf3a070793c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-34bbd3d7-9816-4d92-8363-65ca924c6331'] 2025-04-11 15:00:59,390 - WARNING - Deleting VN ctest-vn-66609512 failed..Will retry 2025-04-11 15:01:01,508 - DEBUG - Response for deleting network () 2025-04-11 15:01:01,764 - DEBUG - No XMPP flaps were noticed during the test
2025-04-11 15:01:01,764 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-04-11 15:01:01,765 - INFO - -------------------------------------------------------------------------------- 2025-04-11 15:01:02,449 - INFO - Deleted project: ctest-TestBasicVMVNx-54754747, ID : 25978781-43f1-461e-8a16-da47a29b9568