2025-04-21 14:02:36,681 - INFO - Domain Default found not creating 2025-04-21 14:02:36,849 - INFO - Project ctest-TestBasicVMVNx-44769991 not found, creating it 2025-04-21 14:02:37,320 - INFO - Created Project:ctest-TestBasicVMVNx-44769991, ID : 6984ecfa-ecb9-4a22-8e84-b7d555452bf3 2025-04-21 14:02:38,786 - INFO - ================================================================================ 2025-04-21 14:02:38,786 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-04-21 14:02:38,787 - 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-21 14:02:39,052 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-04-21 14:02:39,052 - INFO - Initial checks done. Running the testcase now 2025-04-21 14:02:39,052 - INFO - 2025-04-21 14:02:39,618 - DEBUG - Response for create_network : {'network': {'id': '80db96d1-4b53-4f84-bf03-6d13c36c9636', 'name': 'ctest-vn-44444454', 'tenant_id': '6984ecfaecb94a228e84b7d555452bf3', 'project_id': '6984ecfaecb94a228e84b7d555452bf3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-44769991', 'ctest-vn-44444454'], 'port_security_enabled': True, 'description': ''}} 2025-04-21 14:02:39,821 - DEBUG - Response for create_subnet : {'subnet': {'id': '05c3015b-a46d-4289-898f-720c476aa4f0', 'name': '', 'tenant_id': '6984ecfaecb94a228e84b7d555452bf3', 'network_id': '80db96d1-4b53-4f84-bf03-6d13c36c9636', 'ip_version': 4, 'cidr': '107.130.74.64/26', 'allocation_pools': [{'start': '107.130.74.66', 'end': '107.130.74.126'}], 'gateway_ip': '107.130.74.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '107.130.74.66', 'tags': [], 'project_id': '6984ecfaecb94a228e84b7d555452bf3'}} 2025-04-21 14:02:39,839 - INFO - Created VN ctest-vn-44444454 2025-04-21 14:02:39,895 - DEBUG - VN ctest-vn-44444454 UUID is 80db96d1-4b53-4f84-bf03-6d13c36c9636 2025-04-21 14:02:40,077 - DEBUG - Services list from nova: [, , ] 2025-04-21 14:02:41,095 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3154-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3154-1) 2025-04-21 14:02:42,244 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3154-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3154-1) 2025-04-21 14:02:42,244 - INFO - Waiting for VM ctest-TestBasicVMVNx-44769991-87357689 to be up.. 2025-04-21 14:02:42,334 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-21 14:02:47,429 - DEBUG - VM is in ACTIVE state now 2025-04-21 14:02:47,429 - INFO - VM name : ctest-TestBasicVMVNx-44769991-87357689 2025-04-21 14:02:47,536 - DEBUG - VM ctest-TestBasicVMVNx-44769991-87357689 ID is 80b806db-7a14-45fe-ac4b-4ff12ca9b196 2025-04-21 14:02:47,578 - DEBUG - VM ctest-TestBasicVMVNx-44769991-87357689 launched on Node cn-jenkins-deploy-platform-ansible-os-3154-1 2025-04-21 14:02:47,668 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/80b806db-7a14-45fe-ac4b-4ff12ca9b196 2025-04-21 14:02:47,973 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/80b806db-7a14-45fe-ac4b-4ff12ca9b196 2025-04-21 14:02:48,009 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/16b1228d-7cc0-47cd-8212-85f5a0675dad 2025-04-21 14:02:51,294 - 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 1028ms') 2025-04-21 14:02:51,294 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-44769991-87357689 failed! 2025-04-21 14:02:51,347 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-44769991:ctest-vn-44444454 is 107.130.74.65 and allocation pool is NOT set 2025-04-21 14:02:53,407 - 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.69 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.438 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.438/2.064/3.691/1.626 ms') 2025-04-21 14:02:53,407 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-44769991-87357689 passed 2025-04-21 14:02:53,559 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-21 14:02:53,559 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-44769991-87357689, IP 107.130.74.67, Port 22 2025-04-21 14:02:53,715 - DEBUG - VM ctest-TestBasicVMVNx-44769991-87357689 is ready for SSH connections 2025-04-21 14:02:53,715 - INFO - Waiting for VM ctest-TestBasicVMVNx-44769991-04715475 to be up.. 2025-04-21 14:02:53,797 - DEBUG - VM is in ACTIVE state now 2025-04-21 14:02:53,797 - INFO - VM name : ctest-TestBasicVMVNx-44769991-04715475 2025-04-21 14:02:53,874 - DEBUG - VM ctest-TestBasicVMVNx-44769991-04715475 ID is a5bb4b84-1a70-4191-861f-7292c62b0d0b 2025-04-21 14:02:53,874 - DEBUG - VM ctest-TestBasicVMVNx-44769991-04715475 launched on Node cn-jenkins-deploy-platform-ansible-os-3154-1 2025-04-21 14:02:53,955 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a5bb4b84-1a70-4191-861f-7292c62b0d0b 2025-04-21 14:02:53,964 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/02208998-63e2-4a62-babc-4d26fa7bb063 2025-04-21 14:02:55,207 - 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=6.39 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.406 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.406/3.398/6.390/2.992 ms') 2025-04-21 14:02:55,207 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-44769991-04715475 passed 2025-04-21 14:02:55,359 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-21 14:02:55,359 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-44769991-04715475, IP 107.130.74.68, Port 22 2025-04-21 14:02:55,519 - DEBUG - VM ctest-TestBasicVMVNx-44769991-04715475 is ready for SSH connections 2025-04-21 14:02:55,519 - DEBUG - FILE SIZE = 1303B 2025-04-21 14:02:55,519 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-44769991-87357689 to ctest-TestBasicVMVNx-44769991-04715475 using scp 2025-04-21 14:02:55,520 - 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.38, gateway password: c0ntrail123 2025-04-21 14:02:55,520 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-04-21 14:02:57,455 - DEBUG - 1+0 records in 1+0 records out 2025-04-21 14:02:58,275 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-21 14:02:58,609 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-04-21 14:02:58,612 - DEBUG - ls -l testfile 2025-04-21 14:03:00,206 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 21 08:02 testfile 2025-04-21 14:03:00,206 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-44769991-04715475 2025-04-21 14:03:00,207 - INFO - Deleting VM ctest-TestBasicVMVNx-44769991-04715475 2025-04-21 14:03:00,284 - INFO - Deleting VM ctest-TestBasicVMVNx-44769991-87357689 2025-04-21 14:03:00,364 - INFO - Deleting VN ctest-vn-44444454 2025-04-21 14:03:00,405 - DEBUG - VN 80db96d1-4b53-4f84-bf03-6d13c36c9636 still in use: Unable to complete operation on network 80db96d1-4b53-4f84-bf03-6d13c36c9636. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-601da1de-4b6f-4264-b2ae-42a379288788'] 2025-04-21 14:03:00,406 - WARNING - Deleting VN ctest-vn-44444454 failed..Will retry 2025-04-21 14:03:02,519 - DEBUG - Response for deleting network () 2025-04-21 14:03:02,779 - DEBUG - No XMPP flaps were noticed during the test
2025-04-21 14:03:02,779 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-04-21 14:03:02,779 - INFO - -------------------------------------------------------------------------------- 2025-04-21 14:03:03,470 - INFO - Deleted project: ctest-TestBasicVMVNx-44769991, ID : 6984ecfa-ecb9-4a22-8e84-b7d555452bf3