2025-04-08 21:19:28,370 - INFO - Domain Default found not creating
2025-04-08 21:19:28,750 - INFO - Project ctest-TestBasicVMVNx-72419224 not found, creating it
2025-04-08 21:19:29,617 - INFO - Created Project:ctest-TestBasicVMVNx-72419224, ID : 3a058f1b-b697-4f57-b72a-e64bf3e3b7e3
2025-04-08 21:19:32,080 - INFO - ================================================================================
2025-04-08 21:19:32,080 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-04-08 21:19:32,080 - 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-04-08 21:19:32,421 - DEBUG - Nothing to compare xmpp stats {'10.0.0.31': {'10.20.0.35': '0'}} with
2025-04-08 21:19:32,421 - INFO - Initial checks done. Running the testcase now
2025-04-08 21:19:32,422 - INFO -
2025-04-08 21:19:33,397 - DEBUG - Response for create_network : {'network': {'id': '18b428a1-f9dd-4030-a1c6-2a9fcbe2e123', 'name': 'ctest-vn-41997726', 'tenant_id': '3a058f1bb6974f57b72ae64bf3e3b7e3', 'project_id': '3a058f1bb6974f57b72ae64bf3e3b7e3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-72419224', 'ctest-vn-41997726'], 'port_security_enabled': True, 'description': ''}}
2025-04-08 21:19:33,728 - DEBUG - Response for create_subnet : {'subnet': {'id': 'db3126a0-87a0-442e-be2c-d34f3914f202', 'name': '', 'tenant_id': '3a058f1bb6974f57b72ae64bf3e3b7e3', 'network_id': '18b428a1-f9dd-4030-a1c6-2a9fcbe2e123', 'ip_version': 4, 'cidr': '218.74.3.0/26', 'allocation_pools': [{'start': '218.74.3.2', 'end': '218.74.3.62'}], 'gateway_ip': '218.74.3.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '218.74.3.2', 'tags': [], 'project_id': '3a058f1bb6974f57b72ae64bf3e3b7e3'}}
2025-04-08 21:19:33,764 - INFO - Created VN ctest-vn-41997726
2025-04-08 21:19:33,828 - DEBUG - VN ctest-vn-41997726 UUID is 18b428a1-f9dd-4030-a1c6-2a9fcbe2e123
2025-04-08 21:19:34,275 - DEBUG - Services list from nova: [, , ]
2025-04-08 21:19:35,988 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3059-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3059-1)
2025-04-08 21:19:37,284 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3059-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3059-1)
2025-04-08 21:19:37,285 - INFO - Waiting for VM ctest-TestBasicVMVNx-72419224-59045934 to be up..
2025-04-08 21:19:37,370 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-04-08 21:19:42,474 - DEBUG - VM is in ACTIVE state now
2025-04-08 21:19:42,474 - INFO - VM name : ctest-TestBasicVMVNx-72419224-59045934
2025-04-08 21:19:42,575 - DEBUG - VM ctest-TestBasicVMVNx-72419224-59045934 ID is ce8dcfa8-4e31-429e-a06d-b63c1e2f8471
2025-04-08 21:19:42,597 - DEBUG - VM ctest-TestBasicVMVNx-72419224-59045934 launched on Node cn-jenkins-deploy-platform-ansible-os-3059-1
2025-04-08 21:19:42,698 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/ce8dcfa8-4e31-429e-a06d-b63c1e2f8471
2025-04-08 21:19:42,996 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/ce8dcfa8-4e31-429e-a06d-b63c1e2f8471
2025-04-08 21:19:43,026 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/149c92f5-5614-4267-950e-107e34d4babd
2025-04-08 21:19:46,304 - 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 1023ms')
2025-04-08 21:19:46,305 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-72419224-59045934 failed!
2025-04-08 21:19:46,377 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-72419224:ctest-vn-41997726 is 218.74.3.1 and allocation pool is NOT set
2025-04-08 21:19:48,452 - 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=9.26 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.24 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 = 1.243/5.249/9.255/4.006 ms')
2025-04-08 21:19:48,452 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-72419224-59045934 passed
2025-04-08 21:19:48,640 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-08 21:19:48,640 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-72419224-59045934, IP 218.74.3.3, Port 22
2025-04-08 21:19:48,850 - DEBUG - VM ctest-TestBasicVMVNx-72419224-59045934 is ready for SSH connections
2025-04-08 21:19:48,850 - INFO - Waiting for VM ctest-TestBasicVMVNx-72419224-74267250 to be up..
2025-04-08 21:19:49,043 - DEBUG - VM is in ACTIVE state now
2025-04-08 21:19:49,043 - INFO - VM name : ctest-TestBasicVMVNx-72419224-74267250
2025-04-08 21:19:49,186 - DEBUG - VM ctest-TestBasicVMVNx-72419224-74267250 ID is 6cd4408c-752f-4c76-b815-e2e5d4c0a7b3
2025-04-08 21:19:49,187 - DEBUG - VM ctest-TestBasicVMVNx-72419224-74267250 launched on Node cn-jenkins-deploy-platform-ansible-os-3059-1
2025-04-08 21:19:49,345 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/6cd4408c-752f-4c76-b815-e2e5d4c0a7b3
2025-04-08 21:19:49,368 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/6852ad47-5889-47a3-bed7-59168319227a
2025-04-08 21:19:50,733 - 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=5.66 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.54 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 = 2.538/4.100/5.662/1.562 ms')
2025-04-08 21:19:50,733 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-72419224-74267250 passed
2025-04-08 21:19:50,929 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-08 21:19:50,929 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-72419224-74267250, IP 218.74.3.4, Port 22
2025-04-08 21:19:51,147 - DEBUG - VM ctest-TestBasicVMVNx-72419224-74267250 is ready for SSH connections
2025-04-08 21:19:51,148 - DEBUG - FILE SIZE = 1303B
2025-04-08 21:19:51,148 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-72419224-59045934 to ctest-TestBasicVMVNx-72419224-74267250 using scp
2025-04-08 21:19:51,151 - 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-04-08 21:19:51,151 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-04-08 21:19:53,124 - DEBUG - 1+0 records in
1+0 records out
2025-04-08 21:19:53,950 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-08 21:19:54,493 - 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-04-08 21:19:54,493 - DEBUG - ls -l testfile
2025-04-08 21:19:56,457 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 8 15:19 [0;0mtestfile[0m
2025-04-08 21:19:56,458 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-72419224-74267250
2025-04-08 21:19:56,458 - INFO - Deleting VM ctest-TestBasicVMVNx-72419224-74267250
2025-04-08 21:19:56,651 - INFO - Deleting VM ctest-TestBasicVMVNx-72419224-59045934
2025-04-08 21:19:56,828 - INFO - Deleting VN ctest-vn-41997726
2025-04-08 21:19:56,932 - DEBUG - VN 18b428a1-f9dd-4030-a1c6-2a9fcbe2e123 still in use: Unable to complete operation on network 18b428a1-f9dd-4030-a1c6-2a9fcbe2e123. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-68f323e3-ac83-4ae7-b331-7c7ff39f6ee7']
2025-04-08 21:19:56,933 - WARNING - Deleting VN ctest-vn-41997726 failed..Will retry
2025-04-08 21:19:59,164 - DEBUG - Response for deleting network ()
2025-04-08 21:19:59,464 - DEBUG - No XMPP flaps were noticed during the test
2025-04-08 21:19:59,464 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:27]
2025-04-08 21:19:59,464 - INFO - --------------------------------------------------------------------------------
2025-04-08 21:20:00,370 - INFO - Deleted project: ctest-TestBasicVMVNx-72419224, ID : 3a058f1b-b697-4f57-b72a-e64bf3e3b7e3