2024-09-14 03:01:31,470 - INFO - Domain Default found not creating 2024-09-14 03:01:31,630 - INFO - Project ctest-TestBasicVMVNx-99878449 not found, creating it 2024-09-14 03:01:32,105 - INFO - Created Project:ctest-TestBasicVMVNx-99878449, ID : 7ec91051-19ee-4e1a-bf7a-3f9b8630c2a9 2024-09-14 03:01:33,562 - INFO - ================================================================================ 2024-09-14 03:01:33,563 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-14 03:01:33,563 - 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-14 03:01:33,820 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.33': '0'}} with 2024-09-14 03:01:33,820 - INFO - Initial checks done. Running the testcase now 2024-09-14 03:01:33,820 - INFO - 2024-09-14 03:01:34,396 - DEBUG - Response for create_network : {'network': {'id': 'c44315c7-f8eb-4c50-a662-13f2b1fdb3b7', 'name': 'ctest-vn-18197646', 'tenant_id': '7ec9105119ee4e1abf7a3f9b8630c2a9', 'project_id': '7ec9105119ee4e1abf7a3f9b8630c2a9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-99878449', 'ctest-vn-18197646'], 'port_security_enabled': True, 'description': ''}} 2024-09-14 03:01:34,576 - DEBUG - Response for create_subnet : {'subnet': {'id': '477eedb2-fe7e-443a-b098-3f11fe6e0c1f', 'name': '', 'tenant_id': '7ec9105119ee4e1abf7a3f9b8630c2a9', 'network_id': 'c44315c7-f8eb-4c50-a662-13f2b1fdb3b7', 'ip_version': 4, 'cidr': '74.164.189.128/26', 'allocation_pools': [{'start': '74.164.189.130', 'end': '74.164.189.190'}], 'gateway_ip': '74.164.189.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '74.164.189.130', 'tags': [], 'project_id': '7ec9105119ee4e1abf7a3f9b8630c2a9'}} 2024-09-14 03:01:34,594 - INFO - Created VN ctest-vn-18197646 2024-09-14 03:01:34,651 - DEBUG - VN ctest-vn-18197646 UUID is c44315c7-f8eb-4c50-a662-13f2b1fdb3b7 2024-09-14 03:01:34,852 - DEBUG - Services list from nova: [, , ] 2024-09-14 03:01:35,844 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1934-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1934-1) 2024-09-14 03:01:36,994 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1934-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1934-1) 2024-09-14 03:01:36,995 - INFO - Waiting for VM ctest-TestBasicVMVNx-99878449-23356794 to be up.. 2024-09-14 03:01:37,086 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-14 03:01:42,167 - DEBUG - VM is in ACTIVE state now 2024-09-14 03:01:42,167 - INFO - VM name : ctest-TestBasicVMVNx-99878449-23356794 2024-09-14 03:01:42,244 - DEBUG - VM ctest-TestBasicVMVNx-99878449-23356794 ID is 21ff1345-aebc-4127-a9c3-3bf9355a4922 2024-09-14 03:01:42,262 - DEBUG - VM ctest-TestBasicVMVNx-99878449-23356794 launched on Node cn-jenkins-deploy-platform-ansible-os-1934-1 2024-09-14 03:01:42,336 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/21ff1345-aebc-4127-a9c3-3bf9355a4922 2024-09-14 03:01:42,632 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/21ff1345-aebc-4127-a9c3-3bf9355a4922 2024-09-14 03:01:42,665 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f4aa5572-fd78-4767-a138-878b312b724a 2024-09-14 03:01:45,924 - 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 1012ms') 2024-09-14 03:01:45,924 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-99878449-23356794 failed! 2024-09-14 03:01:45,987 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-99878449:ctest-vn-18197646 is 74.164.189.129 and allocation pool is NOT set 2024-09-14 03:01:48,055 - 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.62 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.411 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 = 0.411/1.517/2.624/1.106 ms') 2024-09-14 03:01:48,055 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-99878449-23356794 passed 2024-09-14 03:01:48,216 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-14 03:01:48,216 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-99878449-23356794, IP 74.164.189.131, Port 22 2024-09-14 03:01:48,383 - DEBUG - VM ctest-TestBasicVMVNx-99878449-23356794 is ready for SSH connections 2024-09-14 03:01:48,383 - INFO - Waiting for VM ctest-TestBasicVMVNx-99878449-05128073 to be up.. 2024-09-14 03:01:48,456 - DEBUG - VM is in ACTIVE state now 2024-09-14 03:01:48,457 - INFO - VM name : ctest-TestBasicVMVNx-99878449-05128073 2024-09-14 03:01:48,627 - DEBUG - VM ctest-TestBasicVMVNx-99878449-05128073 ID is 552bcbbc-c0b7-4d72-bfb6-48ced4b4ae5e 2024-09-14 03:01:48,627 - DEBUG - VM ctest-TestBasicVMVNx-99878449-05128073 launched on Node cn-jenkins-deploy-platform-ansible-os-1934-1 2024-09-14 03:01:48,704 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/552bcbbc-c0b7-4d72-bfb6-48ced4b4ae5e 2024-09-14 03:01:48,714 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f632e135-36fb-4cea-92fc-74c30549e20b 2024-09-14 03:01:49,976 - 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.50 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.381 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.381/1.940/3.499/1.559 ms') 2024-09-14 03:01:49,976 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-99878449-05128073 passed 2024-09-14 03:01:50,135 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-14 03:01:50,135 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-99878449-05128073, IP 74.164.189.132, Port 22 2024-09-14 03:01:50,290 - DEBUG - VM ctest-TestBasicVMVNx-99878449-05128073 is ready for SSH connections 2024-09-14 03:01:50,291 - DEBUG - FILE SIZE = 1303B 2024-09-14 03:01:50,291 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-99878449-23356794 to ctest-TestBasicVMVNx-99878449-05128073 using scp 2024-09-14 03:01:50,291 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-14 03:01:50,296 - 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.38, gateway password: c0ntrail123 2024-09-14 03:01:50,296 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-14 03:01:52,188 - DEBUG - 1+0 records in 1+0 records out 2024-09-14 03:01:52,798 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-14 03:01:53,138 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2024-09-14 03:01:53,138 - DEBUG - ls -l testfile 2024-09-14 03:01:54,686 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 13 21:01 testfile 2024-09-14 03:01:54,686 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-99878449-05128073 2024-09-14 03:01:54,686 - INFO - Deleting VM ctest-TestBasicVMVNx-99878449-05128073 2024-09-14 03:01:54,755 - INFO - Deleting VM ctest-TestBasicVMVNx-99878449-23356794 2024-09-14 03:01:54,814 - INFO - Deleting VN ctest-vn-18197646 2024-09-14 03:01:54,858 - DEBUG - VN c44315c7-f8eb-4c50-a662-13f2b1fdb3b7 still in use: Unable to complete operation on network c44315c7-f8eb-4c50-a662-13f2b1fdb3b7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ac7ed93d-f3a2-4969-a322-fc9d30be9992'] 2024-09-14 03:01:54,858 - WARNING - Deleting VN ctest-vn-18197646 failed..Will retry 2024-09-14 03:01:56,975 - DEBUG - Response for deleting network () 2024-09-14 03:01:57,228 - DEBUG - No XMPP flaps were noticed during the test
2024-09-14 03:01:57,228 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2024-09-14 03:01:57,228 - INFO - -------------------------------------------------------------------------------- 2024-09-14 03:01:57,918 - INFO - Deleted project: ctest-TestBasicVMVNx-99878449, ID : 7ec91051-19ee-4e1a-bf7a-3f9b8630c2a9