2025-04-07 09:41:58,314 - INFO - Domain Default found not creating 2025-04-07 09:41:58,465 - INFO - Project ctest-TestBasicVMVNx-80434762 not found, creating it 2025-04-07 09:41:58,960 - INFO - Created Project:ctest-TestBasicVMVNx-80434762, ID : 8a84fb17-f5ef-4846-96bc-54f2a0daf00e 2025-04-07 09:42:00,438 - INFO - ================================================================================ 2025-04-07 09:42:00,439 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-04-07 09:42:00,439 - 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-07 09:42:00,696 - DEBUG - Nothing to compare xmpp stats {'10.0.0.24': {'10.20.0.32': '0'}} with 2025-04-07 09:42:00,696 - INFO - Initial checks done. Running the testcase now 2025-04-07 09:42:00,696 - INFO - 2025-04-07 09:42:01,276 - DEBUG - Response for create_network : {'network': {'id': 'd27aae36-5b6e-4ae0-bcb9-c1f8a85764d6', 'name': 'ctest-vn-40251103', 'tenant_id': '8a84fb17f5ef484696bc54f2a0daf00e', 'project_id': '8a84fb17f5ef484696bc54f2a0daf00e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-80434762', 'ctest-vn-40251103'], 'port_security_enabled': True, 'description': ''}} 2025-04-07 09:42:01,441 - DEBUG - Response for create_subnet : {'subnet': {'id': '4dd35253-51da-435d-8b0c-8d9fb4667f48', 'name': '', 'tenant_id': '8a84fb17f5ef484696bc54f2a0daf00e', 'network_id': 'd27aae36-5b6e-4ae0-bcb9-c1f8a85764d6', 'ip_version': 4, 'cidr': '54.64.36.64/26', 'allocation_pools': [{'start': '54.64.36.66', 'end': '54.64.36.126'}], 'gateway_ip': '54.64.36.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '54.64.36.66', 'tags': [], 'project_id': '8a84fb17f5ef484696bc54f2a0daf00e'}} 2025-04-07 09:42:01,461 - INFO - Created VN ctest-vn-40251103 2025-04-07 09:42:01,514 - DEBUG - VN ctest-vn-40251103 UUID is d27aae36-5b6e-4ae0-bcb9-c1f8a85764d6 2025-04-07 09:42:01,681 - DEBUG - Services list from nova: [, , ] 2025-04-07 09:42:02,709 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3045-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3045-1) 2025-04-07 09:42:03,894 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3045-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3045-1) 2025-04-07 09:42:03,895 - INFO - Waiting for VM ctest-TestBasicVMVNx-80434762-34981031 to be up.. 2025-04-07 09:42:03,987 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-07 09:42:09,073 - DEBUG - VM is in ACTIVE state now 2025-04-07 09:42:09,073 - INFO - VM name : ctest-TestBasicVMVNx-80434762-34981031 2025-04-07 09:42:09,162 - DEBUG - VM ctest-TestBasicVMVNx-80434762-34981031 ID is d29e3535-c06e-42f0-adfd-fc9b9cdf839f 2025-04-07 09:42:09,182 - DEBUG - VM ctest-TestBasicVMVNx-80434762-34981031 launched on Node cn-jenkins-deploy-platform-ansible-os-3045-1 2025-04-07 09:42:09,264 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/d29e3535-c06e-42f0-adfd-fc9b9cdf839f 2025-04-07 09:42:09,566 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/d29e3535-c06e-42f0-adfd-fc9b9cdf839f 2025-04-07 09:42:09,602 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/4ca3ba3b-cfdf-4971-bedc-3c78f753b049 2025-04-07 09:42:12,880 - 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 1026ms') 2025-04-07 09:42:12,880 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-80434762-34981031 failed! 2025-04-07 09:42:12,942 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-80434762:ctest-vn-40251103 is 54.64.36.65 and allocation pool is NOT set 2025-04-07 09:42:15,010 - 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=5.80 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.484 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.484/3.141/5.798/2.657 ms') 2025-04-07 09:42:15,010 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-80434762-34981031 passed 2025-04-07 09:42:15,166 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-07 09:42:15,166 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-80434762-34981031, IP 54.64.36.67, Port 22 2025-04-07 09:42:15,336 - DEBUG - VM ctest-TestBasicVMVNx-80434762-34981031 is ready for SSH connections 2025-04-07 09:42:15,336 - INFO - Waiting for VM ctest-TestBasicVMVNx-80434762-87228729 to be up.. 2025-04-07 09:42:15,418 - DEBUG - VM is in ACTIVE state now 2025-04-07 09:42:15,418 - INFO - VM name : ctest-TestBasicVMVNx-80434762-87228729 2025-04-07 09:42:15,498 - DEBUG - VM ctest-TestBasicVMVNx-80434762-87228729 ID is b947c8f4-89f9-49e9-8abf-6a1668125e96 2025-04-07 09:42:15,498 - DEBUG - VM ctest-TestBasicVMVNx-80434762-87228729 launched on Node cn-jenkins-deploy-platform-ansible-os-3045-1 2025-04-07 09:42:15,580 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/b947c8f4-89f9-49e9-8abf-6a1668125e96 2025-04-07 09:42:15,590 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/5579939d-0716-4041-947c-9d89f4713d02 2025-04-07 09:42:16,836 - 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.98 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.98 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 = 1.980/2.981/3.982/1.001 ms') 2025-04-07 09:42:16,836 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-80434762-87228729 passed 2025-04-07 09:42:16,994 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-07 09:42:16,994 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-80434762-87228729, IP 54.64.36.68, Port 22 2025-04-07 09:42:17,154 - DEBUG - VM ctest-TestBasicVMVNx-80434762-87228729 is ready for SSH connections 2025-04-07 09:42:17,154 - DEBUG - FILE SIZE = 1303B 2025-04-07 09:42:17,154 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-80434762-34981031 to ctest-TestBasicVMVNx-80434762-87228729 using scp 2025-04-07 09:42:17,155 - 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.24, gateway password: c0ntrail123 2025-04-07 09:42:17,155 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-04-07 09:42:19,071 - DEBUG - 1+0 records in 1+0 records out 2025-04-07 09:42:19,844 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-07 09:42:20,212 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.24, gateway password: c0ntrail123 2025-04-07 09:42:20,212 - DEBUG - ls -l testfile 2025-04-07 09:42:21,804 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 7 03:42 testfile 2025-04-07 09:42:21,804 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-80434762-87228729 2025-04-07 09:42:21,804 - INFO - Deleting VM ctest-TestBasicVMVNx-80434762-87228729 2025-04-07 09:42:21,871 - INFO - Deleting VM ctest-TestBasicVMVNx-80434762-34981031 2025-04-07 09:42:21,943 - INFO - Deleting VN ctest-vn-40251103 2025-04-07 09:42:21,983 - DEBUG - VN d27aae36-5b6e-4ae0-bcb9-c1f8a85764d6 still in use: Unable to complete operation on network d27aae36-5b6e-4ae0-bcb9-c1f8a85764d6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0a5e04e1-dcef-4f24-9da3-ddfcd61a98b6'] 2025-04-07 09:42:21,983 - WARNING - Deleting VN ctest-vn-40251103 failed..Will retry 2025-04-07 09:42:24,102 - DEBUG - Response for deleting network () 2025-04-07 09:42:24,358 - DEBUG - No XMPP flaps were noticed during the test 2025-04-07 09:42:24,359 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2025-04-07 09:42:24,359 - INFO - -------------------------------------------------------------------------------- 2025-04-07 09:42:25,056 - INFO - Deleted project: ctest-TestBasicVMVNx-80434762, ID : 8a84fb17-f5ef-4846-96bc-54f2a0daf00e