2024-08-24 10:28:41,212 - INFO - Domain Default found not creating 2024-08-24 10:28:41,371 - INFO - Project ctest-TestBasicVMVNx-45528212 not found, creating it 2024-08-24 10:28:41,837 - INFO - Created Project:ctest-TestBasicVMVNx-45528212, ID : e3bb208a-cf7b-4719-b24c-01f7b8937727 2024-08-24 10:28:43,298 - INFO - ================================================================================ 2024-08-24 10:28:43,298 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-08-24 10:28:43,298 - 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-08-24 10:28:43,552 - DEBUG - Nothing to compare xmpp stats {'10.0.0.46': {'10.20.0.22': '0'}} with 2024-08-24 10:28:43,552 - INFO - Initial checks done. Running the testcase now 2024-08-24 10:28:43,552 - INFO - 2024-08-24 10:28:44,126 - DEBUG - Response for create_network : {'network': {'id': 'ba54d397-59ee-4e49-add5-c54d2068a13b', 'name': 'ctest-vn-83639273', 'tenant_id': 'e3bb208acf7b4719b24c01f7b8937727', 'project_id': 'e3bb208acf7b4719b24c01f7b8937727', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-45528212', 'ctest-vn-83639273'], 'port_security_enabled': True, 'description': ''}} 2024-08-24 10:28:44,342 - DEBUG - Response for create_subnet : {'subnet': {'id': '680d0cb7-35a6-48ea-a99d-60e7524ce102', 'name': '', 'tenant_id': 'e3bb208acf7b4719b24c01f7b8937727', 'network_id': 'ba54d397-59ee-4e49-add5-c54d2068a13b', 'ip_version': 4, 'cidr': '137.203.208.0/26', 'allocation_pools': [{'start': '137.203.208.2', 'end': '137.203.208.62'}], 'gateway_ip': '137.203.208.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '137.203.208.2', 'tags': [], 'project_id': 'e3bb208acf7b4719b24c01f7b8937727'}} 2024-08-24 10:28:44,362 - INFO - Created VN ctest-vn-83639273 2024-08-24 10:28:44,414 - DEBUG - VN ctest-vn-83639273 UUID is ba54d397-59ee-4e49-add5-c54d2068a13b 2024-08-24 10:28:44,600 - DEBUG - Services list from nova: [, , ] 2024-08-24 10:28:45,639 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1747-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1747-1) 2024-08-24 10:28:46,752 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1747-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1747-1) 2024-08-24 10:28:46,752 - INFO - Waiting for VM ctest-TestBasicVMVNx-45528212-38569660 to be up.. 2024-08-24 10:28:46,956 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-24 10:28:52,043 - DEBUG - VM is in ACTIVE state now 2024-08-24 10:28:52,043 - INFO - VM name : ctest-TestBasicVMVNx-45528212-38569660 2024-08-24 10:28:52,125 - DEBUG - VM ctest-TestBasicVMVNx-45528212-38569660 ID is 9a55ff40-0a28-4eaf-93ce-cfad451371e2 2024-08-24 10:28:52,146 - DEBUG - VM ctest-TestBasicVMVNx-45528212-38569660 launched on Node cn-jenkins-deploy-platform-ansible-os-1747-1 2024-08-24 10:28:52,224 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine/9a55ff40-0a28-4eaf-93ce-cfad451371e2 2024-08-24 10:28:52,524 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine/9a55ff40-0a28-4eaf-93ce-cfad451371e2 2024-08-24 10:28:52,559 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine-interface/6d3624e5-6af7-4ab4-a4bb-52a72f4f1efc 2024-08-24 10:28:55,817 - 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 1023ms') 2024-08-24 10:28:55,817 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-45528212-38569660 failed! 2024-08-24 10:28:55,874 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-45528212:ctest-vn-83639273 is 137.203.208.1 and allocation pool is NOT set 2024-08-24 10:28:57,938 - 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=3.02 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.553 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.553/1.784/3.016/1.231 ms') 2024-08-24 10:28:57,938 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-45528212-38569660 passed 2024-08-24 10:28:58,094 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-24 10:28:58,095 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-45528212-38569660, IP 137.203.208.3, Port 22 2024-08-24 10:28:58,262 - DEBUG - VM ctest-TestBasicVMVNx-45528212-38569660 is ready for SSH connections 2024-08-24 10:28:58,262 - INFO - Waiting for VM ctest-TestBasicVMVNx-45528212-34275957 to be up.. 2024-08-24 10:28:58,354 - DEBUG - VM is in ACTIVE state now 2024-08-24 10:28:58,354 - INFO - VM name : ctest-TestBasicVMVNx-45528212-34275957 2024-08-24 10:28:58,449 - DEBUG - VM ctest-TestBasicVMVNx-45528212-34275957 ID is 1f840f01-3ed9-4a63-b3e8-8dce6e8e4121 2024-08-24 10:28:58,449 - DEBUG - VM ctest-TestBasicVMVNx-45528212-34275957 launched on Node cn-jenkins-deploy-platform-ansible-os-1747-1 2024-08-24 10:28:58,538 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine/1f840f01-3ed9-4a63-b3e8-8dce6e8e4121 2024-08-24 10:28:58,548 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine-interface/43da61a2-cf3c-4885-b400-44d2c24ec456 2024-08-24 10:28:59,787 - 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.10 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.392 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.392/1.747/3.103/1.355 ms') 2024-08-24 10:28:59,787 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-45528212-34275957 passed 2024-08-24 10:28:59,938 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-24 10:28:59,938 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-45528212-34275957, IP 137.203.208.4, Port 22 2024-08-24 10:29:00,108 - DEBUG - VM ctest-TestBasicVMVNx-45528212-34275957 is ready for SSH connections 2024-08-24 10:29:00,109 - DEBUG - FILE SIZE = 1303B 2024-08-24 10:29:00,109 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-45528212-38569660 to ctest-TestBasicVMVNx-45528212-34275957 using scp 2024-08-24 10:29:00,109 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-24 10:29:00,114 - 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.46, gateway password: c0ntrail123 2024-08-24 10:29:00,114 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-08-24 10:29:02,061 - DEBUG - 1+0 records in 1+0 records out 2024-08-24 10:29:02,849 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-24 10:29:03,168 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.46, gateway password: c0ntrail123 2024-08-24 10:29:03,168 - DEBUG - ls -l testfile 2024-08-24 10:29:04,743 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 24 04:29 testfile 2024-08-24 10:29:04,743 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-45528212-34275957 2024-08-24 10:29:04,744 - INFO - Deleting VM ctest-TestBasicVMVNx-45528212-34275957 2024-08-24 10:29:04,822 - INFO - Deleting VM ctest-TestBasicVMVNx-45528212-38569660 2024-08-24 10:29:04,905 - INFO - Deleting VN ctest-vn-83639273 2024-08-24 10:29:04,949 - DEBUG - VN ba54d397-59ee-4e49-add5-c54d2068a13b still in use: Unable to complete operation on network ba54d397-59ee-4e49-add5-c54d2068a13b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9c0495bc-541d-4770-853a-b953ea73d1fe'] 2024-08-24 10:29:04,949 - WARNING - Deleting VN ctest-vn-83639273 failed..Will retry 2024-08-24 10:29:07,055 - DEBUG - Response for deleting network () 2024-08-24 10:29:07,309 - DEBUG - No XMPP flaps were noticed during the test
2024-08-24 10:29:07,309 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2024-08-24 10:29:07,309 - INFO - -------------------------------------------------------------------------------- 2024-08-24 10:29:07,979 - INFO - Deleted project: ctest-TestBasicVMVNx-45528212, ID : e3bb208a-cf7b-4719-b24c-01f7b8937727