2024-12-30 20:35:53,646 - INFO - Domain Default found not creating
2024-12-30 20:35:53,785 - INFO - Project ctest-TestBasicVMVNx-15698127 not found, creating it
2024-12-30 20:35:54,241 - INFO - Created Project:ctest-TestBasicVMVNx-15698127, ID : bc68c7ac-c940-4705-b22f-a71acf8b17f9
2024-12-30 20:35:55,632 - INFO - ================================================================================
2024-12-30 20:35:55,632 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2024-12-30 20:35:55,632 - 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
2024-12-30 20:35:55,893 - DEBUG - Nothing to compare xmpp stats {'10.0.0.24': {'10.20.0.5': '0'}} with
2024-12-30 20:35:55,893 - INFO - Initial checks done. Running the testcase now
2024-12-30 20:35:55,893 - INFO -
2024-12-30 20:35:56,445 - DEBUG - Response for create_network : {'network': {'id': '5a39410e-182c-4804-9c63-c4e097b6f7aa', 'name': 'ctest-vn-54729090', 'tenant_id': 'bc68c7acc9404705b22fa71acf8b17f9', 'project_id': 'bc68c7acc9404705b22fa71acf8b17f9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-15698127', 'ctest-vn-54729090'], 'port_security_enabled': True, 'description': ''}}
2024-12-30 20:35:56,633 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f5741be3-799d-47d8-b412-6cd4517c3dfc', 'name': '', 'tenant_id': 'bc68c7acc9404705b22fa71acf8b17f9', 'network_id': '5a39410e-182c-4804-9c63-c4e097b6f7aa', 'ip_version': 4, 'cidr': '54.25.65.128/26', 'allocation_pools': [{'start': '54.25.65.130', 'end': '54.25.65.190'}], 'gateway_ip': '54.25.65.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '54.25.65.130', 'tags': [], 'project_id': 'bc68c7acc9404705b22fa71acf8b17f9'}}
2024-12-30 20:35:56,652 - INFO - Created VN ctest-vn-54729090
2024-12-30 20:35:56,707 - DEBUG - VN ctest-vn-54729090 UUID is 5a39410e-182c-4804-9c63-c4e097b6f7aa
2024-12-30 20:35:56,873 - DEBUG - Services list from nova: [, , ]
2024-12-30 20:35:57,900 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2503-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2503-1)
2024-12-30 20:35:59,039 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2503-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2503-1)
2024-12-30 20:35:59,039 - INFO - Waiting for VM ctest-TestBasicVMVNx-15698127-47272196 to be up..
2024-12-30 20:35:59,130 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-12-30 20:36:04,206 - DEBUG - VM is in ACTIVE state now
2024-12-30 20:36:04,206 - INFO - VM name : ctest-TestBasicVMVNx-15698127-47272196
2024-12-30 20:36:04,278 - DEBUG - VM ctest-TestBasicVMVNx-15698127-47272196 ID is 6f15930f-b274-4efe-b3f7-b04546dd617c
2024-12-30 20:36:04,296 - DEBUG - VM ctest-TestBasicVMVNx-15698127-47272196 launched on Node cn-jenkins-deploy-platform-ansible-os-2503-1
2024-12-30 20:36:04,369 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/6f15930f-b274-4efe-b3f7-b04546dd617c
2024-12-30 20:36:04,658 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/6f15930f-b274-4efe-b3f7-b04546dd617c
2024-12-30 20:36:04,692 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/ef25aa9b-1e54-468e-b1b8-efcaee2d5188
2024-12-30 20:36:07,938 - 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 1008ms')
2024-12-30 20:36:07,939 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-15698127-47272196 failed!
2024-12-30 20:36:07,995 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-15698127:ctest-vn-54729090 is 54.25.65.129 and allocation pool is NOT set
2024-12-30 20:36:10,060 - 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=5.49 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.484 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.484/2.985/5.486/2.501 ms')
2024-12-30 20:36:10,061 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-15698127-47272196 passed
2024-12-30 20:36:10,211 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-12-30 20:36:10,211 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-15698127-47272196, IP 54.25.65.131, Port 22
2024-12-30 20:36:10,366 - DEBUG - VM ctest-TestBasicVMVNx-15698127-47272196 is ready for SSH connections
2024-12-30 20:36:10,367 - INFO - Waiting for VM ctest-TestBasicVMVNx-15698127-18368190 to be up..
2024-12-30 20:36:10,443 - DEBUG - VM is in ACTIVE state now
2024-12-30 20:36:10,443 - INFO - VM name : ctest-TestBasicVMVNx-15698127-18368190
2024-12-30 20:36:10,524 - DEBUG - VM ctest-TestBasicVMVNx-15698127-18368190 ID is 391e6365-7fb4-4040-bd61-7f3fc952bc06
2024-12-30 20:36:10,524 - DEBUG - VM ctest-TestBasicVMVNx-15698127-18368190 launched on Node cn-jenkins-deploy-platform-ansible-os-2503-1
2024-12-30 20:36:10,595 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/391e6365-7fb4-4040-bd61-7f3fc952bc06
2024-12-30 20:36:10,605 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/37a23004-1431-4e5b-b5f7-68521e47b4bf
2024-12-30 20:36:11,845 - 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.486 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.486/1.633/2.781/1.147 ms')
2024-12-30 20:36:11,846 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-15698127-18368190 passed
2024-12-30 20:36:11,999 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-12-30 20:36:12,000 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-15698127-18368190, IP 54.25.65.132, Port 22
2024-12-30 20:36:12,151 - DEBUG - VM ctest-TestBasicVMVNx-15698127-18368190 is ready for SSH connections
2024-12-30 20:36:12,151 - DEBUG - FILE SIZE = 1303B
2024-12-30 20:36:12,151 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-15698127-47272196 to ctest-TestBasicVMVNx-15698127-18368190 using scp
2024-12-30 20:36:12,152 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-12-30 20:36:12,157 - 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.24, gateway password: c0ntrail123
2024-12-30 20:36:12,158 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2024-12-30 20:36:14,046 - DEBUG - 1+0 records in
1+0 records out
2024-12-30 20:36:14,630 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-12-30 20:36:14,948 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.24, gateway password: c0ntrail123
2024-12-30 20:36:14,949 - DEBUG - ls -l testfile
2024-12-30 20:36:16,518 - DEBUG - -rw------- 1 cirros cirros 1303 Dec 30 13:36 [0;0mtestfile[0m
2024-12-30 20:36:16,518 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-15698127-18368190
2024-12-30 20:36:16,518 - INFO - Deleting VM ctest-TestBasicVMVNx-15698127-18368190
2024-12-30 20:36:16,586 - INFO - Deleting VM ctest-TestBasicVMVNx-15698127-47272196
2024-12-30 20:36:16,655 - INFO - Deleting VN ctest-vn-54729090
2024-12-30 20:36:16,694 - DEBUG - VN 5a39410e-182c-4804-9c63-c4e097b6f7aa still in use: Unable to complete operation on network 5a39410e-182c-4804-9c63-c4e097b6f7aa. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-77f835e3-0d49-43b6-ab7a-82735e5af85a']
2024-12-30 20:36:16,694 - WARNING - Deleting VN ctest-vn-54729090 failed..Will retry
2024-12-30 20:36:18,803 - DEBUG - Response for deleting network ()
2024-12-30 20:36:19,057 - DEBUG - No XMPP flaps were noticed during the test
2024-12-30 20:36:19,057 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2024-12-30 20:36:19,057 - INFO - --------------------------------------------------------------------------------
2024-12-30 20:36:19,735 - INFO - Deleted project: ctest-TestBasicVMVNx-15698127, ID : bc68c7ac-c940-4705-b22f-a71acf8b17f9