2025-05-13 11:15:39,536 - INFO - Domain Default found not creating
2025-05-13 11:15:39,656 - INFO - Project ctest-TestBasicVMVNx-13529845 not found, creating it
2025-05-13 11:15:40,099 - INFO - Created Project:ctest-TestBasicVMVNx-13529845, ID : 3afe115e-6ebc-4244-a9ab-b75c481af1c9
2025-05-13 11:15:41,441 - INFO - ================================================================================
2025-05-13 11:15:41,441 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-05-13 11:15:41,441 - 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-13 11:15:41,696 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with
2025-05-13 11:15:41,696 - INFO - Initial checks done. Running the testcase now
2025-05-13 11:15:41,697 - INFO -
2025-05-13 11:15:42,218 - DEBUG - Response for create_network : {'network': {'id': '89bc7214-c86b-46aa-a1cb-dc208ef57946', 'name': 'ctest-vn-07038612', 'tenant_id': '3afe115e6ebc4244a9abb75c481af1c9', 'project_id': '3afe115e6ebc4244a9abb75c481af1c9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-13529845', 'ctest-vn-07038612'], 'port_security_enabled': True, 'description': ''}}
2025-05-13 11:15:42,407 - DEBUG - Response for create_subnet : {'subnet': {'id': '39be7158-46a6-40ed-99a3-294ec821437e', 'name': '', 'tenant_id': '3afe115e6ebc4244a9abb75c481af1c9', 'network_id': '89bc7214-c86b-46aa-a1cb-dc208ef57946', 'ip_version': 4, 'cidr': '101.45.150.128/26', 'allocation_pools': [{'start': '101.45.150.130', 'end': '101.45.150.190'}], 'gateway_ip': '101.45.150.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '101.45.150.130', 'tags': [], 'project_id': '3afe115e6ebc4244a9abb75c481af1c9'}}
2025-05-13 11:15:42,422 - INFO - Created VN ctest-vn-07038612
2025-05-13 11:15:42,475 - DEBUG - VN ctest-vn-07038612 UUID is 89bc7214-c86b-46aa-a1cb-dc208ef57946
2025-05-13 11:15:42,666 - DEBUG - Services list from nova: [, , ]
2025-05-13 11:15:43,609 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3305-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3305-1)
2025-05-13 11:15:44,657 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3305-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3305-1)
2025-05-13 11:15:44,658 - INFO - Waiting for VM ctest-TestBasicVMVNx-13529845-13245463 to be up..
2025-05-13 11:15:44,738 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-05-13 11:15:49,811 - DEBUG - VM is in ACTIVE state now
2025-05-13 11:15:49,812 - INFO - VM name : ctest-TestBasicVMVNx-13529845-13245463
2025-05-13 11:15:49,888 - DEBUG - VM ctest-TestBasicVMVNx-13529845-13245463 ID is 586209c8-f2a3-47e6-abbc-6c1ce72aa43e
2025-05-13 11:15:49,994 - DEBUG - VM ctest-TestBasicVMVNx-13529845-13245463 launched on Node cn-jenkins-deploy-platform-ansible-os-3305-1
2025-05-13 11:15:50,068 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/586209c8-f2a3-47e6-abbc-6c1ce72aa43e
2025-05-13 11:15:50,370 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/586209c8-f2a3-47e6-abbc-6c1ce72aa43e
2025-05-13 11:15:50,398 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/cf7e7e24-48d5-488c-b623-7a069e57b5ce
2025-05-13 11:15:53,686 - 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 1032ms')
2025-05-13 11:15:53,686 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-13529845-13245463 failed!
2025-05-13 11:15:53,747 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-13529845:ctest-vn-07038612 is 101.45.150.129 and allocation pool is NOT set
2025-05-13 11:15:55,807 - 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.58 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.375 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.375/1.476/2.578/1.101 ms')
2025-05-13 11:15:55,807 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-13529845-13245463 passed
2025-05-13 11:15:55,959 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-13 11:15:55,959 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-13529845-13245463, IP 101.45.150.131, Port 22
2025-05-13 11:15:56,114 - DEBUG - VM ctest-TestBasicVMVNx-13529845-13245463 is ready for SSH connections
2025-05-13 11:15:56,115 - INFO - Waiting for VM ctest-TestBasicVMVNx-13529845-95937667 to be up..
2025-05-13 11:15:56,183 - DEBUG - VM is in ACTIVE state now
2025-05-13 11:15:56,183 - INFO - VM name : ctest-TestBasicVMVNx-13529845-95937667
2025-05-13 11:15:56,252 - DEBUG - VM ctest-TestBasicVMVNx-13529845-95937667 ID is b2df7217-078b-4c95-adad-862b134668ac
2025-05-13 11:15:56,252 - DEBUG - VM ctest-TestBasicVMVNx-13529845-95937667 launched on Node cn-jenkins-deploy-platform-ansible-os-3305-1
2025-05-13 11:15:56,318 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/b2df7217-078b-4c95-adad-862b134668ac
2025-05-13 11:15:56,325 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/a378c28f-7cfb-4464-953c-df0bef0cfd22
2025-05-13 11:15:57,553 - 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.78 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.398 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.398/1.587/2.776/1.189 ms')
2025-05-13 11:15:57,553 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-13529845-95937667 passed
2025-05-13 11:15:57,699 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-13 11:15:57,699 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-13529845-95937667, IP 101.45.150.132, Port 22
2025-05-13 11:15:57,851 - DEBUG - VM ctest-TestBasicVMVNx-13529845-95937667 is ready for SSH connections
2025-05-13 11:15:57,851 - DEBUG - FILE SIZE = 1303B
2025-05-13 11:15:57,851 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-13529845-13245463 to ctest-TestBasicVMVNx-13529845-95937667 using scp
2025-05-13 11:15:57,852 - 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-05-13 11:15:57,852 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-05-13 11:15:59,717 - DEBUG - 1+0 records in
1+0 records out
2025-05-13 11:16:00,342 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-13 11:16:00,654 - 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-05-13 11:16:00,654 - DEBUG - ls -l testfile
2025-05-13 11:16:02,213 - DEBUG - -rw------- 1 cirros cirros 1303 May 13 05:15 [0;0mtestfile[0m
2025-05-13 11:16:02,213 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-13529845-95937667
2025-05-13 11:16:02,214 - INFO - Deleting VM ctest-TestBasicVMVNx-13529845-95937667
2025-05-13 11:16:02,274 - INFO - Deleting VM ctest-TestBasicVMVNx-13529845-13245463
2025-05-13 11:16:02,334 - INFO - Deleting VN ctest-vn-07038612
2025-05-13 11:16:02,367 - DEBUG - VN 89bc7214-c86b-46aa-a1cb-dc208ef57946 still in use: Unable to complete operation on network 89bc7214-c86b-46aa-a1cb-dc208ef57946. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-6f6c8345-9c09-4079-b653-5ff2baf76df2']
2025-05-13 11:16:02,367 - WARNING - Deleting VN ctest-vn-07038612 failed..Will retry
2025-05-13 11:16:04,464 - DEBUG - Response for deleting network ()
2025-05-13 11:16:04,721 - DEBUG - No XMPP flaps were noticed during the test
2025-05-13 11:16:04,721 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-05-13 11:16:04,721 - INFO - --------------------------------------------------------------------------------
2025-05-13 11:16:05,380 - INFO - Deleted project: ctest-TestBasicVMVNx-13529845, ID : 3afe115e-6ebc-4244-a9ab-b75c481af1c9