2025-04-03 16:54:29,688 - INFO - Domain Default found not creating 2025-04-03 16:54:29,854 - INFO - Project ctest-TestBasicVMVNx-42035831 not found, creating it 2025-04-03 16:54:30,363 - INFO - Created Project:ctest-TestBasicVMVNx-42035831, ID : c8627f85-7a98-467f-8ccb-29b2089dba89 2025-04-03 16:54:31,905 - INFO - ================================================================================ 2025-04-03 16:54:31,905 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-04-03 16:54:31,906 - 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-04-03 16:54:32,169 - DEBUG - Nothing to compare xmpp stats {'10.0.0.31': {'10.20.0.10': '0'}} with 2025-04-03 16:54:32,169 - INFO - Initial checks done. Running the testcase now 2025-04-03 16:54:32,169 - INFO - 2025-04-03 16:54:32,788 - DEBUG - Response for create_network : {'network': {'id': '729c907c-82c3-401b-bc06-9152db10f254', 'name': 'ctest-vn-87676394', 'tenant_id': 'c8627f857a98467f8ccb29b2089dba89', 'project_id': 'c8627f857a98467f8ccb29b2089dba89', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-42035831', 'ctest-vn-87676394'], 'port_security_enabled': True, 'description': ''}} 2025-04-03 16:54:32,967 - DEBUG - Response for create_subnet : {'subnet': {'id': '7cc5a1cb-7141-45c1-a1d0-30863a14ce8d', 'name': '', 'tenant_id': 'c8627f857a98467f8ccb29b2089dba89', 'network_id': '729c907c-82c3-401b-bc06-9152db10f254', 'ip_version': 4, 'cidr': '160.103.203.128/26', 'allocation_pools': [{'start': '160.103.203.130', 'end': '160.103.203.190'}], 'gateway_ip': '160.103.203.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '160.103.203.130', 'tags': [], 'project_id': 'c8627f857a98467f8ccb29b2089dba89'}} 2025-04-03 16:54:32,992 - INFO - Created VN ctest-vn-87676394 2025-04-03 16:54:33,049 - DEBUG - VN ctest-vn-87676394 UUID is 729c907c-82c3-401b-bc06-9152db10f254 2025-04-03 16:54:33,248 - DEBUG - Services list from nova: [, , ] 2025-04-03 16:54:34,390 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3029-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3029-1) 2025-04-03 16:54:35,585 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3029-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3029-1) 2025-04-03 16:54:35,585 - INFO - Waiting for VM ctest-TestBasicVMVNx-42035831-60492457 to be up.. 2025-04-03 16:54:35,691 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-03 16:54:40,805 - DEBUG - VM is in ACTIVE state now 2025-04-03 16:54:40,805 - INFO - VM name : ctest-TestBasicVMVNx-42035831-60492457 2025-04-03 16:54:40,887 - DEBUG - VM ctest-TestBasicVMVNx-42035831-60492457 ID is 19fa40b5-ed92-45b1-8737-43a760a1584b 2025-04-03 16:54:40,908 - DEBUG - VM ctest-TestBasicVMVNx-42035831-60492457 launched on Node cn-jenkins-deploy-platform-ansible-os-3029-1 2025-04-03 16:54:40,992 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/19fa40b5-ed92-45b1-8737-43a760a1584b 2025-04-03 16:54:41,292 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/19fa40b5-ed92-45b1-8737-43a760a1584b 2025-04-03 16:54:41,345 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/08cc33db-55b6-420c-8edf-5b880687fb75 2025-04-03 16:54:44,631 - 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 1023ms') 2025-04-03 16:54:44,631 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-42035831-60492457 failed! 2025-04-03 16:54:44,701 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-42035831:ctest-vn-87676394 is 160.103.203.129 and allocation pool is NOT set 2025-04-03 16:54:46,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.87 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.03 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 = 1.033/2.449/3.866/1.416 ms') 2025-04-03 16:54:46,769 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-42035831-60492457 passed 2025-04-03 16:54:46,929 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-03 16:54:46,930 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-42035831-60492457, IP 160.103.203.131, Port 22 2025-04-03 16:54:47,103 - DEBUG - VM ctest-TestBasicVMVNx-42035831-60492457 is ready for SSH connections 2025-04-03 16:54:47,103 - INFO - Waiting for VM ctest-TestBasicVMVNx-42035831-67022736 to be up.. 2025-04-03 16:54:47,193 - DEBUG - VM is in ACTIVE state now 2025-04-03 16:54:47,193 - INFO - VM name : ctest-TestBasicVMVNx-42035831-67022736 2025-04-03 16:54:47,295 - DEBUG - VM ctest-TestBasicVMVNx-42035831-67022736 ID is 22b05fa7-c128-4c84-bbc1-a471fb46a3ec 2025-04-03 16:54:47,295 - DEBUG - VM ctest-TestBasicVMVNx-42035831-67022736 launched on Node cn-jenkins-deploy-platform-ansible-os-3029-1 2025-04-03 16:54:47,397 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/22b05fa7-c128-4c84-bbc1-a471fb46a3ec 2025-04-03 16:54:47,408 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/18400aa5-5458-4529-beac-0df5cb424c4c 2025-04-03 16:54:48,667 - 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.66 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.49 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 = 2.486/2.574/2.663/0.088 ms') 2025-04-03 16:54:48,667 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-42035831-67022736 passed 2025-04-03 16:54:48,873 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-03 16:54:48,874 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-42035831-67022736, IP 160.103.203.132, Port 22 2025-04-03 16:54:49,046 - DEBUG - VM ctest-TestBasicVMVNx-42035831-67022736 is ready for SSH connections 2025-04-03 16:54:49,047 - DEBUG - FILE SIZE = 1303B 2025-04-03 16:54:49,047 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-42035831-60492457 to ctest-TestBasicVMVNx-42035831-67022736 using scp 2025-04-03 16:54:49,047 - 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.31, gateway password: c0ntrail123 2025-04-03 16:54:49,048 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-04-03 16:54:51,106 - DEBUG - 1+0 records in 1+0 records out 2025-04-03 16:54:51,749 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-03 16:54:52,093 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.31, gateway password: c0ntrail123 2025-04-03 16:54:52,094 - DEBUG - ls -l testfile 2025-04-03 16:54:53,818 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 3 10:54 testfile 2025-04-03 16:54:53,818 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-42035831-67022736 2025-04-03 16:54:53,819 - INFO - Deleting VM ctest-TestBasicVMVNx-42035831-67022736 2025-04-03 16:54:53,903 - INFO - Deleting VM ctest-TestBasicVMVNx-42035831-60492457 2025-04-03 16:54:53,976 - INFO - Deleting VN ctest-vn-87676394 2025-04-03 16:54:54,022 - DEBUG - VN 729c907c-82c3-401b-bc06-9152db10f254 still in use: Unable to complete operation on network 729c907c-82c3-401b-bc06-9152db10f254. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9d774fcb-4ab2-4dfa-9c6c-0ee34cb3ddfe'] 2025-04-03 16:54:54,022 - WARNING - Deleting VN ctest-vn-87676394 failed..Will retry 2025-04-03 16:54:56,225 - DEBUG - Response for deleting network () 2025-04-03 16:54:56,487 - DEBUG - No XMPP flaps were noticed during the test
2025-04-03 16:54:56,487 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25]
2025-04-03 16:54:56,487 - INFO - -------------------------------------------------------------------------------- 2025-04-03 16:54:57,194 - INFO - Deleted project: ctest-TestBasicVMVNx-42035831, ID : c8627f85-7a98-467f-8ccb-29b2089dba89