2025-09-11 09:28:58,956 - INFO - Domain Default found not creating
2025-09-11 09:28:59,080 - INFO - Project ctest-TestBasicVMVNx-97592334 not found, creating it
2025-09-11 09:28:59,493 - INFO - Created Project:ctest-TestBasicVMVNx-97592334, ID : deb03b75-37d6-4ed9-b007-47e8259d444b
2025-09-11 09:29:00,938 - INFO - ================================================================================
2025-09-11 09:29:00,939 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-09-11 09:29:00,939 - 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-09-11 09:29:01,189 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with
2025-09-11 09:29:01,189 - INFO - Initial checks done. Running the testcase now
2025-09-11 09:29:01,189 - INFO -
2025-09-11 09:29:01,713 - DEBUG - Response for create_network : {'network': {'id': '8cfa26f0-edff-4f7b-addd-9cc086ed3e0c', 'name': 'ctest-vn-79589509', 'tenant_id': 'deb03b7537d64ed9b00747e8259d444b', 'project_id': 'deb03b7537d64ed9b00747e8259d444b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-97592334', 'ctest-vn-79589509'], 'port_security_enabled': True, 'description': ''}}
2025-09-11 09:29:01,864 - DEBUG - Response for create_subnet : {'subnet': {'id': '5805523a-7cd4-4472-b615-d6828a41d53a', 'name': '', 'tenant_id': 'deb03b7537d64ed9b00747e8259d444b', 'network_id': '8cfa26f0-edff-4f7b-addd-9cc086ed3e0c', 'ip_version': 4, 'cidr': '99.152.98.64/26', 'allocation_pools': [{'start': '99.152.98.66', 'end': '99.152.98.126'}], 'gateway_ip': '99.152.98.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.152.98.66', 'tags': [], 'project_id': 'deb03b7537d64ed9b00747e8259d444b'}}
2025-09-11 09:29:01,881 - INFO - Created VN ctest-vn-79589509
2025-09-11 09:29:01,931 - DEBUG - VN ctest-vn-79589509 UUID is 8cfa26f0-edff-4f7b-addd-9cc086ed3e0c
2025-09-11 09:29:02,128 - DEBUG - Services list from nova: [, , ]
2025-09-11 09:29:03,113 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4087-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4087-1)
2025-09-11 09:29:04,179 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4087-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4087-1)
2025-09-11 09:29:04,180 - INFO - Waiting for VM ctest-TestBasicVMVNx-97592334-78094833 to be up..
2025-09-11 09:29:04,243 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-11 09:29:09,316 - DEBUG - VM is in ACTIVE state now
2025-09-11 09:29:09,316 - INFO - VM name : ctest-TestBasicVMVNx-97592334-78094833
2025-09-11 09:29:09,379 - DEBUG - VM ctest-TestBasicVMVNx-97592334-78094833 ID is 9411a2c7-61f0-41f7-ab17-0e523ccf52a1
2025-09-11 09:29:09,397 - DEBUG - VM ctest-TestBasicVMVNx-97592334-78094833 launched on Node cn-jenkins-deploy-platform-ansible-os-4087-1
2025-09-11 09:29:09,469 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/9411a2c7-61f0-41f7-ab17-0e523ccf52a1
2025-09-11 09:29:09,758 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/9411a2c7-61f0-41f7-ab17-0e523ccf52a1
2025-09-11 09:29:09,784 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/e8d4578f-7ab7-4c86-ad03-cf1390fbbce4
2025-09-11 09:29:13,050 - 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 1031ms')
2025-09-11 09:29:13,050 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-97592334-78094833 failed!
2025-09-11 09:29:13,103 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-97592334:ctest-vn-79589509 is 99.152.98.65 and allocation pool is NOT set
2025-09-11 09:29:15,167 - 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=2.63 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.380 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.380/1.504/2.628/1.124 ms')
2025-09-11 09:29:15,167 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-97592334-78094833 passed
2025-09-11 09:29:15,316 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-11 09:29:15,316 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-97592334-78094833, IP 99.152.98.67, Port 22
2025-09-11 09:29:15,480 - DEBUG - VM ctest-TestBasicVMVNx-97592334-78094833 is ready for SSH connections
2025-09-11 09:29:15,480 - INFO - Waiting for VM ctest-TestBasicVMVNx-97592334-95225240 to be up..
2025-09-11 09:29:15,578 - DEBUG - VM is in ACTIVE state now
2025-09-11 09:29:15,579 - INFO - VM name : ctest-TestBasicVMVNx-97592334-95225240
2025-09-11 09:29:15,663 - DEBUG - VM ctest-TestBasicVMVNx-97592334-95225240 ID is 5e94f428-b8f3-4a5b-8c4c-75ef25c77de0
2025-09-11 09:29:15,664 - DEBUG - VM ctest-TestBasicVMVNx-97592334-95225240 launched on Node cn-jenkins-deploy-platform-ansible-os-4087-1
2025-09-11 09:29:15,725 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/5e94f428-b8f3-4a5b-8c4c-75ef25c77de0
2025-09-11 09:29:15,733 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/f3193c93-86c7-4d96-ba93-05146bfbfdbf
2025-09-11 09:29:16,963 - 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.62 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.407 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.407/2.015/3.624/1.608 ms')
2025-09-11 09:29:16,963 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-97592334-95225240 passed
2025-09-11 09:29:17,115 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-11 09:29:17,115 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-97592334-95225240, IP 99.152.98.68, Port 22
2025-09-11 09:29:17,267 - DEBUG - VM ctest-TestBasicVMVNx-97592334-95225240 is ready for SSH connections
2025-09-11 09:29:17,267 - DEBUG - FILE SIZE = 1303B
2025-09-11 09:29:17,267 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-97592334-78094833 to ctest-TestBasicVMVNx-97592334-95225240 using scp
2025-09-11 09:29:17,268 - 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.22, gateway password: c0ntrail123
2025-09-11 09:29:17,268 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-09-11 09:29:19,151 - DEBUG - 1+0 records in
1+0 records out
2025-09-11 09:29:19,764 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-11 09:29:20,082 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-09-11 09:29:20,082 - DEBUG - ls -l testfile
2025-09-11 09:29:21,661 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 11 03:29 [0;0mtestfile[0m
2025-09-11 09:29:21,661 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-97592334-95225240
2025-09-11 09:29:21,661 - INFO - Deleting VM ctest-TestBasicVMVNx-97592334-95225240
2025-09-11 09:29:21,766 - INFO - Deleting VM ctest-TestBasicVMVNx-97592334-78094833
2025-09-11 09:29:21,835 - INFO - Deleting VN ctest-vn-79589509
2025-09-11 09:29:21,870 - DEBUG - VN 8cfa26f0-edff-4f7b-addd-9cc086ed3e0c still in use: Unable to complete operation on network 8cfa26f0-edff-4f7b-addd-9cc086ed3e0c. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-df3b4636-74e5-4d96-ac2e-8f8fc48c1f87']
2025-09-11 09:29:21,871 - WARNING - Deleting VN ctest-vn-79589509 failed..Will retry
2025-09-11 09:29:23,961 - DEBUG - Response for deleting network ()
2025-09-11 09:29:24,232 - DEBUG - No XMPP flaps were noticed during the test
2025-09-11 09:29:24,232 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-09-11 09:29:24,232 - INFO - --------------------------------------------------------------------------------
2025-09-11 09:29:24,877 - INFO - Deleted project: ctest-TestBasicVMVNx-97592334, ID : deb03b75-37d6-4ed9-b007-47e8259d444b