2025-08-20 09:11:37,252 - INFO - Domain Default found not creating
2025-08-20 09:11:37,374 - INFO - Project ctest-TestBasicVMVNx-80899806 not found, creating it
2025-08-20 09:11:37,795 - INFO - Created Project:ctest-TestBasicVMVNx-80899806, ID : 715e1cd7-c75c-4aa5-a181-74d22be2981e
2025-08-20 09:11:39,097 - INFO - ================================================================================
2025-08-20 09:11:39,097 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-08-20 09:11:39,097 - 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-20 09:11:39,352 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.0.0.50': '0'}} with
2025-08-20 09:11:39,352 - INFO - Initial checks done. Running the testcase now
2025-08-20 09:11:39,352 - INFO -
2025-08-20 09:11:39,858 - DEBUG - Response for create_network : {'network': {'id': 'c431ad0f-f0a9-4d17-86a1-a9af83fe6df1', 'name': 'ctest-vn-52447536', 'tenant_id': '715e1cd7c75c4aa5a18174d22be2981e', 'project_id': '715e1cd7c75c4aa5a18174d22be2981e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-80899806', 'ctest-vn-52447536'], 'port_security_enabled': True, 'description': ''}}
2025-08-20 09:11:40,060 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c987a8da-d795-4c0b-a5f6-504ea8068b92', 'name': '', 'tenant_id': '715e1cd7c75c4aa5a18174d22be2981e', 'network_id': 'c431ad0f-f0a9-4d17-86a1-a9af83fe6df1', 'ip_version': 4, 'cidr': '221.242.70.0/26', 'allocation_pools': [{'start': '221.242.70.2', 'end': '221.242.70.62'}], 'gateway_ip': '221.242.70.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '221.242.70.2', 'tags': [], 'project_id': '715e1cd7c75c4aa5a18174d22be2981e'}}
2025-08-20 09:11:40,075 - INFO - Created VN ctest-vn-52447536
2025-08-20 09:11:40,127 - DEBUG - VN ctest-vn-52447536 UUID is c431ad0f-f0a9-4d17-86a1-a9af83fe6df1
2025-08-20 09:11:40,314 - DEBUG - Services list from nova: [, , ]
2025-08-20 09:11:41,264 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3889-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3889-1)
2025-08-20 09:11:42,315 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3889-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3889-1)
2025-08-20 09:11:42,315 - INFO - Waiting for VM ctest-TestBasicVMVNx-80899806-16845143 to be up..
2025-08-20 09:11:42,384 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-20 09:11:47,450 - DEBUG - VM is in ACTIVE state now
2025-08-20 09:11:47,450 - INFO - VM name : ctest-TestBasicVMVNx-80899806-16845143
2025-08-20 09:11:47,514 - DEBUG - VM ctest-TestBasicVMVNx-80899806-16845143 ID is afde5043-4455-406d-b315-d8441108edcb
2025-08-20 09:11:47,530 - DEBUG - VM ctest-TestBasicVMVNx-80899806-16845143 launched on Node cn-jenkins-deploy-platform-ansible-os-3889-1.
2025-08-20 09:11:47,592 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/afde5043-4455-406d-b315-d8441108edcb
2025-08-20 09:11:47,883 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/afde5043-4455-406d-b315-d8441108edcb
2025-08-20 09:11:47,911 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/6d463684-c130-4a99-927e-9cfe976a2272
2025-08-20 09:11:51,148 - 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 1016ms')
2025-08-20 09:11:51,148 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-80899806-16845143 failed!
2025-08-20 09:11:51,199 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-80899806:ctest-vn-52447536 is 221.242.70.1 and allocation pool is NOT set
2025-08-20 09:11:53,256 - 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.15 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.387 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.387/1.767/3.148/1.380 ms')
2025-08-20 09:11:53,256 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-80899806-16845143 passed
2025-08-20 09:11:53,403 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-20 09:11:53,404 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-80899806-16845143, IP 221.242.70.3, Port 22
2025-08-20 09:11:53,559 - DEBUG - VM ctest-TestBasicVMVNx-80899806-16845143 is ready for SSH connections
2025-08-20 09:11:53,559 - INFO - Waiting for VM ctest-TestBasicVMVNx-80899806-70210271 to be up..
2025-08-20 09:11:53,621 - DEBUG - VM is in ACTIVE state now
2025-08-20 09:11:53,621 - INFO - VM name : ctest-TestBasicVMVNx-80899806-70210271
2025-08-20 09:11:53,692 - DEBUG - VM ctest-TestBasicVMVNx-80899806-70210271 ID is 37e4ff3e-4dca-4b00-9ca6-33bb40a50eaf
2025-08-20 09:11:53,692 - DEBUG - VM ctest-TestBasicVMVNx-80899806-70210271 launched on Node cn-jenkins-deploy-platform-ansible-os-3889-1.
2025-08-20 09:11:53,754 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/37e4ff3e-4dca-4b00-9ca6-33bb40a50eaf
2025-08-20 09:11:53,761 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/da401563-e8d9-41d3-9a0d-e1af46ca751a
2025-08-20 09:11:54,991 - 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.376 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.376/1.538/2.701/1.162 ms')
2025-08-20 09:11:54,991 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-80899806-70210271 passed
2025-08-20 09:11:55,139 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-20 09:11:55,139 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-80899806-70210271, IP 221.242.70.4, Port 22
2025-08-20 09:11:55,290 - DEBUG - VM ctest-TestBasicVMVNx-80899806-70210271 is ready for SSH connections
2025-08-20 09:11:55,290 - DEBUG - FILE SIZE = 1303B
2025-08-20 09:11:55,291 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-80899806-16845143 to ctest-TestBasicVMVNx-80899806-70210271 using scp
2025-08-20 09:11:55,292 - 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.50, gateway password: c0ntrail123
2025-08-20 09:11:55,292 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-08-20 09:11:57,158 - DEBUG - 1+0 records in
1+0 records out
2025-08-20 09:11:57,757 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-20 09:11:58,070 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-08-20 09:11:58,071 - DEBUG - ls -l testfile
2025-08-20 09:11:59,640 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 20 03:11 [0;0mtestfile[0m
2025-08-20 09:11:59,640 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-80899806-70210271
2025-08-20 09:11:59,640 - INFO - Deleting VM ctest-TestBasicVMVNx-80899806-70210271
2025-08-20 09:11:59,701 - INFO - Deleting VM ctest-TestBasicVMVNx-80899806-16845143
2025-08-20 09:11:59,756 - INFO - Deleting VN ctest-vn-52447536
2025-08-20 09:11:59,788 - DEBUG - VN c431ad0f-f0a9-4d17-86a1-a9af83fe6df1 still in use: Unable to complete operation on network c431ad0f-f0a9-4d17-86a1-a9af83fe6df1. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-8e5cd0a9-9ae6-4c4e-9653-a665bd8f6fa6']
2025-08-20 09:11:59,788 - WARNING - Deleting VN ctest-vn-52447536 failed..Will retry
2025-08-20 09:12:01,942 - DEBUG - Response for deleting network ()
2025-08-20 09:12:02,200 - DEBUG - No XMPP flaps were noticed during the test
2025-08-20 09:12:02,200 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-08-20 09:12:02,200 - INFO - --------------------------------------------------------------------------------
2025-08-20 09:12:02,841 - INFO - Deleted project: ctest-TestBasicVMVNx-80899806, ID : 715e1cd7-c75c-4aa5-a181-74d22be2981e