2024-11-10 20:44:26,988 - INFO - Domain Default found not creating
2024-11-10 20:44:27,174 - INFO - Project ctest-TestBasicVMVNx-51373715 not found, creating it
2024-11-10 20:44:27,763 - INFO - Created Project:ctest-TestBasicVMVNx-51373715, ID : 0a057f97-0157-4581-8744-a68ca8fb3970
2024-11-10 20:44:29,470 - INFO - ================================================================================
2024-11-10 20:44:29,470 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2024-11-10 20:44:29,470 - 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-11-10 20:44:29,735 - DEBUG - Nothing to compare xmpp stats {'10.0.0.36': {'10.20.0.13': '0'}} with
2024-11-10 20:44:29,735 - INFO - Initial checks done. Running the testcase now
2024-11-10 20:44:29,735 - INFO -
2024-11-10 20:44:30,392 - DEBUG - Response for create_network : {'network': {'id': '65d50f17-1110-4fc0-9248-86ee0d0e1ce9', 'name': 'ctest-vn-86963449', 'tenant_id': '0a057f97015745818744a68ca8fb3970', 'project_id': '0a057f97015745818744a68ca8fb3970', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-51373715', 'ctest-vn-86963449'], 'port_security_enabled': True, 'description': ''}}
2024-11-10 20:44:30,641 - DEBUG - Response for create_subnet : {'subnet': {'id': '42eb1ae9-e3ed-4c94-92ad-83ec9244e9dc', 'name': '', 'tenant_id': '0a057f97015745818744a68ca8fb3970', 'network_id': '65d50f17-1110-4fc0-9248-86ee0d0e1ce9', 'ip_version': 4, 'cidr': '22.227.155.128/26', 'allocation_pools': [{'start': '22.227.155.130', 'end': '22.227.155.190'}], 'gateway_ip': '22.227.155.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '22.227.155.130', 'tags': [], 'project_id': '0a057f97015745818744a68ca8fb3970'}}
2024-11-10 20:44:30,663 - INFO - Created VN ctest-vn-86963449
2024-11-10 20:44:30,725 - DEBUG - VN ctest-vn-86963449 UUID is 65d50f17-1110-4fc0-9248-86ee0d0e1ce9
2024-11-10 20:44:30,912 - DEBUG - Services list from nova: [, , ]
2024-11-10 20:44:32,093 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2262-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2262-1)
2024-11-10 20:44:33,413 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2262-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2262-1)
2024-11-10 20:44:33,414 - INFO - Waiting for VM ctest-TestBasicVMVNx-51373715-87173578 to be up..
2024-11-10 20:44:33,522 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-11-10 20:44:38,623 - DEBUG - VM is in ACTIVE state now
2024-11-10 20:44:38,624 - INFO - VM name : ctest-TestBasicVMVNx-51373715-87173578
2024-11-10 20:44:38,731 - DEBUG - VM ctest-TestBasicVMVNx-51373715-87173578 ID is 4a3b940d-3eab-4611-95e9-a4db3b6c1ae4
2024-11-10 20:44:38,752 - DEBUG - VM ctest-TestBasicVMVNx-51373715-87173578 launched on Node cn-jenkins-deploy-platform-ansible-os-2262-1
2024-11-10 20:44:38,839 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine/4a3b940d-3eab-4611-95e9-a4db3b6c1ae4
2024-11-10 20:44:39,231 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine/4a3b940d-3eab-4611-95e9-a4db3b6c1ae4
2024-11-10 20:44:39,273 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine-interface/1c1e3927-461d-4145-8162-f473d2bb3770
2024-11-10 20:44:42,594 - 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 1019ms')
2024-11-10 20:44:42,594 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-51373715-87173578 failed!
2024-11-10 20:44:42,657 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-51373715:ctest-vn-86963449 is 22.227.155.129 and allocation pool is NOT set
2024-11-10 20:44:44,730 - 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.31 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.54 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 = 2.540/3.925/5.311/1.385 ms')
2024-11-10 20:44:44,730 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-51373715-87173578 passed
2024-11-10 20:44:44,889 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-10 20:44:44,890 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-51373715-87173578, IP 22.227.155.131, Port 22
2024-11-10 20:44:45,049 - DEBUG - VM ctest-TestBasicVMVNx-51373715-87173578 is ready for SSH connections
2024-11-10 20:44:45,049 - INFO - Waiting for VM ctest-TestBasicVMVNx-51373715-05193910 to be up..
2024-11-10 20:44:45,141 - DEBUG - VM is in ACTIVE state now
2024-11-10 20:44:45,141 - INFO - VM name : ctest-TestBasicVMVNx-51373715-05193910
2024-11-10 20:44:45,227 - DEBUG - VM ctest-TestBasicVMVNx-51373715-05193910 ID is cefec66c-074a-43a0-b851-764fb9c9a6db
2024-11-10 20:44:45,227 - DEBUG - VM ctest-TestBasicVMVNx-51373715-05193910 launched on Node cn-jenkins-deploy-platform-ansible-os-2262-1
2024-11-10 20:44:45,316 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine/cefec66c-074a-43a0-b851-764fb9c9a6db
2024-11-10 20:44:45,326 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine-interface/f5c9c05e-6248-42d0-8c80-59e56cfc16e3
2024-11-10 20:44:46,587 - 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.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.04 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 = 1.037/2.391/3.745/1.354 ms')
2024-11-10 20:44:46,587 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-51373715-05193910 passed
2024-11-10 20:44:46,757 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-10 20:44:46,758 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-51373715-05193910, IP 22.227.155.132, Port 22
2024-11-10 20:44:46,917 - DEBUG - VM ctest-TestBasicVMVNx-51373715-05193910 is ready for SSH connections
2024-11-10 20:44:46,917 - DEBUG - FILE SIZE = 1303B
2024-11-10 20:44:46,917 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-51373715-87173578 to ctest-TestBasicVMVNx-51373715-05193910 using scp
2024-11-10 20:44:46,918 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-10 20:44:46,924 - 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.36, gateway password: c0ntrail123
2024-11-10 20:44:46,924 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2024-11-10 20:44:48,926 - DEBUG - 1+0 records in
1+0 records out
2024-11-10 20:44:49,606 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-10 20:44:49,964 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.36, gateway password: c0ntrail123
2024-11-10 20:44:49,964 - DEBUG - ls -l testfile
2024-11-10 20:44:51,639 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 10 13:44 [0;0mtestfile[0m
2024-11-10 20:44:51,639 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-51373715-05193910
2024-11-10 20:44:51,640 - INFO - Deleting VM ctest-TestBasicVMVNx-51373715-05193910
2024-11-10 20:44:51,721 - INFO - Deleting VM ctest-TestBasicVMVNx-51373715-87173578
2024-11-10 20:44:51,796 - INFO - Deleting VN ctest-vn-86963449
2024-11-10 20:44:51,848 - DEBUG - VN 65d50f17-1110-4fc0-9248-86ee0d0e1ce9 still in use: Unable to complete operation on network 65d50f17-1110-4fc0-9248-86ee0d0e1ce9. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-c3c28876-c6cf-490e-9e45-265272aae752']
2024-11-10 20:44:51,849 - WARNING - Deleting VN ctest-vn-86963449 failed..Will retry
2024-11-10 20:44:53,988 - DEBUG - Response for deleting network ()
2024-11-10 20:44:54,244 - DEBUG - No XMPP flaps were noticed during the test
2024-11-10 20:44:54,245 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25]
2024-11-10 20:44:54,245 - INFO - --------------------------------------------------------------------------------
2024-11-10 20:44:55,045 - INFO - Deleted project: ctest-TestBasicVMVNx-51373715, ID : 0a057f97-0157-4581-8744-a68ca8fb3970