2025-03-17 02:30:23,260 - INFO - Domain Default found not creating 2025-03-17 02:30:23,423 - INFO - Project ctest-TestBasicVMVNx-18669081 not found, creating it 2025-03-17 02:30:23,935 - INFO - Created Project:ctest-TestBasicVMVNx-18669081, ID : fb6a5638-820a-410e-9e9f-36e5aff67387 2025-03-17 02:30:25,407 - INFO - ================================================================================ 2025-03-17 02:30:25,407 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-03-17 02:30:25,407 - 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-17 02:30:25,665 - DEBUG - Nothing to compare xmpp stats {'10.0.0.46': {'10.0.0.46': '0'}} with 2025-03-17 02:30:25,666 - INFO - Initial checks done. Running the testcase now 2025-03-17 02:30:25,666 - INFO - 2025-03-17 02:30:26,228 - DEBUG - Response for create_network : {'network': {'id': 'd1f89d68-f5bd-41da-a539-b240c27d1064', 'name': 'ctest-vn-58036383', 'tenant_id': 'fb6a5638820a410e9e9f36e5aff67387', 'project_id': 'fb6a5638820a410e9e9f36e5aff67387', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-18669081', 'ctest-vn-58036383'], 'port_security_enabled': True, 'description': ''}} 2025-03-17 02:30:26,443 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b458d98e-9f46-46a6-ba0e-d89296a64591', 'name': '', 'tenant_id': 'fb6a5638820a410e9e9f36e5aff67387', 'network_id': 'd1f89d68-f5bd-41da-a539-b240c27d1064', 'ip_version': 4, 'cidr': '86.8.164.64/26', 'allocation_pools': [{'start': '86.8.164.66', 'end': '86.8.164.126'}], 'gateway_ip': '86.8.164.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '86.8.164.66', 'tags': [], 'project_id': 'fb6a5638820a410e9e9f36e5aff67387'}} 2025-03-17 02:30:26,460 - INFO - Created VN ctest-vn-58036383 2025-03-17 02:30:26,512 - DEBUG - VN ctest-vn-58036383 UUID is d1f89d68-f5bd-41da-a539-b240c27d1064 2025-03-17 02:30:26,682 - DEBUG - Services list from nova: [, , ] 2025-03-17 02:30:27,698 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2891-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2891-1) 2025-03-17 02:30:28,842 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2891-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2891-1) 2025-03-17 02:30:28,842 - INFO - Waiting for VM ctest-TestBasicVMVNx-18669081-96624251 to be up.. 2025-03-17 02:30:28,921 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-17 02:30:34,002 - DEBUG - VM is in ACTIVE state now 2025-03-17 02:30:34,003 - INFO - VM name : ctest-TestBasicVMVNx-18669081-96624251 2025-03-17 02:30:34,080 - DEBUG - VM ctest-TestBasicVMVNx-18669081-96624251 ID is a42abb02-506e-422b-bc8e-3fa66dbec91e 2025-03-17 02:30:34,099 - DEBUG - VM ctest-TestBasicVMVNx-18669081-96624251 launched on Node cn-jenkins-deploy-platform-ansible-os-2891-1. 2025-03-17 02:30:34,176 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine/a42abb02-506e-422b-bc8e-3fa66dbec91e 2025-03-17 02:30:34,467 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine/a42abb02-506e-422b-bc8e-3fa66dbec91e 2025-03-17 02:30:34,500 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine-interface/b635c336-5d77-41f3-bf95-fe7287370692 2025-03-17 02:30:37,748 - 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-03-17 02:30:37,748 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-18669081-96624251 failed! 2025-03-17 02:30:37,804 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-18669081:ctest-vn-58036383 is 86.8.164.65 and allocation pool is NOT set 2025-03-17 02:30:39,868 - 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.11 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.888 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.888/2.499/4.110/1.611 ms') 2025-03-17 02:30:39,868 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-18669081-96624251 passed 2025-03-17 02:30:40,032 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-17 02:30:40,032 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-18669081-96624251, IP 86.8.164.67, Port 22 2025-03-17 02:30:40,187 - DEBUG - VM ctest-TestBasicVMVNx-18669081-96624251 is ready for SSH connections 2025-03-17 02:30:40,187 - INFO - Waiting for VM ctest-TestBasicVMVNx-18669081-08521946 to be up.. 2025-03-17 02:30:40,259 - DEBUG - VM is in ACTIVE state now 2025-03-17 02:30:40,260 - INFO - VM name : ctest-TestBasicVMVNx-18669081-08521946 2025-03-17 02:30:40,357 - DEBUG - VM ctest-TestBasicVMVNx-18669081-08521946 ID is 88d32c23-6b80-4619-8565-ee8fefcfe2c1 2025-03-17 02:30:40,357 - DEBUG - VM ctest-TestBasicVMVNx-18669081-08521946 launched on Node cn-jenkins-deploy-platform-ansible-os-2891-1. 2025-03-17 02:30:40,441 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine/88d32c23-6b80-4619-8565-ee8fefcfe2c1 2025-03-17 02:30:40,450 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine-interface/1a4d4e04-ba4d-4692-b117-7979ff8e1919 2025-03-17 02:30:41,694 - 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.09 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.14 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 = 2.135/3.110/4.086/0.975 ms') 2025-03-17 02:30:41,694 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-18669081-08521946 passed 2025-03-17 02:30:41,852 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-17 02:30:41,852 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-18669081-08521946, IP 86.8.164.68, Port 22 2025-03-17 02:30:42,018 - DEBUG - VM ctest-TestBasicVMVNx-18669081-08521946 is ready for SSH connections 2025-03-17 02:30:42,018 - DEBUG - FILE SIZE = 1303B 2025-03-17 02:30:42,018 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-18669081-96624251 to ctest-TestBasicVMVNx-18669081-08521946 using scp 2025-03-17 02:30:42,020 - 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.46, gateway password: c0ntrail123 2025-03-17 02:30:42,020 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-03-17 02:30:43,959 - DEBUG - 1+0 records in 1+0 records out 2025-03-17 02:30:44,603 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-17 02:30:44,931 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.46, gateway password: c0ntrail123 2025-03-17 02:30:44,932 - DEBUG - ls -l testfile 2025-03-17 02:30:46,526 - DEBUG - -rw------- 1 cirros cirros 1303 Mar 16 20:30 testfile 2025-03-17 02:30:46,526 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-18669081-08521946 2025-03-17 02:30:46,526 - INFO - Deleting VM ctest-TestBasicVMVNx-18669081-08521946 2025-03-17 02:30:46,600 - INFO - Deleting VM ctest-TestBasicVMVNx-18669081-96624251 2025-03-17 02:30:46,677 - INFO - Deleting VN ctest-vn-58036383 2025-03-17 02:30:46,711 - DEBUG - VN d1f89d68-f5bd-41da-a539-b240c27d1064 still in use: Unable to complete operation on network d1f89d68-f5bd-41da-a539-b240c27d1064. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-796ab876-33b8-4e73-bf1a-ef6a849fd9a1'] 2025-03-17 02:30:46,711 - WARNING - Deleting VN ctest-vn-58036383 failed..Will retry 2025-03-17 02:30:48,827 - DEBUG - Response for deleting network () 2025-03-17 02:30:49,082 - DEBUG - No XMPP flaps were noticed during the test
2025-03-17 02:30:49,082 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-03-17 02:30:49,082 - INFO - -------------------------------------------------------------------------------- 2025-03-17 02:30:49,759 - INFO - Deleted project: ctest-TestBasicVMVNx-18669081, ID : fb6a5638-820a-410e-9e9f-36e5aff67387