2024-10-29 12:02:37,482 - INFO - Domain Default found not creating
2024-10-29 12:02:37,681 - INFO - Project ctest-TestBasicVMVNx-62521604 not found, creating it
2024-10-29 12:02:38,188 - INFO - Created Project:ctest-TestBasicVMVNx-62521604, ID : 9444e719-167c-4c8d-9cb3-016b85b94346
2024-10-29 12:02:39,983 - INFO - ================================================================================
2024-10-29 12:02:39,983 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2024-10-29 12:02:39,983 - 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-10-29 12:02:40,244 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.20': '0'}} with
2024-10-29 12:02:40,244 - INFO - Initial checks done. Running the testcase now
2024-10-29 12:02:40,244 - INFO -
2024-10-29 12:02:41,096 - DEBUG - Response for create_network : {'network': {'id': 'dab0deb9-6196-4ed6-961b-3bf4cdaf9e98', 'name': 'ctest-vn-33917699', 'tenant_id': '9444e719167c4c8d9cb3016b85b94346', 'project_id': '9444e719167c4c8d9cb3016b85b94346', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-62521604', 'ctest-vn-33917699'], 'port_security_enabled': True, 'description': ''}}
2024-10-29 12:02:41,353 - DEBUG - Response for create_subnet : {'subnet': {'id': '33092262-0420-4f2d-a680-dc585bc388c6', 'name': '', 'tenant_id': '9444e719167c4c8d9cb3016b85b94346', 'network_id': 'dab0deb9-6196-4ed6-961b-3bf4cdaf9e98', 'ip_version': 4, 'cidr': '139.51.161.64/26', 'allocation_pools': [{'start': '139.51.161.66', 'end': '139.51.161.126'}], 'gateway_ip': '139.51.161.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '139.51.161.66', 'tags': [], 'project_id': '9444e719167c4c8d9cb3016b85b94346'}}
2024-10-29 12:02:41,379 - INFO - Created VN ctest-vn-33917699
2024-10-29 12:02:41,440 - DEBUG - VN ctest-vn-33917699 UUID is dab0deb9-6196-4ed6-961b-3bf4cdaf9e98
2024-10-29 12:02:41,645 - DEBUG - Services list from nova: [, , ]
2024-10-29 12:02:42,908 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2176-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2176-1)
2024-10-29 12:02:44,291 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2176-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2176-1)
2024-10-29 12:02:44,292 - INFO - Waiting for VM ctest-TestBasicVMVNx-62521604-80100475 to be up..
2024-10-29 12:02:44,405 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-10-29 12:02:49,503 - DEBUG - VM is in ACTIVE state now
2024-10-29 12:02:49,503 - INFO - VM name : ctest-TestBasicVMVNx-62521604-80100475
2024-10-29 12:02:49,597 - DEBUG - VM ctest-TestBasicVMVNx-62521604-80100475 ID is 8e9df7a6-7a8b-4c83-8c75-59d0a85c6dbd
2024-10-29 12:02:49,619 - DEBUG - VM ctest-TestBasicVMVNx-62521604-80100475 launched on Node cn-jenkins-deploy-platform-ansible-os-2176-1
2024-10-29 12:02:49,724 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/8e9df7a6-7a8b-4c83-8c75-59d0a85c6dbd
2024-10-29 12:02:50,066 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/8e9df7a6-7a8b-4c83-8c75-59d0a85c6dbd
2024-10-29 12:02:50,114 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/c1f9aac7-067f-4925-81e2-88f660c5fccf
2024-10-29 12:02:53,411 - 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 1030ms')
2024-10-29 12:02:53,411 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-62521604-80100475 failed!
2024-10-29 12:02:53,472 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-62521604:ctest-vn-33917699 is 139.51.161.65 and allocation pool is NOT set
2024-10-29 12:02:55,533 - 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=7.61 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.42 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.416/4.510/7.605/3.094 ms')
2024-10-29 12:02:55,533 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-62521604-80100475 passed
2024-10-29 12:02:55,692 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-29 12:02:55,692 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-62521604-80100475, IP 139.51.161.67, Port 22
2024-10-29 12:02:55,760 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2024-10-29 12:02:55,895 - DEBUG - VM ctest-TestBasicVMVNx-62521604-80100475 is NOT ready for SSH connections, VM status: ACTIVE
2024-10-29 12:03:00,896 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-29 12:03:00,896 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-62521604-80100475, IP 139.51.161.67, Port 22
2024-10-29 12:03:01,068 - DEBUG - VM ctest-TestBasicVMVNx-62521604-80100475 is ready for SSH connections
2024-10-29 12:03:01,068 - INFO - Waiting for VM ctest-TestBasicVMVNx-62521604-00484003 to be up..
2024-10-29 12:03:01,169 - DEBUG - VM is in ACTIVE state now
2024-10-29 12:03:01,170 - INFO - VM name : ctest-TestBasicVMVNx-62521604-00484003
2024-10-29 12:03:01,268 - DEBUG - VM ctest-TestBasicVMVNx-62521604-00484003 ID is 0a803ae5-7b08-433e-a57c-8697bfabe434
2024-10-29 12:03:01,268 - DEBUG - VM ctest-TestBasicVMVNx-62521604-00484003 launched on Node cn-jenkins-deploy-platform-ansible-os-2176-1
2024-10-29 12:03:01,373 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/0a803ae5-7b08-433e-a57c-8697bfabe434
2024-10-29 12:03:01,386 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/60b58619-1a47-4cc7-8108-14243efc8a6d
2024-10-29 12:03:02,653 - 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.47 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.433 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.433/1.950/3.468/1.517 ms')
2024-10-29 12:03:02,654 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-62521604-00484003 passed
2024-10-29 12:03:02,816 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-29 12:03:02,816 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-62521604-00484003, IP 139.51.161.68, Port 22
2024-10-29 12:03:02,987 - DEBUG - VM ctest-TestBasicVMVNx-62521604-00484003 is ready for SSH connections
2024-10-29 12:03:02,987 - DEBUG - FILE SIZE = 1303B
2024-10-29 12:03:02,987 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-62521604-80100475 to ctest-TestBasicVMVNx-62521604-00484003 using scp
2024-10-29 12:03:02,988 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-29 12:03:02,999 - 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.22, gateway password: c0ntrail123
2024-10-29 12:03:02,999 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2024-10-29 12:03:05,095 - DEBUG - 1+0 records in
1+0 records out
2024-10-29 12:03:05,766 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-29 12:03:06,139 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2024-10-29 12:03:06,139 - DEBUG - ls -l testfile
2024-10-29 12:03:07,765 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 29 06:03 [0;0mtestfile[0m
2024-10-29 12:03:07,765 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-62521604-00484003
2024-10-29 12:03:07,765 - INFO - Deleting VM ctest-TestBasicVMVNx-62521604-00484003
2024-10-29 12:03:07,843 - INFO - Deleting VM ctest-TestBasicVMVNx-62521604-80100475
2024-10-29 12:03:07,923 - INFO - Deleting VN ctest-vn-33917699
2024-10-29 12:03:07,975 - DEBUG - VN dab0deb9-6196-4ed6-961b-3bf4cdaf9e98 still in use: Unable to complete operation on network dab0deb9-6196-4ed6-961b-3bf4cdaf9e98. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-102c84a7-3d2c-4b9e-8a2c-aa363d094eb3']
2024-10-29 12:03:07,976 - WARNING - Deleting VN ctest-vn-33917699 failed..Will retry
2024-10-29 12:03:10,161 - DEBUG - Response for deleting network ()
2024-10-29 12:03:10,415 - DEBUG - No XMPP flaps were noticed during the test
2024-10-29 12:03:10,416 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:31]
2024-10-29 12:03:10,416 - INFO - --------------------------------------------------------------------------------
2024-10-29 12:03:11,219 - INFO - Deleted project: ctest-TestBasicVMVNx-62521604, ID : 9444e719-167c-4c8d-9cb3-016b85b94346