2025-07-22 14:26:46,958 - INFO - Domain Default found not creating 2025-07-22 14:26:47,132 - INFO - Project ctest-TestBasicVMVNx-08237219 not found, creating it 2025-07-22 14:26:47,614 - INFO - Created Project:ctest-TestBasicVMVNx-08237219, ID : ba944b0b-0629-4e54-8e34-a71b5e1ae0c2 2025-07-22 14:26:49,074 - INFO - ================================================================================ 2025-07-22 14:26:49,074 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-07-22 14:26:49,074 - 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-07-22 14:26:49,337 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-07-22 14:26:49,337 - INFO - Initial checks done. Running the testcase now 2025-07-22 14:26:49,337 - INFO - 2025-07-22 14:26:49,918 - DEBUG - Response for create_network : {'network': {'id': 'd3001abc-9ec6-43eb-9505-c887d52edd49', 'name': 'ctest-vn-59418930', 'tenant_id': 'ba944b0b06294e548e34a71b5e1ae0c2', 'project_id': 'ba944b0b06294e548e34a71b5e1ae0c2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-08237219', 'ctest-vn-59418930'], 'port_security_enabled': True, 'description': ''}} 2025-07-22 14:26:50,131 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a13ddbbb-6158-4022-8a01-2f4d61fef7f5', 'name': '', 'tenant_id': 'ba944b0b06294e548e34a71b5e1ae0c2', 'network_id': 'd3001abc-9ec6-43eb-9505-c887d52edd49', 'ip_version': 4, 'cidr': '181.161.119.0/26', 'allocation_pools': [{'start': '181.161.119.2', 'end': '181.161.119.62'}], 'gateway_ip': '181.161.119.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '181.161.119.2', 'tags': [], 'project_id': 'ba944b0b06294e548e34a71b5e1ae0c2'}} 2025-07-22 14:26:50,151 - INFO - Created VN ctest-vn-59418930 2025-07-22 14:26:50,208 - DEBUG - VN ctest-vn-59418930 UUID is d3001abc-9ec6-43eb-9505-c887d52edd49 2025-07-22 14:26:50,378 - DEBUG - Services list from nova: [, , ] 2025-07-22 14:26:51,440 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3692-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3692-1) 2025-07-22 14:26:52,590 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3692-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3692-1) 2025-07-22 14:26:52,591 - INFO - Waiting for VM ctest-TestBasicVMVNx-08237219-02861234 to be up.. 2025-07-22 14:26:52,676 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-22 14:26:57,767 - DEBUG - VM is in ACTIVE state now 2025-07-22 14:26:57,768 - INFO - VM name : ctest-TestBasicVMVNx-08237219-02861234 2025-07-22 14:26:57,849 - DEBUG - VM ctest-TestBasicVMVNx-08237219-02861234 ID is 8d840198-3266-496b-9d1f-6876a781eba0 2025-07-22 14:26:57,886 - DEBUG - VM ctest-TestBasicVMVNx-08237219-02861234 launched on Node cn-jenkins-deploy-platform-ansible-os-3692-1 2025-07-22 14:26:57,968 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/8d840198-3266-496b-9d1f-6876a781eba0 2025-07-22 14:26:58,275 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/8d840198-3266-496b-9d1f-6876a781eba0 2025-07-22 14:26:58,311 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/fc3d3dac-77d1-4772-a03f-1c602f04ceb5 2025-07-22 14:27:01,569 - 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-07-22 14:27:01,569 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-08237219-02861234 failed! 2025-07-22 14:27:01,624 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-08237219:ctest-vn-59418930 is 181.161.119.1 and allocation pool is NOT set 2025-07-22 14:27:03,690 - 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.41 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.03 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.034/3.222/3.411/0.188 ms') 2025-07-22 14:27:03,690 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-08237219-02861234 passed 2025-07-22 14:27:03,848 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 14:27:03,849 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-08237219-02861234, IP 181.161.119.3, Port 22 2025-07-22 14:27:03,915 - 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-07-22 14:27:03,994 - DEBUG - VM ctest-TestBasicVMVNx-08237219-02861234 is NOT ready for SSH connections, VM status: ACTIVE 2025-07-22 14:27:08,995 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 14:27:08,995 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-08237219-02861234, IP 181.161.119.3, Port 22 2025-07-22 14:27:09,156 - DEBUG - VM ctest-TestBasicVMVNx-08237219-02861234 is ready for SSH connections 2025-07-22 14:27:09,156 - INFO - Waiting for VM ctest-TestBasicVMVNx-08237219-46184133 to be up.. 2025-07-22 14:27:09,242 - DEBUG - VM is in ACTIVE state now 2025-07-22 14:27:09,242 - INFO - VM name : ctest-TestBasicVMVNx-08237219-46184133 2025-07-22 14:27:09,328 - DEBUG - VM ctest-TestBasicVMVNx-08237219-46184133 ID is cbed6220-68ea-439b-ab55-fecb2639870c 2025-07-22 14:27:09,328 - DEBUG - VM ctest-TestBasicVMVNx-08237219-46184133 launched on Node cn-jenkins-deploy-platform-ansible-os-3692-1 2025-07-22 14:27:09,409 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/cbed6220-68ea-439b-ab55-fecb2639870c 2025-07-22 14:27:09,419 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/3e160285-5015-4dfb-9d50-f24c74915918 2025-07-22 14:27:10,677 - 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.17 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.378 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.378/1.771/3.165/1.393 ms') 2025-07-22 14:27:10,677 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-08237219-46184133 passed 2025-07-22 14:27:10,829 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 14:27:10,829 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-08237219-46184133, IP 181.161.119.4, Port 22 2025-07-22 14:27:10,995 - DEBUG - VM ctest-TestBasicVMVNx-08237219-46184133 is ready for SSH connections 2025-07-22 14:27:10,995 - DEBUG - FILE SIZE = 1303B 2025-07-22 14:27:10,995 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-08237219-02861234 to ctest-TestBasicVMVNx-08237219-46184133 using scp 2025-07-22 14:27:10,995 - 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-07-22 14:27:10,996 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-07-22 14:27:12,981 - DEBUG - 1+0 records in 1+0 records out 2025-07-22 14:27:13,643 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 14:27:13,990 - 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-07-22 14:27:13,990 - DEBUG - ls -l testfile 2025-07-22 14:27:15,584 - DEBUG - -rw------- 1 cirros cirros 1303 Jul 22 08:27 testfile 2025-07-22 14:27:15,585 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-08237219-46184133 2025-07-22 14:27:15,585 - INFO - Deleting VM ctest-TestBasicVMVNx-08237219-46184133 2025-07-22 14:27:15,667 - INFO - Deleting VM ctest-TestBasicVMVNx-08237219-02861234 2025-07-22 14:27:15,752 - INFO - Deleting VN ctest-vn-59418930 2025-07-22 14:27:15,791 - DEBUG - VN d3001abc-9ec6-43eb-9505-c887d52edd49 still in use: Unable to complete operation on network d3001abc-9ec6-43eb-9505-c887d52edd49. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-42c80038-62b7-40fb-a0e7-79f844d3b270'] 2025-07-22 14:27:15,791 - WARNING - Deleting VN ctest-vn-59418930 failed..Will retry 2025-07-22 14:27:17,964 - DEBUG - Response for deleting network () 2025-07-22 14:27:18,238 - DEBUG - No XMPP flaps were noticed during the test
2025-07-22 14:27:18,239 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:29]
2025-07-22 14:27:18,239 - INFO - -------------------------------------------------------------------------------- 2025-07-22 14:27:18,976 - INFO - Deleted project: ctest-TestBasicVMVNx-08237219, ID : ba944b0b-0629-4e54-8e34-a71b5e1ae0c2