2024-09-18 05:39:48,647 - INFO - Domain Default found not creating 2024-09-18 05:39:48,807 - INFO - Project ctest-TestBasicVMVNx-93760697 not found, creating it 2024-09-18 05:39:49,284 - INFO - Created Project:ctest-TestBasicVMVNx-93760697, ID : 190f81b3-e898-4204-961f-47563a856433 2024-09-18 05:39:50,758 - INFO - ================================================================================ 2024-09-18 05:39:50,758 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-18 05:39:50,758 - 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-18 05:39:51,012 - DEBUG - Nothing to compare xmpp stats {'10.0.0.40': {'10.20.0.7': '0'}} with 2024-09-18 05:39:51,012 - INFO - Initial checks done. Running the testcase now 2024-09-18 05:39:51,012 - INFO - 2024-09-18 05:39:51,593 - DEBUG - Response for create_network : {'network': {'id': 'a5d0a5ea-a9a3-45e4-8cd1-b20b80a862c4', 'name': 'ctest-vn-17340518', 'tenant_id': '190f81b3e8984204961f47563a856433', 'project_id': '190f81b3e8984204961f47563a856433', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-93760697', 'ctest-vn-17340518'], 'port_security_enabled': True, 'description': ''}} 2024-09-18 05:39:51,791 - DEBUG - Response for create_subnet : {'subnet': {'id': '6df5db75-e243-468b-91b0-51ff2222ce9d', 'name': '', 'tenant_id': '190f81b3e8984204961f47563a856433', 'network_id': 'a5d0a5ea-a9a3-45e4-8cd1-b20b80a862c4', 'ip_version': 4, 'cidr': '29.171.182.192/26', 'allocation_pools': [{'start': '29.171.182.194', 'end': '29.171.182.254'}], 'gateway_ip': '29.171.182.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '29.171.182.194', 'tags': [], 'project_id': '190f81b3e8984204961f47563a856433'}} 2024-09-18 05:39:51,811 - INFO - Created VN ctest-vn-17340518 2024-09-18 05:39:51,869 - DEBUG - VN ctest-vn-17340518 UUID is a5d0a5ea-a9a3-45e4-8cd1-b20b80a862c4 2024-09-18 05:39:52,152 - DEBUG - Services list from nova: [, , ] 2024-09-18 05:39:53,209 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1984-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1984-1) 2024-09-18 05:39:54,372 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1984-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1984-1) 2024-09-18 05:39:54,372 - INFO - Waiting for VM ctest-TestBasicVMVNx-93760697-02125642 to be up.. 2024-09-18 05:39:54,453 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-18 05:39:59,534 - DEBUG - VM is in ACTIVE state now 2024-09-18 05:39:59,534 - INFO - VM name : ctest-TestBasicVMVNx-93760697-02125642 2024-09-18 05:39:59,610 - DEBUG - VM ctest-TestBasicVMVNx-93760697-02125642 ID is 29863a5d-f177-4562-81dc-5ac7f41b9987 2024-09-18 05:39:59,630 - DEBUG - VM ctest-TestBasicVMVNx-93760697-02125642 launched on Node cn-jenkins-deploy-platform-ansible-os-1984-1 2024-09-18 05:39:59,707 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine/29863a5d-f177-4562-81dc-5ac7f41b9987 2024-09-18 05:40:00,001 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine/29863a5d-f177-4562-81dc-5ac7f41b9987 2024-09-18 05:40:00,038 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine-interface/47fe8941-e505-4fa1-b472-83efad835265 2024-09-18 05:40:03,319 - 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 1021ms') 2024-09-18 05:40:03,320 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-93760697-02125642 failed! 2024-09-18 05:40:03,377 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-93760697:ctest-vn-17340518 is 29.171.182.193 and allocation pool is NOT set 2024-09-18 05:40:05,436 - 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.81 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.480 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.480/1.647/2.814/1.167 ms') 2024-09-18 05:40:05,436 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-93760697-02125642 passed 2024-09-18 05:40:05,593 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-18 05:40:05,593 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-93760697-02125642, IP 29.171.182.195, Port 22 2024-09-18 05:40:05,749 - DEBUG - VM ctest-TestBasicVMVNx-93760697-02125642 is ready for SSH connections 2024-09-18 05:40:05,749 - INFO - Waiting for VM ctest-TestBasicVMVNx-93760697-40441195 to be up.. 2024-09-18 05:40:05,827 - DEBUG - VM is in ACTIVE state now 2024-09-18 05:40:05,827 - INFO - VM name : ctest-TestBasicVMVNx-93760697-40441195 2024-09-18 05:40:05,901 - DEBUG - VM ctest-TestBasicVMVNx-93760697-40441195 ID is 99905155-26ee-4eaf-b154-dc642129d80b 2024-09-18 05:40:05,901 - DEBUG - VM ctest-TestBasicVMVNx-93760697-40441195 launched on Node cn-jenkins-deploy-platform-ansible-os-1984-1 2024-09-18 05:40:05,975 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine/99905155-26ee-4eaf-b154-dc642129d80b 2024-09-18 05:40:05,986 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine-interface/e7a7bf32-5b6e-46a7-8d79-461a1c2d23c2 2024-09-18 05:40:07,243 - 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.81 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.592 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.592/2.199/3.807/1.607 ms') 2024-09-18 05:40:07,243 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-93760697-40441195 passed 2024-09-18 05:40:07,397 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-18 05:40:07,397 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-93760697-40441195, IP 29.171.182.196, Port 22 2024-09-18 05:40:07,548 - DEBUG - VM ctest-TestBasicVMVNx-93760697-40441195 is ready for SSH connections 2024-09-18 05:40:07,548 - DEBUG - FILE SIZE = 1303B 2024-09-18 05:40:07,548 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-93760697-02125642 to ctest-TestBasicVMVNx-93760697-40441195 using scp 2024-09-18 05:40:07,549 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-18 05:40:07,553 - 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.40, gateway password: c0ntrail123 2024-09-18 05:40:07,553 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-18 05:40:09,468 - DEBUG - 1+0 records in 1+0 records out 2024-09-18 05:40:10,050 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-18 05:40:10,372 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.40, gateway password: c0ntrail123 2024-09-18 05:40:10,372 - DEBUG - ls -l testfile 2024-09-18 05:40:11,970 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 17 23:40 testfile 2024-09-18 05:40:11,970 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-93760697-40441195 2024-09-18 05:40:11,970 - INFO - Deleting VM ctest-TestBasicVMVNx-93760697-40441195 2024-09-18 05:40:12,039 - INFO - Deleting VM ctest-TestBasicVMVNx-93760697-02125642 2024-09-18 05:40:12,103 - INFO - Deleting VN ctest-vn-17340518 2024-09-18 05:40:12,139 - DEBUG - VN a5d0a5ea-a9a3-45e4-8cd1-b20b80a862c4 still in use: Unable to complete operation on network a5d0a5ea-a9a3-45e4-8cd1-b20b80a862c4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-60f6c93e-e97b-45d4-b2b3-21daee7b9cb4'] 2024-09-18 05:40:12,140 - WARNING - Deleting VN ctest-vn-17340518 failed..Will retry 2024-09-18 05:40:14,253 - DEBUG - Response for deleting network () 2024-09-18 05:40:14,507 - DEBUG - No XMPP flaps were noticed during the test
2024-09-18 05:40:14,507 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2024-09-18 05:40:14,507 - INFO - -------------------------------------------------------------------------------- 2024-09-18 05:40:15,225 - INFO - Deleted project: ctest-TestBasicVMVNx-93760697, ID : 190f81b3-e898-4204-961f-47563a856433