2024-11-10 18:15:28,108 - INFO - Domain Default found not creating
2024-11-10 18:15:28,290 - INFO - Project ctest-TestBasicVMVNx-30290388 not found, creating it
2024-11-10 18:15:28,803 - INFO - Created Project:ctest-TestBasicVMVNx-30290388, ID : a0c04d10-4ccd-4b53-9f19-40709a336e4a
2024-11-10 18:15:30,294 - INFO - ================================================================================
2024-11-10 18:15:30,294 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2024-11-10 18:15:30,294 - 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:15:30,550 - DEBUG - Nothing to compare xmpp stats {'10.0.0.35': {'10.20.0.27': '0'}} with
2024-11-10 18:15:30,550 - INFO - Initial checks done. Running the testcase now
2024-11-10 18:15:30,550 - INFO -
2024-11-10 18:15:31,151 - DEBUG - Response for create_network : {'network': {'id': 'bf36fffb-ddaf-46a0-963f-d7cc2fa04dbb', 'name': 'ctest-vn-84095028', 'tenant_id': 'a0c04d104ccd4b539f1940709a336e4a', 'project_id': 'a0c04d104ccd4b539f1940709a336e4a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-30290388', 'ctest-vn-84095028'], 'port_security_enabled': True, 'description': ''}}
2024-11-10 18:15:31,394 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b275b884-6f39-4e59-9b99-65a6c1c083a4', 'name': '', 'tenant_id': 'a0c04d104ccd4b539f1940709a336e4a', 'network_id': 'bf36fffb-ddaf-46a0-963f-d7cc2fa04dbb', 'ip_version': 4, 'cidr': '40.232.153.0/26', 'allocation_pools': [{'start': '40.232.153.2', 'end': '40.232.153.62'}], 'gateway_ip': '40.232.153.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '40.232.153.2', 'tags': [], 'project_id': 'a0c04d104ccd4b539f1940709a336e4a'}}
2024-11-10 18:15:31,413 - INFO - Created VN ctest-vn-84095028
2024-11-10 18:15:31,472 - DEBUG - VN ctest-vn-84095028 UUID is bf36fffb-ddaf-46a0-963f-d7cc2fa04dbb
2024-11-10 18:15:31,646 - DEBUG - Services list from nova: [, , ]
2024-11-10 18:15:32,696 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2260-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2260-1)
2024-11-10 18:15:33,926 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2260-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2260-1)
2024-11-10 18:15:33,926 - INFO - Waiting for VM ctest-TestBasicVMVNx-30290388-98589980 to be up..
2024-11-10 18:15:34,042 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-11-10 18:15:39,145 - DEBUG - VM is in ACTIVE state now
2024-11-10 18:15:39,145 - INFO - VM name : ctest-TestBasicVMVNx-30290388-98589980
2024-11-10 18:15:39,226 - DEBUG - VM ctest-TestBasicVMVNx-30290388-98589980 ID is a71dc07b-9ef8-4333-acef-6a3683584a5e
2024-11-10 18:15:39,243 - DEBUG - VM ctest-TestBasicVMVNx-30290388-98589980 launched on Node cn-jenkins-deploy-platform-ansible-os-2260-1
2024-11-10 18:15:39,325 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/a71dc07b-9ef8-4333-acef-6a3683584a5e
2024-11-10 18:15:39,644 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/a71dc07b-9ef8-4333-acef-6a3683584a5e
2024-11-10 18:15:39,688 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine-interface/6abfe6c6-8c2a-4ffc-b4c5-6c26bde935c5
2024-11-10 18:15:42,971 - 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 1004ms')
2024-11-10 18:15:42,971 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-30290388-98589980 failed!
2024-11-10 18:15:43,028 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-30290388:ctest-vn-84095028 is 40.232.153.1 and allocation pool is NOT set
2024-11-10 18:15:45,087 - 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=2.80 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.640 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.640/1.720/2.800/1.080 ms')
2024-11-10 18:15:45,087 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-30290388-98589980 passed
2024-11-10 18:15:45,244 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-10 18:15:45,244 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-30290388-98589980, IP 40.232.153.3, Port 22
2024-11-10 18:15:45,409 - DEBUG - VM ctest-TestBasicVMVNx-30290388-98589980 is ready for SSH connections
2024-11-10 18:15:45,409 - INFO - Waiting for VM ctest-TestBasicVMVNx-30290388-32380594 to be up..
2024-11-10 18:15:45,492 - DEBUG - VM is in ACTIVE state now
2024-11-10 18:15:45,492 - INFO - VM name : ctest-TestBasicVMVNx-30290388-32380594
2024-11-10 18:15:45,576 - DEBUG - VM ctest-TestBasicVMVNx-30290388-32380594 ID is 7e7844fe-2281-4687-9776-5219487d19ec
2024-11-10 18:15:45,576 - DEBUG - VM ctest-TestBasicVMVNx-30290388-32380594 launched on Node cn-jenkins-deploy-platform-ansible-os-2260-1
2024-11-10 18:15:45,652 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/7e7844fe-2281-4687-9776-5219487d19ec
2024-11-10 18:15:45,662 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine-interface/ecfb2d1c-c15f-4055-ab2b-5067da0e3ca5
2024-11-10 18:15:46,924 - 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.84 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.432 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.432/2.136/3.841/1.704 ms')
2024-11-10 18:15:46,924 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-30290388-32380594 passed
2024-11-10 18:15:47,088 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-10 18:15:47,088 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-30290388-32380594, IP 40.232.153.4, Port 22
2024-11-10 18:15:47,247 - DEBUG - VM ctest-TestBasicVMVNx-30290388-32380594 is ready for SSH connections
2024-11-10 18:15:47,247 - DEBUG - FILE SIZE = 1303B
2024-11-10 18:15:47,247 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-30290388-98589980 to ctest-TestBasicVMVNx-30290388-32380594 using scp
2024-11-10 18:15:47,248 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-10 18:15:47,253 - 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.35, gateway password: c0ntrail123
2024-11-10 18:15:47,253 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2024-11-10 18:15:49,144 - DEBUG - 1+0 records in
1+0 records out
2024-11-10 18:15:49,738 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-10 18:15:50,114 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.35, gateway password: c0ntrail123
2024-11-10 18:15:50,114 - DEBUG - ls -l testfile
2024-11-10 18:15:51,674 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 10 11:15 [0;0mtestfile[0m
2024-11-10 18:15:51,674 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-30290388-32380594
2024-11-10 18:15:51,674 - INFO - Deleting VM ctest-TestBasicVMVNx-30290388-32380594
2024-11-10 18:15:51,833 - INFO - Deleting VM ctest-TestBasicVMVNx-30290388-98589980
2024-11-10 18:15:51,895 - INFO - Deleting VN ctest-vn-84095028
2024-11-10 18:15:51,933 - DEBUG - VN bf36fffb-ddaf-46a0-963f-d7cc2fa04dbb still in use: Unable to complete operation on network bf36fffb-ddaf-46a0-963f-d7cc2fa04dbb. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-9dd499e4-f4bc-4e5a-8bbd-42e582f25a56']
2024-11-10 18:15:51,933 - WARNING - Deleting VN ctest-vn-84095028 failed..Will retry
2024-11-10 18:15:54,041 - DEBUG - Response for deleting network ()
2024-11-10 18:15:54,298 - DEBUG - No XMPP flaps were noticed during the test
2024-11-10 18:15:54,298 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2024-11-10 18:15:54,298 - INFO - --------------------------------------------------------------------------------
2024-11-10 18:15:55,011 - INFO - Deleted project: ctest-TestBasicVMVNx-30290388, ID : a0c04d10-4ccd-4b53-9f19-40709a336e4a