2025-10-12 07:27:03,082 - INFO - Domain Default found not creating 2025-10-12 07:27:03,299 - INFO - Project ctest-TestBasicVMVNx-51315444 not found, creating it 2025-10-12 07:27:03,773 - INFO - Created Project:ctest-TestBasicVMVNx-51315444, ID : 642fa534-e619-4bbf-b181-48b5470180e8 2025-10-12 07:27:05,705 - INFO - ================================================================================ 2025-10-12 07:27:05,705 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-10-12 07:27:05,705 - 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-12 07:27:05,963 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.14': '0'}} with 2025-10-12 07:27:05,964 - INFO - Initial checks done. Running the testcase now 2025-10-12 07:27:05,964 - INFO - 2025-10-12 07:27:06,522 - DEBUG - Response for create_network : {'network': {'id': 'cc62d99a-4ae0-4520-8fa2-a8bfef71c232', 'name': 'ctest-vn-22516051', 'tenant_id': '642fa534e6194bbfb18148b5470180e8', 'project_id': '642fa534e6194bbfb18148b5470180e8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-51315444', 'ctest-vn-22516051'], 'port_security_enabled': True, 'description': ''}} 2025-10-12 07:27:06,699 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a624511f-8dc2-4b3a-856e-936bb7019977', 'name': '', 'tenant_id': '642fa534e6194bbfb18148b5470180e8', 'network_id': 'cc62d99a-4ae0-4520-8fa2-a8bfef71c232', 'ip_version': 4, 'cidr': '167.59.29.64/26', 'allocation_pools': [{'start': '167.59.29.66', 'end': '167.59.29.126'}], 'gateway_ip': '167.59.29.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '167.59.29.66', 'tags': [], 'project_id': '642fa534e6194bbfb18148b5470180e8'}} 2025-10-12 07:27:06,722 - INFO - Created VN ctest-vn-22516051 2025-10-12 07:27:06,774 - DEBUG - VN ctest-vn-22516051 UUID is cc62d99a-4ae0-4520-8fa2-a8bfef71c232 2025-10-12 07:27:06,951 - DEBUG - Services list from nova: [, , ] 2025-10-12 07:27:07,983 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4290-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4290-1) 2025-10-12 07:27:09,190 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4290-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4290-1) 2025-10-12 07:27:09,190 - INFO - Waiting for VM ctest-TestBasicVMVNx-51315444-10316761 to be up.. 2025-10-12 07:27:09,285 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-12 07:27:14,370 - DEBUG - VM is in ACTIVE state now 2025-10-12 07:27:14,370 - INFO - VM name : ctest-TestBasicVMVNx-51315444-10316761 2025-10-12 07:27:14,456 - DEBUG - VM ctest-TestBasicVMVNx-51315444-10316761 ID is 2253dcb5-4d8a-40b4-bb0c-4481eeb0c548 2025-10-12 07:27:14,480 - DEBUG - VM ctest-TestBasicVMVNx-51315444-10316761 launched on Node cn-jenkins-deploy-platform-ansible-os-4290-1 2025-10-12 07:27:14,559 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/2253dcb5-4d8a-40b4-bb0c-4481eeb0c548 2025-10-12 07:27:14,854 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/2253dcb5-4d8a-40b4-bb0c-4481eeb0c548 2025-10-12 07:27:14,886 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/0cae5ffd-40bf-4034-a13c-2e333a4f94f1 2025-10-12 07:27:18,148 - 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 1026ms') 2025-10-12 07:27:18,149 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-51315444-10316761 failed! 2025-10-12 07:27:18,210 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-51315444:ctest-vn-22516051 is 167.59.29.65 and allocation pool is NOT set 2025-10-12 07:27:20,274 - 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=2.69 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.574 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.574/1.630/2.687/1.056 ms') 2025-10-12 07:27:20,274 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-51315444-10316761 passed 2025-10-12 07:27:20,422 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-12 07:27:20,423 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-51315444-10316761, IP 167.59.29.67, Port 22 2025-10-12 07:27:20,581 - DEBUG - VM ctest-TestBasicVMVNx-51315444-10316761 is ready for SSH connections 2025-10-12 07:27:20,582 - INFO - Waiting for VM ctest-TestBasicVMVNx-51315444-77151460 to be up.. 2025-10-12 07:27:20,676 - DEBUG - VM is in ACTIVE state now 2025-10-12 07:27:20,676 - INFO - VM name : ctest-TestBasicVMVNx-51315444-77151460 2025-10-12 07:27:20,774 - DEBUG - VM ctest-TestBasicVMVNx-51315444-77151460 ID is ee4671fa-b6a2-41b6-9201-044e2feb86b4 2025-10-12 07:27:20,775 - DEBUG - VM ctest-TestBasicVMVNx-51315444-77151460 launched on Node cn-jenkins-deploy-platform-ansible-os-4290-1 2025-10-12 07:27:20,856 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/ee4671fa-b6a2-41b6-9201-044e2feb86b4 2025-10-12 07:27:20,866 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/7ecc849d-0dc7-4def-b78a-8300439a1572 2025-10-12 07:27:22,119 - 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=7.58 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.61 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 = 2.614/5.094/7.575/2.480 ms') 2025-10-12 07:27:22,119 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-51315444-77151460 passed 2025-10-12 07:27:22,267 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-12 07:27:22,267 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-51315444-77151460, IP 167.59.29.68, Port 22 2025-10-12 07:27:22,333 - 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-10-12 07:27:22,410 - DEBUG - VM ctest-TestBasicVMVNx-51315444-77151460 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-12 07:27:27,410 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-12 07:27:27,411 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-51315444-77151460, IP 167.59.29.68, Port 22 2025-10-12 07:27:27,577 - DEBUG - VM ctest-TestBasicVMVNx-51315444-77151460 is ready for SSH connections 2025-10-12 07:27:27,577 - DEBUG - FILE SIZE = 1303B 2025-10-12 07:27:27,577 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-51315444-10316761 to ctest-TestBasicVMVNx-51315444-77151460 using scp 2025-10-12 07:27:27,579 - 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-10-12 07:27:27,579 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-10-12 07:27:29,667 - DEBUG - 1+0 records in 1+0 records out 2025-10-12 07:27:30,330 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-12 07:27:30,691 - 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-10-12 07:27:30,691 - DEBUG - ls -l testfile 2025-10-12 07:27:32,291 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 12 01:27 testfile 2025-10-12 07:27:32,291 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-51315444-77151460 2025-10-12 07:27:32,292 - INFO - Deleting VM ctest-TestBasicVMVNx-51315444-77151460 2025-10-12 07:27:32,362 - INFO - Deleting VM ctest-TestBasicVMVNx-51315444-10316761 2025-10-12 07:27:32,435 - INFO - Deleting VN ctest-vn-22516051 2025-10-12 07:27:32,471 - DEBUG - VN cc62d99a-4ae0-4520-8fa2-a8bfef71c232 still in use: Unable to complete operation on network cc62d99a-4ae0-4520-8fa2-a8bfef71c232. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1e5ccad9-b3d4-42eb-bf63-111ae24de13e'] 2025-10-12 07:27:32,471 - WARNING - Deleting VN ctest-vn-22516051 failed..Will retry 2025-10-12 07:27:34,575 - DEBUG - Response for deleting network () 2025-10-12 07:27:34,832 - DEBUG - No XMPP flaps were noticed during the test
2025-10-12 07:27:34,832 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:29]
2025-10-12 07:27:34,832 - INFO - -------------------------------------------------------------------------------- 2025-10-12 07:27:35,496 - INFO - Deleted project: ctest-TestBasicVMVNx-51315444, ID : 642fa534-e619-4bbf-b181-48b5470180e8