2025-04-03 02:26:02,927 - INFO - Domain Default found not creating 2025-04-03 02:26:03,111 - INFO - Project ctest-TestBasicVMVNx-07556270 not found, creating it 2025-04-03 02:26:03,606 - INFO - Created Project:ctest-TestBasicVMVNx-07556270, ID : d21f50d7-11da-4057-9313-b2f5fcce6a7a 2025-04-03 02:26:05,141 - INFO - ================================================================================ 2025-04-03 02:26:05,142 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-04-03 02:26:05,142 - 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-03 02:26:05,396 - DEBUG - Nothing to compare xmpp stats {'10.0.0.56': {'10.20.0.29': '0'}} with 2025-04-03 02:26:05,396 - INFO - Initial checks done. Running the testcase now 2025-04-03 02:26:05,397 - INFO - 2025-04-03 02:26:06,004 - DEBUG - Response for create_network : {'network': {'id': 'e0bd13a9-c061-40ef-8712-82bc46053598', 'name': 'ctest-vn-62402661', 'tenant_id': 'd21f50d711da40579313b2f5fcce6a7a', 'project_id': 'd21f50d711da40579313b2f5fcce6a7a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-07556270', 'ctest-vn-62402661'], 'port_security_enabled': True, 'description': ''}} 2025-04-03 02:26:06,227 - DEBUG - Response for create_subnet : {'subnet': {'id': '330a5629-0c81-481a-938a-1bb2a860beb7', 'name': '', 'tenant_id': 'd21f50d711da40579313b2f5fcce6a7a', 'network_id': 'e0bd13a9-c061-40ef-8712-82bc46053598', 'ip_version': 4, 'cidr': '142.56.138.128/26', 'allocation_pools': [{'start': '142.56.138.130', 'end': '142.56.138.190'}], 'gateway_ip': '142.56.138.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '142.56.138.130', 'tags': [], 'project_id': 'd21f50d711da40579313b2f5fcce6a7a'}} 2025-04-03 02:26:06,253 - INFO - Created VN ctest-vn-62402661 2025-04-03 02:26:06,309 - DEBUG - VN ctest-vn-62402661 UUID is e0bd13a9-c061-40ef-8712-82bc46053598 2025-04-03 02:26:06,497 - DEBUG - Services list from nova: [, , ] 2025-04-03 02:26:07,579 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3023-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3023-1) 2025-04-03 02:26:08,867 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3023-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3023-1) 2025-04-03 02:26:08,867 - INFO - Waiting for VM ctest-TestBasicVMVNx-07556270-65303035 to be up.. 2025-04-03 02:26:09,001 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-03 02:26:14,102 - DEBUG - VM is in ACTIVE state now 2025-04-03 02:26:14,103 - INFO - VM name : ctest-TestBasicVMVNx-07556270-65303035 2025-04-03 02:26:14,199 - DEBUG - VM ctest-TestBasicVMVNx-07556270-65303035 ID is 747c9b7a-17b1-4c07-a358-b75bf38d9267 2025-04-03 02:26:14,228 - DEBUG - VM ctest-TestBasicVMVNx-07556270-65303035 launched on Node cn-jenkins-deploy-platform-ansible-os-3023-1 2025-04-03 02:26:14,320 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/747c9b7a-17b1-4c07-a358-b75bf38d9267 2025-04-03 02:26:14,630 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/747c9b7a-17b1-4c07-a358-b75bf38d9267 2025-04-03 02:26:14,662 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/d95f23b1-1a83-47dd-ac15-fcd8338b3096 2025-04-03 02:26:17,924 - 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 1005ms') 2025-04-03 02:26:17,924 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-07556270-65303035 failed! 2025-04-03 02:26:17,981 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-07556270:ctest-vn-62402661 is 142.56.138.129 and allocation pool is NOT set 2025-04-03 02:26:20,048 - 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.79 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.962 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.962/2.378/3.794/1.416 ms') 2025-04-03 02:26:20,048 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-07556270-65303035 passed 2025-04-03 02:26:20,205 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-03 02:26:20,206 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-07556270-65303035, IP 142.56.138.131, Port 22 2025-04-03 02:26:20,372 - DEBUG - VM ctest-TestBasicVMVNx-07556270-65303035 is ready for SSH connections 2025-04-03 02:26:20,372 - INFO - Waiting for VM ctest-TestBasicVMVNx-07556270-21762621 to be up.. 2025-04-03 02:26:20,468 - DEBUG - VM is in ACTIVE state now 2025-04-03 02:26:20,468 - INFO - VM name : ctest-TestBasicVMVNx-07556270-21762621 2025-04-03 02:26:20,565 - DEBUG - VM ctest-TestBasicVMVNx-07556270-21762621 ID is da7d6344-fd6e-4f29-959e-40f35bf253b8 2025-04-03 02:26:20,565 - DEBUG - VM ctest-TestBasicVMVNx-07556270-21762621 launched on Node cn-jenkins-deploy-platform-ansible-os-3023-1 2025-04-03 02:26:20,660 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/da7d6344-fd6e-4f29-959e-40f35bf253b8 2025-04-03 02:26:20,672 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/043c8a06-fa3f-40b1-b0d5-9d59dbc1db4e 2025-04-03 02:26:21,932 - 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.20 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.05 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 = 1.048/2.125/3.203/1.077 ms') 2025-04-03 02:26:21,932 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-07556270-21762621 passed 2025-04-03 02:26:22,093 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-03 02:26:22,093 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-07556270-21762621, IP 142.56.138.132, Port 22 2025-04-03 02:26:22,261 - DEBUG - VM ctest-TestBasicVMVNx-07556270-21762621 is ready for SSH connections 2025-04-03 02:26:22,261 - DEBUG - FILE SIZE = 1303B 2025-04-03 02:26:22,261 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-07556270-65303035 to ctest-TestBasicVMVNx-07556270-21762621 using scp 2025-04-03 02:26:22,262 - 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-04-03 02:26:22,262 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-04-03 02:26:24,269 - DEBUG - 1+0 records in 1+0 records out 2025-04-03 02:26:25,113 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-03 02:26:25,473 - 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-04-03 02:26:25,473 - DEBUG - ls -l testfile 2025-04-03 02:26:27,113 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 2 20:26 testfile 2025-04-03 02:26:27,113 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-07556270-21762621 2025-04-03 02:26:27,114 - INFO - Deleting VM ctest-TestBasicVMVNx-07556270-21762621 2025-04-03 02:26:27,205 - INFO - Deleting VM ctest-TestBasicVMVNx-07556270-65303035 2025-04-03 02:26:27,287 - INFO - Deleting VN ctest-vn-62402661 2025-04-03 02:26:27,329 - DEBUG - VN e0bd13a9-c061-40ef-8712-82bc46053598 still in use: Unable to complete operation on network e0bd13a9-c061-40ef-8712-82bc46053598. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8b68874e-b870-42c0-b796-464f72833a8d'] 2025-04-03 02:26:27,329 - WARNING - Deleting VN ctest-vn-62402661 failed..Will retry 2025-04-03 02:26:29,463 - DEBUG - Response for deleting network () 2025-04-03 02:26:29,729 - DEBUG - No XMPP flaps were noticed during the test 2025-04-03 02:26:29,729 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2025-04-03 02:26:29,729 - INFO - -------------------------------------------------------------------------------- 2025-04-03 02:26:30,464 - INFO - Deleted project: ctest-TestBasicVMVNx-07556270, ID : d21f50d7-11da-4057-9313-b2f5fcce6a7a