2025-01-15 09:09:17,564 - INFO - Domain Default found not creating
2025-01-15 09:09:17,705 - INFO - Project ctest-TestBasicVMVNx-24417360 not found, creating it
2025-01-15 09:09:18,198 - INFO - Created Project:ctest-TestBasicVMVNx-24417360, ID : b707a2f9-6d68-45f8-8d99-5872ce7b0df8
2025-01-15 09:09:19,618 - INFO - ================================================================================
2025-01-15 09:09:19,618 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-01-15 09:09:19,618 - 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-15 09:09:19,883 - DEBUG - Nothing to compare xmpp stats {'10.0.0.17': {'10.20.0.6': '0'}} with
2025-01-15 09:09:19,883 - INFO - Initial checks done. Running the testcase now
2025-01-15 09:09:19,883 - INFO -
2025-01-15 09:09:20,462 - DEBUG - Response for create_network : {'network': {'id': '3c4904b8-a842-432f-ae4a-372efc24291d', 'name': 'ctest-vn-99571835', 'tenant_id': 'b707a2f96d6845f88d995872ce7b0df8', 'project_id': 'b707a2f96d6845f88d995872ce7b0df8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-24417360', 'ctest-vn-99571835'], 'port_security_enabled': True, 'description': ''}}
2025-01-15 09:09:20,625 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ef62da87-a897-425f-8c4a-758001ba7a26', 'name': '', 'tenant_id': 'b707a2f96d6845f88d995872ce7b0df8', 'network_id': '3c4904b8-a842-432f-ae4a-372efc24291d', 'ip_version': 4, 'cidr': '51.122.114.192/26', 'allocation_pools': [{'start': '51.122.114.194', 'end': '51.122.114.254'}], 'gateway_ip': '51.122.114.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '51.122.114.194', 'tags': [], 'project_id': 'b707a2f96d6845f88d995872ce7b0df8'}}
2025-01-15 09:09:20,644 - INFO - Created VN ctest-vn-99571835
2025-01-15 09:09:20,699 - DEBUG - VN ctest-vn-99571835 UUID is 3c4904b8-a842-432f-ae4a-372efc24291d
2025-01-15 09:09:20,873 - DEBUG - Services list from nova: [, , ]
2025-01-15 09:09:21,908 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2636-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2636-1)
2025-01-15 09:09:23,167 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2636-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2636-1)
2025-01-15 09:09:23,167 - INFO - Waiting for VM ctest-TestBasicVMVNx-24417360-87677828 to be up..
2025-01-15 09:09:23,258 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-15 09:09:28,365 - DEBUG - VM is in ACTIVE state now
2025-01-15 09:09:28,366 - INFO - VM name : ctest-TestBasicVMVNx-24417360-87677828
2025-01-15 09:09:28,460 - DEBUG - VM ctest-TestBasicVMVNx-24417360-87677828 ID is f87400d8-5f58-4ecd-953e-be9ca37fae74
2025-01-15 09:09:28,480 - DEBUG - VM ctest-TestBasicVMVNx-24417360-87677828 launched on Node cn-jenkins-deploy-platform-ansible-os-2636-1
2025-01-15 09:09:28,576 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/f87400d8-5f58-4ecd-953e-be9ca37fae74
2025-01-15 09:09:28,874 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/f87400d8-5f58-4ecd-953e-be9ca37fae74
2025-01-15 09:09:28,908 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/f350b589-9a69-4df9-9ee2-0a5351d3fee7
2025-01-15 09:09:32,155 - 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 1007ms')
2025-01-15 09:09:32,156 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-24417360-87677828 failed!
2025-01-15 09:09:32,219 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-24417360:ctest-vn-99571835 is 51.122.114.193 and allocation pool is NOT set
2025-01-15 09:09:34,279 - 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.46 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.26 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.256/3.358/4.461/1.102 ms')
2025-01-15 09:09:34,279 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-24417360-87677828 passed
2025-01-15 09:09:34,435 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-15 09:09:34,435 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-24417360-87677828, IP 51.122.114.195, Port 22
2025-01-15 09:09:34,747 - DEBUG - VM ctest-TestBasicVMVNx-24417360-87677828 is ready for SSH connections
2025-01-15 09:09:34,747 - INFO - Waiting for VM ctest-TestBasicVMVNx-24417360-73688560 to be up..
2025-01-15 09:09:34,828 - DEBUG - VM is in ACTIVE state now
2025-01-15 09:09:34,829 - INFO - VM name : ctest-TestBasicVMVNx-24417360-73688560
2025-01-15 09:09:34,908 - DEBUG - VM ctest-TestBasicVMVNx-24417360-73688560 ID is ba6eee3f-c72e-4d26-8074-c497743f7eb0
2025-01-15 09:09:34,908 - DEBUG - VM ctest-TestBasicVMVNx-24417360-73688560 launched on Node cn-jenkins-deploy-platform-ansible-os-2636-1
2025-01-15 09:09:34,993 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/ba6eee3f-c72e-4d26-8074-c497743f7eb0
2025-01-15 09:09:35,005 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/a2f3921f-d691-46c2-9e59-3bfdac4167fe
2025-01-15 09:09:36,261 - 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.09 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.555 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.555/1.823/3.092/1.268 ms')
2025-01-15 09:09:36,261 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-24417360-73688560 passed
2025-01-15 09:09:36,419 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-15 09:09:36,419 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-24417360-73688560, IP 51.122.114.196, Port 22
2025-01-15 09:09:36,589 - DEBUG - VM ctest-TestBasicVMVNx-24417360-73688560 is ready for SSH connections
2025-01-15 09:09:36,590 - DEBUG - FILE SIZE = 1303B
2025-01-15 09:09:36,590 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-24417360-87677828 to ctest-TestBasicVMVNx-24417360-73688560 using scp
2025-01-15 09:09:36,590 - 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-15 09:09:36,591 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-01-15 09:09:38,536 - DEBUG - 1+0 records in
1+0 records out
2025-01-15 09:09:39,307 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-15 09:09:39,636 - 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-15 09:09:39,636 - DEBUG - ls -l testfile
2025-01-15 09:09:41,276 - DEBUG - -rw------- 1 cirros cirros 1303 Jan 15 02:09 [0;0mtestfile[0m
2025-01-15 09:09:41,277 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-24417360-73688560
2025-01-15 09:09:41,277 - INFO - Deleting VM ctest-TestBasicVMVNx-24417360-73688560
2025-01-15 09:09:41,351 - INFO - Deleting VM ctest-TestBasicVMVNx-24417360-87677828
2025-01-15 09:09:41,419 - INFO - Deleting VN ctest-vn-99571835
2025-01-15 09:09:41,464 - DEBUG - VN 3c4904b8-a842-432f-ae4a-372efc24291d still in use: Unable to complete operation on network 3c4904b8-a842-432f-ae4a-372efc24291d. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-1e0ca5c7-50c3-4062-bf1a-8314ccd32bb4']
2025-01-15 09:09:41,465 - WARNING - Deleting VN ctest-vn-99571835 failed..Will retry
2025-01-15 09:09:43,591 - DEBUG - Response for deleting network ()
2025-01-15 09:09:43,847 - DEBUG - No XMPP flaps were noticed during the test
2025-01-15 09:09:43,848 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-01-15 09:09:43,848 - INFO - --------------------------------------------------------------------------------
2025-01-15 09:09:44,541 - INFO - Deleted project: ctest-TestBasicVMVNx-24417360, ID : b707a2f9-6d68-45f8-8d99-5872ce7b0df8