2025-10-31 02:36:04,921 - INFO - Domain Default found not creating 2025-10-31 02:36:05,080 - INFO - Project ctest-TestBasicVMVNx-64958446 not found, creating it 2025-10-31 02:36:05,553 - INFO - Created Project:ctest-TestBasicVMVNx-64958446, ID : 093d7220-3782-48f3-9bd8-667f16a2420f 2025-10-31 02:36:07,177 - INFO - ================================================================================ 2025-10-31 02:36:07,177 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-10-31 02:36:07,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-10-31 02:36:07,432 - DEBUG - Nothing to compare xmpp stats {'10.0.0.137': {'10.20.0.14': '0'}} with 2025-10-31 02:36:07,432 - INFO - Initial checks done. Running the testcase now 2025-10-31 02:36:07,433 - INFO - 2025-10-31 02:36:08,013 - DEBUG - Response for create_network : {'network': {'id': '9fb3be32-c0ee-4520-ab65-ba8d92aef81b', 'name': 'ctest-vn-76792673', 'tenant_id': '093d7220378248f39bd8667f16a2420f', 'project_id': '093d7220378248f39bd8667f16a2420f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-64958446', 'ctest-vn-76792673'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 02:36:08,218 - DEBUG - Response for create_subnet : {'subnet': {'id': '444a8ebf-4540-4d41-bf57-3303c4040089', 'name': '', 'tenant_id': '093d7220378248f39bd8667f16a2420f', 'network_id': '9fb3be32-c0ee-4520-ab65-ba8d92aef81b', 'ip_version': 4, 'cidr': '152.43.233.0/26', 'allocation_pools': [{'start': '152.43.233.2', 'end': '152.43.233.62'}], 'gateway_ip': '152.43.233.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '152.43.233.2', 'tags': [], 'project_id': '093d7220378248f39bd8667f16a2420f'}} 2025-10-31 02:36:08,236 - INFO - Created VN ctest-vn-76792673 2025-10-31 02:36:08,291 - DEBUG - VN ctest-vn-76792673 UUID is 9fb3be32-c0ee-4520-ab65-ba8d92aef81b 2025-10-31 02:36:08,465 - DEBUG - Services list from nova: [, , ] 2025-10-31 02:36:09,540 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4567-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4567-1) 2025-10-31 02:36:10,771 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4567-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4567-1) 2025-10-31 02:36:10,772 - INFO - Waiting for VM ctest-TestBasicVMVNx-64958446-59612350 to be up.. 2025-10-31 02:36:10,877 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-31 02:36:15,970 - DEBUG - VM is in ACTIVE state now 2025-10-31 02:36:15,970 - INFO - VM name : ctest-TestBasicVMVNx-64958446-59612350 2025-10-31 02:36:16,056 - DEBUG - VM ctest-TestBasicVMVNx-64958446-59612350 ID is bd3d81fb-9503-4279-a33e-5de1ec9785eb 2025-10-31 02:36:16,079 - DEBUG - VM ctest-TestBasicVMVNx-64958446-59612350 launched on Node cn-jenkins-deploy-platform-ansible-os-4567-1 2025-10-31 02:36:16,164 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/bd3d81fb-9503-4279-a33e-5de1ec9785eb 2025-10-31 02:36:16,473 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/bd3d81fb-9503-4279-a33e-5de1ec9785eb 2025-10-31 02:36:16,511 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/cbadd09b-15f2-4837-aa12-304946976139 2025-10-31 02:36:19,796 - 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 1021ms') 2025-10-31 02:36:19,797 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-64958446-59612350 failed! 2025-10-31 02:36:19,851 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-64958446:ctest-vn-76792673 is 152.43.233.1 and allocation pool is NOT set 2025-10-31 02:36:21,919 - 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=4.17 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.821 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.821/2.495/4.169/1.674 ms') 2025-10-31 02:36:21,919 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-64958446-59612350 passed 2025-10-31 02:36:22,075 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 02:36:22,075 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-64958446-59612350, IP 152.43.233.3, Port 22 2025-10-31 02:36:22,250 - DEBUG - VM ctest-TestBasicVMVNx-64958446-59612350 is ready for SSH connections 2025-10-31 02:36:22,250 - INFO - Waiting for VM ctest-TestBasicVMVNx-64958446-43120694 to be up.. 2025-10-31 02:36:22,325 - DEBUG - VM is in ACTIVE state now 2025-10-31 02:36:22,325 - INFO - VM name : ctest-TestBasicVMVNx-64958446-43120694 2025-10-31 02:36:22,403 - DEBUG - VM ctest-TestBasicVMVNx-64958446-43120694 ID is 1bbdf0de-6bda-46b2-94a8-254748f20d65 2025-10-31 02:36:22,403 - DEBUG - VM ctest-TestBasicVMVNx-64958446-43120694 launched on Node cn-jenkins-deploy-platform-ansible-os-4567-1 2025-10-31 02:36:22,477 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/1bbdf0de-6bda-46b2-94a8-254748f20d65 2025-10-31 02:36:22,485 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/e30660a8-c5cc-4c86-8182-48406a498d39 2025-10-31 02:36:23,736 - 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=5.00 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.991 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.991/2.993/4.996/2.002 ms') 2025-10-31 02:36:23,736 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-64958446-43120694 passed 2025-10-31 02:36:23,886 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 02:36:23,887 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-64958446-43120694, IP 152.43.233.4, Port 22 2025-10-31 02:36:24,043 - DEBUG - VM ctest-TestBasicVMVNx-64958446-43120694 is ready for SSH connections 2025-10-31 02:36:24,043 - DEBUG - FILE SIZE = 1303B 2025-10-31 02:36:24,043 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-64958446-59612350 to ctest-TestBasicVMVNx-64958446-43120694 using scp 2025-10-31 02:36:24,044 - 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.137, gateway password: c0ntrail123 2025-10-31 02:36:24,045 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-10-31 02:36:26,019 - DEBUG - 1+0 records in 1+0 records out 2025-10-31 02:36:26,834 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 02:36:27,195 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.137, gateway password: c0ntrail123 2025-10-31 02:36:27,195 - DEBUG - ls -l testfile 2025-10-31 02:36:28,958 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 30 20:36 testfile 2025-10-31 02:36:28,958 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-64958446-43120694 2025-10-31 02:36:28,959 - INFO - Deleting VM ctest-TestBasicVMVNx-64958446-43120694 2025-10-31 02:36:29,035 - INFO - Deleting VM ctest-TestBasicVMVNx-64958446-59612350 2025-10-31 02:36:29,107 - INFO - Deleting VN ctest-vn-76792673 2025-10-31 02:36:29,146 - DEBUG - VN 9fb3be32-c0ee-4520-ab65-ba8d92aef81b still in use: Unable to complete operation on network 9fb3be32-c0ee-4520-ab65-ba8d92aef81b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7a4112ce-74ae-48d6-b588-8b228ea4c0de'] 2025-10-31 02:36:29,147 - WARNING - Deleting VN ctest-vn-76792673 failed..Will retry 2025-10-31 02:36:31,239 - DEBUG - Response for deleting network () 2025-10-31 02:36:31,492 - DEBUG - No XMPP flaps were noticed during the test
2025-10-31 02:36:31,493 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-10-31 02:36:31,493 - INFO - -------------------------------------------------------------------------------- 2025-10-31 02:36:32,191 - INFO - Deleted project: ctest-TestBasicVMVNx-64958446, ID : 093d7220-3782-48f3-9bd8-667f16a2420f