2025-02-05 15:48:09,633 - INFO - Domain Default found not creating 2025-02-05 15:48:09,792 - INFO - Project ctest-TestBasicVMVNx-38065172 not found, creating it 2025-02-05 15:48:10,255 - INFO - Created Project:ctest-TestBasicVMVNx-38065172, ID : 81c0ba9d-e77d-47ec-aae5-b31d23c2dd86 2025-02-05 15:48:12,057 - INFO - ================================================================================ 2025-02-05 15:48:12,057 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-02-05 15:48:12,057 - 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-02-05 15:48:12,311 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.17': '0'}} with 2025-02-05 15:48:12,311 - INFO - Initial checks done. Running the testcase now 2025-02-05 15:48:12,311 - INFO - 2025-02-05 15:48:12,921 - DEBUG - Response for create_network : {'network': {'id': '7e104029-39cf-43a5-86d7-53eddca05342', 'name': 'ctest-vn-34139406', 'tenant_id': '81c0ba9de77d47ecaae5b31d23c2dd86', 'project_id': '81c0ba9de77d47ecaae5b31d23c2dd86', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-38065172', 'ctest-vn-34139406'], 'port_security_enabled': True, 'description': ''}} 2025-02-05 15:48:13,130 - DEBUG - Response for create_subnet : {'subnet': {'id': '426db4fb-536c-4500-b9d4-90572e727ffc', 'name': '', 'tenant_id': '81c0ba9de77d47ecaae5b31d23c2dd86', 'network_id': '7e104029-39cf-43a5-86d7-53eddca05342', 'ip_version': 4, 'cidr': '84.31.166.64/26', 'allocation_pools': [{'start': '84.31.166.66', 'end': '84.31.166.126'}], 'gateway_ip': '84.31.166.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '84.31.166.66', 'tags': [], 'project_id': '81c0ba9de77d47ecaae5b31d23c2dd86'}} 2025-02-05 15:48:13,151 - INFO - Created VN ctest-vn-34139406 2025-02-05 15:48:13,205 - DEBUG - VN ctest-vn-34139406 UUID is 7e104029-39cf-43a5-86d7-53eddca05342 2025-02-05 15:48:13,380 - DEBUG - Services list from nova: [, , ] 2025-02-05 15:48:14,446 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2693-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2693-1) 2025-02-05 15:48:15,725 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2693-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2693-1) 2025-02-05 15:48:15,726 - INFO - Waiting for VM ctest-TestBasicVMVNx-38065172-08401082 to be up.. 2025-02-05 15:48:15,807 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-05 15:48:20,887 - DEBUG - VM is in ACTIVE state now 2025-02-05 15:48:20,887 - INFO - VM name : ctest-TestBasicVMVNx-38065172-08401082 2025-02-05 15:48:20,967 - DEBUG - VM ctest-TestBasicVMVNx-38065172-08401082 ID is e2218413-668a-4769-ad91-484cdf0fa098 2025-02-05 15:48:20,988 - DEBUG - VM ctest-TestBasicVMVNx-38065172-08401082 launched on Node cn-jenkins-deploy-platform-ansible-os-2693-1 2025-02-05 15:48:21,064 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/e2218413-668a-4769-ad91-484cdf0fa098 2025-02-05 15:48:21,361 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/e2218413-668a-4769-ad91-484cdf0fa098 2025-02-05 15:48:21,396 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/fcbdc569-7b7e-44b3-8b9d-1add2fcbacfb 2025-02-05 15:48:24,654 - 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 1007ms') 2025-02-05 15:48:24,654 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-38065172-08401082 failed! 2025-02-05 15:48:24,710 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-38065172:ctest-vn-34139406 is 84.31.166.65 and allocation pool is NOT set 2025-02-05 15:48:26,776 - 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.81 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.415 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.415/1.611/2.808/1.196 ms') 2025-02-05 15:48:26,777 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-38065172-08401082 passed 2025-02-05 15:48:26,929 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-05 15:48:26,930 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-38065172-08401082, IP 84.31.166.67, Port 22 2025-02-05 15:48:27,089 - DEBUG - VM ctest-TestBasicVMVNx-38065172-08401082 is ready for SSH connections 2025-02-05 15:48:27,089 - INFO - Waiting for VM ctest-TestBasicVMVNx-38065172-00871889 to be up.. 2025-02-05 15:48:27,185 - DEBUG - VM is in ACTIVE state now 2025-02-05 15:48:27,185 - INFO - VM name : ctest-TestBasicVMVNx-38065172-00871889 2025-02-05 15:48:27,262 - DEBUG - VM ctest-TestBasicVMVNx-38065172-00871889 ID is ddc3cd5f-2cb4-4cf9-885a-b7510014cb82 2025-02-05 15:48:27,262 - DEBUG - VM ctest-TestBasicVMVNx-38065172-00871889 launched on Node cn-jenkins-deploy-platform-ansible-os-2693-1 2025-02-05 15:48:27,337 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/ddc3cd5f-2cb4-4cf9-885a-b7510014cb82 2025-02-05 15:48:27,347 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/6b2dd5d7-fdd9-481f-a17e-f4c7fd312bc7 2025-02-05 15:48:28,595 - 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.86 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.620 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.620/1.738/2.856/1.118 ms') 2025-02-05 15:48:28,595 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-38065172-00871889 passed 2025-02-05 15:48:28,745 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-05 15:48:28,746 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-38065172-00871889, IP 84.31.166.68, Port 22 2025-02-05 15:48:28,906 - DEBUG - VM ctest-TestBasicVMVNx-38065172-00871889 is ready for SSH connections 2025-02-05 15:48:28,906 - DEBUG - FILE SIZE = 1303B 2025-02-05 15:48:28,906 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-38065172-08401082 to ctest-TestBasicVMVNx-38065172-00871889 using scp 2025-02-05 15:48:28,906 - 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.27, gateway password: c0ntrail123 2025-02-05 15:48:28,907 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-02-05 15:48:30,800 - DEBUG - 1+0 records in 1+0 records out 2025-02-05 15:48:31,445 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-05 15:48:31,781 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-02-05 15:48:31,782 - DEBUG - ls -l testfile 2025-02-05 15:48:33,368 - DEBUG - -rw------- 1 cirros cirros 1303 Feb 5 08:48 testfile 2025-02-05 15:48:33,368 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-38065172-00871889 2025-02-05 15:48:33,368 - INFO - Deleting VM ctest-TestBasicVMVNx-38065172-00871889 2025-02-05 15:48:33,449 - INFO - Deleting VM ctest-TestBasicVMVNx-38065172-08401082 2025-02-05 15:48:33,530 - INFO - Deleting VN ctest-vn-34139406 2025-02-05 15:48:33,570 - DEBUG - VN 7e104029-39cf-43a5-86d7-53eddca05342 still in use: Unable to complete operation on network 7e104029-39cf-43a5-86d7-53eddca05342. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-398a49a2-b798-4209-a3b4-ad7a059d429d'] 2025-02-05 15:48:33,570 - WARNING - Deleting VN ctest-vn-34139406 failed..Will retry 2025-02-05 15:48:35,690 - DEBUG - Response for deleting network () 2025-02-05 15:48:35,951 - DEBUG - No XMPP flaps were noticed during the test
2025-02-05 15:48:35,951 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-02-05 15:48:35,952 - INFO - -------------------------------------------------------------------------------- 2025-02-05 15:48:36,652 - INFO - Deleted project: ctest-TestBasicVMVNx-38065172, ID : 81c0ba9d-e77d-47ec-aae5-b31d23c2dd86