2025-01-01 22:29:11,135 - INFO - Domain Default found not creating 2025-01-01 22:29:11,270 - INFO - Project ctest-TestBasicVMVNx-24613487 not found, creating it 2025-01-01 22:29:11,722 - INFO - Created Project:ctest-TestBasicVMVNx-24613487, ID : f9177585-cecc-481b-beeb-5049e2b90987 2025-01-01 22:29:13,249 - INFO - ================================================================================ 2025-01-01 22:29:13,249 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-01-01 22:29:13,249 - 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-01-01 22:29:13,503 - DEBUG - Nothing to compare xmpp stats {'10.0.0.34': {'10.20.0.32': '0'}} with 2025-01-01 22:29:13,503 - INFO - Initial checks done. Running the testcase now 2025-01-01 22:29:13,503 - INFO - 2025-01-01 22:29:14,094 - DEBUG - Response for create_network : {'network': {'id': 'c65247c5-6ed3-450e-bf83-a3f05a96bdfa', 'name': 'ctest-vn-26003114', 'tenant_id': 'f9177585cecc481bbeeb5049e2b90987', 'project_id': 'f9177585cecc481bbeeb5049e2b90987', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-24613487', 'ctest-vn-26003114'], 'port_security_enabled': True, 'description': ''}} 2025-01-01 22:29:14,263 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e607f68d-9c94-4d90-88fd-841cbdab7378', 'name': '', 'tenant_id': 'f9177585cecc481bbeeb5049e2b90987', 'network_id': 'c65247c5-6ed3-450e-bf83-a3f05a96bdfa', 'ip_version': 4, 'cidr': '70.231.75.64/26', 'allocation_pools': [{'start': '70.231.75.66', 'end': '70.231.75.126'}], 'gateway_ip': '70.231.75.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '70.231.75.66', 'tags': [], 'project_id': 'f9177585cecc481bbeeb5049e2b90987'}} 2025-01-01 22:29:14,279 - INFO - Created VN ctest-vn-26003114 2025-01-01 22:29:14,332 - DEBUG - VN ctest-vn-26003114 UUID is c65247c5-6ed3-450e-bf83-a3f05a96bdfa 2025-01-01 22:29:14,581 - DEBUG - Services list from nova: [, , ] 2025-01-01 22:29:15,631 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2505-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2505-1) 2025-01-01 22:29:16,843 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2505-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2505-1) 2025-01-01 22:29:16,843 - INFO - Waiting for VM ctest-TestBasicVMVNx-24613487-63549318 to be up.. 2025-01-01 22:29:16,919 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-01 22:29:21,994 - DEBUG - VM is in ACTIVE state now 2025-01-01 22:29:21,994 - INFO - VM name : ctest-TestBasicVMVNx-24613487-63549318 2025-01-01 22:29:22,068 - DEBUG - VM ctest-TestBasicVMVNx-24613487-63549318 ID is 58b674d5-85a1-43f1-952d-03f74c8e71e5 2025-01-01 22:29:22,086 - DEBUG - VM ctest-TestBasicVMVNx-24613487-63549318 launched on Node cn-jenkins-deploy-platform-ansible-os-2505-1 2025-01-01 22:29:22,156 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/58b674d5-85a1-43f1-952d-03f74c8e71e5 2025-01-01 22:29:22,487 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/58b674d5-85a1-43f1-952d-03f74c8e71e5 2025-01-01 22:29:22,517 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine-interface/14694d26-f44b-4a63-88ef-d019789da28d 2025-01-01 22:29:25,759 - 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 1011ms') 2025-01-01 22:29:25,759 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-24613487-63549318 failed! 2025-01-01 22:29:25,816 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-24613487:ctest-vn-26003114 is 70.231.75.65 and allocation pool is NOT set 2025-01-01 22:29:27,877 - 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.12 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.388 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.388/1.754/3.121/1.366 ms') 2025-01-01 22:29:27,877 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-24613487-63549318 passed 2025-01-01 22:29:28,024 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-01 22:29:28,024 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-24613487-63549318, IP 70.231.75.67, Port 22 2025-01-01 22:29:28,176 - DEBUG - VM ctest-TestBasicVMVNx-24613487-63549318 is ready for SSH connections 2025-01-01 22:29:28,176 - INFO - Waiting for VM ctest-TestBasicVMVNx-24613487-29577677 to be up.. 2025-01-01 22:29:28,248 - DEBUG - VM is in ACTIVE state now 2025-01-01 22:29:28,248 - INFO - VM name : ctest-TestBasicVMVNx-24613487-29577677 2025-01-01 22:29:28,320 - DEBUG - VM ctest-TestBasicVMVNx-24613487-29577677 ID is 495504d2-5c2e-4e50-95b0-e03a9191cf00 2025-01-01 22:29:28,320 - DEBUG - VM ctest-TestBasicVMVNx-24613487-29577677 launched on Node cn-jenkins-deploy-platform-ansible-os-2505-1 2025-01-01 22:29:28,397 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/495504d2-5c2e-4e50-95b0-e03a9191cf00 2025-01-01 22:29:28,406 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine-interface/10263f13-966c-4bf8-89d6-9acab4a8b9e7 2025-01-01 22:29:29,639 - 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=3.39 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.905/3.385/1.480 ms') 2025-01-01 22:29:29,639 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-24613487-29577677 passed 2025-01-01 22:29:29,788 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-01 22:29:29,788 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-24613487-29577677, IP 70.231.75.68, Port 22 2025-01-01 22:29:29,943 - DEBUG - VM ctest-TestBasicVMVNx-24613487-29577677 is ready for SSH connections 2025-01-01 22:29:29,944 - DEBUG - FILE SIZE = 1303B 2025-01-01 22:29:29,944 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-24613487-63549318 to ctest-TestBasicVMVNx-24613487-29577677 using scp 2025-01-01 22:29:29,944 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-01 22:29:29,951 - 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.34, gateway password: c0ntrail123 2025-01-01 22:29:29,951 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-01-01 22:29:31,918 - DEBUG - 1+0 records in 1+0 records out 2025-01-01 22:29:32,573 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-01 22:29:32,902 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.34, gateway password: c0ntrail123 2025-01-01 22:29:32,902 - DEBUG - ls -l testfile 2025-01-01 22:29:34,496 - DEBUG - -rw------- 1 cirros cirros 1303 Jan 1 15:29 testfile 2025-01-01 22:29:34,496 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-24613487-29577677 2025-01-01 22:29:34,496 - INFO - Deleting VM ctest-TestBasicVMVNx-24613487-29577677 2025-01-01 22:29:34,563 - INFO - Deleting VM ctest-TestBasicVMVNx-24613487-63549318 2025-01-01 22:29:34,627 - INFO - Deleting VN ctest-vn-26003114 2025-01-01 22:29:34,662 - DEBUG - VN c65247c5-6ed3-450e-bf83-a3f05a96bdfa still in use: Unable to complete operation on network c65247c5-6ed3-450e-bf83-a3f05a96bdfa. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ba1e3cda-4068-4f1b-9600-e7acf49cca79'] 2025-01-01 22:29:34,663 - WARNING - Deleting VN ctest-vn-26003114 failed..Will retry 2025-01-01 22:29:36,767 - DEBUG - Response for deleting network () 2025-01-01 22:29:37,026 - DEBUG - No XMPP flaps were noticed during the test
2025-01-01 22:29:37,026 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-01-01 22:29:37,026 - INFO - -------------------------------------------------------------------------------- 2025-01-01 22:29:37,721 - INFO - Deleted project: ctest-TestBasicVMVNx-24613487, ID : f9177585-cecc-481b-beeb-5049e2b90987