2025-11-20 17:02:06,444 - INFO - Domain Default found not creating
2025-11-20 17:02:06,622 - INFO - Project ctest-TestBasicVMVNx-98979926 not found, creating it
2025-11-20 17:02:07,073 - INFO - Created Project:ctest-TestBasicVMVNx-98979926, ID : 876aa9aa-0550-4c55-9e84-bfc134d4a442
2025-11-20 17:02:08,586 - INFO - ================================================================================
2025-11-20 17:02:08,586 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-11-20 17:02:08,586 - 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-11-20 17:02:08,843 - DEBUG - Nothing to compare xmpp stats {'10.0.0.154': {'10.20.0.252': '0'}} with
2025-11-20 17:02:08,843 - INFO - Initial checks done. Running the testcase now
2025-11-20 17:02:08,843 - INFO -
2025-11-20 17:02:09,391 - DEBUG - Response for create_network : {'network': {'id': 'b1023c15-304a-4b5c-b884-8b103253791d', 'name': 'ctest-vn-66141552', 'tenant_id': '876aa9aa05504c559e84bfc134d4a442', 'project_id': '876aa9aa05504c559e84bfc134d4a442', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-98979926', 'ctest-vn-66141552'], 'port_security_enabled': True, 'description': ''}}
2025-11-20 17:02:09,555 - DEBUG - Response for create_subnet : {'subnet': {'id': '9ca130d1-f0d4-4058-83d3-b81272b59669', 'name': '', 'tenant_id': '876aa9aa05504c559e84bfc134d4a442', 'network_id': 'b1023c15-304a-4b5c-b884-8b103253791d', 'ip_version': 4, 'cidr': '4.83.1.0/26', 'allocation_pools': [{'start': '4.83.1.2', 'end': '4.83.1.62'}], 'gateway_ip': '4.83.1.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '4.83.1.2', 'tags': [], 'project_id': '876aa9aa05504c559e84bfc134d4a442'}}
2025-11-20 17:02:09,571 - INFO - Created VN ctest-vn-66141552
2025-11-20 17:02:09,621 - DEBUG - VN ctest-vn-66141552 UUID is b1023c15-304a-4b5c-b884-8b103253791d
2025-11-20 17:02:09,821 - DEBUG - Services list from nova: [, , ]
2025-11-20 17:02:10,810 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4780-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4780-1)
2025-11-20 17:02:11,969 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4780-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4780-1)
2025-11-20 17:02:11,969 - INFO - Waiting for VM ctest-TestBasicVMVNx-98979926-36424722 to be up..
2025-11-20 17:02:12,056 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-20 17:02:17,128 - DEBUG - VM is in ACTIVE state now
2025-11-20 17:02:17,128 - INFO - VM name : ctest-TestBasicVMVNx-98979926-36424722
2025-11-20 17:02:17,193 - DEBUG - VM ctest-TestBasicVMVNx-98979926-36424722 ID is 6eb0f597-bb21-4400-b53d-dc7b21af450d
2025-11-20 17:02:17,211 - DEBUG - VM ctest-TestBasicVMVNx-98979926-36424722 launched on Node cn-jenkins-deploy-platform-ansible-os-4780-1
2025-11-20 17:02:17,276 - DEBUG - Requesting: http://10.0.0.154:8082/virtual-machine/6eb0f597-bb21-4400-b53d-dc7b21af450d
2025-11-20 17:02:17,567 - DEBUG - Requesting: http://10.0.0.154:8082/virtual-machine/6eb0f597-bb21-4400-b53d-dc7b21af450d
2025-11-20 17:02:17,599 - DEBUG - Requesting: http://10.0.0.154:8082/virtual-machine-interface/ab7ebba3-6082-4153-a678-fe9a5d32b2ac
2025-11-20 17:02:20,858 - 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 1027ms')
2025-11-20 17:02:20,858 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-98979926-36424722 failed!
2025-11-20 17:02:20,913 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-98979926:ctest-vn-66141552 is 4.83.1.1 and allocation pool is NOT set
2025-11-20 17:02:22,969 - 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=6.12 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.580 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.580/3.349/6.118/2.769 ms')
2025-11-20 17:02:22,969 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-98979926-36424722 passed
2025-11-20 17:02:23,117 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-20 17:02:23,117 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-98979926-36424722, IP 4.83.1.3, Port 22
2025-11-20 17:02:23,268 - DEBUG - VM ctest-TestBasicVMVNx-98979926-36424722 is ready for SSH connections
2025-11-20 17:02:23,268 - INFO - Waiting for VM ctest-TestBasicVMVNx-98979926-64344931 to be up..
2025-11-20 17:02:23,336 - DEBUG - VM is in ACTIVE state now
2025-11-20 17:02:23,337 - INFO - VM name : ctest-TestBasicVMVNx-98979926-64344931
2025-11-20 17:02:23,402 - DEBUG - VM ctest-TestBasicVMVNx-98979926-64344931 ID is 0ab8c2b5-da39-488b-878c-e3f84e26e836
2025-11-20 17:02:23,402 - DEBUG - VM ctest-TestBasicVMVNx-98979926-64344931 launched on Node cn-jenkins-deploy-platform-ansible-os-4780-1
2025-11-20 17:02:23,468 - DEBUG - Requesting: http://10.0.0.154:8082/virtual-machine/0ab8c2b5-da39-488b-878c-e3f84e26e836
2025-11-20 17:02:23,476 - DEBUG - Requesting: http://10.0.0.154:8082/virtual-machine-interface/46bbbc06-f56e-450f-83c0-9f06f730201e
2025-11-20 17:02:24,708 - 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.54 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.585 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.585/2.064/3.544/1.479 ms')
2025-11-20 17:02:24,708 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-98979926-64344931 passed
2025-11-20 17:02:24,861 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-20 17:02:24,861 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-98979926-64344931, IP 4.83.1.4, Port 22
2025-11-20 17:02:25,016 - DEBUG - VM ctest-TestBasicVMVNx-98979926-64344931 is ready for SSH connections
2025-11-20 17:02:25,017 - DEBUG - FILE SIZE = 1303B
2025-11-20 17:02:25,017 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-98979926-36424722 to ctest-TestBasicVMVNx-98979926-64344931 using scp
2025-11-20 17:02:25,018 - 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.154, gateway password: c0ntrail123
2025-11-20 17:02:25,018 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-11-20 17:02:26,640 - DEBUG - 1+0 records in
1+0 records out
2025-11-20 17:02:26,927 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-20 17:02:27,263 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.154, gateway password: c0ntrail123
2025-11-20 17:02:27,263 - DEBUG - ls -l testfile
2025-11-20 17:02:28,878 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 20 10:02 [0;0mtestfile[0m
2025-11-20 17:02:28,878 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-98979926-64344931
2025-11-20 17:02:28,879 - INFO - Deleting VM ctest-TestBasicVMVNx-98979926-64344931
2025-11-20 17:02:28,946 - INFO - Deleting VM ctest-TestBasicVMVNx-98979926-36424722
2025-11-20 17:02:29,019 - INFO - Deleting VN ctest-vn-66141552
2025-11-20 17:02:29,055 - DEBUG - VN b1023c15-304a-4b5c-b884-8b103253791d still in use: Unable to complete operation on network b1023c15-304a-4b5c-b884-8b103253791d. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-e7b61252-cedf-43bb-8c1f-b525f6fe8677']
2025-11-20 17:02:29,055 - WARNING - Deleting VN ctest-vn-66141552 failed..Will retry
2025-11-20 17:02:31,147 - DEBUG - Response for deleting network ()
2025-11-20 17:02:31,402 - DEBUG - No XMPP flaps were noticed during the test
2025-11-20 17:02:31,402 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-11-20 17:02:31,402 - INFO - --------------------------------------------------------------------------------
2025-11-20 17:02:32,075 - INFO - Deleted project: ctest-TestBasicVMVNx-98979926, ID : 876aa9aa-0550-4c55-9e84-bfc134d4a442