2025-02-11 22:13:31,866 - INFO - Domain Default found not creating 2025-02-11 22:13:32,030 - INFO - Project ctest-TestBasicVMVNx-99251158 not found, creating it 2025-02-11 22:13:32,549 - INFO - Created Project:ctest-TestBasicVMVNx-99251158, ID : ed7f95a7-bd68-4566-a244-aecbd486e84c 2025-02-11 22:13:34,152 - INFO - ================================================================================ 2025-02-11 22:13:34,152 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-02-11 22:13:34,152 - 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-11 22:13:34,407 - DEBUG - Nothing to compare xmpp stats {'10.0.0.24': {'10.20.0.7': '0'}} with 2025-02-11 22:13:34,408 - INFO - Initial checks done. Running the testcase now 2025-02-11 22:13:34,408 - INFO - 2025-02-11 22:13:35,024 - DEBUG - Response for create_network : {'network': {'id': '0a5c512f-96e8-42dc-aac0-8bc98f39b248', 'name': 'ctest-vn-15282834', 'tenant_id': 'ed7f95a7bd684566a244aecbd486e84c', 'project_id': 'ed7f95a7bd684566a244aecbd486e84c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-99251158', 'ctest-vn-15282834'], 'port_security_enabled': True, 'description': ''}} 2025-02-11 22:13:35,252 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b44a1d27-4bbb-4127-a994-cae912fc313b', 'name': '', 'tenant_id': 'ed7f95a7bd684566a244aecbd486e84c', 'network_id': '0a5c512f-96e8-42dc-aac0-8bc98f39b248', 'ip_version': 4, 'cidr': '154.179.14.128/26', 'allocation_pools': [{'start': '154.179.14.130', 'end': '154.179.14.190'}], 'gateway_ip': '154.179.14.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '154.179.14.130', 'tags': [], 'project_id': 'ed7f95a7bd684566a244aecbd486e84c'}} 2025-02-11 22:13:35,276 - INFO - Created VN ctest-vn-15282834 2025-02-11 22:13:35,330 - DEBUG - VN ctest-vn-15282834 UUID is 0a5c512f-96e8-42dc-aac0-8bc98f39b248 2025-02-11 22:13:35,499 - DEBUG - Services list from nova: [, , ] 2025-02-11 22:13:36,629 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2723-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2723-1) 2025-02-11 22:13:37,874 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2723-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2723-1) 2025-02-11 22:13:37,874 - INFO - Waiting for VM ctest-TestBasicVMVNx-99251158-31753896 to be up.. 2025-02-11 22:13:37,958 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-11 22:13:43,042 - DEBUG - VM is in ACTIVE state now 2025-02-11 22:13:43,042 - INFO - VM name : ctest-TestBasicVMVNx-99251158-31753896 2025-02-11 22:13:43,123 - DEBUG - VM ctest-TestBasicVMVNx-99251158-31753896 ID is 7864781b-e19a-4ab1-a4e9-a87a9939e0be 2025-02-11 22:13:43,144 - DEBUG - VM ctest-TestBasicVMVNx-99251158-31753896 launched on Node cn-jenkins-deploy-platform-ansible-os-2723-1 2025-02-11 22:13:43,226 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/7864781b-e19a-4ab1-a4e9-a87a9939e0be 2025-02-11 22:13:43,567 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/7864781b-e19a-4ab1-a4e9-a87a9939e0be 2025-02-11 22:13:43,603 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/ac252cb7-8fc9-4776-83fd-a60d3290c744 2025-02-11 22:13:46,851 - 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 1005ms') 2025-02-11 22:13:46,851 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-99251158-31753896 failed! 2025-02-11 22:13:46,910 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-99251158:ctest-vn-15282834 is 154.179.14.129 and allocation pool is NOT set 2025-02-11 22:13:48,972 - 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.72 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.04 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 = 2.044/3.379/4.715/1.335 ms') 2025-02-11 22:13:48,972 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-99251158-31753896 passed 2025-02-11 22:13:49,126 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-11 22:13:49,126 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-99251158-31753896, IP 154.179.14.131, Port 22 2025-02-11 22:13:49,289 - DEBUG - VM ctest-TestBasicVMVNx-99251158-31753896 is ready for SSH connections 2025-02-11 22:13:49,290 - INFO - Waiting for VM ctest-TestBasicVMVNx-99251158-55386046 to be up.. 2025-02-11 22:13:49,375 - DEBUG - VM is in ACTIVE state now 2025-02-11 22:13:49,375 - INFO - VM name : ctest-TestBasicVMVNx-99251158-55386046 2025-02-11 22:13:49,454 - DEBUG - VM ctest-TestBasicVMVNx-99251158-55386046 ID is f0bff05d-199c-47a5-b636-9976e9ba0190 2025-02-11 22:13:49,454 - DEBUG - VM ctest-TestBasicVMVNx-99251158-55386046 launched on Node cn-jenkins-deploy-platform-ansible-os-2723-1 2025-02-11 22:13:49,536 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/f0bff05d-199c-47a5-b636-9976e9ba0190 2025-02-11 22:13:49,546 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/7004ed0d-f3ac-4c27-9dcb-4051226bcc00 2025-02-11 22:13:50,793 - 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.25 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.04 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.044/2.145/3.247/1.101 ms') 2025-02-11 22:13:50,793 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-99251158-55386046 passed 2025-02-11 22:13:50,946 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-11 22:13:50,946 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-99251158-55386046, IP 154.179.14.132, Port 22 2025-02-11 22:13:51,101 - DEBUG - VM ctest-TestBasicVMVNx-99251158-55386046 is ready for SSH connections 2025-02-11 22:13:51,101 - DEBUG - FILE SIZE = 1303B 2025-02-11 22:13:51,101 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-99251158-31753896 to ctest-TestBasicVMVNx-99251158-55386046 using scp 2025-02-11 22:13:51,102 - 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-11 22:13:51,102 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-02-11 22:13:53,094 - DEBUG - 1+0 records in 1+0 records out 2025-02-11 22:13:53,757 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-11 22:13:54,101 - 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-11 22:13:54,102 - DEBUG - ls -l testfile 2025-02-11 22:13:55,729 - DEBUG - -rw------- 1 cirros cirros 1303 Feb 11 15:13 testfile 2025-02-11 22:13:55,729 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-99251158-55386046 2025-02-11 22:13:55,729 - INFO - Deleting VM ctest-TestBasicVMVNx-99251158-55386046 2025-02-11 22:13:55,808 - INFO - Deleting VM ctest-TestBasicVMVNx-99251158-31753896 2025-02-11 22:13:55,886 - INFO - Deleting VN ctest-vn-15282834 2025-02-11 22:13:55,934 - DEBUG - VN 0a5c512f-96e8-42dc-aac0-8bc98f39b248 still in use: Unable to complete operation on network 0a5c512f-96e8-42dc-aac0-8bc98f39b248. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-44cd5612-e8c4-437b-9e30-c8e685397b5a'] 2025-02-11 22:13:55,934 - WARNING - Deleting VN ctest-vn-15282834 failed..Will retry 2025-02-11 22:13:58,041 - DEBUG - Response for deleting network () 2025-02-11 22:13:58,296 - DEBUG - No XMPP flaps were noticed during the test
2025-02-11 22:13:58,296 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-02-11 22:13:58,296 - INFO - -------------------------------------------------------------------------------- 2025-02-11 22:13:59,076 - INFO - Deleted project: ctest-TestBasicVMVNx-99251158, ID : ed7f95a7-bd68-4566-a244-aecbd486e84c