2024-09-02 18:32:26,432 - INFO - Reading existing Domain with UUID 58dce124-eb0a-40d6-909d-474de86f8e9d 2024-09-02 18:32:26,442 - INFO - Using existing domain ['admin_domain'](58dce124-eb0a-40d6-909d-474de86f8e9d) 2024-09-02 18:32:26,617 - INFO - Project ctest-TestBasicVMVNx-42514238 not found, creating it 2024-09-02 18:32:27,107 - INFO - Created Project:ctest-TestBasicVMVNx-42514238, ID : a85f85a8-4ab4-4e96-8078-56a50c3cb9fb 2024-09-02 18:32:28,677 - INFO - ================================================================================ 2024-09-02 18:32:28,677 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-02 18:32:28,677 - 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 18:32:29,048 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.0.0.33': '0'}} with 2024-09-02 18:32:29,048 - INFO - Initial checks done. Running the testcase now 2024-09-02 18:32:29,048 - INFO - 2024-09-02 18:32:29,795 - DEBUG - Response for create_network : {'network': {'id': '45a1f85b-8d8e-42b0-86ec-e999b7a244df', 'name': 'ctest-vn-17082994', 'tenant_id': 'a85f85a84ab44e96807856a50c3cb9fb', 'project_id': 'a85f85a84ab44e96807856a50c3cb9fb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicVMVNx-42514238', 'ctest-vn-17082994'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2024-09-02 18:32:29,995 - DEBUG - Response for create_subnet : {'subnet': {'id': '9bf56dac-e92d-40b3-91cb-0a8e344038d7', 'name': '', 'tenant_id': 'a85f85a84ab44e96807856a50c3cb9fb', 'network_id': '45a1f85b-8d8e-42b0-86ec-e999b7a244df', 'ip_version': 4, 'cidr': '64.193.15.128/26', 'allocation_pools': [{'start': '64.193.15.130', 'end': '64.193.15.190'}], 'gateway_ip': '64.193.15.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2024-09-02T18:32:29.886744', 'updated_at': '2024-09-02T18:32:29.886744', 'dns_server_address': '64.193.15.130', 'tags': [], 'project_id': 'a85f85a84ab44e96807856a50c3cb9fb'}} 2024-09-02 18:32:30,057 - INFO - Created VN ctest-vn-17082994 2024-09-02 18:32:30,111 - DEBUG - VN ctest-vn-17082994 UUID is 45a1f85b-8d8e-42b0-86ec-e999b7a244df 2024-09-02 18:32:30,373 - DEBUG - Services list from nova: [, , ] 2024-09-02 18:32:31,437 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-396-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-396-1) 2024-09-02 18:32:33,299 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-396-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-396-1) 2024-09-02 18:32:33,299 - INFO - Waiting for VM ctest-TestBasicVMVNx-42514238-19612717 to be up.. 2024-09-02 18:32:33,435 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-02 18:32:38,566 - DEBUG - VM is in ACTIVE state now 2024-09-02 18:32:38,566 - INFO - VM name : ctest-TestBasicVMVNx-42514238-19612717 2024-09-02 18:32:38,699 - DEBUG - VM ctest-TestBasicVMVNx-42514238-19612717 ID is bbaf42dc-d728-4ce7-867a-f1f32046d951 2024-09-02 18:32:38,731 - DEBUG - VM ctest-TestBasicVMVNx-42514238-19612717 launched on Node cn-jenkins-deploy-platform-juju-os-396-1 2024-09-02 18:32:38,921 - DEBUG - Requesting: https://10.0.0.33:8082/virtual-machine/bbaf42dc-d728-4ce7-867a-f1f32046d951 2024-09-02 18:32:39,270 - DEBUG - Requesting: https://10.0.0.33:8082/virtual-machine/bbaf42dc-d728-4ce7-867a-f1f32046d951 2024-09-02 18:32:39,348 - DEBUG - Requesting: https://10.0.0.33:8082/virtual-machine-interface/ce39f56b-96ea-444e-863c-6b5ebb318a82 2024-09-02 18:32:42,785 - 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 1005ms') 2024-09-02 18:32:42,786 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-42514238-19612717 failed! 2024-09-02 18:32:42,843 - DEBUG - Gateway for vn admin_domain:ctest-TestBasicVMVNx-42514238:ctest-vn-17082994 is 64.193.15.129 and allocation pool is NOT set 2024-09-02 18:32:44,922 - 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=1.91 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.379 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.379/1.142/1.905/0.763 ms') 2024-09-02 18:32:44,922 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-42514238-19612717 passed 2024-09-02 18:32:45,075 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-02 18:32:45,075 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-42514238-19612717, IP 64.193.15.131, Port 22 2024-09-02 18:32:45,281 - DEBUG - VM ctest-TestBasicVMVNx-42514238-19612717 is ready for SSH connections 2024-09-02 18:32:45,281 - INFO - Waiting for VM ctest-TestBasicVMVNx-42514238-53888861 to be up.. 2024-09-02 18:32:45,425 - DEBUG - VM is in ACTIVE state now 2024-09-02 18:32:45,425 - INFO - VM name : ctest-TestBasicVMVNx-42514238-53888861 2024-09-02 18:32:45,569 - DEBUG - VM ctest-TestBasicVMVNx-42514238-53888861 ID is b159e313-f90c-49b5-9a5b-4ddb23b78e5e 2024-09-02 18:32:45,570 - DEBUG - VM ctest-TestBasicVMVNx-42514238-53888861 launched on Node cn-jenkins-deploy-platform-juju-os-396-1 2024-09-02 18:32:45,698 - DEBUG - Requesting: https://10.0.0.33:8082/virtual-machine/b159e313-f90c-49b5-9a5b-4ddb23b78e5e 2024-09-02 18:32:45,752 - DEBUG - Requesting: https://10.0.0.33:8082/virtual-machine-interface/1b8a49da-9287-456e-b14b-5d4a379a7697 2024-09-02 18:32:47,211 - 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=3.51 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.830 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.830/2.171/3.513/1.341 ms') 2024-09-02 18:32:47,211 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-42514238-53888861 passed 2024-09-02 18:32:47,359 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-02 18:32:47,359 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-42514238-53888861, IP 64.193.15.132, Port 22 2024-09-02 18:32:47,568 - DEBUG - VM ctest-TestBasicVMVNx-42514238-53888861 is ready for SSH connections 2024-09-02 18:32:47,569 - DEBUG - FILE SIZE = 1303B 2024-09-02 18:32:47,569 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-42514238-19612717 to ctest-TestBasicVMVNx-42514238-53888861 using scp 2024-09-02 18:32:47,573 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-02 18:32:47,578 - 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.33, gateway password: c0ntrail123 2024-09-02 18:32:47,578 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-02 18:32:49,123 - DEBUG - 1+0 records in 1+0 records out 2024-09-02 18:32:49,703 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-02 18:32:50,016 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2024-09-02 18:32:50,017 - DEBUG - ls -l testfile 2024-09-02 18:32:51,550 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 2 12:32 testfile 2024-09-02 18:32:51,550 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-42514238-53888861 2024-09-02 18:32:51,550 - INFO - Deleting VM ctest-TestBasicVMVNx-42514238-53888861 2024-09-02 18:32:51,641 - INFO - Deleting VM ctest-TestBasicVMVNx-42514238-19612717 2024-09-02 18:32:51,744 - INFO - Deleting VN ctest-vn-17082994 2024-09-02 18:32:51,875 - DEBUG - VN 45a1f85b-8d8e-42b0-86ec-e999b7a244df still in use: Unable to complete operation on network 45a1f85b-8d8e-42b0-86ec-e999b7a244df. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e1cd3a0e-1fe9-4f7b-ad5b-edd1ba764e30'] 2024-09-02 18:32:51,875 - WARNING - Deleting VN ctest-vn-17082994 failed..Will retry 2024-09-02 18:32:54,048 - DEBUG - Response for deleting network () 2024-09-02 18:32:54,424 - DEBUG - No XMPP flaps were noticed during the test 2024-09-02 18:32:54,424 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:26] 2024-09-02 18:32:54,424 - INFO - -------------------------------------------------------------------------------- 2024-09-02 18:32:55,130 - INFO - Deleted project: ctest-TestBasicVMVNx-42514238, ID : a85f85a8-4ab4-4e96-8078-56a50c3cb9fb