2025-02-11 09:33:05,650 - INFO - Domain Default found not creating
2025-02-11 09:33:05,797 - INFO - Project ctest-TestBasicVMVNx-97332362 not found, creating it
2025-02-11 09:33:06,251 - INFO - Created Project:ctest-TestBasicVMVNx-97332362, ID : 86fb9550-3370-45d7-80e1-8b8559f7d665
2025-02-11 09:33:07,652 - INFO - ================================================================================
2025-02-11 09:33:07,653 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-02-11 09:33:07,653 - 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-11 09:33:07,908 - DEBUG - Nothing to compare xmpp stats {'10.0.0.30': {'10.20.0.7': '0'}} with
2025-02-11 09:33:07,908 - INFO - Initial checks done. Running the testcase now
2025-02-11 09:33:07,908 - INFO -
2025-02-11 09:33:08,456 - DEBUG - Response for create_network : {'network': {'id': '9690ad30-5ede-457d-a1bc-4d7fafe98d6e', 'name': 'ctest-vn-63888868', 'tenant_id': '86fb9550337045d780e18b8559f7d665', 'project_id': '86fb9550337045d780e18b8559f7d665', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-97332362', 'ctest-vn-63888868'], 'port_security_enabled': True, 'description': ''}}
2025-02-11 09:33:08,618 - DEBUG - Response for create_subnet : {'subnet': {'id': '682d9ec0-4431-4dc9-a72a-b12a5c5aada2', 'name': '', 'tenant_id': '86fb9550337045d780e18b8559f7d665', 'network_id': '9690ad30-5ede-457d-a1bc-4d7fafe98d6e', 'ip_version': 4, 'cidr': '46.79.236.64/26', 'allocation_pools': [{'start': '46.79.236.66', 'end': '46.79.236.126'}], 'gateway_ip': '46.79.236.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '46.79.236.66', 'tags': [], 'project_id': '86fb9550337045d780e18b8559f7d665'}}
2025-02-11 09:33:08,636 - INFO - Created VN ctest-vn-63888868
2025-02-11 09:33:08,690 - DEBUG - VN ctest-vn-63888868 UUID is 9690ad30-5ede-457d-a1bc-4d7fafe98d6e
2025-02-11 09:33:08,955 - DEBUG - Services list from nova: [, , ]
2025-02-11 09:33:09,960 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2718-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2718-1)
2025-02-11 09:33:11,098 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2718-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2718-1)
2025-02-11 09:33:11,098 - INFO - Waiting for VM ctest-TestBasicVMVNx-97332362-89278362 to be up..
2025-02-11 09:33:11,180 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-02-11 09:33:16,262 - DEBUG - VM is in ACTIVE state now
2025-02-11 09:33:16,262 - INFO - VM name : ctest-TestBasicVMVNx-97332362-89278362
2025-02-11 09:33:16,339 - DEBUG - VM ctest-TestBasicVMVNx-97332362-89278362 ID is ac553de5-0bb2-469c-b331-258fc3373d48
2025-02-11 09:33:16,357 - DEBUG - VM ctest-TestBasicVMVNx-97332362-89278362 launched on Node cn-jenkins-deploy-platform-ansible-os-2718-1
2025-02-11 09:33:16,444 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/ac553de5-0bb2-469c-b331-258fc3373d48
2025-02-11 09:33:16,734 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/ac553de5-0bb2-469c-b331-258fc3373d48
2025-02-11 09:33:16,765 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/ee834813-d8e7-4e0f-9f8e-b79e0e15ab38
2025-02-11 09:33:20,028 - 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 1015ms')
2025-02-11 09:33:20,028 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-97332362-89278362 failed!
2025-02-11 09:33:20,087 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-97332362:ctest-vn-63888868 is 46.79.236.65 and allocation pool is NOT set
2025-02-11 09:33:22,153 - 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=5.61 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.369 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 = 0.369/2.991/5.613/2.622 ms')
2025-02-11 09:33:22,153 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-97332362-89278362 passed
2025-02-11 09:33:22,302 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-11 09:33:22,302 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-97332362-89278362, IP 46.79.236.67, Port 22
2025-02-11 09:33:22,458 - DEBUG - VM ctest-TestBasicVMVNx-97332362-89278362 is ready for SSH connections
2025-02-11 09:33:22,458 - INFO - Waiting for VM ctest-TestBasicVMVNx-97332362-00536810 to be up..
2025-02-11 09:33:22,531 - DEBUG - VM is in ACTIVE state now
2025-02-11 09:33:22,531 - INFO - VM name : ctest-TestBasicVMVNx-97332362-00536810
2025-02-11 09:33:22,604 - DEBUG - VM ctest-TestBasicVMVNx-97332362-00536810 ID is 3ce7da3d-1a6c-4128-a948-db5605dc77be
2025-02-11 09:33:22,604 - DEBUG - VM ctest-TestBasicVMVNx-97332362-00536810 launched on Node cn-jenkins-deploy-platform-ansible-os-2718-1
2025-02-11 09:33:22,678 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/3ce7da3d-1a6c-4128-a948-db5605dc77be
2025-02-11 09:33:22,688 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/7e95f94e-26af-431e-92d8-e4cd13d53c7a
2025-02-11 09:33:23,926 - 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.13 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.476 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.476/1.804/3.132/1.328 ms')
2025-02-11 09:33:23,926 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-97332362-00536810 passed
2025-02-11 09:33:24,078 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-11 09:33:24,078 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-97332362-00536810, IP 46.79.236.68, Port 22
2025-02-11 09:33:24,237 - DEBUG - VM ctest-TestBasicVMVNx-97332362-00536810 is ready for SSH connections
2025-02-11 09:33:24,238 - DEBUG - FILE SIZE = 1303B
2025-02-11 09:33:24,238 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-97332362-89278362 to ctest-TestBasicVMVNx-97332362-00536810 using scp
2025-02-11 09:33:24,239 - 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.30, gateway password: c0ntrail123
2025-02-11 09:33:24,239 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-02-11 09:33:26,145 - DEBUG - 1+0 records in
1+0 records out
2025-02-11 09:33:26,746 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-11 09:33:27,090 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.30, gateway password: c0ntrail123
2025-02-11 09:33:27,091 - DEBUG - ls -l testfile
2025-02-11 09:33:28,656 - DEBUG - -rw------- 1 cirros cirros 1303 Feb 11 02:33 [0;0mtestfile[0m
2025-02-11 09:33:28,656 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-97332362-00536810
2025-02-11 09:33:28,656 - INFO - Deleting VM ctest-TestBasicVMVNx-97332362-00536810
2025-02-11 09:33:28,726 - INFO - Deleting VM ctest-TestBasicVMVNx-97332362-89278362
2025-02-11 09:33:28,795 - INFO - Deleting VN ctest-vn-63888868
2025-02-11 09:33:28,832 - DEBUG - VN 9690ad30-5ede-457d-a1bc-4d7fafe98d6e still in use: Unable to complete operation on network 9690ad30-5ede-457d-a1bc-4d7fafe98d6e. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-8b7669a8-1c38-4c7f-8f8c-2b4aeafb2cc9']
2025-02-11 09:33:28,833 - WARNING - Deleting VN ctest-vn-63888868 failed..Will retry
2025-02-11 09:33:30,925 - DEBUG - Response for deleting network ()
2025-02-11 09:33:31,188 - DEBUG - No XMPP flaps were noticed during the test
2025-02-11 09:33:31,189 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-02-11 09:33:31,189 - INFO - --------------------------------------------------------------------------------
2025-02-11 09:33:31,850 - INFO - Deleted project: ctest-TestBasicVMVNx-97332362, ID : 86fb9550-3370-45d7-80e1-8b8559f7d665