2025-11-19 17:27:41,082 - INFO - Domain Default found not creating 2025-11-19 17:27:41,271 - INFO - Project ctest-TestBasicVMVNx-93170831 not found, creating it 2025-11-19 17:27:41,742 - INFO - Created Project:ctest-TestBasicVMVNx-93170831, ID : 261b710d-08b7-4482-afd3-961618dae50a 2025-11-19 17:27:43,420 - INFO - ================================================================================ 2025-11-19 17:27:43,420 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-11-19 17:27:43,420 - 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-11-19 17:27:43,673 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.192': '0'}} with 2025-11-19 17:27:43,673 - INFO - Initial checks done. Running the testcase now 2025-11-19 17:27:43,673 - INFO - 2025-11-19 17:27:44,263 - DEBUG - Response for create_network : {'network': {'id': 'ae8ec764-bd85-411a-8ede-9f43a7ad0f1c', 'name': 'ctest-vn-54115680', 'tenant_id': '261b710d08b74482afd3961618dae50a', 'project_id': '261b710d08b74482afd3961618dae50a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-93170831', 'ctest-vn-54115680'], 'port_security_enabled': True, 'description': ''}} 2025-11-19 17:27:44,425 - DEBUG - Response for create_subnet : {'subnet': {'id': '63a3e933-2c4c-4b1e-9c6b-66dd2f91050c', 'name': '', 'tenant_id': '261b710d08b74482afd3961618dae50a', 'network_id': 'ae8ec764-bd85-411a-8ede-9f43a7ad0f1c', 'ip_version': 4, 'cidr': '48.34.39.0/26', 'allocation_pools': [{'start': '48.34.39.2', 'end': '48.34.39.62'}], 'gateway_ip': '48.34.39.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '48.34.39.2', 'tags': [], 'project_id': '261b710d08b74482afd3961618dae50a'}} 2025-11-19 17:27:44,444 - INFO - Created VN ctest-vn-54115680 2025-11-19 17:27:44,496 - DEBUG - VN ctest-vn-54115680 UUID is ae8ec764-bd85-411a-8ede-9f43a7ad0f1c 2025-11-19 17:27:44,678 - DEBUG - Services list from nova: [, , ] 2025-11-19 17:27:45,882 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4765-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4765-1) 2025-11-19 17:27:47,089 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4765-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4765-1) 2025-11-19 17:27:47,090 - INFO - Waiting for VM ctest-TestBasicVMVNx-93170831-37072980 to be up.. 2025-11-19 17:27:47,198 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-19 17:27:52,287 - DEBUG - VM is in ACTIVE state now 2025-11-19 17:27:52,288 - INFO - VM name : ctest-TestBasicVMVNx-93170831-37072980 2025-11-19 17:27:52,368 - DEBUG - VM ctest-TestBasicVMVNx-93170831-37072980 ID is a7297628-6431-4166-a5ab-c7c1e16b05ea 2025-11-19 17:27:52,390 - DEBUG - VM ctest-TestBasicVMVNx-93170831-37072980 launched on Node cn-jenkins-deploy-platform-ansible-os-4765-1 2025-11-19 17:27:52,473 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/a7297628-6431-4166-a5ab-c7c1e16b05ea 2025-11-19 17:27:52,912 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/a7297628-6431-4166-a5ab-c7c1e16b05ea 2025-11-19 17:27:52,980 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/b77cfef2-436a-4405-a312-7f57d64ff4e9 2025-11-19 17:27:56,254 - 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 1014ms') 2025-11-19 17:27:56,254 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-93170831-37072980 failed! 2025-11-19 17:27:56,308 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-93170831:ctest-vn-54115680 is 48.34.39.1 and allocation pool is NOT set 2025-11-19 17:27:58,367 - 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.07 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.521 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.521/1.795/3.070/1.274 ms') 2025-11-19 17:27:58,367 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-93170831-37072980 passed 2025-11-19 17:27:58,524 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 17:27:58,524 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-93170831-37072980, IP 48.34.39.3, Port 22 2025-11-19 17:27:58,589 - 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-11-19 17:27:58,672 - DEBUG - VM ctest-TestBasicVMVNx-93170831-37072980 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-19 17:28:03,672 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 17:28:03,672 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-93170831-37072980, IP 48.34.39.3, Port 22 2025-11-19 17:28:03,827 - DEBUG - VM ctest-TestBasicVMVNx-93170831-37072980 is ready for SSH connections 2025-11-19 17:28:03,828 - INFO - Waiting for VM ctest-TestBasicVMVNx-93170831-31831056 to be up.. 2025-11-19 17:28:03,910 - DEBUG - VM is in ACTIVE state now 2025-11-19 17:28:03,910 - INFO - VM name : ctest-TestBasicVMVNx-93170831-31831056 2025-11-19 17:28:04,000 - DEBUG - VM ctest-TestBasicVMVNx-93170831-31831056 ID is 95614a1e-bfe7-44aa-965c-0f5cd6c28f32 2025-11-19 17:28:04,000 - DEBUG - VM ctest-TestBasicVMVNx-93170831-31831056 launched on Node cn-jenkins-deploy-platform-ansible-os-4765-1 2025-11-19 17:28:04,082 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/95614a1e-bfe7-44aa-965c-0f5cd6c28f32 2025-11-19 17:28:04,091 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/4aa03f7b-9148-437a-a767-4f4f56824b5c 2025-11-19 17:28:05,336 - 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.93 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.462 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.462/1.698/2.934/1.236 ms') 2025-11-19 17:28:05,336 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-93170831-31831056 passed 2025-11-19 17:28:05,484 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 17:28:05,484 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-93170831-31831056, IP 48.34.39.4, Port 22 2025-11-19 17:28:05,650 - DEBUG - VM ctest-TestBasicVMVNx-93170831-31831056 is ready for SSH connections 2025-11-19 17:28:05,650 - DEBUG - FILE SIZE = 1303B 2025-11-19 17:28:05,650 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-93170831-37072980 to ctest-TestBasicVMVNx-93170831-31831056 using scp 2025-11-19 17:28:05,652 - 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.242, gateway password: c0ntrail123 2025-11-19 17:28:05,652 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-11-19 17:28:07,803 - DEBUG - 1+0 records in 1+0 records out 2025-11-19 17:28:08,091 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 17:28:08,478 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-11-19 17:28:08,478 - DEBUG - ls -l testfile 2025-11-19 17:28:10,135 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 19 10:28 testfile 2025-11-19 17:28:10,136 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-93170831-31831056 2025-11-19 17:28:10,136 - INFO - Deleting VM ctest-TestBasicVMVNx-93170831-31831056 2025-11-19 17:28:10,206 - INFO - Deleting VM ctest-TestBasicVMVNx-93170831-37072980 2025-11-19 17:28:10,279 - INFO - Deleting VN ctest-vn-54115680 2025-11-19 17:28:10,320 - DEBUG - VN ae8ec764-bd85-411a-8ede-9f43a7ad0f1c still in use: Unable to complete operation on network ae8ec764-bd85-411a-8ede-9f43a7ad0f1c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-eaaeb62c-b98d-4230-b3f6-e0ada2528fbc'] 2025-11-19 17:28:10,320 - WARNING - Deleting VN ctest-vn-54115680 failed..Will retry 2025-11-19 17:28:12,436 - DEBUG - Response for deleting network () 2025-11-19 17:28:12,711 - DEBUG - No XMPP flaps were noticed during the test
2025-11-19 17:28:12,711 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:29]
2025-11-19 17:28:12,711 - INFO - -------------------------------------------------------------------------------- 2025-11-19 17:28:13,439 - INFO - Deleted project: ctest-TestBasicVMVNx-93170831, ID : 261b710d-08b7-4482-afd3-961618dae50a