2025-07-09 14:19:55,490 - INFO - Domain Default found not creating 2025-07-09 14:19:55,890 - INFO - Project ctest-TestBasicVMVNx-71840900 not found, creating it 2025-07-09 14:19:56,559 - INFO - Created Project:ctest-TestBasicVMVNx-71840900, ID : d55c3357-c9e0-48d8-a052-268c92546de6 2025-07-09 14:19:58,615 - INFO - ================================================================================ 2025-07-09 14:19:58,615 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-07-09 14:19:58,615 - 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-07-09 14:19:58,913 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.14': '0'}} with 2025-07-09 14:19:58,913 - INFO - Initial checks done. Running the testcase now 2025-07-09 14:19:58,913 - INFO - 2025-07-09 14:19:59,672 - DEBUG - Response for create_network : {'network': {'id': 'dda017f6-5b11-4f90-bd63-8b19fcd1cf6e', 'name': 'ctest-vn-73521329', 'tenant_id': 'd55c3357c9e048d8a052268c92546de6', 'project_id': 'd55c3357c9e048d8a052268c92546de6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-71840900', 'ctest-vn-73521329'], 'port_security_enabled': True, 'description': ''}} 2025-07-09 14:19:59,921 - DEBUG - Response for create_subnet : {'subnet': {'id': '732f6fdb-909a-417a-93e8-631e1587e0bf', 'name': '', 'tenant_id': 'd55c3357c9e048d8a052268c92546de6', 'network_id': 'dda017f6-5b11-4f90-bd63-8b19fcd1cf6e', 'ip_version': 4, 'cidr': '217.112.122.64/26', 'allocation_pools': [{'start': '217.112.122.66', 'end': '217.112.122.126'}], 'gateway_ip': '217.112.122.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '217.112.122.66', 'tags': [], 'project_id': 'd55c3357c9e048d8a052268c92546de6'}} 2025-07-09 14:19:59,950 - INFO - Created VN ctest-vn-73521329 2025-07-09 14:20:00,008 - DEBUG - VN ctest-vn-73521329 UUID is dda017f6-5b11-4f90-bd63-8b19fcd1cf6e 2025-07-09 14:20:00,255 - DEBUG - Services list from nova: [, , ] 2025-07-09 14:20:01,731 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3619-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3619-1) 2025-07-09 14:20:03,132 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3619-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3619-1) 2025-07-09 14:20:03,133 - INFO - Waiting for VM ctest-TestBasicVMVNx-71840900-30804329 to be up.. 2025-07-09 14:20:03,230 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-09 14:20:08,410 - DEBUG - VM is in ACTIVE state now 2025-07-09 14:20:08,410 - INFO - VM name : ctest-TestBasicVMVNx-71840900-30804329 2025-07-09 14:20:08,525 - DEBUG - VM ctest-TestBasicVMVNx-71840900-30804329 ID is 76e74cd1-d3b0-4eed-a9d2-db89365c9ee7 2025-07-09 14:20:08,546 - DEBUG - VM ctest-TestBasicVMVNx-71840900-30804329 launched on Node cn-jenkins-deploy-platform-ansible-os-3619-1 2025-07-09 14:20:08,649 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/76e74cd1-d3b0-4eed-a9d2-db89365c9ee7 2025-07-09 14:20:08,960 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/76e74cd1-d3b0-4eed-a9d2-db89365c9ee7 2025-07-09 14:20:09,004 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/5db67917-83e2-41d3-a090-d1855e6dec68 2025-07-09 14:20:12,325 - 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 1025ms') 2025-07-09 14:20:12,326 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-71840900-30804329 failed! 2025-07-09 14:20:12,401 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-71840900:ctest-vn-73521329 is 217.112.122.65 and allocation pool is NOT set 2025-07-09 14:20:14,473 - 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=11.2 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.90 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 = 2.901/7.073/11.245/4.172 ms') 2025-07-09 14:20:14,473 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-71840900-30804329 passed 2025-07-09 14:20:14,637 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-09 14:20:14,637 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-71840900-30804329, IP 217.112.122.67, Port 22 2025-07-09 14:20:14,703 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-07-09 14:20:14,799 - DEBUG - VM ctest-TestBasicVMVNx-71840900-30804329 is NOT ready for SSH connections, VM status: ACTIVE 2025-07-09 14:20:19,800 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-09 14:20:19,801 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-71840900-30804329, IP 217.112.122.67, Port 22 2025-07-09 14:20:20,001 - DEBUG - VM ctest-TestBasicVMVNx-71840900-30804329 is ready for SSH connections 2025-07-09 14:20:20,002 - INFO - Waiting for VM ctest-TestBasicVMVNx-71840900-85840503 to be up.. 2025-07-09 14:20:20,173 - DEBUG - VM is in ACTIVE state now 2025-07-09 14:20:20,174 - INFO - VM name : ctest-TestBasicVMVNx-71840900-85840503 2025-07-09 14:20:20,305 - DEBUG - VM ctest-TestBasicVMVNx-71840900-85840503 ID is 349120bd-66f9-4028-a8e3-ece7f84cef2d 2025-07-09 14:20:20,305 - DEBUG - VM ctest-TestBasicVMVNx-71840900-85840503 launched on Node cn-jenkins-deploy-platform-ansible-os-3619-1 2025-07-09 14:20:20,436 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/349120bd-66f9-4028-a8e3-ece7f84cef2d 2025-07-09 14:20:20,450 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/621ba239-c12b-4823-879f-3d246998313b 2025-07-09 14:20:21,738 - 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.44 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.08 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 = 1.078/2.259/3.440/1.181 ms') 2025-07-09 14:20:21,739 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-71840900-85840503 passed 2025-07-09 14:20:21,925 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-09 14:20:21,925 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-71840900-85840503, IP 217.112.122.68, Port 22 2025-07-09 14:20:22,103 - DEBUG - VM ctest-TestBasicVMVNx-71840900-85840503 is ready for SSH connections 2025-07-09 14:20:22,104 - DEBUG - FILE SIZE = 1303B 2025-07-09 14:20:22,104 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-71840900-30804329 to ctest-TestBasicVMVNx-71840900-85840503 using scp 2025-07-09 14:20:22,105 - 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-07-09 14:20:22,105 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-07-09 14:20:24,423 - DEBUG - 1+0 records in 1+0 records out 2025-07-09 14:20:25,243 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-09 14:20:25,689 - 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-07-09 14:20:25,690 - DEBUG - ls -l testfile 2025-07-09 14:20:27,463 - DEBUG - -rw------- 1 cirros cirros 1303 Jul 9 08:20 testfile 2025-07-09 14:20:27,464 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-71840900-85840503 2025-07-09 14:20:27,464 - INFO - Deleting VM ctest-TestBasicVMVNx-71840900-85840503 2025-07-09 14:20:27,559 - INFO - Deleting VM ctest-TestBasicVMVNx-71840900-30804329 2025-07-09 14:20:27,675 - INFO - Deleting VN ctest-vn-73521329 2025-07-09 14:20:27,743 - DEBUG - VN dda017f6-5b11-4f90-bd63-8b19fcd1cf6e still in use: Unable to complete operation on network dda017f6-5b11-4f90-bd63-8b19fcd1cf6e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8825d4c0-830b-455f-a96e-8ad2c0df44c1'] 2025-07-09 14:20:27,743 - WARNING - Deleting VN ctest-vn-73521329 failed..Will retry 2025-07-09 14:20:29,910 - DEBUG - Response for deleting network () 2025-07-09 14:20:30,229 - DEBUG - No XMPP flaps were noticed during the test
2025-07-09 14:20:30,230 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:32]
2025-07-09 14:20:30,230 - INFO - -------------------------------------------------------------------------------- 2025-07-09 14:20:31,101 - INFO - Deleted project: ctest-TestBasicVMVNx-71840900, ID : d55c3357-c9e0-48d8-a052-268c92546de6