2025-01-06 02:16:43,749 - INFO - Domain Default found not creating 2025-01-06 02:16:43,875 - INFO - Project ctest-TestBasicVMVNx-39616117 not found, creating it 2025-01-06 02:16:44,297 - INFO - Created Project:ctest-TestBasicVMVNx-39616117, ID : 5c8c1981-8e49-47d8-96c6-fd3a8754024d 2025-01-06 02:16:45,697 - INFO - ================================================================================ 2025-01-06 02:16:45,697 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-01-06 02:16:45,697 - 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-01-06 02:16:45,958 - DEBUG - Nothing to compare xmpp stats {'10.0.0.31': {'10.20.0.10': '0'}} with 2025-01-06 02:16:45,958 - INFO - Initial checks done. Running the testcase now 2025-01-06 02:16:45,958 - INFO - 2025-01-06 02:16:46,465 - DEBUG - Response for create_network : {'network': {'id': 'cd236870-abd5-444e-8da2-09a9331ae2fd', 'name': 'ctest-vn-30021381', 'tenant_id': '5c8c19818e4947d896c6fd3a8754024d', 'project_id': '5c8c19818e4947d896c6fd3a8754024d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-39616117', 'ctest-vn-30021381'], 'port_security_enabled': True, 'description': ''}} 2025-01-06 02:16:46,658 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ff0c685a-a61d-4ab0-a996-1b2e74aa6c40', 'name': '', 'tenant_id': '5c8c19818e4947d896c6fd3a8754024d', 'network_id': 'cd236870-abd5-444e-8da2-09a9331ae2fd', 'ip_version': 4, 'cidr': '204.57.49.64/26', 'allocation_pools': [{'start': '204.57.49.66', 'end': '204.57.49.126'}], 'gateway_ip': '204.57.49.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '204.57.49.66', 'tags': [], 'project_id': '5c8c19818e4947d896c6fd3a8754024d'}} 2025-01-06 02:16:46,675 - INFO - Created VN ctest-vn-30021381 2025-01-06 02:16:46,727 - DEBUG - VN ctest-vn-30021381 UUID is cd236870-abd5-444e-8da2-09a9331ae2fd 2025-01-06 02:16:46,916 - DEBUG - Services list from nova: [, , ] 2025-01-06 02:16:47,872 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2536-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2536-1) 2025-01-06 02:16:48,997 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2536-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2536-1) 2025-01-06 02:16:48,998 - INFO - Waiting for VM ctest-TestBasicVMVNx-39616117-86290737 to be up.. 2025-01-06 02:16:49,082 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-06 02:16:54,154 - DEBUG - VM is in ACTIVE state now 2025-01-06 02:16:54,154 - INFO - VM name : ctest-TestBasicVMVNx-39616117-86290737 2025-01-06 02:16:54,220 - DEBUG - VM ctest-TestBasicVMVNx-39616117-86290737 ID is ad8ac99f-0343-4910-976c-6d7ad3c88d4b 2025-01-06 02:16:54,237 - DEBUG - VM ctest-TestBasicVMVNx-39616117-86290737 launched on Node cn-jenkins-deploy-platform-ansible-os-2536-1 2025-01-06 02:16:54,303 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/ad8ac99f-0343-4910-976c-6d7ad3c88d4b 2025-01-06 02:16:54,594 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/ad8ac99f-0343-4910-976c-6d7ad3c88d4b 2025-01-06 02:16:54,625 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/40fe2a37-d9da-459f-84e9-b8ec3e15b7c2 2025-01-06 02:16:57,886 - 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 1024ms') 2025-01-06 02:16:57,887 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-39616117-86290737 failed! 2025-01-06 02:16:57,938 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-39616117:ctest-vn-30021381 is 204.57.49.65 and allocation pool is NOT set 2025-01-06 02:16:59,995 - 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.55 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.417 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.417/1.482/2.547/1.065 ms') 2025-01-06 02:16:59,995 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-39616117-86290737 passed 2025-01-06 02:17:00,147 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-06 02:17:00,147 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-39616117-86290737, IP 204.57.49.67, Port 22 2025-01-06 02:17:00,302 - DEBUG - VM ctest-TestBasicVMVNx-39616117-86290737 is ready for SSH connections 2025-01-06 02:17:00,302 - INFO - Waiting for VM ctest-TestBasicVMVNx-39616117-05120396 to be up.. 2025-01-06 02:17:00,507 - DEBUG - VM is in ACTIVE state now 2025-01-06 02:17:00,507 - INFO - VM name : ctest-TestBasicVMVNx-39616117-05120396 2025-01-06 02:17:00,591 - DEBUG - VM ctest-TestBasicVMVNx-39616117-05120396 ID is f2ba11b7-3c18-4b83-bb9e-31eb20591847 2025-01-06 02:17:00,593 - DEBUG - VM ctest-TestBasicVMVNx-39616117-05120396 launched on Node cn-jenkins-deploy-platform-ansible-os-2536-1 2025-01-06 02:17:00,677 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/f2ba11b7-3c18-4b83-bb9e-31eb20591847 2025-01-06 02:17:00,687 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/5c2c5829-d9df-43ea-bf8f-aa00fb5e5175 2025-01-06 02:17:01,919 - 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.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.469 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.469/1.619/2.770/1.150 ms') 2025-01-06 02:17:01,919 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-39616117-05120396 passed 2025-01-06 02:17:02,070 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-06 02:17:02,071 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-39616117-05120396, IP 204.57.49.68, Port 22 2025-01-06 02:17:02,230 - DEBUG - VM ctest-TestBasicVMVNx-39616117-05120396 is ready for SSH connections 2025-01-06 02:17:02,230 - DEBUG - FILE SIZE = 1303B 2025-01-06 02:17:02,230 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-39616117-86290737 to ctest-TestBasicVMVNx-39616117-05120396 using scp 2025-01-06 02:17:02,231 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-06 02:17:02,236 - 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.31, gateway password: c0ntrail123 2025-01-06 02:17:02,236 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-01-06 02:17:04,154 - DEBUG - 1+0 records in 1+0 records out 2025-01-06 02:17:04,747 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-06 02:17:05,068 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.31, gateway password: c0ntrail123 2025-01-06 02:17:05,068 - DEBUG - ls -l testfile 2025-01-06 02:17:06,656 - DEBUG - -rw------- 1 cirros cirros 1303 Jan 5 19:17 testfile 2025-01-06 02:17:06,656 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-39616117-05120396 2025-01-06 02:17:06,656 - INFO - Deleting VM ctest-TestBasicVMVNx-39616117-05120396 2025-01-06 02:17:06,722 - INFO - Deleting VM ctest-TestBasicVMVNx-39616117-86290737 2025-01-06 02:17:06,795 - INFO - Deleting VN ctest-vn-30021381 2025-01-06 02:17:06,830 - DEBUG - VN cd236870-abd5-444e-8da2-09a9331ae2fd still in use: Unable to complete operation on network cd236870-abd5-444e-8da2-09a9331ae2fd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-84f5f92d-c036-4a42-a208-37cab872de58'] 2025-01-06 02:17:06,830 - WARNING - Deleting VN ctest-vn-30021381 failed..Will retry 2025-01-06 02:17:08,925 - DEBUG - Response for deleting network () 2025-01-06 02:17:09,180 - DEBUG - No XMPP flaps were noticed during the test
2025-01-06 02:17:09,181 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-01-06 02:17:09,181 - INFO - -------------------------------------------------------------------------------- 2025-01-06 02:17:09,817 - INFO - Deleted project: ctest-TestBasicVMVNx-39616117, ID : 5c8c1981-8e49-47d8-96c6-fd3a8754024d