2025-09-01 15:12:30,855 - INFO - Domain Default found not creating 2025-09-01 15:12:30,994 - INFO - Project ctest-TestBasicVMVNx-98984138 not found, creating it 2025-09-01 15:12:31,429 - INFO - Created Project:ctest-TestBasicVMVNx-98984138, ID : 765cfe04-c45f-476a-b762-15c0164f908a 2025-09-01 15:12:33,053 - INFO - ================================================================================ 2025-09-01 15:12:33,053 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-09-01 15:12:33,053 - 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-01 15:12:33,305 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-01 15:12:33,305 - INFO - Initial checks done. Running the testcase now 2025-09-01 15:12:33,305 - INFO - 2025-09-01 15:12:33,870 - DEBUG - Response for create_network : {'network': {'id': '87fa759c-0730-43a8-9dd3-85994238903e', 'name': 'ctest-vn-65183989', 'tenant_id': '765cfe04c45f476ab76215c0164f908a', 'project_id': '765cfe04c45f476ab76215c0164f908a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-98984138', 'ctest-vn-65183989'], 'port_security_enabled': True, 'description': ''}} 2025-09-01 15:12:34,082 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f6ac317f-168f-44f5-a4ca-56d2c84f4844', 'name': '', 'tenant_id': '765cfe04c45f476ab76215c0164f908a', 'network_id': '87fa759c-0730-43a8-9dd3-85994238903e', 'ip_version': 4, 'cidr': '7.110.46.0/26', 'allocation_pools': [{'start': '7.110.46.2', 'end': '7.110.46.62'}], 'gateway_ip': '7.110.46.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '7.110.46.2', 'tags': [], 'project_id': '765cfe04c45f476ab76215c0164f908a'}} 2025-09-01 15:12:34,099 - INFO - Created VN ctest-vn-65183989 2025-09-01 15:12:34,148 - DEBUG - VN ctest-vn-65183989 UUID is 87fa759c-0730-43a8-9dd3-85994238903e 2025-09-01 15:12:34,343 - DEBUG - Services list from nova: [, , ] 2025-09-01 15:12:35,420 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3997-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3997-1) 2025-09-01 15:12:36,598 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3997-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3997-1) 2025-09-01 15:12:36,598 - INFO - Waiting for VM ctest-TestBasicVMVNx-98984138-88829914 to be up.. 2025-09-01 15:12:36,671 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-01 15:12:41,745 - DEBUG - VM is in ACTIVE state now 2025-09-01 15:12:41,745 - INFO - VM name : ctest-TestBasicVMVNx-98984138-88829914 2025-09-01 15:12:41,811 - DEBUG - VM ctest-TestBasicVMVNx-98984138-88829914 ID is db57c537-ad8c-498a-a024-68120e2b7dd0 2025-09-01 15:12:41,829 - DEBUG - VM ctest-TestBasicVMVNx-98984138-88829914 launched on Node cn-jenkins-deploy-platform-ansible-os-3997-1 2025-09-01 15:12:41,893 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/db57c537-ad8c-498a-a024-68120e2b7dd0 2025-09-01 15:12:42,227 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/db57c537-ad8c-498a-a024-68120e2b7dd0 2025-09-01 15:12:42,259 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/811dce11-b9c9-4157-98c8-269168c3546d 2025-09-01 15:12:45,511 - 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 1013ms') 2025-09-01 15:12:45,511 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-98984138-88829914 failed! 2025-09-01 15:12:45,564 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-98984138:ctest-vn-65183989 is 7.110.46.1 and allocation pool is NOT set 2025-09-01 15:12:47,631 - 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.72 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.25 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.254/2.986/4.719/1.732 ms') 2025-09-01 15:12:47,631 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-98984138-88829914 passed 2025-09-01 15:12:47,780 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-01 15:12:47,780 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-98984138-88829914, IP 7.110.46.3, Port 22 2025-09-01 15:12:47,935 - DEBUG - VM ctest-TestBasicVMVNx-98984138-88829914 is ready for SSH connections 2025-09-01 15:12:47,935 - INFO - Waiting for VM ctest-TestBasicVMVNx-98984138-44268586 to be up.. 2025-09-01 15:12:48,001 - DEBUG - VM is in ACTIVE state now 2025-09-01 15:12:48,001 - INFO - VM name : ctest-TestBasicVMVNx-98984138-44268586 2025-09-01 15:12:48,070 - DEBUG - VM ctest-TestBasicVMVNx-98984138-44268586 ID is 0640e5b9-07cd-4854-aa26-2ae9db1015f7 2025-09-01 15:12:48,070 - DEBUG - VM ctest-TestBasicVMVNx-98984138-44268586 launched on Node cn-jenkins-deploy-platform-ansible-os-3997-1 2025-09-01 15:12:48,138 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/0640e5b9-07cd-4854-aa26-2ae9db1015f7 2025-09-01 15:12:48,145 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/cf950fb4-47b2-4d1d-aa00-ff922ab0a92f 2025-09-01 15:12:49,379 - 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.06 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.671 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.671/2.363/4.055/1.692 ms') 2025-09-01 15:12:49,379 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-98984138-44268586 passed 2025-09-01 15:12:49,528 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-01 15:12:49,528 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-98984138-44268586, IP 7.110.46.4, Port 22 2025-09-01 15:12:49,684 - DEBUG - VM ctest-TestBasicVMVNx-98984138-44268586 is ready for SSH connections 2025-09-01 15:12:49,684 - DEBUG - FILE SIZE = 1303B 2025-09-01 15:12:49,684 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-98984138-88829914 to ctest-TestBasicVMVNx-98984138-44268586 using scp 2025-09-01 15:12:49,687 - 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.254, gateway password: c0ntrail123 2025-09-01 15:12:49,687 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-09-01 15:12:51,657 - DEBUG - 1+0 records in 1+0 records out 2025-09-01 15:12:52,355 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-01 15:12:52,689 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-01 15:12:52,689 - DEBUG - ls -l testfile 2025-09-01 15:12:54,320 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 1 09:12 testfile 2025-09-01 15:12:54,320 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-98984138-44268586 2025-09-01 15:12:54,320 - INFO - Deleting VM ctest-TestBasicVMVNx-98984138-44268586 2025-09-01 15:12:54,391 - INFO - Deleting VM ctest-TestBasicVMVNx-98984138-88829914 2025-09-01 15:12:54,456 - INFO - Deleting VN ctest-vn-65183989 2025-09-01 15:12:54,493 - DEBUG - VN 87fa759c-0730-43a8-9dd3-85994238903e still in use: Unable to complete operation on network 87fa759c-0730-43a8-9dd3-85994238903e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7bbe5b55-7f15-4f18-abaf-578a9c8efc3a'] 2025-09-01 15:12:54,493 - WARNING - Deleting VN ctest-vn-65183989 failed..Will retry 2025-09-01 15:12:56,584 - DEBUG - Response for deleting network () 2025-09-01 15:12:56,837 - DEBUG - No XMPP flaps were noticed during the test
2025-09-01 15:12:56,837 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-09-01 15:12:56,837 - INFO - -------------------------------------------------------------------------------- 2025-09-01 15:12:57,534 - INFO - Deleted project: ctest-TestBasicVMVNx-98984138, ID : 765cfe04-c45f-476a-b762-15c0164f908a