2025-04-16 21:37:36,251 - INFO - Domain Default found not creating 2025-04-16 21:37:36,448 - INFO - Project ctest-TestBasicVMVNx-22933540 not found, creating it 2025-04-16 21:37:36,964 - INFO - Created Project:ctest-TestBasicVMVNx-22933540, ID : 0cb78540-95db-4220-98f2-5c1f2590267b 2025-04-16 21:37:38,521 - INFO - ================================================================================ 2025-04-16 21:37:38,521 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-04-16 21:37:38,521 - 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-04-16 21:37:38,782 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-04-16 21:37:38,782 - INFO - Initial checks done. Running the testcase now 2025-04-16 21:37:38,782 - INFO - 2025-04-16 21:37:39,380 - DEBUG - Response for create_network : {'network': {'id': 'd8dedfa5-3781-436a-b417-662cb254cfc9', 'name': 'ctest-vn-64267665', 'tenant_id': '0cb7854095db422098f25c1f2590267b', 'project_id': '0cb7854095db422098f25c1f2590267b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-22933540', 'ctest-vn-64267665'], 'port_security_enabled': True, 'description': ''}} 2025-04-16 21:37:39,566 - DEBUG - Response for create_subnet : {'subnet': {'id': '455f3691-e6f6-4668-a99a-a6dc1eabe2be', 'name': '', 'tenant_id': '0cb7854095db422098f25c1f2590267b', 'network_id': 'd8dedfa5-3781-436a-b417-662cb254cfc9', 'ip_version': 4, 'cidr': '150.201.187.192/26', 'allocation_pools': [{'start': '150.201.187.194', 'end': '150.201.187.254'}], 'gateway_ip': '150.201.187.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '150.201.187.194', 'tags': [], 'project_id': '0cb7854095db422098f25c1f2590267b'}} 2025-04-16 21:37:39,589 - INFO - Created VN ctest-vn-64267665 2025-04-16 21:37:39,643 - DEBUG - VN ctest-vn-64267665 UUID is d8dedfa5-3781-436a-b417-662cb254cfc9 2025-04-16 21:37:39,838 - DEBUG - Services list from nova: [, , ] 2025-04-16 21:37:41,236 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3126-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3126-1) 2025-04-16 21:37:42,546 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3126-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3126-1) 2025-04-16 21:37:42,546 - INFO - Waiting for VM ctest-TestBasicVMVNx-22933540-22163975 to be up.. 2025-04-16 21:37:42,646 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-16 21:37:47,758 - DEBUG - VM is in ACTIVE state now 2025-04-16 21:37:47,758 - INFO - VM name : ctest-TestBasicVMVNx-22933540-22163975 2025-04-16 21:37:47,867 - DEBUG - VM ctest-TestBasicVMVNx-22933540-22163975 ID is 5425b93e-16f9-4475-9a0d-1084e701e4a5 2025-04-16 21:37:47,892 - DEBUG - VM ctest-TestBasicVMVNx-22933540-22163975 launched on Node cn-jenkins-deploy-platform-ansible-os-3126-1 2025-04-16 21:37:47,993 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/5425b93e-16f9-4475-9a0d-1084e701e4a5 2025-04-16 21:37:48,325 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/5425b93e-16f9-4475-9a0d-1084e701e4a5 2025-04-16 21:37:48,362 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/8c92cd55-9482-46bf-ba29-39ea8ff95a47 2025-04-16 21:37:51,623 - 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 1014ms') 2025-04-16 21:37:51,623 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-22933540-22163975 failed! 2025-04-16 21:37:51,682 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-22933540:ctest-vn-64267665 is 150.201.187.193 and allocation pool is NOT set 2025-04-16 21:37:53,752 - 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.22 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.687 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.687/2.453/4.219/1.766 ms') 2025-04-16 21:37:53,752 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-22933540-22163975 passed 2025-04-16 21:37:53,910 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-16 21:37:53,911 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-22933540-22163975, IP 150.201.187.195, Port 22 2025-04-16 21:37:53,977 - 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-04-16 21:37:54,106 - DEBUG - VM ctest-TestBasicVMVNx-22933540-22163975 is NOT ready for SSH connections, VM status: ACTIVE 2025-04-16 21:37:59,107 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-16 21:37:59,107 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-22933540-22163975, IP 150.201.187.195, Port 22 2025-04-16 21:37:59,288 - DEBUG - VM ctest-TestBasicVMVNx-22933540-22163975 is ready for SSH connections 2025-04-16 21:37:59,288 - INFO - Waiting for VM ctest-TestBasicVMVNx-22933540-39053084 to be up.. 2025-04-16 21:37:59,377 - DEBUG - VM is in ACTIVE state now 2025-04-16 21:37:59,377 - INFO - VM name : ctest-TestBasicVMVNx-22933540-39053084 2025-04-16 21:37:59,458 - DEBUG - VM ctest-TestBasicVMVNx-22933540-39053084 ID is 9595063b-3a62-43e7-b13a-5fcfe49e5d32 2025-04-16 21:37:59,458 - DEBUG - VM ctest-TestBasicVMVNx-22933540-39053084 launched on Node cn-jenkins-deploy-platform-ansible-os-3126-1 2025-04-16 21:37:59,546 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/9595063b-3a62-43e7-b13a-5fcfe49e5d32 2025-04-16 21:37:59,557 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/6db53e92-24ca-4abc-a56a-a7e0ac7ddcfe 2025-04-16 21:38:00,814 - 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.31 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.477 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.477/1.894/3.312/1.417 ms') 2025-04-16 21:38:00,814 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-22933540-39053084 passed 2025-04-16 21:38:00,975 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-16 21:38:00,975 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-22933540-39053084, IP 150.201.187.196, Port 22 2025-04-16 21:38:01,142 - DEBUG - VM ctest-TestBasicVMVNx-22933540-39053084 is ready for SSH connections 2025-04-16 21:38:01,142 - DEBUG - FILE SIZE = 1303B 2025-04-16 21:38:01,142 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-22933540-22163975 to ctest-TestBasicVMVNx-22933540-39053084 using scp 2025-04-16 21:38:01,143 - 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.38, gateway password: c0ntrail123 2025-04-16 21:38:01,143 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-04-16 21:38:03,152 - DEBUG - 1+0 records in 1+0 records out 2025-04-16 21:38:03,960 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-16 21:38:04,301 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-04-16 21:38:04,302 - DEBUG - ls -l testfile 2025-04-16 21:38:05,921 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 16 15:38 testfile 2025-04-16 21:38:05,921 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-22933540-39053084 2025-04-16 21:38:05,921 - INFO - Deleting VM ctest-TestBasicVMVNx-22933540-39053084 2025-04-16 21:38:06,133 - INFO - Deleting VM ctest-TestBasicVMVNx-22933540-22163975 2025-04-16 21:38:06,211 - INFO - Deleting VN ctest-vn-64267665 2025-04-16 21:38:06,256 - DEBUG - VN d8dedfa5-3781-436a-b417-662cb254cfc9 still in use: Unable to complete operation on network d8dedfa5-3781-436a-b417-662cb254cfc9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6e771710-f980-40ef-a36f-0130ad3fa331'] 2025-04-16 21:38:06,256 - WARNING - Deleting VN ctest-vn-64267665 failed..Will retry 2025-04-16 21:38:08,454 - DEBUG - Response for deleting network () 2025-04-16 21:38:08,720 - DEBUG - No XMPP flaps were noticed during the test
2025-04-16 21:38:08,720 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:30]
2025-04-16 21:38:08,720 - INFO - -------------------------------------------------------------------------------- 2025-04-16 21:38:09,476 - INFO - Deleted project: ctest-TestBasicVMVNx-22933540, ID : 0cb78540-95db-4220-98f2-5c1f2590267b