2025-06-18 14:27:43,266 - INFO - Domain Default found not creating 2025-06-18 14:27:43,431 - INFO - Project ctest-TestBasicVMVNx-42884921 not found, creating it 2025-06-18 14:27:43,909 - INFO - Created Project:ctest-TestBasicVMVNx-42884921, ID : 5e46d299-55bd-4a9c-8cd1-72a21eb2cad8 2025-06-18 14:27:45,414 - INFO - ================================================================================ 2025-06-18 14:27:45,415 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-06-18 14:27:45,415 - 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-18 14:27:45,668 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-06-18 14:27:45,668 - INFO - Initial checks done. Running the testcase now 2025-06-18 14:27:45,668 - INFO - 2025-06-18 14:27:46,254 - DEBUG - Response for create_network : {'network': {'id': '57751ee9-ebb4-408a-988a-1768922fe562', 'name': 'ctest-vn-58213403', 'tenant_id': '5e46d29955bd4a9c8cd172a21eb2cad8', 'project_id': '5e46d29955bd4a9c8cd172a21eb2cad8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-42884921', 'ctest-vn-58213403'], 'port_security_enabled': True, 'description': ''}} 2025-06-18 14:27:46,434 - DEBUG - Response for create_subnet : {'subnet': {'id': '835c189c-873a-4489-9445-3ba61635e65c', 'name': '', 'tenant_id': '5e46d29955bd4a9c8cd172a21eb2cad8', 'network_id': '57751ee9-ebb4-408a-988a-1768922fe562', 'ip_version': 4, 'cidr': '70.112.254.192/26', 'allocation_pools': [{'start': '70.112.254.194', 'end': '70.112.254.254'}], 'gateway_ip': '70.112.254.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '70.112.254.194', 'tags': [], 'project_id': '5e46d29955bd4a9c8cd172a21eb2cad8'}} 2025-06-18 14:27:46,454 - INFO - Created VN ctest-vn-58213403 2025-06-18 14:27:46,511 - DEBUG - VN ctest-vn-58213403 UUID is 57751ee9-ebb4-408a-988a-1768922fe562 2025-06-18 14:27:46,680 - DEBUG - Services list from nova: [, , ] 2025-06-18 14:27:47,742 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3475-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3475-1) 2025-06-18 14:27:48,916 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3475-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3475-1) 2025-06-18 14:27:48,916 - INFO - Waiting for VM ctest-TestBasicVMVNx-42884921-63306695 to be up.. 2025-06-18 14:27:49,002 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-18 14:27:54,093 - DEBUG - VM is in ACTIVE state now 2025-06-18 14:27:54,093 - INFO - VM name : ctest-TestBasicVMVNx-42884921-63306695 2025-06-18 14:27:54,202 - DEBUG - VM ctest-TestBasicVMVNx-42884921-63306695 ID is f4a74415-d26d-4cb1-8e1d-c09254aea405 2025-06-18 14:27:54,229 - DEBUG - VM ctest-TestBasicVMVNx-42884921-63306695 launched on Node cn-jenkins-deploy-platform-ansible-os-3475-1 2025-06-18 14:27:54,318 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/f4a74415-d26d-4cb1-8e1d-c09254aea405 2025-06-18 14:27:54,620 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/f4a74415-d26d-4cb1-8e1d-c09254aea405 2025-06-18 14:27:54,654 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/c981f1e9-9042-4505-a782-dd5cfb358f4c 2025-06-18 14:27:57,934 - 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 1027ms') 2025-06-18 14:27:57,934 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-42884921-63306695 failed! 2025-06-18 14:27:57,991 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-42884921:ctest-vn-58213403 is 70.112.254.193 and allocation pool is NOT set 2025-06-18 14:28:00,049 - 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=3.26 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.463 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.463/1.860/3.257/1.397 ms') 2025-06-18 14:28:00,049 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-42884921-63306695 passed 2025-06-18 14:28:00,203 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-18 14:28:00,203 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-42884921-63306695, IP 70.112.254.195, Port 22 2025-06-18 14:28:00,362 - DEBUG - VM ctest-TestBasicVMVNx-42884921-63306695 is ready for SSH connections 2025-06-18 14:28:00,362 - INFO - Waiting for VM ctest-TestBasicVMVNx-42884921-11370299 to be up.. 2025-06-18 14:28:00,442 - DEBUG - VM is in ACTIVE state now 2025-06-18 14:28:00,442 - INFO - VM name : ctest-TestBasicVMVNx-42884921-11370299 2025-06-18 14:28:00,522 - DEBUG - VM ctest-TestBasicVMVNx-42884921-11370299 ID is e3f4b1cc-536f-4bb2-9c98-469cf2ef387f 2025-06-18 14:28:00,522 - DEBUG - VM ctest-TestBasicVMVNx-42884921-11370299 launched on Node cn-jenkins-deploy-platform-ansible-os-3475-1 2025-06-18 14:28:00,602 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/e3f4b1cc-536f-4bb2-9c98-469cf2ef387f 2025-06-18 14:28:00,611 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/9dad0c7c-4b83-4978-9ff8-3b73d9781577 2025-06-18 14:28:01,862 - 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.57 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.550 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.550/2.057/3.565/1.507 ms') 2025-06-18 14:28:01,862 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-42884921-11370299 passed 2025-06-18 14:28:02,019 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-18 14:28:02,019 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-42884921-11370299, IP 70.112.254.196, Port 22 2025-06-18 14:28:02,178 - DEBUG - VM ctest-TestBasicVMVNx-42884921-11370299 is ready for SSH connections 2025-06-18 14:28:02,179 - DEBUG - FILE SIZE = 1303B 2025-06-18 14:28:02,179 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-42884921-63306695 to ctest-TestBasicVMVNx-42884921-11370299 using scp 2025-06-18 14:28:02,179 - 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-06-18 14:28:02,179 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-06-18 14:28:04,086 - DEBUG - 1+0 records in 1+0 records out 2025-06-18 14:28:04,852 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-18 14:28:05,185 - 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-06-18 14:28:05,185 - DEBUG - ls -l testfile 2025-06-18 14:28:06,765 - DEBUG - -rw------- 1 cirros cirros 1303 Jun 18 08:28 testfile 2025-06-18 14:28:06,765 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-42884921-11370299 2025-06-18 14:28:06,766 - INFO - Deleting VM ctest-TestBasicVMVNx-42884921-11370299 2025-06-18 14:28:06,845 - INFO - Deleting VM ctest-TestBasicVMVNx-42884921-63306695 2025-06-18 14:28:06,923 - INFO - Deleting VN ctest-vn-58213403 2025-06-18 14:28:06,960 - DEBUG - VN 57751ee9-ebb4-408a-988a-1768922fe562 still in use: Unable to complete operation on network 57751ee9-ebb4-408a-988a-1768922fe562. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6364a6f1-5b1d-44b7-bf8e-54dc23e94b2a'] 2025-06-18 14:28:06,960 - WARNING - Deleting VN ctest-vn-58213403 failed..Will retry 2025-06-18 14:28:09,078 - DEBUG - Response for deleting network () 2025-06-18 14:28:09,338 - DEBUG - No XMPP flaps were noticed during the test
2025-06-18 14:28:09,338 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-06-18 14:28:09,338 - INFO - -------------------------------------------------------------------------------- 2025-06-18 14:28:10,068 - INFO - Deleted project: ctest-TestBasicVMVNx-42884921, ID : 5e46d299-55bd-4a9c-8cd1-72a21eb2cad8