2025-10-31 19:44:56,883 - INFO - Domain Default found not creating 2025-10-31 19:44:57,307 - INFO - Project ctest-TestBasicVMVNx-91331097 not found, creating it 2025-10-31 19:44:57,973 - INFO - Created Project:ctest-TestBasicVMVNx-91331097, ID : 7779f26b-40b0-4c01-981d-3d0c384519c1 2025-10-31 19:45:00,244 - INFO - ================================================================================ 2025-10-31 19:45:00,244 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-10-31 19:45:00,244 - 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-10-31 19:45:00,573 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.254': '0'}} with 2025-10-31 19:45:00,573 - INFO - Initial checks done. Running the testcase now 2025-10-31 19:45:00,573 - INFO - 2025-10-31 19:45:01,410 - DEBUG - Response for create_network : {'network': {'id': '89973cc8-bc63-469e-a94f-3ee7040f2f6a', 'name': 'ctest-vn-90702755', 'tenant_id': '7779f26b40b04c01981d3d0c384519c1', 'project_id': '7779f26b40b04c01981d3d0c384519c1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-91331097', 'ctest-vn-90702755'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 19:45:01,639 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e2b3ac1f-d237-4225-956e-747c224d19c4', 'name': '', 'tenant_id': '7779f26b40b04c01981d3d0c384519c1', 'network_id': '89973cc8-bc63-469e-a94f-3ee7040f2f6a', 'ip_version': 4, 'cidr': '114.193.151.64/26', 'allocation_pools': [{'start': '114.193.151.66', 'end': '114.193.151.126'}], 'gateway_ip': '114.193.151.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.193.151.66', 'tags': [], 'project_id': '7779f26b40b04c01981d3d0c384519c1'}} 2025-10-31 19:45:01,660 - INFO - Created VN ctest-vn-90702755 2025-10-31 19:45:01,714 - DEBUG - VN ctest-vn-90702755 UUID is 89973cc8-bc63-469e-a94f-3ee7040f2f6a 2025-10-31 19:45:01,929 - DEBUG - Services list from nova: [, , ] 2025-10-31 19:45:03,456 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4580-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4580-1) 2025-10-31 19:45:04,924 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4580-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4580-1) 2025-10-31 19:45:04,924 - INFO - Waiting for VM ctest-TestBasicVMVNx-91331097-35126002 to be up.. 2025-10-31 19:45:05,010 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-31 19:45:10,206 - DEBUG - VM is in ACTIVE state now 2025-10-31 19:45:10,206 - INFO - VM name : ctest-TestBasicVMVNx-91331097-35126002 2025-10-31 19:45:10,383 - DEBUG - VM ctest-TestBasicVMVNx-91331097-35126002 ID is 35556eb0-744f-4e6f-82eb-e0e2aefe88e0 2025-10-31 19:45:10,428 - DEBUG - VM ctest-TestBasicVMVNx-91331097-35126002 launched on Node cn-jenkins-deploy-platform-ansible-os-4580-1 2025-10-31 19:45:10,561 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/35556eb0-744f-4e6f-82eb-e0e2aefe88e0 2025-10-31 19:45:10,880 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/35556eb0-744f-4e6f-82eb-e0e2aefe88e0 2025-10-31 19:45:10,929 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/51cd9b8f-d227-4f2c-a84f-5a0f8e8df107 2025-10-31 19:45:14,283 - 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 1030ms') 2025-10-31 19:45:14,283 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-91331097-35126002 failed! 2025-10-31 19:45:14,350 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-91331097:ctest-vn-90702755 is 114.193.151.65 and allocation pool is NOT set 2025-10-31 19:45:16,438 - 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=11.4 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.879 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.879/6.163/11.447/5.284 ms') 2025-10-31 19:45:16,439 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-91331097-35126002 passed 2025-10-31 19:45:16,628 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 19:45:16,628 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-91331097-35126002, IP 114.193.151.67, Port 22 2025-10-31 19:45:16,707 - 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-10-31 19:45:16,868 - DEBUG - VM ctest-TestBasicVMVNx-91331097-35126002 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-31 19:45:21,869 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 19:45:21,869 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-91331097-35126002, IP 114.193.151.67, Port 22 2025-10-31 19:45:22,078 - DEBUG - VM ctest-TestBasicVMVNx-91331097-35126002 is ready for SSH connections 2025-10-31 19:45:22,078 - INFO - Waiting for VM ctest-TestBasicVMVNx-91331097-74214968 to be up.. 2025-10-31 19:45:22,282 - DEBUG - VM is in ACTIVE state now 2025-10-31 19:45:22,282 - INFO - VM name : ctest-TestBasicVMVNx-91331097-74214968 2025-10-31 19:45:22,434 - DEBUG - VM ctest-TestBasicVMVNx-91331097-74214968 ID is cc8e1229-857c-4a11-aa12-b0b7c02d55b6 2025-10-31 19:45:22,434 - DEBUG - VM ctest-TestBasicVMVNx-91331097-74214968 launched on Node cn-jenkins-deploy-platform-ansible-os-4580-1 2025-10-31 19:45:22,560 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/cc8e1229-857c-4a11-aa12-b0b7c02d55b6 2025-10-31 19:45:22,571 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/a5aac13b-b1bb-4418-9e2a-f43956ad3499 2025-10-31 19:45:23,862 - 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=11.1 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.900 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.900/5.993/11.086/5.093 ms') 2025-10-31 19:45:23,863 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-91331097-74214968 passed 2025-10-31 19:45:24,050 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 19:45:24,050 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-91331097-74214968, IP 114.193.151.68, Port 22 2025-10-31 19:45:24,248 - DEBUG - VM ctest-TestBasicVMVNx-91331097-74214968 is ready for SSH connections 2025-10-31 19:45:24,248 - DEBUG - FILE SIZE = 1303B 2025-10-31 19:45:24,248 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-91331097-35126002 to ctest-TestBasicVMVNx-91331097-74214968 using scp 2025-10-31 19:45:24,252 - 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.249, gateway password: c0ntrail123 2025-10-31 19:45:24,252 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-10-31 19:45:26,586 - DEBUG - 1+0 records in 1+0 records out 2025-10-31 19:45:27,429 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 19:45:28,017 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-31 19:45:28,017 - DEBUG - ls -l testfile 2025-10-31 19:45:30,048 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 31 13:45 testfile 2025-10-31 19:45:30,048 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-91331097-74214968 2025-10-31 19:45:30,048 - INFO - Deleting VM ctest-TestBasicVMVNx-91331097-74214968 2025-10-31 19:45:30,195 - INFO - Deleting VM ctest-TestBasicVMVNx-91331097-35126002 2025-10-31 19:45:30,342 - INFO - Deleting VN ctest-vn-90702755 2025-10-31 19:45:30,414 - DEBUG - VN 89973cc8-bc63-469e-a94f-3ee7040f2f6a still in use: Unable to complete operation on network 89973cc8-bc63-469e-a94f-3ee7040f2f6a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a9cbe496-20dc-44e5-af5f-7cce2944c84b'] 2025-10-31 19:45:30,414 - WARNING - Deleting VN ctest-vn-90702755 failed..Will retry 2025-10-31 19:45:32,618 - DEBUG - Response for deleting network () 2025-10-31 19:45:32,933 - DEBUG - No XMPP flaps were noticed during the test
2025-10-31 19:45:32,933 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:32]
2025-10-31 19:45:32,934 - INFO - -------------------------------------------------------------------------------- 2025-10-31 19:45:33,877 - INFO - Deleted project: ctest-TestBasicVMVNx-91331097, ID : 7779f26b-40b0-4c01-981d-3d0c384519c1