2025-04-14 15:44:53,192 - INFO - Domain Default found not creating 2025-04-14 15:44:53,339 - INFO - Project ctest-TestBasicVMVNx-17501422 not found, creating it 2025-04-14 15:44:53,790 - INFO - Created Project:ctest-TestBasicVMVNx-17501422, ID : 67982361-c353-48ea-a86d-4b9e2552dc47 2025-04-14 15:44:55,252 - INFO - ================================================================================ 2025-04-14 15:44:55,252 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-04-14 15:44:55,252 - 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-14 15:44:55,508 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.17': '0'}} with 2025-04-14 15:44:55,509 - INFO - Initial checks done. Running the testcase now 2025-04-14 15:44:55,509 - INFO - 2025-04-14 15:44:56,054 - DEBUG - Response for create_network : {'network': {'id': '8bc20f96-abc1-486d-a268-17a39350cbb5', 'name': 'ctest-vn-82343382', 'tenant_id': '67982361c35348eaa86d4b9e2552dc47', 'project_id': '67982361c35348eaa86d4b9e2552dc47', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-17501422', 'ctest-vn-82343382'], 'port_security_enabled': True, 'description': ''}} 2025-04-14 15:44:56,222 - DEBUG - Response for create_subnet : {'subnet': {'id': '333fbf37-b3b1-4645-82a6-b86dd85e53ae', 'name': '', 'tenant_id': '67982361c35348eaa86d4b9e2552dc47', 'network_id': '8bc20f96-abc1-486d-a268-17a39350cbb5', 'ip_version': 4, 'cidr': '130.246.121.128/26', 'allocation_pools': [{'start': '130.246.121.130', 'end': '130.246.121.190'}], 'gateway_ip': '130.246.121.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '130.246.121.130', 'tags': [], 'project_id': '67982361c35348eaa86d4b9e2552dc47'}} 2025-04-14 15:44:56,240 - INFO - Created VN ctest-vn-82343382 2025-04-14 15:44:56,294 - DEBUG - VN ctest-vn-82343382 UUID is 8bc20f96-abc1-486d-a268-17a39350cbb5 2025-04-14 15:44:56,467 - DEBUG - Services list from nova: [, , ] 2025-04-14 15:44:57,481 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3103-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3103-1) 2025-04-14 15:44:58,627 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3103-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3103-1) 2025-04-14 15:44:58,628 - INFO - Waiting for VM ctest-TestBasicVMVNx-17501422-63739810 to be up.. 2025-04-14 15:44:58,718 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-14 15:45:03,819 - DEBUG - VM is in ACTIVE state now 2025-04-14 15:45:03,819 - INFO - VM name : ctest-TestBasicVMVNx-17501422-63739810 2025-04-14 15:45:03,912 - DEBUG - VM ctest-TestBasicVMVNx-17501422-63739810 ID is 6b1fea95-8d13-44a2-8f62-0f6635cedc44 2025-04-14 15:45:03,935 - DEBUG - VM ctest-TestBasicVMVNx-17501422-63739810 launched on Node cn-jenkins-deploy-platform-ansible-os-3103-1 2025-04-14 15:45:04,030 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/6b1fea95-8d13-44a2-8f62-0f6635cedc44 2025-04-14 15:45:04,343 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/6b1fea95-8d13-44a2-8f62-0f6635cedc44 2025-04-14 15:45:04,385 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/d29a3f7e-87b6-401d-98fa-50ed2257f5b3 2025-04-14 15:45:07,648 - 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 1011ms') 2025-04-14 15:45:07,648 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-17501422-63739810 failed! 2025-04-14 15:45:07,706 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-17501422:ctest-vn-82343382 is 130.246.121.129 and allocation pool is NOT set 2025-04-14 15:45:09,770 - 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.94 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.69 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.693/3.317/4.941/1.624 ms') 2025-04-14 15:45:09,770 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-17501422-63739810 passed 2025-04-14 15:45:09,922 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-14 15:45:09,922 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-17501422-63739810, IP 130.246.121.131, Port 22 2025-04-14 15:45:10,081 - DEBUG - VM ctest-TestBasicVMVNx-17501422-63739810 is ready for SSH connections 2025-04-14 15:45:10,082 - INFO - Waiting for VM ctest-TestBasicVMVNx-17501422-14646255 to be up.. 2025-04-14 15:45:10,162 - DEBUG - VM is in ACTIVE state now 2025-04-14 15:45:10,162 - INFO - VM name : ctest-TestBasicVMVNx-17501422-14646255 2025-04-14 15:45:10,239 - DEBUG - VM ctest-TestBasicVMVNx-17501422-14646255 ID is 12cec683-a594-4e96-b662-9ade2dde075c 2025-04-14 15:45:10,239 - DEBUG - VM ctest-TestBasicVMVNx-17501422-14646255 launched on Node cn-jenkins-deploy-platform-ansible-os-3103-1 2025-04-14 15:45:10,318 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/12cec683-a594-4e96-b662-9ade2dde075c 2025-04-14 15:45:10,327 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/fab60a2d-a1ad-4774-b3bc-5b087bc6a3ec 2025-04-14 15:45:11,583 - 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.82 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.74 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 = 1.744/3.283/4.822/1.539 ms') 2025-04-14 15:45:11,583 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-17501422-14646255 passed 2025-04-14 15:45:11,743 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-14 15:45:11,744 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-17501422-14646255, IP 130.246.121.132, Port 22 2025-04-14 15:45:11,911 - DEBUG - VM ctest-TestBasicVMVNx-17501422-14646255 is ready for SSH connections 2025-04-14 15:45:11,912 - DEBUG - FILE SIZE = 1303B 2025-04-14 15:45:11,912 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-17501422-63739810 to ctest-TestBasicVMVNx-17501422-14646255 using scp 2025-04-14 15:45:11,912 - 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.19, gateway password: c0ntrail123 2025-04-14 15:45:11,913 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-04-14 15:45:13,848 - DEBUG - 1+0 records in 1+0 records out 2025-04-14 15:45:14,445 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-14 15:45:14,812 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-04-14 15:45:14,812 - DEBUG - ls -l testfile 2025-04-14 15:45:16,467 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 14 09:45 testfile 2025-04-14 15:45:16,467 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-17501422-14646255 2025-04-14 15:45:16,467 - INFO - Deleting VM ctest-TestBasicVMVNx-17501422-14646255 2025-04-14 15:45:16,552 - INFO - Deleting VM ctest-TestBasicVMVNx-17501422-63739810 2025-04-14 15:45:16,631 - INFO - Deleting VN ctest-vn-82343382 2025-04-14 15:45:16,674 - DEBUG - VN 8bc20f96-abc1-486d-a268-17a39350cbb5 still in use: Unable to complete operation on network 8bc20f96-abc1-486d-a268-17a39350cbb5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-27c02262-5b4c-4071-95ad-5588195a03d1'] 2025-04-14 15:45:16,674 - WARNING - Deleting VN ctest-vn-82343382 failed..Will retry 2025-04-14 15:45:18,774 - DEBUG - Response for deleting network () 2025-04-14 15:45:19,029 - DEBUG - No XMPP flaps were noticed during the test
2025-04-14 15:45:19,029 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-04-14 15:45:19,029 - INFO - -------------------------------------------------------------------------------- 2025-04-14 15:45:19,726 - INFO - Deleted project: ctest-TestBasicVMVNx-17501422, ID : 67982361-c353-48ea-a86d-4b9e2552dc47