2025-07-04 15:21:00,729 - INFO - Domain Default found not creating 2025-07-04 15:21:00,882 - INFO - Project ctest-TestBasicVMVNx-71046877 not found, creating it 2025-07-04 15:21:01,372 - INFO - Created Project:ctest-TestBasicVMVNx-71046877, ID : 0969ff05-38d6-4a37-a3ca-93c72013baeb 2025-07-04 15:21:02,849 - INFO - ================================================================================ 2025-07-04 15:21:02,849 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-07-04 15:21:02,849 - 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-07-04 15:21:03,104 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2025-07-04 15:21:03,105 - INFO - Initial checks done. Running the testcase now 2025-07-04 15:21:03,105 - INFO - 2025-07-04 15:21:03,655 - DEBUG - Response for create_network : {'network': {'id': 'd74f29ad-b23f-4a3e-9351-bfad3e77860f', 'name': 'ctest-vn-17679573', 'tenant_id': '0969ff0538d64a37a3ca93c72013baeb', 'project_id': '0969ff0538d64a37a3ca93c72013baeb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-71046877', 'ctest-vn-17679573'], 'port_security_enabled': True, 'description': ''}} 2025-07-04 15:21:03,835 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c6b6ba55-3ab3-4782-b001-aff3c4c9d7d9', 'name': '', 'tenant_id': '0969ff0538d64a37a3ca93c72013baeb', 'network_id': 'd74f29ad-b23f-4a3e-9351-bfad3e77860f', 'ip_version': 4, 'cidr': '63.22.2.64/26', 'allocation_pools': [{'start': '63.22.2.66', 'end': '63.22.2.126'}], 'gateway_ip': '63.22.2.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '63.22.2.66', 'tags': [], 'project_id': '0969ff0538d64a37a3ca93c72013baeb'}} 2025-07-04 15:21:03,857 - INFO - Created VN ctest-vn-17679573 2025-07-04 15:21:03,914 - DEBUG - VN ctest-vn-17679573 UUID is d74f29ad-b23f-4a3e-9351-bfad3e77860f 2025-07-04 15:21:04,086 - DEBUG - Services list from nova: [, , ] 2025-07-04 15:21:05,097 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3597-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3597-1) 2025-07-04 15:21:06,262 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3597-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3597-1) 2025-07-04 15:21:06,262 - INFO - Waiting for VM ctest-TestBasicVMVNx-71046877-68182294 to be up.. 2025-07-04 15:21:06,352 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-04 15:21:11,432 - DEBUG - VM is in ACTIVE state now 2025-07-04 15:21:11,432 - INFO - VM name : ctest-TestBasicVMVNx-71046877-68182294 2025-07-04 15:21:11,601 - DEBUG - VM ctest-TestBasicVMVNx-71046877-68182294 ID is 115621fb-675b-4179-86d1-81daea4e2687 2025-07-04 15:21:11,620 - DEBUG - VM ctest-TestBasicVMVNx-71046877-68182294 launched on Node cn-jenkins-deploy-platform-ansible-os-3597-1 2025-07-04 15:21:11,693 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/115621fb-675b-4179-86d1-81daea4e2687 2025-07-04 15:21:11,984 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/115621fb-675b-4179-86d1-81daea4e2687 2025-07-04 15:21:12,014 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/15d594d0-729e-4483-a037-97ddbcba33ea 2025-07-04 15:21:15,286 - 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 1031ms') 2025-07-04 15:21:15,286 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-71046877-68182294 failed! 2025-07-04 15:21:15,342 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-71046877:ctest-vn-17679573 is 63.22.2.65 and allocation pool is NOT set 2025-07-04 15:21:17,410 - 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=3.80 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.23 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.232/2.514/3.796/1.282 ms') 2025-07-04 15:21:17,410 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-71046877-68182294 passed 2025-07-04 15:21:17,570 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-04 15:21:17,570 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-71046877-68182294, IP 63.22.2.67, Port 22 2025-07-04 15:21:17,625 - 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-07-04 15:21:17,709 - DEBUG - VM ctest-TestBasicVMVNx-71046877-68182294 is NOT ready for SSH connections, VM status: ACTIVE 2025-07-04 15:21:22,710 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-04 15:21:22,710 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-71046877-68182294, IP 63.22.2.67, Port 22 2025-07-04 15:21:22,865 - DEBUG - VM ctest-TestBasicVMVNx-71046877-68182294 is ready for SSH connections 2025-07-04 15:21:22,865 - INFO - Waiting for VM ctest-TestBasicVMVNx-71046877-86079660 to be up.. 2025-07-04 15:21:22,949 - DEBUG - VM is in ACTIVE state now 2025-07-04 15:21:22,949 - INFO - VM name : ctest-TestBasicVMVNx-71046877-86079660 2025-07-04 15:21:23,030 - DEBUG - VM ctest-TestBasicVMVNx-71046877-86079660 ID is 17ede046-5997-46ed-9fc5-eb34ed72ef7d 2025-07-04 15:21:23,030 - DEBUG - VM ctest-TestBasicVMVNx-71046877-86079660 launched on Node cn-jenkins-deploy-platform-ansible-os-3597-1 2025-07-04 15:21:23,109 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/17ede046-5997-46ed-9fc5-eb34ed72ef7d 2025-07-04 15:21:23,119 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/9f219f98-80c2-4f9a-a8f7-6fb540e45b0a 2025-07-04 15:21:24,363 - 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=2.79 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.466 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.466/1.629/2.793/1.163 ms') 2025-07-04 15:21:24,363 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-71046877-86079660 passed 2025-07-04 15:21:24,518 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-04 15:21:24,518 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-71046877-86079660, IP 63.22.2.68, Port 22 2025-07-04 15:21:24,673 - DEBUG - VM ctest-TestBasicVMVNx-71046877-86079660 is ready for SSH connections 2025-07-04 15:21:24,674 - DEBUG - FILE SIZE = 1303B 2025-07-04 15:21:24,674 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-71046877-68182294 to ctest-TestBasicVMVNx-71046877-86079660 using scp 2025-07-04 15:21:24,674 - 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.22, gateway password: c0ntrail123 2025-07-04 15:21:24,674 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-07-04 15:21:26,579 - DEBUG - 1+0 records in 1+0 records out 2025-07-04 15:21:27,162 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-04 15:21:27,485 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-07-04 15:21:27,485 - DEBUG - ls -l testfile 2025-07-04 15:21:29,037 - DEBUG - -rw------- 1 cirros cirros 1303 Jul 4 09:21 testfile 2025-07-04 15:21:29,037 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-71046877-86079660 2025-07-04 15:21:29,037 - INFO - Deleting VM ctest-TestBasicVMVNx-71046877-86079660 2025-07-04 15:21:29,105 - INFO - Deleting VM ctest-TestBasicVMVNx-71046877-68182294 2025-07-04 15:21:29,167 - INFO - Deleting VN ctest-vn-17679573 2025-07-04 15:21:29,206 - DEBUG - VN d74f29ad-b23f-4a3e-9351-bfad3e77860f still in use: Unable to complete operation on network d74f29ad-b23f-4a3e-9351-bfad3e77860f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-01b89956-da6f-49d0-840a-95d0b4288a04'] 2025-07-04 15:21:29,207 - WARNING - Deleting VN ctest-vn-17679573 failed..Will retry 2025-07-04 15:21:31,322 - DEBUG - Response for deleting network () 2025-07-04 15:21:31,581 - DEBUG - No XMPP flaps were noticed during the test
2025-07-04 15:21:31,581 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:29]
2025-07-04 15:21:31,581 - INFO - -------------------------------------------------------------------------------- 2025-07-04 15:21:32,254 - INFO - Deleted project: ctest-TestBasicVMVNx-71046877, ID : 0969ff05-38d6-4a37-a3ca-93c72013baeb