2024-09-17 18:34:38,195 - INFO - Domain Default found not creating 2024-09-17 18:34:38,367 - INFO - Project ctest-TestBasicVMVNx-50223954 not found, creating it 2024-09-17 18:34:38,869 - INFO - Created Project:ctest-TestBasicVMVNx-50223954, ID : 2f00e570-27ba-467a-aaff-4d9379ca2daf 2024-09-17 18:34:40,418 - INFO - ================================================================================ 2024-09-17 18:34:40,418 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-17 18:34:40,418 - 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-09-17 18:34:40,678 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.14': '0'}} with 2024-09-17 18:34:40,678 - INFO - Initial checks done. Running the testcase now 2024-09-17 18:34:40,678 - INFO - 2024-09-17 18:34:41,265 - DEBUG - Response for create_network : {'network': {'id': '67c8f84b-6c57-41a1-a858-805ea4edfd06', 'name': 'ctest-vn-45640661', 'tenant_id': '2f00e57027ba467aaaff4d9379ca2daf', 'project_id': '2f00e57027ba467aaaff4d9379ca2daf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-50223954', 'ctest-vn-45640661'], 'port_security_enabled': True, 'description': ''}} 2024-09-17 18:34:41,465 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a670d8a5-c450-4ab0-89fb-c78b0c619b4e', 'name': '', 'tenant_id': '2f00e57027ba467aaaff4d9379ca2daf', 'network_id': '67c8f84b-6c57-41a1-a858-805ea4edfd06', 'ip_version': 4, 'cidr': '34.232.11.0/26', 'allocation_pools': [{'start': '34.232.11.2', 'end': '34.232.11.62'}], 'gateway_ip': '34.232.11.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '34.232.11.2', 'tags': [], 'project_id': '2f00e57027ba467aaaff4d9379ca2daf'}} 2024-09-17 18:34:41,484 - INFO - Created VN ctest-vn-45640661 2024-09-17 18:34:41,543 - DEBUG - VN ctest-vn-45640661 UUID is 67c8f84b-6c57-41a1-a858-805ea4edfd06 2024-09-17 18:34:41,728 - DEBUG - Services list from nova: [, , ] 2024-09-17 18:34:42,811 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1966-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1966-1) 2024-09-17 18:34:44,012 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1966-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1966-1) 2024-09-17 18:34:44,012 - INFO - Waiting for VM ctest-TestBasicVMVNx-50223954-41172690 to be up.. 2024-09-17 18:34:44,098 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-17 18:34:49,187 - DEBUG - VM is in ACTIVE state now 2024-09-17 18:34:49,187 - INFO - VM name : ctest-TestBasicVMVNx-50223954-41172690 2024-09-17 18:34:49,268 - DEBUG - VM ctest-TestBasicVMVNx-50223954-41172690 ID is 2a2f0843-2902-46e4-b910-f5d0ff9096e7 2024-09-17 18:34:49,288 - DEBUG - VM ctest-TestBasicVMVNx-50223954-41172690 launched on Node cn-jenkins-deploy-platform-ansible-os-1966-1 2024-09-17 18:34:49,373 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/2a2f0843-2902-46e4-b910-f5d0ff9096e7 2024-09-17 18:34:49,674 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/2a2f0843-2902-46e4-b910-f5d0ff9096e7 2024-09-17 18:34:49,718 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/6c852f6e-724d-4e01-8d6a-fa9a4960bdd5 2024-09-17 18:34:52,995 - 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 1015ms') 2024-09-17 18:34:52,995 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-50223954-41172690 failed! 2024-09-17 18:34:53,055 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-50223954:ctest-vn-45640661 is 34.232.11.1 and allocation pool is NOT set 2024-09-17 18:34:55,116 - 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.46 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.527 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.527/2.993/5.460/2.466 ms') 2024-09-17 18:34:55,116 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-50223954-41172690 passed 2024-09-17 18:34:55,275 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 18:34:55,275 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-50223954-41172690, IP 34.232.11.3, Port 22 2024-09-17 18:34:55,440 - DEBUG - VM ctest-TestBasicVMVNx-50223954-41172690 is ready for SSH connections 2024-09-17 18:34:55,441 - INFO - Waiting for VM ctest-TestBasicVMVNx-50223954-17682490 to be up.. 2024-09-17 18:34:55,518 - DEBUG - VM is in ACTIVE state now 2024-09-17 18:34:55,519 - INFO - VM name : ctest-TestBasicVMVNx-50223954-17682490 2024-09-17 18:34:55,600 - DEBUG - VM ctest-TestBasicVMVNx-50223954-17682490 ID is 867925ab-869d-445b-87ad-a03e52dc062e 2024-09-17 18:34:55,600 - DEBUG - VM ctest-TestBasicVMVNx-50223954-17682490 launched on Node cn-jenkins-deploy-platform-ansible-os-1966-1 2024-09-17 18:34:55,679 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/867925ab-869d-445b-87ad-a03e52dc062e 2024-09-17 18:34:55,689 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/59b5a025-0013-4196-a122-fefb7120471f 2024-09-17 18:34:56,940 - 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.95 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.420 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.420/1.686/2.953/1.266 ms') 2024-09-17 18:34:56,940 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-50223954-17682490 passed 2024-09-17 18:34:57,099 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 18:34:57,099 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-50223954-17682490, IP 34.232.11.4, Port 22 2024-09-17 18:34:57,254 - DEBUG - VM ctest-TestBasicVMVNx-50223954-17682490 is ready for SSH connections 2024-09-17 18:34:57,254 - DEBUG - FILE SIZE = 1303B 2024-09-17 18:34:57,254 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-50223954-41172690 to ctest-TestBasicVMVNx-50223954-17682490 using scp 2024-09-17 18:34:57,255 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 18:34:57,260 - 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-09-17 18:34:57,260 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-17 18:34:59,154 - DEBUG - 1+0 records in 1+0 records out 2024-09-17 18:34:59,975 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 18:35:00,301 - 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-09-17 18:35:00,301 - DEBUG - ls -l testfile 2024-09-17 18:35:01,915 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 17 12:35 testfile 2024-09-17 18:35:01,915 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-50223954-17682490 2024-09-17 18:35:01,915 - INFO - Deleting VM ctest-TestBasicVMVNx-50223954-17682490 2024-09-17 18:35:02,105 - INFO - Deleting VM ctest-TestBasicVMVNx-50223954-41172690 2024-09-17 18:35:02,177 - INFO - Deleting VN ctest-vn-45640661 2024-09-17 18:35:02,228 - DEBUG - VN 67c8f84b-6c57-41a1-a858-805ea4edfd06 still in use: Unable to complete operation on network 67c8f84b-6c57-41a1-a858-805ea4edfd06. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3e30ce8c-f201-4cef-af9b-16cf5dbf64b7'] 2024-09-17 18:35:02,228 - WARNING - Deleting VN ctest-vn-45640661 failed..Will retry 2024-09-17 18:35:04,341 - DEBUG - Response for deleting network () 2024-09-17 18:35:04,601 - DEBUG - No XMPP flaps were noticed during the test
2024-09-17 18:35:04,601 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2024-09-17 18:35:04,601 - INFO - -------------------------------------------------------------------------------- 2024-09-17 18:35:05,319 - INFO - Deleted project: ctest-TestBasicVMVNx-50223954, ID : 2f00e570-27ba-467a-aaff-4d9379ca2daf