2025-04-15 01:29:21,382 - INFO - Domain Default found not creating 2025-04-15 01:29:21,539 - INFO - Project ctest-TestBasicVMVNx-72304708 not found, creating it 2025-04-15 01:29:21,988 - INFO - Created Project:ctest-TestBasicVMVNx-72304708, ID : b5c7ab5d-f185-45e5-9cbd-b7a01b5d4603 2025-04-15 01:29:23,587 - INFO - ================================================================================ 2025-04-15 01:29:23,587 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-04-15 01:29:23,587 - 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-15 01:29:23,844 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0'}} with 2025-04-15 01:29:23,844 - INFO - Initial checks done. Running the testcase now 2025-04-15 01:29:23,844 - INFO - 2025-04-15 01:29:24,446 - DEBUG - Response for create_network : {'network': {'id': '008a484d-0518-4256-9eba-180205fa3f51', 'name': 'ctest-vn-32942070', 'tenant_id': 'b5c7ab5df18545e59cbdb7a01b5d4603', 'project_id': 'b5c7ab5df18545e59cbdb7a01b5d4603', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-72304708', 'ctest-vn-32942070'], 'port_security_enabled': True, 'description': ''}} 2025-04-15 01:29:24,680 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c75658cd-1744-49a2-a017-35d768309565', 'name': '', 'tenant_id': 'b5c7ab5df18545e59cbdb7a01b5d4603', 'network_id': '008a484d-0518-4256-9eba-180205fa3f51', 'ip_version': 4, 'cidr': '82.71.125.128/26', 'allocation_pools': [{'start': '82.71.125.130', 'end': '82.71.125.190'}], 'gateway_ip': '82.71.125.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '82.71.125.130', 'tags': [], 'project_id': 'b5c7ab5df18545e59cbdb7a01b5d4603'}} 2025-04-15 01:29:24,700 - INFO - Created VN ctest-vn-32942070 2025-04-15 01:29:24,753 - DEBUG - VN ctest-vn-32942070 UUID is 008a484d-0518-4256-9eba-180205fa3f51 2025-04-15 01:29:24,925 - DEBUG - Services list from nova: [, , ] 2025-04-15 01:29:26,053 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3112-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3112-1) 2025-04-15 01:29:27,341 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3112-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3112-1) 2025-04-15 01:29:27,341 - INFO - Waiting for VM ctest-TestBasicVMVNx-72304708-82961409 to be up.. 2025-04-15 01:29:27,444 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-15 01:29:32,531 - DEBUG - VM is in ACTIVE state now 2025-04-15 01:29:32,531 - INFO - VM name : ctest-TestBasicVMVNx-72304708-82961409 2025-04-15 01:29:32,612 - DEBUG - VM ctest-TestBasicVMVNx-72304708-82961409 ID is c7080445-35ad-4e4d-9933-c08edfde19d8 2025-04-15 01:29:32,633 - DEBUG - VM ctest-TestBasicVMVNx-72304708-82961409 launched on Node cn-jenkins-deploy-platform-ansible-os-3112-1 2025-04-15 01:29:32,712 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/c7080445-35ad-4e4d-9933-c08edfde19d8 2025-04-15 01:29:33,049 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/c7080445-35ad-4e4d-9933-c08edfde19d8 2025-04-15 01:29:33,082 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/0c686f7c-cd80-44c0-be2c-ddabf5d73439 2025-04-15 01:29:36,337 - 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 1018ms') 2025-04-15 01:29:36,337 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-72304708-82961409 failed! 2025-04-15 01:29:36,393 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-72304708:ctest-vn-32942070 is 82.71.125.129 and allocation pool is NOT set 2025-04-15 01:29:38,457 - 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.20 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.747 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.747/1.975/3.203/1.228 ms') 2025-04-15 01:29:38,457 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-72304708-82961409 passed 2025-04-15 01:29:38,605 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-15 01:29:38,605 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-72304708-82961409, IP 82.71.125.131, Port 22 2025-04-15 01:29:38,765 - DEBUG - VM ctest-TestBasicVMVNx-72304708-82961409 is ready for SSH connections 2025-04-15 01:29:38,765 - INFO - Waiting for VM ctest-TestBasicVMVNx-72304708-39084512 to be up.. 2025-04-15 01:29:38,861 - DEBUG - VM is in ACTIVE state now 2025-04-15 01:29:38,861 - INFO - VM name : ctest-TestBasicVMVNx-72304708-39084512 2025-04-15 01:29:38,956 - DEBUG - VM ctest-TestBasicVMVNx-72304708-39084512 ID is 1647e612-8ded-4edb-86ac-3180aa75e3e2 2025-04-15 01:29:38,957 - DEBUG - VM ctest-TestBasicVMVNx-72304708-39084512 launched on Node cn-jenkins-deploy-platform-ansible-os-3112-1 2025-04-15 01:29:39,053 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/1647e612-8ded-4edb-86ac-3180aa75e3e2 2025-04-15 01:29:39,062 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/31d6c765-3862-43af-a66c-e7b1fbeb2e55 2025-04-15 01:29:40,308 - 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=5.30 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.86 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 = 1.859/3.578/5.297/1.719 ms') 2025-04-15 01:29:40,308 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-72304708-39084512 passed 2025-04-15 01:29:40,457 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-15 01:29:40,457 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-72304708-39084512, IP 82.71.125.132, Port 22 2025-04-15 01:29:40,523 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-04-15 01:29:40,608 - DEBUG - VM ctest-TestBasicVMVNx-72304708-39084512 is NOT ready for SSH connections, VM status: ACTIVE 2025-04-15 01:29:45,609 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-15 01:29:45,609 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-72304708-39084512, IP 82.71.125.132, Port 22 2025-04-15 01:29:45,765 - DEBUG - VM ctest-TestBasicVMVNx-72304708-39084512 is ready for SSH connections 2025-04-15 01:29:45,765 - DEBUG - FILE SIZE = 1303B 2025-04-15 01:29:45,765 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-72304708-82961409 to ctest-TestBasicVMVNx-72304708-39084512 using scp 2025-04-15 01:29:45,766 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-15 01:29:45,771 - 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.65, gateway password: c0ntrail123 2025-04-15 01:29:45,771 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-04-15 01:29:47,769 - DEBUG - 1+0 records in 1+0 records out 2025-04-15 01:29:48,433 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-15 01:29:48,779 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-04-15 01:29:48,779 - DEBUG - ls -l testfile 2025-04-15 01:29:50,383 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 14 19:29 testfile 2025-04-15 01:29:50,383 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-72304708-39084512 2025-04-15 01:29:50,383 - INFO - Deleting VM ctest-TestBasicVMVNx-72304708-39084512 2025-04-15 01:29:50,454 - INFO - Deleting VM ctest-TestBasicVMVNx-72304708-82961409 2025-04-15 01:29:50,525 - INFO - Deleting VN ctest-vn-32942070 2025-04-15 01:29:50,563 - DEBUG - VN 008a484d-0518-4256-9eba-180205fa3f51 still in use: Unable to complete operation on network 008a484d-0518-4256-9eba-180205fa3f51. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5b0dc9bc-f643-43bf-8009-bacfaf34f4b3'] 2025-04-15 01:29:50,564 - WARNING - Deleting VN ctest-vn-32942070 failed..Will retry 2025-04-15 01:29:52,698 - DEBUG - Response for deleting network () 2025-04-15 01:29:52,956 - DEBUG - No XMPP flaps were noticed during the test 2025-04-15 01:29:52,956 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:29] 2025-04-15 01:29:52,957 - INFO - -------------------------------------------------------------------------------- 2025-04-15 01:29:53,706 - INFO - Deleted project: ctest-TestBasicVMVNx-72304708, ID : b5c7ab5d-f185-45e5-9cbd-b7a01b5d4603