2024-08-29 18:10:21,293 - INFO - Domain Default found not creating 2024-08-29 18:10:21,507 - INFO - Project ctest-TestBasicVMVNx-33249444 not found, creating it 2024-08-29 18:10:22,058 - INFO - Created Project:ctest-TestBasicVMVNx-33249444, ID : 243b5fcc-453f-49ba-b4df-404af67ea9de 2024-08-29 18:10:23,714 - INFO - ================================================================================ 2024-08-29 18:10:23,714 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-08-29 18:10:23,715 - 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-29 18:10:23,976 - DEBUG - Nothing to compare xmpp stats {'10.0.0.24': {'10.20.0.10': '0'}} with 2024-08-29 18:10:23,976 - INFO - Initial checks done. Running the testcase now 2024-08-29 18:10:23,976 - INFO - 2024-08-29 18:10:24,630 - DEBUG - Response for create_network : {'network': {'id': '0ca198f1-d312-4fc5-aac8-4a816207d783', 'name': 'ctest-vn-15889904', 'tenant_id': '243b5fcc453f49bab4df404af67ea9de', 'project_id': '243b5fcc453f49bab4df404af67ea9de', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-33249444', 'ctest-vn-15889904'], 'port_security_enabled': True, 'description': ''}} 2024-08-29 18:10:24,873 - DEBUG - Response for create_subnet : {'subnet': {'id': '3adc7eb8-32e7-42b2-a3ec-60e427d65bac', 'name': '', 'tenant_id': '243b5fcc453f49bab4df404af67ea9de', 'network_id': '0ca198f1-d312-4fc5-aac8-4a816207d783', 'ip_version': 4, 'cidr': '108.165.157.64/26', 'allocation_pools': [{'start': '108.165.157.66', 'end': '108.165.157.126'}], 'gateway_ip': '108.165.157.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '108.165.157.66', 'tags': [], 'project_id': '243b5fcc453f49bab4df404af67ea9de'}} 2024-08-29 18:10:24,898 - INFO - Created VN ctest-vn-15889904 2024-08-29 18:10:24,953 - DEBUG - VN ctest-vn-15889904 UUID is 0ca198f1-d312-4fc5-aac8-4a816207d783 2024-08-29 18:10:25,159 - DEBUG - Services list from nova: [, , ] 2024-08-29 18:10:26,956 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1816-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1816-1) 2024-08-29 18:10:28,294 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1816-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1816-1) 2024-08-29 18:10:28,294 - INFO - Waiting for VM ctest-TestBasicVMVNx-33249444-93252155 to be up.. 2024-08-29 18:10:28,390 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-29 18:10:33,490 - DEBUG - VM is in ACTIVE state now 2024-08-29 18:10:33,490 - INFO - VM name : ctest-TestBasicVMVNx-33249444-93252155 2024-08-29 18:10:33,604 - DEBUG - VM ctest-TestBasicVMVNx-33249444-93252155 ID is a25abb8d-eed7-445c-8109-68ddfb796775 2024-08-29 18:10:33,630 - DEBUG - VM ctest-TestBasicVMVNx-33249444-93252155 launched on Node cn-jenkins-deploy-platform-ansible-os-1816-1 2024-08-29 18:10:33,744 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/a25abb8d-eed7-445c-8109-68ddfb796775 2024-08-29 18:10:34,066 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/a25abb8d-eed7-445c-8109-68ddfb796775 2024-08-29 18:10:34,115 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/1a402c4d-1e30-4252-a7a1-852107c0203d 2024-08-29 18:10:37,401 - 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 1014ms') 2024-08-29 18:10:37,401 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-33249444-93252155 failed! 2024-08-29 18:10:37,457 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-33249444:ctest-vn-15889904 is 108.165.157.65 and allocation pool is NOT set 2024-08-29 18:10:41,555 - 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 1030ms') 2024-08-29 18:10:41,555 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-33249444-93252155 failed! 2024-08-29 18:10:41,613 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-33249444:ctest-vn-15889904 is 108.165.157.65 and allocation pool is NOT set 2024-08-29 18:10:43,681 - 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.52 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.31 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.308/3.912/5.517/1.604 ms') 2024-08-29 18:10:43,681 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-33249444-93252155 passed 2024-08-29 18:10:43,841 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-29 18:10:43,841 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-33249444-93252155, IP 108.165.157.67, Port 22 2024-08-29 18:10:44,012 - DEBUG - VM ctest-TestBasicVMVNx-33249444-93252155 is ready for SSH connections 2024-08-29 18:10:44,012 - INFO - Waiting for VM ctest-TestBasicVMVNx-33249444-67252372 to be up.. 2024-08-29 18:10:44,105 - DEBUG - VM is in ACTIVE state now 2024-08-29 18:10:44,106 - INFO - VM name : ctest-TestBasicVMVNx-33249444-67252372 2024-08-29 18:10:44,208 - DEBUG - VM ctest-TestBasicVMVNx-33249444-67252372 ID is c220a226-ba2e-4833-9066-ed3cd184799a 2024-08-29 18:10:44,208 - DEBUG - VM ctest-TestBasicVMVNx-33249444-67252372 launched on Node cn-jenkins-deploy-platform-ansible-os-1816-1 2024-08-29 18:10:44,309 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/c220a226-ba2e-4833-9066-ed3cd184799a 2024-08-29 18:10:44,321 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/135535fa-be32-4afa-bda5-2628cc46e7f6 2024-08-29 18:10:45,574 - 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.23 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.452 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.452/1.840/3.228/1.388 ms') 2024-08-29 18:10:45,574 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-33249444-67252372 passed 2024-08-29 18:10:45,733 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-29 18:10:45,733 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-33249444-67252372, IP 108.165.157.68, Port 22 2024-08-29 18:10:45,907 - DEBUG - VM ctest-TestBasicVMVNx-33249444-67252372 is ready for SSH connections 2024-08-29 18:10:45,907 - DEBUG - FILE SIZE = 1303B 2024-08-29 18:10:45,907 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-33249444-93252155 to ctest-TestBasicVMVNx-33249444-67252372 using scp 2024-08-29 18:10:45,908 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-29 18:10:45,915 - 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.24, gateway password: c0ntrail123 2024-08-29 18:10:45,916 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-08-29 18:10:48,025 - DEBUG - 1+0 records in 1+0 records out 2024-08-29 18:10:48,935 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-29 18:10:49,280 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.24, gateway password: c0ntrail123 2024-08-29 18:10:49,280 - DEBUG - ls -l testfile 2024-08-29 18:10:51,351 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 29 12:10 testfile 2024-08-29 18:10:51,351 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-33249444-67252372 2024-08-29 18:10:51,351 - INFO - Deleting VM ctest-TestBasicVMVNx-33249444-67252372 2024-08-29 18:10:51,431 - INFO - Deleting VM ctest-TestBasicVMVNx-33249444-93252155 2024-08-29 18:10:51,522 - INFO - Deleting VN ctest-vn-15889904 2024-08-29 18:10:51,580 - DEBUG - VN 0ca198f1-d312-4fc5-aac8-4a816207d783 still in use: Unable to complete operation on network 0ca198f1-d312-4fc5-aac8-4a816207d783. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f79438d0-0020-405c-afa0-3f6588c1eec5'] 2024-08-29 18:10:51,580 - WARNING - Deleting VN ctest-vn-15889904 failed..Will retry 2024-08-29 18:10:53,716 - DEBUG - Response for deleting network () 2024-08-29 18:10:53,991 - DEBUG - No XMPP flaps were noticed during the test 2024-08-29 18:10:53,992 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:30] 2024-08-29 18:10:53,992 - INFO - -------------------------------------------------------------------------------- 2024-08-29 18:10:54,758 - INFO - Deleted project: ctest-TestBasicVMVNx-33249444, ID : 243b5fcc-453f-49ba-b4df-404af67ea9de