2025-05-19 02:03:56,473 - INFO - Reading existing Domain with UUID 4533365a-478b-4553-a889-03e442e66f00 2025-05-19 02:03:56,485 - INFO - Using existing domain ['admin_domain'](4533365a-478b-4553-a889-03e442e66f00) 2025-05-19 02:03:56,675 - INFO - Project ctest-TestBasicVMVNx-84121979 not found, creating it 2025-05-19 02:03:57,155 - INFO - Created Project:ctest-TestBasicVMVNx-84121979, ID : c728a7c1-3a2e-4a62-ba4b-1f8bdc3f8e31 2025-05-19 02:03:58,845 - INFO - ================================================================================ 2025-05-19 02:03:58,845 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-05-19 02:03:58,845 - 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-19 02:03:59,229 - DEBUG - Nothing to compare xmpp stats {'10.0.0.56': {'10.0.0.56': '0'}} with 2025-05-19 02:03:59,229 - INFO - Initial checks done. Running the testcase now 2025-05-19 02:03:59,230 - INFO - 2025-05-19 02:03:59,989 - DEBUG - Response for create_network : {'network': {'id': 'ebead785-e094-4834-9d63-9341a3adda3a', 'name': 'ctest-vn-11446067', 'tenant_id': 'c728a7c13a2e4a62ba4b1f8bdc3f8e31', 'project_id': 'c728a7c13a2e4a62ba4b1f8bdc3f8e31', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicVMVNx-84121979', 'ctest-vn-11446067'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-05-19 02:04:00,225 - DEBUG - Response for create_subnet : {'subnet': {'id': '8b53e834-696a-414d-9044-b995befe0731', 'name': '', 'tenant_id': 'c728a7c13a2e4a62ba4b1f8bdc3f8e31', 'network_id': 'ebead785-e094-4834-9d63-9341a3adda3a', 'ip_version': 4, 'cidr': '63.147.190.64/26', 'allocation_pools': [{'start': '63.147.190.66', 'end': '63.147.190.126'}], 'gateway_ip': '63.147.190.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-05-19T02:04:00.126275', 'updated_at': '2025-05-19T02:04:00.126275', 'dns_server_address': '63.147.190.66', 'tags': [], 'project_id': 'c728a7c13a2e4a62ba4b1f8bdc3f8e31'}} 2025-05-19 02:04:00,290 - INFO - Created VN ctest-vn-11446067 2025-05-19 02:04:00,348 - DEBUG - VN ctest-vn-11446067 UUID is ebead785-e094-4834-9d63-9341a3adda3a 2025-05-19 02:04:00,628 - DEBUG - Services list from nova: [, , ] 2025-05-19 02:04:01,842 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-538-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-538-1) 2025-05-19 02:04:03,127 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-538-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-538-1) 2025-05-19 02:04:03,127 - INFO - Waiting for VM ctest-TestBasicVMVNx-84121979-17047520 to be up.. 2025-05-19 02:04:03,275 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-19 02:04:08,408 - DEBUG - VM is in ACTIVE state now 2025-05-19 02:04:08,408 - INFO - VM name : ctest-TestBasicVMVNx-84121979-17047520 2025-05-19 02:04:08,553 - DEBUG - VM ctest-TestBasicVMVNx-84121979-17047520 ID is 7d434b65-a7c5-4093-bbca-4b8360053ea2 2025-05-19 02:04:08,577 - DEBUG - VM ctest-TestBasicVMVNx-84121979-17047520 launched on Node cn-jenkins-deploy-platform-juju-os-538-1 2025-05-19 02:04:08,718 - DEBUG - Requesting: https://10.0.0.56:8082/virtual-machine/7d434b65-a7c5-4093-bbca-4b8360053ea2 2025-05-19 02:04:09,061 - DEBUG - Requesting: https://10.0.0.56:8082/virtual-machine/7d434b65-a7c5-4093-bbca-4b8360053ea2 2025-05-19 02:04:09,145 - DEBUG - Requesting: https://10.0.0.56:8082/virtual-machine-interface/bf36c7c0-20e7-49b6-b56d-9322a25ecea6 2025-05-19 02:04:12,624 - 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 1009ms') 2025-05-19 02:04:12,624 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-84121979-17047520 failed! 2025-05-19 02:04:12,680 - DEBUG - Gateway for vn admin_domain:ctest-TestBasicVMVNx-84121979:ctest-vn-11446067 is 63.147.190.65 and allocation pool is NOT set 2025-05-19 02:04:14,771 - 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=6.73 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=4.17 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 = 4.167/5.450/6.733/1.283 ms') 2025-05-19 02:04:14,771 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-84121979-17047520 passed 2025-05-19 02:04:14,932 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-19 02:04:14,932 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-84121979-17047520, IP 63.147.190.67, Port 22 2025-05-19 02:04:15,153 - DEBUG - VM ctest-TestBasicVMVNx-84121979-17047520 is ready for SSH connections 2025-05-19 02:04:15,153 - INFO - Waiting for VM ctest-TestBasicVMVNx-84121979-05829115 to be up.. 2025-05-19 02:04:15,309 - DEBUG - VM is in ACTIVE state now 2025-05-19 02:04:15,309 - INFO - VM name : ctest-TestBasicVMVNx-84121979-05829115 2025-05-19 02:04:15,454 - DEBUG - VM ctest-TestBasicVMVNx-84121979-05829115 ID is 2efa6dcc-cb8c-4232-b06b-da1fc3db2dd4 2025-05-19 02:04:15,454 - DEBUG - VM ctest-TestBasicVMVNx-84121979-05829115 launched on Node cn-jenkins-deploy-platform-juju-os-538-1 2025-05-19 02:04:15,598 - DEBUG - Requesting: https://10.0.0.56:8082/virtual-machine/2efa6dcc-cb8c-4232-b06b-da1fc3db2dd4 2025-05-19 02:04:15,657 - DEBUG - Requesting: https://10.0.0.56:8082/virtual-machine-interface/8603c9cf-bc63-484d-8ddc-9fdc5080fcb2 2025-05-19 02:04:17,122 - 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.08 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.434 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.434/1.757/3.080/1.323 ms') 2025-05-19 02:04:17,122 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-84121979-05829115 passed 2025-05-19 02:04:17,276 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-19 02:04:17,277 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-84121979-05829115, IP 63.147.190.68, Port 22 2025-05-19 02:04:17,494 - DEBUG - VM ctest-TestBasicVMVNx-84121979-05829115 is ready for SSH connections 2025-05-19 02:04:17,494 - DEBUG - FILE SIZE = 1303B 2025-05-19 02:04:17,495 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-84121979-17047520 to ctest-TestBasicVMVNx-84121979-05829115 using scp 2025-05-19 02:04:17,499 - 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.56, gateway password: c0ntrail123 2025-05-19 02:04:17,500 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-05-19 02:04:19,463 - DEBUG - 1+0 records in 1+0 records out 2025-05-19 02:04:20,054 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-19 02:04:20,399 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.56, gateway password: c0ntrail123 2025-05-19 02:04:20,399 - DEBUG - ls -l testfile 2025-05-19 02:04:22,127 - DEBUG - -rw------- 1 cirros cirros 1303 May 18 20:04 testfile 2025-05-19 02:04:22,127 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-84121979-05829115 2025-05-19 02:04:22,128 - INFO - Deleting VM ctest-TestBasicVMVNx-84121979-05829115 2025-05-19 02:04:22,232 - INFO - Deleting VM ctest-TestBasicVMVNx-84121979-17047520 2025-05-19 02:04:22,348 - INFO - Deleting VN ctest-vn-11446067 2025-05-19 02:04:22,492 - DEBUG - VN ebead785-e094-4834-9d63-9341a3adda3a still in use: Unable to complete operation on network ebead785-e094-4834-9d63-9341a3adda3a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-73e2662b-7142-4cb9-b144-edf23ee5e6e1'] 2025-05-19 02:04:22,492 - WARNING - Deleting VN ctest-vn-11446067 failed..Will retry 2025-05-19 02:04:24,682 - DEBUG - Response for deleting network () 2025-05-19 02:04:25,105 - DEBUG - No XMPP flaps were noticed during the test
2025-05-19 02:04:25,106 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:27]
2025-05-19 02:04:25,106 - INFO - -------------------------------------------------------------------------------- 2025-05-19 02:04:26,009 - INFO - Deleted project: ctest-TestBasicVMVNx-84121979, ID : c728a7c1-3a2e-4a62-ba4b-1f8bdc3f8e31