2025-03-28 08:09:43,531 - INFO - Domain Default found not creating 2025-03-28 08:09:43,689 - INFO - Project ctest-TestBasicVMVNx-86278739 not found, creating it 2025-03-28 08:09:44,173 - INFO - Created Project:ctest-TestBasicVMVNx-86278739, ID : b28fba37-909e-4a19-a443-24a0ab9e7dc0 2025-03-28 08:09:45,657 - INFO - ================================================================================ 2025-03-28 08:09:45,658 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-03-28 08:09:45,658 - 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-28 08:09:45,913 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.5': '0'}} with 2025-03-28 08:09:45,913 - INFO - Initial checks done. Running the testcase now 2025-03-28 08:09:45,913 - INFO - 2025-03-28 08:09:46,473 - DEBUG - Response for create_network : {'network': {'id': '61af39a2-26a8-496e-be43-3b835a30d442', 'name': 'ctest-vn-48326984', 'tenant_id': 'b28fba37909e4a19a44324a0ab9e7dc0', 'project_id': 'b28fba37909e4a19a44324a0ab9e7dc0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-86278739', 'ctest-vn-48326984'], 'port_security_enabled': True, 'description': ''}} 2025-03-28 08:09:46,667 - DEBUG - Response for create_subnet : {'subnet': {'id': '4d4498b7-3a43-4a26-9782-838a15e0c205', 'name': '', 'tenant_id': 'b28fba37909e4a19a44324a0ab9e7dc0', 'network_id': '61af39a2-26a8-496e-be43-3b835a30d442', 'ip_version': 4, 'cidr': '137.253.215.192/26', 'allocation_pools': [{'start': '137.253.215.194', 'end': '137.253.215.254'}], 'gateway_ip': '137.253.215.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '137.253.215.194', 'tags': [], 'project_id': 'b28fba37909e4a19a44324a0ab9e7dc0'}} 2025-03-28 08:09:46,688 - INFO - Created VN ctest-vn-48326984 2025-03-28 08:09:46,742 - DEBUG - VN ctest-vn-48326984 UUID is 61af39a2-26a8-496e-be43-3b835a30d442 2025-03-28 08:09:46,916 - DEBUG - Services list from nova: [, , ] 2025-03-28 08:09:47,915 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2985-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2985-1) 2025-03-28 08:09:49,035 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2985-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2985-1) 2025-03-28 08:09:49,035 - INFO - Waiting for VM ctest-TestBasicVMVNx-86278739-75472679 to be up.. 2025-03-28 08:09:49,122 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-28 08:09:54,216 - DEBUG - VM is in ACTIVE state now 2025-03-28 08:09:54,216 - INFO - VM name : ctest-TestBasicVMVNx-86278739-75472679 2025-03-28 08:09:54,296 - DEBUG - VM ctest-TestBasicVMVNx-86278739-75472679 ID is 79ce74db-97d4-4dd4-826b-a18bfef5e2d9 2025-03-28 08:09:54,314 - DEBUG - VM ctest-TestBasicVMVNx-86278739-75472679 launched on Node cn-jenkins-deploy-platform-ansible-os-2985-1 2025-03-28 08:09:54,390 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/79ce74db-97d4-4dd4-826b-a18bfef5e2d9 2025-03-28 08:09:54,689 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/79ce74db-97d4-4dd4-826b-a18bfef5e2d9 2025-03-28 08:09:54,720 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/566bfa6e-b5f4-46b7-970a-2cf50078a2e2 2025-03-28 08:09:57,979 - 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 1007ms') 2025-03-28 08:09:57,979 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-86278739-75472679 failed! 2025-03-28 08:09:58,035 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-86278739:ctest-vn-48326984 is 137.253.215.193 and allocation pool is NOT set 2025-03-28 08:10:00,096 - 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=2.63 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.449 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.449/1.540/2.632/1.091 ms') 2025-03-28 08:10:00,097 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-86278739-75472679 passed 2025-03-28 08:10:00,254 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-28 08:10:00,255 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-86278739-75472679, IP 137.253.215.195, Port 22 2025-03-28 08:10:00,409 - DEBUG - VM ctest-TestBasicVMVNx-86278739-75472679 is ready for SSH connections 2025-03-28 08:10:00,409 - INFO - Waiting for VM ctest-TestBasicVMVNx-86278739-62840479 to be up.. 2025-03-28 08:10:00,500 - DEBUG - VM is in ACTIVE state now 2025-03-28 08:10:00,500 - INFO - VM name : ctest-TestBasicVMVNx-86278739-62840479 2025-03-28 08:10:00,583 - DEBUG - VM ctest-TestBasicVMVNx-86278739-62840479 ID is b90fdc59-2275-4a01-bacd-9cd218d194c0 2025-03-28 08:10:00,584 - DEBUG - VM ctest-TestBasicVMVNx-86278739-62840479 launched on Node cn-jenkins-deploy-platform-ansible-os-2985-1 2025-03-28 08:10:00,665 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/b90fdc59-2275-4a01-bacd-9cd218d194c0 2025-03-28 08:10:00,676 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/5ae255c8-c0bc-439f-8f55-77fdb945aef8 2025-03-28 08:10:01,922 - 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.88 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.340 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 = 0.340/2.110/3.880/1.770 ms') 2025-03-28 08:10:01,922 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-86278739-62840479 passed 2025-03-28 08:10:02,078 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-28 08:10:02,078 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-86278739-62840479, IP 137.253.215.196, Port 22 2025-03-28 08:10:02,234 - DEBUG - VM ctest-TestBasicVMVNx-86278739-62840479 is ready for SSH connections 2025-03-28 08:10:02,234 - DEBUG - FILE SIZE = 1303B 2025-03-28 08:10:02,234 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-86278739-75472679 to ctest-TestBasicVMVNx-86278739-62840479 using scp 2025-03-28 08:10:02,234 - 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.41, gateway password: c0ntrail123 2025-03-28 08:10:02,235 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-03-28 08:10:04,123 - DEBUG - 1+0 records in 1+0 records out 2025-03-28 08:10:04,704 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-28 08:10:05,029 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-03-28 08:10:05,029 - DEBUG - ls -l testfile 2025-03-28 08:10:06,613 - DEBUG - -rw------- 1 cirros cirros 1303 Mar 28 02:10 testfile 2025-03-28 08:10:06,613 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-86278739-62840479 2025-03-28 08:10:06,613 - INFO - Deleting VM ctest-TestBasicVMVNx-86278739-62840479 2025-03-28 08:10:06,815 - INFO - Deleting VM ctest-TestBasicVMVNx-86278739-75472679 2025-03-28 08:10:06,900 - INFO - Deleting VN ctest-vn-48326984 2025-03-28 08:10:06,946 - DEBUG - VN 61af39a2-26a8-496e-be43-3b835a30d442 still in use: Unable to complete operation on network 61af39a2-26a8-496e-be43-3b835a30d442. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4e542688-cf05-4976-8bcf-c02964935693'] 2025-03-28 08:10:06,946 - WARNING - Deleting VN ctest-vn-48326984 failed..Will retry 2025-03-28 08:10:09,102 - DEBUG - Response for deleting network () 2025-03-28 08:10:09,360 - DEBUG - No XMPP flaps were noticed during the test 2025-03-28 08:10:09,360 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2025-03-28 08:10:09,360 - INFO - -------------------------------------------------------------------------------- 2025-03-28 08:10:10,033 - INFO - Deleted project: ctest-TestBasicVMVNx-86278739, ID : b28fba37-909e-4a19-a443-24a0ab9e7dc0