2025-08-19 10:35:47,327 - INFO - Domain Default found not creating
2025-08-19 10:35:47,458 - INFO - Project ctest-TestBasicVMVNx-00459211 not found, creating it
2025-08-19 10:35:47,891 - INFO - Created Project:ctest-TestBasicVMVNx-00459211, ID : 2c1ec151-e415-438d-9885-c0eaf318c4ed
2025-08-19 10:35:49,221 - INFO - ================================================================================
2025-08-19 10:35:49,221 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-08-19 10:35:49,221 - 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-08-19 10:35:49,475 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with
2025-08-19 10:35:49,475 - INFO - Initial checks done. Running the testcase now
2025-08-19 10:35:49,475 - INFO -
2025-08-19 10:35:49,986 - DEBUG - Response for create_network : {'network': {'id': '62bbe7e3-89b3-4151-9ed6-fd0237be7c92', 'name': 'ctest-vn-84939177', 'tenant_id': '2c1ec151e415438d9885c0eaf318c4ed', 'project_id': '2c1ec151e415438d9885c0eaf318c4ed', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-00459211', 'ctest-vn-84939177'], 'port_security_enabled': True, 'description': ''}}
2025-08-19 10:35:50,176 - DEBUG - Response for create_subnet : {'subnet': {'id': '762cea5b-9a0e-4a1b-b8af-08d80e9fad00', 'name': '', 'tenant_id': '2c1ec151e415438d9885c0eaf318c4ed', 'network_id': '62bbe7e3-89b3-4151-9ed6-fd0237be7c92', 'ip_version': 4, 'cidr': '140.150.164.128/26', 'allocation_pools': [{'start': '140.150.164.130', 'end': '140.150.164.190'}], 'gateway_ip': '140.150.164.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '140.150.164.130', 'tags': [], 'project_id': '2c1ec151e415438d9885c0eaf318c4ed'}}
2025-08-19 10:35:50,191 - INFO - Created VN ctest-vn-84939177
2025-08-19 10:35:50,241 - DEBUG - VN ctest-vn-84939177 UUID is 62bbe7e3-89b3-4151-9ed6-fd0237be7c92
2025-08-19 10:35:50,435 - DEBUG - Services list from nova: [, , ]
2025-08-19 10:35:51,383 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3882-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3882-1)
2025-08-19 10:35:52,439 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3882-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3882-1)
2025-08-19 10:35:52,439 - INFO - Waiting for VM ctest-TestBasicVMVNx-00459211-65252941 to be up..
2025-08-19 10:35:52,507 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-19 10:35:57,583 - DEBUG - VM is in ACTIVE state now
2025-08-19 10:35:57,583 - INFO - VM name : ctest-TestBasicVMVNx-00459211-65252941
2025-08-19 10:35:57,646 - DEBUG - VM ctest-TestBasicVMVNx-00459211-65252941 ID is 818177ec-58ab-4bde-a0eb-78957068f77a
2025-08-19 10:35:57,662 - DEBUG - VM ctest-TestBasicVMVNx-00459211-65252941 launched on Node cn-jenkins-deploy-platform-ansible-os-3882-1
2025-08-19 10:35:57,724 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/818177ec-58ab-4bde-a0eb-78957068f77a
2025-08-19 10:35:58,013 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/818177ec-58ab-4bde-a0eb-78957068f77a
2025-08-19 10:35:58,042 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/63aa7192-2c35-4aa5-8d0d-30079c2e0664
2025-08-19 10:36:01,295 - 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 1012ms')
2025-08-19 10:36:01,296 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-00459211-65252941 failed!
2025-08-19 10:36:01,350 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-00459211:ctest-vn-84939177 is 140.150.164.129 and allocation pool is NOT set
2025-08-19 10:36:03,414 - 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.62 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.380 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.380/1.497/2.615/1.117 ms')
2025-08-19 10:36:03,414 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-00459211-65252941 passed
2025-08-19 10:36:03,566 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-19 10:36:03,566 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-00459211-65252941, IP 140.150.164.131, Port 22
2025-08-19 10:36:03,721 - DEBUG - VM ctest-TestBasicVMVNx-00459211-65252941 is ready for SSH connections
2025-08-19 10:36:03,721 - INFO - Waiting for VM ctest-TestBasicVMVNx-00459211-60139267 to be up..
2025-08-19 10:36:03,790 - DEBUG - VM is in ACTIVE state now
2025-08-19 10:36:03,790 - INFO - VM name : ctest-TestBasicVMVNx-00459211-60139267
2025-08-19 10:36:03,851 - DEBUG - VM ctest-TestBasicVMVNx-00459211-60139267 ID is 3e47f71d-47ca-4fdc-807d-906a30b0e32c
2025-08-19 10:36:03,851 - DEBUG - VM ctest-TestBasicVMVNx-00459211-60139267 launched on Node cn-jenkins-deploy-platform-ansible-os-3882-1
2025-08-19 10:36:03,915 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/3e47f71d-47ca-4fdc-807d-906a30b0e32c
2025-08-19 10:36:03,922 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/4661ec08-6713-4ae7-8eae-e7f818e61146
2025-08-19 10:36:05,158 - 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.63 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.392 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.392/2.010/3.628/1.618 ms')
2025-08-19 10:36:05,158 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-00459211-60139267 passed
2025-08-19 10:36:05,326 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-19 10:36:05,326 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-00459211-60139267, IP 140.150.164.132, Port 22
2025-08-19 10:36:05,481 - DEBUG - VM ctest-TestBasicVMVNx-00459211-60139267 is ready for SSH connections
2025-08-19 10:36:05,481 - DEBUG - FILE SIZE = 1303B
2025-08-19 10:36:05,481 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-00459211-65252941 to ctest-TestBasicVMVNx-00459211-60139267 using scp
2025-08-19 10:36:05,482 - 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.48, gateway password: c0ntrail123
2025-08-19 10:36:05,482 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-08-19 10:36:07,341 - DEBUG - 1+0 records in
1+0 records out
2025-08-19 10:36:07,933 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-19 10:36:08,241 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123
2025-08-19 10:36:08,241 - DEBUG - ls -l testfile
2025-08-19 10:36:09,808 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 19 04:36 [0;0mtestfile[0m
2025-08-19 10:36:09,808 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-00459211-60139267
2025-08-19 10:36:09,808 - INFO - Deleting VM ctest-TestBasicVMVNx-00459211-60139267
2025-08-19 10:36:09,867 - INFO - Deleting VM ctest-TestBasicVMVNx-00459211-65252941
2025-08-19 10:36:09,928 - INFO - Deleting VN ctest-vn-84939177
2025-08-19 10:36:09,960 - DEBUG - VN 62bbe7e3-89b3-4151-9ed6-fd0237be7c92 still in use: Unable to complete operation on network 62bbe7e3-89b3-4151-9ed6-fd0237be7c92. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-fcc8ce72-b603-4230-b795-080a8663c275']
2025-08-19 10:36:09,960 - WARNING - Deleting VN ctest-vn-84939177 failed..Will retry
2025-08-19 10:36:12,063 - DEBUG - Response for deleting network ()
2025-08-19 10:36:12,315 - DEBUG - No XMPP flaps were noticed during the test
2025-08-19 10:36:12,315 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-08-19 10:36:12,315 - INFO - --------------------------------------------------------------------------------
2025-08-19 10:36:12,977 - INFO - Deleted project: ctest-TestBasicVMVNx-00459211, ID : 2c1ec151-e415-438d-9885-c0eaf318c4ed