2025-09-25 19:57:58,532 - INFO - Domain Default found not creating 2025-09-25 19:57:58,654 - INFO - Project ctest-TestBasicVMVNx-59039685 not found, creating it 2025-09-25 19:57:59,108 - INFO - Created Project:ctest-TestBasicVMVNx-59039685, ID : b3082872-2ae2-4d5a-8483-23a05500c6b2 2025-09-25 19:58:00,489 - INFO - ================================================================================ 2025-09-25 19:58:00,489 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-09-25 19:58:00,489 - 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-09-25 19:58:00,742 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.17': '0'}} with 2025-09-25 19:58:00,742 - INFO - Initial checks done. Running the testcase now 2025-09-25 19:58:00,742 - INFO - 2025-09-25 19:58:01,252 - DEBUG - Response for create_network : {'network': {'id': 'f7a62fae-453f-4a3d-9551-96ddcc8b8129', 'name': 'ctest-vn-57586029', 'tenant_id': 'b30828722ae24d5a848323a05500c6b2', 'project_id': 'b30828722ae24d5a848323a05500c6b2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-59039685', 'ctest-vn-57586029'], 'port_security_enabled': True, 'description': ''}} 2025-09-25 19:58:01,424 - DEBUG - Response for create_subnet : {'subnet': {'id': '4840f130-5c71-4c0e-b0b8-8fe2534eba85', 'name': '', 'tenant_id': 'b30828722ae24d5a848323a05500c6b2', 'network_id': 'f7a62fae-453f-4a3d-9551-96ddcc8b8129', 'ip_version': 4, 'cidr': '152.166.227.192/26', 'allocation_pools': [{'start': '152.166.227.194', 'end': '152.166.227.254'}], 'gateway_ip': '152.166.227.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '152.166.227.194', 'tags': [], 'project_id': 'b30828722ae24d5a848323a05500c6b2'}} 2025-09-25 19:58:01,440 - INFO - Created VN ctest-vn-57586029 2025-09-25 19:58:01,494 - DEBUG - VN ctest-vn-57586029 UUID is f7a62fae-453f-4a3d-9551-96ddcc8b8129 2025-09-25 19:58:01,681 - DEBUG - Services list from nova: [, , ] 2025-09-25 19:58:02,643 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4194-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4194-1) 2025-09-25 19:58:03,717 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4194-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4194-1) 2025-09-25 19:58:03,718 - INFO - Waiting for VM ctest-TestBasicVMVNx-59039685-23561531 to be up.. 2025-09-25 19:58:03,788 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-25 19:58:08,855 - DEBUG - VM is in ACTIVE state now 2025-09-25 19:58:08,855 - INFO - VM name : ctest-TestBasicVMVNx-59039685-23561531 2025-09-25 19:58:08,918 - DEBUG - VM ctest-TestBasicVMVNx-59039685-23561531 ID is 3516a334-c1e7-4f0b-bc0d-c3b61c5561e0 2025-09-25 19:58:08,934 - DEBUG - VM ctest-TestBasicVMVNx-59039685-23561531 launched on Node cn-jenkins-deploy-platform-ansible-os-4194-1 2025-09-25 19:58:08,994 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/3516a334-c1e7-4f0b-bc0d-c3b61c5561e0 2025-09-25 19:58:09,287 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/3516a334-c1e7-4f0b-bc0d-c3b61c5561e0 2025-09-25 19:58:09,313 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/2b07118d-8c27-4544-837d-170fbc6bde81 2025-09-25 19:58:12,566 - 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 1028ms') 2025-09-25 19:58:12,566 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-59039685-23561531 failed! 2025-09-25 19:58:12,618 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-59039685:ctest-vn-57586029 is 152.166.227.193 and allocation pool is NOT set 2025-09-25 19:58:14,681 - 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.49 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.605 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 = 0.605/2.045/3.486/1.440 ms') 2025-09-25 19:58:14,681 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-59039685-23561531 passed 2025-09-25 19:58:14,830 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 19:58:14,830 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-59039685-23561531, IP 152.166.227.195, Port 22 2025-09-25 19:58:14,985 - DEBUG - VM ctest-TestBasicVMVNx-59039685-23561531 is ready for SSH connections 2025-09-25 19:58:14,985 - INFO - Waiting for VM ctest-TestBasicVMVNx-59039685-36566797 to be up.. 2025-09-25 19:58:15,056 - DEBUG - VM is in ACTIVE state now 2025-09-25 19:58:15,056 - INFO - VM name : ctest-TestBasicVMVNx-59039685-36566797 2025-09-25 19:58:15,117 - DEBUG - VM ctest-TestBasicVMVNx-59039685-36566797 ID is c906682e-8d43-420c-98f3-02c0778d5b0a 2025-09-25 19:58:15,117 - DEBUG - VM ctest-TestBasicVMVNx-59039685-36566797 launched on Node cn-jenkins-deploy-platform-ansible-os-4194-1 2025-09-25 19:58:15,182 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/c906682e-8d43-420c-98f3-02c0778d5b0a 2025-09-25 19:58:15,189 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/c8d03b8a-bee2-4d54-938e-4f37bb89a3df 2025-09-25 19:58:16,420 - 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=2.96 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.17 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 1.174/2.067/2.961/0.893 ms') 2025-09-25 19:58:16,421 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-59039685-36566797 passed 2025-09-25 19:58:16,574 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 19:58:16,574 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-59039685-36566797, IP 152.166.227.196, Port 22 2025-09-25 19:58:16,725 - DEBUG - VM ctest-TestBasicVMVNx-59039685-36566797 is ready for SSH connections 2025-09-25 19:58:16,725 - DEBUG - FILE SIZE = 1303B 2025-09-25 19:58:16,725 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-59039685-23561531 to ctest-TestBasicVMVNx-59039685-36566797 using scp 2025-09-25 19:58:16,727 - 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.57, gateway password: c0ntrail123 2025-09-25 19:58:16,727 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-09-25 19:58:18,604 - DEBUG - 1+0 records in 1+0 records out 2025-09-25 19:58:19,253 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 19:58:19,581 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-09-25 19:58:19,582 - DEBUG - ls -l testfile 2025-09-25 19:58:21,180 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 25 13:58 testfile 2025-09-25 19:58:21,180 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-59039685-36566797 2025-09-25 19:58:21,180 - INFO - Deleting VM ctest-TestBasicVMVNx-59039685-36566797 2025-09-25 19:58:21,244 - INFO - Deleting VM ctest-TestBasicVMVNx-59039685-23561531 2025-09-25 19:58:21,304 - INFO - Deleting VN ctest-vn-57586029 2025-09-25 19:58:21,334 - DEBUG - VN f7a62fae-453f-4a3d-9551-96ddcc8b8129 still in use: Unable to complete operation on network f7a62fae-453f-4a3d-9551-96ddcc8b8129. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-81cb0078-d770-4ed4-b4c5-07c3d82ada20'] 2025-09-25 19:58:21,334 - WARNING - Deleting VN ctest-vn-57586029 failed..Will retry 2025-09-25 19:58:23,413 - DEBUG - Response for deleting network () 2025-09-25 19:58:23,667 - DEBUG - No XMPP flaps were noticed during the test
2025-09-25 19:58:23,667 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-09-25 19:58:23,667 - INFO - -------------------------------------------------------------------------------- 2025-09-25 19:58:24,288 - INFO - Deleted project: ctest-TestBasicVMVNx-59039685, ID : b3082872-2ae2-4d5a-8483-23a05500c6b2