2024-09-06 07:34:17,584 - INFO - Domain Default found not creating 2024-09-06 07:34:17,759 - INFO - Project ctest-TestBasicVMVNx-39285940 not found, creating it 2024-09-06 07:34:18,242 - INFO - Created Project:ctest-TestBasicVMVNx-39285940, ID : c830442b-ce20-42d4-8c3f-6d0b84c64b2a 2024-09-06 07:34:19,795 - INFO - ================================================================================ 2024-09-06 07:34:19,796 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-06 07:34:19,796 - 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-06 07:34:20,057 - DEBUG - Nothing to compare xmpp stats {'10.0.0.32': {'10.20.0.28': '0'}} with 2024-09-06 07:34:20,057 - INFO - Initial checks done. Running the testcase now 2024-09-06 07:34:20,057 - INFO - 2024-09-06 07:34:20,628 - DEBUG - Response for create_network : {'network': {'id': '04024283-d39d-4575-98b4-536515a4ffb0', 'name': 'ctest-vn-56385262', 'tenant_id': 'c830442bce2042d48c3f6d0b84c64b2a', 'project_id': 'c830442bce2042d48c3f6d0b84c64b2a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-39285940', 'ctest-vn-56385262'], 'port_security_enabled': True, 'description': ''}} 2024-09-06 07:34:20,869 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ea994c6a-90dd-482d-9639-b1ce7faff68c', 'name': '', 'tenant_id': 'c830442bce2042d48c3f6d0b84c64b2a', 'network_id': '04024283-d39d-4575-98b4-536515a4ffb0', 'ip_version': 4, 'cidr': '167.195.167.0/26', 'allocation_pools': [{'start': '167.195.167.2', 'end': '167.195.167.62'}], 'gateway_ip': '167.195.167.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '167.195.167.2', 'tags': [], 'project_id': 'c830442bce2042d48c3f6d0b84c64b2a'}} 2024-09-06 07:34:20,890 - INFO - Created VN ctest-vn-56385262 2024-09-06 07:34:20,942 - DEBUG - VN ctest-vn-56385262 UUID is 04024283-d39d-4575-98b4-536515a4ffb0 2024-09-06 07:34:21,128 - DEBUG - Services list from nova: [, , ] 2024-09-06 07:34:22,209 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1858-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1858-1) 2024-09-06 07:34:23,393 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1858-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1858-1) 2024-09-06 07:34:23,393 - INFO - Waiting for VM ctest-TestBasicVMVNx-39285940-56864527 to be up.. 2024-09-06 07:34:23,501 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-06 07:34:28,587 - DEBUG - VM is in ACTIVE state now 2024-09-06 07:34:28,587 - INFO - VM name : ctest-TestBasicVMVNx-39285940-56864527 2024-09-06 07:34:28,677 - DEBUG - VM ctest-TestBasicVMVNx-39285940-56864527 ID is 4a90776e-5fd7-463c-93f4-b9da034f74d7 2024-09-06 07:34:28,700 - DEBUG - VM ctest-TestBasicVMVNx-39285940-56864527 launched on Node cn-jenkins-deploy-platform-ansible-os-1858-1 2024-09-06 07:34:28,784 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/4a90776e-5fd7-463c-93f4-b9da034f74d7 2024-09-06 07:34:29,087 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/4a90776e-5fd7-463c-93f4-b9da034f74d7 2024-09-06 07:34:29,124 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/3a5e2b4a-64e5-4c77-a9e8-ccab4418ecfb 2024-09-06 07:34:32,410 - 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 1027ms') 2024-09-06 07:34:32,410 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-39285940-56864527 failed! 2024-09-06 07:34:32,465 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-39285940:ctest-vn-56385262 is 167.195.167.1 and allocation pool is NOT set 2024-09-06 07:34:34,534 - 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.28 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.897 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.897/3.087/5.277/2.190 ms') 2024-09-06 07:34:34,535 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-39285940-56864527 passed 2024-09-06 07:34:34,685 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-06 07:34:34,686 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-39285940-56864527, IP 167.195.167.3, Port 22 2024-09-06 07:34:34,841 - DEBUG - VM ctest-TestBasicVMVNx-39285940-56864527 is ready for SSH connections 2024-09-06 07:34:34,841 - INFO - Waiting for VM ctest-TestBasicVMVNx-39285940-08465881 to be up.. 2024-09-06 07:34:34,923 - DEBUG - VM is in ACTIVE state now 2024-09-06 07:34:34,923 - INFO - VM name : ctest-TestBasicVMVNx-39285940-08465881 2024-09-06 07:34:35,008 - DEBUG - VM ctest-TestBasicVMVNx-39285940-08465881 ID is 6996c34f-e0b8-4f94-a396-eecac27464d0 2024-09-06 07:34:35,008 - DEBUG - VM ctest-TestBasicVMVNx-39285940-08465881 launched on Node cn-jenkins-deploy-platform-ansible-os-1858-1 2024-09-06 07:34:35,091 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/6996c34f-e0b8-4f94-a396-eecac27464d0 2024-09-06 07:34:35,100 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/64a2b67b-0396-4db1-8db7-44645a582faf 2024-09-06 07:34:36,335 - 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.92 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.464 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.464/1.693/2.923/1.229 ms') 2024-09-06 07:34:36,335 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-39285940-08465881 passed 2024-09-06 07:34:36,485 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-06 07:34:36,486 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-39285940-08465881, IP 167.195.167.4, Port 22 2024-09-06 07:34:36,653 - DEBUG - VM ctest-TestBasicVMVNx-39285940-08465881 is ready for SSH connections 2024-09-06 07:34:36,653 - DEBUG - FILE SIZE = 1303B 2024-09-06 07:34:36,653 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-39285940-56864527 to ctest-TestBasicVMVNx-39285940-08465881 using scp 2024-09-06 07:34:36,654 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-06 07:34:36,659 - 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.32, gateway password: c0ntrail123 2024-09-06 07:34:36,659 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-06 07:34:38,602 - DEBUG - 1+0 records in 1+0 records out 2024-09-06 07:34:39,367 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-06 07:34:39,694 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.32, gateway password: c0ntrail123 2024-09-06 07:34:39,694 - DEBUG - ls -l testfile 2024-09-06 07:34:41,292 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 6 01:34 testfile 2024-09-06 07:34:41,292 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-39285940-08465881 2024-09-06 07:34:41,293 - INFO - Deleting VM ctest-TestBasicVMVNx-39285940-08465881 2024-09-06 07:34:41,381 - INFO - Deleting VM ctest-TestBasicVMVNx-39285940-56864527 2024-09-06 07:34:41,453 - INFO - Deleting VN ctest-vn-56385262 2024-09-06 07:34:41,497 - DEBUG - VN 04024283-d39d-4575-98b4-536515a4ffb0 still in use: Unable to complete operation on network 04024283-d39d-4575-98b4-536515a4ffb0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-61d20029-d07a-475b-9474-e762de5fb0ca'] 2024-09-06 07:34:41,497 - WARNING - Deleting VN ctest-vn-56385262 failed..Will retry 2024-09-06 07:34:43,612 - DEBUG - Response for deleting network () 2024-09-06 07:34:43,870 - DEBUG - No XMPP flaps were noticed during the test 2024-09-06 07:34:43,870 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2024-09-06 07:34:43,870 - INFO - -------------------------------------------------------------------------------- 2024-09-06 07:34:44,581 - INFO - Deleted project: ctest-TestBasicVMVNx-39285940, ID : c830442b-ce20-42d4-8c3f-6d0b84c64b2a