2024-09-03 14:33:40,502 - INFO - Reading existing Domain with UUID 2de1d231-db55-4838-af7f-331e8edb8f37 2024-09-03 14:33:40,515 - INFO - Using existing domain ['admin_domain'](2de1d231-db55-4838-af7f-331e8edb8f37) 2024-09-03 14:33:40,742 - INFO - Project ctest-TestBasicVMVNx-52498343 not found, creating it 2024-09-03 14:33:41,283 - INFO - Created Project:ctest-TestBasicVMVNx-52498343, ID : da5f3374-bd29-4fba-91ad-11f6d37d0eb9 2024-09-03 14:33:43,085 - INFO - ================================================================================ 2024-09-03 14:33:43,086 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-03 14:33:43,086 - 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 14:33:43,479 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.0.0.50': '0'}} with 2024-09-03 14:33:43,479 - INFO - Initial checks done. Running the testcase now 2024-09-03 14:33:43,479 - INFO - 2024-09-03 14:33:44,270 - DEBUG - Response for create_network : {'network': {'id': '07ddf509-4d7b-4763-b897-a70a2fc000d6', 'name': 'ctest-vn-84460891', 'tenant_id': 'da5f3374bd294fba91ad11f6d37d0eb9', 'project_id': 'da5f3374bd294fba91ad11f6d37d0eb9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicVMVNx-52498343', 'ctest-vn-84460891'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2024-09-03 14:33:44,482 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a093db60-ead1-4cb7-a2e9-da8ad78690e2', 'name': '', 'tenant_id': 'da5f3374bd294fba91ad11f6d37d0eb9', 'network_id': '07ddf509-4d7b-4763-b897-a70a2fc000d6', 'ip_version': 4, 'cidr': '163.19.89.192/26', 'allocation_pools': [{'start': '163.19.89.194', 'end': '163.19.89.254'}], 'gateway_ip': '163.19.89.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2024-09-03T14:33:44.380553', 'updated_at': '2024-09-03T14:33:44.380553', 'dns_server_address': '163.19.89.194', 'tags': [], 'project_id': 'da5f3374bd294fba91ad11f6d37d0eb9'}} 2024-09-03 14:33:44,556 - INFO - Created VN ctest-vn-84460891 2024-09-03 14:33:44,614 - DEBUG - VN ctest-vn-84460891 UUID is 07ddf509-4d7b-4763-b897-a70a2fc000d6 2024-09-03 14:33:44,904 - DEBUG - Services list from nova: [, , ] 2024-09-03 14:33:46,288 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-400-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-400-1) 2024-09-03 14:33:47,752 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-400-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-400-1) 2024-09-03 14:33:47,752 - INFO - Waiting for VM ctest-TestBasicVMVNx-52498343-44159043 to be up.. 2024-09-03 14:33:47,914 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-03 14:33:53,070 - DEBUG - VM is in ACTIVE state now 2024-09-03 14:33:53,070 - INFO - VM name : ctest-TestBasicVMVNx-52498343-44159043 2024-09-03 14:33:53,244 - DEBUG - VM ctest-TestBasicVMVNx-52498343-44159043 ID is 89c1518b-28d6-498a-ada3-a353b7c993b2 2024-09-03 14:33:53,269 - DEBUG - VM ctest-TestBasicVMVNx-52498343-44159043 launched on Node cn-jenkins-deploy-platform-juju-os-400-1 2024-09-03 14:33:53,433 - DEBUG - Requesting: https://10.0.0.50:8082/virtual-machine/89c1518b-28d6-498a-ada3-a353b7c993b2 2024-09-03 14:33:53,789 - DEBUG - Requesting: https://10.0.0.50:8082/virtual-machine/89c1518b-28d6-498a-ada3-a353b7c993b2 2024-09-03 14:33:53,895 - DEBUG - Requesting: https://10.0.0.50:8082/virtual-machine-interface/e00a7c8f-d83a-44d4-b695-047b0897ef83 2024-09-03 14:33:57,403 - 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-03 14:33:57,403 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-52498343-44159043 failed! 2024-09-03 14:33:57,458 - DEBUG - Gateway for vn admin_domain:ctest-TestBasicVMVNx-52498343:ctest-vn-84460891 is 163.19.89.193 and allocation pool is NOT set 2024-09-03 14:33:59,562 - 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=6.75 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.52 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 = 2.518/4.634/6.750/2.116 ms') 2024-09-03 14:33:59,563 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-52498343-44159043 passed 2024-09-03 14:33:59,726 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-03 14:33:59,726 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-52498343-44159043, IP 163.19.89.195, Port 22 2024-09-03 14:33:59,945 - DEBUG - VM ctest-TestBasicVMVNx-52498343-44159043 is ready for SSH connections 2024-09-03 14:33:59,945 - INFO - Waiting for VM ctest-TestBasicVMVNx-52498343-73176954 to be up.. 2024-09-03 14:34:00,096 - DEBUG - VM is in ACTIVE state now 2024-09-03 14:34:00,096 - INFO - VM name : ctest-TestBasicVMVNx-52498343-73176954 2024-09-03 14:34:00,246 - DEBUG - VM ctest-TestBasicVMVNx-52498343-73176954 ID is 2ed1afe6-1d51-43eb-861c-95d424846f80 2024-09-03 14:34:00,247 - DEBUG - VM ctest-TestBasicVMVNx-52498343-73176954 launched on Node cn-jenkins-deploy-platform-juju-os-400-1 2024-09-03 14:34:00,400 - DEBUG - Requesting: https://10.0.0.50:8082/virtual-machine/2ed1afe6-1d51-43eb-861c-95d424846f80 2024-09-03 14:34:00,459 - DEBUG - Requesting: https://10.0.0.50:8082/virtual-machine-interface/51864026-3fa5-405b-b07a-a11ffaa3fedf 2024-09-03 14:34:01,929 - 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.84 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.904 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.904/2.374/3.844/1.470 ms') 2024-09-03 14:34:01,929 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-52498343-73176954 passed 2024-09-03 14:34:02,086 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-03 14:34:02,086 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-52498343-73176954, IP 163.19.89.196, Port 22 2024-09-03 14:34:02,299 - DEBUG - VM ctest-TestBasicVMVNx-52498343-73176954 is ready for SSH connections 2024-09-03 14:34:02,299 - DEBUG - FILE SIZE = 1303B 2024-09-03 14:34:02,299 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-52498343-44159043 to ctest-TestBasicVMVNx-52498343-73176954 using scp 2024-09-03 14:34:02,304 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-03 14:34:02,312 - 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.50, gateway password: c0ntrail123 2024-09-03 14:34:02,312 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-03 14:34:03,907 - DEBUG - 1+0 records in 1+0 records out 2024-09-03 14:34:04,709 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-03 14:34:05,036 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2024-09-03 14:34:05,036 - DEBUG - ls -l testfile 2024-09-03 14:34:06,650 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 3 08:34 testfile 2024-09-03 14:34:06,650 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-52498343-73176954 2024-09-03 14:34:06,650 - INFO - Deleting VM ctest-TestBasicVMVNx-52498343-73176954 2024-09-03 14:34:06,767 - INFO - Deleting VM ctest-TestBasicVMVNx-52498343-44159043 2024-09-03 14:34:06,883 - INFO - Deleting VN ctest-vn-84460891 2024-09-03 14:34:07,034 - DEBUG - VN 07ddf509-4d7b-4763-b897-a70a2fc000d6 still in use: Unable to complete operation on network 07ddf509-4d7b-4763-b897-a70a2fc000d6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3ee9cc65-7d4e-489f-8080-243311c745c2'] 2024-09-03 14:34:07,034 - WARNING - Deleting VN ctest-vn-84460891 failed..Will retry 2024-09-03 14:34:09,212 - DEBUG - Response for deleting network () 2024-09-03 14:34:09,611 - DEBUG - No XMPP flaps were noticed during the test 2024-09-03 14:34:09,612 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:26] 2024-09-03 14:34:09,612 - INFO - -------------------------------------------------------------------------------- 2024-09-03 14:34:10,363 - INFO - Deleted project: ctest-TestBasicVMVNx-52498343, ID : da5f3374-bd29-4fba-91ad-11f6d37d0eb9