2025-03-13 02:30:33,378 - INFO - Domain Default found not creating 2025-03-13 02:30:33,563 - INFO - Project ctest-TestBasicVMVNx-77038109 not found, creating it 2025-03-13 02:30:34,045 - INFO - Created Project:ctest-TestBasicVMVNx-77038109, ID : e7433a21-6482-4eb0-bf53-fa65d59828be 2025-03-13 02:30:35,843 - INFO - ================================================================================ 2025-03-13 02:30:35,844 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-03-13 02:30:35,844 - 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-03-13 02:30:36,109 - DEBUG - Nothing to compare xmpp stats {'10.0.0.17': {'10.20.0.14': '0'}} with 2025-03-13 02:30:36,109 - INFO - Initial checks done. Running the testcase now 2025-03-13 02:30:36,109 - INFO - 2025-03-13 02:30:36,711 - DEBUG - Response for create_network : {'network': {'id': '3143a535-df1e-41f4-929f-22a3e499407d', 'name': 'ctest-vn-99155357', 'tenant_id': 'e7433a2164824eb0bf53fa65d59828be', 'project_id': 'e7433a2164824eb0bf53fa65d59828be', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-77038109', 'ctest-vn-99155357'], 'port_security_enabled': True, 'description': ''}} 2025-03-13 02:30:36,937 - DEBUG - Response for create_subnet : {'subnet': {'id': '97315acc-291d-4fc2-9a66-1501e845a808', 'name': '', 'tenant_id': 'e7433a2164824eb0bf53fa65d59828be', 'network_id': '3143a535-df1e-41f4-929f-22a3e499407d', 'ip_version': 4, 'cidr': '84.62.89.0/26', 'allocation_pools': [{'start': '84.62.89.2', 'end': '84.62.89.62'}], 'gateway_ip': '84.62.89.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '84.62.89.2', 'tags': [], 'project_id': 'e7433a2164824eb0bf53fa65d59828be'}} 2025-03-13 02:30:36,958 - INFO - Created VN ctest-vn-99155357 2025-03-13 02:30:37,014 - DEBUG - VN ctest-vn-99155357 UUID is 3143a535-df1e-41f4-929f-22a3e499407d 2025-03-13 02:30:37,191 - DEBUG - Services list from nova: [, , ] 2025-03-13 02:30:38,344 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2860-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2860-1) 2025-03-13 02:30:39,602 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2860-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2860-1) 2025-03-13 02:30:39,602 - INFO - Waiting for VM ctest-TestBasicVMVNx-77038109-53865488 to be up.. 2025-03-13 02:30:39,707 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-13 02:30:44,803 - DEBUG - VM is in ACTIVE state now 2025-03-13 02:30:44,803 - INFO - VM name : ctest-TestBasicVMVNx-77038109-53865488 2025-03-13 02:30:44,894 - DEBUG - VM ctest-TestBasicVMVNx-77038109-53865488 ID is 0912aff9-006e-43f1-aad0-59bb3ca2adf2 2025-03-13 02:30:44,915 - DEBUG - VM ctest-TestBasicVMVNx-77038109-53865488 launched on Node cn-jenkins-deploy-platform-ansible-os-2860-1 2025-03-13 02:30:45,005 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/0912aff9-006e-43f1-aad0-59bb3ca2adf2 2025-03-13 02:30:45,359 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/0912aff9-006e-43f1-aad0-59bb3ca2adf2 2025-03-13 02:30:45,396 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/44bb70eb-d419-44b5-99c4-fa6f5b20d3ec 2025-03-13 02:30:48,682 - 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-03-13 02:30:48,682 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-77038109-53865488 failed! 2025-03-13 02:30:48,742 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-77038109:ctest-vn-99155357 is 84.62.89.1 and allocation pool is NOT set 2025-03-13 02:30:50,810 - 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.57 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.862 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.862/2.218/3.574/1.356 ms') 2025-03-13 02:30:50,810 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-77038109-53865488 passed 2025-03-13 02:30:50,974 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-13 02:30:50,974 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-77038109-53865488, IP 84.62.89.3, Port 22 2025-03-13 02:30:51,129 - DEBUG - VM ctest-TestBasicVMVNx-77038109-53865488 is ready for SSH connections 2025-03-13 02:30:51,129 - INFO - Waiting for VM ctest-TestBasicVMVNx-77038109-78469555 to be up.. 2025-03-13 02:30:51,219 - DEBUG - VM is in ACTIVE state now 2025-03-13 02:30:51,219 - INFO - VM name : ctest-TestBasicVMVNx-77038109-78469555 2025-03-13 02:30:51,324 - DEBUG - VM ctest-TestBasicVMVNx-77038109-78469555 ID is 66b06537-bfd4-4f92-a0ba-118dd2afd832 2025-03-13 02:30:51,325 - DEBUG - VM ctest-TestBasicVMVNx-77038109-78469555 launched on Node cn-jenkins-deploy-platform-ansible-os-2860-1 2025-03-13 02:30:51,416 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/66b06537-bfd4-4f92-a0ba-118dd2afd832 2025-03-13 02:30:51,426 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/e4f1f693-3799-4a13-90a3-aedd2cf3a2a3 2025-03-13 02:30:52,674 - 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.98 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.03 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 = 1.029/2.505/3.982/1.476 ms') 2025-03-13 02:30:52,674 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-77038109-78469555 passed 2025-03-13 02:30:52,830 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-13 02:30:52,830 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-77038109-78469555, IP 84.62.89.4, Port 22 2025-03-13 02:30:52,990 - DEBUG - VM ctest-TestBasicVMVNx-77038109-78469555 is ready for SSH connections 2025-03-13 02:30:52,990 - DEBUG - FILE SIZE = 1303B 2025-03-13 02:30:52,990 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-77038109-53865488 to ctest-TestBasicVMVNx-77038109-78469555 using scp 2025-03-13 02:30:52,991 - 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.17, gateway password: c0ntrail123 2025-03-13 02:30:52,991 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-03-13 02:30:54,975 - DEBUG - 1+0 records in 1+0 records out 2025-03-13 02:30:55,637 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-13 02:30:55,975 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123 2025-03-13 02:30:55,976 - DEBUG - ls -l testfile 2025-03-13 02:30:57,591 - DEBUG - -rw------- 1 cirros cirros 1303 Mar 12 20:30 testfile 2025-03-13 02:30:57,591 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-77038109-78469555 2025-03-13 02:30:57,592 - INFO - Deleting VM ctest-TestBasicVMVNx-77038109-78469555 2025-03-13 02:30:57,675 - INFO - Deleting VM ctest-TestBasicVMVNx-77038109-53865488 2025-03-13 02:30:57,748 - INFO - Deleting VN ctest-vn-99155357 2025-03-13 02:30:57,790 - DEBUG - VN 3143a535-df1e-41f4-929f-22a3e499407d still in use: Unable to complete operation on network 3143a535-df1e-41f4-929f-22a3e499407d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-34fee97c-dc94-462d-b2b0-126b4ce977d2'] 2025-03-13 02:30:57,790 - WARNING - Deleting VN ctest-vn-99155357 failed..Will retry 2025-03-13 02:30:59,942 - DEBUG - Response for deleting network () 2025-03-13 02:31:00,201 - DEBUG - No XMPP flaps were noticed during the test 2025-03-13 02:31:00,201 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25] 2025-03-13 02:31:00,202 - INFO - -------------------------------------------------------------------------------- 2025-03-13 02:31:00,976 - INFO - Deleted project: ctest-TestBasicVMVNx-77038109, ID : e7433a21-6482-4eb0-bf53-fa65d59828be