2024-10-29 16:38:54,811 - INFO - Domain Default found not creating
2024-10-29 16:38:54,979 - INFO - Project ctest-TestBasicVMVNx-11041393 not found, creating it
2024-10-29 16:38:55,490 - INFO - Created Project:ctest-TestBasicVMVNx-11041393, ID : 05ff2ba7-a408-40c7-9ce3-35fa2c7bfd07
2024-10-29 16:38:56,980 - INFO - ================================================================================
2024-10-29 16:38:56,980 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2024-10-29 16:38:56,980 - 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-10-29 16:38:57,236 - DEBUG - Nothing to compare xmpp stats {'10.0.0.40': {'10.20.0.22': '0'}} with
2024-10-29 16:38:57,236 - INFO - Initial checks done. Running the testcase now
2024-10-29 16:38:57,236 - INFO -
2024-10-29 16:38:57,869 - DEBUG - Response for create_network : {'network': {'id': '16ae5a84-bda7-48c2-a4ab-c0d8cc99181e', 'name': 'ctest-vn-35369062', 'tenant_id': '05ff2ba7a40840c79ce335fa2c7bfd07', 'project_id': '05ff2ba7a40840c79ce335fa2c7bfd07', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-11041393', 'ctest-vn-35369062'], 'port_security_enabled': True, 'description': ''}}
2024-10-29 16:38:58,091 - DEBUG - Response for create_subnet : {'subnet': {'id': '2951c237-a27f-4329-b27e-68d6dcde07fa', 'name': '', 'tenant_id': '05ff2ba7a40840c79ce335fa2c7bfd07', 'network_id': '16ae5a84-bda7-48c2-a4ab-c0d8cc99181e', 'ip_version': 4, 'cidr': '111.86.183.128/26', 'allocation_pools': [{'start': '111.86.183.130', 'end': '111.86.183.190'}], 'gateway_ip': '111.86.183.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.86.183.130', 'tags': [], 'project_id': '05ff2ba7a40840c79ce335fa2c7bfd07'}}
2024-10-29 16:38:58,113 - INFO - Created VN ctest-vn-35369062
2024-10-29 16:38:58,174 - DEBUG - VN ctest-vn-35369062 UUID is 16ae5a84-bda7-48c2-a4ab-c0d8cc99181e
2024-10-29 16:38:58,359 - DEBUG - Services list from nova: [, , ]
2024-10-29 16:38:59,425 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2177-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2177-1)
2024-10-29 16:39:00,703 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2177-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2177-1)
2024-10-29 16:39:00,703 - INFO - Waiting for VM ctest-TestBasicVMVNx-11041393-76899334 to be up..
2024-10-29 16:39:00,800 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-10-29 16:39:05,888 - DEBUG - VM is in ACTIVE state now
2024-10-29 16:39:05,888 - INFO - VM name : ctest-TestBasicVMVNx-11041393-76899334
2024-10-29 16:39:05,975 - DEBUG - VM ctest-TestBasicVMVNx-11041393-76899334 ID is 2cdab69f-7a91-4111-b9e5-5a9259647acf
2024-10-29 16:39:05,997 - DEBUG - VM ctest-TestBasicVMVNx-11041393-76899334 launched on Node cn-jenkins-deploy-platform-ansible-os-2177-1
2024-10-29 16:39:06,081 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine/2cdab69f-7a91-4111-b9e5-5a9259647acf
2024-10-29 16:39:06,407 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine/2cdab69f-7a91-4111-b9e5-5a9259647acf
2024-10-29 16:39:06,448 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine-interface/a3d4eb09-2978-4490-b5cc-1d1bbabca260
2024-10-29 16:39:09,716 - 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 1011ms')
2024-10-29 16:39:09,717 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-11041393-76899334 failed!
2024-10-29 16:39:09,778 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-11041393:ctest-vn-35369062 is 111.86.183.129 and allocation pool is NOT set
2024-10-29 16:39:11,845 - 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=4.21 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.531 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.531/2.372/4.214/1.841 ms')
2024-10-29 16:39:11,845 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-11041393-76899334 passed
2024-10-29 16:39:12,010 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-29 16:39:12,010 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-11041393-76899334, IP 111.86.183.131, Port 22
2024-10-29 16:39:12,164 - DEBUG - VM ctest-TestBasicVMVNx-11041393-76899334 is ready for SSH connections
2024-10-29 16:39:12,165 - INFO - Waiting for VM ctest-TestBasicVMVNx-11041393-43317446 to be up..
2024-10-29 16:39:12,253 - DEBUG - VM is in ACTIVE state now
2024-10-29 16:39:12,253 - INFO - VM name : ctest-TestBasicVMVNx-11041393-43317446
2024-10-29 16:39:12,337 - DEBUG - VM ctest-TestBasicVMVNx-11041393-43317446 ID is 06d258b8-23c8-4416-a7a4-8fd80f9c1304
2024-10-29 16:39:12,338 - DEBUG - VM ctest-TestBasicVMVNx-11041393-43317446 launched on Node cn-jenkins-deploy-platform-ansible-os-2177-1
2024-10-29 16:39:12,437 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine/06d258b8-23c8-4416-a7a4-8fd80f9c1304
2024-10-29 16:39:12,449 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine-interface/63ace89b-65c6-49c8-a988-d256c1555c4c
2024-10-29 16:39:13,705 - 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.84 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.511 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.511/1.674/2.838/1.163 ms')
2024-10-29 16:39:13,706 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-11041393-43317446 passed
2024-10-29 16:39:13,865 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-29 16:39:13,866 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-11041393-43317446, IP 111.86.183.132, Port 22
2024-10-29 16:39:14,043 - DEBUG - VM ctest-TestBasicVMVNx-11041393-43317446 is ready for SSH connections
2024-10-29 16:39:14,043 - DEBUG - FILE SIZE = 1303B
2024-10-29 16:39:14,043 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-11041393-76899334 to ctest-TestBasicVMVNx-11041393-43317446 using scp
2024-10-29 16:39:14,044 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-29 16:39:14,052 - 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.40, gateway password: c0ntrail123
2024-10-29 16:39:14,052 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2024-10-29 16:39:15,962 - DEBUG - 1+0 records in
1+0 records out
2024-10-29 16:39:16,728 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-29 16:39:17,075 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.40, gateway password: c0ntrail123
2024-10-29 16:39:17,075 - DEBUG - ls -l testfile
2024-10-29 16:39:18,644 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 29 10:39 [0;0mtestfile[0m
2024-10-29 16:39:18,644 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-11041393-43317446
2024-10-29 16:39:18,644 - INFO - Deleting VM ctest-TestBasicVMVNx-11041393-43317446
2024-10-29 16:39:18,719 - INFO - Deleting VM ctest-TestBasicVMVNx-11041393-76899334
2024-10-29 16:39:18,795 - INFO - Deleting VN ctest-vn-35369062
2024-10-29 16:39:18,836 - DEBUG - VN 16ae5a84-bda7-48c2-a4ab-c0d8cc99181e still in use: Unable to complete operation on network 16ae5a84-bda7-48c2-a4ab-c0d8cc99181e. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-211d70a8-406d-4717-b089-f6427afaf022']
2024-10-29 16:39:18,837 - WARNING - Deleting VN ctest-vn-35369062 failed..Will retry
2024-10-29 16:39:20,954 - DEBUG - Response for deleting network ()
2024-10-29 16:39:21,210 - DEBUG - No XMPP flaps were noticed during the test
2024-10-29 16:39:21,210 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25]
2024-10-29 16:39:21,210 - INFO - --------------------------------------------------------------------------------
2024-10-29 16:39:21,887 - INFO - Deleted project: ctest-TestBasicVMVNx-11041393, ID : 05ff2ba7-a408-40c7-9ce3-35fa2c7bfd07