2025-04-22 17:32:57,113 - INFO - Domain Default found not creating
2025-04-22 17:32:57,235 - INFO - Project ctest-TestBasicVMVNx-83566037 not found, creating it
2025-04-22 17:32:57,662 - INFO - Created Project:ctest-TestBasicVMVNx-83566037, ID : 05162f7b-cf7b-4fb7-be5c-798e63ed1cdb
2025-04-22 17:32:58,989 - INFO - ================================================================================
2025-04-22 17:32:58,989 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-04-22 17:32:58,989 - 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-04-22 17:32:59,245 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with
2025-04-22 17:32:59,245 - INFO - Initial checks done. Running the testcase now
2025-04-22 17:32:59,245 - INFO -
2025-04-22 17:32:59,814 - DEBUG - Response for create_network : {'network': {'id': '4ace13d2-53f4-40eb-ae70-2beee5b294af', 'name': 'ctest-vn-41345840', 'tenant_id': '05162f7bcf7b4fb7be5c798e63ed1cdb', 'project_id': '05162f7bcf7b4fb7be5c798e63ed1cdb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-83566037', 'ctest-vn-41345840'], 'port_security_enabled': True, 'description': ''}}
2025-04-22 17:33:00,022 - DEBUG - Response for create_subnet : {'subnet': {'id': '3499635a-89c8-47f3-aa97-e2bb173736aa', 'name': '', 'tenant_id': '05162f7bcf7b4fb7be5c798e63ed1cdb', 'network_id': '4ace13d2-53f4-40eb-ae70-2beee5b294af', 'ip_version': 4, 'cidr': '52.12.239.128/26', 'allocation_pools': [{'start': '52.12.239.130', 'end': '52.12.239.190'}], 'gateway_ip': '52.12.239.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '52.12.239.130', 'tags': [], 'project_id': '05162f7bcf7b4fb7be5c798e63ed1cdb'}}
2025-04-22 17:33:00,040 - INFO - Created VN ctest-vn-41345840
2025-04-22 17:33:00,091 - DEBUG - VN ctest-vn-41345840 UUID is 4ace13d2-53f4-40eb-ae70-2beee5b294af
2025-04-22 17:33:00,280 - DEBUG - Services list from nova: [, , ]
2025-04-22 17:33:01,234 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3168-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3168-1)
2025-04-22 17:33:02,291 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3168-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3168-1)
2025-04-22 17:33:02,291 - INFO - Waiting for VM ctest-TestBasicVMVNx-83566037-56830315 to be up..
2025-04-22 17:33:02,361 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-04-22 17:33:07,436 - DEBUG - VM is in ACTIVE state now
2025-04-22 17:33:07,436 - INFO - VM name : ctest-TestBasicVMVNx-83566037-56830315
2025-04-22 17:33:07,504 - DEBUG - VM ctest-TestBasicVMVNx-83566037-56830315 ID is 1a818985-ff3f-46ec-8775-5a0dce1182ac
2025-04-22 17:33:07,521 - DEBUG - VM ctest-TestBasicVMVNx-83566037-56830315 launched on Node cn-jenkins-deploy-platform-ansible-os-3168-1
2025-04-22 17:33:07,590 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/1a818985-ff3f-46ec-8775-5a0dce1182ac
2025-04-22 17:33:07,882 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/1a818985-ff3f-46ec-8775-5a0dce1182ac
2025-04-22 17:33:07,913 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/0d5d0b65-e4a9-4415-ad6e-1abc7ab67217
2025-04-22 17:33:11,170 - 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 1020ms')
2025-04-22 17:33:11,170 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-83566037-56830315 failed!
2025-04-22 17:33:11,224 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-83566037:ctest-vn-41345840 is 52.12.239.129 and allocation pool is NOT set
2025-04-22 17:33:13,281 - 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.00 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.392 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.392/1.694/2.997/1.302 ms')
2025-04-22 17:33:13,281 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-83566037-56830315 passed
2025-04-22 17:33:13,428 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-22 17:33:13,428 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-83566037-56830315, IP 52.12.239.131, Port 22
2025-04-22 17:33:13,579 - DEBUG - VM ctest-TestBasicVMVNx-83566037-56830315 is ready for SSH connections
2025-04-22 17:33:13,579 - INFO - Waiting for VM ctest-TestBasicVMVNx-83566037-65211517 to be up..
2025-04-22 17:33:13,646 - DEBUG - VM is in ACTIVE state now
2025-04-22 17:33:13,646 - INFO - VM name : ctest-TestBasicVMVNx-83566037-65211517
2025-04-22 17:33:13,710 - DEBUG - VM ctest-TestBasicVMVNx-83566037-65211517 ID is c42ff304-e3d8-4a70-91cc-2e20db7ade18
2025-04-22 17:33:13,710 - DEBUG - VM ctest-TestBasicVMVNx-83566037-65211517 launched on Node cn-jenkins-deploy-platform-ansible-os-3168-1
2025-04-22 17:33:13,771 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c42ff304-e3d8-4a70-91cc-2e20db7ade18
2025-04-22 17:33:13,779 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/89c89937-3e8b-4f2e-a2aa-10b3c0551346
2025-04-22 17:33:15,004 - 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.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.356 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.356/1.528/2.701/1.172 ms')
2025-04-22 17:33:15,004 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-83566037-65211517 passed
2025-04-22 17:33:15,156 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-22 17:33:15,156 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-83566037-65211517, IP 52.12.239.132, Port 22
2025-04-22 17:33:15,311 - DEBUG - VM ctest-TestBasicVMVNx-83566037-65211517 is ready for SSH connections
2025-04-22 17:33:15,311 - DEBUG - FILE SIZE = 1303B
2025-04-22 17:33:15,311 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-83566037-56830315 to ctest-TestBasicVMVNx-83566037-65211517 using scp
2025-04-22 17:33:15,312 - 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.38, gateway password: c0ntrail123
2025-04-22 17:33:15,312 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-04-22 17:33:17,150 - DEBUG - 1+0 records in
1+0 records out
2025-04-22 17:33:17,788 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-22 17:33:18,097 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-04-22 17:33:18,098 - DEBUG - ls -l testfile
2025-04-22 17:33:19,654 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 22 11:33 [0;0mtestfile[0m
2025-04-22 17:33:19,654 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-83566037-65211517
2025-04-22 17:33:19,654 - INFO - Deleting VM ctest-TestBasicVMVNx-83566037-65211517
2025-04-22 17:33:19,714 - INFO - Deleting VM ctest-TestBasicVMVNx-83566037-56830315
2025-04-22 17:33:19,781 - INFO - Deleting VN ctest-vn-41345840
2025-04-22 17:33:19,820 - DEBUG - VN 4ace13d2-53f4-40eb-ae70-2beee5b294af still in use: Unable to complete operation on network 4ace13d2-53f4-40eb-ae70-2beee5b294af. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-8a09c703-178a-49e0-907e-9048afcc5589']
2025-04-22 17:33:19,820 - WARNING - Deleting VN ctest-vn-41345840 failed..Will retry
2025-04-22 17:33:21,926 - DEBUG - Response for deleting network ()
2025-04-22 17:33:22,181 - DEBUG - No XMPP flaps were noticed during the test
2025-04-22 17:33:22,181 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-04-22 17:33:22,182 - INFO - --------------------------------------------------------------------------------
2025-04-22 17:33:22,826 - INFO - Deleted project: ctest-TestBasicVMVNx-83566037, ID : 05162f7b-cf7b-4fb7-be5c-798e63ed1cdb