2024-12-23 20:33:03,890 - INFO - Domain Default found not creating
2024-12-23 20:33:04,058 - INFO - Project ctest-TestBasicVMVNx-74273423 not found, creating it
2024-12-23 20:33:04,526 - INFO - Created Project:ctest-TestBasicVMVNx-74273423, ID : 7d29fe0d-29f9-491c-a917-ee6b3f421314
2024-12-23 20:33:06,013 - INFO - ================================================================================
2024-12-23 20:33:06,014 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2024-12-23 20:33:06,014 - 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-12-23 20:33:06,269 - DEBUG - Nothing to compare xmpp stats {'10.0.0.24': {'10.20.0.6': '0'}} with
2024-12-23 20:33:06,269 - INFO - Initial checks done. Running the testcase now
2024-12-23 20:33:06,270 - INFO -
2024-12-23 20:33:06,869 - DEBUG - Response for create_network : {'network': {'id': '40ba2fa3-7d2b-441d-99b8-ceaae75fd002', 'name': 'ctest-vn-23829283', 'tenant_id': '7d29fe0d29f9491ca917ee6b3f421314', 'project_id': '7d29fe0d29f9491ca917ee6b3f421314', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-74273423', 'ctest-vn-23829283'], 'port_security_enabled': True, 'description': ''}}
2024-12-23 20:33:07,039 - DEBUG - Response for create_subnet : {'subnet': {'id': '1ae2532b-47a2-4857-9fca-4fe48ef4ba86', 'name': '', 'tenant_id': '7d29fe0d29f9491ca917ee6b3f421314', 'network_id': '40ba2fa3-7d2b-441d-99b8-ceaae75fd002', 'ip_version': 4, 'cidr': '191.86.62.128/26', 'allocation_pools': [{'start': '191.86.62.130', 'end': '191.86.62.190'}], 'gateway_ip': '191.86.62.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '191.86.62.130', 'tags': [], 'project_id': '7d29fe0d29f9491ca917ee6b3f421314'}}
2024-12-23 20:33:07,060 - INFO - Created VN ctest-vn-23829283
2024-12-23 20:33:07,116 - DEBUG - VN ctest-vn-23829283 UUID is 40ba2fa3-7d2b-441d-99b8-ceaae75fd002
2024-12-23 20:33:07,303 - DEBUG - Services list from nova: [, , ]
2024-12-23 20:33:08,386 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2492-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2492-1)
2024-12-23 20:33:09,538 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2492-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2492-1)
2024-12-23 20:33:09,538 - INFO - Waiting for VM ctest-TestBasicVMVNx-74273423-08628469 to be up..
2024-12-23 20:33:09,626 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-12-23 20:33:14,717 - DEBUG - VM is in ACTIVE state now
2024-12-23 20:33:14,718 - INFO - VM name : ctest-TestBasicVMVNx-74273423-08628469
2024-12-23 20:33:14,800 - DEBUG - VM ctest-TestBasicVMVNx-74273423-08628469 ID is ebb6afca-a926-4b58-b4ca-9778202fcd27
2024-12-23 20:33:14,822 - DEBUG - VM ctest-TestBasicVMVNx-74273423-08628469 launched on Node cn-jenkins-deploy-platform-ansible-os-2492-1
2024-12-23 20:33:14,911 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/ebb6afca-a926-4b58-b4ca-9778202fcd27
2024-12-23 20:33:15,224 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/ebb6afca-a926-4b58-b4ca-9778202fcd27
2024-12-23 20:33:15,257 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/5bc2545d-0556-4e4f-b7eb-5986b92897ed
2024-12-23 20:33:18,524 - 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 1019ms')
2024-12-23 20:33:18,524 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-74273423-08628469 failed!
2024-12-23 20:33:18,581 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-74273423:ctest-vn-23829283 is 191.86.62.129 and allocation pool is NOT set
2024-12-23 20:33:20,643 - 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.40 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.822 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.822/2.110/3.398/1.288 ms')
2024-12-23 20:33:20,643 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-74273423-08628469 passed
2024-12-23 20:33:20,797 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-12-23 20:33:20,797 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-74273423-08628469, IP 191.86.62.131, Port 22
2024-12-23 20:33:20,863 - 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-12-23 20:33:20,949 - DEBUG - VM ctest-TestBasicVMVNx-74273423-08628469 is NOT ready for SSH connections, VM status: ACTIVE
2024-12-23 20:33:25,951 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-12-23 20:33:25,951 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-74273423-08628469, IP 191.86.62.131, Port 22
2024-12-23 20:33:26,116 - DEBUG - VM ctest-TestBasicVMVNx-74273423-08628469 is ready for SSH connections
2024-12-23 20:33:26,116 - INFO - Waiting for VM ctest-TestBasicVMVNx-74273423-91209449 to be up..
2024-12-23 20:33:26,201 - DEBUG - VM is in ACTIVE state now
2024-12-23 20:33:26,201 - INFO - VM name : ctest-TestBasicVMVNx-74273423-91209449
2024-12-23 20:33:26,286 - DEBUG - VM ctest-TestBasicVMVNx-74273423-91209449 ID is 68452ee5-e7f6-4622-b7c2-af914c2b274c
2024-12-23 20:33:26,286 - DEBUG - VM ctest-TestBasicVMVNx-74273423-91209449 launched on Node cn-jenkins-deploy-platform-ansible-os-2492-1
2024-12-23 20:33:26,369 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/68452ee5-e7f6-4622-b7c2-af914c2b274c
2024-12-23 20:33:26,379 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/b8574f2a-7c4a-4d3d-b2af-699d7dffb8ce
2024-12-23 20:33:27,625 - 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.97 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.449 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.449/1.709/2.969/1.260 ms')
2024-12-23 20:33:27,625 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-74273423-91209449 passed
2024-12-23 20:33:27,776 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-12-23 20:33:27,777 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-74273423-91209449, IP 191.86.62.132, Port 22
2024-12-23 20:33:27,942 - DEBUG - VM ctest-TestBasicVMVNx-74273423-91209449 is ready for SSH connections
2024-12-23 20:33:27,943 - DEBUG - FILE SIZE = 1303B
2024-12-23 20:33:27,943 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-74273423-08628469 to ctest-TestBasicVMVNx-74273423-91209449 using scp
2024-12-23 20:33:27,943 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-12-23 20:33:27,948 - 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.24, gateway password: c0ntrail123
2024-12-23 20:33:27,949 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2024-12-23 20:33:29,923 - DEBUG - 1+0 records in
1+0 records out
2024-12-23 20:33:30,738 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-12-23 20:33:31,100 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.24, gateway password: c0ntrail123
2024-12-23 20:33:31,100 - DEBUG - ls -l testfile
2024-12-23 20:33:32,689 - DEBUG - -rw------- 1 cirros cirros 1303 Dec 23 13:33 [0;0mtestfile[0m
2024-12-23 20:33:32,689 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-74273423-91209449
2024-12-23 20:33:32,689 - INFO - Deleting VM ctest-TestBasicVMVNx-74273423-91209449
2024-12-23 20:33:32,763 - INFO - Deleting VM ctest-TestBasicVMVNx-74273423-08628469
2024-12-23 20:33:32,837 - INFO - Deleting VN ctest-vn-23829283
2024-12-23 20:33:32,881 - DEBUG - VN 40ba2fa3-7d2b-441d-99b8-ceaae75fd002 still in use: Unable to complete operation on network 40ba2fa3-7d2b-441d-99b8-ceaae75fd002. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-7f612789-5671-44c3-8712-5baeae50250d']
2024-12-23 20:33:32,881 - WARNING - Deleting VN ctest-vn-23829283 failed..Will retry
2024-12-23 20:33:35,001 - DEBUG - Response for deleting network ()
2024-12-23 20:33:35,266 - DEBUG - No XMPP flaps were noticed during the test
2024-12-23 20:33:35,266 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:29]
2024-12-23 20:33:35,266 - INFO - --------------------------------------------------------------------------------
2024-12-23 20:33:35,975 - INFO - Deleted project: ctest-TestBasicVMVNx-74273423, ID : 7d29fe0d-29f9-491c-a917-ee6b3f421314