2024-09-09 23:06:24,236 - INFO - Domain Default found not creating
2024-09-09 23:06:24,386 - INFO - Project ctest-TestBasicVMVNx-77794409 not found, creating it
2024-09-09 23:06:24,890 - INFO - Created Project:ctest-TestBasicVMVNx-77794409, ID : 08b0ea51-ef3c-476f-be81-6e6cd7c95653
2024-09-09 23:06:26,363 - INFO - ================================================================================
2024-09-09 23:06:26,364 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2024-09-09 23:06:26,364 - 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-09 23:06:26,618 - DEBUG - Nothing to compare xmpp stats {'10.0.0.42': {'10.20.0.19': '0'}} with
2024-09-09 23:06:26,619 - INFO - Initial checks done. Running the testcase now
2024-09-09 23:06:26,619 - INFO -
2024-09-09 23:06:27,171 - DEBUG - Response for create_network : {'network': {'id': '406d6033-a349-42a3-af62-7ff580ab6bb7', 'name': 'ctest-vn-32424838', 'tenant_id': '08b0ea51ef3c476fbe816e6cd7c95653', 'project_id': '08b0ea51ef3c476fbe816e6cd7c95653', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-77794409', 'ctest-vn-32424838'], 'port_security_enabled': True, 'description': ''}}
2024-09-09 23:06:27,364 - DEBUG - Response for create_subnet : {'subnet': {'id': '91a68a36-a8fd-43b4-a8a2-83b6f5d5d7c5', 'name': '', 'tenant_id': '08b0ea51ef3c476fbe816e6cd7c95653', 'network_id': '406d6033-a349-42a3-af62-7ff580ab6bb7', 'ip_version': 4, 'cidr': '201.51.0.192/26', 'allocation_pools': [{'start': '201.51.0.194', 'end': '201.51.0.254'}], 'gateway_ip': '201.51.0.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '201.51.0.194', 'tags': [], 'project_id': '08b0ea51ef3c476fbe816e6cd7c95653'}}
2024-09-09 23:06:27,383 - INFO - Created VN ctest-vn-32424838
2024-09-09 23:06:27,432 - DEBUG - VN ctest-vn-32424838 UUID is 406d6033-a349-42a3-af62-7ff580ab6bb7
2024-09-09 23:06:27,598 - DEBUG - Services list from nova: [, , ]
2024-09-09 23:06:28,716 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1879-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1879-1)
2024-09-09 23:06:29,800 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1879-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1879-1)
2024-09-09 23:06:29,800 - INFO - Waiting for VM ctest-TestBasicVMVNx-77794409-71171207 to be up..
2024-09-09 23:06:29,880 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-09-09 23:06:34,960 - DEBUG - VM is in ACTIVE state now
2024-09-09 23:06:34,960 - INFO - VM name : ctest-TestBasicVMVNx-77794409-71171207
2024-09-09 23:06:35,038 - DEBUG - VM ctest-TestBasicVMVNx-77794409-71171207 ID is 10d7274a-03b9-4111-af23-16680f4e5786
2024-09-09 23:06:35,060 - DEBUG - VM ctest-TestBasicVMVNx-77794409-71171207 launched on Node cn-jenkins-deploy-platform-ansible-os-1879-1
2024-09-09 23:06:35,136 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/10d7274a-03b9-4111-af23-16680f4e5786
2024-09-09 23:06:35,437 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/10d7274a-03b9-4111-af23-16680f4e5786
2024-09-09 23:06:35,470 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/88493794-871a-42f2-8219-b6bfa4764809
2024-09-09 23:06:38,709 - 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 1004ms')
2024-09-09 23:06:38,709 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-77794409-71171207 failed!
2024-09-09 23:06:38,760 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-77794409:ctest-vn-32424838 is 201.51.0.193 and allocation pool is NOT set
2024-09-09 23:06:40,826 - 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=3.12 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.461 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.461/1.792/3.124/1.331 ms')
2024-09-09 23:06:40,826 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-77794409-71171207 passed
2024-09-09 23:06:40,976 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-09-09 23:06:40,977 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-77794409-71171207, IP 201.51.0.195, Port 22
2024-09-09 23:06:41,132 - DEBUG - VM ctest-TestBasicVMVNx-77794409-71171207 is ready for SSH connections
2024-09-09 23:06:41,132 - INFO - Waiting for VM ctest-TestBasicVMVNx-77794409-92249092 to be up..
2024-09-09 23:06:41,208 - DEBUG - VM is in ACTIVE state now
2024-09-09 23:06:41,208 - INFO - VM name : ctest-TestBasicVMVNx-77794409-92249092
2024-09-09 23:06:41,279 - DEBUG - VM ctest-TestBasicVMVNx-77794409-92249092 ID is fa1301d6-e66f-4681-a196-db757e42139a
2024-09-09 23:06:41,280 - DEBUG - VM ctest-TestBasicVMVNx-77794409-92249092 launched on Node cn-jenkins-deploy-platform-ansible-os-1879-1
2024-09-09 23:06:41,352 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/fa1301d6-e66f-4681-a196-db757e42139a
2024-09-09 23:06:41,360 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/68943d9c-4f8a-4f4b-b8f6-f7b535f54e2e
2024-09-09 23:06:42,597 - 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.30 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.367 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.367/1.833/3.299/1.466 ms')
2024-09-09 23:06:42,597 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-77794409-92249092 passed
2024-09-09 23:06:42,748 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-09-09 23:06:42,748 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-77794409-92249092, IP 201.51.0.196, Port 22
2024-09-09 23:06:42,904 - DEBUG - VM ctest-TestBasicVMVNx-77794409-92249092 is ready for SSH connections
2024-09-09 23:06:42,904 - DEBUG - FILE SIZE = 1303B
2024-09-09 23:06:42,904 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-77794409-71171207 to ctest-TestBasicVMVNx-77794409-92249092 using scp
2024-09-09 23:06:42,905 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-09-09 23:06:42,910 - 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.42, gateway password: c0ntrail123
2024-09-09 23:06:42,910 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2024-09-09 23:06:44,783 - DEBUG - 1+0 records in
1+0 records out
2024-09-09 23:06:45,386 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-09-09 23:06:45,704 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.42, gateway password: c0ntrail123
2024-09-09 23:06:45,705 - DEBUG - ls -l testfile
2024-09-09 23:06:47,260 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 9 17:06 [0;0mtestfile[0m
2024-09-09 23:06:47,260 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-77794409-92249092
2024-09-09 23:06:47,260 - INFO - Deleting VM ctest-TestBasicVMVNx-77794409-92249092
2024-09-09 23:06:47,323 - INFO - Deleting VM ctest-TestBasicVMVNx-77794409-71171207
2024-09-09 23:06:47,384 - INFO - Deleting VN ctest-vn-32424838
2024-09-09 23:06:47,423 - DEBUG - VN 406d6033-a349-42a3-af62-7ff580ab6bb7 still in use: Unable to complete operation on network 406d6033-a349-42a3-af62-7ff580ab6bb7. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-cd0712ad-1081-46d6-8d1a-5be4a58321ee']
2024-09-09 23:06:47,423 - WARNING - Deleting VN ctest-vn-32424838 failed..Will retry
2024-09-09 23:06:49,530 - DEBUG - Response for deleting network ()
2024-09-09 23:06:49,790 - DEBUG - No XMPP flaps were noticed during the test
2024-09-09 23:06:49,790 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2024-09-09 23:06:49,791 - INFO - --------------------------------------------------------------------------------
2024-09-09 23:06:50,463 - INFO - Deleted project: ctest-TestBasicVMVNx-77794409, ID : 08b0ea51-ef3c-476f-be81-6e6cd7c95653