2025-02-04 20:56:14,849 - INFO - Domain Default found not creating
2025-02-04 20:56:14,998 - INFO - Project ctest-TestBasicVMVNx-44391450 not found, creating it
2025-02-04 20:56:15,452 - INFO - Created Project:ctest-TestBasicVMVNx-44391450, ID : f6b1443b-1502-4a9d-9c7e-fa3a140861f0
2025-02-04 20:56:16,829 - INFO - ================================================================================
2025-02-04 20:56:16,829 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-02-04 20:56:16,829 - 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-04 20:56:17,079 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.17': '0'}} with
2025-02-04 20:56:17,079 - INFO - Initial checks done. Running the testcase now
2025-02-04 20:56:17,081 - INFO -
2025-02-04 20:56:17,659 - DEBUG - Response for create_network : {'network': {'id': 'c0009378-f21c-4403-96e8-357542883800', 'name': 'ctest-vn-97309217', 'tenant_id': 'f6b1443b15024a9d9c7efa3a140861f0', 'project_id': 'f6b1443b15024a9d9c7efa3a140861f0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-44391450', 'ctest-vn-97309217'], 'port_security_enabled': True, 'description': ''}}
2025-02-04 20:56:17,849 - DEBUG - Response for create_subnet : {'subnet': {'id': '362ac734-09c7-4e3f-83c3-c916e45dd74e', 'name': '', 'tenant_id': 'f6b1443b15024a9d9c7efa3a140861f0', 'network_id': 'c0009378-f21c-4403-96e8-357542883800', 'ip_version': 4, 'cidr': '204.228.16.128/26', 'allocation_pools': [{'start': '204.228.16.130', 'end': '204.228.16.190'}], 'gateway_ip': '204.228.16.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '204.228.16.130', 'tags': [], 'project_id': 'f6b1443b15024a9d9c7efa3a140861f0'}}
2025-02-04 20:56:17,868 - INFO - Created VN ctest-vn-97309217
2025-02-04 20:56:17,920 - DEBUG - VN ctest-vn-97309217 UUID is c0009378-f21c-4403-96e8-357542883800
2025-02-04 20:56:18,091 - DEBUG - Services list from nova: [, , ]
2025-02-04 20:56:19,060 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2686-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2686-1)
2025-02-04 20:56:20,190 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2686-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2686-1)
2025-02-04 20:56:20,191 - INFO - Waiting for VM ctest-TestBasicVMVNx-44391450-58646305 to be up..
2025-02-04 20:56:20,264 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-02-04 20:56:25,343 - DEBUG - VM is in ACTIVE state now
2025-02-04 20:56:25,343 - INFO - VM name : ctest-TestBasicVMVNx-44391450-58646305
2025-02-04 20:56:25,423 - DEBUG - VM ctest-TestBasicVMVNx-44391450-58646305 ID is 8fa41084-9724-4d9f-9e67-c39b8c55a318
2025-02-04 20:56:25,443 - DEBUG - VM ctest-TestBasicVMVNx-44391450-58646305 launched on Node cn-jenkins-deploy-platform-ansible-os-2686-1
2025-02-04 20:56:25,516 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/8fa41084-9724-4d9f-9e67-c39b8c55a318
2025-02-04 20:56:25,816 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/8fa41084-9724-4d9f-9e67-c39b8c55a318
2025-02-04 20:56:25,847 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/b6943fcd-2bec-40aa-8083-1a7e4fa4778e
2025-02-04 20:56:29,118 - 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 1035ms')
2025-02-04 20:56:29,119 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-44391450-58646305 failed!
2025-02-04 20:56:29,176 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-44391450:ctest-vn-97309217 is 204.228.16.129 and allocation pool is NOT set
2025-02-04 20:56:31,239 - 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.85 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.744 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.744/2.295/3.847/1.551 ms')
2025-02-04 20:56:31,239 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-44391450-58646305 passed
2025-02-04 20:56:31,396 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-04 20:56:31,396 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-44391450-58646305, IP 204.228.16.131, Port 22
2025-02-04 20:56:31,562 - DEBUG - VM ctest-TestBasicVMVNx-44391450-58646305 is ready for SSH connections
2025-02-04 20:56:31,562 - INFO - Waiting for VM ctest-TestBasicVMVNx-44391450-16409982 to be up..
2025-02-04 20:56:31,635 - DEBUG - VM is in ACTIVE state now
2025-02-04 20:56:31,635 - INFO - VM name : ctest-TestBasicVMVNx-44391450-16409982
2025-02-04 20:56:31,725 - DEBUG - VM ctest-TestBasicVMVNx-44391450-16409982 ID is d70bf13d-e4e6-4972-8672-53cb1daa393d
2025-02-04 20:56:31,726 - DEBUG - VM ctest-TestBasicVMVNx-44391450-16409982 launched on Node cn-jenkins-deploy-platform-ansible-os-2686-1
2025-02-04 20:56:31,813 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/d70bf13d-e4e6-4972-8672-53cb1daa393d
2025-02-04 20:56:31,822 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/8a47b9fe-501a-4b35-b9d5-f646ac4f1a93
2025-02-04 20:56:33,060 - 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=2.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.400 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.400/1.579/2.759/1.179 ms')
2025-02-04 20:56:33,060 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-44391450-16409982 passed
2025-02-04 20:56:33,208 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-04 20:56:33,208 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-44391450-16409982, IP 204.228.16.132, Port 22
2025-02-04 20:56:33,379 - DEBUG - VM ctest-TestBasicVMVNx-44391450-16409982 is ready for SSH connections
2025-02-04 20:56:33,379 - DEBUG - FILE SIZE = 1303B
2025-02-04 20:56:33,380 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-44391450-58646305 to ctest-TestBasicVMVNx-44391450-16409982 using scp
2025-02-04 20:56:33,380 - 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.23, gateway password: c0ntrail123
2025-02-04 20:56:33,380 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-02-04 20:56:35,245 - DEBUG - 1+0 records in
1+0 records out
2025-02-04 20:56:36,016 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-04 20:56:36,336 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123
2025-02-04 20:56:36,337 - DEBUG - ls -l testfile
2025-02-04 20:56:37,901 - DEBUG - -rw------- 1 cirros cirros 1303 Feb 4 13:56 [0;0mtestfile[0m
2025-02-04 20:56:37,901 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-44391450-16409982
2025-02-04 20:56:37,902 - INFO - Deleting VM ctest-TestBasicVMVNx-44391450-16409982
2025-02-04 20:56:37,966 - INFO - Deleting VM ctest-TestBasicVMVNx-44391450-58646305
2025-02-04 20:56:38,035 - INFO - Deleting VN ctest-vn-97309217
2025-02-04 20:56:38,072 - DEBUG - VN c0009378-f21c-4403-96e8-357542883800 still in use: Unable to complete operation on network c0009378-f21c-4403-96e8-357542883800. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-e5175890-03ea-41b8-a044-167be34d19d5']
2025-02-04 20:56:38,072 - WARNING - Deleting VN ctest-vn-97309217 failed..Will retry
2025-02-04 20:56:40,174 - DEBUG - Response for deleting network ()
2025-02-04 20:56:40,437 - DEBUG - No XMPP flaps were noticed during the test
2025-02-04 20:56:40,437 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-02-04 20:56:40,438 - INFO - --------------------------------------------------------------------------------
2025-02-04 20:56:41,110 - INFO - Deleted project: ctest-TestBasicVMVNx-44391450, ID : f6b1443b-1502-4a9d-9c7e-fa3a140861f0