2025-04-09 13:05:33,487 - INFO - Domain Default found not creating
2025-04-09 13:05:33,798 - INFO - Project ctest-TestBasicVMVNx-86314943 not found, creating it
2025-04-09 13:05:34,625 - INFO - Created Project:ctest-TestBasicVMVNx-86314943, ID : 9bf3f677-459a-41a3-a268-fcda271398d8
2025-04-09 13:05:36,530 - INFO - ================================================================================
2025-04-09 13:05:36,531 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-04-09 13:05:36,531 - 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-04-09 13:05:36,852 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with
2025-04-09 13:05:36,852 - INFO - Initial checks done. Running the testcase now
2025-04-09 13:05:36,852 - INFO -
2025-04-09 13:05:37,567 - DEBUG - Response for create_network : {'network': {'id': 'b334ef16-b047-43d4-93f3-40d9701186ae', 'name': 'ctest-vn-40900390', 'tenant_id': '9bf3f677459a41a3a268fcda271398d8', 'project_id': '9bf3f677459a41a3a268fcda271398d8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-86314943', 'ctest-vn-40900390'], 'port_security_enabled': True, 'description': ''}}
2025-04-09 13:05:37,811 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd017a472-0aef-45e9-98af-eb317e3ff63f', 'name': '', 'tenant_id': '9bf3f677459a41a3a268fcda271398d8', 'network_id': 'b334ef16-b047-43d4-93f3-40d9701186ae', 'ip_version': 4, 'cidr': '207.59.136.128/26', 'allocation_pools': [{'start': '207.59.136.130', 'end': '207.59.136.190'}], 'gateway_ip': '207.59.136.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '207.59.136.130', 'tags': [], 'project_id': '9bf3f677459a41a3a268fcda271398d8'}}
2025-04-09 13:05:37,833 - INFO - Created VN ctest-vn-40900390
2025-04-09 13:05:37,889 - DEBUG - VN ctest-vn-40900390 UUID is b334ef16-b047-43d4-93f3-40d9701186ae
2025-04-09 13:05:38,133 - DEBUG - Services list from nova: [, , ]
2025-04-09 13:05:39,645 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3065-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3065-1)
2025-04-09 13:05:41,272 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3065-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3065-1)
2025-04-09 13:05:41,272 - INFO - Waiting for VM ctest-TestBasicVMVNx-86314943-49590476 to be up..
2025-04-09 13:05:41,385 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-04-09 13:05:46,542 - DEBUG - VM is in ACTIVE state now
2025-04-09 13:05:46,542 - INFO - VM name : ctest-TestBasicVMVNx-86314943-49590476
2025-04-09 13:05:46,686 - DEBUG - VM ctest-TestBasicVMVNx-86314943-49590476 ID is 5b8e9400-5fcb-4365-b20c-5fdf557a87e6
2025-04-09 13:05:46,716 - DEBUG - VM ctest-TestBasicVMVNx-86314943-49590476 launched on Node cn-jenkins-deploy-platform-ansible-os-3065-1
2025-04-09 13:05:46,943 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/5b8e9400-5fcb-4365-b20c-5fdf557a87e6
2025-04-09 13:05:47,299 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/5b8e9400-5fcb-4365-b20c-5fdf557a87e6
2025-04-09 13:05:47,343 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/afc23839-9b60-41b9-a630-3c4cc8bf74e4
2025-04-09 13:05:50,649 - 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 1018ms')
2025-04-09 13:05:50,649 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-86314943-49590476 failed!
2025-04-09 13:05:50,714 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-86314943:ctest-vn-40900390 is 207.59.136.129 and allocation pool is NOT set
2025-04-09 13:05:52,791 - 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.08 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.582 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.582/1.829/3.076/1.247 ms')
2025-04-09 13:05:52,791 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-86314943-49590476 passed
2025-04-09 13:05:52,957 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-09 13:05:52,958 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-86314943-49590476, IP 207.59.136.131, Port 22
2025-04-09 13:05:53,039 - 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-04-09 13:05:53,194 - DEBUG - VM ctest-TestBasicVMVNx-86314943-49590476 is NOT ready for SSH connections, VM status: ACTIVE
2025-04-09 13:05:58,195 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-09 13:05:58,195 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-86314943-49590476, IP 207.59.136.131, Port 22
2025-04-09 13:05:58,400 - DEBUG - VM ctest-TestBasicVMVNx-86314943-49590476 is ready for SSH connections
2025-04-09 13:05:58,401 - INFO - Waiting for VM ctest-TestBasicVMVNx-86314943-68338659 to be up..
2025-04-09 13:05:58,573 - DEBUG - VM is in ACTIVE state now
2025-04-09 13:05:58,574 - INFO - VM name : ctest-TestBasicVMVNx-86314943-68338659
2025-04-09 13:05:58,787 - DEBUG - VM ctest-TestBasicVMVNx-86314943-68338659 ID is 59b48216-b8dd-4031-939a-1417b57ded41
2025-04-09 13:05:58,788 - DEBUG - VM ctest-TestBasicVMVNx-86314943-68338659 launched on Node cn-jenkins-deploy-platform-ansible-os-3065-1
2025-04-09 13:05:58,927 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/59b48216-b8dd-4031-939a-1417b57ded41
2025-04-09 13:05:58,946 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/77f20f7f-e6d2-44cc-89b6-6802a1792c73
2025-04-09 13:06:00,243 - 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.74 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.513 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.513/2.124/3.735/1.611 ms')
2025-04-09 13:06:00,244 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-86314943-68338659 passed
2025-04-09 13:06:00,414 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-09 13:06:00,414 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-86314943-68338659, IP 207.59.136.132, Port 22
2025-04-09 13:06:00,598 - DEBUG - VM ctest-TestBasicVMVNx-86314943-68338659 is ready for SSH connections
2025-04-09 13:06:00,598 - DEBUG - FILE SIZE = 1303B
2025-04-09 13:06:00,598 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-86314943-49590476 to ctest-TestBasicVMVNx-86314943-68338659 using scp
2025-04-09 13:06:00,599 - 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.38, gateway password: c0ntrail123
2025-04-09 13:06:00,600 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-04-09 13:06:02,689 - DEBUG - 1+0 records in
1+0 records out
2025-04-09 13:06:03,428 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-09 13:06:03,896 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-04-09 13:06:03,896 - DEBUG - ls -l testfile
2025-04-09 13:06:05,840 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 9 07:06 [0;0mtestfile[0m
2025-04-09 13:06:05,840 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-86314943-68338659
2025-04-09 13:06:05,841 - INFO - Deleting VM ctest-TestBasicVMVNx-86314943-68338659
2025-04-09 13:06:06,014 - INFO - Deleting VM ctest-TestBasicVMVNx-86314943-49590476
2025-04-09 13:06:06,163 - INFO - Deleting VN ctest-vn-40900390
2025-04-09 13:06:06,222 - DEBUG - VN b334ef16-b047-43d4-93f3-40d9701186ae still in use: Unable to complete operation on network b334ef16-b047-43d4-93f3-40d9701186ae. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-f1421d88-4fa0-4243-bcd9-2d85a36223a4']
2025-04-09 13:06:06,222 - WARNING - Deleting VN ctest-vn-40900390 failed..Will retry
2025-04-09 13:06:08,475 - DEBUG - Response for deleting network ()
2025-04-09 13:06:08,784 - DEBUG - No XMPP flaps were noticed during the test
2025-04-09 13:06:08,784 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:32]
2025-04-09 13:06:08,785 - INFO - --------------------------------------------------------------------------------
2025-04-09 13:06:09,638 - INFO - Deleted project: ctest-TestBasicVMVNx-86314943, ID : 9bf3f677-459a-41a3-a268-fcda271398d8