2024-08-23 23:06:19,557 - INFO - Domain Default found not creating 2024-08-23 23:06:19,755 - INFO - Project ctest-TestBasicVMVNx-16100113 not found, creating it 2024-08-23 23:06:20,274 - INFO - Created Project:ctest-TestBasicVMVNx-16100113, ID : 73e9a0c7-ebab-46e3-bb82-5cfbb6346864 2024-08-23 23:06:22,669 - INFO - ================================================================================ 2024-08-23 23:06:22,669 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-08-23 23:06:22,670 - 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-23 23:06:22,926 - DEBUG - Nothing to compare xmpp stats {'10.0.0.31': {'10.20.0.13': '0'}} with 2024-08-23 23:06:22,926 - INFO - Initial checks done. Running the testcase now 2024-08-23 23:06:22,927 - INFO - 2024-08-23 23:06:23,463 - DEBUG - Response for create_network : {'network': {'id': '44640eb2-2079-47e0-a1df-6076689338d5', 'name': 'ctest-vn-26171337', 'tenant_id': '73e9a0c7ebab46e3bb825cfbb6346864', 'project_id': '73e9a0c7ebab46e3bb825cfbb6346864', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-16100113', 'ctest-vn-26171337'], 'port_security_enabled': True, 'description': ''}} 2024-08-23 23:06:23,669 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a2a69cc1-9f64-4ea6-b6b6-33d42d7270a7', 'name': '', 'tenant_id': '73e9a0c7ebab46e3bb825cfbb6346864', 'network_id': '44640eb2-2079-47e0-a1df-6076689338d5', 'ip_version': 4, 'cidr': '177.46.180.64/26', 'allocation_pools': [{'start': '177.46.180.66', 'end': '177.46.180.126'}], 'gateway_ip': '177.46.180.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '177.46.180.66', 'tags': [], 'project_id': '73e9a0c7ebab46e3bb825cfbb6346864'}} 2024-08-23 23:06:23,690 - INFO - Created VN ctest-vn-26171337 2024-08-23 23:06:23,741 - DEBUG - VN ctest-vn-26171337 UUID is 44640eb2-2079-47e0-a1df-6076689338d5 2024-08-23 23:06:23,901 - DEBUG - Services list from nova: [, , ] 2024-08-23 23:06:24,948 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1733-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1733-1) 2024-08-23 23:06:26,140 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1733-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1733-1) 2024-08-23 23:06:26,141 - INFO - Waiting for VM ctest-TestBasicVMVNx-16100113-56642467 to be up.. 2024-08-23 23:06:26,305 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-23 23:06:31,393 - DEBUG - VM is in ACTIVE state now 2024-08-23 23:06:31,393 - INFO - VM name : ctest-TestBasicVMVNx-16100113-56642467 2024-08-23 23:06:31,467 - DEBUG - VM ctest-TestBasicVMVNx-16100113-56642467 ID is 78a4deae-ddc6-49d0-b5d1-7a623e6a4d7d 2024-08-23 23:06:31,485 - DEBUG - VM ctest-TestBasicVMVNx-16100113-56642467 launched on Node cn-jenkins-deploy-platform-ansible-os-1733-1 2024-08-23 23:06:31,564 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/78a4deae-ddc6-49d0-b5d1-7a623e6a4d7d 2024-08-23 23:06:31,861 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/78a4deae-ddc6-49d0-b5d1-7a623e6a4d7d 2024-08-23 23:06:31,893 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/853cbe29-081c-41e5-a03c-c9de5e67383f 2024-08-23 23:06:35,131 - 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-08-23 23:06:35,131 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-16100113-56642467 failed! 2024-08-23 23:06:35,185 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-16100113:ctest-vn-26171337 is 177.46.180.65 and allocation pool is NOT set 2024-08-23 23:06:37,240 - 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=8.47 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.427 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.427/4.447/8.467/4.020 ms') 2024-08-23 23:06:37,240 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-16100113-56642467 passed 2024-08-23 23:06:37,389 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-23 23:06:37,389 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-16100113-56642467, IP 177.46.180.67, Port 22 2024-08-23 23:06:37,545 - DEBUG - VM ctest-TestBasicVMVNx-16100113-56642467 is ready for SSH connections 2024-08-23 23:06:37,545 - INFO - Waiting for VM ctest-TestBasicVMVNx-16100113-25311646 to be up.. 2024-08-23 23:06:37,623 - DEBUG - VM is in ACTIVE state now 2024-08-23 23:06:37,623 - INFO - VM name : ctest-TestBasicVMVNx-16100113-25311646 2024-08-23 23:06:37,700 - DEBUG - VM ctest-TestBasicVMVNx-16100113-25311646 ID is 9f89c6fc-e5df-441c-aefa-f2c9ed119e7c 2024-08-23 23:06:37,701 - DEBUG - VM ctest-TestBasicVMVNx-16100113-25311646 launched on Node cn-jenkins-deploy-platform-ansible-os-1733-1 2024-08-23 23:06:37,777 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/9f89c6fc-e5df-441c-aefa-f2c9ed119e7c 2024-08-23 23:06:37,786 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/a4084360-3772-45d2-9360-458d60821bf5 2024-08-23 23:06:41,053 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1031ms') 2024-08-23 23:06:41,053 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-16100113-25311646 failed! 2024-08-23 23:06:41,105 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-16100113:ctest-vn-26171337 is 177.46.180.65 and allocation pool is NOT set 2024-08-23 23:06:43,167 - 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.13 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.398 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.398/1.765/3.132/1.367 ms') 2024-08-23 23:06:43,167 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-16100113-25311646 passed 2024-08-23 23:06:43,321 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-23 23:06:43,321 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-16100113-25311646, IP 177.46.180.68, Port 22 2024-08-23 23:06:43,484 - DEBUG - VM ctest-TestBasicVMVNx-16100113-25311646 is ready for SSH connections 2024-08-23 23:06:43,484 - DEBUG - FILE SIZE = 1303B 2024-08-23 23:06:43,484 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-16100113-56642467 to ctest-TestBasicVMVNx-16100113-25311646 using scp 2024-08-23 23:06:43,485 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-23 23:06:43,490 - 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.31, gateway password: c0ntrail123 2024-08-23 23:06:43,490 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-08-23 23:06:45,077 - DEBUG - 1+0 records in 1+0 records out 2024-08-23 23:06:45,670 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-23 23:06:45,993 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.31, gateway password: c0ntrail123 2024-08-23 23:06:45,994 - DEBUG - ls -l testfile 2024-08-23 23:06:47,536 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 23 17:06 testfile 2024-08-23 23:06:47,536 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-16100113-25311646 2024-08-23 23:06:47,536 - INFO - Deleting VM ctest-TestBasicVMVNx-16100113-25311646 2024-08-23 23:06:48,305 - INFO - Deleting VM ctest-TestBasicVMVNx-16100113-56642467 2024-08-23 23:06:48,379 - INFO - Deleting VN ctest-vn-26171337 2024-08-23 23:06:48,419 - DEBUG - VN 44640eb2-2079-47e0-a1df-6076689338d5 still in use: Unable to complete operation on network 44640eb2-2079-47e0-a1df-6076689338d5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9f8958a0-df8d-4945-9106-caa321dd2253'] 2024-08-23 23:06:48,419 - WARNING - Deleting VN ctest-vn-26171337 failed..Will retry 2024-08-23 23:06:51,629 - DEBUG - Response for deleting network () 2024-08-23 23:06:51,887 - DEBUG - No XMPP flaps were noticed during the test
2024-08-23 23:06:51,888 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:29]
2024-08-23 23:06:51,888 - INFO - -------------------------------------------------------------------------------- 2024-08-23 23:06:54,844 - INFO - Deleted project: ctest-TestBasicVMVNx-16100113, ID : 73e9a0c7-ebab-46e3-bb82-5cfbb6346864