2025-10-15 19:05:51,162 - INFO - Domain Default found not creating 2025-10-15 19:05:51,375 - INFO - Project ctest-TestBasicVMVNx-03990901 not found, creating it 2025-10-15 19:05:51,897 - INFO - Created Project:ctest-TestBasicVMVNx-03990901, ID : c4450a24-f78a-48bb-859d-28583eeb9225 2025-10-15 19:05:53,659 - INFO - ================================================================================ 2025-10-15 19:05:53,659 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-10-15 19:05:53,659 - 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-15 19:05:53,934 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2025-10-15 19:05:53,934 - INFO - Initial checks done. Running the testcase now 2025-10-15 19:05:53,934 - INFO - 2025-10-15 19:05:54,610 - DEBUG - Response for create_network : {'network': {'id': 'cd01e011-8ee6-475d-94a5-c6af1f86d99f', 'name': 'ctest-vn-64577646', 'tenant_id': 'c4450a24f78a48bb859d28583eeb9225', 'project_id': 'c4450a24f78a48bb859d28583eeb9225', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-03990901', 'ctest-vn-64577646'], 'port_security_enabled': True, 'description': ''}} 2025-10-15 19:05:54,810 - DEBUG - Response for create_subnet : {'subnet': {'id': '39e073e1-6547-47b4-a623-71d0fbdaa323', 'name': '', 'tenant_id': 'c4450a24f78a48bb859d28583eeb9225', 'network_id': 'cd01e011-8ee6-475d-94a5-c6af1f86d99f', 'ip_version': 4, 'cidr': '53.89.54.0/26', 'allocation_pools': [{'start': '53.89.54.2', 'end': '53.89.54.62'}], 'gateway_ip': '53.89.54.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '53.89.54.2', 'tags': [], 'project_id': 'c4450a24f78a48bb859d28583eeb9225'}} 2025-10-15 19:05:54,832 - INFO - Created VN ctest-vn-64577646 2025-10-15 19:05:54,887 - DEBUG - VN ctest-vn-64577646 UUID is cd01e011-8ee6-475d-94a5-c6af1f86d99f 2025-10-15 19:05:55,080 - DEBUG - Services list from nova: [, , ] 2025-10-15 19:05:56,248 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4334-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4334-1) 2025-10-15 19:05:57,573 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4334-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4334-1) 2025-10-15 19:05:57,574 - INFO - Waiting for VM ctest-TestBasicVMVNx-03990901-64601204 to be up.. 2025-10-15 19:05:57,673 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-15 19:06:02,782 - DEBUG - VM is in ACTIVE state now 2025-10-15 19:06:02,782 - INFO - VM name : ctest-TestBasicVMVNx-03990901-64601204 2025-10-15 19:06:02,867 - DEBUG - VM ctest-TestBasicVMVNx-03990901-64601204 ID is 1b907e84-ec07-4bc6-adea-649c02c134ed 2025-10-15 19:06:02,892 - DEBUG - VM ctest-TestBasicVMVNx-03990901-64601204 launched on Node cn-jenkins-deploy-platform-ansible-os-4334-1 2025-10-15 19:06:02,984 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/1b907e84-ec07-4bc6-adea-649c02c134ed 2025-10-15 19:06:03,292 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/1b907e84-ec07-4bc6-adea-649c02c134ed 2025-10-15 19:06:03,326 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/0b173d24-f98e-4536-8868-248f43db0a8b 2025-10-15 19:06:06,578 - 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-15 19:06:06,578 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-03990901-64601204 failed! 2025-10-15 19:06:06,635 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-03990901:ctest-vn-64577646 is 53.89.54.1 and allocation pool is NOT set 2025-10-15 19:06:08,697 - 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.02 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.76 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 = 1.755/3.389/5.023/1.634 ms') 2025-10-15 19:06:08,698 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-03990901-64601204 passed 2025-10-15 19:06:08,855 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 19:06:08,855 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-03990901-64601204, IP 53.89.54.3, Port 22 2025-10-15 19:06:08,922 - 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-15 19:06:09,013 - DEBUG - VM ctest-TestBasicVMVNx-03990901-64601204 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-15 19:06:14,014 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 19:06:14,015 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-03990901-64601204, IP 53.89.54.3, Port 22 2025-10-15 19:06:14,188 - DEBUG - VM ctest-TestBasicVMVNx-03990901-64601204 is ready for SSH connections 2025-10-15 19:06:14,189 - INFO - Waiting for VM ctest-TestBasicVMVNx-03990901-72214565 to be up.. 2025-10-15 19:06:14,280 - DEBUG - VM is in ACTIVE state now 2025-10-15 19:06:14,281 - INFO - VM name : ctest-TestBasicVMVNx-03990901-72214565 2025-10-15 19:06:14,378 - DEBUG - VM ctest-TestBasicVMVNx-03990901-72214565 ID is 672de7d0-9735-4f7d-b716-feb27d5eaaf3 2025-10-15 19:06:14,378 - DEBUG - VM ctest-TestBasicVMVNx-03990901-72214565 launched on Node cn-jenkins-deploy-platform-ansible-os-4334-1 2025-10-15 19:06:14,479 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/672de7d0-9735-4f7d-b716-feb27d5eaaf3 2025-10-15 19:06:14,490 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5f3fcba7-4fc1-41f8-8af6-798c0164271b 2025-10-15 19:06:15,743 - 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.37 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.615 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.615/1.991/3.367/1.376 ms') 2025-10-15 19:06:15,744 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-03990901-72214565 passed 2025-10-15 19:06:15,899 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 19:06:15,899 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-03990901-72214565, IP 53.89.54.4, Port 22 2025-10-15 19:06:16,070 - DEBUG - VM ctest-TestBasicVMVNx-03990901-72214565 is ready for SSH connections 2025-10-15 19:06:16,071 - DEBUG - FILE SIZE = 1303B 2025-10-15 19:06:16,071 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-03990901-64601204 to ctest-TestBasicVMVNx-03990901-72214565 using scp 2025-10-15 19:06:16,072 - 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.38, gateway password: c0ntrail123 2025-10-15 19:06:16,072 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-10-15 19:06:18,109 - DEBUG - 1+0 records in 1+0 records out 2025-10-15 19:06:18,965 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 19:06:19,319 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-15 19:06:19,319 - DEBUG - ls -l testfile 2025-10-15 19:06:20,969 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 15 13:06 testfile 2025-10-15 19:06:20,970 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-03990901-72214565 2025-10-15 19:06:20,970 - INFO - Deleting VM ctest-TestBasicVMVNx-03990901-72214565 2025-10-15 19:06:21,057 - INFO - Deleting VM ctest-TestBasicVMVNx-03990901-64601204 2025-10-15 19:06:21,152 - INFO - Deleting VN ctest-vn-64577646 2025-10-15 19:06:21,210 - DEBUG - VN cd01e011-8ee6-475d-94a5-c6af1f86d99f still in use: Unable to complete operation on network cd01e011-8ee6-475d-94a5-c6af1f86d99f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-66356e7c-6d66-4c66-bfbb-a10bb566dbf5'] 2025-10-15 19:06:21,210 - WARNING - Deleting VN ctest-vn-64577646 failed..Will retry 2025-10-15 19:06:23,322 - DEBUG - Response for deleting network () 2025-10-15 19:06:23,593 - DEBUG - No XMPP flaps were noticed during the test 2025-10-15 19:06:23,593 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:30] 2025-10-15 19:06:23,593 - INFO - -------------------------------------------------------------------------------- 2025-10-15 19:06:24,376 - INFO - Deleted project: ctest-TestBasicVMVNx-03990901, ID : c4450a24-f78a-48bb-859d-28583eeb9225