2024-09-02 12:36:21,422 - INFO - Reading existing Domain with UUID fe57c7f3-7b6c-41e2-9cbd-18f55724bf05 2024-09-02 12:36:21,437 - INFO - Using existing domain ['admin_domain'](fe57c7f3-7b6c-41e2-9cbd-18f55724bf05) 2024-09-02 12:36:21,654 - INFO - Project ctest-TestBasicVMVNx-97877430 not found, creating it 2024-09-02 12:36:22,221 - INFO - Created Project:ctest-TestBasicVMVNx-97877430, ID : d2a0384c-ef46-4d1b-b732-6ccb2c11184d 2024-09-02 12:36:24,020 - INFO - ================================================================================ 2024-09-02 12:36:24,020 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-02 12:36:24,020 - 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-02 12:36:24,409 - DEBUG - Nothing to compare xmpp stats {'10.0.0.12': {'10.0.0.12': '0'}} with 2024-09-02 12:36:24,409 - INFO - Initial checks done. Running the testcase now 2024-09-02 12:36:24,409 - INFO - 2024-09-02 12:36:25,180 - DEBUG - Response for create_network : {'network': {'id': 'f3646a88-8ea7-42cf-bae8-b68f5dc73c53', 'name': 'ctest-vn-57988129', 'tenant_id': 'd2a0384cef464d1bb7326ccb2c11184d', 'project_id': 'd2a0384cef464d1bb7326ccb2c11184d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicVMVNx-97877430', 'ctest-vn-57988129'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2024-09-02 12:36:25,429 - DEBUG - Response for create_subnet : {'subnet': {'id': '3e4c1054-97d4-492c-aa31-0fdb016e3632', 'name': '', 'tenant_id': 'd2a0384cef464d1bb7326ccb2c11184d', 'network_id': 'f3646a88-8ea7-42cf-bae8-b68f5dc73c53', 'ip_version': 4, 'cidr': '182.102.214.0/26', 'allocation_pools': [{'start': '182.102.214.2', 'end': '182.102.214.62'}], 'gateway_ip': '182.102.214.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2024-09-02T12:36:25.329493', 'updated_at': '2024-09-02T12:36:25.329493', 'dns_server_address': '182.102.214.2', 'tags': [], 'project_id': 'd2a0384cef464d1bb7326ccb2c11184d'}} 2024-09-02 12:36:25,498 - INFO - Created VN ctest-vn-57988129 2024-09-02 12:36:25,552 - DEBUG - VN ctest-vn-57988129 UUID is f3646a88-8ea7-42cf-bae8-b68f5dc73c53 2024-09-02 12:36:25,849 - DEBUG - Services list from nova: [, , ] 2024-09-02 12:36:27,071 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-391-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-391-1) 2024-09-02 12:36:28,481 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-391-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-391-1) 2024-09-02 12:36:28,482 - INFO - Waiting for VM ctest-TestBasicVMVNx-97877430-36383687 to be up.. 2024-09-02 12:36:28,649 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-02 12:36:33,792 - DEBUG - VM is in ACTIVE state now 2024-09-02 12:36:33,792 - INFO - VM name : ctest-TestBasicVMVNx-97877430-36383687 2024-09-02 12:36:33,941 - DEBUG - VM ctest-TestBasicVMVNx-97877430-36383687 ID is 37fdc42b-4e93-413b-a84b-bbcf313647cc 2024-09-02 12:36:33,980 - DEBUG - VM ctest-TestBasicVMVNx-97877430-36383687 launched on Node cn-jenkins-deploy-platform-juju-os-391-1 2024-09-02 12:36:34,132 - DEBUG - Requesting: https://10.0.0.12:8082/virtual-machine/37fdc42b-4e93-413b-a84b-bbcf313647cc 2024-09-02 12:36:34,483 - DEBUG - Requesting: https://10.0.0.12:8082/virtual-machine/37fdc42b-4e93-413b-a84b-bbcf313647cc 2024-09-02 12:36:34,569 - DEBUG - Requesting: https://10.0.0.12:8082/virtual-machine-interface/03ea7ede-14f7-4afb-8afa-080be4a21915 2024-09-02 12:36:38,066 - 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 1029ms') 2024-09-02 12:36:38,066 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-97877430-36383687 failed! 2024-09-02 12:36:38,128 - DEBUG - Gateway for vn admin_domain:ctest-TestBasicVMVNx-97877430:ctest-vn-57988129 is 182.102.214.1 and allocation pool is NOT set 2024-09-02 12:36:40,224 - 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=20.1 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.06 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 2.055/11.088/20.122/9.033 ms') 2024-09-02 12:36:40,224 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-97877430-36383687 passed 2024-09-02 12:36:40,400 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-02 12:36:40,400 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-97877430-36383687, IP 182.102.214.3, Port 22 2024-09-02 12:36:40,628 - DEBUG - VM ctest-TestBasicVMVNx-97877430-36383687 is ready for SSH connections 2024-09-02 12:36:40,628 - INFO - Waiting for VM ctest-TestBasicVMVNx-97877430-29742677 to be up.. 2024-09-02 12:36:40,792 - DEBUG - VM is in ACTIVE state now 2024-09-02 12:36:40,792 - INFO - VM name : ctest-TestBasicVMVNx-97877430-29742677 2024-09-02 12:36:41,027 - DEBUG - VM ctest-TestBasicVMVNx-97877430-29742677 ID is a0477ce9-6c33-42be-9aca-c4af4b186fd6 2024-09-02 12:36:41,027 - DEBUG - VM ctest-TestBasicVMVNx-97877430-29742677 launched on Node cn-jenkins-deploy-platform-juju-os-391-1 2024-09-02 12:36:41,183 - DEBUG - Requesting: https://10.0.0.12:8082/virtual-machine/a0477ce9-6c33-42be-9aca-c4af4b186fd6 2024-09-02 12:36:41,237 - DEBUG - Requesting: https://10.0.0.12:8082/virtual-machine-interface/f472e6e6-2796-4592-abe7-4c96cb7b6c81 2024-09-02 12:36:42,703 - 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.90 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.359 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.359/1.627/2.896/1.268 ms') 2024-09-02 12:36:42,703 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-97877430-29742677 passed 2024-09-02 12:36:42,860 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-02 12:36:42,860 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-97877430-29742677, IP 182.102.214.4, Port 22 2024-09-02 12:36:43,084 - DEBUG - VM ctest-TestBasicVMVNx-97877430-29742677 is ready for SSH connections 2024-09-02 12:36:43,084 - DEBUG - FILE SIZE = 1303B 2024-09-02 12:36:43,084 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-97877430-36383687 to ctest-TestBasicVMVNx-97877430-29742677 using scp 2024-09-02 12:36:43,090 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-02 12:36:43,097 - 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.12, gateway password: c0ntrail123 2024-09-02 12:36:43,097 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-02 12:36:44,693 - DEBUG - 1+0 records in 1+0 records out 2024-09-02 12:36:45,466 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-02 12:36:45,793 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.12, gateway password: c0ntrail123 2024-09-02 12:36:45,793 - DEBUG - ls -l testfile 2024-09-02 12:36:47,355 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 2 06:36 testfile 2024-09-02 12:36:47,355 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-97877430-29742677 2024-09-02 12:36:47,355 - INFO - Deleting VM ctest-TestBasicVMVNx-97877430-29742677 2024-09-02 12:36:47,467 - INFO - Deleting VM ctest-TestBasicVMVNx-97877430-36383687 2024-09-02 12:36:47,581 - INFO - Deleting VN ctest-vn-57988129 2024-09-02 12:36:47,719 - DEBUG - VN f3646a88-8ea7-42cf-bae8-b68f5dc73c53 still in use: Unable to complete operation on network f3646a88-8ea7-42cf-bae8-b68f5dc73c53. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cf00c859-7e91-4d3a-8cbf-ac4afd96dd22'] 2024-09-02 12:36:47,719 - WARNING - Deleting VN ctest-vn-57988129 failed..Will retry 2024-09-02 12:36:49,912 - DEBUG - Response for deleting network () 2024-09-02 12:36:50,313 - DEBUG - No XMPP flaps were noticed during the test
2024-09-02 12:36:50,313 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:26]
2024-09-02 12:36:50,313 - INFO - -------------------------------------------------------------------------------- 2024-09-02 12:36:51,120 - INFO - Deleted project: ctest-TestBasicVMVNx-97877430, ID : d2a0384c-ef46-4d1b-b732-6ccb2c11184d