2025-01-02 02:29:46,749 - INFO - Domain Default found not creating
2025-01-02 02:29:46,952 - INFO - Project ctest-TestBasicVMVNx-01715248 not found, creating it
2025-01-02 02:29:47,463 - INFO - Created Project:ctest-TestBasicVMVNx-01715248, ID : 45565fab-e6d0-41ae-bb87-91e5ccb84d01
2025-01-02 02:29:49,053 - INFO - ================================================================================
2025-01-02 02:29:49,053 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-01-02 02:29:49,053 - 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-02 02:29:49,309 - DEBUG - Nothing to compare xmpp stats {'10.0.0.35': {'10.0.0.35': '0'}} with
2025-01-02 02:29:49,309 - INFO - Initial checks done. Running the testcase now
2025-01-02 02:29:49,309 - INFO -
2025-01-02 02:29:49,913 - DEBUG - Response for create_network : {'network': {'id': '181a3b34-8b97-44d0-8545-cd6de88ae7f8', 'name': 'ctest-vn-24932916', 'tenant_id': '45565fabe6d041aebb8791e5ccb84d01', 'project_id': '45565fabe6d041aebb8791e5ccb84d01', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-01715248', 'ctest-vn-24932916'], 'port_security_enabled': True, 'description': ''}}
2025-01-02 02:29:50,145 - DEBUG - Response for create_subnet : {'subnet': {'id': '54e7ee9a-1581-492b-940a-80ef2db94045', 'name': '', 'tenant_id': '45565fabe6d041aebb8791e5ccb84d01', 'network_id': '181a3b34-8b97-44d0-8545-cd6de88ae7f8', 'ip_version': 4, 'cidr': '149.37.164.0/26', 'allocation_pools': [{'start': '149.37.164.2', 'end': '149.37.164.62'}], 'gateway_ip': '149.37.164.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '149.37.164.2', 'tags': [], 'project_id': '45565fabe6d041aebb8791e5ccb84d01'}}
2025-01-02 02:29:50,165 - INFO - Created VN ctest-vn-24932916
2025-01-02 02:29:50,220 - DEBUG - VN ctest-vn-24932916 UUID is 181a3b34-8b97-44d0-8545-cd6de88ae7f8
2025-01-02 02:29:50,392 - DEBUG - Services list from nova: [, , ]
2025-01-02 02:29:51,505 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2509-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2509-1)
2025-01-02 02:29:52,964 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2509-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2509-1)
2025-01-02 02:29:52,965 - INFO - Waiting for VM ctest-TestBasicVMVNx-01715248-58458357 to be up..
2025-01-02 02:29:53,064 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-02 02:29:58,173 - DEBUG - VM is in ACTIVE state now
2025-01-02 02:29:58,173 - INFO - VM name : ctest-TestBasicVMVNx-01715248-58458357
2025-01-02 02:29:58,257 - DEBUG - VM ctest-TestBasicVMVNx-01715248-58458357 ID is c30f5926-c4a8-4b46-8b01-3eed1e051f7d
2025-01-02 02:29:58,278 - DEBUG - VM ctest-TestBasicVMVNx-01715248-58458357 launched on Node cn-jenkins-deploy-platform-ansible-os-2509-1.
2025-01-02 02:29:58,362 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/c30f5926-c4a8-4b46-8b01-3eed1e051f7d
2025-01-02 02:29:58,704 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/c30f5926-c4a8-4b46-8b01-3eed1e051f7d
2025-01-02 02:29:58,750 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine-interface/9c60da35-097e-45f8-bf6d-796e60fa1776
2025-01-02 02:30:02,009 - 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 1014ms')
2025-01-02 02:30:02,009 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-01715248-58458357 failed!
2025-01-02 02:30:02,075 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-01715248:ctest-vn-24932916 is 149.37.164.1 and allocation pool is NOT set
2025-01-02 02:30:04,142 - 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.89 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.927 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.927/2.906/4.886/1.979 ms')
2025-01-02 02:30:04,142 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-01715248-58458357 passed
2025-01-02 02:30:04,307 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-02 02:30:04,307 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-01715248-58458357, IP 149.37.164.3, Port 22
2025-01-02 02:30:04,481 - DEBUG - VM ctest-TestBasicVMVNx-01715248-58458357 is ready for SSH connections
2025-01-02 02:30:04,481 - INFO - Waiting for VM ctest-TestBasicVMVNx-01715248-17402126 to be up..
2025-01-02 02:30:04,582 - DEBUG - VM is in ACTIVE state now
2025-01-02 02:30:04,582 - INFO - VM name : ctest-TestBasicVMVNx-01715248-17402126
2025-01-02 02:30:04,685 - DEBUG - VM ctest-TestBasicVMVNx-01715248-17402126 ID is bcfcb6f7-5a99-4bf4-a72b-83083ed6ad6f
2025-01-02 02:30:04,685 - DEBUG - VM ctest-TestBasicVMVNx-01715248-17402126 launched on Node cn-jenkins-deploy-platform-ansible-os-2509-1.
2025-01-02 02:30:04,881 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/bcfcb6f7-5a99-4bf4-a72b-83083ed6ad6f
2025-01-02 02:30:04,895 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine-interface/a4288bbb-b89d-492a-91f4-17654017ff96
2025-01-02 02:30:06,151 - 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.72 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.498 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.498/2.108/3.719/1.610 ms')
2025-01-02 02:30:06,151 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-01715248-17402126 passed
2025-01-02 02:30:06,307 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-02 02:30:06,307 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-01715248-17402126, IP 149.37.164.4, Port 22
2025-01-02 02:30:06,463 - DEBUG - VM ctest-TestBasicVMVNx-01715248-17402126 is ready for SSH connections
2025-01-02 02:30:06,463 - DEBUG - FILE SIZE = 1303B
2025-01-02 02:30:06,463 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-01715248-58458357 to ctest-TestBasicVMVNx-01715248-17402126 using scp
2025-01-02 02:30:06,464 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-02 02:30:06,470 - 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.35, gateway password: c0ntrail123
2025-01-02 02:30:06,471 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-01-02 02:30:08,471 - DEBUG - 1+0 records in
1+0 records out
2025-01-02 02:30:09,154 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-02 02:30:09,508 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.35, gateway password: c0ntrail123
2025-01-02 02:30:09,508 - DEBUG - ls -l testfile
2025-01-02 02:30:11,135 - DEBUG - -rw------- 1 cirros cirros 1303 Jan 1 19:30 [0;0mtestfile[0m
2025-01-02 02:30:11,136 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-01715248-17402126
2025-01-02 02:30:11,136 - INFO - Deleting VM ctest-TestBasicVMVNx-01715248-17402126
2025-01-02 02:30:11,216 - INFO - Deleting VM ctest-TestBasicVMVNx-01715248-58458357
2025-01-02 02:30:11,286 - INFO - Deleting VN ctest-vn-24932916
2025-01-02 02:30:11,328 - DEBUG - VN 181a3b34-8b97-44d0-8545-cd6de88ae7f8 still in use: Unable to complete operation on network 181a3b34-8b97-44d0-8545-cd6de88ae7f8. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-e6bf2311-17cd-4dee-a260-99c99554d441']
2025-01-02 02:30:11,328 - WARNING - Deleting VN ctest-vn-24932916 failed..Will retry
2025-01-02 02:30:13,482 - DEBUG - Response for deleting network ()
2025-01-02 02:30:13,750 - DEBUG - No XMPP flaps were noticed during the test
2025-01-02 02:30:13,751 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-01-02 02:30:13,751 - INFO - --------------------------------------------------------------------------------
2025-01-02 02:30:14,535 - INFO - Deleted project: ctest-TestBasicVMVNx-01715248, ID : 45565fab-e6d0-41ae-bb87-91e5ccb84d01