2024-11-14 22:51:11,440 - INFO - Domain Default found not creating
2024-11-14 22:51:11,618 - INFO - Project ctest-TestBasicVMVNx-15500504 not found, creating it
2024-11-14 22:51:12,133 - INFO - Created Project:ctest-TestBasicVMVNx-15500504, ID : 39a97a60-0d18-4867-961a-b8e11c20f573
2024-11-14 22:51:13,838 - INFO - ================================================================================
2024-11-14 22:51:13,838 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2024-11-14 22:51:13,838 - 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-14 22:51:14,094 - DEBUG - Nothing to compare xmpp stats {'10.0.0.30': {'10.20.0.7': '0'}} with
2024-11-14 22:51:14,094 - INFO - Initial checks done. Running the testcase now
2024-11-14 22:51:14,095 - INFO -
2024-11-14 22:51:14,744 - DEBUG - Response for create_network : {'network': {'id': 'e97d440a-19d0-499e-84e8-23b262eef9cf', 'name': 'ctest-vn-63494258', 'tenant_id': '39a97a600d184867961ab8e11c20f573', 'project_id': '39a97a600d184867961ab8e11c20f573', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-15500504', 'ctest-vn-63494258'], 'port_security_enabled': True, 'description': ''}}
2024-11-14 22:51:14,964 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e222a3e5-04fe-4b22-a6f3-3bcb22506d0a', 'name': '', 'tenant_id': '39a97a600d184867961ab8e11c20f573', 'network_id': 'e97d440a-19d0-499e-84e8-23b262eef9cf', 'ip_version': 4, 'cidr': '130.35.183.0/26', 'allocation_pools': [{'start': '130.35.183.2', 'end': '130.35.183.62'}], 'gateway_ip': '130.35.183.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '130.35.183.2', 'tags': [], 'project_id': '39a97a600d184867961ab8e11c20f573'}}
2024-11-14 22:51:14,985 - INFO - Created VN ctest-vn-63494258
2024-11-14 22:51:15,049 - DEBUG - VN ctest-vn-63494258 UUID is e97d440a-19d0-499e-84e8-23b262eef9cf
2024-11-14 22:51:15,235 - DEBUG - Services list from nova: [, , ]
2024-11-14 22:51:16,426 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2305-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2305-1)
2024-11-14 22:51:17,710 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2305-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2305-1)
2024-11-14 22:51:17,710 - INFO - Waiting for VM ctest-TestBasicVMVNx-15500504-28265699 to be up..
2024-11-14 22:51:17,803 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-11-14 22:51:22,889 - DEBUG - VM is in ACTIVE state now
2024-11-14 22:51:22,889 - INFO - VM name : ctest-TestBasicVMVNx-15500504-28265699
2024-11-14 22:51:22,988 - DEBUG - VM ctest-TestBasicVMVNx-15500504-28265699 ID is 18fa0cf5-20a9-4524-bf58-95b6aee9f409
2024-11-14 22:51:23,007 - DEBUG - VM ctest-TestBasicVMVNx-15500504-28265699 launched on Node cn-jenkins-deploy-platform-ansible-os-2305-1
2024-11-14 22:51:23,092 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/18fa0cf5-20a9-4524-bf58-95b6aee9f409
2024-11-14 22:51:23,435 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/18fa0cf5-20a9-4524-bf58-95b6aee9f409
2024-11-14 22:51:23,473 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/146e2f9a-7701-4278-b287-5cc708c24468
2024-11-14 22:51:26,727 - 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 1006ms')
2024-11-14 22:51:26,727 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-15500504-28265699 failed!
2024-11-14 22:51:26,793 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-15500504:ctest-vn-63494258 is 130.35.183.1 and allocation pool is NOT set
2024-11-14 22:51:28,851 - 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.47 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.21 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.214/3.341/5.468/2.127 ms')
2024-11-14 22:51:28,851 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-15500504-28265699 passed
2024-11-14 22:51:29,009 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-14 22:51:29,009 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-15500504-28265699, IP 130.35.183.3, Port 22
2024-11-14 22:51:29,164 - DEBUG - VM ctest-TestBasicVMVNx-15500504-28265699 is ready for SSH connections
2024-11-14 22:51:29,164 - INFO - Waiting for VM ctest-TestBasicVMVNx-15500504-34969261 to be up..
2024-11-14 22:51:29,249 - DEBUG - VM is in ACTIVE state now
2024-11-14 22:51:29,249 - INFO - VM name : ctest-TestBasicVMVNx-15500504-34969261
2024-11-14 22:51:29,332 - DEBUG - VM ctest-TestBasicVMVNx-15500504-34969261 ID is 1ab31b8a-6619-4c7b-9345-34f6147c8414
2024-11-14 22:51:29,333 - DEBUG - VM ctest-TestBasicVMVNx-15500504-34969261 launched on Node cn-jenkins-deploy-platform-ansible-os-2305-1
2024-11-14 22:51:29,417 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/1ab31b8a-6619-4c7b-9345-34f6147c8414
2024-11-14 22:51:29,428 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/06303c43-0ae7-48f3-b7ee-be2357254996
2024-11-14 22:51:30,686 - 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.30 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.425 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.425/1.862/3.299/1.437 ms')
2024-11-14 22:51:30,686 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-15500504-34969261 passed
2024-11-14 22:51:30,849 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-14 22:51:30,849 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-15500504-34969261, IP 130.35.183.4, Port 22
2024-11-14 22:51:31,004 - DEBUG - VM ctest-TestBasicVMVNx-15500504-34969261 is ready for SSH connections
2024-11-14 22:51:31,005 - DEBUG - FILE SIZE = 1303B
2024-11-14 22:51:31,005 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-15500504-28265699 to ctest-TestBasicVMVNx-15500504-34969261 using scp
2024-11-14 22:51:31,005 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-14 22:51:31,011 - 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.30, gateway password: c0ntrail123
2024-11-14 22:51:31,011 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2024-11-14 22:51:32,997 - DEBUG - 1+0 records in
1+0 records out
2024-11-14 22:51:33,669 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-14 22:51:34,009 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.30, gateway password: c0ntrail123
2024-11-14 22:51:34,009 - DEBUG - ls -l testfile
2024-11-14 22:51:35,638 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 14 15:51 [0;0mtestfile[0m
2024-11-14 22:51:35,638 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-15500504-34969261
2024-11-14 22:51:35,638 - INFO - Deleting VM ctest-TestBasicVMVNx-15500504-34969261
2024-11-14 22:51:35,714 - INFO - Deleting VM ctest-TestBasicVMVNx-15500504-28265699
2024-11-14 22:51:35,780 - INFO - Deleting VN ctest-vn-63494258
2024-11-14 22:51:35,829 - DEBUG - VN e97d440a-19d0-499e-84e8-23b262eef9cf still in use: Unable to complete operation on network e97d440a-19d0-499e-84e8-23b262eef9cf. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-449771c5-f57e-4334-94de-4698221f65cf']
2024-11-14 22:51:35,829 - WARNING - Deleting VN ctest-vn-63494258 failed..Will retry
2024-11-14 22:51:37,950 - DEBUG - Response for deleting network ()
2024-11-14 22:51:38,207 - DEBUG - No XMPP flaps were noticed during the test
2024-11-14 22:51:38,207 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25]
2024-11-14 22:51:38,207 - INFO - --------------------------------------------------------------------------------
2024-11-14 22:51:38,994 - INFO - Deleted project: ctest-TestBasicVMVNx-15500504, ID : 39a97a60-0d18-4867-961a-b8e11c20f573