2025-08-25 14:20:10,238 - INFO - Domain Default found not creating 2025-08-25 14:20:10,374 - INFO - Project ctest-TestBasicVMVNx-14354909 not found, creating it 2025-08-25 14:20:10,823 - INFO - Created Project:ctest-TestBasicVMVNx-14354909, ID : 9f1db610-ee3b-46a2-b565-51c4f9bf7b78 2025-08-25 14:20:12,177 - INFO - ================================================================================ 2025-08-25 14:20:12,177 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-08-25 14:20:12,178 - 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-25 14:20:12,430 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-08-25 14:20:12,430 - INFO - Initial checks done. Running the testcase now 2025-08-25 14:20:12,431 - INFO - 2025-08-25 14:20:12,960 - DEBUG - Response for create_network : {'network': {'id': 'bb5accc0-5bdc-487d-80b2-7049ccd17da9', 'name': 'ctest-vn-65358338', 'tenant_id': '9f1db610ee3b46a2b56551c4f9bf7b78', 'project_id': '9f1db610ee3b46a2b56551c4f9bf7b78', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-14354909', 'ctest-vn-65358338'], 'port_security_enabled': True, 'description': ''}} 2025-08-25 14:20:13,140 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fa56f8e5-89f8-4055-a9d6-76ed9fbf9a85', 'name': '', 'tenant_id': '9f1db610ee3b46a2b56551c4f9bf7b78', 'network_id': 'bb5accc0-5bdc-487d-80b2-7049ccd17da9', 'ip_version': 4, 'cidr': '198.32.160.64/26', 'allocation_pools': [{'start': '198.32.160.66', 'end': '198.32.160.126'}], 'gateway_ip': '198.32.160.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '198.32.160.66', 'tags': [], 'project_id': '9f1db610ee3b46a2b56551c4f9bf7b78'}} 2025-08-25 14:20:13,161 - INFO - Created VN ctest-vn-65358338 2025-08-25 14:20:13,217 - DEBUG - VN ctest-vn-65358338 UUID is bb5accc0-5bdc-487d-80b2-7049ccd17da9 2025-08-25 14:20:13,376 - DEBUG - Services list from nova: [, , ] 2025-08-25 14:20:14,327 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3921-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3921-1) 2025-08-25 14:20:15,435 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3921-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3921-1) 2025-08-25 14:20:15,435 - INFO - Waiting for VM ctest-TestBasicVMVNx-14354909-19954840 to be up.. 2025-08-25 14:20:15,528 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-25 14:20:20,616 - DEBUG - VM is in ACTIVE state now 2025-08-25 14:20:20,617 - INFO - VM name : ctest-TestBasicVMVNx-14354909-19954840 2025-08-25 14:20:20,708 - DEBUG - VM ctest-TestBasicVMVNx-14354909-19954840 ID is 6d780b4c-7dc9-4866-af0b-2ba0b682729e 2025-08-25 14:20:20,736 - DEBUG - VM ctest-TestBasicVMVNx-14354909-19954840 launched on Node cn-jenkins-deploy-platform-ansible-os-3921-1 2025-08-25 14:20:20,821 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/6d780b4c-7dc9-4866-af0b-2ba0b682729e 2025-08-25 14:20:21,122 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/6d780b4c-7dc9-4866-af0b-2ba0b682729e 2025-08-25 14:20:21,159 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/fe9a179b-f03a-40de-819a-09ebfc6fd9fe 2025-08-25 14:20:24,432 - 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-08-25 14:20:24,432 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-14354909-19954840 failed! 2025-08-25 14:20:24,490 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-14354909:ctest-vn-65358338 is 198.32.160.65 and allocation pool is NOT set 2025-08-25 14:20:26,551 - 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.01 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.374 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.374/1.690/3.007/1.316 ms') 2025-08-25 14:20:26,551 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-14354909-19954840 passed 2025-08-25 14:20:26,701 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 14:20:26,701 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-14354909-19954840, IP 198.32.160.67, Port 22 2025-08-25 14:20:26,861 - DEBUG - VM ctest-TestBasicVMVNx-14354909-19954840 is ready for SSH connections 2025-08-25 14:20:26,861 - INFO - Waiting for VM ctest-TestBasicVMVNx-14354909-77760065 to be up.. 2025-08-25 14:20:26,927 - DEBUG - VM is in ACTIVE state now 2025-08-25 14:20:26,927 - INFO - VM name : ctest-TestBasicVMVNx-14354909-77760065 2025-08-25 14:20:26,993 - DEBUG - VM ctest-TestBasicVMVNx-14354909-77760065 ID is 1a3b7d48-af55-4868-b92d-718e0c4e236b 2025-08-25 14:20:26,993 - DEBUG - VM ctest-TestBasicVMVNx-14354909-77760065 launched on Node cn-jenkins-deploy-platform-ansible-os-3921-1 2025-08-25 14:20:27,065 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/1a3b7d48-af55-4868-b92d-718e0c4e236b 2025-08-25 14:20:27,074 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/efcbd0c1-cf5e-4d56-acda-917636958c53 2025-08-25 14:20:28,314 - 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.58 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.403 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.403/1.489/2.576/1.086 ms') 2025-08-25 14:20:28,315 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-14354909-77760065 passed 2025-08-25 14:20:28,465 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 14:20:28,465 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-14354909-77760065, IP 198.32.160.68, Port 22 2025-08-25 14:20:28,635 - DEBUG - VM ctest-TestBasicVMVNx-14354909-77760065 is ready for SSH connections 2025-08-25 14:20:28,636 - DEBUG - FILE SIZE = 1303B 2025-08-25 14:20:28,636 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-14354909-19954840 to ctest-TestBasicVMVNx-14354909-77760065 using scp 2025-08-25 14:20:28,637 - 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-08-25 14:20:28,637 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-08-25 14:20:30,495 - DEBUG - 1+0 records in 1+0 records out 2025-08-25 14:20:31,075 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 14:20:31,390 - 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-08-25 14:20:31,390 - DEBUG - ls -l testfile 2025-08-25 14:20:32,960 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 25 08:20 testfile 2025-08-25 14:20:32,960 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-14354909-77760065 2025-08-25 14:20:32,960 - INFO - Deleting VM ctest-TestBasicVMVNx-14354909-77760065 2025-08-25 14:20:33,027 - INFO - Deleting VM ctest-TestBasicVMVNx-14354909-19954840 2025-08-25 14:20:33,098 - INFO - Deleting VN ctest-vn-65358338 2025-08-25 14:20:33,134 - DEBUG - VN bb5accc0-5bdc-487d-80b2-7049ccd17da9 still in use: Unable to complete operation on network bb5accc0-5bdc-487d-80b2-7049ccd17da9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-76b63f9d-575e-49bf-80ef-44a8f53abff0'] 2025-08-25 14:20:33,135 - WARNING - Deleting VN ctest-vn-65358338 failed..Will retry 2025-08-25 14:20:35,228 - DEBUG - Response for deleting network () 2025-08-25 14:20:35,491 - DEBUG - No XMPP flaps were noticed during the test
2025-08-25 14:20:35,491 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-08-25 14:20:35,491 - INFO - -------------------------------------------------------------------------------- 2025-08-25 14:20:36,166 - INFO - Deleted project: ctest-TestBasicVMVNx-14354909, ID : 9f1db610-ee3b-46a2-b565-51c4f9bf7b78