2024-11-08 11:26:52,013 - INFO - Domain Default found not creating
2024-11-08 11:26:52,237 - INFO - Project ctest-TestBasicVMVNx-87680547 not found, creating it
2024-11-08 11:26:52,735 - INFO - Created Project:ctest-TestBasicVMVNx-87680547, ID : 1b9f5535-eb00-4f35-a91c-3319fe22202b
2024-11-08 11:26:54,322 - INFO - ================================================================================
2024-11-08 11:26:54,322 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2024-11-08 11:26:54,323 - 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-11-08 11:26:54,581 - DEBUG - Nothing to compare xmpp stats {'10.0.0.46': {'10.20.0.5': '0'}} with
2024-11-08 11:26:54,581 - INFO - Initial checks done. Running the testcase now
2024-11-08 11:26:54,581 - INFO -
2024-11-08 11:26:55,190 - DEBUG - Response for create_network : {'network': {'id': '36455865-fbfe-4ab9-ad11-6b512f20400e', 'name': 'ctest-vn-13273773', 'tenant_id': '1b9f5535eb004f35a91c3319fe22202b', 'project_id': '1b9f5535eb004f35a91c3319fe22202b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-87680547', 'ctest-vn-13273773'], 'port_security_enabled': True, 'description': ''}}
2024-11-08 11:26:55,411 - DEBUG - Response for create_subnet : {'subnet': {'id': '8109afd1-71f9-48d2-a156-3a800f8b973f', 'name': '', 'tenant_id': '1b9f5535eb004f35a91c3319fe22202b', 'network_id': '36455865-fbfe-4ab9-ad11-6b512f20400e', 'ip_version': 4, 'cidr': '17.50.219.64/26', 'allocation_pools': [{'start': '17.50.219.66', 'end': '17.50.219.126'}], 'gateway_ip': '17.50.219.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '17.50.219.66', 'tags': [], 'project_id': '1b9f5535eb004f35a91c3319fe22202b'}}
2024-11-08 11:26:55,431 - INFO - Created VN ctest-vn-13273773
2024-11-08 11:26:55,492 - DEBUG - VN ctest-vn-13273773 UUID is 36455865-fbfe-4ab9-ad11-6b512f20400e
2024-11-08 11:26:55,699 - DEBUG - Services list from nova: [, , ]
2024-11-08 11:26:56,829 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2225-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2225-1)
2024-11-08 11:26:58,090 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2225-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2225-1)
2024-11-08 11:26:58,091 - INFO - Waiting for VM ctest-TestBasicVMVNx-87680547-74845118 to be up..
2024-11-08 11:26:58,202 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-11-08 11:27:03,305 - DEBUG - VM is in ACTIVE state now
2024-11-08 11:27:03,305 - INFO - VM name : ctest-TestBasicVMVNx-87680547-74845118
2024-11-08 11:27:03,436 - DEBUG - VM ctest-TestBasicVMVNx-87680547-74845118 ID is a1888f52-1db6-402c-a5ce-352be9403637
2024-11-08 11:27:03,461 - DEBUG - VM ctest-TestBasicVMVNx-87680547-74845118 launched on Node cn-jenkins-deploy-platform-ansible-os-2225-1
2024-11-08 11:27:03,547 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine/a1888f52-1db6-402c-a5ce-352be9403637
2024-11-08 11:27:03,874 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine/a1888f52-1db6-402c-a5ce-352be9403637
2024-11-08 11:27:03,915 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine-interface/41e8f35b-ad6c-44da-93b7-770d1340ef8b
2024-11-08 11:27:07,178 - 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 1010ms')
2024-11-08 11:27:07,178 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-87680547-74845118 failed!
2024-11-08 11:27:07,240 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-87680547:ctest-vn-13273773 is 17.50.219.65 and allocation pool is NOT set
2024-11-08 11:27:09,301 - 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.90 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.01 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 = 1.007/2.451/3.895/1.444 ms')
2024-11-08 11:27:09,301 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-87680547-74845118 passed
2024-11-08 11:27:09,472 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-08 11:27:09,472 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-87680547-74845118, IP 17.50.219.67, Port 22
2024-11-08 11:27:09,627 - DEBUG - VM ctest-TestBasicVMVNx-87680547-74845118 is ready for SSH connections
2024-11-08 11:27:09,628 - INFO - Waiting for VM ctest-TestBasicVMVNx-87680547-12857059 to be up..
2024-11-08 11:27:09,712 - DEBUG - VM is in ACTIVE state now
2024-11-08 11:27:09,713 - INFO - VM name : ctest-TestBasicVMVNx-87680547-12857059
2024-11-08 11:27:09,794 - DEBUG - VM ctest-TestBasicVMVNx-87680547-12857059 ID is 73fa0f59-198b-43ee-b5e7-3936626e0799
2024-11-08 11:27:09,794 - DEBUG - VM ctest-TestBasicVMVNx-87680547-12857059 launched on Node cn-jenkins-deploy-platform-ansible-os-2225-1
2024-11-08 11:27:09,887 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine/73fa0f59-198b-43ee-b5e7-3936626e0799
2024-11-08 11:27:09,897 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine-interface/bc6ec509-b508-4fd3-bba4-a268e05c464e
2024-11-08 11:27:11,148 - 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=5.58 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.01 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 = 1.012/3.298/5.584/2.286 ms')
2024-11-08 11:27:11,148 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-87680547-12857059 passed
2024-11-08 11:27:11,312 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-08 11:27:11,312 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-87680547-12857059, IP 17.50.219.68, Port 22
2024-11-08 11:27:11,482 - DEBUG - VM ctest-TestBasicVMVNx-87680547-12857059 is ready for SSH connections
2024-11-08 11:27:11,482 - DEBUG - FILE SIZE = 1303B
2024-11-08 11:27:11,482 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-87680547-74845118 to ctest-TestBasicVMVNx-87680547-12857059 using scp
2024-11-08 11:27:11,483 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-08 11:27:11,488 - 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.46, gateway password: c0ntrail123
2024-11-08 11:27:11,488 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2024-11-08 11:27:13,392 - DEBUG - 1+0 records in
1+0 records out
2024-11-08 11:27:14,185 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-08 11:27:14,519 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.46, gateway password: c0ntrail123
2024-11-08 11:27:14,520 - DEBUG - ls -l testfile
2024-11-08 11:27:16,115 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 8 04:27 [0;0mtestfile[0m
2024-11-08 11:27:16,115 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-87680547-12857059
2024-11-08 11:27:16,115 - INFO - Deleting VM ctest-TestBasicVMVNx-87680547-12857059
2024-11-08 11:27:16,200 - INFO - Deleting VM ctest-TestBasicVMVNx-87680547-74845118
2024-11-08 11:27:16,278 - INFO - Deleting VN ctest-vn-13273773
2024-11-08 11:27:16,322 - DEBUG - VN 36455865-fbfe-4ab9-ad11-6b512f20400e still in use: Unable to complete operation on network 36455865-fbfe-4ab9-ad11-6b512f20400e. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-d6c0d86e-f662-4249-90f8-55e671a1ef73']
2024-11-08 11:27:16,322 - WARNING - Deleting VN ctest-vn-13273773 failed..Will retry
2024-11-08 11:27:18,473 - DEBUG - Response for deleting network ()
2024-11-08 11:27:18,741 - DEBUG - No XMPP flaps were noticed during the test
2024-11-08 11:27:18,741 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2024-11-08 11:27:18,742 - INFO - --------------------------------------------------------------------------------
2024-11-08 11:27:19,474 - INFO - Deleted project: ctest-TestBasicVMVNx-87680547, ID : 1b9f5535-eb00-4f35-a91c-3319fe22202b