2024-09-13 14:00:52,237 - INFO - Domain Default found not creating 2024-09-13 14:00:52,422 - INFO - Project ctest-TestBasicVMVNx-74237547 not found, creating it 2024-09-13 14:00:52,937 - INFO - Created Project:ctest-TestBasicVMVNx-74237547, ID : 30fc1b8f-d187-4e80-beb4-e776c4d6bc42 2024-09-13 14:00:54,665 - INFO - ================================================================================ 2024-09-13 14:00:54,665 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-13 14:00:54,665 - 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-09-13 14:00:54,927 - DEBUG - Nothing to compare xmpp stats {'10.0.0.29': {'10.20.0.17': '0'}} with 2024-09-13 14:00:54,928 - INFO - Initial checks done. Running the testcase now 2024-09-13 14:00:54,928 - INFO - 2024-09-13 14:00:55,596 - DEBUG - Response for create_network : {'network': {'id': 'be1255fb-d338-40c6-bf86-59353d7646aa', 'name': 'ctest-vn-19603562', 'tenant_id': '30fc1b8fd1874e80beb4e776c4d6bc42', 'project_id': '30fc1b8fd1874e80beb4e776c4d6bc42', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-74237547', 'ctest-vn-19603562'], 'port_security_enabled': True, 'description': ''}} 2024-09-13 14:00:55,837 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ec607a57-af71-47f9-8710-0a30f3871355', 'name': '', 'tenant_id': '30fc1b8fd1874e80beb4e776c4d6bc42', 'network_id': 'be1255fb-d338-40c6-bf86-59353d7646aa', 'ip_version': 4, 'cidr': '27.188.218.192/26', 'allocation_pools': [{'start': '27.188.218.194', 'end': '27.188.218.254'}], 'gateway_ip': '27.188.218.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '27.188.218.194', 'tags': [], 'project_id': '30fc1b8fd1874e80beb4e776c4d6bc42'}} 2024-09-13 14:00:55,861 - INFO - Created VN ctest-vn-19603562 2024-09-13 14:00:55,923 - DEBUG - VN ctest-vn-19603562 UUID is be1255fb-d338-40c6-bf86-59353d7646aa 2024-09-13 14:00:56,119 - DEBUG - Services list from nova: [, , ] 2024-09-13 14:00:57,363 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1920-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1920-1) 2024-09-13 14:00:58,773 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1920-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1920-1) 2024-09-13 14:00:58,773 - INFO - Waiting for VM ctest-TestBasicVMVNx-74237547-92688254 to be up.. 2024-09-13 14:00:58,880 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-13 14:01:03,972 - DEBUG - VM is in ACTIVE state now 2024-09-13 14:01:03,972 - INFO - VM name : ctest-TestBasicVMVNx-74237547-92688254 2024-09-13 14:01:04,077 - DEBUG - VM ctest-TestBasicVMVNx-74237547-92688254 ID is e3039491-f7c6-4664-be73-b146d362f530 2024-09-13 14:01:04,105 - DEBUG - VM ctest-TestBasicVMVNx-74237547-92688254 launched on Node cn-jenkins-deploy-platform-ansible-os-1920-1 2024-09-13 14:01:04,213 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/e3039491-f7c6-4664-be73-b146d362f530 2024-09-13 14:01:04,584 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/e3039491-f7c6-4664-be73-b146d362f530 2024-09-13 14:01:04,637 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/1d445415-0d8b-4493-87e5-244920ceae43 2024-09-13 14:01:07,924 - 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 1019ms') 2024-09-13 14:01:07,924 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-74237547-92688254 failed! 2024-09-13 14:01:07,990 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-74237547:ctest-vn-19603562 is 27.188.218.193 and allocation pool is NOT set 2024-09-13 14:01:10,057 - 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.84 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.973 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.973/2.408/3.844/1.435 ms') 2024-09-13 14:01:10,058 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-74237547-92688254 passed 2024-09-13 14:01:10,235 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-13 14:01:10,235 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-74237547-92688254, IP 27.188.218.195, Port 22 2024-09-13 14:01:10,391 - DEBUG - VM ctest-TestBasicVMVNx-74237547-92688254 is ready for SSH connections 2024-09-13 14:01:10,391 - INFO - Waiting for VM ctest-TestBasicVMVNx-74237547-62586334 to be up.. 2024-09-13 14:01:10,496 - DEBUG - VM is in ACTIVE state now 2024-09-13 14:01:10,497 - INFO - VM name : ctest-TestBasicVMVNx-74237547-62586334 2024-09-13 14:01:10,596 - DEBUG - VM ctest-TestBasicVMVNx-74237547-62586334 ID is 3b85a843-548f-475a-b9be-54b60e529058 2024-09-13 14:01:10,596 - DEBUG - VM ctest-TestBasicVMVNx-74237547-62586334 launched on Node cn-jenkins-deploy-platform-ansible-os-1920-1 2024-09-13 14:01:10,696 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/3b85a843-548f-475a-b9be-54b60e529058 2024-09-13 14:01:10,710 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/4cc346e1-e089-4758-9eff-1835973cc59b 2024-09-13 14:01:11,979 - 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=4.34 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.56 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 = 2.562/3.452/4.343/0.890 ms') 2024-09-13 14:01:11,979 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-74237547-62586334 passed 2024-09-13 14:01:12,138 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-13 14:01:12,139 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-74237547-62586334, IP 27.188.218.196, Port 22 2024-09-13 14:01:12,302 - DEBUG - VM ctest-TestBasicVMVNx-74237547-62586334 is ready for SSH connections 2024-09-13 14:01:12,302 - DEBUG - FILE SIZE = 1303B 2024-09-13 14:01:12,302 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-74237547-92688254 to ctest-TestBasicVMVNx-74237547-62586334 using scp 2024-09-13 14:01:12,303 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-13 14:01:12,309 - 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.29, gateway password: c0ntrail123 2024-09-13 14:01:12,310 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-13 14:01:14,317 - DEBUG - 1+0 records in 1+0 records out 2024-09-13 14:01:15,011 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-13 14:01:15,362 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123 2024-09-13 14:01:15,362 - DEBUG - ls -l testfile 2024-09-13 14:01:17,025 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 13 08:01 testfile 2024-09-13 14:01:17,025 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-74237547-62586334 2024-09-13 14:01:17,026 - INFO - Deleting VM ctest-TestBasicVMVNx-74237547-62586334 2024-09-13 14:01:17,115 - INFO - Deleting VM ctest-TestBasicVMVNx-74237547-92688254 2024-09-13 14:01:17,209 - INFO - Deleting VN ctest-vn-19603562 2024-09-13 14:01:17,259 - DEBUG - VN be1255fb-d338-40c6-bf86-59353d7646aa still in use: Unable to complete operation on network be1255fb-d338-40c6-bf86-59353d7646aa. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-56cfb391-5ed4-4e29-896c-5b01bbb3b435'] 2024-09-13 14:01:17,259 - WARNING - Deleting VN ctest-vn-19603562 failed..Will retry 2024-09-13 14:01:19,422 - DEBUG - Response for deleting network () 2024-09-13 14:01:19,697 - DEBUG - No XMPP flaps were noticed during the test
2024-09-13 14:01:19,697 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25]
2024-09-13 14:01:19,697 - INFO - -------------------------------------------------------------------------------- 2024-09-13 14:01:20,537 - INFO - Deleted project: ctest-TestBasicVMVNx-74237547, ID : 30fc1b8f-d187-4e80-beb4-e776c4d6bc42