2025-01-14 10:59:11,745 - INFO - Domain Default found not creating
2025-01-14 10:59:11,920 - INFO - Project ctest-TestBasicVMVNx-67733792 not found, creating it
2025-01-14 10:59:12,427 - INFO - Created Project:ctest-TestBasicVMVNx-67733792, ID : 7ad17708-8d6b-467a-ae7f-4001f2343b23
2025-01-14 10:59:13,883 - INFO - ================================================================================
2025-01-14 10:59:13,883 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-01-14 10:59:13,883 - 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 10:59:14,140 - DEBUG - Nothing to compare xmpp stats {'10.0.0.29': {'10.20.0.6': '0'}} with
2025-01-14 10:59:14,140 - INFO - Initial checks done. Running the testcase now
2025-01-14 10:59:14,140 - INFO -
2025-01-14 10:59:14,703 - DEBUG - Response for create_network : {'network': {'id': 'fbe388ff-73b5-4c95-a112-948f5b11c56d', 'name': 'ctest-vn-76562176', 'tenant_id': '7ad177088d6b467aae7f4001f2343b23', 'project_id': '7ad177088d6b467aae7f4001f2343b23', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-67733792', 'ctest-vn-76562176'], 'port_security_enabled': True, 'description': ''}}
2025-01-14 10:59:14,915 - DEBUG - Response for create_subnet : {'subnet': {'id': '3f8a152c-bd26-4381-aa89-b21964668b53', 'name': '', 'tenant_id': '7ad177088d6b467aae7f4001f2343b23', 'network_id': 'fbe388ff-73b5-4c95-a112-948f5b11c56d', 'ip_version': 4, 'cidr': '181.81.22.0/26', 'allocation_pools': [{'start': '181.81.22.2', 'end': '181.81.22.62'}], 'gateway_ip': '181.81.22.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '181.81.22.2', 'tags': [], 'project_id': '7ad177088d6b467aae7f4001f2343b23'}}
2025-01-14 10:59:14,935 - INFO - Created VN ctest-vn-76562176
2025-01-14 10:59:14,992 - DEBUG - VN ctest-vn-76562176 UUID is fbe388ff-73b5-4c95-a112-948f5b11c56d
2025-01-14 10:59:15,171 - DEBUG - Services list from nova: [, , ]
2025-01-14 10:59:16,198 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2623-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2623-1)
2025-01-14 10:59:17,343 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2623-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2623-1)
2025-01-14 10:59:17,343 - INFO - Waiting for VM ctest-TestBasicVMVNx-67733792-45388857 to be up..
2025-01-14 10:59:17,439 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-14 10:59:22,523 - DEBUG - VM is in ACTIVE state now
2025-01-14 10:59:22,523 - INFO - VM name : ctest-TestBasicVMVNx-67733792-45388857
2025-01-14 10:59:22,603 - DEBUG - VM ctest-TestBasicVMVNx-67733792-45388857 ID is e5d7a5e5-2f7a-44a9-9b07-dcab3eb4996c
2025-01-14 10:59:22,623 - DEBUG - VM ctest-TestBasicVMVNx-67733792-45388857 launched on Node cn-jenkins-deploy-platform-ansible-os-2623-1
2025-01-14 10:59:22,713 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/e5d7a5e5-2f7a-44a9-9b07-dcab3eb4996c
2025-01-14 10:59:23,007 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/e5d7a5e5-2f7a-44a9-9b07-dcab3eb4996c
2025-01-14 10:59:23,047 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/8f1c8775-2152-48f5-86fe-cd709fd16dd4
2025-01-14 10:59:26,313 - 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 10:59:26,313 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-67733792-45388857 failed!
2025-01-14 10:59:26,372 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-67733792:ctest-vn-76562176 is 181.81.22.1 and allocation pool is NOT set
2025-01-14 10:59:28,436 - 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.77 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.427 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.427/1.597/2.767/1.170 ms')
2025-01-14 10:59:28,436 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-67733792-45388857 passed
2025-01-14 10:59:28,588 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-14 10:59:28,588 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-67733792-45388857, IP 181.81.22.3, Port 22
2025-01-14 10:59:28,743 - DEBUG - VM ctest-TestBasicVMVNx-67733792-45388857 is ready for SSH connections
2025-01-14 10:59:28,743 - INFO - Waiting for VM ctest-TestBasicVMVNx-67733792-46145438 to be up..
2025-01-14 10:59:28,825 - DEBUG - VM is in ACTIVE state now
2025-01-14 10:59:28,825 - INFO - VM name : ctest-TestBasicVMVNx-67733792-46145438
2025-01-14 10:59:28,903 - DEBUG - VM ctest-TestBasicVMVNx-67733792-46145438 ID is de03a9d3-f33a-473d-9c29-aa72c633b6e6
2025-01-14 10:59:28,903 - DEBUG - VM ctest-TestBasicVMVNx-67733792-46145438 launched on Node cn-jenkins-deploy-platform-ansible-os-2623-1
2025-01-14 10:59:28,976 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/de03a9d3-f33a-473d-9c29-aa72c633b6e6
2025-01-14 10:59:28,985 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/833c0a59-b59b-4723-9566-5bc50df25fd8
2025-01-14 10:59:30,234 - 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.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.466 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.466/2.115/3.764/1.649 ms')
2025-01-14 10:59:30,234 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-67733792-46145438 passed
2025-01-14 10:59:30,392 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-14 10:59:30,392 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-67733792-46145438, IP 181.81.22.4, Port 22
2025-01-14 10:59:30,548 - DEBUG - VM ctest-TestBasicVMVNx-67733792-46145438 is ready for SSH connections
2025-01-14 10:59:30,548 - DEBUG - FILE SIZE = 1303B
2025-01-14 10:59:30,548 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-67733792-45388857 to ctest-TestBasicVMVNx-67733792-46145438 using scp
2025-01-14 10:59:30,549 - 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.29, gateway password: c0ntrail123
2025-01-14 10:59:30,549 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-01-14 10:59:32,490 - DEBUG - 1+0 records in
1+0 records out
2025-01-14 10:59:33,086 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-14 10:59:33,415 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123
2025-01-14 10:59:33,416 - DEBUG - ls -l testfile
2025-01-14 10:59:34,998 - DEBUG - -rw------- 1 cirros cirros 1303 Jan 14 03:59 [0;0mtestfile[0m
2025-01-14 10:59:34,998 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-67733792-46145438
2025-01-14 10:59:34,998 - INFO - Deleting VM ctest-TestBasicVMVNx-67733792-46145438
2025-01-14 10:59:35,077 - INFO - Deleting VM ctest-TestBasicVMVNx-67733792-45388857
2025-01-14 10:59:35,244 - INFO - Deleting VN ctest-vn-76562176
2025-01-14 10:59:35,285 - DEBUG - VN fbe388ff-73b5-4c95-a112-948f5b11c56d still in use: Unable to complete operation on network fbe388ff-73b5-4c95-a112-948f5b11c56d. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-0218984d-9e81-486e-ab11-d9f1e55407fb']
2025-01-14 10:59:35,286 - WARNING - Deleting VN ctest-vn-76562176 failed..Will retry
2025-01-14 10:59:37,395 - DEBUG - Response for deleting network ()
2025-01-14 10:59:37,651 - DEBUG - No XMPP flaps were noticed during the test
2025-01-14 10:59:37,651 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-01-14 10:59:37,651 - INFO - --------------------------------------------------------------------------------
2025-01-14 10:59:38,357 - INFO - Deleted project: ctest-TestBasicVMVNx-67733792, ID : 7ad17708-8d6b-467a-ae7f-4001f2343b23