2025-11-17 17:32:01,579 - INFO - Domain Default found not creating 2025-11-17 17:32:01,876 - INFO - Project ctest-TestBasicVMVNx-19749747 not found, creating it 2025-11-17 17:32:02,489 - INFO - Created Project:ctest-TestBasicVMVNx-19749747, ID : 02a101ae-a315-4b30-af1a-c560dc106415 2025-11-17 17:32:04,845 - INFO - ================================================================================ 2025-11-17 17:32:04,845 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-11-17 17:32:04,845 - 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-11-17 17:32:05,180 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-11-17 17:32:05,180 - INFO - Initial checks done. Running the testcase now 2025-11-17 17:32:05,180 - INFO - 2025-11-17 17:32:05,961 - DEBUG - Response for create_network : {'network': {'id': 'b4d11677-b102-41ab-addc-66e90e69577b', 'name': 'ctest-vn-98839510', 'tenant_id': '02a101aea3154b30af1ac560dc106415', 'project_id': '02a101aea3154b30af1ac560dc106415', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-19749747', 'ctest-vn-98839510'], 'port_security_enabled': True, 'description': ''}} 2025-11-17 17:32:06,236 - DEBUG - Response for create_subnet : {'subnet': {'id': '188b25fc-b03b-425b-9368-d243aa0a1633', 'name': '', 'tenant_id': '02a101aea3154b30af1ac560dc106415', 'network_id': 'b4d11677-b102-41ab-addc-66e90e69577b', 'ip_version': 4, 'cidr': '149.23.162.64/26', 'allocation_pools': [{'start': '149.23.162.66', 'end': '149.23.162.126'}], 'gateway_ip': '149.23.162.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '149.23.162.66', 'tags': [], 'project_id': '02a101aea3154b30af1ac560dc106415'}} 2025-11-17 17:32:06,269 - INFO - Created VN ctest-vn-98839510 2025-11-17 17:32:06,339 - DEBUG - VN ctest-vn-98839510 UUID is b4d11677-b102-41ab-addc-66e90e69577b 2025-11-17 17:32:06,600 - DEBUG - Services list from nova: [, , ] 2025-11-17 17:32:08,111 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4743-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4743-1) 2025-11-17 17:32:09,484 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4743-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4743-1) 2025-11-17 17:32:09,484 - INFO - Waiting for VM ctest-TestBasicVMVNx-19749747-11559805 to be up.. 2025-11-17 17:32:09,564 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-17 17:32:14,773 - DEBUG - VM is in ACTIVE state now 2025-11-17 17:32:14,773 - INFO - VM name : ctest-TestBasicVMVNx-19749747-11559805 2025-11-17 17:32:14,935 - DEBUG - VM ctest-TestBasicVMVNx-19749747-11559805 ID is 25556cf0-bf88-40a1-b766-89a2aafa4e67 2025-11-17 17:32:14,973 - DEBUG - VM ctest-TestBasicVMVNx-19749747-11559805 launched on Node cn-jenkins-deploy-platform-ansible-os-4743-1 2025-11-17 17:32:15,170 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/25556cf0-bf88-40a1-b766-89a2aafa4e67 2025-11-17 17:32:15,480 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/25556cf0-bf88-40a1-b766-89a2aafa4e67 2025-11-17 17:32:15,540 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/cccaf5db-9e94-468b-9ac9-2e7410df06de 2025-11-17 17:32:18,830 - 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-11-17 17:32:18,830 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-19749747-11559805 failed! 2025-11-17 17:32:18,899 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-19749747:ctest-vn-98839510 is 149.23.162.65 and allocation pool is NOT set 2025-11-17 17:32:20,980 - 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.77 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.16 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 = 3.155/3.462/3.770/0.307 ms') 2025-11-17 17:32:20,980 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-19749747-11559805 passed 2025-11-17 17:32:21,159 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 17:32:21,160 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-19749747-11559805, IP 149.23.162.67, Port 22 2025-11-17 17:32:21,240 - 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-11-17 17:32:21,407 - DEBUG - VM ctest-TestBasicVMVNx-19749747-11559805 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-17 17:32:26,408 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 17:32:26,408 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-19749747-11559805, IP 149.23.162.67, Port 22 2025-11-17 17:32:26,621 - DEBUG - VM ctest-TestBasicVMVNx-19749747-11559805 is ready for SSH connections 2025-11-17 17:32:26,621 - INFO - Waiting for VM ctest-TestBasicVMVNx-19749747-10663636 to be up.. 2025-11-17 17:32:26,772 - DEBUG - VM is in ACTIVE state now 2025-11-17 17:32:26,772 - INFO - VM name : ctest-TestBasicVMVNx-19749747-10663636 2025-11-17 17:32:26,888 - DEBUG - VM ctest-TestBasicVMVNx-19749747-10663636 ID is 65371f8d-83b2-4904-b179-335f9cdb7c26 2025-11-17 17:32:26,888 - DEBUG - VM ctest-TestBasicVMVNx-19749747-10663636 launched on Node cn-jenkins-deploy-platform-ansible-os-4743-1 2025-11-17 17:32:26,979 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/65371f8d-83b2-4904-b179-335f9cdb7c26 2025-11-17 17:32:26,988 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/98bc499d-b15f-42b6-88c3-439f8431f9b9 2025-11-17 17:32:28,241 - 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.94 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.552 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.552/2.247/3.943/1.695 ms') 2025-11-17 17:32:28,241 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-19749747-10663636 passed 2025-11-17 17:32:28,411 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 17:32:28,411 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-19749747-10663636, IP 149.23.162.68, Port 22 2025-11-17 17:32:28,589 - DEBUG - VM ctest-TestBasicVMVNx-19749747-10663636 is ready for SSH connections 2025-11-17 17:32:28,589 - DEBUG - FILE SIZE = 1303B 2025-11-17 17:32:28,589 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-19749747-11559805 to ctest-TestBasicVMVNx-19749747-10663636 using scp 2025-11-17 17:32:28,591 - 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.33, gateway password: c0ntrail123 2025-11-17 17:32:28,591 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-11-17 17:32:30,938 - DEBUG - 1+0 records in 1+0 records out 2025-11-17 17:32:31,455 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 17:32:31,915 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-17 17:32:31,915 - DEBUG - ls -l testfile 2025-11-17 17:32:33,815 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 17 10:32 testfile 2025-11-17 17:32:33,815 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-19749747-10663636 2025-11-17 17:32:33,816 - INFO - Deleting VM ctest-TestBasicVMVNx-19749747-10663636 2025-11-17 17:32:33,994 - INFO - Deleting VM ctest-TestBasicVMVNx-19749747-11559805 2025-11-17 17:32:34,095 - INFO - Deleting VN ctest-vn-98839510 2025-11-17 17:32:34,170 - DEBUG - VN b4d11677-b102-41ab-addc-66e90e69577b still in use: Unable to complete operation on network b4d11677-b102-41ab-addc-66e90e69577b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7af61d34-0202-4e03-99ab-a4f28dc55b34'] 2025-11-17 17:32:34,170 - WARNING - Deleting VN ctest-vn-98839510 failed..Will retry 2025-11-17 17:32:36,371 - DEBUG - Response for deleting network () 2025-11-17 17:32:36,691 - DEBUG - No XMPP flaps were noticed during the test 2025-11-17 17:32:36,692 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:32] 2025-11-17 17:32:36,692 - INFO - -------------------------------------------------------------------------------- 2025-11-17 17:32:37,637 - INFO - Deleted project: ctest-TestBasicVMVNx-19749747, ID : 02a101ae-a315-4b30-af1a-c560dc106415