2025-06-25 15:46:07,105 - INFO - Domain Default found not creating 2025-06-25 15:46:07,259 - INFO - Project ctest-TestBasicVMVNx-86023442 not found, creating it 2025-06-25 15:46:07,736 - INFO - Created Project:ctest-TestBasicVMVNx-86023442, ID : 22aa185c-ccdc-439b-a78c-8d1af320831d 2025-06-25 15:46:09,308 - INFO - ================================================================================ 2025-06-25 15:46:09,308 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-06-25 15:46:09,308 - 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-25 15:46:09,565 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-06-25 15:46:09,565 - INFO - Initial checks done. Running the testcase now 2025-06-25 15:46:09,565 - INFO - 2025-06-25 15:46:10,165 - DEBUG - Response for create_network : {'network': {'id': '7cca372d-3738-4241-a5bd-2c5ce1fd53e1', 'name': 'ctest-vn-96464373', 'tenant_id': '22aa185cccdc439ba78c8d1af320831d', 'project_id': '22aa185cccdc439ba78c8d1af320831d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-86023442', 'ctest-vn-96464373'], 'port_security_enabled': True, 'description': ''}} 2025-06-25 15:46:10,373 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e3e32e8a-33b7-4c21-b613-87f08ff08dba', 'name': '', 'tenant_id': '22aa185cccdc439ba78c8d1af320831d', 'network_id': '7cca372d-3738-4241-a5bd-2c5ce1fd53e1', 'ip_version': 4, 'cidr': '40.98.45.192/26', 'allocation_pools': [{'start': '40.98.45.194', 'end': '40.98.45.254'}], 'gateway_ip': '40.98.45.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '40.98.45.194', 'tags': [], 'project_id': '22aa185cccdc439ba78c8d1af320831d'}} 2025-06-25 15:46:10,394 - INFO - Created VN ctest-vn-96464373 2025-06-25 15:46:10,450 - DEBUG - VN ctest-vn-96464373 UUID is 7cca372d-3738-4241-a5bd-2c5ce1fd53e1 2025-06-25 15:46:10,624 - DEBUG - Services list from nova: [, , ] 2025-06-25 15:46:11,727 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3550-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3550-1) 2025-06-25 15:46:12,937 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3550-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3550-1) 2025-06-25 15:46:12,937 - INFO - Waiting for VM ctest-TestBasicVMVNx-86023442-71376423 to be up.. 2025-06-25 15:46:13,020 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-25 15:46:18,100 - DEBUG - VM is in ACTIVE state now 2025-06-25 15:46:18,101 - INFO - VM name : ctest-TestBasicVMVNx-86023442-71376423 2025-06-25 15:46:18,180 - DEBUG - VM ctest-TestBasicVMVNx-86023442-71376423 ID is a05e7347-de97-4dc4-83e2-b1a5ea8f0f45 2025-06-25 15:46:18,199 - DEBUG - VM ctest-TestBasicVMVNx-86023442-71376423 launched on Node cn-jenkins-deploy-platform-ansible-os-3550-1 2025-06-25 15:46:18,278 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/a05e7347-de97-4dc4-83e2-b1a5ea8f0f45 2025-06-25 15:46:18,613 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/a05e7347-de97-4dc4-83e2-b1a5ea8f0f45 2025-06-25 15:46:18,646 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/39bf6d8a-4371-4378-b34d-3e920fc55654 2025-06-25 15:46:21,896 - 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 1010ms') 2025-06-25 15:46:21,896 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-86023442-71376423 failed! 2025-06-25 15:46:21,954 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-86023442:ctest-vn-96464373 is 40.98.45.193 and allocation pool is NOT set 2025-06-25 15:46:24,014 - 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.43 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.480 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.480/1.952/3.425/1.472 ms') 2025-06-25 15:46:24,014 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-86023442-71376423 passed 2025-06-25 15:46:24,166 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-25 15:46:24,166 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-86023442-71376423, IP 40.98.45.195, Port 22 2025-06-25 15:46:24,321 - DEBUG - VM ctest-TestBasicVMVNx-86023442-71376423 is ready for SSH connections 2025-06-25 15:46:24,321 - INFO - Waiting for VM ctest-TestBasicVMVNx-86023442-65313312 to be up.. 2025-06-25 15:46:24,413 - DEBUG - VM is in ACTIVE state now 2025-06-25 15:46:24,413 - INFO - VM name : ctest-TestBasicVMVNx-86023442-65313312 2025-06-25 15:46:24,497 - DEBUG - VM ctest-TestBasicVMVNx-86023442-65313312 ID is 90072cdf-a0cb-43f9-a7c9-118f53bd43b6 2025-06-25 15:46:24,497 - DEBUG - VM ctest-TestBasicVMVNx-86023442-65313312 launched on Node cn-jenkins-deploy-platform-ansible-os-3550-1 2025-06-25 15:46:24,577 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/90072cdf-a0cb-43f9-a7c9-118f53bd43b6 2025-06-25 15:46:24,586 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/6c5ed2c3-da28-472d-aba9-ac4ab11b6e6b 2025-06-25 15:46:25,836 - 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.04 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.300 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.300/1.672/3.044/1.372 ms') 2025-06-25 15:46:25,837 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-86023442-65313312 passed 2025-06-25 15:46:25,986 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-25 15:46:25,986 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-86023442-65313312, IP 40.98.45.196, Port 22 2025-06-25 15:46:26,052 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-06-25 15:46:26,134 - DEBUG - VM ctest-TestBasicVMVNx-86023442-65313312 is NOT ready for SSH connections, VM status: ACTIVE 2025-06-25 15:46:31,135 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-25 15:46:31,135 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-86023442-65313312, IP 40.98.45.196, Port 22 2025-06-25 15:46:31,297 - DEBUG - VM ctest-TestBasicVMVNx-86023442-65313312 is ready for SSH connections 2025-06-25 15:46:31,297 - DEBUG - FILE SIZE = 1303B 2025-06-25 15:46:31,298 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-86023442-71376423 to ctest-TestBasicVMVNx-86023442-65313312 using scp 2025-06-25 15:46:31,298 - 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-25 15:46:31,298 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-06-25 15:46:33,296 - DEBUG - 1+0 records in 1+0 records out 2025-06-25 15:46:33,978 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-25 15:46:34,316 - 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-25 15:46:34,316 - DEBUG - ls -l testfile 2025-06-25 15:46:35,948 - DEBUG - -rw------- 1 cirros cirros 1303 Jun 25 09:46 testfile 2025-06-25 15:46:35,949 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-86023442-65313312 2025-06-25 15:46:35,949 - INFO - Deleting VM ctest-TestBasicVMVNx-86023442-65313312 2025-06-25 15:46:36,023 - INFO - Deleting VM ctest-TestBasicVMVNx-86023442-71376423 2025-06-25 15:46:36,096 - INFO - Deleting VN ctest-vn-96464373 2025-06-25 15:46:36,137 - DEBUG - VN 7cca372d-3738-4241-a5bd-2c5ce1fd53e1 still in use: Unable to complete operation on network 7cca372d-3738-4241-a5bd-2c5ce1fd53e1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-05b7e842-a587-47c1-8fe7-c7b38870b3a0'] 2025-06-25 15:46:36,137 - WARNING - Deleting VN ctest-vn-96464373 failed..Will retry 2025-06-25 15:46:38,257 - DEBUG - Response for deleting network () 2025-06-25 15:46:38,517 - DEBUG - No XMPP flaps were noticed during the test
2025-06-25 15:46:38,517 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:29]
2025-06-25 15:46:38,517 - INFO - -------------------------------------------------------------------------------- 2025-06-25 15:46:39,971 - INFO - Deleted project: ctest-TestBasicVMVNx-86023442, ID : 22aa185c-ccdc-439b-a78c-8d1af320831d