2025-09-19 04:12:39,358 - INFO - Domain Default found not creating 2025-09-19 04:12:39,491 - INFO - Project ctest-TestBasicVMVNx-42869827 not found, creating it 2025-09-19 04:12:39,924 - INFO - Created Project:ctest-TestBasicVMVNx-42869827, ID : b8cbebf7-055b-4c65-bedb-b789c4e87c0d 2025-09-19 04:12:41,366 - INFO - ================================================================================ 2025-09-19 04:12:41,366 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-09-19 04:12:41,366 - 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-19 04:12:41,618 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-09-19 04:12:41,618 - INFO - Initial checks done. Running the testcase now 2025-09-19 04:12:41,618 - INFO - 2025-09-19 04:12:42,348 - DEBUG - Response for create_network : {'network': {'id': 'e75bc912-d85a-4727-8739-139a571d04fd', 'name': 'ctest-vn-98740160', 'tenant_id': 'b8cbebf7055b4c65bedbb789c4e87c0d', 'project_id': 'b8cbebf7055b4c65bedbb789c4e87c0d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-42869827', 'ctest-vn-98740160'], 'port_security_enabled': True, 'description': ''}} 2025-09-19 04:12:42,532 - DEBUG - Response for create_subnet : {'subnet': {'id': '5867e143-c092-4fb3-8e93-806491ac26c5', 'name': '', 'tenant_id': 'b8cbebf7055b4c65bedbb789c4e87c0d', 'network_id': 'e75bc912-d85a-4727-8739-139a571d04fd', 'ip_version': 4, 'cidr': '197.89.42.64/26', 'allocation_pools': [{'start': '197.89.42.66', 'end': '197.89.42.126'}], 'gateway_ip': '197.89.42.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '197.89.42.66', 'tags': [], 'project_id': 'b8cbebf7055b4c65bedbb789c4e87c0d'}} 2025-09-19 04:12:42,548 - INFO - Created VN ctest-vn-98740160 2025-09-19 04:12:42,597 - DEBUG - VN ctest-vn-98740160 UUID is e75bc912-d85a-4727-8739-139a571d04fd 2025-09-19 04:12:42,793 - DEBUG - Services list from nova: [, , ] 2025-09-19 04:12:43,800 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4145-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4145-1) 2025-09-19 04:12:44,910 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4145-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4145-1) 2025-09-19 04:12:44,910 - INFO - Waiting for VM ctest-TestBasicVMVNx-42869827-04571832 to be up.. 2025-09-19 04:12:44,996 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-19 04:12:50,067 - DEBUG - VM is in ACTIVE state now 2025-09-19 04:12:50,067 - INFO - VM name : ctest-TestBasicVMVNx-42869827-04571832 2025-09-19 04:12:50,138 - DEBUG - VM ctest-TestBasicVMVNx-42869827-04571832 ID is dc247a45-34f4-43c5-877e-df3cdbdb12bb 2025-09-19 04:12:50,157 - DEBUG - VM ctest-TestBasicVMVNx-42869827-04571832 launched on Node cn-jenkins-deploy-platform-ansible-os-4145-1 2025-09-19 04:12:50,232 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/dc247a45-34f4-43c5-877e-df3cdbdb12bb 2025-09-19 04:12:50,529 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/dc247a45-34f4-43c5-877e-df3cdbdb12bb 2025-09-19 04:12:50,560 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/00fd24c1-ae3a-4972-b507-c51abf8b42d8 2025-09-19 04:12:53,796 - 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 1003ms') 2025-09-19 04:12:53,796 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-42869827-04571832 failed! 2025-09-19 04:12:53,849 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-42869827:ctest-vn-98740160 is 197.89.42.65 and allocation pool is NOT set 2025-09-19 04:12:55,907 - 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=2.93 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.445 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.445/1.687/2.930/1.242 ms') 2025-09-19 04:12:55,907 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-42869827-04571832 passed 2025-09-19 04:12:56,058 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 04:12:56,058 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-42869827-04571832, IP 197.89.42.67, Port 22 2025-09-19 04:12:56,213 - DEBUG - VM ctest-TestBasicVMVNx-42869827-04571832 is ready for SSH connections 2025-09-19 04:12:56,213 - INFO - Waiting for VM ctest-TestBasicVMVNx-42869827-94438760 to be up.. 2025-09-19 04:12:56,283 - DEBUG - VM is in ACTIVE state now 2025-09-19 04:12:56,283 - INFO - VM name : ctest-TestBasicVMVNx-42869827-94438760 2025-09-19 04:12:56,361 - DEBUG - VM ctest-TestBasicVMVNx-42869827-94438760 ID is 5445092c-a72f-4890-80c1-d3c0a6cc8da9 2025-09-19 04:12:56,361 - DEBUG - VM ctest-TestBasicVMVNx-42869827-94438760 launched on Node cn-jenkins-deploy-platform-ansible-os-4145-1 2025-09-19 04:12:56,434 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/5445092c-a72f-4890-80c1-d3c0a6cc8da9 2025-09-19 04:12:56,442 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/6f84f441-c9de-4a20-92f1-5a35eed2d908 2025-09-19 04:12:57,676 - 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.84 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.535 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.535/1.685/2.835/1.150 ms') 2025-09-19 04:12:57,676 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-42869827-94438760 passed 2025-09-19 04:12:57,825 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 04:12:57,826 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-42869827-94438760, IP 197.89.42.68, Port 22 2025-09-19 04:12:57,982 - DEBUG - VM ctest-TestBasicVMVNx-42869827-94438760 is ready for SSH connections 2025-09-19 04:12:57,982 - DEBUG - FILE SIZE = 1303B 2025-09-19 04:12:57,982 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-42869827-04571832 to ctest-TestBasicVMVNx-42869827-94438760 using scp 2025-09-19 04:12:57,984 - 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.33, gateway password: c0ntrail123 2025-09-19 04:12:57,984 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-09-19 04:12:59,884 - DEBUG - 1+0 records in 1+0 records out 2025-09-19 04:13:00,598 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 04:13:00,947 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-09-19 04:13:00,947 - DEBUG - ls -l testfile 2025-09-19 04:13:02,547 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 18 22:13 testfile 2025-09-19 04:13:02,547 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-42869827-94438760 2025-09-19 04:13:02,548 - INFO - Deleting VM ctest-TestBasicVMVNx-42869827-94438760 2025-09-19 04:13:02,616 - INFO - Deleting VM ctest-TestBasicVMVNx-42869827-04571832 2025-09-19 04:13:02,692 - INFO - Deleting VN ctest-vn-98740160 2025-09-19 04:13:02,723 - DEBUG - VN e75bc912-d85a-4727-8739-139a571d04fd still in use: Unable to complete operation on network e75bc912-d85a-4727-8739-139a571d04fd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-899550c9-e5a3-4ca9-a135-4800dc1896b8'] 2025-09-19 04:13:02,723 - WARNING - Deleting VN ctest-vn-98740160 failed..Will retry 2025-09-19 04:13:04,817 - DEBUG - Response for deleting network () 2025-09-19 04:13:05,075 - DEBUG - No XMPP flaps were noticed during the test
2025-09-19 04:13:05,075 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-09-19 04:13:05,075 - INFO - -------------------------------------------------------------------------------- 2025-09-19 04:13:05,746 - INFO - Deleted project: ctest-TestBasicVMVNx-42869827, ID : b8cbebf7-055b-4c65-bedb-b789c4e87c0d