2024-08-26 23:45:21,449 - INFO - Domain Default found not creating
2024-08-26 23:45:21,612 - INFO - Project ctest-TestBasicVMVNx-03530993 not found, creating it
2024-08-26 23:45:22,076 - INFO - Created Project:ctest-TestBasicVMVNx-03530993, ID : 48cc2590-d91a-47ad-93da-8227691e4a83
2024-08-26 23:45:23,565 - INFO - ================================================================================
2024-08-26 23:45:23,565 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2024-08-26 23:45:23,566 - 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-08-26 23:45:23,828 - DEBUG - Nothing to compare xmpp stats {'10.0.0.30': {'10.20.0.6': '0'}} with
2024-08-26 23:45:23,828 - INFO - Initial checks done. Running the testcase now
2024-08-26 23:45:23,828 - INFO -
2024-08-26 23:45:24,386 - DEBUG - Response for create_network : {'network': {'id': '13bcd9bf-0331-4965-b667-1eec739011ea', 'name': 'ctest-vn-23955491', 'tenant_id': '48cc2590d91a47ad93da8227691e4a83', 'project_id': '48cc2590d91a47ad93da8227691e4a83', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-03530993', 'ctest-vn-23955491'], 'port_security_enabled': True, 'description': ''}}
2024-08-26 23:45:24,580 - DEBUG - Response for create_subnet : {'subnet': {'id': '7caf15ca-5f3e-4d3f-aab2-6b97ddb75723', 'name': '', 'tenant_id': '48cc2590d91a47ad93da8227691e4a83', 'network_id': '13bcd9bf-0331-4965-b667-1eec739011ea', 'ip_version': 4, 'cidr': '33.76.53.192/26', 'allocation_pools': [{'start': '33.76.53.194', 'end': '33.76.53.254'}], 'gateway_ip': '33.76.53.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '33.76.53.194', 'tags': [], 'project_id': '48cc2590d91a47ad93da8227691e4a83'}}
2024-08-26 23:45:24,605 - INFO - Created VN ctest-vn-23955491
2024-08-26 23:45:24,657 - DEBUG - VN ctest-vn-23955491 UUID is 13bcd9bf-0331-4965-b667-1eec739011ea
2024-08-26 23:45:24,834 - DEBUG - Services list from nova: [, , ]
2024-08-26 23:45:25,845 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1780-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1780-1)
2024-08-26 23:45:27,013 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1780-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1780-1)
2024-08-26 23:45:27,013 - INFO - Waiting for VM ctest-TestBasicVMVNx-03530993-43146205 to be up..
2024-08-26 23:45:27,094 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-08-26 23:45:32,178 - DEBUG - VM is in ACTIVE state now
2024-08-26 23:45:32,178 - INFO - VM name : ctest-TestBasicVMVNx-03530993-43146205
2024-08-26 23:45:32,259 - DEBUG - VM ctest-TestBasicVMVNx-03530993-43146205 ID is 4e5c136b-e978-4179-bc17-c8ab9573bb9f
2024-08-26 23:45:32,279 - DEBUG - VM ctest-TestBasicVMVNx-03530993-43146205 launched on Node cn-jenkins-deploy-platform-ansible-os-1780-1
2024-08-26 23:45:32,358 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/4e5c136b-e978-4179-bc17-c8ab9573bb9f
2024-08-26 23:45:32,656 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/4e5c136b-e978-4179-bc17-c8ab9573bb9f
2024-08-26 23:45:32,690 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/5721218f-a869-4f6a-b95a-77cfce0935ce
2024-08-26 23:45:35,950 - 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-08-26 23:45:35,950 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-03530993-43146205 failed!
2024-08-26 23:45:36,005 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-03530993:ctest-vn-23955491 is 33.76.53.193 and allocation pool is NOT set
2024-08-26 23:45:38,067 - 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.08 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.465 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.465/1.770/3.076/1.305 ms')
2024-08-26 23:45:38,067 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-03530993-43146205 passed
2024-08-26 23:45:38,221 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-08-26 23:45:38,221 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-03530993-43146205, IP 33.76.53.195, Port 22
2024-08-26 23:45:38,380 - DEBUG - VM ctest-TestBasicVMVNx-03530993-43146205 is ready for SSH connections
2024-08-26 23:45:38,380 - INFO - Waiting for VM ctest-TestBasicVMVNx-03530993-73809528 to be up..
2024-08-26 23:45:38,459 - DEBUG - VM is in ACTIVE state now
2024-08-26 23:45:38,459 - INFO - VM name : ctest-TestBasicVMVNx-03530993-73809528
2024-08-26 23:45:38,535 - DEBUG - VM ctest-TestBasicVMVNx-03530993-73809528 ID is 624bb680-e813-436a-9e06-233197183245
2024-08-26 23:45:38,535 - DEBUG - VM ctest-TestBasicVMVNx-03530993-73809528 launched on Node cn-jenkins-deploy-platform-ansible-os-1780-1
2024-08-26 23:45:38,612 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/624bb680-e813-436a-9e06-233197183245
2024-08-26 23:45:38,623 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/6ad68501-ae2c-4f1b-bb06-7d6a230586e4
2024-08-26 23:45:39,866 - 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=4.48 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.17 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 = 2.167/3.323/4.480/1.156 ms')
2024-08-26 23:45:39,866 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-03530993-73809528 passed
2024-08-26 23:45:40,017 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-08-26 23:45:40,017 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-03530993-73809528, IP 33.76.53.196, Port 22
2024-08-26 23:45:40,176 - DEBUG - VM ctest-TestBasicVMVNx-03530993-73809528 is ready for SSH connections
2024-08-26 23:45:40,176 - DEBUG - FILE SIZE = 1303B
2024-08-26 23:45:40,176 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-03530993-43146205 to ctest-TestBasicVMVNx-03530993-73809528 using scp
2024-08-26 23:45:40,177 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-08-26 23:45:40,181 - 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.30, gateway password: c0ntrail123
2024-08-26 23:45:40,182 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2024-08-26 23:45:42,037 - DEBUG - 1+0 records in
1+0 records out
2024-08-26 23:45:42,619 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-08-26 23:45:42,943 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.30, gateway password: c0ntrail123
2024-08-26 23:45:42,943 - DEBUG - ls -l testfile
2024-08-26 23:45:44,508 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 26 17:45 [0;0mtestfile[0m
2024-08-26 23:45:44,508 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-03530993-73809528
2024-08-26 23:45:44,508 - INFO - Deleting VM ctest-TestBasicVMVNx-03530993-73809528
2024-08-26 23:45:44,577 - INFO - Deleting VM ctest-TestBasicVMVNx-03530993-43146205
2024-08-26 23:45:44,647 - INFO - Deleting VN ctest-vn-23955491
2024-08-26 23:45:44,688 - DEBUG - VN 13bcd9bf-0331-4965-b667-1eec739011ea still in use: Unable to complete operation on network 13bcd9bf-0331-4965-b667-1eec739011ea. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-80f51b00-2844-4306-a029-cd5b2cbcff3a']
2024-08-26 23:45:44,688 - WARNING - Deleting VN ctest-vn-23955491 failed..Will retry
2024-08-26 23:45:46,793 - DEBUG - Response for deleting network ()
2024-08-26 23:45:47,047 - DEBUG - No XMPP flaps were noticed during the test
2024-08-26 23:45:47,047 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2024-08-26 23:45:47,047 - INFO - --------------------------------------------------------------------------------
2024-08-26 23:45:48,042 - INFO - Deleted project: ctest-TestBasicVMVNx-03530993, ID : 48cc2590-d91a-47ad-93da-8227691e4a83