2025-02-13 09:33:41,535 - INFO - Domain Default found not creating 2025-02-13 09:33:41,754 - INFO - Project ctest-TestBasicVMVNx-19989415 not found, creating it 2025-02-13 09:33:42,315 - INFO - Created Project:ctest-TestBasicVMVNx-19989415, ID : bb460a1b-36e9-4275-a07a-a1b241750c25 2025-02-13 09:33:43,992 - INFO - ================================================================================ 2025-02-13 09:33:43,992 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-02-13 09:33:43,993 - 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-13 09:33:44,267 - DEBUG - Nothing to compare xmpp stats {'10.0.0.30': {'10.20.0.6': '0'}} with 2025-02-13 09:33:44,267 - INFO - Initial checks done. Running the testcase now 2025-02-13 09:33:44,267 - INFO - 2025-02-13 09:33:44,936 - DEBUG - Response for create_network : {'network': {'id': '41c90226-7e73-43d6-8c00-e5f9166af4c6', 'name': 'ctest-vn-27067630', 'tenant_id': 'bb460a1b36e94275a07aa1b241750c25', 'project_id': 'bb460a1b36e94275a07aa1b241750c25', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-19989415', 'ctest-vn-27067630'], 'port_security_enabled': True, 'description': ''}} 2025-02-13 09:33:45,128 - DEBUG - Response for create_subnet : {'subnet': {'id': '863cb09b-3843-492c-aff4-d5d9c6d0f0d6', 'name': '', 'tenant_id': 'bb460a1b36e94275a07aa1b241750c25', 'network_id': '41c90226-7e73-43d6-8c00-e5f9166af4c6', 'ip_version': 4, 'cidr': '64.119.210.64/26', 'allocation_pools': [{'start': '64.119.210.66', 'end': '64.119.210.126'}], 'gateway_ip': '64.119.210.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '64.119.210.66', 'tags': [], 'project_id': 'bb460a1b36e94275a07aa1b241750c25'}} 2025-02-13 09:33:45,149 - INFO - Created VN ctest-vn-27067630 2025-02-13 09:33:45,207 - DEBUG - VN ctest-vn-27067630 UUID is 41c90226-7e73-43d6-8c00-e5f9166af4c6 2025-02-13 09:33:45,425 - DEBUG - Services list from nova: [, , ] 2025-02-13 09:33:46,594 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2735-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2735-1) 2025-02-13 09:33:47,972 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2735-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2735-1) 2025-02-13 09:33:47,972 - INFO - Waiting for VM ctest-TestBasicVMVNx-19989415-60622126 to be up.. 2025-02-13 09:33:48,084 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-13 09:33:53,226 - DEBUG - VM is in ACTIVE state now 2025-02-13 09:33:53,226 - INFO - VM name : ctest-TestBasicVMVNx-19989415-60622126 2025-02-13 09:33:53,329 - DEBUG - VM ctest-TestBasicVMVNx-19989415-60622126 ID is af50b8c6-5b46-49f6-bb7a-0cef8d00712f 2025-02-13 09:33:53,355 - DEBUG - VM ctest-TestBasicVMVNx-19989415-60622126 launched on Node cn-jenkins-deploy-platform-ansible-os-2735-1 2025-02-13 09:33:53,454 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/af50b8c6-5b46-49f6-bb7a-0cef8d00712f 2025-02-13 09:33:53,794 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/af50b8c6-5b46-49f6-bb7a-0cef8d00712f 2025-02-13 09:33:53,853 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/d3ecb2f4-2211-4bf0-a50e-fde3a62333ec 2025-02-13 09:33:57,147 - 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 1029ms') 2025-02-13 09:33:57,147 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-19989415-60622126 failed! 2025-02-13 09:33:57,207 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-19989415:ctest-vn-27067630 is 64.119.210.65 and allocation pool is NOT set 2025-02-13 09:33:59,275 - 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=4.62 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.84 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 = 3.842/4.232/4.622/0.390 ms') 2025-02-13 09:33:59,275 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-19989415-60622126 passed 2025-02-13 09:33:59,435 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-13 09:33:59,435 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-19989415-60622126, IP 64.119.210.67, Port 22 2025-02-13 09:33:59,601 - DEBUG - VM ctest-TestBasicVMVNx-19989415-60622126 is ready for SSH connections 2025-02-13 09:33:59,601 - INFO - Waiting for VM ctest-TestBasicVMVNx-19989415-70736530 to be up.. 2025-02-13 09:33:59,703 - DEBUG - VM is in ACTIVE state now 2025-02-13 09:33:59,703 - INFO - VM name : ctest-TestBasicVMVNx-19989415-70736530 2025-02-13 09:33:59,803 - DEBUG - VM ctest-TestBasicVMVNx-19989415-70736530 ID is 7e635744-88e0-4c58-8a50-fd9f518d8670 2025-02-13 09:33:59,803 - DEBUG - VM ctest-TestBasicVMVNx-19989415-70736530 launched on Node cn-jenkins-deploy-platform-ansible-os-2735-1 2025-02-13 09:33:59,908 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/7e635744-88e0-4c58-8a50-fd9f518d8670 2025-02-13 09:33:59,922 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/96fbe9f1-b65e-4a65-bcf4-f843ebd19db4 2025-02-13 09:34:01,230 - 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.92 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.69 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 = 2.688/3.804/4.920/1.116 ms') 2025-02-13 09:34:01,230 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-19989415-70736530 passed 2025-02-13 09:34:01,391 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-13 09:34:01,392 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-19989415-70736530, IP 64.119.210.68, Port 22 2025-02-13 09:34:01,569 - DEBUG - VM ctest-TestBasicVMVNx-19989415-70736530 is ready for SSH connections 2025-02-13 09:34:01,569 - DEBUG - FILE SIZE = 1303B 2025-02-13 09:34:01,569 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-19989415-60622126 to ctest-TestBasicVMVNx-19989415-70736530 using scp 2025-02-13 09:34:01,570 - 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.30, gateway password: c0ntrail123 2025-02-13 09:34:01,570 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-02-13 09:34:03,712 - DEBUG - 1+0 records in 1+0 records out 2025-02-13 09:34:04,623 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-13 09:34:04,991 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.30, gateway password: c0ntrail123 2025-02-13 09:34:04,992 - DEBUG - ls -l testfile 2025-02-13 09:34:06,607 - DEBUG - -rw------- 1 cirros cirros 1303 Feb 13 02:34 testfile 2025-02-13 09:34:06,607 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-19989415-70736530 2025-02-13 09:34:06,607 - INFO - Deleting VM ctest-TestBasicVMVNx-19989415-70736530 2025-02-13 09:34:06,699 - INFO - Deleting VM ctest-TestBasicVMVNx-19989415-60622126 2025-02-13 09:34:06,796 - INFO - Deleting VN ctest-vn-27067630 2025-02-13 09:34:06,855 - DEBUG - VN 41c90226-7e73-43d6-8c00-e5f9166af4c6 still in use: Unable to complete operation on network 41c90226-7e73-43d6-8c00-e5f9166af4c6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-43138539-0911-42d5-864b-1eea1468fcf4'] 2025-02-13 09:34:06,855 - WARNING - Deleting VN ctest-vn-27067630 failed..Will retry 2025-02-13 09:34:09,048 - DEBUG - Response for deleting network () 2025-02-13 09:34:09,325 - DEBUG - No XMPP flaps were noticed during the test
2025-02-13 09:34:09,325 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:26]
2025-02-13 09:34:09,325 - INFO - -------------------------------------------------------------------------------- 2025-02-13 09:34:10,194 - INFO - Deleted project: ctest-TestBasicVMVNx-19989415, ID : bb460a1b-36e9-4275-a07a-a1b241750c25