2024-11-10 18:07:56,548 - INFO - Domain Default found not creating
2024-11-10 18:07:56,773 - INFO - Project ctest-TestBasicVMVNx-34911995 not found, creating it
2024-11-10 18:07:57,491 - INFO - Created Project:ctest-TestBasicVMVNx-34911995, ID : 70f8b3af-8649-4c49-b099-ab7861abbebb
2024-11-10 18:07:59,829 - INFO - ================================================================================
2024-11-10 18:07:59,830 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2024-11-10 18:07:59,830 - 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 18:08:00,116 - DEBUG - Nothing to compare xmpp stats {'10.0.0.31': {'10.20.0.25': '0'}} with
2024-11-10 18:08:00,116 - INFO - Initial checks done. Running the testcase now
2024-11-10 18:08:00,116 - INFO -
2024-11-10 18:08:00,855 - DEBUG - Response for create_network : {'network': {'id': '589ecea9-abe0-4d9b-8489-8fc9856b4e10', 'name': 'ctest-vn-63068107', 'tenant_id': '70f8b3af86494c49b099ab7861abbebb', 'project_id': '70f8b3af86494c49b099ab7861abbebb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-34911995', 'ctest-vn-63068107'], 'port_security_enabled': True, 'description': ''}}
2024-11-10 18:08:01,102 - DEBUG - Response for create_subnet : {'subnet': {'id': '22cf0372-aa7f-4e05-a285-1107a271b84e', 'name': '', 'tenant_id': '70f8b3af86494c49b099ab7861abbebb', 'network_id': '589ecea9-abe0-4d9b-8489-8fc9856b4e10', 'ip_version': 4, 'cidr': '96.7.64.0/26', 'allocation_pools': [{'start': '96.7.64.2', 'end': '96.7.64.62'}], 'gateway_ip': '96.7.64.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '96.7.64.2', 'tags': [], 'project_id': '70f8b3af86494c49b099ab7861abbebb'}}
2024-11-10 18:08:01,126 - INFO - Created VN ctest-vn-63068107
2024-11-10 18:08:01,188 - DEBUG - VN ctest-vn-63068107 UUID is 589ecea9-abe0-4d9b-8489-8fc9856b4e10
2024-11-10 18:08:01,434 - DEBUG - Services list from nova: [, , ]
2024-11-10 18:08:02,841 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2259-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2259-1)
2024-11-10 18:08:04,095 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2259-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2259-1)
2024-11-10 18:08:04,095 - INFO - Waiting for VM ctest-TestBasicVMVNx-34911995-10400638 to be up..
2024-11-10 18:08:04,195 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-11-10 18:08:09,307 - DEBUG - VM is in ACTIVE state now
2024-11-10 18:08:09,307 - INFO - VM name : ctest-TestBasicVMVNx-34911995-10400638
2024-11-10 18:08:09,410 - DEBUG - VM ctest-TestBasicVMVNx-34911995-10400638 ID is 99584cc9-b0ce-4f61-9564-e6cd244c9945
2024-11-10 18:08:09,429 - DEBUG - VM ctest-TestBasicVMVNx-34911995-10400638 launched on Node cn-jenkins-deploy-platform-ansible-os-2259-1
2024-11-10 18:08:09,515 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/99584cc9-b0ce-4f61-9564-e6cd244c9945
2024-11-10 18:08:09,816 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/99584cc9-b0ce-4f61-9564-e6cd244c9945
2024-11-10 18:08:09,906 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/edf499ff-ae7f-49d7-8ca5-59ffcdd18168
2024-11-10 18:08:13,199 - 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 1024ms')
2024-11-10 18:08:13,199 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-34911995-10400638 failed!
2024-11-10 18:08:13,260 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-34911995:ctest-vn-63068107 is 96.7.64.1 and allocation pool is NOT set
2024-11-10 18:08:15,317 - 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=9.93 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.888 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.888/5.411/9.934/4.523 ms')
2024-11-10 18:08:15,317 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-34911995-10400638 passed
2024-11-10 18:08:15,476 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-10 18:08:15,476 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-34911995-10400638, IP 96.7.64.3, Port 22
2024-11-10 18:08:15,647 - DEBUG - VM ctest-TestBasicVMVNx-34911995-10400638 is ready for SSH connections
2024-11-10 18:08:15,647 - INFO - Waiting for VM ctest-TestBasicVMVNx-34911995-73002432 to be up..
2024-11-10 18:08:15,860 - DEBUG - VM is in ACTIVE state now
2024-11-10 18:08:15,860 - INFO - VM name : ctest-TestBasicVMVNx-34911995-73002432
2024-11-10 18:08:15,955 - DEBUG - VM ctest-TestBasicVMVNx-34911995-73002432 ID is 9504ccdf-e559-4919-8685-d9eea80bd774
2024-11-10 18:08:15,955 - DEBUG - VM ctest-TestBasicVMVNx-34911995-73002432 launched on Node cn-jenkins-deploy-platform-ansible-os-2259-1
2024-11-10 18:08:16,050 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/9504ccdf-e559-4919-8685-d9eea80bd774
2024-11-10 18:08:16,060 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/1f53d6a4-b671-4427-8733-c9324302a67c
2024-11-10 18:08:17,326 - 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=5.59 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.28 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 = 3.278/4.435/5.592/1.157 ms')
2024-11-10 18:08:17,327 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-34911995-73002432 passed
2024-11-10 18:08:17,500 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-10 18:08:17,500 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-34911995-73002432, IP 96.7.64.4, Port 22
2024-11-10 18:08:17,566 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2024-11-10 18:08:17,672 - DEBUG - VM ctest-TestBasicVMVNx-34911995-73002432 is NOT ready for SSH connections, VM status: ACTIVE
2024-11-10 18:08:22,673 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-10 18:08:22,673 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-34911995-73002432, IP 96.7.64.4, Port 22
2024-11-10 18:08:22,866 - DEBUG - VM ctest-TestBasicVMVNx-34911995-73002432 is ready for SSH connections
2024-11-10 18:08:22,867 - DEBUG - FILE SIZE = 1303B
2024-11-10 18:08:22,867 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-34911995-10400638 to ctest-TestBasicVMVNx-34911995-73002432 using scp
2024-11-10 18:08:22,867 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-10 18:08:22,876 - 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.31, gateway password: c0ntrail123
2024-11-10 18:08:22,877 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2024-11-10 18:08:25,102 - DEBUG - 1+0 records in
1+0 records out
2024-11-10 18:08:25,802 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-10 18:08:26,153 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.31, gateway password: c0ntrail123
2024-11-10 18:08:26,154 - DEBUG - ls -l testfile
2024-11-10 18:08:27,939 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 10 11:08 [0;0mtestfile[0m
2024-11-10 18:08:27,940 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-34911995-73002432
2024-11-10 18:08:27,940 - INFO - Deleting VM ctest-TestBasicVMVNx-34911995-73002432
2024-11-10 18:08:28,059 - INFO - Deleting VM ctest-TestBasicVMVNx-34911995-10400638
2024-11-10 18:08:28,170 - INFO - Deleting VN ctest-vn-63068107
2024-11-10 18:08:28,233 - DEBUG - VN 589ecea9-abe0-4d9b-8489-8fc9856b4e10 still in use: Unable to complete operation on network 589ecea9-abe0-4d9b-8489-8fc9856b4e10. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-7753ae00-6d02-4460-9fe6-655801348551']
2024-11-10 18:08:28,234 - WARNING - Deleting VN ctest-vn-63068107 failed..Will retry
2024-11-10 18:08:30,415 - DEBUG - Response for deleting network ()
2024-11-10 18:08:30,703 - DEBUG - No XMPP flaps were noticed during the test
2024-11-10 18:08:30,703 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:31]
2024-11-10 18:08:30,703 - INFO - --------------------------------------------------------------------------------
2024-11-10 18:08:31,589 - INFO - Deleted project: ctest-TestBasicVMVNx-34911995, ID : 70f8b3af-8649-4c49-b099-ab7861abbebb