2025-02-17 02:29:58,198 - INFO - Domain Default found not creating 2025-02-17 02:29:58,368 - INFO - Project ctest-TestBasicVMVNx-37215555 not found, creating it 2025-02-17 02:29:58,851 - INFO - Created Project:ctest-TestBasicVMVNx-37215555, ID : 6315b0ef-4c57-4327-b991-e41c977e0881 2025-02-17 02:30:00,487 - INFO - ================================================================================ 2025-02-17 02:30:00,487 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-02-17 02:30:00,487 - 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-17 02:30:00,745 - DEBUG - Nothing to compare xmpp stats {'10.0.0.36': {'10.20.0.25': '0'}} with 2025-02-17 02:30:00,745 - INFO - Initial checks done. Running the testcase now 2025-02-17 02:30:00,745 - INFO - 2025-02-17 02:30:01,414 - DEBUG - Response for create_network : {'network': {'id': '19e98522-ac26-4bad-a22d-1448768a5395', 'name': 'ctest-vn-81659148', 'tenant_id': '6315b0ef4c574327b991e41c977e0881', 'project_id': '6315b0ef4c574327b991e41c977e0881', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-37215555', 'ctest-vn-81659148'], 'port_security_enabled': True, 'description': ''}} 2025-02-17 02:30:01,655 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ef44b77b-64d2-44c5-9e3f-c4f1777dd924', 'name': '', 'tenant_id': '6315b0ef4c574327b991e41c977e0881', 'network_id': '19e98522-ac26-4bad-a22d-1448768a5395', 'ip_version': 4, 'cidr': '56.144.197.0/26', 'allocation_pools': [{'start': '56.144.197.2', 'end': '56.144.197.62'}], 'gateway_ip': '56.144.197.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '56.144.197.2', 'tags': [], 'project_id': '6315b0ef4c574327b991e41c977e0881'}} 2025-02-17 02:30:01,679 - INFO - Created VN ctest-vn-81659148 2025-02-17 02:30:01,734 - DEBUG - VN ctest-vn-81659148 UUID is 19e98522-ac26-4bad-a22d-1448768a5395 2025-02-17 02:30:01,942 - DEBUG - Services list from nova: [, , ] 2025-02-17 02:30:03,154 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2741-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2741-1) 2025-02-17 02:30:04,450 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2741-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2741-1) 2025-02-17 02:30:04,450 - INFO - Waiting for VM ctest-TestBasicVMVNx-37215555-79718359 to be up.. 2025-02-17 02:30:04,542 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-17 02:30:09,636 - DEBUG - VM is in ACTIVE state now 2025-02-17 02:30:09,636 - INFO - VM name : ctest-TestBasicVMVNx-37215555-79718359 2025-02-17 02:30:09,736 - DEBUG - VM ctest-TestBasicVMVNx-37215555-79718359 ID is 5449cb2e-ae57-49b2-9e7d-14988121d339 2025-02-17 02:30:09,763 - DEBUG - VM ctest-TestBasicVMVNx-37215555-79718359 launched on Node cn-jenkins-deploy-platform-ansible-os-2741-1 2025-02-17 02:30:09,863 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine/5449cb2e-ae57-49b2-9e7d-14988121d339 2025-02-17 02:30:10,207 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine/5449cb2e-ae57-49b2-9e7d-14988121d339 2025-02-17 02:30:10,255 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine-interface/e30535cb-e8d6-494d-b212-2e977599863d 2025-02-17 02:30:13,519 - 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 1002ms') 2025-02-17 02:30:13,519 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-37215555-79718359 failed! 2025-02-17 02:30:13,582 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-37215555:ctest-vn-81659148 is 56.144.197.1 and allocation pool is NOT set 2025-02-17 02:30:15,647 - 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=6.53 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.44 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.442/4.486/6.530/2.044 ms') 2025-02-17 02:30:15,647 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-37215555-79718359 passed 2025-02-17 02:30:15,802 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-17 02:30:15,802 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-37215555-79718359, IP 56.144.197.3, Port 22 2025-02-17 02:30:15,859 - 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-02-17 02:30:15,985 - DEBUG - VM ctest-TestBasicVMVNx-37215555-79718359 is NOT ready for SSH connections, VM status: ACTIVE 2025-02-17 02:30:20,986 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-17 02:30:20,986 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-37215555-79718359, IP 56.144.197.3, Port 22 2025-02-17 02:30:21,145 - DEBUG - VM ctest-TestBasicVMVNx-37215555-79718359 is ready for SSH connections 2025-02-17 02:30:21,145 - INFO - Waiting for VM ctest-TestBasicVMVNx-37215555-05613057 to be up.. 2025-02-17 02:30:21,236 - DEBUG - VM is in ACTIVE state now 2025-02-17 02:30:21,236 - INFO - VM name : ctest-TestBasicVMVNx-37215555-05613057 2025-02-17 02:30:21,325 - DEBUG - VM ctest-TestBasicVMVNx-37215555-05613057 ID is 926c0fe9-6f21-40e3-970b-365dc820c88f 2025-02-17 02:30:21,325 - DEBUG - VM ctest-TestBasicVMVNx-37215555-05613057 launched on Node cn-jenkins-deploy-platform-ansible-os-2741-1 2025-02-17 02:30:21,417 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine/926c0fe9-6f21-40e3-970b-365dc820c88f 2025-02-17 02:30:21,429 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine-interface/a56cb7f0-16f4-48ed-83ca-f60ea6657627 2025-02-17 02:30:22,684 - 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.53 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.511 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.511/2.019/3.528/1.508 ms') 2025-02-17 02:30:22,685 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-37215555-05613057 passed 2025-02-17 02:30:22,842 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-17 02:30:22,842 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-37215555-05613057, IP 56.144.197.4, Port 22 2025-02-17 02:30:23,012 - DEBUG - VM ctest-TestBasicVMVNx-37215555-05613057 is ready for SSH connections 2025-02-17 02:30:23,013 - DEBUG - FILE SIZE = 1303B 2025-02-17 02:30:23,013 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-37215555-79718359 to ctest-TestBasicVMVNx-37215555-05613057 using scp 2025-02-17 02:30:23,014 - 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.36, gateway password: c0ntrail123 2025-02-17 02:30:23,014 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-02-17 02:30:25,072 - DEBUG - 1+0 records in 1+0 records out 2025-02-17 02:30:25,832 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-17 02:30:26,200 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.36, gateway password: c0ntrail123 2025-02-17 02:30:26,200 - DEBUG - ls -l testfile 2025-02-17 02:30:27,858 - DEBUG - -rw------- 1 cirros cirros 1303 Feb 16 19:30 testfile 2025-02-17 02:30:27,858 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-37215555-05613057 2025-02-17 02:30:27,858 - INFO - Deleting VM ctest-TestBasicVMVNx-37215555-05613057 2025-02-17 02:30:27,938 - INFO - Deleting VM ctest-TestBasicVMVNx-37215555-79718359 2025-02-17 02:30:28,021 - INFO - Deleting VN ctest-vn-81659148 2025-02-17 02:30:28,072 - DEBUG - VN 19e98522-ac26-4bad-a22d-1448768a5395 still in use: Unable to complete operation on network 19e98522-ac26-4bad-a22d-1448768a5395. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a8fbb5a9-c205-48d3-a11e-cc5e01065918'] 2025-02-17 02:30:28,072 - WARNING - Deleting VN ctest-vn-81659148 failed..Will retry 2025-02-17 02:30:30,216 - DEBUG - Response for deleting network () 2025-02-17 02:30:30,482 - DEBUG - No XMPP flaps were noticed during the test
2025-02-17 02:30:30,482 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:30]
2025-02-17 02:30:30,482 - INFO - -------------------------------------------------------------------------------- 2025-02-17 02:30:31,297 - INFO - Deleted project: ctest-TestBasicVMVNx-37215555, ID : 6315b0ef-4c57-4327-b991-e41c977e0881