2024-09-18 05:05:37,814 - INFO - Domain Default found not creating 2024-09-18 05:05:38,017 - INFO - Project ctest-TestBasicVMVNx-55304325 not found, creating it 2024-09-18 05:05:38,543 - INFO - Created Project:ctest-TestBasicVMVNx-55304325, ID : da86676d-1fc9-46b8-924a-d9f88f18e217 2024-09-18 05:05:40,121 - INFO - ================================================================================ 2024-09-18 05:05:40,122 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-18 05:05:40,122 - 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-18 05:05:40,377 - DEBUG - Nothing to compare xmpp stats {'10.0.0.55': {'10.20.0.12': '0'}} with 2024-09-18 05:05:40,377 - INFO - Initial checks done. Running the testcase now 2024-09-18 05:05:40,377 - INFO - 2024-09-18 05:05:41,035 - DEBUG - Response for create_network : {'network': {'id': '6e31dcd3-4f8d-485d-a3d2-48810f283239', 'name': 'ctest-vn-72142380', 'tenant_id': 'da86676d1fc946b8924ad9f88f18e217', 'project_id': 'da86676d1fc946b8924ad9f88f18e217', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-55304325', 'ctest-vn-72142380'], 'port_security_enabled': True, 'description': ''}} 2024-09-18 05:05:41,241 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd511d698-1bce-4a6a-903d-fdda046f1125', 'name': '', 'tenant_id': 'da86676d1fc946b8924ad9f88f18e217', 'network_id': '6e31dcd3-4f8d-485d-a3d2-48810f283239', 'ip_version': 4, 'cidr': '3.250.62.192/26', 'allocation_pools': [{'start': '3.250.62.194', 'end': '3.250.62.254'}], 'gateway_ip': '3.250.62.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '3.250.62.194', 'tags': [], 'project_id': 'da86676d1fc946b8924ad9f88f18e217'}} 2024-09-18 05:05:41,263 - INFO - Created VN ctest-vn-72142380 2024-09-18 05:05:41,320 - DEBUG - VN ctest-vn-72142380 UUID is 6e31dcd3-4f8d-485d-a3d2-48810f283239 2024-09-18 05:05:41,525 - DEBUG - Services list from nova: [, , ] 2024-09-18 05:05:42,675 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1983-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1983-1) 2024-09-18 05:05:44,040 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1983-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1983-1) 2024-09-18 05:05:44,041 - INFO - Waiting for VM ctest-TestBasicVMVNx-55304325-19735210 to be up.. 2024-09-18 05:05:44,144 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-18 05:05:49,249 - DEBUG - VM is in ACTIVE state now 2024-09-18 05:05:49,249 - INFO - VM name : ctest-TestBasicVMVNx-55304325-19735210 2024-09-18 05:05:49,337 - DEBUG - VM ctest-TestBasicVMVNx-55304325-19735210 ID is cf978c37-b251-4bae-996d-15c783e35038 2024-09-18 05:05:49,359 - DEBUG - VM ctest-TestBasicVMVNx-55304325-19735210 launched on Node cn-jenkins-deploy-platform-ansible-os-1983-1 2024-09-18 05:05:49,452 - DEBUG - Requesting: http://10.0.0.55:8082/virtual-machine/cf978c37-b251-4bae-996d-15c783e35038 2024-09-18 05:05:49,751 - DEBUG - Requesting: http://10.0.0.55:8082/virtual-machine/cf978c37-b251-4bae-996d-15c783e35038 2024-09-18 05:05:49,796 - DEBUG - Requesting: http://10.0.0.55:8082/virtual-machine-interface/ddd5ba97-fa64-4782-baf8-1a01b7d32479 2024-09-18 05:05:53,085 - 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 1027ms') 2024-09-18 05:05:53,085 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-55304325-19735210 failed! 2024-09-18 05:05:53,148 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-55304325:ctest-vn-72142380 is 3.250.62.193 and allocation pool is NOT set 2024-09-18 05:05:55,220 - 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.35 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.939 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.939/3.146/5.353/2.207 ms') 2024-09-18 05:05:55,220 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-55304325-19735210 passed 2024-09-18 05:05:55,384 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-18 05:05:55,384 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-55304325-19735210, IP 3.250.62.195, Port 22 2024-09-18 05:05:55,539 - DEBUG - VM ctest-TestBasicVMVNx-55304325-19735210 is ready for SSH connections 2024-09-18 05:05:55,540 - INFO - Waiting for VM ctest-TestBasicVMVNx-55304325-40577355 to be up.. 2024-09-18 05:05:55,623 - DEBUG - VM is in ACTIVE state now 2024-09-18 05:05:55,623 - INFO - VM name : ctest-TestBasicVMVNx-55304325-40577355 2024-09-18 05:05:55,705 - DEBUG - VM ctest-TestBasicVMVNx-55304325-40577355 ID is aa18a45b-2805-4dd8-be49-1b93f7397a2a 2024-09-18 05:05:55,706 - DEBUG - VM ctest-TestBasicVMVNx-55304325-40577355 launched on Node cn-jenkins-deploy-platform-ansible-os-1983-1 2024-09-18 05:05:55,809 - DEBUG - Requesting: http://10.0.0.55:8082/virtual-machine/aa18a45b-2805-4dd8-be49-1b93f7397a2a 2024-09-18 05:05:55,824 - DEBUG - Requesting: http://10.0.0.55:8082/virtual-machine-interface/a70d00d9-61bc-4336-91ac-1e90874d82f3 2024-09-18 05:05:57,107 - 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.80 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.479 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.479/1.639/2.799/1.160 ms') 2024-09-18 05:05:57,107 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-55304325-40577355 passed 2024-09-18 05:05:57,272 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-18 05:05:57,272 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-55304325-40577355, IP 3.250.62.196, Port 22 2024-09-18 05:05:57,431 - DEBUG - VM ctest-TestBasicVMVNx-55304325-40577355 is ready for SSH connections 2024-09-18 05:05:57,431 - DEBUG - FILE SIZE = 1303B 2024-09-18 05:05:57,431 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-55304325-19735210 to ctest-TestBasicVMVNx-55304325-40577355 using scp 2024-09-18 05:05:57,432 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-18 05:05:57,437 - 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.55, gateway password: c0ntrail123 2024-09-18 05:05:57,437 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-18 05:05:59,415 - DEBUG - 1+0 records in 1+0 records out 2024-09-18 05:06:00,027 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-18 05:06:00,373 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.55, gateway password: c0ntrail123 2024-09-18 05:06:00,374 - DEBUG - ls -l testfile 2024-09-18 05:06:01,970 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 17 23:06 testfile 2024-09-18 05:06:01,970 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-55304325-40577355 2024-09-18 05:06:01,970 - INFO - Deleting VM ctest-TestBasicVMVNx-55304325-40577355 2024-09-18 05:06:02,058 - INFO - Deleting VM ctest-TestBasicVMVNx-55304325-19735210 2024-09-18 05:06:02,136 - INFO - Deleting VN ctest-vn-72142380 2024-09-18 05:06:02,183 - DEBUG - VN 6e31dcd3-4f8d-485d-a3d2-48810f283239 still in use: Unable to complete operation on network 6e31dcd3-4f8d-485d-a3d2-48810f283239. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-20c0186c-25bb-468b-b5c5-a606eb5ee52c'] 2024-09-18 05:06:02,183 - WARNING - Deleting VN ctest-vn-72142380 failed..Will retry 2024-09-18 05:06:04,347 - DEBUG - Response for deleting network () 2024-09-18 05:06:04,606 - DEBUG - No XMPP flaps were noticed during the test
2024-09-18 05:06:04,606 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2024-09-18 05:06:04,606 - INFO - -------------------------------------------------------------------------------- 2024-09-18 05:06:05,374 - INFO - Deleted project: ctest-TestBasicVMVNx-55304325, ID : da86676d-1fc9-46b8-924a-d9f88f18e217