2025-05-09 15:02:59,839 - INFO - Domain Default found not creating 2025-05-09 15:02:59,960 - INFO - Project ctest-TestBasicVMVNx-34990556 not found, creating it 2025-05-09 15:03:00,377 - INFO - Created Project:ctest-TestBasicVMVNx-34990556, ID : 7dfc9da5-9b24-4609-b1c3-038199fcf79c 2025-05-09 15:03:01,700 - INFO - ================================================================================ 2025-05-09 15:03:01,700 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-05-09 15:03:01,700 - 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-05-09 15:03:01,961 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-05-09 15:03:01,961 - INFO - Initial checks done. Running the testcase now 2025-05-09 15:03:01,961 - INFO - 2025-05-09 15:03:02,482 - DEBUG - Response for create_network : {'network': {'id': 'a193680a-33cb-4761-bb22-8c36a075890b', 'name': 'ctest-vn-97369026', 'tenant_id': '7dfc9da59b244609b1c3038199fcf79c', 'project_id': '7dfc9da59b244609b1c3038199fcf79c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-34990556', 'ctest-vn-97369026'], 'port_security_enabled': True, 'description': ''}} 2025-05-09 15:03:02,629 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f4dbf054-4f93-4af5-94d9-5a3a97a9b252', 'name': '', 'tenant_id': '7dfc9da59b244609b1c3038199fcf79c', 'network_id': 'a193680a-33cb-4761-bb22-8c36a075890b', 'ip_version': 4, 'cidr': '206.30.207.64/26', 'allocation_pools': [{'start': '206.30.207.66', 'end': '206.30.207.126'}], 'gateway_ip': '206.30.207.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '206.30.207.66', 'tags': [], 'project_id': '7dfc9da59b244609b1c3038199fcf79c'}} 2025-05-09 15:03:02,645 - INFO - Created VN ctest-vn-97369026 2025-05-09 15:03:02,696 - DEBUG - VN ctest-vn-97369026 UUID is a193680a-33cb-4761-bb22-8c36a075890b 2025-05-09 15:03:02,878 - DEBUG - Services list from nova: [, , ] 2025-05-09 15:03:03,834 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3293-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3293-1) 2025-05-09 15:03:04,903 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3293-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3293-1) 2025-05-09 15:03:04,903 - INFO - Waiting for VM ctest-TestBasicVMVNx-34990556-85274182 to be up.. 2025-05-09 15:03:04,974 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-09 15:03:10,041 - DEBUG - VM is in ACTIVE state now 2025-05-09 15:03:10,041 - INFO - VM name : ctest-TestBasicVMVNx-34990556-85274182 2025-05-09 15:03:10,102 - DEBUG - VM ctest-TestBasicVMVNx-34990556-85274182 ID is be8f3a52-87a4-4398-bf03-663a23571419 2025-05-09 15:03:10,118 - DEBUG - VM ctest-TestBasicVMVNx-34990556-85274182 launched on Node cn-jenkins-deploy-platform-ansible-os-3293-1 2025-05-09 15:03:10,178 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/be8f3a52-87a4-4398-bf03-663a23571419 2025-05-09 15:03:10,466 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/be8f3a52-87a4-4398-bf03-663a23571419 2025-05-09 15:03:10,494 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/5f67eed0-91a0-4fd3-b929-a56dcdaef0c1 2025-05-09 15:03:13,746 - 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 1016ms') 2025-05-09 15:03:13,746 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-34990556-85274182 failed! 2025-05-09 15:03:13,800 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-34990556:ctest-vn-97369026 is 206.30.207.65 and allocation pool is NOT set 2025-05-09 15:03:15,861 - 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.55 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.337 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.337/1.441/2.545/1.104 ms') 2025-05-09 15:03:15,861 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-34990556-85274182 passed 2025-05-09 15:03:16,016 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-09 15:03:16,016 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-34990556-85274182, IP 206.30.207.67, Port 22 2025-05-09 15:03:16,175 - DEBUG - VM ctest-TestBasicVMVNx-34990556-85274182 is ready for SSH connections 2025-05-09 15:03:16,175 - INFO - Waiting for VM ctest-TestBasicVMVNx-34990556-17021435 to be up.. 2025-05-09 15:03:16,240 - DEBUG - VM is in ACTIVE state now 2025-05-09 15:03:16,240 - INFO - VM name : ctest-TestBasicVMVNx-34990556-17021435 2025-05-09 15:03:16,306 - DEBUG - VM ctest-TestBasicVMVNx-34990556-17021435 ID is f3d3bc68-230d-4672-a9ef-217edb107eef 2025-05-09 15:03:16,306 - DEBUG - VM ctest-TestBasicVMVNx-34990556-17021435 launched on Node cn-jenkins-deploy-platform-ansible-os-3293-1 2025-05-09 15:03:16,370 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/f3d3bc68-230d-4672-a9ef-217edb107eef 2025-05-09 15:03:16,377 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/abf8e8ca-2c17-48e3-9ed1-015895f734d6 2025-05-09 15:03:17,615 - 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.68 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.359 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 = 0.359/1.519/2.679/1.160 ms') 2025-05-09 15:03:17,615 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-34990556-17021435 passed 2025-05-09 15:03:17,768 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-09 15:03:17,768 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-34990556-17021435, IP 206.30.207.68, Port 22 2025-05-09 15:03:17,924 - DEBUG - VM ctest-TestBasicVMVNx-34990556-17021435 is ready for SSH connections 2025-05-09 15:03:17,924 - DEBUG - FILE SIZE = 1303B 2025-05-09 15:03:17,924 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-34990556-85274182 to ctest-TestBasicVMVNx-34990556-17021435 using scp 2025-05-09 15:03:17,925 - 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.254, gateway password: c0ntrail123 2025-05-09 15:03:17,925 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-05-09 15:03:19,765 - DEBUG - 1+0 records in 1+0 records out 2025-05-09 15:03:20,345 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-09 15:03:20,652 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-05-09 15:03:20,652 - DEBUG - ls -l testfile 2025-05-09 15:03:22,219 - DEBUG - -rw------- 1 cirros cirros 1303 May 9 09:03 testfile 2025-05-09 15:03:22,219 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-34990556-17021435 2025-05-09 15:03:22,219 - INFO - Deleting VM ctest-TestBasicVMVNx-34990556-17021435 2025-05-09 15:03:22,289 - INFO - Deleting VM ctest-TestBasicVMVNx-34990556-85274182 2025-05-09 15:03:22,357 - INFO - Deleting VN ctest-vn-97369026 2025-05-09 15:03:22,396 - DEBUG - VN a193680a-33cb-4761-bb22-8c36a075890b still in use: Unable to complete operation on network a193680a-33cb-4761-bb22-8c36a075890b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cc457802-ac74-4fd9-9125-6c0a2e831d40'] 2025-05-09 15:03:22,396 - WARNING - Deleting VN ctest-vn-97369026 failed..Will retry 2025-05-09 15:03:24,503 - DEBUG - Response for deleting network () 2025-05-09 15:03:24,765 - DEBUG - No XMPP flaps were noticed during the test 2025-05-09 15:03:24,765 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23] 2025-05-09 15:03:24,765 - INFO - -------------------------------------------------------------------------------- 2025-05-09 15:03:25,411 - INFO - Deleted project: ctest-TestBasicVMVNx-34990556, ID : 7dfc9da5-9b24-4609-b1c3-038199fcf79c