2025-06-18 05:29:09,794 - INFO - Domain Default found not creating 2025-06-18 05:29:09,940 - INFO - Project ctest-TestBasicVMVNx-89507528 not found, creating it 2025-06-18 05:29:10,404 - INFO - Created Project:ctest-TestBasicVMVNx-89507528, ID : 7923eadb-d65b-4f00-86b8-3207013458f2 2025-06-18 05:29:11,979 - INFO - ================================================================================ 2025-06-18 05:29:11,979 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-06-18 05:29:11,979 - 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-06-18 05:29:12,236 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-06-18 05:29:12,236 - INFO - Initial checks done. Running the testcase now 2025-06-18 05:29:12,236 - INFO - 2025-06-18 05:29:12,833 - DEBUG - Response for create_network : {'network': {'id': 'afe0590b-e486-48a0-9f74-256c5479297f', 'name': 'ctest-vn-64762275', 'tenant_id': '7923eadbd65b4f0086b83207013458f2', 'project_id': '7923eadbd65b4f0086b83207013458f2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-89507528', 'ctest-vn-64762275'], 'port_security_enabled': True, 'description': ''}} 2025-06-18 05:29:13,008 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a92a9ca0-d49d-47dc-8d70-f41cb6f09f44', 'name': '', 'tenant_id': '7923eadbd65b4f0086b83207013458f2', 'network_id': 'afe0590b-e486-48a0-9f74-256c5479297f', 'ip_version': 4, 'cidr': '129.150.105.128/26', 'allocation_pools': [{'start': '129.150.105.130', 'end': '129.150.105.190'}], 'gateway_ip': '129.150.105.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '129.150.105.130', 'tags': [], 'project_id': '7923eadbd65b4f0086b83207013458f2'}} 2025-06-18 05:29:13,026 - INFO - Created VN ctest-vn-64762275 2025-06-18 05:29:13,085 - DEBUG - VN ctest-vn-64762275 UUID is afe0590b-e486-48a0-9f74-256c5479297f 2025-06-18 05:29:13,255 - DEBUG - Services list from nova: [, , ] 2025-06-18 05:29:14,388 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3467-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3467-1) 2025-06-18 05:29:15,659 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3467-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3467-1) 2025-06-18 05:29:15,659 - INFO - Waiting for VM ctest-TestBasicVMVNx-89507528-87793923 to be up.. 2025-06-18 05:29:15,757 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-18 05:29:20,843 - DEBUG - VM is in ACTIVE state now 2025-06-18 05:29:20,843 - INFO - VM name : ctest-TestBasicVMVNx-89507528-87793923 2025-06-18 05:29:20,920 - DEBUG - VM ctest-TestBasicVMVNx-89507528-87793923 ID is 340fff7c-ffe3-49e2-a19c-7d3798003f63 2025-06-18 05:29:20,940 - DEBUG - VM ctest-TestBasicVMVNx-89507528-87793923 launched on Node cn-jenkins-deploy-platform-ansible-os-3467-1 2025-06-18 05:29:21,023 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/340fff7c-ffe3-49e2-a19c-7d3798003f63 2025-06-18 05:29:21,359 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/340fff7c-ffe3-49e2-a19c-7d3798003f63 2025-06-18 05:29:21,392 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/433ecc3f-fa4b-496f-947a-0f276c0ca7ae 2025-06-18 05:29:24,677 - 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 1035ms') 2025-06-18 05:29:24,677 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-89507528-87793923 failed! 2025-06-18 05:29:24,733 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-89507528:ctest-vn-64762275 is 129.150.105.129 and allocation pool is NOT set 2025-06-18 05:29:26,794 - 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.72 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.48 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.479/3.098/3.717/0.619 ms') 2025-06-18 05:29:26,794 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-89507528-87793923 passed 2025-06-18 05:29:26,949 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-18 05:29:26,949 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-89507528-87793923, IP 129.150.105.131, Port 22 2025-06-18 05:29:27,015 - 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-06-18 05:29:27,098 - DEBUG - VM ctest-TestBasicVMVNx-89507528-87793923 is NOT ready for SSH connections, VM status: ACTIVE 2025-06-18 05:29:32,098 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-18 05:29:32,098 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-89507528-87793923, IP 129.150.105.131, Port 22 2025-06-18 05:29:32,261 - DEBUG - VM ctest-TestBasicVMVNx-89507528-87793923 is ready for SSH connections 2025-06-18 05:29:32,261 - INFO - Waiting for VM ctest-TestBasicVMVNx-89507528-16327419 to be up.. 2025-06-18 05:29:32,342 - DEBUG - VM is in ACTIVE state now 2025-06-18 05:29:32,342 - INFO - VM name : ctest-TestBasicVMVNx-89507528-16327419 2025-06-18 05:29:32,419 - DEBUG - VM ctest-TestBasicVMVNx-89507528-16327419 ID is 63c33224-0960-4d2a-b36c-b3e92a85e9a2 2025-06-18 05:29:32,419 - DEBUG - VM ctest-TestBasicVMVNx-89507528-16327419 launched on Node cn-jenkins-deploy-platform-ansible-os-3467-1 2025-06-18 05:29:32,496 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/63c33224-0960-4d2a-b36c-b3e92a85e9a2 2025-06-18 05:29:32,505 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/4b029c16-ad4c-4b17-b718-91af94be54d7 2025-06-18 05:29:33,743 - 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.00 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.389 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.389/1.693/2.997/1.304 ms') 2025-06-18 05:29:33,744 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-89507528-16327419 passed 2025-06-18 05:29:33,897 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-18 05:29:33,897 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-89507528-16327419, IP 129.150.105.132, Port 22 2025-06-18 05:29:34,052 - DEBUG - VM ctest-TestBasicVMVNx-89507528-16327419 is ready for SSH connections 2025-06-18 05:29:34,052 - DEBUG - FILE SIZE = 1303B 2025-06-18 05:29:34,053 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-89507528-87793923 to ctest-TestBasicVMVNx-89507528-16327419 using scp 2025-06-18 05:29:34,054 - 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-06-18 05:29:34,054 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-06-18 05:29:35,844 - DEBUG - 1+0 records in 1+0 records out 2025-06-18 05:29:36,516 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-18 05:29:36,871 - 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-06-18 05:29:36,871 - DEBUG - ls -l testfile 2025-06-18 05:29:38,831 - DEBUG - -rw------- 1 cirros cirros 1303 Jun 17 23:29 testfile 2025-06-18 05:29:38,831 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-89507528-16327419 2025-06-18 05:29:38,832 - INFO - Deleting VM ctest-TestBasicVMVNx-89507528-16327419 2025-06-18 05:29:38,901 - INFO - Deleting VM ctest-TestBasicVMVNx-89507528-87793923 2025-06-18 05:29:38,973 - INFO - Deleting VN ctest-vn-64762275 2025-06-18 05:29:39,017 - DEBUG - VN afe0590b-e486-48a0-9f74-256c5479297f still in use: Unable to complete operation on network afe0590b-e486-48a0-9f74-256c5479297f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7c5f7f13-6720-4699-ab7a-41689b848f83'] 2025-06-18 05:29:39,017 - WARNING - Deleting VN ctest-vn-64762275 failed..Will retry 2025-06-18 05:29:41,180 - DEBUG - Response for deleting network () 2025-06-18 05:29:41,438 - DEBUG - No XMPP flaps were noticed during the test
2025-06-18 05:29:41,438 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:30]
2025-06-18 05:29:41,438 - INFO - -------------------------------------------------------------------------------- 2025-06-18 05:29:42,230 - INFO - Deleted project: ctest-TestBasicVMVNx-89507528, ID : 7923eadb-d65b-4f00-86b8-3207013458f2