2025-01-05 09:59:53,986 - INFO - Domain Default found not creating 2025-01-05 09:59:54,152 - INFO - Project ctest-TestBasicVMVNx-97556119 not found, creating it 2025-01-05 09:59:54,661 - INFO - Created Project:ctest-TestBasicVMVNx-97556119, ID : ec01210d-08ca-4025-bf27-1c6913f3b184 2025-01-05 09:59:56,146 - INFO - ================================================================================ 2025-01-05 09:59:56,146 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-01-05 09:59:56,146 - 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-01-05 09:59:56,412 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.6': '0'}} with 2025-01-05 09:59:56,412 - INFO - Initial checks done. Running the testcase now 2025-01-05 09:59:56,412 - INFO - 2025-01-05 09:59:56,978 - DEBUG - Response for create_network : {'network': {'id': '6f24c81b-ffbd-4e28-a9fd-25f926081433', 'name': 'ctest-vn-24454802', 'tenant_id': 'ec01210d08ca4025bf271c6913f3b184', 'project_id': 'ec01210d08ca4025bf271c6913f3b184', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-97556119', 'ctest-vn-24454802'], 'port_security_enabled': True, 'description': ''}} 2025-01-05 09:59:57,193 - DEBUG - Response for create_subnet : {'subnet': {'id': '751b2743-c963-4544-905d-a4c521c70926', 'name': '', 'tenant_id': 'ec01210d08ca4025bf271c6913f3b184', 'network_id': '6f24c81b-ffbd-4e28-a9fd-25f926081433', 'ip_version': 4, 'cidr': '113.185.234.192/26', 'allocation_pools': [{'start': '113.185.234.194', 'end': '113.185.234.254'}], 'gateway_ip': '113.185.234.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '113.185.234.194', 'tags': [], 'project_id': 'ec01210d08ca4025bf271c6913f3b184'}} 2025-01-05 09:59:57,215 - INFO - Created VN ctest-vn-24454802 2025-01-05 09:59:57,269 - DEBUG - VN ctest-vn-24454802 UUID is 6f24c81b-ffbd-4e28-a9fd-25f926081433 2025-01-05 09:59:57,446 - DEBUG - Services list from nova: [, , ] 2025-01-05 09:59:58,480 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2533-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2533-1) 2025-01-05 09:59:59,734 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2533-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2533-1) 2025-01-05 09:59:59,734 - INFO - Waiting for VM ctest-TestBasicVMVNx-97556119-13303982 to be up.. 2025-01-05 09:59:59,871 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-05 10:00:04,965 - DEBUG - VM is in ACTIVE state now 2025-01-05 10:00:04,966 - INFO - VM name : ctest-TestBasicVMVNx-97556119-13303982 2025-01-05 10:00:05,047 - DEBUG - VM ctest-TestBasicVMVNx-97556119-13303982 ID is dfd51578-9a3a-49ad-8ee0-133f9dd2532a 2025-01-05 10:00:05,070 - DEBUG - VM ctest-TestBasicVMVNx-97556119-13303982 launched on Node cn-jenkins-deploy-platform-ansible-os-2533-1 2025-01-05 10:00:05,152 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/dfd51578-9a3a-49ad-8ee0-133f9dd2532a 2025-01-05 10:00:05,460 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/dfd51578-9a3a-49ad-8ee0-133f9dd2532a 2025-01-05 10:00:05,502 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/039f1d15-ebc3-486f-b6d4-61ae66e797b0 2025-01-05 10:00:08,775 - 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-01-05 10:00:08,776 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-97556119-13303982 failed! 2025-01-05 10:00:08,829 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-97556119:ctest-vn-24454802 is 113.185.234.193 and allocation pool is NOT set 2025-01-05 10:00:10,890 - 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.20 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.525 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.525/1.863/3.201/1.338 ms') 2025-01-05 10:00:10,891 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-97556119-13303982 passed 2025-01-05 10:00:11,046 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-05 10:00:11,046 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-97556119-13303982, IP 113.185.234.195, Port 22 2025-01-05 10:00:11,212 - DEBUG - VM ctest-TestBasicVMVNx-97556119-13303982 is ready for SSH connections 2025-01-05 10:00:11,212 - INFO - Waiting for VM ctest-TestBasicVMVNx-97556119-31385525 to be up.. 2025-01-05 10:00:11,319 - DEBUG - VM is in ACTIVE state now 2025-01-05 10:00:11,319 - INFO - VM name : ctest-TestBasicVMVNx-97556119-31385525 2025-01-05 10:00:11,421 - DEBUG - VM ctest-TestBasicVMVNx-97556119-31385525 ID is 626cb87c-8499-4af2-a345-b41323c305c1 2025-01-05 10:00:11,422 - DEBUG - VM ctest-TestBasicVMVNx-97556119-31385525 launched on Node cn-jenkins-deploy-platform-ansible-os-2533-1 2025-01-05 10:00:11,536 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/626cb87c-8499-4af2-a345-b41323c305c1 2025-01-05 10:00:11,546 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/72623fee-a679-449a-85e2-c998307f28ef 2025-01-05 10:00:12,793 - 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=4.17 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.740 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.740/2.456/4.173/1.716 ms') 2025-01-05 10:00:12,793 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-97556119-31385525 passed 2025-01-05 10:00:12,949 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-05 10:00:12,949 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-97556119-31385525, IP 113.185.234.196, Port 22 2025-01-05 10:00:13,115 - DEBUG - VM ctest-TestBasicVMVNx-97556119-31385525 is ready for SSH connections 2025-01-05 10:00:13,115 - DEBUG - FILE SIZE = 1303B 2025-01-05 10:00:13,115 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-97556119-13303982 to ctest-TestBasicVMVNx-97556119-31385525 using scp 2025-01-05 10:00:13,116 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-05 10:00:13,135 - 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.23, gateway password: c0ntrail123 2025-01-05 10:00:13,135 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-01-05 10:00:15,046 - DEBUG - 1+0 records in 1+0 records out 2025-01-05 10:00:15,841 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-05 10:00:16,184 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-01-05 10:00:16,184 - DEBUG - ls -l testfile 2025-01-05 10:00:17,792 - DEBUG - -rw------- 1 cirros cirros 1303 Jan 5 03:00 testfile 2025-01-05 10:00:17,792 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-97556119-31385525 2025-01-05 10:00:17,792 - INFO - Deleting VM ctest-TestBasicVMVNx-97556119-31385525 2025-01-05 10:00:17,867 - INFO - Deleting VM ctest-TestBasicVMVNx-97556119-13303982 2025-01-05 10:00:17,961 - INFO - Deleting VN ctest-vn-24454802 2025-01-05 10:00:18,015 - DEBUG - VN 6f24c81b-ffbd-4e28-a9fd-25f926081433 still in use: Unable to complete operation on network 6f24c81b-ffbd-4e28-a9fd-25f926081433. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4de45a0d-2c5f-4def-8980-c74f317546d8'] 2025-01-05 10:00:18,015 - WARNING - Deleting VN ctest-vn-24454802 failed..Will retry 2025-01-05 10:00:20,138 - DEBUG - Response for deleting network () 2025-01-05 10:00:20,395 - DEBUG - No XMPP flaps were noticed during the test
2025-01-05 10:00:20,395 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-01-05 10:00:20,395 - INFO - -------------------------------------------------------------------------------- 2025-01-05 10:00:21,099 - INFO - Deleted project: ctest-TestBasicVMVNx-97556119, ID : ec01210d-08ca-4025-bf27-1c6913f3b184