2025-01-20 02:18:22,307 - INFO - Domain Default found not creating
2025-01-20 02:18:22,460 - INFO - Project ctest-TestBasicVMVNx-44829011 not found, creating it
2025-01-20 02:18:22,919 - INFO - Created Project:ctest-TestBasicVMVNx-44829011, ID : 155ec052-8ed3-4846-ba9f-800b35bb39c8
2025-01-20 02:18:24,354 - INFO - ================================================================================
2025-01-20 02:18:24,354 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-01-20 02:18:24,354 - 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-01-20 02:18:24,614 - DEBUG - Nothing to compare xmpp stats {'10.0.0.17': {'10.20.0.28': '0'}} with
2025-01-20 02:18:24,614 - INFO - Initial checks done. Running the testcase now
2025-01-20 02:18:24,614 - INFO -
2025-01-20 02:18:25,144 - DEBUG - Response for create_network : {'network': {'id': '86e58856-0c58-4242-9c14-77fa70934416', 'name': 'ctest-vn-51045266', 'tenant_id': '155ec0528ed34846ba9f800b35bb39c8', 'project_id': '155ec0528ed34846ba9f800b35bb39c8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-44829011', 'ctest-vn-51045266'], 'port_security_enabled': True, 'description': ''}}
2025-01-20 02:18:25,333 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c1824f7c-e7f6-4643-92fb-29a6fafb036a', 'name': '', 'tenant_id': '155ec0528ed34846ba9f800b35bb39c8', 'network_id': '86e58856-0c58-4242-9c14-77fa70934416', 'ip_version': 4, 'cidr': '183.75.151.128/26', 'allocation_pools': [{'start': '183.75.151.130', 'end': '183.75.151.190'}], 'gateway_ip': '183.75.151.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '183.75.151.130', 'tags': [], 'project_id': '155ec0528ed34846ba9f800b35bb39c8'}}
2025-01-20 02:18:25,351 - INFO - Created VN ctest-vn-51045266
2025-01-20 02:18:25,404 - DEBUG - VN ctest-vn-51045266 UUID is 86e58856-0c58-4242-9c14-77fa70934416
2025-01-20 02:18:25,601 - DEBUG - Services list from nova: [, , ]
2025-01-20 02:18:26,573 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2653-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2653-1)
2025-01-20 02:18:27,680 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2653-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2653-1)
2025-01-20 02:18:27,680 - INFO - Waiting for VM ctest-TestBasicVMVNx-44829011-78970235 to be up..
2025-01-20 02:18:27,754 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-20 02:18:32,831 - DEBUG - VM is in ACTIVE state now
2025-01-20 02:18:32,831 - INFO - VM name : ctest-TestBasicVMVNx-44829011-78970235
2025-01-20 02:18:32,901 - DEBUG - VM ctest-TestBasicVMVNx-44829011-78970235 ID is f1378432-59a8-4eb2-914c-0e9b270cf8a4
2025-01-20 02:18:32,918 - DEBUG - VM ctest-TestBasicVMVNx-44829011-78970235 launched on Node cn-jenkins-deploy-platform-ansible-os-2653-1
2025-01-20 02:18:32,987 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/f1378432-59a8-4eb2-914c-0e9b270cf8a4
2025-01-20 02:18:33,278 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/f1378432-59a8-4eb2-914c-0e9b270cf8a4
2025-01-20 02:18:33,309 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/b7c74a09-a26f-4a1c-913f-3dc028753cb3
2025-01-20 02:18:36,577 - 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 1023ms')
2025-01-20 02:18:36,577 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-44829011-78970235 failed!
2025-01-20 02:18:36,632 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-44829011:ctest-vn-51045266 is 183.75.151.129 and allocation pool is NOT set
2025-01-20 02:18:38,700 - 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=4.64 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.45 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 = 1.448/3.041/4.635/1.593 ms')
2025-01-20 02:18:38,700 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-44829011-78970235 passed
2025-01-20 02:18:38,860 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-20 02:18:38,860 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-44829011-78970235, IP 183.75.151.131, Port 22
2025-01-20 02:18:38,916 - 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-01-20 02:18:38,991 - DEBUG - VM ctest-TestBasicVMVNx-44829011-78970235 is NOT ready for SSH connections, VM status: ACTIVE
2025-01-20 02:18:43,991 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-20 02:18:43,991 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-44829011-78970235, IP 183.75.151.131, Port 22
2025-01-20 02:18:44,148 - DEBUG - VM ctest-TestBasicVMVNx-44829011-78970235 is ready for SSH connections
2025-01-20 02:18:44,149 - INFO - Waiting for VM ctest-TestBasicVMVNx-44829011-24066133 to be up..
2025-01-20 02:18:44,221 - DEBUG - VM is in ACTIVE state now
2025-01-20 02:18:44,221 - INFO - VM name : ctest-TestBasicVMVNx-44829011-24066133
2025-01-20 02:18:44,294 - DEBUG - VM ctest-TestBasicVMVNx-44829011-24066133 ID is 96269ce2-f32c-4c0c-8502-e13d017a351b
2025-01-20 02:18:44,294 - DEBUG - VM ctest-TestBasicVMVNx-44829011-24066133 launched on Node cn-jenkins-deploy-platform-ansible-os-2653-1
2025-01-20 02:18:44,367 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/96269ce2-f32c-4c0c-8502-e13d017a351b
2025-01-20 02:18:44,376 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/9b9692bf-0206-4042-bd2f-c059cf7d1e7d
2025-01-20 02:18:45,615 - 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.26 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.447 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.447/1.855/3.264/1.408 ms')
2025-01-20 02:18:45,615 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-44829011-24066133 passed
2025-01-20 02:18:45,768 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-20 02:18:45,768 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-44829011-24066133, IP 183.75.151.132, Port 22
2025-01-20 02:18:45,924 - DEBUG - VM ctest-TestBasicVMVNx-44829011-24066133 is ready for SSH connections
2025-01-20 02:18:45,924 - DEBUG - FILE SIZE = 1303B
2025-01-20 02:18:45,924 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-44829011-78970235 to ctest-TestBasicVMVNx-44829011-24066133 using scp
2025-01-20 02:18:45,925 - 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
2025-01-20 02:18:45,925 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-01-20 02:18:47,851 - DEBUG - 1+0 records in
1+0 records out
2025-01-20 02:18:48,610 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-20 02:18:48,935 - 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
2025-01-20 02:18:48,935 - DEBUG - ls -l testfile
2025-01-20 02:18:50,502 - DEBUG - -rw------- 1 cirros cirros 1303 Jan 19 19:18 [0;0mtestfile[0m
2025-01-20 02:18:50,502 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-44829011-24066133
2025-01-20 02:18:50,502 - INFO - Deleting VM ctest-TestBasicVMVNx-44829011-24066133
2025-01-20 02:18:50,563 - INFO - Deleting VM ctest-TestBasicVMVNx-44829011-78970235
2025-01-20 02:18:50,630 - INFO - Deleting VN ctest-vn-51045266
2025-01-20 02:18:50,664 - DEBUG - VN 86e58856-0c58-4242-9c14-77fa70934416 still in use: Unable to complete operation on network 86e58856-0c58-4242-9c14-77fa70934416. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-8ab8071f-3373-4628-94b0-8ac9c871e2e1']
2025-01-20 02:18:50,664 - WARNING - Deleting VN ctest-vn-51045266 failed..Will retry
2025-01-20 02:18:52,767 - DEBUG - Response for deleting network ()
2025-01-20 02:18:53,023 - DEBUG - No XMPP flaps were noticed during the test
2025-01-20 02:18:53,023 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:29]
2025-01-20 02:18:53,023 - INFO - --------------------------------------------------------------------------------
2025-01-20 02:18:53,706 - INFO - Deleted project: ctest-TestBasicVMVNx-44829011, ID : 155ec052-8ed3-4846-ba9f-800b35bb39c8