2025-01-05 13:52:17,794 - INFO - Domain Default found not creating
2025-01-05 13:52:17,922 - INFO - Project ctest-TestBasicVMVNx-60466580 not found, creating it
2025-01-05 13:52:18,383 - INFO - Created Project:ctest-TestBasicVMVNx-60466580, ID : daa2cd50-c6bd-4269-8ea3-822e568f6c99
2025-01-05 13:52:19,774 - INFO - ================================================================================
2025-01-05 13:52:19,774 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-01-05 13:52:19,774 - 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-05 13:52:20,028 - DEBUG - Nothing to compare xmpp stats {'10.0.0.42': {'10.20.0.5': '0'}} with
2025-01-05 13:52:20,029 - INFO - Initial checks done. Running the testcase now
2025-01-05 13:52:20,029 - INFO -
2025-01-05 13:52:20,577 - DEBUG - Response for create_network : {'network': {'id': '2adde36d-1d76-47f4-b73e-29de5673d2cc', 'name': 'ctest-vn-54340087', 'tenant_id': 'daa2cd50c6bd42698ea3822e568f6c99', 'project_id': 'daa2cd50c6bd42698ea3822e568f6c99', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-60466580', 'ctest-vn-54340087'], 'port_security_enabled': True, 'description': ''}}
2025-01-05 13:52:20,722 - DEBUG - Response for create_subnet : {'subnet': {'id': '19d4a524-41fa-4339-9334-58c4980a04e6', 'name': '', 'tenant_id': 'daa2cd50c6bd42698ea3822e568f6c99', 'network_id': '2adde36d-1d76-47f4-b73e-29de5673d2cc', 'ip_version': 4, 'cidr': '19.216.63.0/26', 'allocation_pools': [{'start': '19.216.63.2', 'end': '19.216.63.62'}], 'gateway_ip': '19.216.63.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '19.216.63.2', 'tags': [], 'project_id': 'daa2cd50c6bd42698ea3822e568f6c99'}}
2025-01-05 13:52:20,739 - INFO - Created VN ctest-vn-54340087
2025-01-05 13:52:20,789 - DEBUG - VN ctest-vn-54340087 UUID is 2adde36d-1d76-47f4-b73e-29de5673d2cc
2025-01-05 13:52:20,984 - DEBUG - Services list from nova: [, , ]
2025-01-05 13:52:22,015 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2535-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2535-1)
2025-01-05 13:52:23,106 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2535-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2535-1)
2025-01-05 13:52:23,106 - INFO - Waiting for VM ctest-TestBasicVMVNx-60466580-57094690 to be up..
2025-01-05 13:52:23,183 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-05 13:52:28,260 - DEBUG - VM is in ACTIVE state now
2025-01-05 13:52:28,260 - INFO - VM name : ctest-TestBasicVMVNx-60466580-57094690
2025-01-05 13:52:28,422 - DEBUG - VM ctest-TestBasicVMVNx-60466580-57094690 ID is 79a029e2-d7f1-41c3-b06e-7a2d83ea6f95
2025-01-05 13:52:28,442 - DEBUG - VM ctest-TestBasicVMVNx-60466580-57094690 launched on Node cn-jenkins-deploy-platform-ansible-os-2535-1
2025-01-05 13:52:28,524 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/79a029e2-d7f1-41c3-b06e-7a2d83ea6f95
2025-01-05 13:52:28,824 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/79a029e2-d7f1-41c3-b06e-7a2d83ea6f95
2025-01-05 13:52:28,865 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/9baec34d-ff0e-4424-9c3d-09e10665ad33
2025-01-05 13:52:32,127 - 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 1023ms')
2025-01-05 13:52:32,127 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-60466580-57094690 failed!
2025-01-05 13:52:32,185 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-60466580:ctest-vn-54340087 is 19.216.63.1 and allocation pool is NOT set
2025-01-05 13:52:34,244 - 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.60 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.603 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.603/1.603/2.604/1.000 ms')
2025-01-05 13:52:34,244 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-60466580-57094690 passed
2025-01-05 13:52:34,401 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-05 13:52:34,401 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-60466580-57094690, IP 19.216.63.3, Port 22
2025-01-05 13:52:34,561 - DEBUG - VM ctest-TestBasicVMVNx-60466580-57094690 is ready for SSH connections
2025-01-05 13:52:34,561 - INFO - Waiting for VM ctest-TestBasicVMVNx-60466580-57234777 to be up..
2025-01-05 13:52:34,635 - DEBUG - VM is in ACTIVE state now
2025-01-05 13:52:34,636 - INFO - VM name : ctest-TestBasicVMVNx-60466580-57234777
2025-01-05 13:52:34,715 - DEBUG - VM ctest-TestBasicVMVNx-60466580-57234777 ID is 1af9528c-8aad-4d2c-8edc-d272b6bb2479
2025-01-05 13:52:34,715 - DEBUG - VM ctest-TestBasicVMVNx-60466580-57234777 launched on Node cn-jenkins-deploy-platform-ansible-os-2535-1
2025-01-05 13:52:34,798 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/1af9528c-8aad-4d2c-8edc-d272b6bb2479
2025-01-05 13:52:34,806 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/e2841326-af2f-4b21-9934-a9d95be55377
2025-01-05 13:52:36,041 - 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.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.530 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.530/1.612/2.695/1.082 ms')
2025-01-05 13:52:36,041 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-60466580-57234777 passed
2025-01-05 13:52:36,201 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-05 13:52:36,201 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-60466580-57234777, IP 19.216.63.4, Port 22
2025-01-05 13:52:36,357 - DEBUG - VM ctest-TestBasicVMVNx-60466580-57234777 is ready for SSH connections
2025-01-05 13:52:36,357 - DEBUG - FILE SIZE = 1303B
2025-01-05 13:52:36,357 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-60466580-57094690 to ctest-TestBasicVMVNx-60466580-57234777 using scp
2025-01-05 13:52:36,358 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-05 13:52:36,377 - 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.42, gateway password: c0ntrail123
2025-01-05 13:52:36,377 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-01-05 13:52:38,231 - DEBUG - 1+0 records in
1+0 records out
2025-01-05 13:52:38,806 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-05 13:52:39,119 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.42, gateway password: c0ntrail123
2025-01-05 13:52:39,120 - DEBUG - ls -l testfile
2025-01-05 13:52:40,696 - DEBUG - -rw------- 1 cirros cirros 1303 Jan 5 06:52 [0;0mtestfile[0m
2025-01-05 13:52:40,696 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-60466580-57234777
2025-01-05 13:52:40,696 - INFO - Deleting VM ctest-TestBasicVMVNx-60466580-57234777
2025-01-05 13:52:40,767 - INFO - Deleting VM ctest-TestBasicVMVNx-60466580-57094690
2025-01-05 13:52:40,824 - INFO - Deleting VN ctest-vn-54340087
2025-01-05 13:52:40,862 - DEBUG - VN 2adde36d-1d76-47f4-b73e-29de5673d2cc still in use: Unable to complete operation on network 2adde36d-1d76-47f4-b73e-29de5673d2cc. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-68c8be69-4b55-448e-845a-d36e68d8eb73']
2025-01-05 13:52:40,862 - WARNING - Deleting VN ctest-vn-54340087 failed..Will retry
2025-01-05 13:52:42,970 - DEBUG - Response for deleting network ()
2025-01-05 13:52:43,227 - DEBUG - No XMPP flaps were noticed during the test
2025-01-05 13:52:43,227 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-01-05 13:52:43,227 - INFO - --------------------------------------------------------------------------------
2025-01-05 13:52:43,889 - INFO - Deleted project: ctest-TestBasicVMVNx-60466580, ID : daa2cd50-c6bd-4269-8ea3-822e568f6c99