2025-02-10 17:42:21,019 - INFO - Domain Default found not creating
2025-02-10 17:42:21,158 - INFO - Project ctest-TestBasicVMVNx-86408813 not found, creating it
2025-02-10 17:42:21,607 - INFO - Created Project:ctest-TestBasicVMVNx-86408813, ID : 2353d433-1096-4d21-9387-4871a5e9e5d4
2025-02-10 17:42:23,015 - INFO - ================================================================================
2025-02-10 17:42:23,015 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-02-10 17:42:23,015 - 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-10 17:42:23,269 - DEBUG - Nothing to compare xmpp stats {'10.0.0.31': {'10.20.0.18': '0'}} with
2025-02-10 17:42:23,269 - INFO - Initial checks done. Running the testcase now
2025-02-10 17:42:23,269 - INFO -
2025-02-10 17:42:23,796 - DEBUG - Response for create_network : {'network': {'id': '0da52e51-b0ae-4a75-8bf9-1649a171f133', 'name': 'ctest-vn-88144008', 'tenant_id': '2353d43310964d2193874871a5e9e5d4', 'project_id': '2353d43310964d2193874871a5e9e5d4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-86408813', 'ctest-vn-88144008'], 'port_security_enabled': True, 'description': ''}}
2025-02-10 17:42:23,974 - DEBUG - Response for create_subnet : {'subnet': {'id': '2e217cf9-455e-4a7f-9e9e-c01e4099a077', 'name': '', 'tenant_id': '2353d43310964d2193874871a5e9e5d4', 'network_id': '0da52e51-b0ae-4a75-8bf9-1649a171f133', 'ip_version': 4, 'cidr': '151.145.219.0/26', 'allocation_pools': [{'start': '151.145.219.2', 'end': '151.145.219.62'}], 'gateway_ip': '151.145.219.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '151.145.219.2', 'tags': [], 'project_id': '2353d43310964d2193874871a5e9e5d4'}}
2025-02-10 17:42:23,992 - INFO - Created VN ctest-vn-88144008
2025-02-10 17:42:24,044 - DEBUG - VN ctest-vn-88144008 UUID is 0da52e51-b0ae-4a75-8bf9-1649a171f133
2025-02-10 17:42:24,209 - DEBUG - Services list from nova: [, , ]
2025-02-10 17:42:25,194 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2716-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2716-1)
2025-02-10 17:42:26,316 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2716-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2716-1)
2025-02-10 17:42:26,316 - INFO - Waiting for VM ctest-TestBasicVMVNx-86408813-84226799 to be up..
2025-02-10 17:42:26,401 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-02-10 17:42:31,480 - DEBUG - VM is in ACTIVE state now
2025-02-10 17:42:31,481 - INFO - VM name : ctest-TestBasicVMVNx-86408813-84226799
2025-02-10 17:42:31,566 - DEBUG - VM ctest-TestBasicVMVNx-86408813-84226799 ID is 87f100ff-dd73-4ba5-8407-addef16227c8
2025-02-10 17:42:31,585 - DEBUG - VM ctest-TestBasicVMVNx-86408813-84226799 launched on Node cn-jenkins-deploy-platform-ansible-os-2716-1
2025-02-10 17:42:31,653 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/87f100ff-dd73-4ba5-8407-addef16227c8
2025-02-10 17:42:31,942 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/87f100ff-dd73-4ba5-8407-addef16227c8
2025-02-10 17:42:31,974 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/45704cfa-520e-4ba4-b605-5c2805bced11
2025-02-10 17:42:35,221 - 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-02-10 17:42:35,221 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-86408813-84226799 failed!
2025-02-10 17:42:35,280 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-86408813:ctest-vn-88144008 is 151.145.219.1 and allocation pool is NOT set
2025-02-10 17:42:37,343 - 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.382 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.382/1.732/3.083/1.350 ms')
2025-02-10 17:42:37,343 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-86408813-84226799 passed
2025-02-10 17:42:37,496 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-10 17:42:37,496 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-86408813-84226799, IP 151.145.219.3, Port 22
2025-02-10 17:42:37,651 - DEBUG - VM ctest-TestBasicVMVNx-86408813-84226799 is ready for SSH connections
2025-02-10 17:42:37,652 - INFO - Waiting for VM ctest-TestBasicVMVNx-86408813-80943146 to be up..
2025-02-10 17:42:37,723 - DEBUG - VM is in ACTIVE state now
2025-02-10 17:42:37,723 - INFO - VM name : ctest-TestBasicVMVNx-86408813-80943146
2025-02-10 17:42:37,794 - DEBUG - VM ctest-TestBasicVMVNx-86408813-80943146 ID is e448be82-1251-4402-8c28-8546de69e9a4
2025-02-10 17:42:37,794 - DEBUG - VM ctest-TestBasicVMVNx-86408813-80943146 launched on Node cn-jenkins-deploy-platform-ansible-os-2716-1
2025-02-10 17:42:37,865 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/e448be82-1251-4402-8c28-8546de69e9a4
2025-02-10 17:42:37,873 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/503f4ba7-6315-4ca9-b3c7-7961bd9da89c
2025-02-10 17:42:39,111 - 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.446 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.446/1.767/3.088/1.321 ms')
2025-02-10 17:42:39,111 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-86408813-80943146 passed
2025-02-10 17:42:39,264 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-10 17:42:39,264 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-86408813-80943146, IP 151.145.219.4, Port 22
2025-02-10 17:42:39,415 - DEBUG - VM ctest-TestBasicVMVNx-86408813-80943146 is ready for SSH connections
2025-02-10 17:42:39,415 - DEBUG - FILE SIZE = 1303B
2025-02-10 17:42:39,415 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-86408813-84226799 to ctest-TestBasicVMVNx-86408813-80943146 using scp
2025-02-10 17:42:39,416 - 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.31, gateway password: c0ntrail123
2025-02-10 17:42:39,416 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-02-10 17:42:41,292 - DEBUG - 1+0 records in
1+0 records out
2025-02-10 17:42:41,889 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-10 17:42:42,203 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.31, gateway password: c0ntrail123
2025-02-10 17:42:42,204 - DEBUG - ls -l testfile
2025-02-10 17:42:43,773 - DEBUG - -rw------- 1 cirros cirros 1303 Feb 10 10:42 [0;0mtestfile[0m
2025-02-10 17:42:43,773 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-86408813-80943146
2025-02-10 17:42:43,773 - INFO - Deleting VM ctest-TestBasicVMVNx-86408813-80943146
2025-02-10 17:42:43,835 - INFO - Deleting VM ctest-TestBasicVMVNx-86408813-84226799
2025-02-10 17:42:43,898 - INFO - Deleting VN ctest-vn-88144008
2025-02-10 17:42:43,935 - DEBUG - VN 0da52e51-b0ae-4a75-8bf9-1649a171f133 still in use: Unable to complete operation on network 0da52e51-b0ae-4a75-8bf9-1649a171f133. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-55e09a36-7022-4716-b231-5d66b8c94490']
2025-02-10 17:42:43,936 - WARNING - Deleting VN ctest-vn-88144008 failed..Will retry
2025-02-10 17:42:46,038 - DEBUG - Response for deleting network ()
2025-02-10 17:42:46,298 - DEBUG - No XMPP flaps were noticed during the test
2025-02-10 17:42:46,298 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-02-10 17:42:46,298 - INFO - --------------------------------------------------------------------------------
2025-02-10 17:42:46,965 - INFO - Deleted project: ctest-TestBasicVMVNx-86408813, ID : 2353d433-1096-4d21-9387-4871a5e9e5d4