2024-11-15 06:43:49,976 - INFO - Domain Default found not creating 2024-11-15 06:43:50,151 - INFO - Project ctest-TestBasicVMVNx-34846710 not found, creating it 2024-11-15 06:43:50,706 - INFO - Created Project:ctest-TestBasicVMVNx-34846710, ID : 740ae632-d69a-4bae-94bb-fa982410c97c 2024-11-15 06:43:52,322 - INFO - ================================================================================ 2024-11-15 06:43:52,323 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-11-15 06:43:52,323 - 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 2024-11-15 06:43:52,576 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.8': '0'}} with 2024-11-15 06:43:52,576 - INFO - Initial checks done. Running the testcase now 2024-11-15 06:43:52,576 - INFO - 2024-11-15 06:43:53,198 - DEBUG - Response for create_network : {'network': {'id': '712b0efa-6273-4eb3-89ae-72422f0ca539', 'name': 'ctest-vn-85892091', 'tenant_id': '740ae632d69a4bae94bbfa982410c97c', 'project_id': '740ae632d69a4bae94bbfa982410c97c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-34846710', 'ctest-vn-85892091'], 'port_security_enabled': True, 'description': ''}} 2024-11-15 06:43:53,403 - DEBUG - Response for create_subnet : {'subnet': {'id': '9d6704f9-f641-46b1-8221-cdcaef257452', 'name': '', 'tenant_id': '740ae632d69a4bae94bbfa982410c97c', 'network_id': '712b0efa-6273-4eb3-89ae-72422f0ca539', 'ip_version': 4, 'cidr': '141.217.25.64/26', 'allocation_pools': [{'start': '141.217.25.66', 'end': '141.217.25.126'}], 'gateway_ip': '141.217.25.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '141.217.25.66', 'tags': [], 'project_id': '740ae632d69a4bae94bbfa982410c97c'}} 2024-11-15 06:43:53,427 - INFO - Created VN ctest-vn-85892091 2024-11-15 06:43:53,486 - DEBUG - VN ctest-vn-85892091 UUID is 712b0efa-6273-4eb3-89ae-72422f0ca539 2024-11-15 06:43:53,657 - DEBUG - Services list from nova: [, , ] 2024-11-15 06:43:54,714 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2309-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2309-1) 2024-11-15 06:43:55,861 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2309-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2309-1) 2024-11-15 06:43:55,861 - INFO - Waiting for VM ctest-TestBasicVMVNx-34846710-57867016 to be up.. 2024-11-15 06:43:55,952 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-15 06:44:01,029 - DEBUG - VM is in ACTIVE state now 2024-11-15 06:44:01,029 - INFO - VM name : ctest-TestBasicVMVNx-34846710-57867016 2024-11-15 06:44:01,107 - DEBUG - VM ctest-TestBasicVMVNx-34846710-57867016 ID is 6398a6f7-8afe-4af1-84f9-b6b3762b71dc 2024-11-15 06:44:01,126 - DEBUG - VM ctest-TestBasicVMVNx-34846710-57867016 launched on Node cn-jenkins-deploy-platform-ansible-os-2309-1 2024-11-15 06:44:01,230 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/6398a6f7-8afe-4af1-84f9-b6b3762b71dc 2024-11-15 06:44:01,534 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/6398a6f7-8afe-4af1-84f9-b6b3762b71dc 2024-11-15 06:44:01,568 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/62737a48-d058-4ba5-9546-9669a70f380b 2024-11-15 06:44:04,834 - 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') 2024-11-15 06:44:04,835 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-34846710-57867016 failed! 2024-11-15 06:44:04,898 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-34846710:ctest-vn-85892091 is 141.217.25.65 and allocation pool is NOT set 2024-11-15 06:44:06,963 - 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=6.34 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.368 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.368/3.354/6.340/2.986 ms') 2024-11-15 06:44:06,964 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-34846710-57867016 passed 2024-11-15 06:44:07,122 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-15 06:44:07,123 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-34846710-57867016, IP 141.217.25.67, Port 22 2024-11-15 06:44:07,281 - DEBUG - VM ctest-TestBasicVMVNx-34846710-57867016 is ready for SSH connections 2024-11-15 06:44:07,281 - INFO - Waiting for VM ctest-TestBasicVMVNx-34846710-49437112 to be up.. 2024-11-15 06:44:07,364 - DEBUG - VM is in ACTIVE state now 2024-11-15 06:44:07,364 - INFO - VM name : ctest-TestBasicVMVNx-34846710-49437112 2024-11-15 06:44:07,442 - DEBUG - VM ctest-TestBasicVMVNx-34846710-49437112 ID is 55f2854a-1065-41ce-ba66-0bf66f95281b 2024-11-15 06:44:07,442 - DEBUG - VM ctest-TestBasicVMVNx-34846710-49437112 launched on Node cn-jenkins-deploy-platform-ansible-os-2309-1 2024-11-15 06:44:07,605 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/55f2854a-1065-41ce-ba66-0bf66f95281b 2024-11-15 06:44:07,614 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/6084cf7e-b364-424d-b4b4-847f5661eb4e 2024-11-15 06:44:08,866 - 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.25 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.493 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.493/1.869/3.245/1.376 ms') 2024-11-15 06:44:08,866 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-34846710-49437112 passed 2024-11-15 06:44:09,022 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-15 06:44:09,022 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-34846710-49437112, IP 141.217.25.68, Port 22 2024-11-15 06:44:09,188 - DEBUG - VM ctest-TestBasicVMVNx-34846710-49437112 is ready for SSH connections 2024-11-15 06:44:09,188 - DEBUG - FILE SIZE = 1303B 2024-11-15 06:44:09,188 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-34846710-57867016 to ctest-TestBasicVMVNx-34846710-49437112 using scp 2024-11-15 06:44:09,189 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-15 06:44:09,194 - 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.41, gateway password: c0ntrail123 2024-11-15 06:44:09,194 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-11-15 06:44:11,069 - DEBUG - 1+0 records in 1+0 records out 2024-11-15 06:44:12,043 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-15 06:44:12,359 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2024-11-15 06:44:12,360 - DEBUG - ls -l testfile 2024-11-15 06:44:13,927 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 14 23:44 testfile 2024-11-15 06:44:13,927 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-34846710-49437112 2024-11-15 06:44:13,927 - INFO - Deleting VM ctest-TestBasicVMVNx-34846710-49437112 2024-11-15 06:44:13,992 - INFO - Deleting VM ctest-TestBasicVMVNx-34846710-57867016 2024-11-15 06:44:14,056 - INFO - Deleting VN ctest-vn-85892091 2024-11-15 06:44:14,117 - DEBUG - VN 712b0efa-6273-4eb3-89ae-72422f0ca539 still in use: Unable to complete operation on network 712b0efa-6273-4eb3-89ae-72422f0ca539. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d2bee4eb-4395-4640-9c72-ae09dda67516'] 2024-11-15 06:44:14,117 - WARNING - Deleting VN ctest-vn-85892091 failed..Will retry 2024-11-15 06:44:16,229 - DEBUG - Response for deleting network () 2024-11-15 06:44:16,485 - DEBUG - No XMPP flaps were noticed during the test 2024-11-15 06:44:16,485 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2024-11-15 06:44:16,485 - INFO - -------------------------------------------------------------------------------- 2024-11-15 06:44:17,215 - INFO - Deleted project: ctest-TestBasicVMVNx-34846710, ID : 740ae632-d69a-4bae-94bb-fa982410c97c