2025-02-05 12:22:36,208 - INFO - Domain Default found not creating
2025-02-05 12:22:36,364 - INFO - Project ctest-TestBasicVMVNx-76878781 not found, creating it
2025-02-05 12:22:36,820 - INFO - Created Project:ctest-TestBasicVMVNx-76878781, ID : f0e89823-002e-42b1-932c-433dac5c68e8
2025-02-05 12:22:38,229 - INFO - ================================================================================
2025-02-05 12:22:38,229 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-02-05 12:22:38,229 - 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-05 12:22:38,485 - DEBUG - Nothing to compare xmpp stats {'10.0.0.42': {'10.20.0.22': '0'}} with
2025-02-05 12:22:38,486 - INFO - Initial checks done. Running the testcase now
2025-02-05 12:22:38,486 - INFO -
2025-02-05 12:22:39,040 - DEBUG - Response for create_network : {'network': {'id': '0217abfb-7a36-4668-bf33-5d5308efda1c', 'name': 'ctest-vn-99193551', 'tenant_id': 'f0e89823002e42b1932c433dac5c68e8', 'project_id': 'f0e89823002e42b1932c433dac5c68e8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-76878781', 'ctest-vn-99193551'], 'port_security_enabled': True, 'description': ''}}
2025-02-05 12:22:39,262 - DEBUG - Response for create_subnet : {'subnet': {'id': '21365be3-808c-4c69-b17b-c5ab06940a02', 'name': '', 'tenant_id': 'f0e89823002e42b1932c433dac5c68e8', 'network_id': '0217abfb-7a36-4668-bf33-5d5308efda1c', 'ip_version': 4, 'cidr': '179.31.45.0/26', 'allocation_pools': [{'start': '179.31.45.2', 'end': '179.31.45.62'}], 'gateway_ip': '179.31.45.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '179.31.45.2', 'tags': [], 'project_id': 'f0e89823002e42b1932c433dac5c68e8'}}
2025-02-05 12:22:39,280 - INFO - Created VN ctest-vn-99193551
2025-02-05 12:22:39,335 - DEBUG - VN ctest-vn-99193551 UUID is 0217abfb-7a36-4668-bf33-5d5308efda1c
2025-02-05 12:22:39,545 - DEBUG - Services list from nova: [, , ]
2025-02-05 12:22:40,554 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2691-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2691-1)
2025-02-05 12:22:41,679 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2691-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2691-1)
2025-02-05 12:22:41,681 - INFO - Waiting for VM ctest-TestBasicVMVNx-76878781-54252875 to be up..
2025-02-05 12:22:41,759 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-02-05 12:22:46,853 - DEBUG - VM is in ACTIVE state now
2025-02-05 12:22:46,853 - INFO - VM name : ctest-TestBasicVMVNx-76878781-54252875
2025-02-05 12:22:46,944 - DEBUG - VM ctest-TestBasicVMVNx-76878781-54252875 ID is b268517c-a2c4-4e2a-80a7-71e802cd8385
2025-02-05 12:22:46,963 - DEBUG - VM ctest-TestBasicVMVNx-76878781-54252875 launched on Node cn-jenkins-deploy-platform-ansible-os-2691-1
2025-02-05 12:22:47,049 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/b268517c-a2c4-4e2a-80a7-71e802cd8385
2025-02-05 12:22:47,345 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/b268517c-a2c4-4e2a-80a7-71e802cd8385
2025-02-05 12:22:47,377 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/311a63d9-5ed6-47ca-8d0b-2eb105508014
2025-02-05 12:22:50,642 - 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 1025ms')
2025-02-05 12:22:50,643 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-76878781-54252875 failed!
2025-02-05 12:22:50,699 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-76878781:ctest-vn-99193551 is 179.31.45.1 and allocation pool is NOT set
2025-02-05 12:22:52,757 - 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.24 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.475 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.475/2.356/4.238/1.881 ms')
2025-02-05 12:22:52,758 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-76878781-54252875 passed
2025-02-05 12:22:52,911 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-05 12:22:52,911 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-76878781-54252875, IP 179.31.45.3, Port 22
2025-02-05 12:22:53,074 - DEBUG - VM ctest-TestBasicVMVNx-76878781-54252875 is ready for SSH connections
2025-02-05 12:22:53,074 - INFO - Waiting for VM ctest-TestBasicVMVNx-76878781-76977115 to be up..
2025-02-05 12:22:53,151 - DEBUG - VM is in ACTIVE state now
2025-02-05 12:22:53,151 - INFO - VM name : ctest-TestBasicVMVNx-76878781-76977115
2025-02-05 12:22:53,235 - DEBUG - VM ctest-TestBasicVMVNx-76878781-76977115 ID is 62e0083f-8884-441a-8784-a943e15cbc11
2025-02-05 12:22:53,235 - DEBUG - VM ctest-TestBasicVMVNx-76878781-76977115 launched on Node cn-jenkins-deploy-platform-ansible-os-2691-1
2025-02-05 12:22:53,318 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/62e0083f-8884-441a-8784-a943e15cbc11
2025-02-05 12:22:53,327 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/0d30461f-c254-4065-afa9-239bb170d266
2025-02-05 12:22:54,576 - 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.08 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.363 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.363/1.722/3.082/1.359 ms')
2025-02-05 12:22:54,576 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-76878781-76977115 passed
2025-02-05 12:22:54,723 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-05 12:22:54,723 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-76878781-76977115, IP 179.31.45.4, Port 22
2025-02-05 12:22:54,878 - DEBUG - VM ctest-TestBasicVMVNx-76878781-76977115 is ready for SSH connections
2025-02-05 12:22:54,878 - DEBUG - FILE SIZE = 1303B
2025-02-05 12:22:54,878 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-76878781-54252875 to ctest-TestBasicVMVNx-76878781-76977115 using scp
2025-02-05 12:22:54,879 - 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.42, gateway password: c0ntrail123
2025-02-05 12:22:54,879 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-02-05 12:22:56,782 - DEBUG - 1+0 records in
1+0 records out
2025-02-05 12:22:57,534 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-05 12:22:57,867 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.42, gateway password: c0ntrail123
2025-02-05 12:22:57,868 - DEBUG - ls -l testfile
2025-02-05 12:22:59,437 - DEBUG - -rw------- 1 cirros cirros 1303 Feb 5 05:22 [0;0mtestfile[0m
2025-02-05 12:22:59,437 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-76878781-76977115
2025-02-05 12:22:59,437 - INFO - Deleting VM ctest-TestBasicVMVNx-76878781-76977115
2025-02-05 12:22:59,503 - INFO - Deleting VM ctest-TestBasicVMVNx-76878781-54252875
2025-02-05 12:22:59,571 - INFO - Deleting VN ctest-vn-99193551
2025-02-05 12:22:59,607 - DEBUG - VN 0217abfb-7a36-4668-bf33-5d5308efda1c still in use: Unable to complete operation on network 0217abfb-7a36-4668-bf33-5d5308efda1c. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-d55fac41-a737-49c6-8784-8c253e5b180d']
2025-02-05 12:22:59,607 - WARNING - Deleting VN ctest-vn-99193551 failed..Will retry
2025-02-05 12:23:01,714 - DEBUG - Response for deleting network ()
2025-02-05 12:23:01,977 - DEBUG - No XMPP flaps were noticed during the test
2025-02-05 12:23:01,977 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-02-05 12:23:01,977 - INFO - --------------------------------------------------------------------------------
2025-02-05 12:23:02,646 - INFO - Deleted project: ctest-TestBasicVMVNx-76878781, ID : f0e89823-002e-42b1-932c-433dac5c68e8