2025-10-23 19:09:21,998 - INFO - Domain Default found not creating 2025-10-23 19:09:22,140 - INFO - Project ctest-TestBasicVMVNx-12045873 not found, creating it 2025-10-23 19:09:22,594 - INFO - Created Project:ctest-TestBasicVMVNx-12045873, ID : ee0858e4-74a7-4568-8c14-1ae2a4deff0a 2025-10-23 19:09:24,138 - INFO - ================================================================================ 2025-10-23 19:09:24,138 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-10-23 19:09:24,138 - 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-10-23 19:09:24,390 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-10-23 19:09:24,390 - INFO - Initial checks done. Running the testcase now 2025-10-23 19:09:24,390 - INFO - 2025-10-23 19:09:24,932 - DEBUG - Response for create_network : {'network': {'id': '915335c7-5164-44b8-a040-6eb39b2e6edc', 'name': 'ctest-vn-16018991', 'tenant_id': 'ee0858e474a745688c141ae2a4deff0a', 'project_id': 'ee0858e474a745688c141ae2a4deff0a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-12045873', 'ctest-vn-16018991'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 19:09:25,153 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ec35133c-ffb6-40b9-b267-98ae98c8ea18', 'name': '', 'tenant_id': 'ee0858e474a745688c141ae2a4deff0a', 'network_id': '915335c7-5164-44b8-a040-6eb39b2e6edc', 'ip_version': 4, 'cidr': '178.176.133.64/26', 'allocation_pools': [{'start': '178.176.133.66', 'end': '178.176.133.126'}], 'gateway_ip': '178.176.133.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '178.176.133.66', 'tags': [], 'project_id': 'ee0858e474a745688c141ae2a4deff0a'}} 2025-10-23 19:09:25,170 - INFO - Created VN ctest-vn-16018991 2025-10-23 19:09:25,221 - DEBUG - VN ctest-vn-16018991 UUID is 915335c7-5164-44b8-a040-6eb39b2e6edc 2025-10-23 19:09:25,389 - DEBUG - Services list from nova: [, , ] 2025-10-23 19:09:26,470 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4465-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4465-1) 2025-10-23 19:09:27,623 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4465-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4465-1) 2025-10-23 19:09:27,623 - INFO - Waiting for VM ctest-TestBasicVMVNx-12045873-26194646 to be up.. 2025-10-23 19:09:27,692 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-23 19:09:32,765 - DEBUG - VM is in ACTIVE state now 2025-10-23 19:09:32,765 - INFO - VM name : ctest-TestBasicVMVNx-12045873-26194646 2025-10-23 19:09:32,832 - DEBUG - VM ctest-TestBasicVMVNx-12045873-26194646 ID is 5d005aee-6dce-476e-a62c-a63ca68a9857 2025-10-23 19:09:32,850 - DEBUG - VM ctest-TestBasicVMVNx-12045873-26194646 launched on Node cn-jenkins-deploy-platform-ansible-os-4465-1 2025-10-23 19:09:32,920 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/5d005aee-6dce-476e-a62c-a63ca68a9857 2025-10-23 19:09:33,219 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/5d005aee-6dce-476e-a62c-a63ca68a9857 2025-10-23 19:09:33,248 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/9e7e50fb-1b62-42b6-b197-db5786fa6004 2025-10-23 19:09:36,497 - 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 1019ms') 2025-10-23 19:09:36,497 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-12045873-26194646 failed! 2025-10-23 19:09:36,558 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-12045873:ctest-vn-16018991 is 178.176.133.65 and allocation pool is NOT set 2025-10-23 19:09:38,616 - 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.40 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.46 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.459/2.929/4.400/1.470 ms') 2025-10-23 19:09:38,616 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-12045873-26194646 passed 2025-10-23 19:09:38,766 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 19:09:38,766 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-12045873-26194646, IP 178.176.133.67, Port 22 2025-10-23 19:09:38,831 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-10-23 19:09:38,918 - DEBUG - VM ctest-TestBasicVMVNx-12045873-26194646 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-23 19:09:43,919 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 19:09:43,919 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-12045873-26194646, IP 178.176.133.67, Port 22 2025-10-23 19:09:44,077 - DEBUG - VM ctest-TestBasicVMVNx-12045873-26194646 is ready for SSH connections 2025-10-23 19:09:44,077 - INFO - Waiting for VM ctest-TestBasicVMVNx-12045873-11050313 to be up.. 2025-10-23 19:09:44,153 - DEBUG - VM is in ACTIVE state now 2025-10-23 19:09:44,153 - INFO - VM name : ctest-TestBasicVMVNx-12045873-11050313 2025-10-23 19:09:44,228 - DEBUG - VM ctest-TestBasicVMVNx-12045873-11050313 ID is 67164eb9-68c6-4833-8337-52d2aac1ad18 2025-10-23 19:09:44,228 - DEBUG - VM ctest-TestBasicVMVNx-12045873-11050313 launched on Node cn-jenkins-deploy-platform-ansible-os-4465-1 2025-10-23 19:09:44,301 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/67164eb9-68c6-4833-8337-52d2aac1ad18 2025-10-23 19:09:44,309 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/be871756-e02f-4c72-aaf6-6e98f5ae0b6e 2025-10-23 19:09:45,548 - 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.20 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.450 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.450/1.826/3.202/1.376 ms') 2025-10-23 19:09:45,548 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-12045873-11050313 passed 2025-10-23 19:09:45,702 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 19:09:45,702 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-12045873-11050313, IP 178.176.133.68, Port 22 2025-10-23 19:09:45,857 - DEBUG - VM ctest-TestBasicVMVNx-12045873-11050313 is ready for SSH connections 2025-10-23 19:09:45,857 - DEBUG - FILE SIZE = 1303B 2025-10-23 19:09:45,857 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-12045873-26194646 to ctest-TestBasicVMVNx-12045873-11050313 using scp 2025-10-23 19:09:45,858 - 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.254, gateway password: c0ntrail123 2025-10-23 19:09:45,858 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-10-23 19:09:47,776 - DEBUG - 1+0 records in 1+0 records out 2025-10-23 19:09:48,454 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 19:09:48,779 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-23 19:09:48,779 - DEBUG - ls -l testfile 2025-10-23 19:09:50,362 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 23 13:09 testfile 2025-10-23 19:09:50,363 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-12045873-11050313 2025-10-23 19:09:50,363 - INFO - Deleting VM ctest-TestBasicVMVNx-12045873-11050313 2025-10-23 19:09:50,432 - INFO - Deleting VM ctest-TestBasicVMVNx-12045873-26194646 2025-10-23 19:09:50,504 - INFO - Deleting VN ctest-vn-16018991 2025-10-23 19:09:50,542 - DEBUG - VN 915335c7-5164-44b8-a040-6eb39b2e6edc still in use: Unable to complete operation on network 915335c7-5164-44b8-a040-6eb39b2e6edc. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-65ee8867-bf75-4518-a84e-435fb42f7ee7'] 2025-10-23 19:09:50,542 - WARNING - Deleting VN ctest-vn-16018991 failed..Will retry 2025-10-23 19:09:52,637 - DEBUG - Response for deleting network () 2025-10-23 19:09:52,894 - DEBUG - No XMPP flaps were noticed during the test
2025-10-23 19:09:52,894 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:28]
2025-10-23 19:09:52,894 - INFO - -------------------------------------------------------------------------------- 2025-10-23 19:09:53,576 - INFO - Deleted project: ctest-TestBasicVMVNx-12045873, ID : ee0858e4-74a7-4568-8c14-1ae2a4deff0a