2025-05-05 02:13:17,105 - INFO - Domain Default found not creating 2025-05-05 02:13:17,269 - INFO - Project ctest-TestBasicVMVNx-28530744 not found, creating it 2025-05-05 02:13:17,786 - INFO - Created Project:ctest-TestBasicVMVNx-28530744, ID : c7c05e11-c1ce-445f-b3ac-3e22644e1962 2025-05-05 02:13:19,431 - INFO - ================================================================================ 2025-05-05 02:13:19,431 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-05-05 02:13:19,431 - 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-05-05 02:13:19,705 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-05-05 02:13:19,705 - INFO - Initial checks done. Running the testcase now 2025-05-05 02:13:19,705 - INFO - 2025-05-05 02:13:20,326 - DEBUG - Response for create_network : {'network': {'id': '9113765d-54ad-4d75-8528-eddc61040ffa', 'name': 'ctest-vn-86260664', 'tenant_id': 'c7c05e11c1ce445fb3ac3e22644e1962', 'project_id': 'c7c05e11c1ce445fb3ac3e22644e1962', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-28530744', 'ctest-vn-86260664'], 'port_security_enabled': True, 'description': ''}} 2025-05-05 02:13:20,562 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd64285ac-636c-40b3-9b24-c9ea7c79229e', 'name': '', 'tenant_id': 'c7c05e11c1ce445fb3ac3e22644e1962', 'network_id': '9113765d-54ad-4d75-8528-eddc61040ffa', 'ip_version': 4, 'cidr': '108.108.161.64/26', 'allocation_pools': [{'start': '108.108.161.66', 'end': '108.108.161.126'}], 'gateway_ip': '108.108.161.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '108.108.161.66', 'tags': [], 'project_id': 'c7c05e11c1ce445fb3ac3e22644e1962'}} 2025-05-05 02:13:20,582 - INFO - Created VN ctest-vn-86260664 2025-05-05 02:13:20,638 - DEBUG - VN ctest-vn-86260664 UUID is 9113765d-54ad-4d75-8528-eddc61040ffa 2025-05-05 02:13:20,817 - DEBUG - Services list from nova: [, , ] 2025-05-05 02:13:21,958 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3263-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3263-1) 2025-05-05 02:13:23,236 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3263-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3263-1) 2025-05-05 02:13:23,236 - INFO - Waiting for VM ctest-TestBasicVMVNx-28530744-29742976 to be up.. 2025-05-05 02:13:23,326 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-05 02:13:28,519 - DEBUG - VM is in ACTIVE state now 2025-05-05 02:13:28,520 - INFO - VM name : ctest-TestBasicVMVNx-28530744-29742976 2025-05-05 02:13:28,620 - DEBUG - VM ctest-TestBasicVMVNx-28530744-29742976 ID is bbd40106-667b-462c-b9d0-1d826e8676eb 2025-05-05 02:13:28,644 - DEBUG - VM ctest-TestBasicVMVNx-28530744-29742976 launched on Node cn-jenkins-deploy-platform-ansible-os-3263-1 2025-05-05 02:13:28,729 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/bbd40106-667b-462c-b9d0-1d826e8676eb 2025-05-05 02:13:29,069 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/bbd40106-667b-462c-b9d0-1d826e8676eb 2025-05-05 02:13:29,104 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/8493c591-eb72-4051-9aa3-11b36e4a4aea 2025-05-05 02:13:32,366 - 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 1011ms') 2025-05-05 02:13:32,366 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-28530744-29742976 failed! 2025-05-05 02:13:32,426 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-28530744:ctest-vn-86260664 is 108.108.161.65 and allocation pool is NOT set 2025-05-05 02:13:34,488 - 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.07 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.03 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.026/3.548/5.070/1.522 ms') 2025-05-05 02:13:34,488 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-28530744-29742976 passed 2025-05-05 02:13:34,646 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-05 02:13:34,646 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-28530744-29742976, IP 108.108.161.67, Port 22 2025-05-05 02:13:34,712 - 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-05-05 02:13:34,805 - DEBUG - VM ctest-TestBasicVMVNx-28530744-29742976 is NOT ready for SSH connections, VM status: ACTIVE 2025-05-05 02:13:39,806 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-05 02:13:39,806 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-28530744-29742976, IP 108.108.161.67, Port 22 2025-05-05 02:13:39,966 - DEBUG - VM ctest-TestBasicVMVNx-28530744-29742976 is ready for SSH connections 2025-05-05 02:13:39,966 - INFO - Waiting for VM ctest-TestBasicVMVNx-28530744-90531469 to be up.. 2025-05-05 02:13:40,053 - DEBUG - VM is in ACTIVE state now 2025-05-05 02:13:40,053 - INFO - VM name : ctest-TestBasicVMVNx-28530744-90531469 2025-05-05 02:13:40,153 - DEBUG - VM ctest-TestBasicVMVNx-28530744-90531469 ID is e134a8dc-a871-4d39-936e-a4206d19856d 2025-05-05 02:13:40,153 - DEBUG - VM ctest-TestBasicVMVNx-28530744-90531469 launched on Node cn-jenkins-deploy-platform-ansible-os-3263-1 2025-05-05 02:13:40,245 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/e134a8dc-a871-4d39-936e-a4206d19856d 2025-05-05 02:13:40,254 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/46b29c2e-813c-4a6f-a8dc-099a1ca541f3 2025-05-05 02:13:41,497 - 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.02 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.380 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.380/1.699/3.018/1.319 ms') 2025-05-05 02:13:41,497 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-28530744-90531469 passed 2025-05-05 02:13:41,650 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-05 02:13:41,650 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-28530744-90531469, IP 108.108.161.68, Port 22 2025-05-05 02:13:41,806 - DEBUG - VM ctest-TestBasicVMVNx-28530744-90531469 is ready for SSH connections 2025-05-05 02:13:41,806 - DEBUG - FILE SIZE = 1303B 2025-05-05 02:13:41,806 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-28530744-29742976 to ctest-TestBasicVMVNx-28530744-90531469 using scp 2025-05-05 02:13:41,807 - 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-05-05 02:13:41,807 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-05-05 02:13:43,788 - DEBUG - 1+0 records in 1+0 records out 2025-05-05 02:13:44,489 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-05 02:13:44,834 - 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-05-05 02:13:44,834 - DEBUG - ls -l testfile 2025-05-05 02:13:46,454 - DEBUG - -rw------- 1 cirros cirros 1303 May 4 20:13 testfile 2025-05-05 02:13:46,455 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-28530744-90531469 2025-05-05 02:13:46,456 - INFO - Deleting VM ctest-TestBasicVMVNx-28530744-90531469 2025-05-05 02:13:46,533 - INFO - Deleting VM ctest-TestBasicVMVNx-28530744-29742976 2025-05-05 02:13:46,613 - INFO - Deleting VN ctest-vn-86260664 2025-05-05 02:13:46,668 - DEBUG - VN 9113765d-54ad-4d75-8528-eddc61040ffa still in use: Unable to complete operation on network 9113765d-54ad-4d75-8528-eddc61040ffa. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5cf860e7-a87d-4047-9c3b-445c9c5672c5'] 2025-05-05 02:13:46,668 - WARNING - Deleting VN ctest-vn-86260664 failed..Will retry 2025-05-05 02:13:48,836 - DEBUG - Response for deleting network () 2025-05-05 02:13:49,096 - DEBUG - No XMPP flaps were noticed during the test
2025-05-05 02:13:49,096 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:30]
2025-05-05 02:13:49,096 - INFO - -------------------------------------------------------------------------------- 2025-05-05 02:13:49,868 - INFO - Deleted project: ctest-TestBasicVMVNx-28530744, ID : c7c05e11-c1ce-445f-b3ac-3e22644e1962