2025-02-03 14:04:05,811 - INFO - Domain Default found not creating 2025-02-03 14:04:05,967 - INFO - Project ctest-TestBasicVMVNx-54787147 not found, creating it 2025-02-03 14:04:06,441 - INFO - Created Project:ctest-TestBasicVMVNx-54787147, ID : e5fcb123-ca32-4689-a857-7da872323241 2025-02-03 14:04:07,946 - INFO - ================================================================================ 2025-02-03 14:04:07,946 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-02-03 14:04:07,946 - 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-02-03 14:04:08,205 - DEBUG - Nothing to compare xmpp stats {'10.0.0.35': {'10.20.0.27': '0'}} with 2025-02-03 14:04:08,205 - INFO - Initial checks done. Running the testcase now 2025-02-03 14:04:08,205 - INFO - 2025-02-03 14:04:08,771 - DEBUG - Response for create_network : {'network': {'id': 'c3f76ed1-e8c8-47f4-94e5-bcf7915d6a00', 'name': 'ctest-vn-79170669', 'tenant_id': 'e5fcb123ca324689a8577da872323241', 'project_id': 'e5fcb123ca324689a8577da872323241', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-54787147', 'ctest-vn-79170669'], 'port_security_enabled': True, 'description': ''}} 2025-02-03 14:04:08,970 - DEBUG - Response for create_subnet : {'subnet': {'id': '4df75cf5-86be-40e9-8eb0-52c8e2f996a2', 'name': '', 'tenant_id': 'e5fcb123ca324689a8577da872323241', 'network_id': 'c3f76ed1-e8c8-47f4-94e5-bcf7915d6a00', 'ip_version': 4, 'cidr': '110.243.44.64/26', 'allocation_pools': [{'start': '110.243.44.66', 'end': '110.243.44.126'}], 'gateway_ip': '110.243.44.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '110.243.44.66', 'tags': [], 'project_id': 'e5fcb123ca324689a8577da872323241'}} 2025-02-03 14:04:08,992 - INFO - Created VN ctest-vn-79170669 2025-02-03 14:04:09,046 - DEBUG - VN ctest-vn-79170669 UUID is c3f76ed1-e8c8-47f4-94e5-bcf7915d6a00 2025-02-03 14:04:09,226 - DEBUG - Services list from nova: [, , ] 2025-02-03 14:04:10,343 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2679-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2679-1) 2025-02-03 14:04:11,627 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2679-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2679-1) 2025-02-03 14:04:11,627 - INFO - Waiting for VM ctest-TestBasicVMVNx-54787147-19229480 to be up.. 2025-02-03 14:04:11,729 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-03 14:04:16,818 - DEBUG - VM is in ACTIVE state now 2025-02-03 14:04:16,818 - INFO - VM name : ctest-TestBasicVMVNx-54787147-19229480 2025-02-03 14:04:16,909 - DEBUG - VM ctest-TestBasicVMVNx-54787147-19229480 ID is 09d5bf10-0ac5-400f-be95-0bdf24dcffbe 2025-02-03 14:04:16,933 - DEBUG - VM ctest-TestBasicVMVNx-54787147-19229480 launched on Node cn-jenkins-deploy-platform-ansible-os-2679-1 2025-02-03 14:04:17,035 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/09d5bf10-0ac5-400f-be95-0bdf24dcffbe 2025-02-03 14:04:17,337 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/09d5bf10-0ac5-400f-be95-0bdf24dcffbe 2025-02-03 14:04:17,374 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine-interface/cfac76c3-6724-4d43-9fb0-072db450cc02 2025-02-03 14:04:20,655 - 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 1019ms') 2025-02-03 14:04:20,655 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-54787147-19229480 failed! 2025-02-03 14:04:20,710 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-54787147:ctest-vn-79170669 is 110.243.44.65 and allocation pool is NOT set 2025-02-03 14:04:22,773 - 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=3.56 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.393 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.393/1.974/3.556/1.581 ms') 2025-02-03 14:04:22,773 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-54787147-19229480 passed 2025-02-03 14:04:22,930 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-03 14:04:22,931 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-54787147-19229480, IP 110.243.44.67, Port 22 2025-02-03 14:04:23,086 - DEBUG - VM ctest-TestBasicVMVNx-54787147-19229480 is ready for SSH connections 2025-02-03 14:04:23,086 - INFO - Waiting for VM ctest-TestBasicVMVNx-54787147-87138080 to be up.. 2025-02-03 14:04:23,174 - DEBUG - VM is in ACTIVE state now 2025-02-03 14:04:23,174 - INFO - VM name : ctest-TestBasicVMVNx-54787147-87138080 2025-02-03 14:04:23,264 - DEBUG - VM ctest-TestBasicVMVNx-54787147-87138080 ID is 8b9d1194-0a12-4ed2-adce-f58277079682 2025-02-03 14:04:23,264 - DEBUG - VM ctest-TestBasicVMVNx-54787147-87138080 launched on Node cn-jenkins-deploy-platform-ansible-os-2679-1 2025-02-03 14:04:23,352 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/8b9d1194-0a12-4ed2-adce-f58277079682 2025-02-03 14:04:23,365 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine-interface/41b22a63-c07b-4f0a-828c-8ee8d12e5734 2025-02-03 14:04:24,624 - 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.92 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.573 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.573/1.748/2.923/1.175 ms') 2025-02-03 14:04:24,624 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-54787147-87138080 passed 2025-02-03 14:04:24,779 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-03 14:04:24,779 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-54787147-87138080, IP 110.243.44.68, Port 22 2025-02-03 14:04:24,933 - DEBUG - VM ctest-TestBasicVMVNx-54787147-87138080 is ready for SSH connections 2025-02-03 14:04:24,934 - DEBUG - FILE SIZE = 1303B 2025-02-03 14:04:24,934 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-54787147-19229480 to ctest-TestBasicVMVNx-54787147-87138080 using scp 2025-02-03 14:04:24,934 - 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.35, gateway password: c0ntrail123 2025-02-03 14:04:24,935 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-02-03 14:04:26,992 - DEBUG - 1+0 records in 1+0 records out 2025-02-03 14:04:27,834 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-03 14:04:28,215 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.35, gateway password: c0ntrail123 2025-02-03 14:04:28,216 - DEBUG - ls -l testfile 2025-02-03 14:04:29,824 - DEBUG - -rw------- 1 cirros cirros 1303 Feb 3 07:04 testfile 2025-02-03 14:04:29,824 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-54787147-87138080 2025-02-03 14:04:29,825 - INFO - Deleting VM ctest-TestBasicVMVNx-54787147-87138080 2025-02-03 14:04:29,920 - INFO - Deleting VM ctest-TestBasicVMVNx-54787147-19229480 2025-02-03 14:04:30,001 - INFO - Deleting VN ctest-vn-79170669 2025-02-03 14:04:30,048 - DEBUG - VN c3f76ed1-e8c8-47f4-94e5-bcf7915d6a00 still in use: Unable to complete operation on network c3f76ed1-e8c8-47f4-94e5-bcf7915d6a00. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4c6f35ef-14c5-4bc9-a9fe-7a8b2c315e22'] 2025-02-03 14:04:30,049 - WARNING - Deleting VN ctest-vn-79170669 failed..Will retry 2025-02-03 14:04:32,181 - DEBUG - Response for deleting network () 2025-02-03 14:04:32,442 - DEBUG - No XMPP flaps were noticed during the test
2025-02-03 14:04:32,442 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25]
2025-02-03 14:04:32,442 - INFO - -------------------------------------------------------------------------------- 2025-02-03 14:04:33,182 - INFO - Deleted project: ctest-TestBasicVMVNx-54787147, ID : e5fcb123-ca32-4689-a857-7da872323241