2025-09-11 12:08:38,418 - INFO - Domain Default found not creating
2025-09-11 12:08:38,572 - INFO - Project ctest-TestBasicVMVNx-07642148 not found, creating it
2025-09-11 12:08:39,022 - INFO - Created Project:ctest-TestBasicVMVNx-07642148, ID : d09eb799-9e13-4809-9d7f-8407c2b00172
2025-09-11 12:08:40,903 - INFO - ================================================================================
2025-09-11 12:08:40,903 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-09-11 12:08:40,903 - 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-09-11 12:08:41,159 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with
2025-09-11 12:08:41,159 - INFO - Initial checks done. Running the testcase now
2025-09-11 12:08:41,159 - INFO -
2025-09-11 12:08:41,725 - DEBUG - Response for create_network : {'network': {'id': 'cf13b3bf-69ae-484f-8f1e-6bfc75a0afdb', 'name': 'ctest-vn-06705444', 'tenant_id': 'd09eb7999e1348099d7f8407c2b00172', 'project_id': 'd09eb7999e1348099d7f8407c2b00172', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-07642148', 'ctest-vn-06705444'], 'port_security_enabled': True, 'description': ''}}
2025-09-11 12:08:41,894 - DEBUG - Response for create_subnet : {'subnet': {'id': '3f7de6a1-23e4-48ec-b524-957279a95014', 'name': '', 'tenant_id': 'd09eb7999e1348099d7f8407c2b00172', 'network_id': 'cf13b3bf-69ae-484f-8f1e-6bfc75a0afdb', 'ip_version': 4, 'cidr': '77.201.183.192/26', 'allocation_pools': [{'start': '77.201.183.194', 'end': '77.201.183.254'}], 'gateway_ip': '77.201.183.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '77.201.183.194', 'tags': [], 'project_id': 'd09eb7999e1348099d7f8407c2b00172'}}
2025-09-11 12:08:41,913 - INFO - Created VN ctest-vn-06705444
2025-09-11 12:08:41,967 - DEBUG - VN ctest-vn-06705444 UUID is cf13b3bf-69ae-484f-8f1e-6bfc75a0afdb
2025-09-11 12:08:42,144 - DEBUG - Services list from nova: [, , ]
2025-09-11 12:08:43,184 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4091-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4091-1)
2025-09-11 12:08:44,378 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4091-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4091-1)
2025-09-11 12:08:44,378 - INFO - Waiting for VM ctest-TestBasicVMVNx-07642148-26265926 to be up..
2025-09-11 12:08:44,460 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-11 12:08:49,539 - DEBUG - VM is in ACTIVE state now
2025-09-11 12:08:49,539 - INFO - VM name : ctest-TestBasicVMVNx-07642148-26265926
2025-09-11 12:08:49,610 - DEBUG - VM ctest-TestBasicVMVNx-07642148-26265926 ID is 536b2fa4-a658-4a94-ae38-2e0c5cbaf6f7
2025-09-11 12:08:49,628 - DEBUG - VM ctest-TestBasicVMVNx-07642148-26265926 launched on Node cn-jenkins-deploy-platform-ansible-os-4091-1
2025-09-11 12:08:49,698 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/536b2fa4-a658-4a94-ae38-2e0c5cbaf6f7
2025-09-11 12:08:49,991 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/536b2fa4-a658-4a94-ae38-2e0c5cbaf6f7
2025-09-11 12:08:50,024 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/6309ef2b-0f24-424d-81e3-db18365a4461
2025-09-11 12:08:53,265 - 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 1003ms')
2025-09-11 12:08:53,266 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-07642148-26265926 failed!
2025-09-11 12:08:53,323 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-07642148:ctest-vn-06705444 is 77.201.183.193 and allocation pool is NOT set
2025-09-11 12:08:55,394 - 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.27 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.04 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.037/2.655/4.273/1.618 ms')
2025-09-11 12:08:55,394 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-07642148-26265926 passed
2025-09-11 12:08:55,548 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-11 12:08:55,548 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-07642148-26265926, IP 77.201.183.195, Port 22
2025-09-11 12:08:55,703 - DEBUG - VM ctest-TestBasicVMVNx-07642148-26265926 is ready for SSH connections
2025-09-11 12:08:55,703 - INFO - Waiting for VM ctest-TestBasicVMVNx-07642148-87250552 to be up..
2025-09-11 12:08:55,775 - DEBUG - VM is in ACTIVE state now
2025-09-11 12:08:55,775 - INFO - VM name : ctest-TestBasicVMVNx-07642148-87250552
2025-09-11 12:08:55,849 - DEBUG - VM ctest-TestBasicVMVNx-07642148-87250552 ID is 7e98b9b1-eeae-4d29-ae71-2fab78d04bc9
2025-09-11 12:08:55,849 - DEBUG - VM ctest-TestBasicVMVNx-07642148-87250552 launched on Node cn-jenkins-deploy-platform-ansible-os-4091-1
2025-09-11 12:08:55,925 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/7e98b9b1-eeae-4d29-ae71-2fab78d04bc9
2025-09-11 12:08:55,933 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/47c70126-3f8b-462b-9b03-ec7d183a1100
2025-09-11 12:08:57,174 - 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.95 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.404 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.404/1.677/2.950/1.273 ms')
2025-09-11 12:08:57,174 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-07642148-87250552 passed
2025-09-11 12:08:57,327 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-11 12:08:57,327 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-07642148-87250552, IP 77.201.183.196, Port 22
2025-09-11 12:08:57,482 - DEBUG - VM ctest-TestBasicVMVNx-07642148-87250552 is ready for SSH connections
2025-09-11 12:08:57,483 - DEBUG - FILE SIZE = 1303B
2025-09-11 12:08:57,483 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-07642148-26265926 to ctest-TestBasicVMVNx-07642148-87250552 using scp
2025-09-11 12:08:57,484 - 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.22, gateway password: c0ntrail123
2025-09-11 12:08:57,484 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-09-11 12:08:59,412 - DEBUG - 1+0 records in
1+0 records out
2025-09-11 12:09:00,052 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-11 12:09:00,402 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-09-11 12:09:00,402 - DEBUG - ls -l testfile
2025-09-11 12:09:02,013 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 11 06:08 [0;0mtestfile[0m
2025-09-11 12:09:02,013 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-07642148-87250552
2025-09-11 12:09:02,014 - INFO - Deleting VM ctest-TestBasicVMVNx-07642148-87250552
2025-09-11 12:09:02,093 - INFO - Deleting VM ctest-TestBasicVMVNx-07642148-26265926
2025-09-11 12:09:02,161 - INFO - Deleting VN ctest-vn-06705444
2025-09-11 12:09:02,200 - DEBUG - VN cf13b3bf-69ae-484f-8f1e-6bfc75a0afdb still in use: Unable to complete operation on network cf13b3bf-69ae-484f-8f1e-6bfc75a0afdb. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-9da7cb94-b753-423e-b900-fad9ce392f78']
2025-09-11 12:09:02,201 - WARNING - Deleting VN ctest-vn-06705444 failed..Will retry
2025-09-11 12:09:04,319 - DEBUG - Response for deleting network ()
2025-09-11 12:09:04,582 - DEBUG - No XMPP flaps were noticed during the test
2025-09-11 12:09:04,582 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-09-11 12:09:04,582 - INFO - --------------------------------------------------------------------------------
2025-09-11 12:09:05,282 - INFO - Deleted project: ctest-TestBasicVMVNx-07642148, ID : d09eb799-9e13-4809-9d7f-8407c2b00172