2025-01-14 17:05:16,062 - INFO - Domain Default found not creating
2025-01-14 17:05:16,248 - INFO - Project ctest-TestBasicVMVNx-80760902 not found, creating it
2025-01-14 17:05:16,757 - INFO - Created Project:ctest-TestBasicVMVNx-80760902, ID : a50c7473-993f-4dc8-b45f-026bb5bc6317
2025-01-14 17:05:18,360 - INFO - ================================================================================
2025-01-14 17:05:18,360 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-01-14 17:05:18,360 - 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-14 17:05:18,620 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2025-01-14 17:05:18,620 - INFO - Initial checks done. Running the testcase now
2025-01-14 17:05:18,620 - INFO -
2025-01-14 17:05:19,172 - DEBUG - Response for create_network : {'network': {'id': 'a83331c5-e33a-4d52-bae2-e0f6ac9736b7', 'name': 'ctest-vn-37563984', 'tenant_id': 'a50c7473993f4dc8b45f026bb5bc6317', 'project_id': 'a50c7473993f4dc8b45f026bb5bc6317', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-80760902', 'ctest-vn-37563984'], 'port_security_enabled': True, 'description': ''}}
2025-01-14 17:05:19,382 - DEBUG - Response for create_subnet : {'subnet': {'id': '5a8cedc4-d955-4cf3-8363-b78ec6ae3a56', 'name': '', 'tenant_id': 'a50c7473993f4dc8b45f026bb5bc6317', 'network_id': 'a83331c5-e33a-4d52-bae2-e0f6ac9736b7', 'ip_version': 4, 'cidr': '160.99.78.192/26', 'allocation_pools': [{'start': '160.99.78.194', 'end': '160.99.78.254'}], 'gateway_ip': '160.99.78.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '160.99.78.194', 'tags': [], 'project_id': 'a50c7473993f4dc8b45f026bb5bc6317'}}
2025-01-14 17:05:19,405 - INFO - Created VN ctest-vn-37563984
2025-01-14 17:05:19,457 - DEBUG - VN ctest-vn-37563984 UUID is a83331c5-e33a-4d52-bae2-e0f6ac9736b7
2025-01-14 17:05:19,635 - DEBUG - Services list from nova: [, , ]
2025-01-14 17:05:20,661 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2627-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2627-1)
2025-01-14 17:05:21,856 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2627-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2627-1)
2025-01-14 17:05:21,856 - INFO - Waiting for VM ctest-TestBasicVMVNx-80760902-51885590 to be up..
2025-01-14 17:05:21,958 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-14 17:05:27,045 - DEBUG - VM is in ACTIVE state now
2025-01-14 17:05:27,045 - INFO - VM name : ctest-TestBasicVMVNx-80760902-51885590
2025-01-14 17:05:27,127 - DEBUG - VM ctest-TestBasicVMVNx-80760902-51885590 ID is 93adfd5a-4e3f-45a2-b904-c74140d32059
2025-01-14 17:05:27,149 - DEBUG - VM ctest-TestBasicVMVNx-80760902-51885590 launched on Node cn-jenkins-deploy-platform-ansible-os-2627-1
2025-01-14 17:05:27,237 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/93adfd5a-4e3f-45a2-b904-c74140d32059
2025-01-14 17:05:27,533 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/93adfd5a-4e3f-45a2-b904-c74140d32059
2025-01-14 17:05:27,567 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/fada58c7-9ff8-4099-be38-00484bc06a3b
2025-01-14 17:05:30,830 - 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 1011ms')
2025-01-14 17:05:30,830 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-80760902-51885590 failed!
2025-01-14 17:05:30,889 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-80760902:ctest-vn-37563984 is 160.99.78.193 and allocation pool is NOT set
2025-01-14 17:05:32,951 - 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.73 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.701 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.701/2.213/3.725/1.512 ms')
2025-01-14 17:05:32,951 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-80760902-51885590 passed
2025-01-14 17:05:33,105 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-14 17:05:33,105 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-80760902-51885590, IP 160.99.78.195, Port 22
2025-01-14 17:05:33,272 - DEBUG - VM ctest-TestBasicVMVNx-80760902-51885590 is ready for SSH connections
2025-01-14 17:05:33,272 - INFO - Waiting for VM ctest-TestBasicVMVNx-80760902-38325815 to be up..
2025-01-14 17:05:33,471 - DEBUG - VM is in ACTIVE state now
2025-01-14 17:05:33,471 - INFO - VM name : ctest-TestBasicVMVNx-80760902-38325815
2025-01-14 17:05:33,551 - DEBUG - VM ctest-TestBasicVMVNx-80760902-38325815 ID is 8d15bb1e-8563-4661-a7cf-4ed86a758f52
2025-01-14 17:05:33,551 - DEBUG - VM ctest-TestBasicVMVNx-80760902-38325815 launched on Node cn-jenkins-deploy-platform-ansible-os-2627-1
2025-01-14 17:05:33,631 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/8d15bb1e-8563-4661-a7cf-4ed86a758f52
2025-01-14 17:05:33,641 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/62203117-ee6d-49cd-a529-221725f50de9
2025-01-14 17:05:34,886 - 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.21 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.537 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.537/1.874/3.211/1.337 ms')
2025-01-14 17:05:34,886 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-80760902-38325815 passed
2025-01-14 17:05:35,049 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-14 17:05:35,049 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-80760902-38325815, IP 160.99.78.196, Port 22
2025-01-14 17:05:35,215 - DEBUG - VM ctest-TestBasicVMVNx-80760902-38325815 is ready for SSH connections
2025-01-14 17:05:35,215 - DEBUG - FILE SIZE = 1303B
2025-01-14 17:05:35,215 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-80760902-51885590 to ctest-TestBasicVMVNx-80760902-38325815 using scp
2025-01-14 17:05:35,216 - 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.38, gateway password: c0ntrail123
2025-01-14 17:05:35,216 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-01-14 17:05:37,140 - DEBUG - 1+0 records in
1+0 records out
2025-01-14 17:05:37,907 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-14 17:05:38,247 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-01-14 17:05:38,247 - DEBUG - ls -l testfile
2025-01-14 17:05:39,844 - DEBUG - -rw------- 1 cirros cirros 1303 Jan 14 10:05 [0;0mtestfile[0m
2025-01-14 17:05:39,844 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-80760902-38325815
2025-01-14 17:05:39,844 - INFO - Deleting VM ctest-TestBasicVMVNx-80760902-38325815
2025-01-14 17:05:39,934 - INFO - Deleting VM ctest-TestBasicVMVNx-80760902-51885590
2025-01-14 17:05:40,018 - INFO - Deleting VN ctest-vn-37563984
2025-01-14 17:05:40,069 - DEBUG - VN a83331c5-e33a-4d52-bae2-e0f6ac9736b7 still in use: Unable to complete operation on network a83331c5-e33a-4d52-bae2-e0f6ac9736b7. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-04d34302-e8da-4bcf-a97d-b2c44dca90b7']
2025-01-14 17:05:40,069 - WARNING - Deleting VN ctest-vn-37563984 failed..Will retry
2025-01-14 17:05:42,177 - DEBUG - Response for deleting network ()
2025-01-14 17:05:42,436 - DEBUG - No XMPP flaps were noticed during the test
2025-01-14 17:05:42,436 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-01-14 17:05:42,436 - INFO - --------------------------------------------------------------------------------
2025-01-14 17:05:43,157 - INFO - Deleted project: ctest-TestBasicVMVNx-80760902, ID : a50c7473-993f-4dc8-b45f-026bb5bc6317