2025-06-30 11:44:59,865 - INFO - Domain Default found not creating 2025-06-30 11:45:00,025 - INFO - Project ctest-TestBasicVMVNx-72793026 not found, creating it 2025-06-30 11:45:00,537 - INFO - Created Project:ctest-TestBasicVMVNx-72793026, ID : c0d1a880-4d52-47af-aea5-3a38d67deb5b 2025-06-30 11:45:02,061 - INFO - ================================================================================ 2025-06-30 11:45:02,061 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-06-30 11:45:02,061 - 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-06-30 11:45:02,330 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-06-30 11:45:02,331 - INFO - Initial checks done. Running the testcase now 2025-06-30 11:45:02,331 - INFO - 2025-06-30 11:45:02,927 - DEBUG - Response for create_network : {'network': {'id': '2b3a073f-a1a7-4dcf-a4f4-2cc33608792f', 'name': 'ctest-vn-51586727', 'tenant_id': 'c0d1a8804d5247afaea53a38d67deb5b', 'project_id': 'c0d1a8804d5247afaea53a38d67deb5b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-72793026', 'ctest-vn-51586727'], 'port_security_enabled': True, 'description': ''}} 2025-06-30 11:45:03,157 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f7d69bdb-2e19-4fa8-97d1-563bc68b4461', 'name': '', 'tenant_id': 'c0d1a8804d5247afaea53a38d67deb5b', 'network_id': '2b3a073f-a1a7-4dcf-a4f4-2cc33608792f', 'ip_version': 4, 'cidr': '36.102.105.64/26', 'allocation_pools': [{'start': '36.102.105.66', 'end': '36.102.105.126'}], 'gateway_ip': '36.102.105.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '36.102.105.66', 'tags': [], 'project_id': 'c0d1a8804d5247afaea53a38d67deb5b'}} 2025-06-30 11:45:03,177 - INFO - Created VN ctest-vn-51586727 2025-06-30 11:45:03,236 - DEBUG - VN ctest-vn-51586727 UUID is 2b3a073f-a1a7-4dcf-a4f4-2cc33608792f 2025-06-30 11:45:03,431 - DEBUG - Services list from nova: [, , ] 2025-06-30 11:45:04,527 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3572-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3572-1) 2025-06-30 11:45:05,821 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3572-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3572-1) 2025-06-30 11:45:05,822 - INFO - Waiting for VM ctest-TestBasicVMVNx-72793026-72607390 to be up.. 2025-06-30 11:45:05,928 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-30 11:45:11,021 - DEBUG - VM is in ACTIVE state now 2025-06-30 11:45:11,021 - INFO - VM name : ctest-TestBasicVMVNx-72793026-72607390 2025-06-30 11:45:11,105 - DEBUG - VM ctest-TestBasicVMVNx-72793026-72607390 ID is a0a99657-fe3c-49c0-b77c-bd2f4d55263b 2025-06-30 11:45:11,127 - DEBUG - VM ctest-TestBasicVMVNx-72793026-72607390 launched on Node cn-jenkins-deploy-platform-ansible-os-3572-1 2025-06-30 11:45:11,216 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/a0a99657-fe3c-49c0-b77c-bd2f4d55263b 2025-06-30 11:45:11,518 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/a0a99657-fe3c-49c0-b77c-bd2f4d55263b 2025-06-30 11:45:11,558 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/100bb413-2b53-4b7c-9ac8-2e7cae675710 2025-06-30 11:45:14,812 - 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-06-30 11:45:14,812 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-72793026-72607390 failed! 2025-06-30 11:45:14,868 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-72793026:ctest-vn-51586727 is 36.102.105.65 and allocation pool is NOT set 2025-06-30 11:45:16,934 - 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.15 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.829 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.829/2.488/4.147/1.659 ms') 2025-06-30 11:45:16,934 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-72793026-72607390 passed 2025-06-30 11:45:17,088 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-30 11:45:17,088 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-72793026-72607390, IP 36.102.105.67, Port 22 2025-06-30 11:45:17,252 - DEBUG - VM ctest-TestBasicVMVNx-72793026-72607390 is ready for SSH connections 2025-06-30 11:45:17,252 - INFO - Waiting for VM ctest-TestBasicVMVNx-72793026-73430697 to be up.. 2025-06-30 11:45:17,339 - DEBUG - VM is in ACTIVE state now 2025-06-30 11:45:17,340 - INFO - VM name : ctest-TestBasicVMVNx-72793026-73430697 2025-06-30 11:45:17,424 - DEBUG - VM ctest-TestBasicVMVNx-72793026-73430697 ID is 3a58d604-0ed4-49be-ac0d-8a1e78b7c00d 2025-06-30 11:45:17,424 - DEBUG - VM ctest-TestBasicVMVNx-72793026-73430697 launched on Node cn-jenkins-deploy-platform-ansible-os-3572-1 2025-06-30 11:45:17,513 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/3a58d604-0ed4-49be-ac0d-8a1e78b7c00d 2025-06-30 11:45:17,525 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/846ba589-3666-4ea8-a6cf-3caea6493b33 2025-06-30 11:45:18,773 - 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.24 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.579 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.579/1.908/3.237/1.329 ms') 2025-06-30 11:45:18,773 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-72793026-73430697 passed 2025-06-30 11:45:18,928 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-30 11:45:18,928 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-72793026-73430697, IP 36.102.105.68, Port 22 2025-06-30 11:45:19,088 - DEBUG - VM ctest-TestBasicVMVNx-72793026-73430697 is ready for SSH connections 2025-06-30 11:45:19,088 - DEBUG - FILE SIZE = 1303B 2025-06-30 11:45:19,088 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-72793026-72607390 to ctest-TestBasicVMVNx-72793026-73430697 using scp 2025-06-30 11:45:19,089 - 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.22, gateway password: c0ntrail123 2025-06-30 11:45:19,089 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-06-30 11:45:21,036 - DEBUG - 1+0 records in 1+0 records out 2025-06-30 11:45:21,826 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-30 11:45:22,164 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-06-30 11:45:22,164 - DEBUG - ls -l testfile 2025-06-30 11:45:23,753 - DEBUG - -rw------- 1 cirros cirros 1303 Jun 30 05:45 testfile 2025-06-30 11:45:23,754 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-72793026-73430697 2025-06-30 11:45:23,754 - INFO - Deleting VM ctest-TestBasicVMVNx-72793026-73430697 2025-06-30 11:45:23,936 - INFO - Deleting VM ctest-TestBasicVMVNx-72793026-72607390 2025-06-30 11:45:24,009 - INFO - Deleting VN ctest-vn-51586727 2025-06-30 11:45:24,052 - DEBUG - VN 2b3a073f-a1a7-4dcf-a4f4-2cc33608792f still in use: Unable to complete operation on network 2b3a073f-a1a7-4dcf-a4f4-2cc33608792f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-abd1695e-e740-43e3-b55a-691d4fae05ef'] 2025-06-30 11:45:24,052 - WARNING - Deleting VN ctest-vn-51586727 failed..Will retry 2025-06-30 11:45:26,191 - DEBUG - Response for deleting network () 2025-06-30 11:45:26,450 - DEBUG - No XMPP flaps were noticed during the test
2025-06-30 11:45:26,451 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-06-30 11:45:26,451 - INFO - -------------------------------------------------------------------------------- 2025-06-30 11:45:27,168 - INFO - Deleted project: ctest-TestBasicVMVNx-72793026, ID : c0d1a880-4d52-47af-aea5-3a38d67deb5b