2025-02-05 16:03:00,889 - INFO - Domain Default found not creating 2025-02-05 16:03:01,047 - INFO - Project ctest-TestBasicVMVNx-44624300 not found, creating it 2025-02-05 16:03:01,523 - INFO - Created Project:ctest-TestBasicVMVNx-44624300, ID : d2a13cbd-7ce4-4338-ac0b-6a0ac650ea3e 2025-02-05 16:03:03,017 - INFO - ================================================================================ 2025-02-05 16:03:03,017 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-02-05 16:03:03,017 - 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-02-05 16:03:03,271 - DEBUG - Nothing to compare xmpp stats {'10.0.0.24': {'10.20.0.8': '0'}} with 2025-02-05 16:03:03,271 - INFO - Initial checks done. Running the testcase now 2025-02-05 16:03:03,271 - INFO - 2025-02-05 16:03:03,837 - DEBUG - Response for create_network : {'network': {'id': '002d29ed-3b61-4c70-9720-f87ac236d93c', 'name': 'ctest-vn-77823403', 'tenant_id': 'd2a13cbd7ce44338ac0b6a0ac650ea3e', 'project_id': 'd2a13cbd7ce44338ac0b6a0ac650ea3e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-44624300', 'ctest-vn-77823403'], 'port_security_enabled': True, 'description': ''}} 2025-02-05 16:03:04,076 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a71fb318-a25c-4c5e-955d-4682c84b5fab', 'name': '', 'tenant_id': 'd2a13cbd7ce44338ac0b6a0ac650ea3e', 'network_id': '002d29ed-3b61-4c70-9720-f87ac236d93c', 'ip_version': 4, 'cidr': '170.17.72.64/26', 'allocation_pools': [{'start': '170.17.72.66', 'end': '170.17.72.126'}], 'gateway_ip': '170.17.72.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '170.17.72.66', 'tags': [], 'project_id': 'd2a13cbd7ce44338ac0b6a0ac650ea3e'}} 2025-02-05 16:03:04,099 - INFO - Created VN ctest-vn-77823403 2025-02-05 16:03:04,153 - DEBUG - VN ctest-vn-77823403 UUID is 002d29ed-3b61-4c70-9720-f87ac236d93c 2025-02-05 16:03:04,319 - DEBUG - Services list from nova: [, , ] 2025-02-05 16:03:05,330 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2694-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2694-1) 2025-02-05 16:03:06,481 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2694-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2694-1) 2025-02-05 16:03:06,482 - INFO - Waiting for VM ctest-TestBasicVMVNx-44624300-61564145 to be up.. 2025-02-05 16:03:06,585 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-05 16:03:11,669 - DEBUG - VM is in ACTIVE state now 2025-02-05 16:03:11,669 - INFO - VM name : ctest-TestBasicVMVNx-44624300-61564145 2025-02-05 16:03:11,747 - DEBUG - VM ctest-TestBasicVMVNx-44624300-61564145 ID is d56cd5d2-cb8c-409f-9963-2cf7c4326e3b 2025-02-05 16:03:11,769 - DEBUG - VM ctest-TestBasicVMVNx-44624300-61564145 launched on Node cn-jenkins-deploy-platform-ansible-os-2694-1 2025-02-05 16:03:11,855 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/d56cd5d2-cb8c-409f-9963-2cf7c4326e3b 2025-02-05 16:03:12,149 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/d56cd5d2-cb8c-409f-9963-2cf7c4326e3b 2025-02-05 16:03:12,181 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/9c237939-1f75-4a3e-b7d0-3ed9935d4846 2025-02-05 16:03:15,430 - 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 1009ms') 2025-02-05 16:03:15,430 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-44624300-61564145 failed! 2025-02-05 16:03:15,485 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-44624300:ctest-vn-77823403 is 170.17.72.65 and allocation pool is NOT set 2025-02-05 16:03:17,549 - 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=6.27 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.534 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.534/3.400/6.266/2.866 ms') 2025-02-05 16:03:17,549 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-44624300-61564145 passed 2025-02-05 16:03:17,705 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-05 16:03:17,705 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-44624300-61564145, IP 170.17.72.67, Port 22 2025-02-05 16:03:17,864 - DEBUG - VM ctest-TestBasicVMVNx-44624300-61564145 is ready for SSH connections 2025-02-05 16:03:17,864 - INFO - Waiting for VM ctest-TestBasicVMVNx-44624300-41198101 to be up.. 2025-02-05 16:03:17,940 - DEBUG - VM is in ACTIVE state now 2025-02-05 16:03:17,940 - INFO - VM name : ctest-TestBasicVMVNx-44624300-41198101 2025-02-05 16:03:18,019 - DEBUG - VM ctest-TestBasicVMVNx-44624300-41198101 ID is a56a8a9e-1f5a-4f8e-b8a8-800479ae26c2 2025-02-05 16:03:18,019 - DEBUG - VM ctest-TestBasicVMVNx-44624300-41198101 launched on Node cn-jenkins-deploy-platform-ansible-os-2694-1 2025-02-05 16:03:18,096 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/a56a8a9e-1f5a-4f8e-b8a8-800479ae26c2 2025-02-05 16:03:18,106 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/6d3a00f8-5bad-4c7b-80f1-e0fd2672adf7 2025-02-05 16:03:19,357 - 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.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.416 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.416/1.590/2.764/1.174 ms') 2025-02-05 16:03:19,357 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-44624300-41198101 passed 2025-02-05 16:03:19,513 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-05 16:03:19,513 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-44624300-41198101, IP 170.17.72.68, Port 22 2025-02-05 16:03:19,669 - DEBUG - VM ctest-TestBasicVMVNx-44624300-41198101 is ready for SSH connections 2025-02-05 16:03:19,669 - DEBUG - FILE SIZE = 1303B 2025-02-05 16:03:19,669 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-44624300-61564145 to ctest-TestBasicVMVNx-44624300-41198101 using scp 2025-02-05 16:03:19,670 - 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.24, gateway password: c0ntrail123 2025-02-05 16:03:19,670 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-02-05 16:03:21,578 - DEBUG - 1+0 records in 1+0 records out 2025-02-05 16:03:22,157 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-05 16:03:22,480 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.24, gateway password: c0ntrail123 2025-02-05 16:03:22,481 - DEBUG - ls -l testfile 2025-02-05 16:03:24,056 - DEBUG - -rw------- 1 cirros cirros 1303 Feb 5 09:03 testfile 2025-02-05 16:03:24,056 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-44624300-41198101 2025-02-05 16:03:24,057 - INFO - Deleting VM ctest-TestBasicVMVNx-44624300-41198101 2025-02-05 16:03:24,121 - INFO - Deleting VM ctest-TestBasicVMVNx-44624300-61564145 2025-02-05 16:03:24,189 - INFO - Deleting VN ctest-vn-77823403 2025-02-05 16:03:24,237 - DEBUG - VN 002d29ed-3b61-4c70-9720-f87ac236d93c still in use: Unable to complete operation on network 002d29ed-3b61-4c70-9720-f87ac236d93c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-17e6d286-adc3-4c1f-b660-3249162e8eb1'] 2025-02-05 16:03:24,237 - WARNING - Deleting VN ctest-vn-77823403 failed..Will retry 2025-02-05 16:03:26,340 - DEBUG - Response for deleting network () 2025-02-05 16:03:26,595 - DEBUG - No XMPP flaps were noticed during the test
2025-02-05 16:03:26,595 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-02-05 16:03:26,595 - INFO - -------------------------------------------------------------------------------- 2025-02-05 16:03:27,282 - INFO - Deleted project: ctest-TestBasicVMVNx-44624300, ID : d2a13cbd-7ce4-4338-ac0b-6a0ac650ea3e