2024-09-03 17:13:10,177 - INFO - Domain Default found not creating 2024-09-03 17:13:10,377 - INFO - Project ctest-TestBasicVMVNx-26969888 not found, creating it 2024-09-03 17:13:10,931 - INFO - Created Project:ctest-TestBasicVMVNx-26969888, ID : 88c8cd35-80c0-4ab0-805e-64dc47575ada 2024-09-03 17:13:12,388 - INFO - ================================================================================ 2024-09-03 17:13:12,389 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-03 17:13:12,389 - 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-03 17:13:12,648 - DEBUG - Nothing to compare xmpp stats {'10.0.0.17': {'10.20.0.17': '0'}} with 2024-09-03 17:13:12,648 - INFO - Initial checks done. Running the testcase now 2024-09-03 17:13:12,648 - INFO - 2024-09-03 17:13:13,186 - DEBUG - Response for create_network : {'network': {'id': 'da8c0ecf-bd31-477d-a58c-f145afd6fed7', 'name': 'ctest-vn-51096617', 'tenant_id': '88c8cd3580c04ab0805e64dc47575ada', 'project_id': '88c8cd3580c04ab0805e64dc47575ada', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-26969888', 'ctest-vn-51096617'], 'port_security_enabled': True, 'description': ''}} 2024-09-03 17:13:13,374 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fbece43c-b7df-4a4a-a2cd-5361e4b63070', 'name': '', 'tenant_id': '88c8cd3580c04ab0805e64dc47575ada', 'network_id': 'da8c0ecf-bd31-477d-a58c-f145afd6fed7', 'ip_version': 4, 'cidr': '122.109.208.192/26', 'allocation_pools': [{'start': '122.109.208.194', 'end': '122.109.208.254'}], 'gateway_ip': '122.109.208.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.109.208.194', 'tags': [], 'project_id': '88c8cd3580c04ab0805e64dc47575ada'}} 2024-09-03 17:13:13,392 - INFO - Created VN ctest-vn-51096617 2024-09-03 17:13:13,443 - DEBUG - VN ctest-vn-51096617 UUID is da8c0ecf-bd31-477d-a58c-f145afd6fed7 2024-09-03 17:13:13,602 - DEBUG - Services list from nova: [, , ] 2024-09-03 17:13:14,636 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1839-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1839-1) 2024-09-03 17:13:15,817 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1839-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1839-1) 2024-09-03 17:13:15,817 - INFO - Waiting for VM ctest-TestBasicVMVNx-26969888-00381477 to be up.. 2024-09-03 17:13:15,932 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-03 17:13:21,030 - DEBUG - VM is in ACTIVE state now 2024-09-03 17:13:21,030 - INFO - VM name : ctest-TestBasicVMVNx-26969888-00381477 2024-09-03 17:13:21,113 - DEBUG - VM ctest-TestBasicVMVNx-26969888-00381477 ID is 2f5b2aaa-288d-4fba-b481-d7178874acbe 2024-09-03 17:13:21,131 - DEBUG - VM ctest-TestBasicVMVNx-26969888-00381477 launched on Node cn-jenkins-deploy-platform-ansible-os-1839-1 2024-09-03 17:13:21,210 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/2f5b2aaa-288d-4fba-b481-d7178874acbe 2024-09-03 17:13:21,504 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/2f5b2aaa-288d-4fba-b481-d7178874acbe 2024-09-03 17:13:21,535 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/e802dc8f-60fa-4a0b-b638-886ac6355678 2024-09-03 17:13:24,786 - 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 1016ms') 2024-09-03 17:13:24,787 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-26969888-00381477 failed! 2024-09-03 17:13:24,843 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-26969888:ctest-vn-51096617 is 122.109.208.193 and allocation pool is NOT set 2024-09-03 17:13:26,906 - 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=2.72 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.292 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.292/1.505/2.718/1.213 ms') 2024-09-03 17:13:26,906 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-26969888-00381477 passed 2024-09-03 17:13:27,055 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-03 17:13:27,055 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-26969888-00381477, IP 122.109.208.195, Port 22 2024-09-03 17:13:27,207 - DEBUG - VM ctest-TestBasicVMVNx-26969888-00381477 is ready for SSH connections 2024-09-03 17:13:27,207 - INFO - Waiting for VM ctest-TestBasicVMVNx-26969888-18419032 to be up.. 2024-09-03 17:13:27,286 - DEBUG - VM is in ACTIVE state now 2024-09-03 17:13:27,286 - INFO - VM name : ctest-TestBasicVMVNx-26969888-18419032 2024-09-03 17:13:27,362 - DEBUG - VM ctest-TestBasicVMVNx-26969888-18419032 ID is 4ce8d459-e7fd-427d-8de9-52bc630b82b7 2024-09-03 17:13:27,362 - DEBUG - VM ctest-TestBasicVMVNx-26969888-18419032 launched on Node cn-jenkins-deploy-platform-ansible-os-1839-1 2024-09-03 17:13:27,435 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/4ce8d459-e7fd-427d-8de9-52bc630b82b7 2024-09-03 17:13:27,443 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/4324df5f-7678-47ae-a5af-634b36d8687c 2024-09-03 17:13:28,686 - 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.87 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.24 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 = 2.235/2.552/2.870/0.317 ms') 2024-09-03 17:13:28,686 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-26969888-18419032 passed 2024-09-03 17:13:28,835 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-03 17:13:28,835 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-26969888-18419032, IP 122.109.208.196, Port 22 2024-09-03 17:13:28,987 - DEBUG - VM ctest-TestBasicVMVNx-26969888-18419032 is ready for SSH connections 2024-09-03 17:13:28,987 - DEBUG - FILE SIZE = 1303B 2024-09-03 17:13:28,987 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-26969888-00381477 to ctest-TestBasicVMVNx-26969888-18419032 using scp 2024-09-03 17:13:28,987 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-03 17:13:28,992 - 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.17, gateway password: c0ntrail123 2024-09-03 17:13:28,992 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-03 17:13:30,875 - DEBUG - 1+0 records in 1+0 records out 2024-09-03 17:13:31,473 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-03 17:13:31,805 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123 2024-09-03 17:13:31,805 - DEBUG - ls -l testfile 2024-09-03 17:13:33,375 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 3 11:13 testfile 2024-09-03 17:13:33,375 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-26969888-18419032 2024-09-03 17:13:33,375 - INFO - Deleting VM ctest-TestBasicVMVNx-26969888-18419032 2024-09-03 17:13:33,460 - INFO - Deleting VM ctest-TestBasicVMVNx-26969888-00381477 2024-09-03 17:13:33,546 - INFO - Deleting VN ctest-vn-51096617 2024-09-03 17:13:33,588 - DEBUG - VN da8c0ecf-bd31-477d-a58c-f145afd6fed7 still in use: Unable to complete operation on network da8c0ecf-bd31-477d-a58c-f145afd6fed7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f6b0f381-f05f-4098-9dc5-3e21ff130425'] 2024-09-03 17:13:33,589 - WARNING - Deleting VN ctest-vn-51096617 failed..Will retry 2024-09-03 17:13:35,703 - DEBUG - Response for deleting network () 2024-09-03 17:13:35,957 - DEBUG - No XMPP flaps were noticed during the test
2024-09-03 17:13:35,957 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2024-09-03 17:13:35,957 - INFO - -------------------------------------------------------------------------------- 2024-09-03 17:13:36,602 - INFO - Deleted project: ctest-TestBasicVMVNx-26969888, ID : 88c8cd35-80c0-4ab0-805e-64dc47575ada