2025-05-01 02:27:27,997 - INFO - Domain Default found not creating 2025-05-01 02:27:28,121 - INFO - Project ctest-TestBasicVMVNx-64989878 not found, creating it 2025-05-01 02:27:28,546 - INFO - Created Project:ctest-TestBasicVMVNx-64989878, ID : 4ccf9394-cdab-4284-9a9e-b8e8a4194221 2025-05-01 02:27:29,893 - INFO - ================================================================================ 2025-05-01 02:27:29,893 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-05-01 02:27:29,893 - 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-01 02:27:30,152 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-05-01 02:27:30,152 - INFO - Initial checks done. Running the testcase now 2025-05-01 02:27:30,153 - INFO - 2025-05-01 02:27:30,679 - DEBUG - Response for create_network : {'network': {'id': 'caaa368d-f96d-4439-8176-ce92d44ed535', 'name': 'ctest-vn-82731731', 'tenant_id': '4ccf9394cdab42849a9eb8e8a4194221', 'project_id': '4ccf9394cdab42849a9eb8e8a4194221', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-64989878', 'ctest-vn-82731731'], 'port_security_enabled': True, 'description': ''}} 2025-05-01 02:27:30,856 - DEBUG - Response for create_subnet : {'subnet': {'id': '96726054-9445-4e3a-8b49-c9b75ec681b9', 'name': '', 'tenant_id': '4ccf9394cdab42849a9eb8e8a4194221', 'network_id': 'caaa368d-f96d-4439-8176-ce92d44ed535', 'ip_version': 4, 'cidr': '136.147.53.0/26', 'allocation_pools': [{'start': '136.147.53.2', 'end': '136.147.53.62'}], 'gateway_ip': '136.147.53.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '136.147.53.2', 'tags': [], 'project_id': '4ccf9394cdab42849a9eb8e8a4194221'}} 2025-05-01 02:27:30,873 - INFO - Created VN ctest-vn-82731731 2025-05-01 02:27:30,923 - DEBUG - VN ctest-vn-82731731 UUID is caaa368d-f96d-4439-8176-ce92d44ed535 2025-05-01 02:27:31,111 - DEBUG - Services list from nova: [, , ] 2025-05-01 02:27:32,072 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3255-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3255-1) 2025-05-01 02:27:33,122 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3255-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3255-1) 2025-05-01 02:27:33,122 - INFO - Waiting for VM ctest-TestBasicVMVNx-64989878-24685411 to be up.. 2025-05-01 02:27:33,195 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-01 02:27:38,268 - DEBUG - VM is in ACTIVE state now 2025-05-01 02:27:38,268 - INFO - VM name : ctest-TestBasicVMVNx-64989878-24685411 2025-05-01 02:27:38,336 - DEBUG - VM ctest-TestBasicVMVNx-64989878-24685411 ID is 903cebe4-cfa2-4c04-b339-8ebd3e2976d9 2025-05-01 02:27:38,354 - DEBUG - VM ctest-TestBasicVMVNx-64989878-24685411 launched on Node cn-jenkins-deploy-platform-ansible-os-3255-1 2025-05-01 02:27:38,420 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/903cebe4-cfa2-4c04-b339-8ebd3e2976d9 2025-05-01 02:27:38,711 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/903cebe4-cfa2-4c04-b339-8ebd3e2976d9 2025-05-01 02:27:38,739 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/ae81e487-de91-4441-928f-2d4d51957ddc 2025-05-01 02:27:41,976 - 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 1003ms') 2025-05-01 02:27:41,976 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-64989878-24685411 failed! 2025-05-01 02:27:42,031 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-64989878:ctest-vn-82731731 is 136.147.53.1 and allocation pool is NOT set 2025-05-01 02:27:44,092 - 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.57 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.301 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.301/1.435/2.569/1.134 ms') 2025-05-01 02:27:44,092 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-64989878-24685411 passed 2025-05-01 02:27:44,239 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-01 02:27:44,239 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-64989878-24685411, IP 136.147.53.3, Port 22 2025-05-01 02:27:44,402 - DEBUG - VM ctest-TestBasicVMVNx-64989878-24685411 is ready for SSH connections 2025-05-01 02:27:44,402 - INFO - Waiting for VM ctest-TestBasicVMVNx-64989878-46239860 to be up.. 2025-05-01 02:27:44,468 - DEBUG - VM is in ACTIVE state now 2025-05-01 02:27:44,468 - INFO - VM name : ctest-TestBasicVMVNx-64989878-46239860 2025-05-01 02:27:44,534 - DEBUG - VM ctest-TestBasicVMVNx-64989878-46239860 ID is 361be505-5491-48ab-ab9c-77b8ad2f5a6b 2025-05-01 02:27:44,534 - DEBUG - VM ctest-TestBasicVMVNx-64989878-46239860 launched on Node cn-jenkins-deploy-platform-ansible-os-3255-1 2025-05-01 02:27:44,598 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/361be505-5491-48ab-ab9c-77b8ad2f5a6b 2025-05-01 02:27:44,606 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/000cfade-8abb-48e1-a304-c61bd0716e3b 2025-05-01 02:27:45,835 - 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.71 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.344 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.344/1.527/2.711/1.183 ms') 2025-05-01 02:27:45,835 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-64989878-46239860 passed 2025-05-01 02:27:45,983 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-01 02:27:45,983 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-64989878-46239860, IP 136.147.53.4, Port 22 2025-05-01 02:27:46,149 - DEBUG - VM ctest-TestBasicVMVNx-64989878-46239860 is ready for SSH connections 2025-05-01 02:27:46,150 - DEBUG - FILE SIZE = 1303B 2025-05-01 02:27:46,150 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-64989878-24685411 to ctest-TestBasicVMVNx-64989878-46239860 using scp 2025-05-01 02:27:46,150 - 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-01 02:27:46,150 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-05-01 02:27:48,012 - DEBUG - 1+0 records in 1+0 records out 2025-05-01 02:27:48,583 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-01 02:27:48,899 - 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-01 02:27:48,899 - DEBUG - ls -l testfile 2025-05-01 02:27:50,461 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 30 20:27 testfile 2025-05-01 02:27:50,461 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-64989878-46239860 2025-05-01 02:27:50,461 - INFO - Deleting VM ctest-TestBasicVMVNx-64989878-46239860 2025-05-01 02:27:50,524 - INFO - Deleting VM ctest-TestBasicVMVNx-64989878-24685411 2025-05-01 02:27:50,581 - INFO - Deleting VN ctest-vn-82731731 2025-05-01 02:27:50,615 - DEBUG - VN caaa368d-f96d-4439-8176-ce92d44ed535 still in use: Unable to complete operation on network caaa368d-f96d-4439-8176-ce92d44ed535. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6c91fd39-1223-44ba-8e22-471fe21fe8b8'] 2025-05-01 02:27:50,616 - WARNING - Deleting VN ctest-vn-82731731 failed..Will retry 2025-05-01 02:27:52,710 - DEBUG - Response for deleting network () 2025-05-01 02:27:52,965 - DEBUG - No XMPP flaps were noticed during the test
2025-05-01 02:27:52,965 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-05-01 02:27:52,965 - INFO - -------------------------------------------------------------------------------- 2025-05-01 02:27:53,610 - INFO - Deleted project: ctest-TestBasicVMVNx-64989878, ID : 4ccf9394-cdab-4284-9a9e-b8e8a4194221