2025-07-07 21:00:06,113 - INFO - Domain Default found not creating 2025-07-07 21:00:06,537 - INFO - Project ctest-TestBasicVMVNx-42619618 not found, creating it 2025-07-07 21:00:07,254 - INFO - Created Project:ctest-TestBasicVMVNx-42619618, ID : e9aa34da-2435-49ee-8a5f-4713090972f1 2025-07-07 21:00:09,189 - INFO - ================================================================================ 2025-07-07 21:00:09,189 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-07-07 21:00:09,189 - 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-07 21:00:09,494 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0'}} with 2025-07-07 21:00:09,494 - INFO - Initial checks done. Running the testcase now 2025-07-07 21:00:09,494 - INFO - 2025-07-07 21:00:10,362 - DEBUG - Response for create_network : {'network': {'id': '3459cc82-2fea-4a92-b985-01dce71e2c41', 'name': 'ctest-vn-13070943', 'tenant_id': 'e9aa34da243549ee8a5f4713090972f1', 'project_id': 'e9aa34da243549ee8a5f4713090972f1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-42619618', 'ctest-vn-13070943'], 'port_security_enabled': True, 'description': ''}} 2025-07-07 21:00:10,551 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b01daffa-cce5-419c-ac72-fc83439e28e5', 'name': '', 'tenant_id': 'e9aa34da243549ee8a5f4713090972f1', 'network_id': '3459cc82-2fea-4a92-b985-01dce71e2c41', 'ip_version': 4, 'cidr': '171.87.16.192/26', 'allocation_pools': [{'start': '171.87.16.194', 'end': '171.87.16.254'}], 'gateway_ip': '171.87.16.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '171.87.16.194', 'tags': [], 'project_id': 'e9aa34da243549ee8a5f4713090972f1'}} 2025-07-07 21:00:10,583 - INFO - Created VN ctest-vn-13070943 2025-07-07 21:00:10,650 - DEBUG - VN ctest-vn-13070943 UUID is 3459cc82-2fea-4a92-b985-01dce71e2c41 2025-07-07 21:00:10,902 - DEBUG - Services list from nova: [, , ] 2025-07-07 21:00:12,742 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3609-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3609-1) 2025-07-07 21:00:14,309 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3609-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3609-1) 2025-07-07 21:00:14,309 - INFO - Waiting for VM ctest-TestBasicVMVNx-42619618-85257949 to be up.. 2025-07-07 21:00:14,387 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-07 21:00:19,559 - DEBUG - VM is in ACTIVE state now 2025-07-07 21:00:19,559 - INFO - VM name : ctest-TestBasicVMVNx-42619618-85257949 2025-07-07 21:00:19,661 - DEBUG - VM ctest-TestBasicVMVNx-42619618-85257949 ID is 20df23a7-e473-4d15-863e-fb6510e1e9da 2025-07-07 21:00:19,688 - DEBUG - VM ctest-TestBasicVMVNx-42619618-85257949 launched on Node cn-jenkins-deploy-platform-ansible-os-3609-1 2025-07-07 21:00:19,788 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/20df23a7-e473-4d15-863e-fb6510e1e9da 2025-07-07 21:00:20,097 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/20df23a7-e473-4d15-863e-fb6510e1e9da 2025-07-07 21:00:20,143 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/7a0a6fe8-d378-410d-b513-726ff02a5428 2025-07-07 21:00:23,434 - 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 1016ms') 2025-07-07 21:00:23,434 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-42619618-85257949 failed! 2025-07-07 21:00:23,518 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-42619618:ctest-vn-13070943 is 171.87.16.193 and allocation pool is NOT set 2025-07-07 21:00:27,627 - 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=2 ttl=63 time=4.09 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1029ms\r\nrtt min/avg/max/mdev = 4.086/4.086/4.086/0.000 ms') 2025-07-07 21:00:27,627 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-42619618-85257949 passed 2025-07-07 21:00:27,814 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-07 21:00:27,814 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-42619618-85257949, IP 171.87.16.195, Port 22 2025-07-07 21:00:28,009 - DEBUG - VM ctest-TestBasicVMVNx-42619618-85257949 is ready for SSH connections 2025-07-07 21:00:28,009 - INFO - Waiting for VM ctest-TestBasicVMVNx-42619618-86964241 to be up.. 2025-07-07 21:00:28,177 - DEBUG - VM is in ACTIVE state now 2025-07-07 21:00:28,177 - INFO - VM name : ctest-TestBasicVMVNx-42619618-86964241 2025-07-07 21:00:28,355 - DEBUG - VM ctest-TestBasicVMVNx-42619618-86964241 ID is 6292fe77-2005-44e7-a925-2f03e06e09cb 2025-07-07 21:00:28,355 - DEBUG - VM ctest-TestBasicVMVNx-42619618-86964241 launched on Node cn-jenkins-deploy-platform-ansible-os-3609-1 2025-07-07 21:00:28,599 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/6292fe77-2005-44e7-a925-2f03e06e09cb 2025-07-07 21:00:28,617 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/d070bd05-bcf2-4156-9829-e5333ddbbd55 2025-07-07 21:00:29,939 - 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=9.36 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.709 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.709/5.036/9.364/4.327 ms') 2025-07-07 21:00:29,939 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-42619618-86964241 passed 2025-07-07 21:00:30,113 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-07 21:00:30,114 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-42619618-86964241, IP 171.87.16.196, Port 22 2025-07-07 21:00:30,299 - DEBUG - VM ctest-TestBasicVMVNx-42619618-86964241 is ready for SSH connections 2025-07-07 21:00:30,300 - DEBUG - FILE SIZE = 1303B 2025-07-07 21:00:30,300 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-42619618-85257949 to ctest-TestBasicVMVNx-42619618-86964241 using scp 2025-07-07 21:00:30,301 - 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.50, gateway password: c0ntrail123 2025-07-07 21:00:30,301 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-07-07 21:00:32,646 - DEBUG - 1+0 records in 1+0 records out 2025-07-07 21:00:33,287 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-07 21:00:33,751 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-07-07 21:00:33,752 - DEBUG - ls -l testfile 2025-07-07 21:00:35,767 - DEBUG - -rw------- 1 cirros cirros 1303 Jul 7 15:00 testfile 2025-07-07 21:00:35,768 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-42619618-86964241 2025-07-07 21:00:35,768 - INFO - Deleting VM ctest-TestBasicVMVNx-42619618-86964241 2025-07-07 21:00:35,888 - INFO - Deleting VM ctest-TestBasicVMVNx-42619618-85257949 2025-07-07 21:00:36,007 - INFO - Deleting VN ctest-vn-13070943 2025-07-07 21:00:36,089 - DEBUG - VN 3459cc82-2fea-4a92-b985-01dce71e2c41 still in use: Unable to complete operation on network 3459cc82-2fea-4a92-b985-01dce71e2c41. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6caee4da-9be4-4cc6-b420-461ce2fa2f9c'] 2025-07-07 21:00:36,090 - WARNING - Deleting VN ctest-vn-13070943 failed..Will retry 2025-07-07 21:00:38,347 - DEBUG - Response for deleting network () 2025-07-07 21:00:38,652 - DEBUG - No XMPP flaps were noticed during the test
2025-07-07 21:00:38,652 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:29]
2025-07-07 21:00:38,652 - INFO - -------------------------------------------------------------------------------- 2025-07-07 21:00:39,624 - INFO - Deleted project: ctest-TestBasicVMVNx-42619618, ID : e9aa34da-2435-49ee-8a5f-4713090972f1