2025-08-11 15:57:56,025 - INFO - Domain Default found not creating
2025-08-11 15:57:56,151 - INFO - Project ctest-TestBasicVMVNx-28199101 not found, creating it
2025-08-11 15:57:56,575 - INFO - Created Project:ctest-TestBasicVMVNx-28199101, ID : a8367304-a923-40e3-88ad-829ac84b845e
2025-08-11 15:57:57,899 - INFO - ================================================================================
2025-08-11 15:57:57,899 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-08-11 15:57:57,899 - 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-11 15:57:58,148 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.14': '0'}} with
2025-08-11 15:57:58,148 - INFO - Initial checks done. Running the testcase now
2025-08-11 15:57:58,148 - INFO -
2025-08-11 15:57:58,666 - DEBUG - Response for create_network : {'network': {'id': '257ba052-a1c5-4ec7-b01f-608b254b66eb', 'name': 'ctest-vn-46893639', 'tenant_id': 'a8367304a92340e388ad829ac84b845e', 'project_id': 'a8367304a92340e388ad829ac84b845e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-28199101', 'ctest-vn-46893639'], 'port_security_enabled': True, 'description': ''}}
2025-08-11 15:57:58,832 - DEBUG - Response for create_subnet : {'subnet': {'id': '4144faf6-27f2-4494-b6d1-92f548fb1540', 'name': '', 'tenant_id': 'a8367304a92340e388ad829ac84b845e', 'network_id': '257ba052-a1c5-4ec7-b01f-608b254b66eb', 'ip_version': 4, 'cidr': '105.94.113.0/26', 'allocation_pools': [{'start': '105.94.113.2', 'end': '105.94.113.62'}], 'gateway_ip': '105.94.113.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '105.94.113.2', 'tags': [], 'project_id': 'a8367304a92340e388ad829ac84b845e'}}
2025-08-11 15:57:58,847 - INFO - Created VN ctest-vn-46893639
2025-08-11 15:57:58,902 - DEBUG - VN ctest-vn-46893639 UUID is 257ba052-a1c5-4ec7-b01f-608b254b66eb
2025-08-11 15:57:59,095 - DEBUG - Services list from nova: [, , ]
2025-08-11 15:58:00,038 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3814-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3814-1)
2025-08-11 15:58:01,112 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3814-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3814-1)
2025-08-11 15:58:01,112 - INFO - Waiting for VM ctest-TestBasicVMVNx-28199101-55950059 to be up..
2025-08-11 15:58:01,186 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-11 15:58:06,253 - DEBUG - VM is in ACTIVE state now
2025-08-11 15:58:06,254 - INFO - VM name : ctest-TestBasicVMVNx-28199101-55950059
2025-08-11 15:58:06,315 - DEBUG - VM ctest-TestBasicVMVNx-28199101-55950059 ID is 8214336f-b654-47b6-892a-56589c8231eb
2025-08-11 15:58:06,332 - DEBUG - VM ctest-TestBasicVMVNx-28199101-55950059 launched on Node cn-jenkins-deploy-platform-ansible-os-3814-1
2025-08-11 15:58:06,393 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/8214336f-b654-47b6-892a-56589c8231eb
2025-08-11 15:58:06,683 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/8214336f-b654-47b6-892a-56589c8231eb
2025-08-11 15:58:06,711 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/9cbad1c7-4f06-4375-a73d-741a6847a273
2025-08-11 15:58:09,948 - 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-11 15:58:09,948 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-28199101-55950059 failed!
2025-08-11 15:58:10,003 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-28199101:ctest-vn-46893639 is 105.94.113.1 and allocation pool is NOT set
2025-08-11 15:58:12,062 - 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.49 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.385 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.385/1.439/2.493/1.054 ms')
2025-08-11 15:58:12,062 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-28199101-55950059 passed
2025-08-11 15:58:12,215 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 15:58:12,215 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-28199101-55950059, IP 105.94.113.3, Port 22
2025-08-11 15:58:12,386 - DEBUG - VM ctest-TestBasicVMVNx-28199101-55950059 is ready for SSH connections
2025-08-11 15:58:12,386 - INFO - Waiting for VM ctest-TestBasicVMVNx-28199101-24215332 to be up..
2025-08-11 15:58:12,449 - DEBUG - VM is in ACTIVE state now
2025-08-11 15:58:12,449 - INFO - VM name : ctest-TestBasicVMVNx-28199101-24215332
2025-08-11 15:58:12,510 - DEBUG - VM ctest-TestBasicVMVNx-28199101-24215332 ID is 0cd8830f-0570-4ab2-bef3-2c2deb59d9a0
2025-08-11 15:58:12,510 - DEBUG - VM ctest-TestBasicVMVNx-28199101-24215332 launched on Node cn-jenkins-deploy-platform-ansible-os-3814-1
2025-08-11 15:58:12,570 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/0cd8830f-0570-4ab2-bef3-2c2deb59d9a0
2025-08-11 15:58:12,578 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/b78a74dc-be07-46e7-a023-f6dabab7c1aa
2025-08-11 15:58:13,810 - 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.64 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.311 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.311/1.477/2.644/1.166 ms')
2025-08-11 15:58:13,810 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-28199101-24215332 passed
2025-08-11 15:58:13,959 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 15:58:13,959 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-28199101-24215332, IP 105.94.113.4, Port 22
2025-08-11 15:58:14,111 - DEBUG - VM ctest-TestBasicVMVNx-28199101-24215332 is ready for SSH connections
2025-08-11 15:58:14,111 - DEBUG - FILE SIZE = 1303B
2025-08-11 15:58:14,111 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-28199101-55950059 to ctest-TestBasicVMVNx-28199101-24215332 using scp
2025-08-11 15:58:14,112 - 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.130, gateway password: c0ntrail123
2025-08-11 15:58:14,113 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-08-11 15:58:16,036 - DEBUG - 1+0 records in
1+0 records out
2025-08-11 15:58:16,649 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 15:58:16,960 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123
2025-08-11 15:58:16,960 - DEBUG - ls -l testfile
2025-08-11 15:58:18,513 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 11 09:58 [0;0mtestfile[0m
2025-08-11 15:58:18,513 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-28199101-24215332
2025-08-11 15:58:18,513 - INFO - Deleting VM ctest-TestBasicVMVNx-28199101-24215332
2025-08-11 15:58:18,573 - INFO - Deleting VM ctest-TestBasicVMVNx-28199101-55950059
2025-08-11 15:58:18,638 - INFO - Deleting VN ctest-vn-46893639
2025-08-11 15:58:18,670 - DEBUG - VN 257ba052-a1c5-4ec7-b01f-608b254b66eb still in use: Unable to complete operation on network 257ba052-a1c5-4ec7-b01f-608b254b66eb. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-5a966a95-0553-4803-8edb-6fac8e551b59']
2025-08-11 15:58:18,670 - WARNING - Deleting VN ctest-vn-46893639 failed..Will retry
2025-08-11 15:58:20,759 - DEBUG - Response for deleting network ()
2025-08-11 15:58:21,009 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 15:58:21,009 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-08-11 15:58:21,009 - INFO - --------------------------------------------------------------------------------
2025-08-11 15:58:21,669 - INFO - Deleted project: ctest-TestBasicVMVNx-28199101, ID : a8367304-a923-40e3-88ad-829ac84b845e