2024-09-06 18:10:15,761 - INFO - Domain Default found not creating 2024-09-06 18:10:15,910 - INFO - Project ctest-TestBasicVMVNx-06959004 not found, creating it 2024-09-06 18:10:16,384 - INFO - Created Project:ctest-TestBasicVMVNx-06959004, ID : 23d97482-325d-4d27-901f-ac6ffa9458a9 2024-09-06 18:10:17,843 - INFO - ================================================================================ 2024-09-06 18:10:17,843 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-06 18:10:17,843 - 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-06 18:10:18,097 - DEBUG - Nothing to compare xmpp stats {'10.0.0.34': {'10.20.0.23': '0'}} with 2024-09-06 18:10:18,097 - INFO - Initial checks done. Running the testcase now 2024-09-06 18:10:18,097 - INFO - 2024-09-06 18:10:18,673 - DEBUG - Response for create_network : {'network': {'id': '4a405441-c67b-4684-841b-8c7160e42409', 'name': 'ctest-vn-21137591', 'tenant_id': '23d97482325d4d27901fac6ffa9458a9', 'project_id': '23d97482325d4d27901fac6ffa9458a9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-06959004', 'ctest-vn-21137591'], 'port_security_enabled': True, 'description': ''}} 2024-09-06 18:10:18,902 - DEBUG - Response for create_subnet : {'subnet': {'id': '935522ce-433d-41ed-a9e6-ad41a9f33a2a', 'name': '', 'tenant_id': '23d97482325d4d27901fac6ffa9458a9', 'network_id': '4a405441-c67b-4684-841b-8c7160e42409', 'ip_version': 4, 'cidr': '188.34.18.64/26', 'allocation_pools': [{'start': '188.34.18.66', 'end': '188.34.18.126'}], 'gateway_ip': '188.34.18.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '188.34.18.66', 'tags': [], 'project_id': '23d97482325d4d27901fac6ffa9458a9'}} 2024-09-06 18:10:18,921 - INFO - Created VN ctest-vn-21137591 2024-09-06 18:10:18,983 - DEBUG - VN ctest-vn-21137591 UUID is 4a405441-c67b-4684-841b-8c7160e42409 2024-09-06 18:10:19,203 - DEBUG - Services list from nova: [, , ] 2024-09-06 18:10:20,264 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1868-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1868-1) 2024-09-06 18:10:21,496 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1868-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1868-1) 2024-09-06 18:10:21,496 - INFO - Waiting for VM ctest-TestBasicVMVNx-06959004-03656155 to be up.. 2024-09-06 18:10:21,588 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-06 18:10:26,675 - DEBUG - VM is in ACTIVE state now 2024-09-06 18:10:26,675 - INFO - VM name : ctest-TestBasicVMVNx-06959004-03656155 2024-09-06 18:10:26,758 - DEBUG - VM ctest-TestBasicVMVNx-06959004-03656155 ID is 3143d293-28c4-4e7b-aecc-e7da4c87c9d1 2024-09-06 18:10:26,778 - DEBUG - VM ctest-TestBasicVMVNx-06959004-03656155 launched on Node cn-jenkins-deploy-platform-ansible-os-1868-1 2024-09-06 18:10:26,853 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/3143d293-28c4-4e7b-aecc-e7da4c87c9d1 2024-09-06 18:10:27,147 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/3143d293-28c4-4e7b-aecc-e7da4c87c9d1 2024-09-06 18:10:27,181 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine-interface/0e36703f-755f-4d1a-80eb-ad0c4d064a49 2024-09-06 18:10:30,445 - 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 1015ms') 2024-09-06 18:10:30,445 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-06959004-03656155 failed! 2024-09-06 18:10:30,503 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-06959004:ctest-vn-21137591 is 188.34.18.65 and allocation pool is NOT set 2024-09-06 18:10:32,560 - 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.88 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.421 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.421/1.651/2.881/1.230 ms') 2024-09-06 18:10:32,560 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-06959004-03656155 passed 2024-09-06 18:10:32,715 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-06 18:10:32,715 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-06959004-03656155, IP 188.34.18.67, Port 22 2024-09-06 18:10:32,870 - DEBUG - VM ctest-TestBasicVMVNx-06959004-03656155 is ready for SSH connections 2024-09-06 18:10:32,870 - INFO - Waiting for VM ctest-TestBasicVMVNx-06959004-07965395 to be up.. 2024-09-06 18:10:32,956 - DEBUG - VM is in ACTIVE state now 2024-09-06 18:10:32,956 - INFO - VM name : ctest-TestBasicVMVNx-06959004-07965395 2024-09-06 18:10:33,044 - DEBUG - VM ctest-TestBasicVMVNx-06959004-07965395 ID is 738ee264-aa84-4c20-a9e0-ac0ac4e450fd 2024-09-06 18:10:33,045 - DEBUG - VM ctest-TestBasicVMVNx-06959004-07965395 launched on Node cn-jenkins-deploy-platform-ansible-os-1868-1 2024-09-06 18:10:33,127 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/738ee264-aa84-4c20-a9e0-ac0ac4e450fd 2024-09-06 18:10:33,136 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine-interface/5139c9c8-e440-4181-8bed-74667bf8d447 2024-09-06 18:10:34,397 - 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.61 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.23 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 = 1.231/2.421/3.612/1.190 ms') 2024-09-06 18:10:34,398 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-06959004-07965395 passed 2024-09-06 18:10:34,551 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-06 18:10:34,551 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-06959004-07965395, IP 188.34.18.68, Port 22 2024-09-06 18:10:34,707 - DEBUG - VM ctest-TestBasicVMVNx-06959004-07965395 is ready for SSH connections 2024-09-06 18:10:34,707 - DEBUG - FILE SIZE = 1303B 2024-09-06 18:10:34,707 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-06959004-03656155 to ctest-TestBasicVMVNx-06959004-07965395 using scp 2024-09-06 18:10:34,707 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-06 18:10:34,713 - 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.34, gateway password: c0ntrail123 2024-09-06 18:10:34,713 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-06 18:10:36,626 - DEBUG - 1+0 records in 1+0 records out 2024-09-06 18:10:37,194 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-06 18:10:37,518 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.34, gateway password: c0ntrail123 2024-09-06 18:10:37,519 - DEBUG - ls -l testfile 2024-09-06 18:10:39,084 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 6 12:10 testfile 2024-09-06 18:10:39,084 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-06959004-07965395 2024-09-06 18:10:39,085 - INFO - Deleting VM ctest-TestBasicVMVNx-06959004-07965395 2024-09-06 18:10:39,163 - INFO - Deleting VM ctest-TestBasicVMVNx-06959004-03656155 2024-09-06 18:10:39,226 - INFO - Deleting VN ctest-vn-21137591 2024-09-06 18:10:39,269 - DEBUG - VN 4a405441-c67b-4684-841b-8c7160e42409 still in use: Unable to complete operation on network 4a405441-c67b-4684-841b-8c7160e42409. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-410969f3-b80f-4151-994a-3a293bcbbf47'] 2024-09-06 18:10:39,269 - WARNING - Deleting VN ctest-vn-21137591 failed..Will retry 2024-09-06 18:10:41,385 - DEBUG - Response for deleting network () 2024-09-06 18:10:41,642 - DEBUG - No XMPP flaps were noticed during the test
2024-09-06 18:10:41,643 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2024-09-06 18:10:41,643 - INFO - -------------------------------------------------------------------------------- 2024-09-06 18:10:42,352 - INFO - Deleted project: ctest-TestBasicVMVNx-06959004, ID : 23d97482-325d-4d27-901f-ac6ffa9458a9