2025-10-22 12:26:09,442 - INFO - Domain Default found not creating 2025-10-22 12:26:09,612 - INFO - Project ctest-TestBasicVMVNx-73464572 not found, creating it 2025-10-22 12:26:10,095 - INFO - Created Project:ctest-TestBasicVMVNx-73464572, ID : e8a99a19-30b1-4bdb-bd32-489094305e93 2025-10-22 12:26:11,759 - INFO - ================================================================================ 2025-10-22 12:26:11,759 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-10-22 12:26:11,759 - 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-22 12:26:12,020 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.17': '0'}} with 2025-10-22 12:26:12,020 - INFO - Initial checks done. Running the testcase now 2025-10-22 12:26:12,020 - INFO - 2025-10-22 12:26:12,596 - DEBUG - Response for create_network : {'network': {'id': 'bbc970da-89ad-4c16-b265-33c8af375299', 'name': 'ctest-vn-59337663', 'tenant_id': 'e8a99a1930b14bdbbd32489094305e93', 'project_id': 'e8a99a1930b14bdbbd32489094305e93', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-73464572', 'ctest-vn-59337663'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 12:26:12,743 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ac190edd-903d-442a-b68c-c1c6257a82c4', 'name': '', 'tenant_id': 'e8a99a1930b14bdbbd32489094305e93', 'network_id': 'bbc970da-89ad-4c16-b265-33c8af375299', 'ip_version': 4, 'cidr': '44.159.92.0/26', 'allocation_pools': [{'start': '44.159.92.2', 'end': '44.159.92.62'}], 'gateway_ip': '44.159.92.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '44.159.92.2', 'tags': [], 'project_id': 'e8a99a1930b14bdbbd32489094305e93'}} 2025-10-22 12:26:12,761 - INFO - Created VN ctest-vn-59337663 2025-10-22 12:26:12,816 - DEBUG - VN ctest-vn-59337663 UUID is bbc970da-89ad-4c16-b265-33c8af375299 2025-10-22 12:26:12,998 - DEBUG - Services list from nova: [, , ] 2025-10-22 12:26:14,064 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4426-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4426-1) 2025-10-22 12:26:15,310 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4426-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4426-1) 2025-10-22 12:26:15,310 - INFO - Waiting for VM ctest-TestBasicVMVNx-73464572-67219470 to be up.. 2025-10-22 12:26:15,396 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-22 12:26:20,493 - DEBUG - VM is in ACTIVE state now 2025-10-22 12:26:20,493 - INFO - VM name : ctest-TestBasicVMVNx-73464572-67219470 2025-10-22 12:26:20,582 - DEBUG - VM ctest-TestBasicVMVNx-73464572-67219470 ID is 2b7af740-2eba-4221-93e7-6ee75faec6b5 2025-10-22 12:26:20,602 - DEBUG - VM ctest-TestBasicVMVNx-73464572-67219470 launched on Node cn-jenkins-deploy-platform-ansible-os-4426-1 2025-10-22 12:26:20,694 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/2b7af740-2eba-4221-93e7-6ee75faec6b5 2025-10-22 12:26:20,997 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/2b7af740-2eba-4221-93e7-6ee75faec6b5 2025-10-22 12:26:21,039 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/7d09a152-e188-42ad-a78c-f93f4c81e474 2025-10-22 12:26:24,289 - 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 1006ms') 2025-10-22 12:26:24,289 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-73464572-67219470 failed! 2025-10-22 12:26:24,352 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-73464572:ctest-vn-59337663 is 44.159.92.1 and allocation pool is NOT set 2025-10-22 12:26:26,420 - 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=5.83 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.579 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.579/3.203/5.828/2.624 ms') 2025-10-22 12:26:26,420 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-73464572-67219470 passed 2025-10-22 12:26:26,572 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 12:26:26,572 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-73464572-67219470, IP 44.159.92.3, Port 22 2025-10-22 12:26:26,638 - 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-22 12:26:26,736 - DEBUG - VM ctest-TestBasicVMVNx-73464572-67219470 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-22 12:26:31,737 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 12:26:31,737 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-73464572-67219470, IP 44.159.92.3, Port 22 2025-10-22 12:26:31,907 - DEBUG - VM ctest-TestBasicVMVNx-73464572-67219470 is ready for SSH connections 2025-10-22 12:26:31,907 - INFO - Waiting for VM ctest-TestBasicVMVNx-73464572-01304911 to be up.. 2025-10-22 12:26:31,994 - DEBUG - VM is in ACTIVE state now 2025-10-22 12:26:31,994 - INFO - VM name : ctest-TestBasicVMVNx-73464572-01304911 2025-10-22 12:26:32,086 - DEBUG - VM ctest-TestBasicVMVNx-73464572-01304911 ID is ae41c7a3-9881-4a10-9926-356d326c75d5 2025-10-22 12:26:32,086 - DEBUG - VM ctest-TestBasicVMVNx-73464572-01304911 launched on Node cn-jenkins-deploy-platform-ansible-os-4426-1 2025-10-22 12:26:32,180 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/ae41c7a3-9881-4a10-9926-356d326c75d5 2025-10-22 12:26:32,190 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/9bce67e0-c37f-4c9f-a40e-38a283dc4692 2025-10-22 12:26:33,451 - 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.73 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.731 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.731/2.231/3.731/1.500 ms') 2025-10-22 12:26:33,451 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-73464572-01304911 passed 2025-10-22 12:26:33,612 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 12:26:33,612 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-73464572-01304911, IP 44.159.92.4, Port 22 2025-10-22 12:26:33,767 - DEBUG - VM ctest-TestBasicVMVNx-73464572-01304911 is ready for SSH connections 2025-10-22 12:26:33,767 - DEBUG - FILE SIZE = 1303B 2025-10-22 12:26:33,767 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-73464572-67219470 to ctest-TestBasicVMVNx-73464572-01304911 using scp 2025-10-22 12:26:33,769 - 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.241, gateway password: c0ntrail123 2025-10-22 12:26:33,769 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-10-22 12:26:35,819 - DEBUG - 1+0 records in 1+0 records out 2025-10-22 12:26:36,765 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 12:26:37,113 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-10-22 12:26:37,114 - DEBUG - ls -l testfile 2025-10-22 12:26:38,755 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 22 06:26 testfile 2025-10-22 12:26:38,755 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-73464572-01304911 2025-10-22 12:26:38,756 - INFO - Deleting VM ctest-TestBasicVMVNx-73464572-01304911 2025-10-22 12:26:38,847 - INFO - Deleting VM ctest-TestBasicVMVNx-73464572-67219470 2025-10-22 12:26:38,935 - INFO - Deleting VN ctest-vn-59337663 2025-10-22 12:26:38,991 - DEBUG - VN bbc970da-89ad-4c16-b265-33c8af375299 still in use: Unable to complete operation on network bbc970da-89ad-4c16-b265-33c8af375299. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b6229934-9351-4057-85de-3e945c228e4f'] 2025-10-22 12:26:38,992 - WARNING - Deleting VN ctest-vn-59337663 failed..Will retry 2025-10-22 12:26:41,099 - DEBUG - Response for deleting network () 2025-10-22 12:26:41,358 - DEBUG - No XMPP flaps were noticed during the test
2025-10-22 12:26:41,358 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:30]
2025-10-22 12:26:41,358 - INFO - -------------------------------------------------------------------------------- 2025-10-22 12:26:42,060 - INFO - Deleted project: ctest-TestBasicVMVNx-73464572, ID : e8a99a19-30b1-4bdb-bd32-489094305e93