2025-09-18 23:56:50,385 - INFO - Domain Default found not creating 2025-09-18 23:56:50,528 - INFO - Project ctest-TestBasicVMVNx-34676698 not found, creating it 2025-09-18 23:56:50,962 - INFO - Created Project:ctest-TestBasicVMVNx-34676698, ID : d21cfc61-1e2a-453d-ac05-1de759ac7115 2025-09-18 23:56:52,495 - INFO - ================================================================================ 2025-09-18 23:56:52,495 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-09-18 23:56:52,495 - 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-09-18 23:56:52,754 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-09-18 23:56:52,754 - INFO - Initial checks done. Running the testcase now 2025-09-18 23:56:52,754 - INFO - 2025-09-18 23:56:53,321 - DEBUG - Response for create_network : {'network': {'id': '383f86de-f619-4116-902f-15c5cadf16f3', 'name': 'ctest-vn-86615636', 'tenant_id': 'd21cfc611e2a453dac051de759ac7115', 'project_id': 'd21cfc611e2a453dac051de759ac7115', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-34676698', 'ctest-vn-86615636'], 'port_security_enabled': True, 'description': ''}} 2025-09-18 23:56:53,506 - DEBUG - Response for create_subnet : {'subnet': {'id': '341a9bb8-6599-4d8a-9751-9a8f551dc42d', 'name': '', 'tenant_id': 'd21cfc611e2a453dac051de759ac7115', 'network_id': '383f86de-f619-4116-902f-15c5cadf16f3', 'ip_version': 4, 'cidr': '48.181.156.64/26', 'allocation_pools': [{'start': '48.181.156.66', 'end': '48.181.156.126'}], 'gateway_ip': '48.181.156.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '48.181.156.66', 'tags': [], 'project_id': 'd21cfc611e2a453dac051de759ac7115'}} 2025-09-18 23:56:53,524 - INFO - Created VN ctest-vn-86615636 2025-09-18 23:56:53,577 - DEBUG - VN ctest-vn-86615636 UUID is 383f86de-f619-4116-902f-15c5cadf16f3 2025-09-18 23:56:53,751 - DEBUG - Services list from nova: [, , ] 2025-09-18 23:56:54,793 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4143-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4143-1) 2025-09-18 23:56:55,956 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4143-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4143-1) 2025-09-18 23:56:55,956 - INFO - Waiting for VM ctest-TestBasicVMVNx-34676698-66896808 to be up.. 2025-09-18 23:56:56,049 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-18 23:57:01,121 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-18 23:57:06,194 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-18 23:57:11,279 - DEBUG - VM is in ACTIVE state now 2025-09-18 23:57:11,279 - INFO - VM name : ctest-TestBasicVMVNx-34676698-66896808 2025-09-18 23:57:11,355 - DEBUG - VM ctest-TestBasicVMVNx-34676698-66896808 ID is 8fc50b28-e64a-4dba-855e-7fd5737ffdfc 2025-09-18 23:57:11,374 - DEBUG - VM ctest-TestBasicVMVNx-34676698-66896808 launched on Node cn-jenkins-deploy-platform-ansible-os-4143-1 2025-09-18 23:57:11,458 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/8fc50b28-e64a-4dba-855e-7fd5737ffdfc 2025-09-18 23:57:11,763 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/8fc50b28-e64a-4dba-855e-7fd5737ffdfc 2025-09-18 23:57:11,795 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/80d6f05a-1bf4-4d74-9d1a-5854d5eb14d4 2025-09-18 23:57:15,061 - 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 1023ms') 2025-09-18 23:57:15,061 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-34676698-66896808 failed! 2025-09-18 23:57:15,117 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-34676698:ctest-vn-86615636 is 48.181.156.65 and allocation pool is NOT set 2025-09-18 23:57:19,191 - 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') 2025-09-18 23:57:19,191 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-34676698-66896808 failed! 2025-09-18 23:57:19,245 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-34676698:ctest-vn-86615636 is 48.181.156.65 and allocation pool is NOT set 2025-09-18 23:57:21,316 - 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=6.14 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.77 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.774/4.455/6.137/1.681 ms') 2025-09-18 23:57:21,316 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-34676698-66896808 passed 2025-09-18 23:57:21,473 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 23:57:21,473 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-34676698-66896808, IP 48.181.156.67, Port 22 2025-09-18 23:57:21,643 - DEBUG - VM ctest-TestBasicVMVNx-34676698-66896808 is ready for SSH connections 2025-09-18 23:57:21,643 - INFO - Waiting for VM ctest-TestBasicVMVNx-34676698-72043481 to be up.. 2025-09-18 23:57:21,725 - DEBUG - VM is in ACTIVE state now 2025-09-18 23:57:21,725 - INFO - VM name : ctest-TestBasicVMVNx-34676698-72043481 2025-09-18 23:57:21,817 - DEBUG - VM ctest-TestBasicVMVNx-34676698-72043481 ID is 6b3daad2-2d52-4b13-ae55-73d59ba2a7ab 2025-09-18 23:57:21,817 - DEBUG - VM ctest-TestBasicVMVNx-34676698-72043481 launched on Node cn-jenkins-deploy-platform-ansible-os-4143-1 2025-09-18 23:57:21,904 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/6b3daad2-2d52-4b13-ae55-73d59ba2a7ab 2025-09-18 23:57:21,918 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5e4ef368-99fd-4beb-a6bb-75b52d3a4c30 2025-09-18 23:57:23,164 - 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.09 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.468 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.468/1.777/3.086/1.309 ms') 2025-09-18 23:57:23,164 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-34676698-72043481 passed 2025-09-18 23:57:23,317 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 23:57:23,317 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-34676698-72043481, IP 48.181.156.68, Port 22 2025-09-18 23:57:23,496 - DEBUG - VM ctest-TestBasicVMVNx-34676698-72043481 is ready for SSH connections 2025-09-18 23:57:23,496 - DEBUG - FILE SIZE = 1303B 2025-09-18 23:57:23,496 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-34676698-66896808 to ctest-TestBasicVMVNx-34676698-72043481 using scp 2025-09-18 23:57:23,498 - 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-09-18 23:57:23,498 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-09-18 23:57:25,088 - DEBUG - 1+0 records in 1+0 records out 2025-09-18 23:57:25,881 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 23:57:26,202 - 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-09-18 23:57:26,202 - DEBUG - ls -l testfile 2025-09-18 23:57:27,775 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 18 17:57 testfile 2025-09-18 23:57:27,776 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-34676698-72043481 2025-09-18 23:57:27,776 - INFO - Deleting VM ctest-TestBasicVMVNx-34676698-72043481 2025-09-18 23:57:27,844 - INFO - Deleting VM ctest-TestBasicVMVNx-34676698-66896808 2025-09-18 23:57:27,918 - INFO - Deleting VN ctest-vn-86615636 2025-09-18 23:57:27,957 - DEBUG - VN 383f86de-f619-4116-902f-15c5cadf16f3 still in use: Unable to complete operation on network 383f86de-f619-4116-902f-15c5cadf16f3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-507d7f0a-2249-4068-a1f6-9b67680caa47'] 2025-09-18 23:57:27,957 - WARNING - Deleting VN ctest-vn-86615636 failed..Will retry 2025-09-18 23:57:30,073 - DEBUG - Response for deleting network () 2025-09-18 23:57:30,339 - DEBUG - No XMPP flaps were noticed during the test
2025-09-18 23:57:30,339 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:38]
2025-09-18 23:57:30,339 - INFO - -------------------------------------------------------------------------------- 2025-09-18 23:57:31,032 - INFO - Deleted project: ctest-TestBasicVMVNx-34676698, ID : d21cfc61-1e2a-453d-ac05-1de759ac7115