2025-02-11 06:58:55,267 - INFO - Domain Default found not creating 2025-02-11 06:58:55,414 - INFO - Project ctest-TestBasicVMVNx-65204645 not found, creating it 2025-02-11 06:58:55,886 - INFO - Created Project:ctest-TestBasicVMVNx-65204645, ID : 25b6481f-4788-487f-bc2a-adebc09eba84 2025-02-11 06:58:57,296 - INFO - ================================================================================ 2025-02-11 06:58:57,296 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-02-11 06:58:57,296 - 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-02-11 06:58:57,552 - DEBUG - Nothing to compare xmpp stats {'10.0.0.31': {'10.20.0.13': '0'}} with 2025-02-11 06:58:57,552 - INFO - Initial checks done. Running the testcase now 2025-02-11 06:58:57,552 - INFO - 2025-02-11 06:58:58,088 - DEBUG - Response for create_network : {'network': {'id': '924a772e-d176-4614-b731-4144afc13ddb', 'name': 'ctest-vn-16540203', 'tenant_id': '25b6481f4788487fbc2aadebc09eba84', 'project_id': '25b6481f4788487fbc2aadebc09eba84', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-65204645', 'ctest-vn-16540203'], 'port_security_enabled': True, 'description': ''}} 2025-02-11 06:58:58,315 - DEBUG - Response for create_subnet : {'subnet': {'id': '7abf2e39-aab9-431f-b5a6-ed5b91f7fc42', 'name': '', 'tenant_id': '25b6481f4788487fbc2aadebc09eba84', 'network_id': '924a772e-d176-4614-b731-4144afc13ddb', 'ip_version': 4, 'cidr': '205.30.1.128/26', 'allocation_pools': [{'start': '205.30.1.130', 'end': '205.30.1.190'}], 'gateway_ip': '205.30.1.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '205.30.1.130', 'tags': [], 'project_id': '25b6481f4788487fbc2aadebc09eba84'}} 2025-02-11 06:58:58,335 - INFO - Created VN ctest-vn-16540203 2025-02-11 06:58:58,390 - DEBUG - VN ctest-vn-16540203 UUID is 924a772e-d176-4614-b731-4144afc13ddb 2025-02-11 06:58:58,595 - DEBUG - Services list from nova: [, , ] 2025-02-11 06:58:59,606 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2717-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2717-1) 2025-02-11 06:59:00,782 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2717-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2717-1) 2025-02-11 06:59:00,783 - INFO - Waiting for VM ctest-TestBasicVMVNx-65204645-11147328 to be up.. 2025-02-11 06:59:00,872 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-11 06:59:05,955 - DEBUG - VM is in ACTIVE state now 2025-02-11 06:59:05,955 - INFO - VM name : ctest-TestBasicVMVNx-65204645-11147328 2025-02-11 06:59:06,030 - DEBUG - VM ctest-TestBasicVMVNx-65204645-11147328 ID is d3f7c755-58da-4b66-a41e-331be78e357f 2025-02-11 06:59:06,049 - DEBUG - VM ctest-TestBasicVMVNx-65204645-11147328 launched on Node cn-jenkins-deploy-platform-ansible-os-2717-1 2025-02-11 06:59:06,121 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/d3f7c755-58da-4b66-a41e-331be78e357f 2025-02-11 06:59:06,413 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/d3f7c755-58da-4b66-a41e-331be78e357f 2025-02-11 06:59:06,444 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/88bca0cc-bcdd-4041-884e-138814fc5bea 2025-02-11 06:59:09,715 - 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 1035ms') 2025-02-11 06:59:09,715 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-65204645-11147328 failed! 2025-02-11 06:59:09,770 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-65204645:ctest-vn-16540203 is 205.30.1.129 and allocation pool is NOT set 2025-02-11 06:59:11,827 - 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.02 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.422 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.422/1.720/3.019/1.298 ms') 2025-02-11 06:59:11,827 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-65204645-11147328 passed 2025-02-11 06:59:11,986 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-11 06:59:11,986 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-65204645-11147328, IP 205.30.1.131, Port 22 2025-02-11 06:59:12,141 - DEBUG - VM ctest-TestBasicVMVNx-65204645-11147328 is ready for SSH connections 2025-02-11 06:59:12,141 - INFO - Waiting for VM ctest-TestBasicVMVNx-65204645-48476956 to be up.. 2025-02-11 06:59:12,214 - DEBUG - VM is in ACTIVE state now 2025-02-11 06:59:12,214 - INFO - VM name : ctest-TestBasicVMVNx-65204645-48476956 2025-02-11 06:59:12,284 - DEBUG - VM ctest-TestBasicVMVNx-65204645-48476956 ID is 690e5221-4e94-43b3-8f1d-61578deb2a2f 2025-02-11 06:59:12,284 - DEBUG - VM ctest-TestBasicVMVNx-65204645-48476956 launched on Node cn-jenkins-deploy-platform-ansible-os-2717-1 2025-02-11 06:59:12,355 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/690e5221-4e94-43b3-8f1d-61578deb2a2f 2025-02-11 06:59:12,365 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/e27a0970-ed59-4051-b9ee-21805a4c6588 2025-02-11 06:59:13,618 - 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=4.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.00 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 = 2.004/3.417/4.830/1.413 ms') 2025-02-11 06:59:13,618 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-65204645-48476956 passed 2025-02-11 06:59:13,766 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-11 06:59:13,766 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-65204645-48476956, IP 205.30.1.132, Port 22 2025-02-11 06:59:13,926 - DEBUG - VM ctest-TestBasicVMVNx-65204645-48476956 is ready for SSH connections 2025-02-11 06:59:13,926 - DEBUG - FILE SIZE = 1303B 2025-02-11 06:59:13,926 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-65204645-11147328 to ctest-TestBasicVMVNx-65204645-48476956 using scp 2025-02-11 06:59:13,927 - 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 2025-02-11 06:59:13,927 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-02-11 06:59:15,787 - DEBUG - 1+0 records in 1+0 records out 2025-02-11 06:59:16,383 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-11 06:59:16,703 - 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 2025-02-11 06:59:16,704 - DEBUG - ls -l testfile 2025-02-11 06:59:18,261 - DEBUG - -rw------- 1 cirros cirros 1303 Feb 10 23:59 testfile 2025-02-11 06:59:18,261 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-65204645-48476956 2025-02-11 06:59:18,261 - INFO - Deleting VM ctest-TestBasicVMVNx-65204645-48476956 2025-02-11 06:59:18,323 - INFO - Deleting VM ctest-TestBasicVMVNx-65204645-11147328 2025-02-11 06:59:18,382 - INFO - Deleting VN ctest-vn-16540203 2025-02-11 06:59:18,419 - DEBUG - VN 924a772e-d176-4614-b731-4144afc13ddb still in use: Unable to complete operation on network 924a772e-d176-4614-b731-4144afc13ddb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-edefd840-5f86-4b1a-963b-09e0e2757e15'] 2025-02-11 06:59:18,419 - WARNING - Deleting VN ctest-vn-16540203 failed..Will retry 2025-02-11 06:59:20,521 - DEBUG - Response for deleting network () 2025-02-11 06:59:20,777 - DEBUG - No XMPP flaps were noticed during the test 2025-02-11 06:59:20,777 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23] 2025-02-11 06:59:20,777 - INFO - -------------------------------------------------------------------------------- 2025-02-11 06:59:21,432 - INFO - Deleted project: ctest-TestBasicVMVNx-65204645, ID : 25b6481f-4788-487f-bc2a-adebc09eba84