2025-04-18 11:27:57,011 - INFO - Reading existing Domain with UUID 9e0d5218-6863-4f3b-af0c-1ff786d855f1 2025-04-18 11:27:57,025 - INFO - Using existing domain ['admin_domain'](9e0d5218-6863-4f3b-af0c-1ff786d855f1) 2025-04-18 11:27:57,297 - INFO - Project ctest-TestBasicVMVNx-80953044 not found, creating it 2025-04-18 11:27:57,872 - INFO - Created Project:ctest-TestBasicVMVNx-80953044, ID : 5be01c36-f64e-45c1-a267-3d9858fba51a 2025-04-18 11:27:59,895 - INFO - ================================================================================ 2025-04-18 11:27:59,895 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-04-18 11:27:59,896 - 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-18 11:28:00,301 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.0.0.49': '0'}} with 2025-04-18 11:28:00,301 - INFO - Initial checks done. Running the testcase now 2025-04-18 11:28:00,301 - INFO - 2025-04-18 11:28:01,213 - DEBUG - Response for create_network : {'network': {'id': 'b0a6269c-442f-4292-8c76-ecf7f7131e81', 'name': 'ctest-vn-84932641', 'tenant_id': '5be01c36f64e45c1a2673d9858fba51a', 'project_id': '5be01c36f64e45c1a2673d9858fba51a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicVMVNx-80953044', 'ctest-vn-84932641'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-04-18 11:28:01,521 - DEBUG - Response for create_subnet : {'subnet': {'id': '8ba60f36-2dad-4e1d-bf50-109ae650e1d9', 'name': '', 'tenant_id': '5be01c36f64e45c1a2673d9858fba51a', 'network_id': 'b0a6269c-442f-4292-8c76-ecf7f7131e81', 'ip_version': 4, 'cidr': '154.205.173.192/26', 'allocation_pools': [{'start': '154.205.173.194', 'end': '154.205.173.254'}], 'gateway_ip': '154.205.173.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-04-18T11:28:01.395883', 'updated_at': '2025-04-18T11:28:01.395883', 'dns_server_address': '154.205.173.194', 'tags': [], 'project_id': '5be01c36f64e45c1a2673d9858fba51a'}} 2025-04-18 11:28:01,594 - INFO - Created VN ctest-vn-84932641 2025-04-18 11:28:01,660 - DEBUG - VN ctest-vn-84932641 UUID is b0a6269c-442f-4292-8c76-ecf7f7131e81 2025-04-18 11:28:01,972 - DEBUG - Services list from nova: [, , ] 2025-04-18 11:28:03,384 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-527-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-527-1) 2025-04-18 11:28:05,316 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-527-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-527-1) 2025-04-18 11:28:05,317 - INFO - Waiting for VM ctest-TestBasicVMVNx-80953044-93151607 to be up.. 2025-04-18 11:28:05,492 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-18 11:28:10,651 - DEBUG - VM is in ACTIVE state now 2025-04-18 11:28:10,652 - INFO - VM name : ctest-TestBasicVMVNx-80953044-93151607 2025-04-18 11:28:10,802 - DEBUG - VM ctest-TestBasicVMVNx-80953044-93151607 ID is 9c84d978-dcdd-4559-b641-e599cb50a650 2025-04-18 11:28:10,844 - DEBUG - VM ctest-TestBasicVMVNx-80953044-93151607 launched on Node cn-jenkins-deploy-platform-juju-os-527-1 2025-04-18 11:28:11,023 - DEBUG - Requesting: https://10.0.0.49:8082/virtual-machine/9c84d978-dcdd-4559-b641-e599cb50a650 2025-04-18 11:28:11,412 - DEBUG - Requesting: https://10.0.0.49:8082/virtual-machine/9c84d978-dcdd-4559-b641-e599cb50a650 2025-04-18 11:28:11,501 - DEBUG - Requesting: https://10.0.0.49:8082/virtual-machine-interface/bbca6cc3-245c-42a1-9ddf-26953a83a287 2025-04-18 11:28:14,974 - 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 1019ms') 2025-04-18 11:28:14,974 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-80953044-93151607 failed! 2025-04-18 11:28:15,032 - DEBUG - Gateway for vn admin_domain:ctest-TestBasicVMVNx-80953044:ctest-vn-84932641 is 154.205.173.193 and allocation pool is NOT set 2025-04-18 11:28:17,128 - 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=5.04 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.15 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.151/3.097/5.044/1.946 ms') 2025-04-18 11:28:17,128 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-80953044-93151607 passed 2025-04-18 11:28:17,292 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-18 11:28:17,292 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-80953044-93151607, IP 154.205.173.195, Port 22 2025-04-18 11:28:17,390 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-04-18 11:28:17,566 - DEBUG - VM ctest-TestBasicVMVNx-80953044-93151607 is NOT ready for SSH connections, VM status: ACTIVE 2025-04-18 11:28:22,567 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-18 11:28:22,567 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-80953044-93151607, IP 154.205.173.195, Port 22 2025-04-18 11:28:22,801 - DEBUG - VM ctest-TestBasicVMVNx-80953044-93151607 is ready for SSH connections 2025-04-18 11:28:22,801 - INFO - Waiting for VM ctest-TestBasicVMVNx-80953044-17826820 to be up.. 2025-04-18 11:28:22,960 - DEBUG - VM is in ACTIVE state now 2025-04-18 11:28:22,960 - INFO - VM name : ctest-TestBasicVMVNx-80953044-17826820 2025-04-18 11:28:23,124 - DEBUG - VM ctest-TestBasicVMVNx-80953044-17826820 ID is caac03ff-77ce-4a54-87aa-ff5e16e824bc 2025-04-18 11:28:23,124 - DEBUG - VM ctest-TestBasicVMVNx-80953044-17826820 launched on Node cn-jenkins-deploy-platform-juju-os-527-1 2025-04-18 11:28:23,289 - DEBUG - Requesting: https://10.0.0.49:8082/virtual-machine/caac03ff-77ce-4a54-87aa-ff5e16e824bc 2025-04-18 11:28:23,349 - DEBUG - Requesting: https://10.0.0.49:8082/virtual-machine-interface/f3a97f85-9949-4762-90ea-8d361f177114 2025-04-18 11:28:24,810 - 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=5.12 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.426 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.426/2.772/5.118/2.346 ms') 2025-04-18 11:28:24,810 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-80953044-17826820 passed 2025-04-18 11:28:24,968 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-18 11:28:24,968 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-80953044-17826820, IP 154.205.173.196, Port 22 2025-04-18 11:28:25,186 - DEBUG - VM ctest-TestBasicVMVNx-80953044-17826820 is ready for SSH connections 2025-04-18 11:28:25,186 - DEBUG - FILE SIZE = 1303B 2025-04-18 11:28:25,186 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-80953044-93151607 to ctest-TestBasicVMVNx-80953044-17826820 using scp 2025-04-18 11:28:25,193 - 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.49, gateway password: c0ntrail123 2025-04-18 11:28:25,193 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-04-18 11:28:27,236 - DEBUG - 1+0 records in 1+0 records out 2025-04-18 11:28:27,956 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-18 11:28:28,318 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-04-18 11:28:28,318 - DEBUG - ls -l testfile 2025-04-18 11:28:29,976 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 18 05:28 testfile 2025-04-18 11:28:29,976 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-80953044-17826820 2025-04-18 11:28:29,976 - INFO - Deleting VM ctest-TestBasicVMVNx-80953044-17826820 2025-04-18 11:28:30,097 - INFO - Deleting VM ctest-TestBasicVMVNx-80953044-93151607 2025-04-18 11:28:30,222 - INFO - Deleting VN ctest-vn-84932641 2025-04-18 11:28:30,368 - DEBUG - VN b0a6269c-442f-4292-8c76-ecf7f7131e81 still in use: Unable to complete operation on network b0a6269c-442f-4292-8c76-ecf7f7131e81. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4dc4cbfe-4b7f-4c71-81de-095a499e3743'] 2025-04-18 11:28:30,369 - WARNING - Deleting VN ctest-vn-84932641 failed..Will retry 2025-04-18 11:28:32,593 - DEBUG - Response for deleting network () 2025-04-18 11:28:32,985 - DEBUG - No XMPP flaps were noticed during the test 2025-04-18 11:28:32,985 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:33] 2025-04-18 11:28:32,986 - INFO - -------------------------------------------------------------------------------- 2025-04-18 11:28:33,788 - INFO - Deleted project: ctest-TestBasicVMVNx-80953044, ID : 5be01c36-f64e-45c1-a267-3d9858fba51a