2024-09-17 07:11:22,091 - INFO - Domain Default found not creating 2024-09-17 07:11:22,274 - INFO - Project ctest-TestBasicVMVNx-16544482 not found, creating it 2024-09-17 07:11:22,779 - INFO - Created Project:ctest-TestBasicVMVNx-16544482, ID : 0b8eaa12-ef2f-4086-b0bc-8b21c52bbd76 2024-09-17 07:11:24,438 - INFO - ================================================================================ 2024-09-17 07:11:24,438 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-17 07:11:24,438 - 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-17 07:11:24,695 - DEBUG - Nothing to compare xmpp stats {'10.0.0.37': {'10.20.0.7': '0'}} with 2024-09-17 07:11:24,696 - INFO - Initial checks done. Running the testcase now 2024-09-17 07:11:24,696 - INFO - 2024-09-17 07:11:25,346 - DEBUG - Response for create_network : {'network': {'id': '65acea43-6bf3-4e83-b0b5-eeaf4626eb54', 'name': 'ctest-vn-19592665', 'tenant_id': '0b8eaa12ef2f4086b0bc8b21c52bbd76', 'project_id': '0b8eaa12ef2f4086b0bc8b21c52bbd76', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-16544482', 'ctest-vn-19592665'], 'port_security_enabled': True, 'description': ''}} 2024-09-17 07:11:25,583 - DEBUG - Response for create_subnet : {'subnet': {'id': '67b66cfa-08ad-45f7-8005-078e0da50aa2', 'name': '', 'tenant_id': '0b8eaa12ef2f4086b0bc8b21c52bbd76', 'network_id': '65acea43-6bf3-4e83-b0b5-eeaf4626eb54', 'ip_version': 4, 'cidr': '1.240.136.64/26', 'allocation_pools': [{'start': '1.240.136.66', 'end': '1.240.136.126'}], 'gateway_ip': '1.240.136.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '1.240.136.66', 'tags': [], 'project_id': '0b8eaa12ef2f4086b0bc8b21c52bbd76'}} 2024-09-17 07:11:25,605 - INFO - Created VN ctest-vn-19592665 2024-09-17 07:11:25,665 - DEBUG - VN ctest-vn-19592665 UUID is 65acea43-6bf3-4e83-b0b5-eeaf4626eb54 2024-09-17 07:11:25,853 - DEBUG - Services list from nova: [, , ] 2024-09-17 07:11:27,032 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1955-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1955-1) 2024-09-17 07:11:28,392 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1955-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1955-1) 2024-09-17 07:11:28,392 - INFO - Waiting for VM ctest-TestBasicVMVNx-16544482-76493450 to be up.. 2024-09-17 07:11:28,485 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-17 07:11:33,662 - DEBUG - VM is in ACTIVE state now 2024-09-17 07:11:33,662 - INFO - VM name : ctest-TestBasicVMVNx-16544482-76493450 2024-09-17 07:11:33,759 - DEBUG - VM ctest-TestBasicVMVNx-16544482-76493450 ID is dc58e963-ae67-4032-b481-2f27553f2760 2024-09-17 07:11:33,784 - DEBUG - VM ctest-TestBasicVMVNx-16544482-76493450 launched on Node cn-jenkins-deploy-platform-ansible-os-1955-1 2024-09-17 07:11:33,880 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine/dc58e963-ae67-4032-b481-2f27553f2760 2024-09-17 07:11:34,222 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine/dc58e963-ae67-4032-b481-2f27553f2760 2024-09-17 07:11:34,263 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine-interface/f9b58c4c-24ef-45b1-93b7-934d232aa38b 2024-09-17 07:11:37,548 - 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 1025ms') 2024-09-17 07:11:37,548 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-16544482-76493450 failed! 2024-09-17 07:11:37,621 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-16544482:ctest-vn-19592665 is 1.240.136.65 and allocation pool is NOT set 2024-09-17 07:11:39,687 - 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=5.22 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.908 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.908/3.065/5.223/2.157 ms') 2024-09-17 07:11:39,687 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-16544482-76493450 passed 2024-09-17 07:11:39,857 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 07:11:39,857 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-16544482-76493450, IP 1.240.136.67, Port 22 2024-09-17 07:11:40,025 - DEBUG - VM ctest-TestBasicVMVNx-16544482-76493450 is ready for SSH connections 2024-09-17 07:11:40,025 - INFO - Waiting for VM ctest-TestBasicVMVNx-16544482-06585722 to be up.. 2024-09-17 07:11:40,114 - DEBUG - VM is in ACTIVE state now 2024-09-17 07:11:40,114 - INFO - VM name : ctest-TestBasicVMVNx-16544482-06585722 2024-09-17 07:11:40,198 - DEBUG - VM ctest-TestBasicVMVNx-16544482-06585722 ID is ff208822-e6e6-4eac-86fb-03772f3e1ee3 2024-09-17 07:11:40,198 - DEBUG - VM ctest-TestBasicVMVNx-16544482-06585722 launched on Node cn-jenkins-deploy-platform-ansible-os-1955-1 2024-09-17 07:11:40,287 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine/ff208822-e6e6-4eac-86fb-03772f3e1ee3 2024-09-17 07:11:40,298 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine-interface/c04f5ccd-1e1b-4988-b364-6eb43d4a27e1 2024-09-17 07:11:41,564 - 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.88 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.444 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.444/1.663/2.882/1.219 ms') 2024-09-17 07:11:41,564 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-16544482-06585722 passed 2024-09-17 07:11:41,725 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 07:11:41,725 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-16544482-06585722, IP 1.240.136.68, Port 22 2024-09-17 07:11:41,880 - DEBUG - VM ctest-TestBasicVMVNx-16544482-06585722 is ready for SSH connections 2024-09-17 07:11:41,881 - DEBUG - FILE SIZE = 1303B 2024-09-17 07:11:41,881 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-16544482-76493450 to ctest-TestBasicVMVNx-16544482-06585722 using scp 2024-09-17 07:11:41,882 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 07:11:41,890 - 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.37, gateway password: c0ntrail123 2024-09-17 07:11:41,890 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-17 07:11:43,857 - DEBUG - 1+0 records in 1+0 records out 2024-09-17 07:11:44,708 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 07:11:45,054 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.37, gateway password: c0ntrail123 2024-09-17 07:11:45,054 - DEBUG - ls -l testfile 2024-09-17 07:11:46,676 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 17 01:11 testfile 2024-09-17 07:11:46,677 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-16544482-06585722 2024-09-17 07:11:46,677 - INFO - Deleting VM ctest-TestBasicVMVNx-16544482-06585722 2024-09-17 07:11:46,751 - INFO - Deleting VM ctest-TestBasicVMVNx-16544482-76493450 2024-09-17 07:11:46,826 - INFO - Deleting VN ctest-vn-19592665 2024-09-17 07:11:46,876 - DEBUG - VN 65acea43-6bf3-4e83-b0b5-eeaf4626eb54 still in use: Unable to complete operation on network 65acea43-6bf3-4e83-b0b5-eeaf4626eb54. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f6e5b63e-5fac-4e76-b0e2-11208fb83f6f'] 2024-09-17 07:11:46,876 - WARNING - Deleting VN ctest-vn-19592665 failed..Will retry 2024-09-17 07:11:49,037 - DEBUG - Response for deleting network () 2024-09-17 07:11:49,304 - DEBUG - No XMPP flaps were noticed during the test 2024-09-17 07:11:49,304 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25] 2024-09-17 07:11:49,304 - INFO - -------------------------------------------------------------------------------- 2024-09-17 07:11:50,122 - INFO - Deleted project: ctest-TestBasicVMVNx-16544482, ID : 0b8eaa12-ef2f-4086-b0bc-8b21c52bbd76