2024-10-28 16:27:20,124 - INFO - Domain Default found not creating 2024-10-28 16:27:20,319 - INFO - Project ctest-TestBasicVMVNx-56719259 not found, creating it 2024-10-28 16:27:20,863 - INFO - Created Project:ctest-TestBasicVMVNx-56719259, ID : 2e176a77-69f5-45a9-99ae-a4366ab63cef 2024-10-28 16:27:22,437 - INFO - ================================================================================ 2024-10-28 16:27:22,437 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-10-28 16:27:22,437 - 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-10-28 16:27:22,700 - DEBUG - Nothing to compare xmpp stats {'10.0.0.42': {'10.20.0.22': '0'}} with 2024-10-28 16:27:22,700 - INFO - Initial checks done. Running the testcase now 2024-10-28 16:27:22,700 - INFO - 2024-10-28 16:27:23,374 - DEBUG - Response for create_network : {'network': {'id': '23ba4bd8-15b9-4ced-8a41-fc68b9c25559', 'name': 'ctest-vn-97062262', 'tenant_id': '2e176a7769f545a999aea4366ab63cef', 'project_id': '2e176a7769f545a999aea4366ab63cef', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-56719259', 'ctest-vn-97062262'], 'port_security_enabled': True, 'description': ''}} 2024-10-28 16:27:23,610 - DEBUG - Response for create_subnet : {'subnet': {'id': '22679816-e089-43a9-af68-e25d9257cdd8', 'name': '', 'tenant_id': '2e176a7769f545a999aea4366ab63cef', 'network_id': '23ba4bd8-15b9-4ced-8a41-fc68b9c25559', 'ip_version': 4, 'cidr': '199.164.187.0/26', 'allocation_pools': [{'start': '199.164.187.2', 'end': '199.164.187.62'}], 'gateway_ip': '199.164.187.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.164.187.2', 'tags': [], 'project_id': '2e176a7769f545a999aea4366ab63cef'}} 2024-10-28 16:27:23,634 - INFO - Created VN ctest-vn-97062262 2024-10-28 16:27:23,697 - DEBUG - VN ctest-vn-97062262 UUID is 23ba4bd8-15b9-4ced-8a41-fc68b9c25559 2024-10-28 16:27:23,922 - DEBUG - Services list from nova: [, , ] 2024-10-28 16:27:25,075 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2167-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2167-1) 2024-10-28 16:27:26,406 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2167-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2167-1) 2024-10-28 16:27:26,406 - INFO - Waiting for VM ctest-TestBasicVMVNx-56719259-16311088 to be up.. 2024-10-28 16:27:26,511 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-10-28 16:27:31,600 - DEBUG - VM is in ACTIVE state now 2024-10-28 16:27:31,600 - INFO - VM name : ctest-TestBasicVMVNx-56719259-16311088 2024-10-28 16:27:31,693 - DEBUG - VM ctest-TestBasicVMVNx-56719259-16311088 ID is 16f84cdc-9d89-4c0b-8a12-836d184308fb 2024-10-28 16:27:31,714 - DEBUG - VM ctest-TestBasicVMVNx-56719259-16311088 launched on Node cn-jenkins-deploy-platform-ansible-os-2167-1 2024-10-28 16:27:31,814 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/16f84cdc-9d89-4c0b-8a12-836d184308fb 2024-10-28 16:27:32,119 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/16f84cdc-9d89-4c0b-8a12-836d184308fb 2024-10-28 16:27:32,160 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/f814bb93-453e-4134-bfb9-c451bc930037 2024-10-28 16:27:35,448 - 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 1015ms') 2024-10-28 16:27:35,449 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-56719259-16311088 failed! 2024-10-28 16:27:35,517 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-56719259:ctest-vn-97062262 is 199.164.187.1 and allocation pool is NOT set 2024-10-28 16:27:37,581 - 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.89 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.573 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.573/3.230/5.887/2.657 ms') 2024-10-28 16:27:37,581 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-56719259-16311088 passed 2024-10-28 16:27:37,749 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-28 16:27:37,749 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-56719259-16311088, IP 199.164.187.3, Port 22 2024-10-28 16:27:37,905 - DEBUG - VM ctest-TestBasicVMVNx-56719259-16311088 is ready for SSH connections 2024-10-28 16:27:37,905 - INFO - Waiting for VM ctest-TestBasicVMVNx-56719259-85723743 to be up.. 2024-10-28 16:27:38,011 - DEBUG - VM is in ACTIVE state now 2024-10-28 16:27:38,011 - INFO - VM name : ctest-TestBasicVMVNx-56719259-85723743 2024-10-28 16:27:38,102 - DEBUG - VM ctest-TestBasicVMVNx-56719259-85723743 ID is cb157c5b-1abb-4dec-8ad8-02b673bfd090 2024-10-28 16:27:38,102 - DEBUG - VM ctest-TestBasicVMVNx-56719259-85723743 launched on Node cn-jenkins-deploy-platform-ansible-os-2167-1 2024-10-28 16:27:38,195 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/cb157c5b-1abb-4dec-8ad8-02b673bfd090 2024-10-28 16:27:38,210 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/1f93a7aa-f815-45eb-b971-39f053081e83 2024-10-28 16:27:39,473 - 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=6.14 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.906 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.906/3.522/6.138/2.616 ms') 2024-10-28 16:27:39,474 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-56719259-85723743 passed 2024-10-28 16:27:39,637 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-28 16:27:39,637 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-56719259-85723743, IP 199.164.187.4, Port 22 2024-10-28 16:27:39,803 - DEBUG - VM ctest-TestBasicVMVNx-56719259-85723743 is ready for SSH connections 2024-10-28 16:27:39,803 - DEBUG - FILE SIZE = 1303B 2024-10-28 16:27:39,803 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-56719259-16311088 to ctest-TestBasicVMVNx-56719259-85723743 using scp 2024-10-28 16:27:39,804 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-28 16:27:39,810 - 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.42, gateway password: c0ntrail123 2024-10-28 16:27:39,810 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-10-28 16:27:41,748 - DEBUG - 1+0 records in 1+0 records out 2024-10-28 16:27:42,523 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-28 16:27:42,855 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.42, gateway password: c0ntrail123 2024-10-28 16:27:42,856 - DEBUG - ls -l testfile 2024-10-28 16:27:44,501 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 28 10:27 testfile 2024-10-28 16:27:44,502 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-56719259-85723743 2024-10-28 16:27:44,502 - INFO - Deleting VM ctest-TestBasicVMVNx-56719259-85723743 2024-10-28 16:27:44,582 - INFO - Deleting VM ctest-TestBasicVMVNx-56719259-16311088 2024-10-28 16:27:44,660 - INFO - Deleting VN ctest-vn-97062262 2024-10-28 16:27:44,710 - DEBUG - VN 23ba4bd8-15b9-4ced-8a41-fc68b9c25559 still in use: Unable to complete operation on network 23ba4bd8-15b9-4ced-8a41-fc68b9c25559. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-046ce219-9f3d-4ea4-af4c-b28759532d37'] 2024-10-28 16:27:44,710 - WARNING - Deleting VN ctest-vn-97062262 failed..Will retry 2024-10-28 16:27:46,844 - DEBUG - Response for deleting network () 2024-10-28 16:27:47,105 - DEBUG - No XMPP flaps were noticed during the test
2024-10-28 16:27:47,105 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25]
2024-10-28 16:27:47,105 - INFO - -------------------------------------------------------------------------------- 2024-10-28 16:27:47,807 - INFO - Deleted project: ctest-TestBasicVMVNx-56719259, ID : 2e176a77-69f5-45a9-99ae-a4366ab63cef