2025-05-27 11:06:22,039 - INFO - Domain Default found not creating
2025-05-27 11:06:22,192 - INFO - Project ctest-TestBasicVMVNx-58475120 not found, creating it
2025-05-27 11:06:22,619 - INFO - Created Project:ctest-TestBasicVMVNx-58475120, ID : 51249530-eb6b-4277-824f-2cf004e9e61f
2025-05-27 11:06:24,200 - INFO - ================================================================================
2025-05-27 11:06:24,201 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-05-27 11:06:24,201 - 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-27 11:06:24,464 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2025-05-27 11:06:24,464 - INFO - Initial checks done. Running the testcase now
2025-05-27 11:06:24,464 - INFO -
2025-05-27 11:06:25,028 - DEBUG - Response for create_network : {'network': {'id': '2d87c2a4-cff0-4365-8f80-69df9f29c4fa', 'name': 'ctest-vn-43587477', 'tenant_id': '51249530eb6b4277824f2cf004e9e61f', 'project_id': '51249530eb6b4277824f2cf004e9e61f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-58475120', 'ctest-vn-43587477'], 'port_security_enabled': True, 'description': ''}}
2025-05-27 11:06:25,266 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b7bb279c-c888-43ef-8b69-d9b708ff7e80', 'name': '', 'tenant_id': '51249530eb6b4277824f2cf004e9e61f', 'network_id': '2d87c2a4-cff0-4365-8f80-69df9f29c4fa', 'ip_version': 4, 'cidr': '5.115.156.0/26', 'allocation_pools': [{'start': '5.115.156.2', 'end': '5.115.156.62'}], 'gateway_ip': '5.115.156.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '5.115.156.2', 'tags': [], 'project_id': '51249530eb6b4277824f2cf004e9e61f'}}
2025-05-27 11:06:25,282 - INFO - Created VN ctest-vn-43587477
2025-05-27 11:06:25,336 - DEBUG - VN ctest-vn-43587477 UUID is 2d87c2a4-cff0-4365-8f80-69df9f29c4fa
2025-05-27 11:06:25,501 - DEBUG - Services list from nova: [, , ]
2025-05-27 11:06:26,537 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3342-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3342-1)
2025-05-27 11:06:27,829 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3342-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3342-1)
2025-05-27 11:06:27,829 - INFO - Waiting for VM ctest-TestBasicVMVNx-58475120-27425147 to be up..
2025-05-27 11:06:27,910 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-05-27 11:06:33,013 - DEBUG - VM is in ACTIVE state now
2025-05-27 11:06:33,013 - INFO - VM name : ctest-TestBasicVMVNx-58475120-27425147
2025-05-27 11:06:33,117 - DEBUG - VM ctest-TestBasicVMVNx-58475120-27425147 ID is e178f1b0-f602-4ce5-9a93-64c8a36d101a
2025-05-27 11:06:33,157 - DEBUG - VM ctest-TestBasicVMVNx-58475120-27425147 launched on Node cn-jenkins-deploy-platform-ansible-os-3342-1
2025-05-27 11:06:33,259 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/e178f1b0-f602-4ce5-9a93-64c8a36d101a
2025-05-27 11:06:33,561 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/e178f1b0-f602-4ce5-9a93-64c8a36d101a
2025-05-27 11:06:33,595 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/1e3a0d26-8107-4f5f-841a-697ad30a2391
2025-05-27 11:06:36,873 - 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 1027ms')
2025-05-27 11:06:36,873 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-58475120-27425147 failed!
2025-05-27 11:06:36,940 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-58475120:ctest-vn-43587477 is 5.115.156.1 and allocation pool is NOT set
2025-05-27 11:06:38,998 - 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.28 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.409 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.409/1.844/3.280/1.435 ms')
2025-05-27 11:06:38,999 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-58475120-27425147 passed
2025-05-27 11:06:39,152 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-27 11:06:39,152 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-58475120-27425147, IP 5.115.156.3, Port 22
2025-05-27 11:06:39,322 - DEBUG - VM ctest-TestBasicVMVNx-58475120-27425147 is ready for SSH connections
2025-05-27 11:06:39,322 - INFO - Waiting for VM ctest-TestBasicVMVNx-58475120-61753728 to be up..
2025-05-27 11:06:39,395 - DEBUG - VM is in ACTIVE state now
2025-05-27 11:06:39,395 - INFO - VM name : ctest-TestBasicVMVNx-58475120-61753728
2025-05-27 11:06:39,479 - DEBUG - VM ctest-TestBasicVMVNx-58475120-61753728 ID is 10606df9-1ec8-49e6-a336-2484d2848653
2025-05-27 11:06:39,479 - DEBUG - VM ctest-TestBasicVMVNx-58475120-61753728 launched on Node cn-jenkins-deploy-platform-ansible-os-3342-1
2025-05-27 11:06:39,559 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/10606df9-1ec8-49e6-a336-2484d2848653
2025-05-27 11:06:39,568 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/fd8128ae-166e-4f54-a62e-bc6484c32c68
2025-05-27 11:06:40,815 - 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.54 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.506 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.506/2.025/3.544/1.519 ms')
2025-05-27 11:06:40,816 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-58475120-61753728 passed
2025-05-27 11:06:40,964 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-27 11:06:40,964 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-58475120-61753728, IP 5.115.156.4, Port 22
2025-05-27 11:06:41,134 - DEBUG - VM ctest-TestBasicVMVNx-58475120-61753728 is ready for SSH connections
2025-05-27 11:06:41,134 - DEBUG - FILE SIZE = 1303B
2025-05-27 11:06:41,134 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-58475120-27425147 to ctest-TestBasicVMVNx-58475120-61753728 using scp
2025-05-27 11:06:41,135 - 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.38, gateway password: c0ntrail123
2025-05-27 11:06:41,135 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-05-27 11:06:43,038 - DEBUG - 1+0 records in
1+0 records out
2025-05-27 11:06:43,829 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-27 11:06:44,144 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-05-27 11:06:44,144 - DEBUG - ls -l testfile
2025-05-27 11:06:45,699 - DEBUG - -rw------- 1 cirros cirros 1303 May 27 05:06 [0;0mtestfile[0m
2025-05-27 11:06:45,699 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-58475120-61753728
2025-05-27 11:06:45,700 - INFO - Deleting VM ctest-TestBasicVMVNx-58475120-61753728
2025-05-27 11:06:45,770 - INFO - Deleting VM ctest-TestBasicVMVNx-58475120-27425147
2025-05-27 11:06:45,844 - INFO - Deleting VN ctest-vn-43587477
2025-05-27 11:06:45,879 - DEBUG - VN 2d87c2a4-cff0-4365-8f80-69df9f29c4fa still in use: Unable to complete operation on network 2d87c2a4-cff0-4365-8f80-69df9f29c4fa. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-fd8b3b51-e9bd-4e51-8686-ea2044a41dfa']
2025-05-27 11:06:45,879 - WARNING - Deleting VN ctest-vn-43587477 failed..Will retry
2025-05-27 11:06:47,987 - DEBUG - Response for deleting network ()
2025-05-27 11:06:48,245 - DEBUG - No XMPP flaps were noticed during the test
2025-05-27 11:06:48,246 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-05-27 11:06:48,246 - INFO - --------------------------------------------------------------------------------
2025-05-27 11:06:48,927 - INFO - Deleted project: ctest-TestBasicVMVNx-58475120, ID : 51249530-eb6b-4277-824f-2cf004e9e61f