2025-06-27 03:43:24,113 - INFO - Domain Default found not creating 2025-06-27 03:43:24,259 - INFO - Project ctest-TestBasicVMVNx-02976418 not found, creating it 2025-06-27 03:43:24,742 - INFO - Created Project:ctest-TestBasicVMVNx-02976418, ID : 4aa75bf2-3106-4361-8918-1d46d02a616d 2025-06-27 03:43:26,183 - INFO - ================================================================================ 2025-06-27 03:43:26,183 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-06-27 03:43:26,183 - 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-27 03:43:26,438 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-06-27 03:43:26,438 - INFO - Initial checks done. Running the testcase now 2025-06-27 03:43:26,438 - INFO - 2025-06-27 03:43:26,980 - DEBUG - Response for create_network : {'network': {'id': 'c82c951e-f931-4ce2-9c82-1bd5d16913c5', 'name': 'ctest-vn-08263445', 'tenant_id': '4aa75bf23106436189181d46d02a616d', 'project_id': '4aa75bf23106436189181d46d02a616d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-02976418', 'ctest-vn-08263445'], 'port_security_enabled': True, 'description': ''}} 2025-06-27 03:43:27,163 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f6dd41d6-755c-41c4-b669-cfb03aac9aca', 'name': '', 'tenant_id': '4aa75bf23106436189181d46d02a616d', 'network_id': 'c82c951e-f931-4ce2-9c82-1bd5d16913c5', 'ip_version': 4, 'cidr': '75.45.105.0/26', 'allocation_pools': [{'start': '75.45.105.2', 'end': '75.45.105.62'}], 'gateway_ip': '75.45.105.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '75.45.105.2', 'tags': [], 'project_id': '4aa75bf23106436189181d46d02a616d'}} 2025-06-27 03:43:27,183 - INFO - Created VN ctest-vn-08263445 2025-06-27 03:43:27,235 - DEBUG - VN ctest-vn-08263445 UUID is c82c951e-f931-4ce2-9c82-1bd5d16913c5 2025-06-27 03:43:27,405 - DEBUG - Services list from nova: [, , ] 2025-06-27 03:43:28,405 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3565-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3565-1) 2025-06-27 03:43:29,504 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3565-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3565-1) 2025-06-27 03:43:29,504 - INFO - Waiting for VM ctest-TestBasicVMVNx-02976418-26237453 to be up.. 2025-06-27 03:43:29,584 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-27 03:43:34,664 - DEBUG - VM is in ACTIVE state now 2025-06-27 03:43:34,664 - INFO - VM name : ctest-TestBasicVMVNx-02976418-26237453 2025-06-27 03:43:34,739 - DEBUG - VM ctest-TestBasicVMVNx-02976418-26237453 ID is 598ec592-c47b-4f31-b254-842159a29bae 2025-06-27 03:43:34,759 - DEBUG - VM ctest-TestBasicVMVNx-02976418-26237453 launched on Node cn-jenkins-deploy-platform-ansible-os-3565-1 2025-06-27 03:43:34,830 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/598ec592-c47b-4f31-b254-842159a29bae 2025-06-27 03:43:35,124 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/598ec592-c47b-4f31-b254-842159a29bae 2025-06-27 03:43:35,157 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e90ff710-3dd6-41f5-ba4c-d68e85e88169 2025-06-27 03:43:38,431 - 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 1022ms') 2025-06-27 03:43:38,431 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-02976418-26237453 failed! 2025-06-27 03:43:38,487 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-02976418:ctest-vn-08263445 is 75.45.105.1 and allocation pool is NOT set 2025-06-27 03:43:40,546 - 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.80 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.74 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 = 1.736/3.266/4.797/1.530 ms') 2025-06-27 03:43:40,546 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-02976418-26237453 passed 2025-06-27 03:43:40,695 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-27 03:43:40,695 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-02976418-26237453, IP 75.45.105.3, Port 22 2025-06-27 03:43:40,761 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-06-27 03:43:40,842 - DEBUG - VM ctest-TestBasicVMVNx-02976418-26237453 is NOT ready for SSH connections, VM status: ACTIVE 2025-06-27 03:43:45,842 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-27 03:43:45,842 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-02976418-26237453, IP 75.45.105.3, Port 22 2025-06-27 03:43:45,998 - DEBUG - VM ctest-TestBasicVMVNx-02976418-26237453 is ready for SSH connections 2025-06-27 03:43:45,998 - INFO - Waiting for VM ctest-TestBasicVMVNx-02976418-23814090 to be up.. 2025-06-27 03:43:46,073 - DEBUG - VM is in ACTIVE state now 2025-06-27 03:43:46,073 - INFO - VM name : ctest-TestBasicVMVNx-02976418-23814090 2025-06-27 03:43:46,150 - DEBUG - VM ctest-TestBasicVMVNx-02976418-23814090 ID is 9104b3d0-b120-4274-8f0d-1f1ef04af5ab 2025-06-27 03:43:46,151 - DEBUG - VM ctest-TestBasicVMVNx-02976418-23814090 launched on Node cn-jenkins-deploy-platform-ansible-os-3565-1 2025-06-27 03:43:46,226 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/9104b3d0-b120-4274-8f0d-1f1ef04af5ab 2025-06-27 03:43:46,235 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/876f75c3-0c50-4580-a008-a4dc77fd8ed8 2025-06-27 03:43:47,480 - 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.98 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.357 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.357/1.666/2.975/1.309 ms') 2025-06-27 03:43:47,481 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-02976418-23814090 passed 2025-06-27 03:43:47,635 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-27 03:43:47,635 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-02976418-23814090, IP 75.45.105.4, Port 22 2025-06-27 03:43:47,794 - DEBUG - VM ctest-TestBasicVMVNx-02976418-23814090 is ready for SSH connections 2025-06-27 03:43:47,794 - DEBUG - FILE SIZE = 1303B 2025-06-27 03:43:47,794 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-02976418-26237453 to ctest-TestBasicVMVNx-02976418-23814090 using scp 2025-06-27 03:43:47,795 - 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.38, gateway password: c0ntrail123 2025-06-27 03:43:47,795 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-06-27 03:43:49,676 - DEBUG - 1+0 records in 1+0 records out 2025-06-27 03:43:50,249 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-27 03:43:50,569 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-06-27 03:43:50,569 - DEBUG - ls -l testfile 2025-06-27 03:43:52,126 - DEBUG - -rw------- 1 cirros cirros 1303 Jun 26 21:43 testfile 2025-06-27 03:43:52,126 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-02976418-23814090 2025-06-27 03:43:52,126 - INFO - Deleting VM ctest-TestBasicVMVNx-02976418-23814090 2025-06-27 03:43:52,196 - INFO - Deleting VM ctest-TestBasicVMVNx-02976418-26237453 2025-06-27 03:43:52,266 - INFO - Deleting VN ctest-vn-08263445 2025-06-27 03:43:52,305 - DEBUG - VN c82c951e-f931-4ce2-9c82-1bd5d16913c5 still in use: Unable to complete operation on network c82c951e-f931-4ce2-9c82-1bd5d16913c5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1fd64f32-b2aa-4dbd-9dd1-889db2148821'] 2025-06-27 03:43:52,305 - WARNING - Deleting VN ctest-vn-08263445 failed..Will retry 2025-06-27 03:43:54,413 - DEBUG - Response for deleting network () 2025-06-27 03:43:54,677 - DEBUG - No XMPP flaps were noticed during the test 2025-06-27 03:43:54,677 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:28] 2025-06-27 03:43:54,677 - INFO - -------------------------------------------------------------------------------- 2025-06-27 03:43:55,358 - INFO - Deleted project: ctest-TestBasicVMVNx-02976418, ID : 4aa75bf2-3106-4361-8918-1d46d02a616d