2025-04-22 15:48:56,659 - INFO - Domain Default found not creating 2025-04-22 15:48:56,806 - INFO - Project ctest-TestBasicVMVNx-24022043 not found, creating it 2025-04-22 15:48:57,358 - INFO - Created Project:ctest-TestBasicVMVNx-24022043, ID : f44c1b14-0cf1-416d-9067-404ce7542692 2025-04-22 15:48:58,773 - INFO - ================================================================================ 2025-04-22 15:48:58,773 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-04-22 15:48:58,773 - 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-04-22 15:48:59,029 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-04-22 15:48:59,029 - INFO - Initial checks done. Running the testcase now 2025-04-22 15:48:59,029 - INFO - 2025-04-22 15:48:59,554 - DEBUG - Response for create_network : {'network': {'id': '0a848172-10cc-46d5-ad6b-81726728fcd4', 'name': 'ctest-vn-18015237', 'tenant_id': 'f44c1b140cf1416d9067404ce7542692', 'project_id': 'f44c1b140cf1416d9067404ce7542692', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-24022043', 'ctest-vn-18015237'], 'port_security_enabled': True, 'description': ''}} 2025-04-22 15:48:59,711 - DEBUG - Response for create_subnet : {'subnet': {'id': '5388f19e-4dfd-4466-aadd-cb5f6574a11f', 'name': '', 'tenant_id': 'f44c1b140cf1416d9067404ce7542692', 'network_id': '0a848172-10cc-46d5-ad6b-81726728fcd4', 'ip_version': 4, 'cidr': '133.108.172.128/26', 'allocation_pools': [{'start': '133.108.172.130', 'end': '133.108.172.190'}], 'gateway_ip': '133.108.172.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '133.108.172.130', 'tags': [], 'project_id': 'f44c1b140cf1416d9067404ce7542692'}} 2025-04-22 15:48:59,737 - INFO - Created VN ctest-vn-18015237 2025-04-22 15:48:59,792 - DEBUG - VN ctest-vn-18015237 UUID is 0a848172-10cc-46d5-ad6b-81726728fcd4 2025-04-22 15:48:59,971 - DEBUG - Services list from nova: [, , ] 2025-04-22 15:49:00,982 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3166-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3166-1) 2025-04-22 15:49:02,103 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3166-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3166-1) 2025-04-22 15:49:02,103 - INFO - Waiting for VM ctest-TestBasicVMVNx-24022043-04770532 to be up.. 2025-04-22 15:49:02,181 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-22 15:49:07,257 - DEBUG - VM is in ACTIVE state now 2025-04-22 15:49:07,257 - INFO - VM name : ctest-TestBasicVMVNx-24022043-04770532 2025-04-22 15:49:07,326 - DEBUG - VM ctest-TestBasicVMVNx-24022043-04770532 ID is 2a9258f8-b66c-4ed5-bd78-f3078e4d82cb 2025-04-22 15:49:07,343 - DEBUG - VM ctest-TestBasicVMVNx-24022043-04770532 launched on Node cn-jenkins-deploy-platform-ansible-os-3166-1 2025-04-22 15:49:07,410 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/2a9258f8-b66c-4ed5-bd78-f3078e4d82cb 2025-04-22 15:49:07,703 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/2a9258f8-b66c-4ed5-bd78-f3078e4d82cb 2025-04-22 15:49:07,737 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/832eeac9-8e70-4102-a96c-55f391298dad 2025-04-22 15:49:11,000 - 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 1014ms') 2025-04-22 15:49:11,000 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-24022043-04770532 failed! 2025-04-22 15:49:11,056 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-24022043:ctest-vn-18015237 is 133.108.172.129 and allocation pool is NOT set 2025-04-22 15:49:13,119 - 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.69 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.423 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 = 0.423/2.055/3.687/1.632 ms') 2025-04-22 15:49:13,119 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-24022043-04770532 passed 2025-04-22 15:49:13,268 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-22 15:49:13,268 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-24022043-04770532, IP 133.108.172.131, Port 22 2025-04-22 15:49:13,423 - DEBUG - VM ctest-TestBasicVMVNx-24022043-04770532 is ready for SSH connections 2025-04-22 15:49:13,423 - INFO - Waiting for VM ctest-TestBasicVMVNx-24022043-78107696 to be up.. 2025-04-22 15:49:13,498 - DEBUG - VM is in ACTIVE state now 2025-04-22 15:49:13,498 - INFO - VM name : ctest-TestBasicVMVNx-24022043-78107696 2025-04-22 15:49:13,566 - DEBUG - VM ctest-TestBasicVMVNx-24022043-78107696 ID is 8780a54b-0c2f-4788-b82f-e59a3e0e2b87 2025-04-22 15:49:13,567 - DEBUG - VM ctest-TestBasicVMVNx-24022043-78107696 launched on Node cn-jenkins-deploy-platform-ansible-os-3166-1 2025-04-22 15:49:13,649 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/8780a54b-0c2f-4788-b82f-e59a3e0e2b87 2025-04-22 15:49:13,660 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/7fe70a41-e7bf-49b8-99c7-20981a109281 2025-04-22 15:49:14,907 - 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.94 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.425 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.425/1.684/2.943/1.259 ms') 2025-04-22 15:49:14,908 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-24022043-78107696 passed 2025-04-22 15:49:15,060 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-22 15:49:15,060 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-24022043-78107696, IP 133.108.172.132, Port 22 2025-04-22 15:49:15,216 - DEBUG - VM ctest-TestBasicVMVNx-24022043-78107696 is ready for SSH connections 2025-04-22 15:49:15,216 - DEBUG - FILE SIZE = 1303B 2025-04-22 15:49:15,216 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-24022043-04770532 to ctest-TestBasicVMVNx-24022043-78107696 using scp 2025-04-22 15:49:15,216 - 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-04-22 15:49:15,217 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-04-22 15:49:17,092 - DEBUG - 1+0 records in 1+0 records out 2025-04-22 15:49:17,685 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-22 15:49:18,002 - 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-04-22 15:49:18,003 - DEBUG - ls -l testfile 2025-04-22 15:49:19,578 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 22 09:49 testfile 2025-04-22 15:49:19,578 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-24022043-78107696 2025-04-22 15:49:19,578 - INFO - Deleting VM ctest-TestBasicVMVNx-24022043-78107696 2025-04-22 15:49:19,753 - INFO - Deleting VM ctest-TestBasicVMVNx-24022043-04770532 2025-04-22 15:49:19,822 - INFO - Deleting VN ctest-vn-18015237 2025-04-22 15:49:19,866 - DEBUG - VN 0a848172-10cc-46d5-ad6b-81726728fcd4 still in use: Unable to complete operation on network 0a848172-10cc-46d5-ad6b-81726728fcd4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2d493c91-8cb3-4f46-bc3a-4b5d0f4ec0d8'] 2025-04-22 15:49:19,866 - WARNING - Deleting VN ctest-vn-18015237 failed..Will retry 2025-04-22 15:49:21,975 - DEBUG - Response for deleting network () 2025-04-22 15:49:22,229 - DEBUG - No XMPP flaps were noticed during the test 2025-04-22 15:49:22,230 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2025-04-22 15:49:22,230 - INFO - -------------------------------------------------------------------------------- 2025-04-22 15:49:22,880 - INFO - Deleted project: ctest-TestBasicVMVNx-24022043, ID : f44c1b14-0cf1-416d-9067-404ce7542692