2025-08-21 02:12:43,568 - INFO - Domain Default found not creating 2025-08-21 02:12:43,688 - INFO - Project ctest-TestBasicVMVNx-20507505 not found, creating it 2025-08-21 02:12:44,168 - INFO - Created Project:ctest-TestBasicVMVNx-20507505, ID : d860e736-f04e-4f19-87bd-5ca8cddd4cb7 2025-08-21 02:12:45,508 - INFO - ================================================================================ 2025-08-21 02:12:45,508 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-08-21 02:12:45,508 - 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-08-21 02:12:45,760 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.192': '0'}} with 2025-08-21 02:12:45,760 - INFO - Initial checks done. Running the testcase now 2025-08-21 02:12:45,760 - INFO - 2025-08-21 02:12:46,297 - DEBUG - Response for create_network : {'network': {'id': '5d372552-4009-4437-b22e-8d388179ea54', 'name': 'ctest-vn-52523964', 'tenant_id': 'd860e736f04e4f1987bd5ca8cddd4cb7', 'project_id': 'd860e736f04e4f1987bd5ca8cddd4cb7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-20507505', 'ctest-vn-52523964'], 'port_security_enabled': True, 'description': ''}} 2025-08-21 02:12:46,504 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ad0f2904-4170-41f5-b4c7-a2325624f740', 'name': '', 'tenant_id': 'd860e736f04e4f1987bd5ca8cddd4cb7', 'network_id': '5d372552-4009-4437-b22e-8d388179ea54', 'ip_version': 4, 'cidr': '2.155.166.64/26', 'allocation_pools': [{'start': '2.155.166.66', 'end': '2.155.166.126'}], 'gateway_ip': '2.155.166.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '2.155.166.66', 'tags': [], 'project_id': 'd860e736f04e4f1987bd5ca8cddd4cb7'}} 2025-08-21 02:12:46,523 - INFO - Created VN ctest-vn-52523964 2025-08-21 02:12:46,576 - DEBUG - VN ctest-vn-52523964 UUID is 5d372552-4009-4437-b22e-8d388179ea54 2025-08-21 02:12:46,771 - DEBUG - Services list from nova: [, , ] 2025-08-21 02:12:47,820 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3905-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3905-1) 2025-08-21 02:12:48,946 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3905-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3905-1) 2025-08-21 02:12:48,946 - INFO - Waiting for VM ctest-TestBasicVMVNx-20507505-08261283 to be up.. 2025-08-21 02:12:49,026 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-21 02:12:54,115 - DEBUG - VM is in ACTIVE state now 2025-08-21 02:12:54,115 - INFO - VM name : ctest-TestBasicVMVNx-20507505-08261283 2025-08-21 02:12:54,195 - DEBUG - VM ctest-TestBasicVMVNx-20507505-08261283 ID is b0130759-d2f4-4c3c-9e39-2b5fe099af0c 2025-08-21 02:12:54,215 - DEBUG - VM ctest-TestBasicVMVNx-20507505-08261283 launched on Node cn-jenkins-deploy-platform-ansible-os-3905-1 2025-08-21 02:12:54,283 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/b0130759-d2f4-4c3c-9e39-2b5fe099af0c 2025-08-21 02:12:54,581 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/b0130759-d2f4-4c3c-9e39-2b5fe099af0c 2025-08-21 02:12:54,620 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/5682b0fa-f5fc-4d96-80de-b2f86e90b1f3 2025-08-21 02:12:57,884 - 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 1023ms') 2025-08-21 02:12:57,885 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-20507505-08261283 failed! 2025-08-21 02:12:57,944 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-20507505:ctest-vn-52523964 is 2.155.166.65 and allocation pool is NOT set 2025-08-21 02:13:00,001 - 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=3.64 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.416 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.416/2.028/3.641/1.612 ms') 2025-08-21 02:13:00,001 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-20507505-08261283 passed 2025-08-21 02:13:00,148 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-21 02:13:00,148 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-20507505-08261283, IP 2.155.166.67, Port 22 2025-08-21 02:13:00,307 - DEBUG - VM ctest-TestBasicVMVNx-20507505-08261283 is ready for SSH connections 2025-08-21 02:13:00,307 - INFO - Waiting for VM ctest-TestBasicVMVNx-20507505-01828740 to be up.. 2025-08-21 02:13:00,373 - DEBUG - VM is in ACTIVE state now 2025-08-21 02:13:00,373 - INFO - VM name : ctest-TestBasicVMVNx-20507505-01828740 2025-08-21 02:13:00,434 - DEBUG - VM ctest-TestBasicVMVNx-20507505-01828740 ID is 30e37190-93f3-41a6-9527-49e785d4d4a7 2025-08-21 02:13:00,434 - DEBUG - VM ctest-TestBasicVMVNx-20507505-01828740 launched on Node cn-jenkins-deploy-platform-ansible-os-3905-1 2025-08-21 02:13:00,502 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/30e37190-93f3-41a6-9527-49e785d4d4a7 2025-08-21 02:13:00,510 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/aa51f618-734d-4926-a38f-10fb69dbedbb 2025-08-21 02:13:01,746 - 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.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.439 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.439/1.571/2.703/1.132 ms') 2025-08-21 02:13:01,746 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-20507505-01828740 passed 2025-08-21 02:13:01,900 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-21 02:13:01,900 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-20507505-01828740, IP 2.155.166.68, Port 22 2025-08-21 02:13:02,051 - DEBUG - VM ctest-TestBasicVMVNx-20507505-01828740 is ready for SSH connections 2025-08-21 02:13:02,051 - DEBUG - FILE SIZE = 1303B 2025-08-21 02:13:02,051 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-20507505-08261283 to ctest-TestBasicVMVNx-20507505-01828740 using scp 2025-08-21 02:13:02,053 - 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.23, gateway password: c0ntrail123 2025-08-21 02:13:02,053 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-08-21 02:13:03,920 - DEBUG - 1+0 records in 1+0 records out 2025-08-21 02:13:04,523 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-21 02:13:04,859 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-08-21 02:13:04,860 - DEBUG - ls -l testfile 2025-08-21 02:13:06,446 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 20 20:13 testfile 2025-08-21 02:13:06,446 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-20507505-01828740 2025-08-21 02:13:06,447 - INFO - Deleting VM ctest-TestBasicVMVNx-20507505-01828740 2025-08-21 02:13:06,509 - INFO - Deleting VM ctest-TestBasicVMVNx-20507505-08261283 2025-08-21 02:13:06,588 - INFO - Deleting VN ctest-vn-52523964 2025-08-21 02:13:06,628 - DEBUG - VN 5d372552-4009-4437-b22e-8d388179ea54 still in use: Unable to complete operation on network 5d372552-4009-4437-b22e-8d388179ea54. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-28a12862-4749-441c-9531-162886feb7ce'] 2025-08-21 02:13:06,628 - WARNING - Deleting VN ctest-vn-52523964 failed..Will retry 2025-08-21 02:13:08,736 - DEBUG - Response for deleting network () 2025-08-21 02:13:08,994 - DEBUG - No XMPP flaps were noticed during the test
2025-08-21 02:13:08,995 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-08-21 02:13:08,995 - INFO - -------------------------------------------------------------------------------- 2025-08-21 02:13:09,667 - INFO - Deleted project: ctest-TestBasicVMVNx-20507505, ID : d860e736-f04e-4f19-87bd-5ca8cddd4cb7