2024-09-04 11:19:22,595 - INFO - Reading existing Domain with UUID 5fc23b5e-6535-4002-b7dc-a80fda751e6b 2024-09-04 11:19:22,616 - INFO - Using existing domain ['admin_domain'](5fc23b5e-6535-4002-b7dc-a80fda751e6b) 2024-09-04 11:19:23,069 - INFO - Project ctest-TestBasicVMVNx-32464282 not found, creating it 2024-09-04 11:19:24,035 - INFO - Created Project:ctest-TestBasicVMVNx-32464282, ID : 6332f61f-7514-464d-ba74-2eb8a3dc907c 2024-09-04 11:19:27,033 - INFO - ================================================================================ 2024-09-04 11:19:27,033 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-04 11:19:27,034 - 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 2024-09-04 11:19:27,606 - DEBUG - Nothing to compare xmpp stats {'10.0.0.17': {'10.0.0.17': '0'}} with 2024-09-04 11:19:27,606 - INFO - Initial checks done. Running the testcase now 2024-09-04 11:19:27,606 - INFO - 2024-09-04 11:19:28,745 - DEBUG - Response for create_network : {'network': {'id': '55d1e4e5-49ca-40d2-8ea3-2f77477bff88', 'name': 'ctest-vn-12554813', 'tenant_id': '6332f61f7514464dba742eb8a3dc907c', 'project_id': '6332f61f7514464dba742eb8a3dc907c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicVMVNx-32464282', 'ctest-vn-12554813'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2024-09-04 11:19:29,028 - DEBUG - Response for create_subnet : {'subnet': {'id': '6367b15c-eadf-4b00-865f-20c0cbb0ea01', 'name': '', 'tenant_id': '6332f61f7514464dba742eb8a3dc907c', 'network_id': '55d1e4e5-49ca-40d2-8ea3-2f77477bff88', 'ip_version': 4, 'cidr': '34.23.205.128/26', 'allocation_pools': [{'start': '34.23.205.130', 'end': '34.23.205.190'}], 'gateway_ip': '34.23.205.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2024-09-04T11:19:28.916686', 'updated_at': '2024-09-04T11:19:28.916686', 'dns_server_address': '34.23.205.130', 'tags': [], 'project_id': '6332f61f7514464dba742eb8a3dc907c'}} 2024-09-04 11:19:29,108 - INFO - Created VN ctest-vn-12554813 2024-09-04 11:19:29,177 - DEBUG - VN ctest-vn-12554813 UUID is 55d1e4e5-49ca-40d2-8ea3-2f77477bff88 2024-09-04 11:19:29,631 - DEBUG - Services list from nova: [, , ] 2024-09-04 11:19:31,122 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-402-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-402-1) 2024-09-04 11:19:32,604 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-402-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-402-1) 2024-09-04 11:19:32,604 - INFO - Waiting for VM ctest-TestBasicVMVNx-32464282-92710421 to be up.. 2024-09-04 11:19:32,762 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-04 11:19:37,989 - DEBUG - VM is in ACTIVE state now 2024-09-04 11:19:37,989 - INFO - VM name : ctest-TestBasicVMVNx-32464282-92710421 2024-09-04 11:19:38,215 - DEBUG - VM ctest-TestBasicVMVNx-32464282-92710421 ID is 56eebbae-3b1f-48f2-b68f-98a81b0021d1 2024-09-04 11:19:38,275 - DEBUG - VM ctest-TestBasicVMVNx-32464282-92710421 launched on Node cn-jenkins-deploy-platform-juju-os-402-1 2024-09-04 11:19:38,484 - DEBUG - Requesting: https://10.0.0.17:8082/virtual-machine/56eebbae-3b1f-48f2-b68f-98a81b0021d1 2024-09-04 11:19:38,896 - DEBUG - Requesting: https://10.0.0.17:8082/virtual-machine/56eebbae-3b1f-48f2-b68f-98a81b0021d1 2024-09-04 11:19:39,005 - DEBUG - Requesting: https://10.0.0.17:8082/virtual-machine-interface/98ecfc7b-09b3-419a-b002-e322b82b3f0c 2024-09-04 11:19:42,579 - 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 1026ms') 2024-09-04 11:19:42,579 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-32464282-92710421 failed! 2024-09-04 11:19:42,636 - DEBUG - Gateway for vn admin_domain:ctest-TestBasicVMVNx-32464282:ctest-vn-12554813 is 34.23.205.129 and allocation pool is NOT set 2024-09-04 11:19:44,760 - 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=9.30 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.14 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.138/6.219/9.300/3.081 ms') 2024-09-04 11:19:44,760 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-32464282-92710421 passed 2024-09-04 11:19:44,940 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-04 11:19:44,940 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-32464282-92710421, IP 34.23.205.131, Port 22 2024-09-04 11:19:45,059 - 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': ''} 2024-09-04 11:19:45,294 - DEBUG - VM ctest-TestBasicVMVNx-32464282-92710421 is NOT ready for SSH connections, VM status: ACTIVE 2024-09-04 11:19:50,295 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-04 11:19:50,296 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-32464282-92710421, IP 34.23.205.131, Port 22 2024-09-04 11:19:50,633 - DEBUG - VM ctest-TestBasicVMVNx-32464282-92710421 is ready for SSH connections 2024-09-04 11:19:50,633 - INFO - Waiting for VM ctest-TestBasicVMVNx-32464282-90821316 to be up.. 2024-09-04 11:19:50,885 - DEBUG - VM is in ACTIVE state now 2024-09-04 11:19:50,885 - INFO - VM name : ctest-TestBasicVMVNx-32464282-90821316 2024-09-04 11:19:51,075 - DEBUG - VM ctest-TestBasicVMVNx-32464282-90821316 ID is f124e8e9-2f47-4aa0-bc26-77d01a00c417 2024-09-04 11:19:51,075 - DEBUG - VM ctest-TestBasicVMVNx-32464282-90821316 launched on Node cn-jenkins-deploy-platform-juju-os-402-1 2024-09-04 11:19:51,340 - DEBUG - Requesting: https://10.0.0.17:8082/virtual-machine/f124e8e9-2f47-4aa0-bc26-77d01a00c417 2024-09-04 11:19:51,422 - DEBUG - Requesting: https://10.0.0.17:8082/virtual-machine-interface/ca7247d6-bef2-45f7-acf1-27b913346e9e 2024-09-04 11:19:53,033 - 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=6.73 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.13 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 = 1.131/3.932/6.734/2.801 ms') 2024-09-04 11:19:53,033 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-32464282-90821316 passed 2024-09-04 11:19:53,232 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-04 11:19:53,232 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-32464282-90821316, IP 34.23.205.132, Port 22 2024-09-04 11:19:53,570 - DEBUG - VM ctest-TestBasicVMVNx-32464282-90821316 is ready for SSH connections 2024-09-04 11:19:53,571 - DEBUG - FILE SIZE = 1303B 2024-09-04 11:19:53,571 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-32464282-92710421 to ctest-TestBasicVMVNx-32464282-90821316 using scp 2024-09-04 11:19:53,592 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-04 11:19:53,606 - 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.17, gateway password: c0ntrail123 2024-09-04 11:19:53,607 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-04 11:19:55,540 - DEBUG - 1+0 records in 1+0 records out 2024-09-04 11:19:56,210 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-04 11:19:56,613 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123 2024-09-04 11:19:56,614 - DEBUG - ls -l testfile 2024-09-04 11:19:58,610 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 4 05:19 testfile 2024-09-04 11:19:58,610 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-32464282-90821316 2024-09-04 11:19:58,611 - INFO - Deleting VM ctest-TestBasicVMVNx-32464282-90821316 2024-09-04 11:19:58,836 - INFO - Deleting VM ctest-TestBasicVMVNx-32464282-92710421 2024-09-04 11:19:59,040 - INFO - Deleting VN ctest-vn-12554813 2024-09-04 11:19:59,247 - DEBUG - VN 55d1e4e5-49ca-40d2-8ea3-2f77477bff88 still in use: Unable to complete operation on network 55d1e4e5-49ca-40d2-8ea3-2f77477bff88. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-110dd151-f171-46dc-91c8-71dd99a1fbef'] 2024-09-04 11:19:59,247 - WARNING - Deleting VN ctest-vn-12554813 failed..Will retry 2024-09-04 11:20:01,550 - DEBUG - Response for deleting network () 2024-09-04 11:20:01,977 - DEBUG - No XMPP flaps were noticed during the test
2024-09-04 11:20:01,977 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:34]
2024-09-04 11:20:01,977 - INFO - -------------------------------------------------------------------------------- 2024-09-04 11:20:02,881 - INFO - Deleted project: ctest-TestBasicVMVNx-32464282, ID : 6332f61f-7514-464d-ba74-2eb8a3dc907c