2025-04-09 12:33:41,675 - INFO - Domain Default found not creating 2025-04-09 12:33:41,833 - INFO - Project ctest-TestBasicVMVNx-39374475 not found, creating it 2025-04-09 12:33:42,311 - INFO - Created Project:ctest-TestBasicVMVNx-39374475, ID : 498121be-4d7d-4dce-872b-a8579b1dce19 2025-04-09 12:33:43,769 - INFO - ================================================================================ 2025-04-09 12:33:43,769 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-04-09 12:33:43,769 - 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 2025-04-09 12:33:44,028 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-04-09 12:33:44,028 - INFO - Initial checks done. Running the testcase now 2025-04-09 12:33:44,028 - INFO - 2025-04-09 12:33:44,592 - DEBUG - Response for create_network : {'network': {'id': '9dc1c6ae-1170-4bc9-a0f2-ba7b7adc7490', 'name': 'ctest-vn-88761717', 'tenant_id': '498121be4d7d4dce872ba8579b1dce19', 'project_id': '498121be4d7d4dce872ba8579b1dce19', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-39374475', 'ctest-vn-88761717'], 'port_security_enabled': True, 'description': ''}} 2025-04-09 12:33:44,785 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f70b7ca0-3c15-430f-824e-bbb98029dd2e', 'name': '', 'tenant_id': '498121be4d7d4dce872ba8579b1dce19', 'network_id': '9dc1c6ae-1170-4bc9-a0f2-ba7b7adc7490', 'ip_version': 4, 'cidr': '172.115.223.0/26', 'allocation_pools': [{'start': '172.115.223.2', 'end': '172.115.223.62'}], 'gateway_ip': '172.115.223.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '172.115.223.2', 'tags': [], 'project_id': '498121be4d7d4dce872ba8579b1dce19'}} 2025-04-09 12:33:44,806 - INFO - Created VN ctest-vn-88761717 2025-04-09 12:33:44,862 - DEBUG - VN ctest-vn-88761717 UUID is 9dc1c6ae-1170-4bc9-a0f2-ba7b7adc7490 2025-04-09 12:33:45,039 - DEBUG - Services list from nova: [, , ] 2025-04-09 12:33:46,079 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3064-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3064-1) 2025-04-09 12:33:47,222 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3064-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3064-1) 2025-04-09 12:33:47,222 - INFO - Waiting for VM ctest-TestBasicVMVNx-39374475-15129335 to be up.. 2025-04-09 12:33:47,324 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-09 12:33:52,406 - DEBUG - VM is in ACTIVE state now 2025-04-09 12:33:52,406 - INFO - VM name : ctest-TestBasicVMVNx-39374475-15129335 2025-04-09 12:33:52,489 - DEBUG - VM ctest-TestBasicVMVNx-39374475-15129335 ID is b519867a-e410-4cbd-8cf3-922488a8213c 2025-04-09 12:33:52,509 - DEBUG - VM ctest-TestBasicVMVNx-39374475-15129335 launched on Node cn-jenkins-deploy-platform-ansible-os-3064-1 2025-04-09 12:33:52,594 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/b519867a-e410-4cbd-8cf3-922488a8213c 2025-04-09 12:33:52,891 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/b519867a-e410-4cbd-8cf3-922488a8213c 2025-04-09 12:33:52,925 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/d1890a3d-5f0c-43c7-b921-785815e5621f 2025-04-09 12:33:56,195 - 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 1022ms') 2025-04-09 12:33:56,195 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-39374475-15129335 failed! 2025-04-09 12:33:56,254 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-39374475:ctest-vn-88761717 is 172.115.223.1 and allocation pool is NOT set 2025-04-09 12:33:58,321 - 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=4.26 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.10 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 = 2.102/3.181/4.260/1.079 ms') 2025-04-09 12:33:58,321 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-39374475-15129335 passed 2025-04-09 12:33:58,474 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-09 12:33:58,474 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-39374475-15129335, IP 172.115.223.3, Port 22 2025-04-09 12:33:58,633 - DEBUG - VM ctest-TestBasicVMVNx-39374475-15129335 is ready for SSH connections 2025-04-09 12:33:58,633 - INFO - Waiting for VM ctest-TestBasicVMVNx-39374475-35669230 to be up.. 2025-04-09 12:33:58,721 - DEBUG - VM is in ACTIVE state now 2025-04-09 12:33:58,721 - INFO - VM name : ctest-TestBasicVMVNx-39374475-35669230 2025-04-09 12:33:58,801 - DEBUG - VM ctest-TestBasicVMVNx-39374475-35669230 ID is e97a709d-b402-497d-8bb1-82a1d2b278a1 2025-04-09 12:33:58,801 - DEBUG - VM ctest-TestBasicVMVNx-39374475-35669230 launched on Node cn-jenkins-deploy-platform-ansible-os-3064-1 2025-04-09 12:33:58,979 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/e97a709d-b402-497d-8bb1-82a1d2b278a1 2025-04-09 12:33:58,988 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/a0d7ab45-2b88-47d4-905c-4a7ffde4ad1b 2025-04-09 12:34:00,230 - 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.93 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.453 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.453/1.689/2.926/1.236 ms') 2025-04-09 12:34:00,230 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-39374475-35669230 passed 2025-04-09 12:34:00,386 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-09 12:34:00,386 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-39374475-35669230, IP 172.115.223.4, Port 22 2025-04-09 12:34:00,552 - DEBUG - VM ctest-TestBasicVMVNx-39374475-35669230 is ready for SSH connections 2025-04-09 12:34:00,552 - DEBUG - FILE SIZE = 1303B 2025-04-09 12:34:00,552 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-39374475-15129335 to ctest-TestBasicVMVNx-39374475-35669230 using scp 2025-04-09 12:34:00,553 - 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.50, gateway password: c0ntrail123 2025-04-09 12:34:00,554 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-04-09 12:34:02,492 - DEBUG - 1+0 records in 1+0 records out 2025-04-09 12:34:03,286 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-09 12:34:03,614 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-04-09 12:34:03,615 - DEBUG - ls -l testfile 2025-04-09 12:34:05,200 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 9 06:34 testfile 2025-04-09 12:34:05,200 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-39374475-35669230 2025-04-09 12:34:05,201 - INFO - Deleting VM ctest-TestBasicVMVNx-39374475-35669230 2025-04-09 12:34:05,283 - INFO - Deleting VM ctest-TestBasicVMVNx-39374475-15129335 2025-04-09 12:34:05,375 - INFO - Deleting VN ctest-vn-88761717 2025-04-09 12:34:05,425 - DEBUG - VN 9dc1c6ae-1170-4bc9-a0f2-ba7b7adc7490 still in use: Unable to complete operation on network 9dc1c6ae-1170-4bc9-a0f2-ba7b7adc7490. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6279bfdb-69f6-4a3a-a84e-cea7bbe52895'] 2025-04-09 12:34:05,425 - WARNING - Deleting VN ctest-vn-88761717 failed..Will retry 2025-04-09 12:34:07,538 - DEBUG - Response for deleting network () 2025-04-09 12:34:07,792 - DEBUG - No XMPP flaps were noticed during the test
2025-04-09 12:34:07,792 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-04-09 12:34:07,792 - INFO - -------------------------------------------------------------------------------- 2025-04-09 12:34:08,464 - INFO - Deleted project: ctest-TestBasicVMVNx-39374475, ID : 498121be-4d7d-4dce-872b-a8579b1dce19