2025-01-02 23:00:04,471 - INFO - Domain Default found not creating
2025-01-02 23:00:04,637 - INFO - Project ctest-TestBasicVMVNx-40393862 not found, creating it
2025-01-02 23:00:05,107 - INFO - Created Project:ctest-TestBasicVMVNx-40393862, ID : 348ac018-ee17-4f5a-86c8-1ec93f3cfd4c
2025-01-02 23:00:06,522 - INFO - ================================================================================
2025-01-02 23:00:06,522 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-01-02 23:00:06,522 - 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-02 23:00:06,782 - DEBUG - Nothing to compare xmpp stats {'10.0.0.31': {'10.20.0.7': '0'}} with
2025-01-02 23:00:06,782 - INFO - Initial checks done. Running the testcase now
2025-01-02 23:00:06,782 - INFO -
2025-01-02 23:00:07,341 - DEBUG - Response for create_network : {'network': {'id': 'b24d9292-35ef-40b9-9c12-22743f99a0c6', 'name': 'ctest-vn-61842207', 'tenant_id': '348ac018ee174f5a86c81ec93f3cfd4c', 'project_id': '348ac018ee174f5a86c81ec93f3cfd4c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-40393862', 'ctest-vn-61842207'], 'port_security_enabled': True, 'description': ''}}
2025-01-02 23:00:07,552 - DEBUG - Response for create_subnet : {'subnet': {'id': 'da73f573-5e7e-4f1c-82f1-33f50af9f1b4', 'name': '', 'tenant_id': '348ac018ee174f5a86c81ec93f3cfd4c', 'network_id': 'b24d9292-35ef-40b9-9c12-22743f99a0c6', 'ip_version': 4, 'cidr': '29.193.53.64/26', 'allocation_pools': [{'start': '29.193.53.66', 'end': '29.193.53.126'}], 'gateway_ip': '29.193.53.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '29.193.53.66', 'tags': [], 'project_id': '348ac018ee174f5a86c81ec93f3cfd4c'}}
2025-01-02 23:00:07,568 - INFO - Created VN ctest-vn-61842207
2025-01-02 23:00:07,620 - DEBUG - VN ctest-vn-61842207 UUID is b24d9292-35ef-40b9-9c12-22743f99a0c6
2025-01-02 23:00:07,827 - DEBUG - Services list from nova: [, , ]
2025-01-02 23:00:08,863 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2516-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2516-1)
2025-01-02 23:00:10,034 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2516-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2516-1)
2025-01-02 23:00:10,035 - INFO - Waiting for VM ctest-TestBasicVMVNx-40393862-21906643 to be up..
2025-01-02 23:00:10,133 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-02 23:00:15,212 - DEBUG - VM is in ACTIVE state now
2025-01-02 23:00:15,213 - INFO - VM name : ctest-TestBasicVMVNx-40393862-21906643
2025-01-02 23:00:15,288 - DEBUG - VM ctest-TestBasicVMVNx-40393862-21906643 ID is d08b991b-1a40-43d3-885f-fb82fab5ddb3
2025-01-02 23:00:15,309 - DEBUG - VM ctest-TestBasicVMVNx-40393862-21906643 launched on Node cn-jenkins-deploy-platform-ansible-os-2516-1
2025-01-02 23:00:15,384 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/d08b991b-1a40-43d3-885f-fb82fab5ddb3
2025-01-02 23:00:15,678 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/d08b991b-1a40-43d3-885f-fb82fab5ddb3
2025-01-02 23:00:15,711 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/69840392-31ff-4949-b545-72706a05a8dc
2025-01-02 23:00:18,971 - 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-02 23:00:18,972 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-40393862-21906643 failed!
2025-01-02 23:00:19,032 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-40393862:ctest-vn-61842207 is 29.193.53.65 and allocation pool is NOT set
2025-01-02 23:00:21,099 - 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.12 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.69 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 = 1.691/3.405/5.120/1.714 ms')
2025-01-02 23:00:21,099 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-40393862-21906643 passed
2025-01-02 23:00:21,248 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-02 23:00:21,248 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-40393862-21906643, IP 29.193.53.67, Port 22
2025-01-02 23:00:21,418 - DEBUG - VM ctest-TestBasicVMVNx-40393862-21906643 is ready for SSH connections
2025-01-02 23:00:21,418 - INFO - Waiting for VM ctest-TestBasicVMVNx-40393862-76552246 to be up..
2025-01-02 23:00:21,503 - DEBUG - VM is in ACTIVE state now
2025-01-02 23:00:21,503 - INFO - VM name : ctest-TestBasicVMVNx-40393862-76552246
2025-01-02 23:00:21,581 - DEBUG - VM ctest-TestBasicVMVNx-40393862-76552246 ID is 326cdc23-ee97-4619-88c9-2686a722b5a4
2025-01-02 23:00:21,581 - DEBUG - VM ctest-TestBasicVMVNx-40393862-76552246 launched on Node cn-jenkins-deploy-platform-ansible-os-2516-1
2025-01-02 23:00:21,665 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/326cdc23-ee97-4619-88c9-2686a722b5a4
2025-01-02 23:00:21,676 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/013cb1de-7251-4ff3-9326-3d9c8c7cc9b9
2025-01-02 23:00:22,929 - 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.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.459 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 = 0.459/1.642/2.825/1.183 ms')
2025-01-02 23:00:22,929 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-40393862-76552246 passed
2025-01-02 23:00:23,084 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-02 23:00:23,084 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-40393862-76552246, IP 29.193.53.68, Port 22
2025-01-02 23:00:23,246 - DEBUG - VM ctest-TestBasicVMVNx-40393862-76552246 is ready for SSH connections
2025-01-02 23:00:23,246 - DEBUG - FILE SIZE = 1303B
2025-01-02 23:00:23,246 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-40393862-21906643 to ctest-TestBasicVMVNx-40393862-76552246 using scp
2025-01-02 23:00:23,247 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-02 23:00:23,253 - 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.31, gateway password: c0ntrail123
2025-01-02 23:00:23,253 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-01-02 23:00:25,163 - DEBUG - 1+0 records in
1+0 records out
2025-01-02 23:00:25,938 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-02 23:00:26,264 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.31, gateway password: c0ntrail123
2025-01-02 23:00:26,265 - DEBUG - ls -l testfile
2025-01-02 23:00:27,842 - DEBUG - -rw------- 1 cirros cirros 1303 Jan 2 16:00 [0;0mtestfile[0m
2025-01-02 23:00:27,842 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-40393862-76552246
2025-01-02 23:00:27,842 - INFO - Deleting VM ctest-TestBasicVMVNx-40393862-76552246
2025-01-02 23:00:27,913 - INFO - Deleting VM ctest-TestBasicVMVNx-40393862-21906643
2025-01-02 23:00:28,065 - INFO - Deleting VN ctest-vn-61842207
2025-01-02 23:00:28,101 - DEBUG - VN b24d9292-35ef-40b9-9c12-22743f99a0c6 still in use: Unable to complete operation on network b24d9292-35ef-40b9-9c12-22743f99a0c6. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-d564f04e-c51d-4a8a-8129-c5d973fd582a']
2025-01-02 23:00:28,101 - WARNING - Deleting VN ctest-vn-61842207 failed..Will retry
2025-01-02 23:00:30,210 - DEBUG - Response for deleting network ()
2025-01-02 23:00:30,467 - DEBUG - No XMPP flaps were noticed during the test
2025-01-02 23:00:30,467 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-01-02 23:00:30,467 - INFO - --------------------------------------------------------------------------------
2025-01-02 23:00:31,144 - INFO - Deleted project: ctest-TestBasicVMVNx-40393862, ID : 348ac018-ee17-4f5a-86c8-1ec93f3cfd4c