2025-08-04 20:32:09,038 - INFO - Domain Default found not creating 2025-08-04 20:32:09,214 - INFO - Project ctest-TestBasicVMVNx-09788123 not found, creating it 2025-08-04 20:32:09,703 - INFO - Created Project:ctest-TestBasicVMVNx-09788123, ID : ec1b62bb-b5ac-4e9a-96fc-75635f65b803 2025-08-04 20:32:11,373 - INFO - ================================================================================ 2025-08-04 20:32:11,373 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-08-04 20:32:11,374 - 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-08-04 20:32:11,645 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.14': '0'}} with 2025-08-04 20:32:11,645 - INFO - Initial checks done. Running the testcase now 2025-08-04 20:32:11,645 - INFO - 2025-08-04 20:32:12,281 - DEBUG - Response for create_network : {'network': {'id': 'a74c8d38-cd0c-41e5-b1a4-11263cc2faab', 'name': 'ctest-vn-98902230', 'tenant_id': 'ec1b62bbb5ac4e9a96fc75635f65b803', 'project_id': 'ec1b62bbb5ac4e9a96fc75635f65b803', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-09788123', 'ctest-vn-98902230'], 'port_security_enabled': True, 'description': ''}} 2025-08-04 20:32:12,471 - DEBUG - Response for create_subnet : {'subnet': {'id': '4db7155e-9c1d-4949-94f6-158a22cbcd48', 'name': '', 'tenant_id': 'ec1b62bbb5ac4e9a96fc75635f65b803', 'network_id': 'a74c8d38-cd0c-41e5-b1a4-11263cc2faab', 'ip_version': 4, 'cidr': '118.7.94.64/26', 'allocation_pools': [{'start': '118.7.94.66', 'end': '118.7.94.126'}], 'gateway_ip': '118.7.94.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '118.7.94.66', 'tags': [], 'project_id': 'ec1b62bbb5ac4e9a96fc75635f65b803'}} 2025-08-04 20:32:12,496 - INFO - Created VN ctest-vn-98902230 2025-08-04 20:32:12,553 - DEBUG - VN ctest-vn-98902230 UUID is a74c8d38-cd0c-41e5-b1a4-11263cc2faab 2025-08-04 20:32:12,753 - DEBUG - Services list from nova: [, , ] 2025-08-04 20:32:13,953 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3754-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3754-1) 2025-08-04 20:32:15,273 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3754-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3754-1) 2025-08-04 20:32:15,273 - INFO - Waiting for VM ctest-TestBasicVMVNx-09788123-12404354 to be up.. 2025-08-04 20:32:15,386 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-04 20:32:20,491 - DEBUG - VM is in ACTIVE state now 2025-08-04 20:32:20,491 - INFO - VM name : ctest-TestBasicVMVNx-09788123-12404354 2025-08-04 20:32:20,593 - DEBUG - VM ctest-TestBasicVMVNx-09788123-12404354 ID is 0923f67b-3e15-4ba1-884d-8323f1c369f1 2025-08-04 20:32:20,621 - DEBUG - VM ctest-TestBasicVMVNx-09788123-12404354 launched on Node cn-jenkins-deploy-platform-ansible-os-3754-1 2025-08-04 20:32:20,706 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/0923f67b-3e15-4ba1-884d-8323f1c369f1 2025-08-04 20:32:21,058 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/0923f67b-3e15-4ba1-884d-8323f1c369f1 2025-08-04 20:32:21,102 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/3d92a878-233a-445d-962e-a1ff52188256 2025-08-04 20:32:24,361 - 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 1010ms') 2025-08-04 20:32:24,361 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-09788123-12404354 failed! 2025-08-04 20:32:24,417 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-09788123:ctest-vn-98902230 is 118.7.94.65 and allocation pool is NOT set 2025-08-04 20:32:26,480 - 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=4.18 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.60 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 1.604/2.891/4.179/1.287 ms') 2025-08-04 20:32:26,480 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-09788123-12404354 passed 2025-08-04 20:32:26,637 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 20:32:26,638 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-09788123-12404354, IP 118.7.94.67, Port 22 2025-08-04 20:32:26,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-08-04 20:32:26,799 - DEBUG - VM ctest-TestBasicVMVNx-09788123-12404354 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-04 20:32:31,800 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 20:32:31,800 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-09788123-12404354, IP 118.7.94.67, Port 22 2025-08-04 20:32:31,980 - DEBUG - VM ctest-TestBasicVMVNx-09788123-12404354 is ready for SSH connections 2025-08-04 20:32:31,980 - INFO - Waiting for VM ctest-TestBasicVMVNx-09788123-40790644 to be up.. 2025-08-04 20:32:32,072 - DEBUG - VM is in ACTIVE state now 2025-08-04 20:32:32,072 - INFO - VM name : ctest-TestBasicVMVNx-09788123-40790644 2025-08-04 20:32:32,152 - DEBUG - VM ctest-TestBasicVMVNx-09788123-40790644 ID is 1ce8ff8d-f022-4f1d-a48e-9dc335b19223 2025-08-04 20:32:32,153 - DEBUG - VM ctest-TestBasicVMVNx-09788123-40790644 launched on Node cn-jenkins-deploy-platform-ansible-os-3754-1 2025-08-04 20:32:32,235 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/1ce8ff8d-f022-4f1d-a48e-9dc335b19223 2025-08-04 20:32:32,246 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/385484ae-ce0e-4eda-90bd-20622247dbc0 2025-08-04 20:32:33,499 - 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.44 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.511 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.511/2.473/4.436/1.962 ms') 2025-08-04 20:32:33,500 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-09788123-40790644 passed 2025-08-04 20:32:33,657 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 20:32:33,658 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-09788123-40790644, IP 118.7.94.68, Port 22 2025-08-04 20:32:33,818 - DEBUG - VM ctest-TestBasicVMVNx-09788123-40790644 is ready for SSH connections 2025-08-04 20:32:33,819 - DEBUG - FILE SIZE = 1303B 2025-08-04 20:32:33,819 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-09788123-12404354 to ctest-TestBasicVMVNx-09788123-40790644 using scp 2025-08-04 20:32:33,821 - 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.48, gateway password: c0ntrail123 2025-08-04 20:32:33,821 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-08-04 20:32:35,831 - DEBUG - 1+0 records in 1+0 records out 2025-08-04 20:32:36,709 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 20:32:37,071 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-08-04 20:32:37,072 - DEBUG - ls -l testfile 2025-08-04 20:32:38,707 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 4 14:32 testfile 2025-08-04 20:32:38,707 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-09788123-40790644 2025-08-04 20:32:38,707 - INFO - Deleting VM ctest-TestBasicVMVNx-09788123-40790644 2025-08-04 20:32:38,798 - INFO - Deleting VM ctest-TestBasicVMVNx-09788123-12404354 2025-08-04 20:32:38,883 - INFO - Deleting VN ctest-vn-98902230 2025-08-04 20:32:38,927 - DEBUG - VN a74c8d38-cd0c-41e5-b1a4-11263cc2faab still in use: Unable to complete operation on network a74c8d38-cd0c-41e5-b1a4-11263cc2faab. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b0597864-7d21-41ab-a130-9c677610b3d0'] 2025-08-04 20:32:38,927 - WARNING - Deleting VN ctest-vn-98902230 failed..Will retry 2025-08-04 20:32:41,062 - DEBUG - Response for deleting network () 2025-08-04 20:32:41,321 - DEBUG - No XMPP flaps were noticed during the test
2025-08-04 20:32:41,322 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:30]
2025-08-04 20:32:41,322 - INFO - -------------------------------------------------------------------------------- 2025-08-04 20:32:42,107 - INFO - Deleted project: ctest-TestBasicVMVNx-09788123, ID : ec1b62bb-b5ac-4e9a-96fc-75635f65b803