2025-04-25 00:29:04,963 - INFO - Domain Default found not creating 2025-04-25 00:29:05,093 - INFO - Project ctest-TestBasicVMVNx-25411908 not found, creating it 2025-04-25 00:29:05,536 - INFO - Created Project:ctest-TestBasicVMVNx-25411908, ID : 95d6c671-1e96-4d6e-a97d-30c899f05e8d 2025-04-25 00:29:06,874 - INFO - ================================================================================ 2025-04-25 00:29:06,874 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-04-25 00:29:06,875 - 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-25 00:29:07,130 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.254': '0'}} with 2025-04-25 00:29:07,130 - INFO - Initial checks done. Running the testcase now 2025-04-25 00:29:07,131 - INFO - 2025-04-25 00:29:07,670 - DEBUG - Response for create_network : {'network': {'id': '458b724e-adba-416d-bf96-dbbcfc136f00', 'name': 'ctest-vn-77613291', 'tenant_id': '95d6c6711e964d6ea97d30c899f05e8d', 'project_id': '95d6c6711e964d6ea97d30c899f05e8d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-25411908', 'ctest-vn-77613291'], 'port_security_enabled': True, 'description': ''}} 2025-04-25 00:29:07,850 - DEBUG - Response for create_subnet : {'subnet': {'id': '3502e326-13d6-49bc-84d8-4d67c6f5811f', 'name': '', 'tenant_id': '95d6c6711e964d6ea97d30c899f05e8d', 'network_id': '458b724e-adba-416d-bf96-dbbcfc136f00', 'ip_version': 4, 'cidr': '46.27.242.128/26', 'allocation_pools': [{'start': '46.27.242.130', 'end': '46.27.242.190'}], 'gateway_ip': '46.27.242.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '46.27.242.130', 'tags': [], 'project_id': '95d6c6711e964d6ea97d30c899f05e8d'}} 2025-04-25 00:29:07,867 - INFO - Created VN ctest-vn-77613291 2025-04-25 00:29:07,925 - DEBUG - VN ctest-vn-77613291 UUID is 458b724e-adba-416d-bf96-dbbcfc136f00 2025-04-25 00:29:08,118 - DEBUG - Services list from nova: [, , ] 2025-04-25 00:29:09,075 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3212-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3212-1) 2025-04-25 00:29:10,128 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3212-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3212-1) 2025-04-25 00:29:10,129 - INFO - Waiting for VM ctest-TestBasicVMVNx-25411908-00087051 to be up.. 2025-04-25 00:29:10,216 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-25 00:29:15,286 - DEBUG - VM is in ACTIVE state now 2025-04-25 00:29:15,286 - INFO - VM name : ctest-TestBasicVMVNx-25411908-00087051 2025-04-25 00:29:15,357 - DEBUG - VM ctest-TestBasicVMVNx-25411908-00087051 ID is 43cdb636-97e4-4421-aead-79255d0a43b2 2025-04-25 00:29:15,373 - DEBUG - VM ctest-TestBasicVMVNx-25411908-00087051 launched on Node cn-jenkins-deploy-platform-ansible-os-3212-1 2025-04-25 00:29:15,444 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/43cdb636-97e4-4421-aead-79255d0a43b2 2025-04-25 00:29:15,733 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/43cdb636-97e4-4421-aead-79255d0a43b2 2025-04-25 00:29:15,762 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/68b7bed5-94a9-4187-b812-cb0f917f2d80 2025-04-25 00:29:19,020 - 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 1020ms') 2025-04-25 00:29:19,020 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-25411908-00087051 failed! 2025-04-25 00:29:19,077 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-25411908:ctest-vn-77613291 is 46.27.242.129 and allocation pool is NOT set 2025-04-25 00:29:21,140 - 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.70 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.512 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 = 0.512/1.607/2.702/1.095 ms') 2025-04-25 00:29:21,140 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-25411908-00087051 passed 2025-04-25 00:29:21,293 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-25 00:29:21,293 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-25411908-00087051, IP 46.27.242.131, Port 22 2025-04-25 00:29:21,445 - DEBUG - VM ctest-TestBasicVMVNx-25411908-00087051 is ready for SSH connections 2025-04-25 00:29:21,445 - INFO - Waiting for VM ctest-TestBasicVMVNx-25411908-52898309 to be up.. 2025-04-25 00:29:21,530 - DEBUG - VM is in ACTIVE state now 2025-04-25 00:29:21,530 - INFO - VM name : ctest-TestBasicVMVNx-25411908-52898309 2025-04-25 00:29:21,607 - DEBUG - VM ctest-TestBasicVMVNx-25411908-52898309 ID is 78f292c0-b9e1-4ecc-a4a4-4517c3a35aa4 2025-04-25 00:29:21,607 - DEBUG - VM ctest-TestBasicVMVNx-25411908-52898309 launched on Node cn-jenkins-deploy-platform-ansible-os-3212-1 2025-04-25 00:29:21,682 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/78f292c0-b9e1-4ecc-a4a4-4517c3a35aa4 2025-04-25 00:29:21,690 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/3e8e2cb6-fae7-4ec0-91eb-3924c5e2e991 2025-04-25 00:29:22,921 - 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.23 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.385 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.385/1.806/3.227/1.421 ms') 2025-04-25 00:29:22,921 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-25411908-52898309 passed 2025-04-25 00:29:23,085 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-25 00:29:23,085 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-25411908-52898309, IP 46.27.242.132, Port 22 2025-04-25 00:29:23,241 - DEBUG - VM ctest-TestBasicVMVNx-25411908-52898309 is ready for SSH connections 2025-04-25 00:29:23,241 - DEBUG - FILE SIZE = 1303B 2025-04-25 00:29:23,241 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-25411908-00087051 to ctest-TestBasicVMVNx-25411908-52898309 using scp 2025-04-25 00:29:23,242 - 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.241, gateway password: c0ntrail123 2025-04-25 00:29:23,242 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-04-25 00:29:25,095 - DEBUG - 1+0 records in 1+0 records out 2025-04-25 00:29:25,667 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-25 00:29:25,990 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-04-25 00:29:25,990 - DEBUG - ls -l testfile 2025-04-25 00:29:27,544 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 24 18:29 testfile 2025-04-25 00:29:27,544 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-25411908-52898309 2025-04-25 00:29:27,545 - INFO - Deleting VM ctest-TestBasicVMVNx-25411908-52898309 2025-04-25 00:29:27,607 - INFO - Deleting VM ctest-TestBasicVMVNx-25411908-00087051 2025-04-25 00:29:27,668 - INFO - Deleting VN ctest-vn-77613291 2025-04-25 00:29:27,702 - DEBUG - VN 458b724e-adba-416d-bf96-dbbcfc136f00 still in use: Unable to complete operation on network 458b724e-adba-416d-bf96-dbbcfc136f00. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ba6a5ece-c538-449f-bd80-4b0ec2ef3b61'] 2025-04-25 00:29:27,703 - WARNING - Deleting VN ctest-vn-77613291 failed..Will retry 2025-04-25 00:29:29,798 - DEBUG - Response for deleting network () 2025-04-25 00:29:30,055 - DEBUG - No XMPP flaps were noticed during the test
2025-04-25 00:29:30,055 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-04-25 00:29:30,055 - INFO - -------------------------------------------------------------------------------- 2025-04-25 00:29:30,711 - INFO - Deleted project: ctest-TestBasicVMVNx-25411908, ID : 95d6c671-1e96-4d6e-a97d-30c899f05e8d