2025-06-21 03:57:50,097 - INFO - Domain Default found not creating
2025-06-21 03:57:50,247 - INFO - Project ctest-TestBasicVMVNx-76128277 not found, creating it
2025-06-21 03:57:50,716 - INFO - Created Project:ctest-TestBasicVMVNx-76128277, ID : f712499f-b357-4714-8c8a-25bccb966ef2
2025-06-21 03:57:52,305 - INFO - ================================================================================
2025-06-21 03:57:52,305 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-06-21 03:57:52,305 - 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-06-21 03:57:52,559 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-06-21 03:57:52,559 - INFO - Initial checks done. Running the testcase now
2025-06-21 03:57:52,559 - INFO -
2025-06-21 03:57:53,148 - DEBUG - Response for create_network : {'network': {'id': '2c9296c7-9987-48b9-adc2-b36d41a2258a', 'name': 'ctest-vn-33288568', 'tenant_id': 'f712499fb35747148c8a25bccb966ef2', 'project_id': 'f712499fb35747148c8a25bccb966ef2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-76128277', 'ctest-vn-33288568'], 'port_security_enabled': True, 'description': ''}}
2025-06-21 03:57:53,309 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cde5660a-8eec-41ba-bc70-4964148ff4bd', 'name': '', 'tenant_id': 'f712499fb35747148c8a25bccb966ef2', 'network_id': '2c9296c7-9987-48b9-adc2-b36d41a2258a', 'ip_version': 4, 'cidr': '115.233.72.128/26', 'allocation_pools': [{'start': '115.233.72.130', 'end': '115.233.72.190'}], 'gateway_ip': '115.233.72.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '115.233.72.130', 'tags': [], 'project_id': 'f712499fb35747148c8a25bccb966ef2'}}
2025-06-21 03:57:53,329 - INFO - Created VN ctest-vn-33288568
2025-06-21 03:57:53,385 - DEBUG - VN ctest-vn-33288568 UUID is 2c9296c7-9987-48b9-adc2-b36d41a2258a
2025-06-21 03:57:53,548 - DEBUG - Services list from nova: [, , ]
2025-06-21 03:57:54,638 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3509-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3509-1)
2025-06-21 03:57:55,882 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3509-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3509-1)
2025-06-21 03:57:55,882 - INFO - Waiting for VM ctest-TestBasicVMVNx-76128277-22711123 to be up..
2025-06-21 03:57:55,965 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-06-21 03:58:01,055 - DEBUG - VM is in ACTIVE state now
2025-06-21 03:58:01,055 - INFO - VM name : ctest-TestBasicVMVNx-76128277-22711123
2025-06-21 03:58:01,141 - DEBUG - VM ctest-TestBasicVMVNx-76128277-22711123 ID is 4de020cb-cdb3-4b33-af0e-c31ad26c4a79
2025-06-21 03:58:01,164 - DEBUG - VM ctest-TestBasicVMVNx-76128277-22711123 launched on Node cn-jenkins-deploy-platform-ansible-os-3509-1
2025-06-21 03:58:01,253 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/4de020cb-cdb3-4b33-af0e-c31ad26c4a79
2025-06-21 03:58:01,588 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/4de020cb-cdb3-4b33-af0e-c31ad26c4a79
2025-06-21 03:58:01,623 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/8f325974-84ff-4e1e-bca7-8b56553f9b06
2025-06-21 03:58:04,884 - 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 1011ms')
2025-06-21 03:58:04,884 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-76128277-22711123 failed!
2025-06-21 03:58:04,941 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-76128277:ctest-vn-33288568 is 115.233.72.129 and allocation pool is NOT set
2025-06-21 03:58:07,006 - 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=4.29 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.21 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.212/2.749/4.287/1.537 ms')
2025-06-21 03:58:07,007 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-76128277-22711123 passed
2025-06-21 03:58:07,161 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-21 03:58:07,161 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-76128277-22711123, IP 115.233.72.131, Port 22
2025-06-21 03:58:07,321 - DEBUG - VM ctest-TestBasicVMVNx-76128277-22711123 is ready for SSH connections
2025-06-21 03:58:07,321 - INFO - Waiting for VM ctest-TestBasicVMVNx-76128277-80700489 to be up..
2025-06-21 03:58:07,402 - DEBUG - VM is in ACTIVE state now
2025-06-21 03:58:07,402 - INFO - VM name : ctest-TestBasicVMVNx-76128277-80700489
2025-06-21 03:58:07,484 - DEBUG - VM ctest-TestBasicVMVNx-76128277-80700489 ID is 88c237ba-c8f1-4f17-8f97-f654c97727ad
2025-06-21 03:58:07,485 - DEBUG - VM ctest-TestBasicVMVNx-76128277-80700489 launched on Node cn-jenkins-deploy-platform-ansible-os-3509-1
2025-06-21 03:58:07,578 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/88c237ba-c8f1-4f17-8f97-f654c97727ad
2025-06-21 03:58:07,588 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/c1d111b3-28fa-4281-9381-b7d6247e9ac4
2025-06-21 03:58:08,825 - 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.09 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.479 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.479/1.784/3.090/1.305 ms')
2025-06-21 03:58:08,825 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-76128277-80700489 passed
2025-06-21 03:58:08,981 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-21 03:58:08,981 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-76128277-80700489, IP 115.233.72.132, Port 22
2025-06-21 03:58:09,141 - DEBUG - VM ctest-TestBasicVMVNx-76128277-80700489 is ready for SSH connections
2025-06-21 03:58:09,141 - DEBUG - FILE SIZE = 1303B
2025-06-21 03:58:09,141 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-76128277-22711123 to ctest-TestBasicVMVNx-76128277-80700489 using scp
2025-06-21 03:58:09,142 - 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.254, gateway password: c0ntrail123
2025-06-21 03:58:09,142 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-06-21 03:58:11,110 - DEBUG - 1+0 records in
1+0 records out
2025-06-21 03:58:11,780 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-21 03:58:12,115 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-06-21 03:58:12,115 - DEBUG - ls -l testfile
2025-06-21 03:58:13,723 - DEBUG - -rw------- 1 cirros cirros 1303 Jun 20 21:58 [0;0mtestfile[0m
2025-06-21 03:58:13,723 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-76128277-80700489
2025-06-21 03:58:13,723 - INFO - Deleting VM ctest-TestBasicVMVNx-76128277-80700489
2025-06-21 03:58:13,797 - INFO - Deleting VM ctest-TestBasicVMVNx-76128277-22711123
2025-06-21 03:58:13,872 - INFO - Deleting VN ctest-vn-33288568
2025-06-21 03:58:13,912 - DEBUG - VN 2c9296c7-9987-48b9-adc2-b36d41a2258a still in use: Unable to complete operation on network 2c9296c7-9987-48b9-adc2-b36d41a2258a. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-b6292208-fe6a-4495-abfd-fd9c0c773f93']
2025-06-21 03:58:13,912 - WARNING - Deleting VN ctest-vn-33288568 failed..Will retry
2025-06-21 03:58:16,080 - DEBUG - Response for deleting network ()
2025-06-21 03:58:16,345 - DEBUG - No XMPP flaps were noticed during the test
2025-06-21 03:58:16,345 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-06-21 03:58:16,346 - INFO - --------------------------------------------------------------------------------
2025-06-21 03:58:17,102 - INFO - Deleted project: ctest-TestBasicVMVNx-76128277, ID : f712499f-b357-4714-8c8a-25bccb966ef2