2025-05-06 08:26:25,175 - INFO - Domain Default found not creating
2025-05-06 08:26:25,307 - INFO - Project ctest-TestBasicVMVNx-56769457 not found, creating it
2025-05-06 08:26:25,742 - INFO - Created Project:ctest-TestBasicVMVNx-56769457, ID : fa31cbce-ff27-47b5-904b-3bc5b8be26a8
2025-05-06 08:26:27,064 - INFO - ================================================================================
2025-05-06 08:26:27,064 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-05-06 08:26:27,065 - 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-05-06 08:26:27,325 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with
2025-05-06 08:26:27,325 - INFO - Initial checks done. Running the testcase now
2025-05-06 08:26:27,326 - INFO -
2025-05-06 08:26:27,830 - DEBUG - Response for create_network : {'network': {'id': '8f9ea9b6-97db-46ae-bc7e-3e4ef408f2f8', 'name': 'ctest-vn-12687407', 'tenant_id': 'fa31cbceff2747b5904b3bc5b8be26a8', 'project_id': 'fa31cbceff2747b5904b3bc5b8be26a8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-56769457', 'ctest-vn-12687407'], 'port_security_enabled': True, 'description': ''}}
2025-05-06 08:26:28,047 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fd1dd8db-7edc-46b6-b37b-d86e183dacfb', 'name': '', 'tenant_id': 'fa31cbceff2747b5904b3bc5b8be26a8', 'network_id': '8f9ea9b6-97db-46ae-bc7e-3e4ef408f2f8', 'ip_version': 4, 'cidr': '22.202.76.128/26', 'allocation_pools': [{'start': '22.202.76.130', 'end': '22.202.76.190'}], 'gateway_ip': '22.202.76.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '22.202.76.130', 'tags': [], 'project_id': 'fa31cbceff2747b5904b3bc5b8be26a8'}}
2025-05-06 08:26:28,062 - INFO - Created VN ctest-vn-12687407
2025-05-06 08:26:28,113 - DEBUG - VN ctest-vn-12687407 UUID is 8f9ea9b6-97db-46ae-bc7e-3e4ef408f2f8
2025-05-06 08:26:28,297 - DEBUG - Services list from nova: [, , ]
2025-05-06 08:26:29,231 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3275-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3275-1)
2025-05-06 08:26:30,298 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3275-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3275-1)
2025-05-06 08:26:30,298 - INFO - Waiting for VM ctest-TestBasicVMVNx-56769457-63841460 to be up..
2025-05-06 08:26:30,368 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-05-06 08:26:35,440 - DEBUG - VM is in ACTIVE state now
2025-05-06 08:26:35,440 - INFO - VM name : ctest-TestBasicVMVNx-56769457-63841460
2025-05-06 08:26:35,507 - DEBUG - VM ctest-TestBasicVMVNx-56769457-63841460 ID is c1325448-4818-4590-b81b-cadd1aa4f3b0
2025-05-06 08:26:35,524 - DEBUG - VM ctest-TestBasicVMVNx-56769457-63841460 launched on Node cn-jenkins-deploy-platform-ansible-os-3275-1
2025-05-06 08:26:35,589 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/c1325448-4818-4590-b81b-cadd1aa4f3b0
2025-05-06 08:26:35,885 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/c1325448-4818-4590-b81b-cadd1aa4f3b0
2025-05-06 08:26:35,913 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/010a928a-27bf-40a4-98a7-9ba6ea3bce6f
2025-05-06 08:26:39,181 - 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 1028ms')
2025-05-06 08:26:39,182 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-56769457-63841460 failed!
2025-05-06 08:26:39,241 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-56769457:ctest-vn-12687407 is 22.202.76.129 and allocation pool is NOT set
2025-05-06 08:26:41,300 - 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.66 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.408 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.408/1.532/2.656/1.124 ms')
2025-05-06 08:26:41,300 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-56769457-63841460 passed
2025-05-06 08:26:41,453 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-06 08:26:41,453 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-56769457-63841460, IP 22.202.76.131, Port 22
2025-05-06 08:26:41,604 - DEBUG - VM ctest-TestBasicVMVNx-56769457-63841460 is ready for SSH connections
2025-05-06 08:26:41,604 - INFO - Waiting for VM ctest-TestBasicVMVNx-56769457-26024636 to be up..
2025-05-06 08:26:41,680 - DEBUG - VM is in ACTIVE state now
2025-05-06 08:26:41,680 - INFO - VM name : ctest-TestBasicVMVNx-56769457-26024636
2025-05-06 08:26:41,746 - DEBUG - VM ctest-TestBasicVMVNx-56769457-26024636 ID is 4c9a27c6-5caa-429f-984c-888eb6725ede
2025-05-06 08:26:41,746 - DEBUG - VM ctest-TestBasicVMVNx-56769457-26024636 launched on Node cn-jenkins-deploy-platform-ansible-os-3275-1
2025-05-06 08:26:41,815 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/4c9a27c6-5caa-429f-984c-888eb6725ede
2025-05-06 08:26:41,823 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/bf32b9b9-dde4-4cea-bccc-b322acc1b6eb
2025-05-06 08:26:43,056 - 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.90 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.389 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.389/1.646/2.904/1.257 ms')
2025-05-06 08:26:43,056 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-56769457-26024636 passed
2025-05-06 08:26:43,205 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-06 08:26:43,205 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-56769457-26024636, IP 22.202.76.132, Port 22
2025-05-06 08:26:43,356 - DEBUG - VM ctest-TestBasicVMVNx-56769457-26024636 is ready for SSH connections
2025-05-06 08:26:43,356 - DEBUG - FILE SIZE = 1303B
2025-05-06 08:26:43,356 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-56769457-63841460 to ctest-TestBasicVMVNx-56769457-26024636 using scp
2025-05-06 08:26:43,357 - 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.48, gateway password: c0ntrail123
2025-05-06 08:26:43,357 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-05-06 08:26:45,201 - DEBUG - 1+0 records in
1+0 records out
2025-05-06 08:26:45,823 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-06 08:26:46,135 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123
2025-05-06 08:26:46,135 - DEBUG - ls -l testfile
2025-05-06 08:26:47,692 - DEBUG - -rw------- 1 cirros cirros 1303 May 6 02:26 [0;0mtestfile[0m
2025-05-06 08:26:47,692 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-56769457-26024636
2025-05-06 08:26:47,692 - INFO - Deleting VM ctest-TestBasicVMVNx-56769457-26024636
2025-05-06 08:26:47,751 - INFO - Deleting VM ctest-TestBasicVMVNx-56769457-63841460
2025-05-06 08:26:47,818 - INFO - Deleting VN ctest-vn-12687407
2025-05-06 08:26:47,850 - DEBUG - VN 8f9ea9b6-97db-46ae-bc7e-3e4ef408f2f8 still in use: Unable to complete operation on network 8f9ea9b6-97db-46ae-bc7e-3e4ef408f2f8. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-c78e2b16-6336-490c-9e73-31e32e8dfa3a']
2025-05-06 08:26:47,850 - WARNING - Deleting VN ctest-vn-12687407 failed..Will retry
2025-05-06 08:26:49,946 - DEBUG - Response for deleting network ()
2025-05-06 08:26:50,205 - DEBUG - No XMPP flaps were noticed during the test
2025-05-06 08:26:50,205 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-05-06 08:26:50,206 - INFO - --------------------------------------------------------------------------------
2025-05-06 08:26:50,844 - INFO - Deleted project: ctest-TestBasicVMVNx-56769457, ID : fa31cbce-ff27-47b5-904b-3bc5b8be26a8