2025-06-12 02:22:38,142 - INFO - Domain Default found not creating 2025-06-12 02:22:38,304 - INFO - Project ctest-TestBasicVMVNx-03022902 not found, creating it 2025-06-12 02:22:38,779 - INFO - Created Project:ctest-TestBasicVMVNx-03022902, ID : fab51804-7eb3-46d7-9b5b-4230f0e97930 2025-06-12 02:22:40,253 - INFO - ================================================================================ 2025-06-12 02:22:40,253 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-06-12 02:22:40,253 - 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-06-12 02:22:40,509 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.202': '0'}} with 2025-06-12 02:22:40,509 - INFO - Initial checks done. Running the testcase now 2025-06-12 02:22:40,510 - INFO - 2025-06-12 02:22:41,096 - DEBUG - Response for create_network : {'network': {'id': 'ff8a538c-2dca-42b3-8e2a-bbe8d8345d8e', 'name': 'ctest-vn-34619456', 'tenant_id': 'fab518047eb346d79b5b4230f0e97930', 'project_id': 'fab518047eb346d79b5b4230f0e97930', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-03022902', 'ctest-vn-34619456'], 'port_security_enabled': True, 'description': ''}} 2025-06-12 02:22:41,248 - DEBUG - Response for create_subnet : {'subnet': {'id': '60591cb8-c107-4a29-a9d5-6c018aff132a', 'name': '', 'tenant_id': 'fab518047eb346d79b5b4230f0e97930', 'network_id': 'ff8a538c-2dca-42b3-8e2a-bbe8d8345d8e', 'ip_version': 4, 'cidr': '124.145.156.192/26', 'allocation_pools': [{'start': '124.145.156.194', 'end': '124.145.156.254'}], 'gateway_ip': '124.145.156.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '124.145.156.194', 'tags': [], 'project_id': 'fab518047eb346d79b5b4230f0e97930'}} 2025-06-12 02:22:41,267 - INFO - Created VN ctest-vn-34619456 2025-06-12 02:22:41,319 - DEBUG - VN ctest-vn-34619456 UUID is ff8a538c-2dca-42b3-8e2a-bbe8d8345d8e 2025-06-12 02:22:41,491 - DEBUG - Services list from nova: [, , ] 2025-06-12 02:22:42,534 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3450-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3450-1) 2025-06-12 02:22:43,693 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3450-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3450-1) 2025-06-12 02:22:43,693 - INFO - Waiting for VM ctest-TestBasicVMVNx-03022902-21366825 to be up.. 2025-06-12 02:22:43,777 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-12 02:22:48,856 - DEBUG - VM is in ACTIVE state now 2025-06-12 02:22:48,856 - INFO - VM name : ctest-TestBasicVMVNx-03022902-21366825 2025-06-12 02:22:48,935 - DEBUG - VM ctest-TestBasicVMVNx-03022902-21366825 ID is 8876ace1-0265-46ce-b840-e86b5c73e9ab 2025-06-12 02:22:48,958 - DEBUG - VM ctest-TestBasicVMVNx-03022902-21366825 launched on Node cn-jenkins-deploy-platform-ansible-os-3450-1 2025-06-12 02:22:49,038 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/8876ace1-0265-46ce-b840-e86b5c73e9ab 2025-06-12 02:22:49,340 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/8876ace1-0265-46ce-b840-e86b5c73e9ab 2025-06-12 02:22:49,373 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/a09c9d33-07f6-4508-b9f9-19e1cf1a57d7 2025-06-12 02:22:52,660 - 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 1027ms') 2025-06-12 02:22:52,660 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-03022902-21366825 failed! 2025-06-12 02:22:52,715 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-03022902:ctest-vn-34619456 is 124.145.156.193 and allocation pool is NOT set 2025-06-12 02:22:54,785 - 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.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.456 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.456/2.566/4.677/2.110 ms') 2025-06-12 02:22:54,785 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-03022902-21366825 passed 2025-06-12 02:22:54,939 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-12 02:22:54,939 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-03022902-21366825, IP 124.145.156.195, Port 22 2025-06-12 02:22:55,099 - DEBUG - VM ctest-TestBasicVMVNx-03022902-21366825 is ready for SSH connections 2025-06-12 02:22:55,099 - INFO - Waiting for VM ctest-TestBasicVMVNx-03022902-28266420 to be up.. 2025-06-12 02:22:55,177 - DEBUG - VM is in ACTIVE state now 2025-06-12 02:22:55,177 - INFO - VM name : ctest-TestBasicVMVNx-03022902-28266420 2025-06-12 02:22:55,253 - DEBUG - VM ctest-TestBasicVMVNx-03022902-28266420 ID is 5b945f8f-6505-4595-985f-8ce04115d1a3 2025-06-12 02:22:55,253 - DEBUG - VM ctest-TestBasicVMVNx-03022902-28266420 launched on Node cn-jenkins-deploy-platform-ansible-os-3450-1 2025-06-12 02:22:55,331 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/5b945f8f-6505-4595-985f-8ce04115d1a3 2025-06-12 02:22:55,341 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/a71cc35f-e1a6-4db4-bcc1-eb6dffd6ba89 2025-06-12 02:22:56,579 - 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.23 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.400 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.400/1.816/3.233/1.416 ms') 2025-06-12 02:22:56,579 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-03022902-28266420 passed 2025-06-12 02:22:56,732 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-12 02:22:56,732 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-03022902-28266420, IP 124.145.156.196, Port 22 2025-06-12 02:22:56,886 - DEBUG - VM ctest-TestBasicVMVNx-03022902-28266420 is ready for SSH connections 2025-06-12 02:22:56,887 - DEBUG - FILE SIZE = 1303B 2025-06-12 02:22:56,887 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-03022902-21366825 to ctest-TestBasicVMVNx-03022902-28266420 using scp 2025-06-12 02:22:56,887 - 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-06-12 02:22:56,888 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-06-12 02:22:58,783 - DEBUG - 1+0 records in 1+0 records out 2025-06-12 02:22:59,539 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-12 02:22:59,869 - 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-06-12 02:22:59,869 - DEBUG - ls -l testfile 2025-06-12 02:23:01,438 - DEBUG - -rw------- 1 cirros cirros 1303 Jun 11 20:22 testfile 2025-06-12 02:23:01,439 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-03022902-28266420 2025-06-12 02:23:01,439 - INFO - Deleting VM ctest-TestBasicVMVNx-03022902-28266420 2025-06-12 02:23:01,507 - INFO - Deleting VM ctest-TestBasicVMVNx-03022902-21366825 2025-06-12 02:23:01,573 - INFO - Deleting VN ctest-vn-34619456 2025-06-12 02:23:01,606 - DEBUG - VN ff8a538c-2dca-42b3-8e2a-bbe8d8345d8e still in use: Unable to complete operation on network ff8a538c-2dca-42b3-8e2a-bbe8d8345d8e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bcace10b-1d85-40cb-af5d-9d6a09bf0451'] 2025-06-12 02:23:01,606 - WARNING - Deleting VN ctest-vn-34619456 failed..Will retry 2025-06-12 02:23:03,710 - DEBUG - Response for deleting network () 2025-06-12 02:23:03,969 - DEBUG - No XMPP flaps were noticed during the test 2025-06-12 02:23:03,969 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23] 2025-06-12 02:23:03,969 - INFO - -------------------------------------------------------------------------------- 2025-06-12 02:23:04,672 - INFO - Deleted project: ctest-TestBasicVMVNx-03022902, ID : fab51804-7eb3-46d7-9b5b-4230f0e97930