2024-11-03 12:59:33,682 - INFO - Domain Default found not creating
2024-11-03 12:59:33,841 - INFO - Project ctest-TestBasicVMVNx-51190410 not found, creating it
2024-11-03 12:59:34,354 - INFO - Created Project:ctest-TestBasicVMVNx-51190410, ID : 180b973e-311c-42f6-a987-545b7047ea03
2024-11-03 12:59:35,895 - INFO - ================================================================================
2024-11-03 12:59:35,895 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2024-11-03 12:59:35,895 - 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-03 12:59:36,156 - DEBUG - Nothing to compare xmpp stats {'10.0.0.24': {'10.20.0.7': '0'}} with
2024-11-03 12:59:36,156 - INFO - Initial checks done. Running the testcase now
2024-11-03 12:59:36,156 - INFO -
2024-11-03 12:59:36,753 - DEBUG - Response for create_network : {'network': {'id': '7686f392-f202-483d-b4e1-bd606b7e5481', 'name': 'ctest-vn-89396176', 'tenant_id': '180b973e311c42f6a987545b7047ea03', 'project_id': '180b973e311c42f6a987545b7047ea03', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-51190410', 'ctest-vn-89396176'], 'port_security_enabled': True, 'description': ''}}
2024-11-03 12:59:36,923 - DEBUG - Response for create_subnet : {'subnet': {'id': '5804f754-8ab4-4b00-a71a-6fcbaa32e7c8', 'name': '', 'tenant_id': '180b973e311c42f6a987545b7047ea03', 'network_id': '7686f392-f202-483d-b4e1-bd606b7e5481', 'ip_version': 4, 'cidr': '19.19.154.192/26', 'allocation_pools': [{'start': '19.19.154.194', 'end': '19.19.154.254'}], 'gateway_ip': '19.19.154.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '19.19.154.194', 'tags': [], 'project_id': '180b973e311c42f6a987545b7047ea03'}}
2024-11-03 12:59:36,943 - INFO - Created VN ctest-vn-89396176
2024-11-03 12:59:36,999 - DEBUG - VN ctest-vn-89396176 UUID is 7686f392-f202-483d-b4e1-bd606b7e5481
2024-11-03 12:59:37,178 - DEBUG - Services list from nova: [, , ]
2024-11-03 12:59:38,226 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2187-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2187-1)
2024-11-03 12:59:39,407 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2187-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2187-1)
2024-11-03 12:59:39,408 - INFO - Waiting for VM ctest-TestBasicVMVNx-51190410-72839655 to be up..
2024-11-03 12:59:39,504 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-11-03 12:59:44,608 - DEBUG - VM is in ACTIVE state now
2024-11-03 12:59:44,608 - INFO - VM name : ctest-TestBasicVMVNx-51190410-72839655
2024-11-03 12:59:44,701 - DEBUG - VM ctest-TestBasicVMVNx-51190410-72839655 ID is e9df584a-8f05-421e-9a31-8d78d462a3e0
2024-11-03 12:59:44,724 - DEBUG - VM ctest-TestBasicVMVNx-51190410-72839655 launched on Node cn-jenkins-deploy-platform-ansible-os-2187-1
2024-11-03 12:59:44,818 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/e9df584a-8f05-421e-9a31-8d78d462a3e0
2024-11-03 12:59:45,118 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/e9df584a-8f05-421e-9a31-8d78d462a3e0
2024-11-03 12:59:45,161 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/250cb73a-8285-4c85-bf03-5023b4c77585
2024-11-03 12:59:48,413 - 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 1002ms')
2024-11-03 12:59:48,413 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-51190410-72839655 failed!
2024-11-03 12:59:48,475 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-51190410:ctest-vn-89396176 is 19.19.154.193 and allocation pool is NOT set
2024-11-03 12:59:50,541 - 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.83 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.371 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.371/2.102/3.833/1.731 ms')
2024-11-03 12:59:50,541 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-51190410-72839655 passed
2024-11-03 12:59:50,703 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-03 12:59:50,703 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-51190410-72839655, IP 19.19.154.195, Port 22
2024-11-03 12:59:50,866 - DEBUG - VM ctest-TestBasicVMVNx-51190410-72839655 is ready for SSH connections
2024-11-03 12:59:50,866 - INFO - Waiting for VM ctest-TestBasicVMVNx-51190410-65007668 to be up..
2024-11-03 12:59:50,952 - DEBUG - VM is in ACTIVE state now
2024-11-03 12:59:50,952 - INFO - VM name : ctest-TestBasicVMVNx-51190410-65007668
2024-11-03 12:59:51,033 - DEBUG - VM ctest-TestBasicVMVNx-51190410-65007668 ID is 9d89141b-13f5-46c8-b8f1-3f432f81f2bb
2024-11-03 12:59:51,033 - DEBUG - VM ctest-TestBasicVMVNx-51190410-65007668 launched on Node cn-jenkins-deploy-platform-ansible-os-2187-1
2024-11-03 12:59:51,112 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/9d89141b-13f5-46c8-b8f1-3f432f81f2bb
2024-11-03 12:59:51,122 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/74e0a579-aa59-4161-af08-a696199e1e4f
2024-11-03 12:59:52,363 - 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.12 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.779 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.779/1.949/3.119/1.170 ms')
2024-11-03 12:59:52,363 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-51190410-65007668 passed
2024-11-03 12:59:52,519 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-03 12:59:52,519 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-51190410-65007668, IP 19.19.154.196, Port 22
2024-11-03 12:59:52,678 - DEBUG - VM ctest-TestBasicVMVNx-51190410-65007668 is ready for SSH connections
2024-11-03 12:59:52,678 - DEBUG - FILE SIZE = 1303B
2024-11-03 12:59:52,678 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-51190410-72839655 to ctest-TestBasicVMVNx-51190410-65007668 using scp
2024-11-03 12:59:52,679 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-03 12:59:52,685 - 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-11-03 12:59:52,685 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2024-11-03 12:59:54,587 - DEBUG - 1+0 records in
1+0 records out
2024-11-03 12:59:55,389 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-03 12:59:55,730 - 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-11-03 12:59:55,730 - DEBUG - ls -l testfile
2024-11-03 12:59:57,300 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 3 05:59 [0;0mtestfile[0m
2024-11-03 12:59:57,300 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-51190410-65007668
2024-11-03 12:59:57,300 - INFO - Deleting VM ctest-TestBasicVMVNx-51190410-65007668
2024-11-03 12:59:57,377 - INFO - Deleting VM ctest-TestBasicVMVNx-51190410-72839655
2024-11-03 12:59:57,547 - INFO - Deleting VN ctest-vn-89396176
2024-11-03 12:59:57,592 - DEBUG - VN 7686f392-f202-483d-b4e1-bd606b7e5481 still in use: Unable to complete operation on network 7686f392-f202-483d-b4e1-bd606b7e5481. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-319b429c-6fb3-4347-9fa9-e85d6b03965e']
2024-11-03 12:59:57,592 - WARNING - Deleting VN ctest-vn-89396176 failed..Will retry
2024-11-03 12:59:59,721 - DEBUG - Response for deleting network ()
2024-11-03 12:59:59,981 - DEBUG - No XMPP flaps were noticed during the test
2024-11-03 12:59:59,981 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2024-11-03 12:59:59,982 - INFO - --------------------------------------------------------------------------------
2024-11-03 13:00:00,787 - INFO - Deleted project: ctest-TestBasicVMVNx-51190410, ID : 180b973e-311c-42f6-a987-545b7047ea03