2025-12-04 13:49:58,478 - INFO - Domain Default found not creating 2025-12-04 13:49:58,704 - INFO - Project ctest-TestBasicVMVNx-42954972 not found, creating it 2025-12-04 13:49:59,296 - INFO - Created Project:ctest-TestBasicVMVNx-42954972, ID : 0aa2dc13-33b5-457d-84ac-355bbb88e068 2025-12-04 13:50:01,789 - INFO - ================================================================================ 2025-12-04 13:50:01,789 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-12-04 13:50:01,789 - 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-12-04 13:50:02,059 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.254': '0'}} with 2025-12-04 13:50:02,059 - INFO - Initial checks done. Running the testcase now 2025-12-04 13:50:02,059 - INFO - 2025-12-04 13:50:02,690 - DEBUG - Response for create_network : {'network': {'id': '16bd568f-813d-41e8-801d-dc0b90613f01', 'name': 'ctest-vn-42757938', 'tenant_id': '0aa2dc1333b5457d84ac355bbb88e068', 'project_id': '0aa2dc1333b5457d84ac355bbb88e068', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-42954972', 'ctest-vn-42757938'], 'port_security_enabled': True, 'description': ''}} 2025-12-04 13:50:02,858 - DEBUG - Response for create_subnet : {'subnet': {'id': '7d4b892f-884b-4f81-9990-1642ad178d31', 'name': '', 'tenant_id': '0aa2dc1333b5457d84ac355bbb88e068', 'network_id': '16bd568f-813d-41e8-801d-dc0b90613f01', 'ip_version': 4, 'cidr': '90.226.159.128/26', 'allocation_pools': [{'start': '90.226.159.130', 'end': '90.226.159.190'}], 'gateway_ip': '90.226.159.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.226.159.130', 'tags': [], 'project_id': '0aa2dc1333b5457d84ac355bbb88e068'}} 2025-12-04 13:50:02,883 - INFO - Created VN ctest-vn-42757938 2025-12-04 13:50:02,938 - DEBUG - VN ctest-vn-42757938 UUID is 16bd568f-813d-41e8-801d-dc0b90613f01 2025-12-04 13:50:03,158 - DEBUG - Services list from nova: [, , ] 2025-12-04 13:50:04,384 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4843-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4843-1) 2025-12-04 13:50:05,737 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4843-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4843-1) 2025-12-04 13:50:05,737 - INFO - Waiting for VM ctest-TestBasicVMVNx-42954972-39696328 to be up.. 2025-12-04 13:50:05,857 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-04 13:50:10,956 - DEBUG - VM is in ACTIVE state now 2025-12-04 13:50:10,956 - INFO - VM name : ctest-TestBasicVMVNx-42954972-39696328 2025-12-04 13:50:11,061 - DEBUG - VM ctest-TestBasicVMVNx-42954972-39696328 ID is a9f982d9-25b2-4f01-8ed9-e8e18e26c772 2025-12-04 13:50:11,086 - DEBUG - VM ctest-TestBasicVMVNx-42954972-39696328 launched on Node cn-jenkins-deploy-platform-ansible-os-4843-1 2025-12-04 13:50:11,193 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/a9f982d9-25b2-4f01-8ed9-e8e18e26c772 2025-12-04 13:50:11,505 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/a9f982d9-25b2-4f01-8ed9-e8e18e26c772 2025-12-04 13:50:11,599 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/50109064-96ec-42e6-894c-e2d324ab737a 2025-12-04 13:50:14,887 - 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 1028ms') 2025-12-04 13:50:14,887 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-42954972-39696328 failed! 2025-12-04 13:50:14,946 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-42954972:ctest-vn-42757938 is 90.226.159.129 and allocation pool is NOT set 2025-12-04 13:50:17,020 - 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=7.24 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.68 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 = 2.677/4.957/7.238/2.280 ms') 2025-12-04 13:50:17,020 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-42954972-39696328 passed 2025-12-04 13:50:17,178 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 13:50:17,178 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-42954972-39696328, IP 90.226.159.131, Port 22 2025-12-04 13:50:17,244 - 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-12-04 13:50:17,410 - DEBUG - VM ctest-TestBasicVMVNx-42954972-39696328 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-04 13:50:22,411 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 13:50:22,411 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-42954972-39696328, IP 90.226.159.131, Port 22 2025-12-04 13:50:22,585 - DEBUG - VM ctest-TestBasicVMVNx-42954972-39696328 is ready for SSH connections 2025-12-04 13:50:22,585 - INFO - Waiting for VM ctest-TestBasicVMVNx-42954972-57891670 to be up.. 2025-12-04 13:50:22,690 - DEBUG - VM is in ACTIVE state now 2025-12-04 13:50:22,690 - INFO - VM name : ctest-TestBasicVMVNx-42954972-57891670 2025-12-04 13:50:22,787 - DEBUG - VM ctest-TestBasicVMVNx-42954972-57891670 ID is ca9c828c-28fb-456f-a448-a73c10a688ac 2025-12-04 13:50:22,787 - DEBUG - VM ctest-TestBasicVMVNx-42954972-57891670 launched on Node cn-jenkins-deploy-platform-ansible-os-4843-1 2025-12-04 13:50:22,889 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/ca9c828c-28fb-456f-a448-a73c10a688ac 2025-12-04 13:50:22,899 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/0554478c-615f-40ce-a919-df82d51aacce 2025-12-04 13:50:24,149 - 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=4.07 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.487 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.487/2.280/4.074/1.793 ms') 2025-12-04 13:50:24,150 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-42954972-57891670 passed 2025-12-04 13:50:24,306 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 13:50:24,306 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-42954972-57891670, IP 90.226.159.132, Port 22 2025-12-04 13:50:24,479 - DEBUG - VM ctest-TestBasicVMVNx-42954972-57891670 is ready for SSH connections 2025-12-04 13:50:24,479 - DEBUG - FILE SIZE = 1303B 2025-12-04 13:50:24,479 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-42954972-39696328 to ctest-TestBasicVMVNx-42954972-57891670 using scp 2025-12-04 13:50:24,481 - 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.141, gateway password: c0ntrail123 2025-12-04 13:50:24,481 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-12-04 13:50:26,711 - DEBUG - 1+0 records in 1+0 records out 2025-12-04 13:50:27,042 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 13:50:27,431 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-12-04 13:50:27,431 - DEBUG - ls -l testfile 2025-12-04 13:50:29,091 - DEBUG - -rw------- 1 cirros cirros 1303 Dec 4 06:50 testfile 2025-12-04 13:50:29,091 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-42954972-57891670 2025-12-04 13:50:29,091 - INFO - Deleting VM ctest-TestBasicVMVNx-42954972-57891670 2025-12-04 13:50:29,209 - INFO - Deleting VM ctest-TestBasicVMVNx-42954972-39696328 2025-12-04 13:50:29,303 - INFO - Deleting VN ctest-vn-42757938 2025-12-04 13:50:29,354 - DEBUG - VN 16bd568f-813d-41e8-801d-dc0b90613f01 still in use: Unable to complete operation on network 16bd568f-813d-41e8-801d-dc0b90613f01. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-780b0351-b9af-4387-ac08-d5c8b5c8b027'] 2025-12-04 13:50:29,354 - WARNING - Deleting VN ctest-vn-42757938 failed..Will retry 2025-12-04 13:50:31,494 - DEBUG - Response for deleting network () 2025-12-04 13:50:31,767 - DEBUG - No XMPP flaps were noticed during the test
2025-12-04 13:50:31,768 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:30]
2025-12-04 13:50:31,768 - INFO - -------------------------------------------------------------------------------- 2025-12-04 13:50:32,572 - INFO - Deleted project: ctest-TestBasicVMVNx-42954972, ID : 0aa2dc13-33b5-457d-84ac-355bbb88e068