2025-02-03 17:21:48,533 - INFO - Domain Default found not creating 2025-02-03 17:21:48,735 - INFO - Project ctest-TestBasicVMVNx-86768196 not found, creating it 2025-02-03 17:21:49,313 - INFO - Created Project:ctest-TestBasicVMVNx-86768196, ID : 8d65d0ae-b4ac-4bd0-a2c2-414b840f7093 2025-02-03 17:21:51,004 - INFO - ================================================================================ 2025-02-03 17:21:51,005 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-02-03 17:21:51,005 - 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-02-03 17:21:51,269 - DEBUG - Nothing to compare xmpp stats {'10.0.0.32': {'10.20.0.19': '0'}} with 2025-02-03 17:21:51,269 - INFO - Initial checks done. Running the testcase now 2025-02-03 17:21:51,269 - INFO - 2025-02-03 17:21:51,890 - DEBUG - Response for create_network : {'network': {'id': '3fa0c8a0-77c7-4b1a-bf06-1a21f28dd5cf', 'name': 'ctest-vn-01018227', 'tenant_id': '8d65d0aeb4ac4bd0a2c2414b840f7093', 'project_id': '8d65d0aeb4ac4bd0a2c2414b840f7093', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-86768196', 'ctest-vn-01018227'], 'port_security_enabled': True, 'description': ''}} 2025-02-03 17:21:52,127 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e473c685-761d-4b22-9259-12fd762db842', 'name': '', 'tenant_id': '8d65d0aeb4ac4bd0a2c2414b840f7093', 'network_id': '3fa0c8a0-77c7-4b1a-bf06-1a21f28dd5cf', 'ip_version': 4, 'cidr': '103.67.16.128/26', 'allocation_pools': [{'start': '103.67.16.130', 'end': '103.67.16.190'}], 'gateway_ip': '103.67.16.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '103.67.16.130', 'tags': [], 'project_id': '8d65d0aeb4ac4bd0a2c2414b840f7093'}} 2025-02-03 17:21:52,150 - INFO - Created VN ctest-vn-01018227 2025-02-03 17:21:52,206 - DEBUG - VN ctest-vn-01018227 UUID is 3fa0c8a0-77c7-4b1a-bf06-1a21f28dd5cf 2025-02-03 17:21:52,388 - DEBUG - Services list from nova: [, , ] 2025-02-03 17:21:53,567 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2681-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2681-1) 2025-02-03 17:21:54,918 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2681-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2681-1) 2025-02-03 17:21:54,918 - INFO - Waiting for VM ctest-TestBasicVMVNx-86768196-88526789 to be up.. 2025-02-03 17:21:55,012 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-03 17:22:00,111 - DEBUG - VM is in ACTIVE state now 2025-02-03 17:22:00,111 - INFO - VM name : ctest-TestBasicVMVNx-86768196-88526789 2025-02-03 17:22:00,204 - DEBUG - VM ctest-TestBasicVMVNx-86768196-88526789 ID is 7d224973-de6e-4b6a-b849-dd8cd5be94ad 2025-02-03 17:22:00,225 - DEBUG - VM ctest-TestBasicVMVNx-86768196-88526789 launched on Node cn-jenkins-deploy-platform-ansible-os-2681-1 2025-02-03 17:22:00,318 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/7d224973-de6e-4b6a-b849-dd8cd5be94ad 2025-02-03 17:22:00,660 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/7d224973-de6e-4b6a-b849-dd8cd5be94ad 2025-02-03 17:22:00,701 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/27a39cfd-42c8-4ad1-bc89-d53f5298e063 2025-02-03 17:22:03,973 - 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-02-03 17:22:03,974 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-86768196-88526789 failed! 2025-02-03 17:22:04,038 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-86768196:ctest-vn-01018227 is 103.67.16.129 and allocation pool is NOT set 2025-02-03 17:22:06,104 - 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.51 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.427 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.427/1.968/3.510/1.541 ms') 2025-02-03 17:22:06,104 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-86768196-88526789 passed 2025-02-03 17:22:06,266 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-03 17:22:06,266 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-86768196-88526789, IP 103.67.16.131, Port 22 2025-02-03 17:22:06,436 - DEBUG - VM ctest-TestBasicVMVNx-86768196-88526789 is ready for SSH connections 2025-02-03 17:22:06,436 - INFO - Waiting for VM ctest-TestBasicVMVNx-86768196-61365229 to be up.. 2025-02-03 17:22:06,588 - DEBUG - VM is in ACTIVE state now 2025-02-03 17:22:06,588 - INFO - VM name : ctest-TestBasicVMVNx-86768196-61365229 2025-02-03 17:22:06,685 - DEBUG - VM ctest-TestBasicVMVNx-86768196-61365229 ID is 9b18b308-936f-4648-ac01-b01e2ab0adbc 2025-02-03 17:22:06,685 - DEBUG - VM ctest-TestBasicVMVNx-86768196-61365229 launched on Node cn-jenkins-deploy-platform-ansible-os-2681-1 2025-02-03 17:22:06,779 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/9b18b308-936f-4648-ac01-b01e2ab0adbc 2025-02-03 17:22:06,791 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/b14090be-6257-4809-a5f7-420f7c604e80 2025-02-03 17:22:08,053 - 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.58 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.361 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.361/1.969/3.577/1.608 ms') 2025-02-03 17:22:08,053 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-86768196-61365229 passed 2025-02-03 17:22:08,209 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-03 17:22:08,210 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-86768196-61365229, IP 103.67.16.132, Port 22 2025-02-03 17:22:08,375 - DEBUG - VM ctest-TestBasicVMVNx-86768196-61365229 is ready for SSH connections 2025-02-03 17:22:08,375 - DEBUG - FILE SIZE = 1303B 2025-02-03 17:22:08,376 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-86768196-88526789 to ctest-TestBasicVMVNx-86768196-61365229 using scp 2025-02-03 17:22:08,376 - 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.32, gateway password: c0ntrail123 2025-02-03 17:22:08,376 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-02-03 17:22:10,413 - DEBUG - 1+0 records in 1+0 records out 2025-02-03 17:22:11,087 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-03 17:22:11,432 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.32, gateway password: c0ntrail123 2025-02-03 17:22:11,432 - DEBUG - ls -l testfile 2025-02-03 17:22:13,071 - DEBUG - -rw------- 1 cirros cirros 1303 Feb 3 10:22 testfile 2025-02-03 17:22:13,071 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-86768196-61365229 2025-02-03 17:22:13,071 - INFO - Deleting VM ctest-TestBasicVMVNx-86768196-61365229 2025-02-03 17:22:13,149 - INFO - Deleting VM ctest-TestBasicVMVNx-86768196-88526789 2025-02-03 17:22:13,228 - INFO - Deleting VN ctest-vn-01018227 2025-02-03 17:22:13,269 - DEBUG - VN 3fa0c8a0-77c7-4b1a-bf06-1a21f28dd5cf still in use: Unable to complete operation on network 3fa0c8a0-77c7-4b1a-bf06-1a21f28dd5cf. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-60cb251e-3ca5-4fb3-9db1-d77ff7878899'] 2025-02-03 17:22:13,269 - WARNING - Deleting VN ctest-vn-01018227 failed..Will retry 2025-02-03 17:22:15,422 - DEBUG - Response for deleting network () 2025-02-03 17:22:15,681 - DEBUG - No XMPP flaps were noticed during the test
2025-02-03 17:22:15,681 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-02-03 17:22:15,682 - INFO - -------------------------------------------------------------------------------- 2025-02-03 17:22:16,497 - INFO - Deleted project: ctest-TestBasicVMVNx-86768196, ID : 8d65d0ae-b4ac-4bd0-a2c2-414b840f7093