2024-09-16 02:20:36,888 - INFO - Domain Default found not creating 2024-09-16 02:20:37,034 - INFO - Project ctest-TestBasicVMVNx-90451784 not found, creating it 2024-09-16 02:20:37,513 - INFO - Created Project:ctest-TestBasicVMVNx-90451784, ID : 83e7c9d1-a34a-414b-98b3-dd77c24ab5b7 2024-09-16 02:20:38,964 - INFO - ================================================================================ 2024-09-16 02:20:38,964 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-16 02:20:38,965 - 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-16 02:20:39,215 - DEBUG - Nothing to compare xmpp stats {'10.0.0.17': {'10.20.0.18': '0'}} with 2024-09-16 02:20:39,216 - INFO - Initial checks done. Running the testcase now 2024-09-16 02:20:39,216 - INFO - 2024-09-16 02:20:39,763 - DEBUG - Response for create_network : {'network': {'id': 'ed89f511-3a15-4337-9928-c8a20cc92485', 'name': 'ctest-vn-21219135', 'tenant_id': '83e7c9d1a34a414b98b3dd77c24ab5b7', 'project_id': '83e7c9d1a34a414b98b3dd77c24ab5b7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-90451784', 'ctest-vn-21219135'], 'port_security_enabled': True, 'description': ''}} 2024-09-16 02:20:39,943 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f620b6fc-2b89-49b4-859d-d072df042400', 'name': '', 'tenant_id': '83e7c9d1a34a414b98b3dd77c24ab5b7', 'network_id': 'ed89f511-3a15-4337-9928-c8a20cc92485', 'ip_version': 4, 'cidr': '78.224.150.64/26', 'allocation_pools': [{'start': '78.224.150.66', 'end': '78.224.150.126'}], 'gateway_ip': '78.224.150.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '78.224.150.66', 'tags': [], 'project_id': '83e7c9d1a34a414b98b3dd77c24ab5b7'}} 2024-09-16 02:20:39,962 - INFO - Created VN ctest-vn-21219135 2024-09-16 02:20:40,018 - DEBUG - VN ctest-vn-21219135 UUID is ed89f511-3a15-4337-9928-c8a20cc92485 2024-09-16 02:20:40,220 - DEBUG - Services list from nova: [, , ] 2024-09-16 02:20:41,229 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1944-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1944-1) 2024-09-16 02:20:42,333 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1944-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1944-1) 2024-09-16 02:20:42,334 - INFO - Waiting for VM ctest-TestBasicVMVNx-90451784-79228218 to be up.. 2024-09-16 02:20:42,423 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-16 02:20:47,506 - DEBUG - VM is in ACTIVE state now 2024-09-16 02:20:47,506 - INFO - VM name : ctest-TestBasicVMVNx-90451784-79228218 2024-09-16 02:20:47,582 - DEBUG - VM ctest-TestBasicVMVNx-90451784-79228218 ID is 20336cca-5c6b-416f-8a1e-6e6fd4659bd8 2024-09-16 02:20:47,600 - DEBUG - VM ctest-TestBasicVMVNx-90451784-79228218 launched on Node cn-jenkins-deploy-platform-ansible-os-1944-1 2024-09-16 02:20:47,674 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/20336cca-5c6b-416f-8a1e-6e6fd4659bd8 2024-09-16 02:20:47,969 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/20336cca-5c6b-416f-8a1e-6e6fd4659bd8 2024-09-16 02:20:48,003 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/aeae8c53-5429-436b-aef1-24006102813b 2024-09-16 02:20:51,256 - 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 1011ms') 2024-09-16 02:20:51,256 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-90451784-79228218 failed! 2024-09-16 02:20:51,319 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-90451784:ctest-vn-21219135 is 78.224.150.65 and allocation pool is NOT set 2024-09-16 02:20:53,380 - 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.74 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.389 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.389/1.564/2.740/1.175 ms') 2024-09-16 02:20:53,381 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-90451784-79228218 passed 2024-09-16 02:20:53,538 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-16 02:20:53,538 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-90451784-79228218, IP 78.224.150.67, Port 22 2024-09-16 02:20:53,689 - DEBUG - VM ctest-TestBasicVMVNx-90451784-79228218 is ready for SSH connections 2024-09-16 02:20:53,689 - INFO - Waiting for VM ctest-TestBasicVMVNx-90451784-07033299 to be up.. 2024-09-16 02:20:53,780 - DEBUG - VM is in ACTIVE state now 2024-09-16 02:20:53,780 - INFO - VM name : ctest-TestBasicVMVNx-90451784-07033299 2024-09-16 02:20:53,863 - DEBUG - VM ctest-TestBasicVMVNx-90451784-07033299 ID is babac237-bfdb-47ab-bbfd-fc2e4140f445 2024-09-16 02:20:53,863 - DEBUG - VM ctest-TestBasicVMVNx-90451784-07033299 launched on Node cn-jenkins-deploy-platform-ansible-os-1944-1 2024-09-16 02:20:53,943 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/babac237-bfdb-47ab-bbfd-fc2e4140f445 2024-09-16 02:20:53,954 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/e85de2b6-aed2-4df5-9d29-4de83da3e743 2024-09-16 02:20:55,206 - 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.80 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.627 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.627/1.711/2.795/1.084 ms') 2024-09-16 02:20:55,206 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-90451784-07033299 passed 2024-09-16 02:20:55,362 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-16 02:20:55,362 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-90451784-07033299, IP 78.224.150.68, Port 22 2024-09-16 02:20:55,513 - DEBUG - VM ctest-TestBasicVMVNx-90451784-07033299 is ready for SSH connections 2024-09-16 02:20:55,513 - DEBUG - FILE SIZE = 1303B 2024-09-16 02:20:55,513 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-90451784-79228218 to ctest-TestBasicVMVNx-90451784-07033299 using scp 2024-09-16 02:20:55,514 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-16 02:20:55,519 - 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.17, gateway password: c0ntrail123 2024-09-16 02:20:55,519 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-16 02:20:57,386 - DEBUG - 1+0 records in 1+0 records out 2024-09-16 02:20:57,964 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-16 02:20:58,270 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123 2024-09-16 02:20:58,270 - DEBUG - ls -l testfile 2024-09-16 02:20:59,825 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 15 20:20 testfile 2024-09-16 02:20:59,825 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-90451784-07033299 2024-09-16 02:20:59,826 - INFO - Deleting VM ctest-TestBasicVMVNx-90451784-07033299 2024-09-16 02:20:59,984 - INFO - Deleting VM ctest-TestBasicVMVNx-90451784-79228218 2024-09-16 02:21:00,054 - INFO - Deleting VN ctest-vn-21219135 2024-09-16 02:21:00,090 - DEBUG - VN ed89f511-3a15-4337-9928-c8a20cc92485 still in use: Unable to complete operation on network ed89f511-3a15-4337-9928-c8a20cc92485. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d3b0270a-fb66-4c79-befe-930c29dea721'] 2024-09-16 02:21:00,090 - WARNING - Deleting VN ctest-vn-21219135 failed..Will retry 2024-09-16 02:21:02,195 - DEBUG - Response for deleting network () 2024-09-16 02:21:02,448 - DEBUG - No XMPP flaps were noticed during the test 2024-09-16 02:21:02,448 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2024-09-16 02:21:02,448 - INFO - -------------------------------------------------------------------------------- 2024-09-16 02:21:03,145 - INFO - Deleted project: ctest-TestBasicVMVNx-90451784, ID : 83e7c9d1-a34a-414b-98b3-dd77c24ab5b7