2025-04-13 13:19:52,992 - INFO - Domain Default found not creating
2025-04-13 13:19:53,134 - INFO - Project ctest-TestBasicVMVNx-70312217 not found, creating it
2025-04-13 13:19:53,575 - INFO - Created Project:ctest-TestBasicVMVNx-70312217, ID : cd4cc715-de6f-44e0-8082-9de22f891cb2
2025-04-13 13:19:55,000 - INFO - ================================================================================
2025-04-13 13:19:55,000 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-04-13 13:19:55,000 - 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-13 13:19:55,268 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2025-04-13 13:19:55,268 - INFO - Initial checks done. Running the testcase now
2025-04-13 13:19:55,268 - INFO -
2025-04-13 13:19:55,801 - DEBUG - Response for create_network : {'network': {'id': 'a9a75cbe-de47-4e35-b40b-18d39fedfe04', 'name': 'ctest-vn-49419837', 'tenant_id': 'cd4cc715de6f44e080829de22f891cb2', 'project_id': 'cd4cc715de6f44e080829de22f891cb2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-70312217', 'ctest-vn-49419837'], 'port_security_enabled': True, 'description': ''}}
2025-04-13 13:19:56,014 - DEBUG - Response for create_subnet : {'subnet': {'id': '948915fd-4fc2-4710-902a-3f57065b4e94', 'name': '', 'tenant_id': 'cd4cc715de6f44e080829de22f891cb2', 'network_id': 'a9a75cbe-de47-4e35-b40b-18d39fedfe04', 'ip_version': 4, 'cidr': '155.254.176.64/26', 'allocation_pools': [{'start': '155.254.176.66', 'end': '155.254.176.126'}], 'gateway_ip': '155.254.176.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '155.254.176.66', 'tags': [], 'project_id': 'cd4cc715de6f44e080829de22f891cb2'}}
2025-04-13 13:19:56,031 - INFO - Created VN ctest-vn-49419837
2025-04-13 13:19:56,086 - DEBUG - VN ctest-vn-49419837 UUID is a9a75cbe-de47-4e35-b40b-18d39fedfe04
2025-04-13 13:19:56,283 - DEBUG - Services list from nova: [, , ]
2025-04-13 13:19:57,292 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3084-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3084-1)
2025-04-13 13:19:58,422 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3084-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3084-1)
2025-04-13 13:19:58,422 - INFO - Waiting for VM ctest-TestBasicVMVNx-70312217-10251524 to be up..
2025-04-13 13:19:58,504 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-04-13 13:20:03,587 - DEBUG - VM is in ACTIVE state now
2025-04-13 13:20:03,588 - INFO - VM name : ctest-TestBasicVMVNx-70312217-10251524
2025-04-13 13:20:03,674 - DEBUG - VM ctest-TestBasicVMVNx-70312217-10251524 ID is 478b674f-c222-4ab1-95b0-59674b521d6d
2025-04-13 13:20:03,694 - DEBUG - VM ctest-TestBasicVMVNx-70312217-10251524 launched on Node cn-jenkins-deploy-platform-ansible-os-3084-1
2025-04-13 13:20:03,776 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/478b674f-c222-4ab1-95b0-59674b521d6d
2025-04-13 13:20:04,068 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/478b674f-c222-4ab1-95b0-59674b521d6d
2025-04-13 13:20:04,099 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/e4aaa549-eeea-4713-ade4-79e04a6398ea
2025-04-13 13:20:07,360 - 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 1011ms')
2025-04-13 13:20:07,360 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-70312217-10251524 failed!
2025-04-13 13:20:07,418 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-70312217:ctest-vn-49419837 is 155.254.176.65 and allocation pool is NOT set
2025-04-13 13:20:09,479 - 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.13 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.780 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.780/1.956/3.132/1.176 ms')
2025-04-13 13:20:09,480 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-70312217-10251524 passed
2025-04-13 13:20:09,634 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-13 13:20:09,634 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-70312217-10251524, IP 155.254.176.67, Port 22
2025-04-13 13:20:09,793 - DEBUG - VM ctest-TestBasicVMVNx-70312217-10251524 is ready for SSH connections
2025-04-13 13:20:09,793 - INFO - Waiting for VM ctest-TestBasicVMVNx-70312217-86484303 to be up..
2025-04-13 13:20:09,879 - DEBUG - VM is in ACTIVE state now
2025-04-13 13:20:09,879 - INFO - VM name : ctest-TestBasicVMVNx-70312217-86484303
2025-04-13 13:20:09,981 - DEBUG - VM ctest-TestBasicVMVNx-70312217-86484303 ID is 76fcf507-2c64-4ad7-b8a1-a921b2e5faed
2025-04-13 13:20:09,981 - DEBUG - VM ctest-TestBasicVMVNx-70312217-86484303 launched on Node cn-jenkins-deploy-platform-ansible-os-3084-1
2025-04-13 13:20:10,062 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/76fcf507-2c64-4ad7-b8a1-a921b2e5faed
2025-04-13 13:20:10,070 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/3a3f8338-fe93-488c-913e-779a2c4fe3ae
2025-04-13 13:20:11,313 - 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.36 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.415 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.415/1.889/3.364/1.474 ms')
2025-04-13 13:20:11,313 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-70312217-86484303 passed
2025-04-13 13:20:11,465 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-13 13:20:11,466 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-70312217-86484303, IP 155.254.176.68, Port 22
2025-04-13 13:20:11,622 - DEBUG - VM ctest-TestBasicVMVNx-70312217-86484303 is ready for SSH connections
2025-04-13 13:20:11,622 - DEBUG - FILE SIZE = 1303B
2025-04-13 13:20:11,622 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-70312217-10251524 to ctest-TestBasicVMVNx-70312217-86484303 using scp
2025-04-13 13:20:11,623 - 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.50, gateway password: c0ntrail123
2025-04-13 13:20:11,623 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-04-13 13:20:13,522 - DEBUG - 1+0 records in
1+0 records out
2025-04-13 13:20:14,281 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-13 13:20:14,606 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-04-13 13:20:14,607 - DEBUG - ls -l testfile
2025-04-13 13:20:16,176 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 13 07:20 [0;0mtestfile[0m
2025-04-13 13:20:16,176 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-70312217-86484303
2025-04-13 13:20:16,177 - INFO - Deleting VM ctest-TestBasicVMVNx-70312217-86484303
2025-04-13 13:20:16,242 - INFO - Deleting VM ctest-TestBasicVMVNx-70312217-10251524
2025-04-13 13:20:16,311 - INFO - Deleting VN ctest-vn-49419837
2025-04-13 13:20:16,359 - DEBUG - VN a9a75cbe-de47-4e35-b40b-18d39fedfe04 still in use: Unable to complete operation on network a9a75cbe-de47-4e35-b40b-18d39fedfe04. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-0e41f1d4-0ee4-450a-9cb8-9b29ddb71dae']
2025-04-13 13:20:16,359 - WARNING - Deleting VN ctest-vn-49419837 failed..Will retry
2025-04-13 13:20:18,469 - DEBUG - Response for deleting network ()
2025-04-13 13:20:18,732 - DEBUG - No XMPP flaps were noticed during the test
2025-04-13 13:20:18,733 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-04-13 13:20:18,733 - INFO - --------------------------------------------------------------------------------
2025-04-13 13:20:19,430 - INFO - Deleted project: ctest-TestBasicVMVNx-70312217, ID : cd4cc715-de6f-44e0-8082-9de22f891cb2