2024-08-29 21:05:59,614 - INFO - Domain Default found not creating 2024-08-29 21:06:00,021 - INFO - Project ctest-TestBasicVMVNx-02123052 not found, creating it 2024-08-29 21:06:00,681 - INFO - Created Project:ctest-TestBasicVMVNx-02123052, ID : e85425e4-8dc2-4fa2-9a15-557e83ea5728 2024-08-29 21:06:03,645 - INFO - ================================================================================ 2024-08-29 21:06:03,645 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-08-29 21:06:03,646 - 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 2024-08-29 21:06:03,989 - DEBUG - Nothing to compare xmpp stats {'10.0.0.52': {'10.20.0.10': '0'}} with 2024-08-29 21:06:03,989 - INFO - Initial checks done. Running the testcase now 2024-08-29 21:06:03,989 - INFO - 2024-08-29 21:06:04,724 - DEBUG - Response for create_network : {'network': {'id': 'f1e6211a-7ee5-4ae9-9ca8-cd986e237d75', 'name': 'ctest-vn-87443397', 'tenant_id': 'e85425e48dc24fa29a15557e83ea5728', 'project_id': 'e85425e48dc24fa29a15557e83ea5728', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-02123052', 'ctest-vn-87443397'], 'port_security_enabled': True, 'description': ''}} 2024-08-29 21:06:04,931 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e037b3b4-78b5-491a-b60d-85a0a060ed87', 'name': '', 'tenant_id': 'e85425e48dc24fa29a15557e83ea5728', 'network_id': 'f1e6211a-7ee5-4ae9-9ca8-cd986e237d75', 'ip_version': 4, 'cidr': '97.166.195.64/26', 'allocation_pools': [{'start': '97.166.195.66', 'end': '97.166.195.126'}], 'gateway_ip': '97.166.195.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '97.166.195.66', 'tags': [], 'project_id': 'e85425e48dc24fa29a15557e83ea5728'}} 2024-08-29 21:06:04,955 - INFO - Created VN ctest-vn-87443397 2024-08-29 21:06:05,008 - DEBUG - VN ctest-vn-87443397 UUID is f1e6211a-7ee5-4ae9-9ca8-cd986e237d75 2024-08-29 21:06:05,219 - DEBUG - Services list from nova: [, , ] 2024-08-29 21:06:06,889 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1818-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1818-1) 2024-08-29 21:06:08,326 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1818-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1818-1) 2024-08-29 21:06:08,328 - INFO - Waiting for VM ctest-TestBasicVMVNx-02123052-74928647 to be up.. 2024-08-29 21:06:08,426 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-29 21:06:13,621 - DEBUG - VM is in ACTIVE state now 2024-08-29 21:06:13,621 - INFO - VM name : ctest-TestBasicVMVNx-02123052-74928647 2024-08-29 21:06:13,807 - DEBUG - VM ctest-TestBasicVMVNx-02123052-74928647 ID is b727fcd1-efcd-4542-a07d-0a221e8b43f2 2024-08-29 21:06:13,854 - DEBUG - VM ctest-TestBasicVMVNx-02123052-74928647 launched on Node cn-jenkins-deploy-platform-ansible-os-1818-1 2024-08-29 21:06:14,032 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine/b727fcd1-efcd-4542-a07d-0a221e8b43f2 2024-08-29 21:06:14,373 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine/b727fcd1-efcd-4542-a07d-0a221e8b43f2 2024-08-29 21:06:14,423 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine-interface/1998f208-2278-4682-b0cc-572a494b25e8 2024-08-29 21:06:17,774 - 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 1020ms') 2024-08-29 21:06:17,775 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-02123052-74928647 failed! 2024-08-29 21:06:17,856 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-02123052:ctest-vn-87443397 is 97.166.195.65 and allocation pool is NOT set 2024-08-29 21:06:19,941 - 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=5.17 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.38 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 = 1.383/3.278/5.174/1.895 ms') 2024-08-29 21:06:19,941 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-02123052-74928647 passed 2024-08-29 21:06:20,128 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-29 21:06:20,128 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-02123052-74928647, IP 97.166.195.67, Port 22 2024-08-29 21:06:20,334 - DEBUG - VM ctest-TestBasicVMVNx-02123052-74928647 is ready for SSH connections 2024-08-29 21:06:20,335 - INFO - Waiting for VM ctest-TestBasicVMVNx-02123052-67789545 to be up.. 2024-08-29 21:06:20,517 - DEBUG - VM is in ACTIVE state now 2024-08-29 21:06:20,517 - INFO - VM name : ctest-TestBasicVMVNx-02123052-67789545 2024-08-29 21:06:20,728 - DEBUG - VM ctest-TestBasicVMVNx-02123052-67789545 ID is b41d5617-95a9-4697-977b-4aed8f0ce39e 2024-08-29 21:06:20,728 - DEBUG - VM ctest-TestBasicVMVNx-02123052-67789545 launched on Node cn-jenkins-deploy-platform-ansible-os-1818-1 2024-08-29 21:06:20,943 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine/b41d5617-95a9-4697-977b-4aed8f0ce39e 2024-08-29 21:06:20,966 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine-interface/0155b6fd-244f-47f5-a7ca-33fc5b81e08e 2024-08-29 21:06:22,307 - 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=8.41 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.68 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 = 1.675/5.040/8.405/3.365 ms') 2024-08-29 21:06:22,307 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-02123052-67789545 passed 2024-08-29 21:06:22,488 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-29 21:06:22,488 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-02123052-67789545, IP 97.166.195.68, Port 22 2024-08-29 21:06:22,698 - DEBUG - VM ctest-TestBasicVMVNx-02123052-67789545 is ready for SSH connections 2024-08-29 21:06:22,699 - DEBUG - FILE SIZE = 1303B 2024-08-29 21:06:22,699 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-02123052-74928647 to ctest-TestBasicVMVNx-02123052-67789545 using scp 2024-08-29 21:06:22,701 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-29 21:06:22,718 - 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.52, gateway password: c0ntrail123 2024-08-29 21:06:22,718 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-08-29 21:06:25,134 - DEBUG - 1+0 records in 1+0 records out 2024-08-29 21:06:25,979 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-29 21:06:26,622 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.52, gateway password: c0ntrail123 2024-08-29 21:06:26,623 - DEBUG - ls -l testfile 2024-08-29 21:06:28,594 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 29 15:06 testfile 2024-08-29 21:06:28,594 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-02123052-67789545 2024-08-29 21:06:28,595 - INFO - Deleting VM ctest-TestBasicVMVNx-02123052-67789545 2024-08-29 21:06:28,777 - INFO - Deleting VM ctest-TestBasicVMVNx-02123052-74928647 2024-08-29 21:06:28,909 - INFO - Deleting VN ctest-vn-87443397 2024-08-29 21:06:28,987 - DEBUG - VN f1e6211a-7ee5-4ae9-9ca8-cd986e237d75 still in use: Unable to complete operation on network f1e6211a-7ee5-4ae9-9ca8-cd986e237d75. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-521c810e-7409-43cf-a6e4-88c5e5bc1be2'] 2024-08-29 21:06:28,987 - WARNING - Deleting VN ctest-vn-87443397 failed..Will retry 2024-08-29 21:06:31,254 - DEBUG - Response for deleting network () 2024-08-29 21:06:31,585 - DEBUG - No XMPP flaps were noticed during the test 2024-08-29 21:06:31,585 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:28] 2024-08-29 21:06:31,586 - INFO - -------------------------------------------------------------------------------- 2024-08-29 21:06:32,518 - INFO - Deleted project: ctest-TestBasicVMVNx-02123052, ID : e85425e4-8dc2-4fa2-9a15-557e83ea5728