2025-01-13 18:48:14,714 - INFO - Domain Default found not creating
2025-01-13 18:48:14,857 - INFO - Project ctest-TestBasicVMVNx-16119728 not found, creating it
2025-01-13 18:48:15,312 - INFO - Created Project:ctest-TestBasicVMVNx-16119728, ID : f560497a-61d7-4295-8a57-8080e07d53e8
2025-01-13 18:48:16,760 - INFO - ================================================================================
2025-01-13 18:48:16,761 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-01-13 18:48:16,761 - 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-01-13 18:48:17,016 - DEBUG - Nothing to compare xmpp stats {'10.0.0.24': {'10.20.0.17': '0'}} with
2025-01-13 18:48:17,016 - INFO - Initial checks done. Running the testcase now
2025-01-13 18:48:17,016 - INFO -
2025-01-13 18:48:17,558 - DEBUG - Response for create_network : {'network': {'id': '8defd13a-9f46-43b1-9850-d15241714651', 'name': 'ctest-vn-92842234', 'tenant_id': 'f560497a61d742958a578080e07d53e8', 'project_id': 'f560497a61d742958a578080e07d53e8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-16119728', 'ctest-vn-92842234'], 'port_security_enabled': True, 'description': ''}}
2025-01-13 18:48:17,743 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a37f159b-88fe-4f8e-97df-b85fa1a2763f', 'name': '', 'tenant_id': 'f560497a61d742958a578080e07d53e8', 'network_id': '8defd13a-9f46-43b1-9850-d15241714651', 'ip_version': 4, 'cidr': '171.10.245.0/26', 'allocation_pools': [{'start': '171.10.245.2', 'end': '171.10.245.62'}], 'gateway_ip': '171.10.245.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '171.10.245.2', 'tags': [], 'project_id': 'f560497a61d742958a578080e07d53e8'}}
2025-01-13 18:48:17,762 - INFO - Created VN ctest-vn-92842234
2025-01-13 18:48:17,818 - DEBUG - VN ctest-vn-92842234 UUID is 8defd13a-9f46-43b1-9850-d15241714651
2025-01-13 18:48:18,020 - DEBUG - Services list from nova: [, , ]
2025-01-13 18:48:19,024 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2615-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2615-1)
2025-01-13 18:48:20,129 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2615-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2615-1)
2025-01-13 18:48:20,129 - INFO - Waiting for VM ctest-TestBasicVMVNx-16119728-10155394 to be up..
2025-01-13 18:48:20,228 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-13 18:48:25,309 - DEBUG - VM is in ACTIVE state now
2025-01-13 18:48:25,310 - INFO - VM name : ctest-TestBasicVMVNx-16119728-10155394
2025-01-13 18:48:25,392 - DEBUG - VM ctest-TestBasicVMVNx-16119728-10155394 ID is 45bf92fe-3be4-4971-bf41-4e9a6a7970d3
2025-01-13 18:48:25,418 - DEBUG - VM ctest-TestBasicVMVNx-16119728-10155394 launched on Node cn-jenkins-deploy-platform-ansible-os-2615-1
2025-01-13 18:48:25,494 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/45bf92fe-3be4-4971-bf41-4e9a6a7970d3
2025-01-13 18:48:25,790 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/45bf92fe-3be4-4971-bf41-4e9a6a7970d3
2025-01-13 18:48:25,826 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/b1a3b849-4b7d-4cdd-b7ae-a9b01bcbc4f6
2025-01-13 18:48:29,089 - 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')
2025-01-13 18:48:29,089 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-16119728-10155394 failed!
2025-01-13 18:48:29,146 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-16119728:ctest-vn-92842234 is 171.10.245.1 and allocation pool is NOT set
2025-01-13 18:48:31,204 - 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.70 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.422 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.422/1.561/2.701/1.139 ms')
2025-01-13 18:48:31,205 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-16119728-10155394 passed
2025-01-13 18:48:31,358 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-13 18:48:31,359 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-16119728-10155394, IP 171.10.245.3, Port 22
2025-01-13 18:48:31,513 - DEBUG - VM ctest-TestBasicVMVNx-16119728-10155394 is ready for SSH connections
2025-01-13 18:48:31,514 - INFO - Waiting for VM ctest-TestBasicVMVNx-16119728-24133804 to be up..
2025-01-13 18:48:31,594 - DEBUG - VM is in ACTIVE state now
2025-01-13 18:48:31,595 - INFO - VM name : ctest-TestBasicVMVNx-16119728-24133804
2025-01-13 18:48:31,669 - DEBUG - VM ctest-TestBasicVMVNx-16119728-24133804 ID is 873f81e6-a97a-41db-be04-e08e21e959bb
2025-01-13 18:48:31,669 - DEBUG - VM ctest-TestBasicVMVNx-16119728-24133804 launched on Node cn-jenkins-deploy-platform-ansible-os-2615-1
2025-01-13 18:48:31,745 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/873f81e6-a97a-41db-be04-e08e21e959bb
2025-01-13 18:48:31,754 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/1ace5100-a156-49a6-9209-25b365c81b67
2025-01-13 18:48:32,997 - 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.06 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.25 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 = 1.246/3.152/5.058/1.906 ms')
2025-01-13 18:48:32,997 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-16119728-24133804 passed
2025-01-13 18:48:33,150 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-13 18:48:33,151 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-16119728-24133804, IP 171.10.245.4, Port 22
2025-01-13 18:48:33,305 - DEBUG - VM ctest-TestBasicVMVNx-16119728-24133804 is ready for SSH connections
2025-01-13 18:48:33,306 - DEBUG - FILE SIZE = 1303B
2025-01-13 18:48:33,306 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-16119728-10155394 to ctest-TestBasicVMVNx-16119728-24133804 using scp
2025-01-13 18:48:33,306 - 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
2025-01-13 18:48:33,306 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-01-13 18:48:35,220 - DEBUG - 1+0 records in
1+0 records out
2025-01-13 18:48:35,808 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-13 18:48:36,133 - 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
2025-01-13 18:48:36,134 - DEBUG - ls -l testfile
2025-01-13 18:48:37,719 - DEBUG - -rw------- 1 cirros cirros 1303 Jan 13 11:48 [0;0mtestfile[0m
2025-01-13 18:48:37,719 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-16119728-24133804
2025-01-13 18:48:37,719 - INFO - Deleting VM ctest-TestBasicVMVNx-16119728-24133804
2025-01-13 18:48:37,790 - INFO - Deleting VM ctest-TestBasicVMVNx-16119728-10155394
2025-01-13 18:48:37,855 - INFO - Deleting VN ctest-vn-92842234
2025-01-13 18:48:37,893 - DEBUG - VN 8defd13a-9f46-43b1-9850-d15241714651 still in use: Unable to complete operation on network 8defd13a-9f46-43b1-9850-d15241714651. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-be756d2c-ede4-4fdf-896e-1f79ffb73dc4']
2025-01-13 18:48:37,893 - WARNING - Deleting VN ctest-vn-92842234 failed..Will retry
2025-01-13 18:48:39,994 - DEBUG - Response for deleting network ()
2025-01-13 18:48:40,252 - DEBUG - No XMPP flaps were noticed during the test
2025-01-13 18:48:40,252 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-01-13 18:48:40,252 - INFO - --------------------------------------------------------------------------------
2025-01-13 18:48:40,921 - INFO - Deleted project: ctest-TestBasicVMVNx-16119728, ID : f560497a-61d7-4295-8a57-8080e07d53e8