2025-05-28 14:34:46,834 - INFO - Domain Default found not creating 2025-05-28 14:34:46,990 - INFO - Project ctest-TestBasicVMVNx-08578141 not found, creating it 2025-05-28 14:34:47,455 - INFO - Created Project:ctest-TestBasicVMVNx-08578141, ID : cd00f5d2-a9e4-40d1-947e-941ac52952bb 2025-05-28 14:34:49,030 - INFO - ================================================================================ 2025-05-28 14:34:49,030 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-05-28 14:34:49,030 - 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-05-28 14:34:49,286 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-05-28 14:34:49,286 - INFO - Initial checks done. Running the testcase now 2025-05-28 14:34:49,286 - INFO - 2025-05-28 14:34:49,866 - DEBUG - Response for create_network : {'network': {'id': '3d1653d2-d99a-40f7-a2c8-bcf4cb08943c', 'name': 'ctest-vn-46596688', 'tenant_id': 'cd00f5d2a9e440d1947e941ac52952bb', 'project_id': 'cd00f5d2a9e440d1947e941ac52952bb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-08578141', 'ctest-vn-46596688'], 'port_security_enabled': True, 'description': ''}} 2025-05-28 14:34:50,077 - DEBUG - Response for create_subnet : {'subnet': {'id': '003939c6-f530-48e7-a5ed-5329dfb42cca', 'name': '', 'tenant_id': 'cd00f5d2a9e440d1947e941ac52952bb', 'network_id': '3d1653d2-d99a-40f7-a2c8-bcf4cb08943c', 'ip_version': 4, 'cidr': '136.101.195.0/26', 'allocation_pools': [{'start': '136.101.195.2', 'end': '136.101.195.62'}], 'gateway_ip': '136.101.195.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '136.101.195.2', 'tags': [], 'project_id': 'cd00f5d2a9e440d1947e941ac52952bb'}} 2025-05-28 14:34:50,096 - INFO - Created VN ctest-vn-46596688 2025-05-28 14:34:50,151 - DEBUG - VN ctest-vn-46596688 UUID is 3d1653d2-d99a-40f7-a2c8-bcf4cb08943c 2025-05-28 14:34:50,320 - DEBUG - Services list from nova: [, , ] 2025-05-28 14:34:51,415 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3352-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3352-1) 2025-05-28 14:34:52,655 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3352-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3352-1) 2025-05-28 14:34:52,655 - INFO - Waiting for VM ctest-TestBasicVMVNx-08578141-50305621 to be up.. 2025-05-28 14:34:52,738 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-28 14:34:57,829 - DEBUG - VM is in ACTIVE state now 2025-05-28 14:34:57,830 - INFO - VM name : ctest-TestBasicVMVNx-08578141-50305621 2025-05-28 14:34:57,912 - DEBUG - VM ctest-TestBasicVMVNx-08578141-50305621 ID is fe8d13a5-1ad3-4446-812a-ebe388611230 2025-05-28 14:34:57,935 - DEBUG - VM ctest-TestBasicVMVNx-08578141-50305621 launched on Node cn-jenkins-deploy-platform-ansible-os-3352-1 2025-05-28 14:34:58,019 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/fe8d13a5-1ad3-4446-812a-ebe388611230 2025-05-28 14:34:58,353 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/fe8d13a5-1ad3-4446-812a-ebe388611230 2025-05-28 14:34:58,384 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/7ae2927a-5e81-4026-b8d2-5b901b7c28d2 2025-05-28 14:35:01,646 - 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 1015ms') 2025-05-28 14:35:01,646 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-08578141-50305621 failed! 2025-05-28 14:35:01,703 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-08578141:ctest-vn-46596688 is 136.101.195.1 and allocation pool is NOT set 2025-05-28 14:35:03,769 - 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.72 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.905 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.905/2.312/3.720/1.407 ms') 2025-05-28 14:35:03,769 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-08578141-50305621 passed 2025-05-28 14:35:03,919 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-28 14:35:03,919 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-08578141-50305621, IP 136.101.195.3, Port 22 2025-05-28 14:35:04,079 - DEBUG - VM ctest-TestBasicVMVNx-08578141-50305621 is ready for SSH connections 2025-05-28 14:35:04,079 - INFO - Waiting for VM ctest-TestBasicVMVNx-08578141-34756239 to be up.. 2025-05-28 14:35:04,156 - DEBUG - VM is in ACTIVE state now 2025-05-28 14:35:04,156 - INFO - VM name : ctest-TestBasicVMVNx-08578141-34756239 2025-05-28 14:35:04,233 - DEBUG - VM ctest-TestBasicVMVNx-08578141-34756239 ID is 6de9b4e5-4b08-4b8b-9dfe-d29d71a27466 2025-05-28 14:35:04,233 - DEBUG - VM ctest-TestBasicVMVNx-08578141-34756239 launched on Node cn-jenkins-deploy-platform-ansible-os-3352-1 2025-05-28 14:35:04,310 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/6de9b4e5-4b08-4b8b-9dfe-d29d71a27466 2025-05-28 14:35:04,321 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/aa73e518-fda5-4dc9-8eb6-51c3f01e8ecd 2025-05-28 14:35:05,573 - 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.99 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.442 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.442/1.717/2.992/1.275 ms') 2025-05-28 14:35:05,573 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-08578141-34756239 passed 2025-05-28 14:35:05,731 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-28 14:35:05,732 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-08578141-34756239, IP 136.101.195.4, Port 22 2025-05-28 14:35:05,890 - DEBUG - VM ctest-TestBasicVMVNx-08578141-34756239 is ready for SSH connections 2025-05-28 14:35:05,891 - DEBUG - FILE SIZE = 1303B 2025-05-28 14:35:05,891 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-08578141-50305621 to ctest-TestBasicVMVNx-08578141-34756239 using scp 2025-05-28 14:35:05,891 - 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.38, gateway password: c0ntrail123 2025-05-28 14:35:05,892 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-05-28 14:35:07,869 - DEBUG - 1+0 records in 1+0 records out 2025-05-28 14:35:08,534 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-28 14:35:08,878 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-05-28 14:35:08,879 - DEBUG - ls -l testfile 2025-05-28 14:35:10,497 - DEBUG - -rw------- 1 cirros cirros 1303 May 28 08:35 testfile 2025-05-28 14:35:10,497 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-08578141-34756239 2025-05-28 14:35:10,498 - INFO - Deleting VM ctest-TestBasicVMVNx-08578141-34756239 2025-05-28 14:35:10,658 - INFO - Deleting VM ctest-TestBasicVMVNx-08578141-50305621 2025-05-28 14:35:10,726 - INFO - Deleting VN ctest-vn-46596688 2025-05-28 14:35:10,765 - DEBUG - VN 3d1653d2-d99a-40f7-a2c8-bcf4cb08943c still in use: Unable to complete operation on network 3d1653d2-d99a-40f7-a2c8-bcf4cb08943c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c80076fd-757c-4784-8813-c0d459e40284'] 2025-05-28 14:35:10,765 - WARNING - Deleting VN ctest-vn-46596688 failed..Will retry 2025-05-28 14:35:12,920 - DEBUG - Response for deleting network () 2025-05-28 14:35:13,173 - DEBUG - No XMPP flaps were noticed during the test
2025-05-28 14:35:13,174 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-05-28 14:35:13,174 - INFO - -------------------------------------------------------------------------------- 2025-05-28 14:35:13,937 - INFO - Deleted project: ctest-TestBasicVMVNx-08578141, ID : cd00f5d2-a9e4-40d1-947e-941ac52952bb