2024-12-26 02:16:51,761 - INFO - Domain Default found not creating
2024-12-26 02:16:51,925 - INFO - Project ctest-TestBasicVMVNx-33607061 not found, creating it
2024-12-26 02:16:52,424 - INFO - Created Project:ctest-TestBasicVMVNx-33607061, ID : 7dbd8d9d-9e2d-4b51-9479-63ceb8d20df8
2024-12-26 02:16:53,932 - INFO - ================================================================================
2024-12-26 02:16:53,933 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2024-12-26 02:16:53,933 - 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-12-26 02:16:54,197 - DEBUG - Nothing to compare xmpp stats {'10.0.0.32': {'10.20.0.5': '0'}} with
2024-12-26 02:16:54,197 - INFO - Initial checks done. Running the testcase now
2024-12-26 02:16:54,197 - INFO -
2024-12-26 02:16:54,765 - DEBUG - Response for create_network : {'network': {'id': 'd593206a-d01e-441d-8148-38ed615e2919', 'name': 'ctest-vn-38621333', 'tenant_id': '7dbd8d9d9e2d4b51947963ceb8d20df8', 'project_id': '7dbd8d9d9e2d4b51947963ceb8d20df8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-33607061', 'ctest-vn-38621333'], 'port_security_enabled': True, 'description': ''}}
2024-12-26 02:16:54,972 - DEBUG - Response for create_subnet : {'subnet': {'id': '3e092bf6-a0e0-4480-ae8a-e6443eb07d7b', 'name': '', 'tenant_id': '7dbd8d9d9e2d4b51947963ceb8d20df8', 'network_id': 'd593206a-d01e-441d-8148-38ed615e2919', 'ip_version': 4, 'cidr': '212.90.191.128/26', 'allocation_pools': [{'start': '212.90.191.130', 'end': '212.90.191.190'}], 'gateway_ip': '212.90.191.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '212.90.191.130', 'tags': [], 'project_id': '7dbd8d9d9e2d4b51947963ceb8d20df8'}}
2024-12-26 02:16:54,994 - INFO - Created VN ctest-vn-38621333
2024-12-26 02:16:55,049 - DEBUG - VN ctest-vn-38621333 UUID is d593206a-d01e-441d-8148-38ed615e2919
2024-12-26 02:16:55,240 - DEBUG - Services list from nova: [, , ]
2024-12-26 02:16:56,339 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2493-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2493-1)
2024-12-26 02:16:57,674 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2493-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2493-1)
2024-12-26 02:16:57,675 - INFO - Waiting for VM ctest-TestBasicVMVNx-33607061-02724770 to be up..
2024-12-26 02:16:57,786 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-12-26 02:17:02,885 - DEBUG - VM is in ACTIVE state now
2024-12-26 02:17:02,885 - INFO - VM name : ctest-TestBasicVMVNx-33607061-02724770
2024-12-26 02:17:03,108 - DEBUG - VM ctest-TestBasicVMVNx-33607061-02724770 ID is b1f38d0a-318d-4aa8-a4c4-305f88bd701c
2024-12-26 02:17:03,133 - DEBUG - VM ctest-TestBasicVMVNx-33607061-02724770 launched on Node cn-jenkins-deploy-platform-ansible-os-2493-1
2024-12-26 02:17:03,229 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/b1f38d0a-318d-4aa8-a4c4-305f88bd701c
2024-12-26 02:17:03,535 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/b1f38d0a-318d-4aa8-a4c4-305f88bd701c
2024-12-26 02:17:03,569 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/895e7ce3-9999-4a27-a3ce-22c0ca01317e
2024-12-26 02:17:06,839 - 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 1015ms')
2024-12-26 02:17:06,839 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-33607061-02724770 failed!
2024-12-26 02:17:06,893 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-33607061:ctest-vn-38621333 is 212.90.191.129 and allocation pool is NOT set
2024-12-26 02:17:08,956 - 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.34 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.972 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.972/2.654/4.336/1.682 ms')
2024-12-26 02:17:08,956 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-33607061-02724770 passed
2024-12-26 02:17:09,109 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-12-26 02:17:09,109 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-33607061-02724770, IP 212.90.191.131, Port 22
2024-12-26 02:17:09,265 - DEBUG - VM ctest-TestBasicVMVNx-33607061-02724770 is ready for SSH connections
2024-12-26 02:17:09,265 - INFO - Waiting for VM ctest-TestBasicVMVNx-33607061-17414001 to be up..
2024-12-26 02:17:09,385 - DEBUG - VM is in ACTIVE state now
2024-12-26 02:17:09,385 - INFO - VM name : ctest-TestBasicVMVNx-33607061-17414001
2024-12-26 02:17:09,486 - DEBUG - VM ctest-TestBasicVMVNx-33607061-17414001 ID is 503a9812-1cfb-4d44-9cb1-fb4619c73289
2024-12-26 02:17:09,487 - DEBUG - VM ctest-TestBasicVMVNx-33607061-17414001 launched on Node cn-jenkins-deploy-platform-ansible-os-2493-1
2024-12-26 02:17:09,580 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/503a9812-1cfb-4d44-9cb1-fb4619c73289
2024-12-26 02:17:09,590 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/f4e11642-7bd4-4828-8929-d0748a4918e1
2024-12-26 02:17:10,847 - 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.50 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.507 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.507/2.003/3.500/1.496 ms')
2024-12-26 02:17:10,847 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-33607061-17414001 passed
2024-12-26 02:17:10,997 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-12-26 02:17:10,997 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-33607061-17414001, IP 212.90.191.132, Port 22
2024-12-26 02:17:11,161 - DEBUG - VM ctest-TestBasicVMVNx-33607061-17414001 is ready for SSH connections
2024-12-26 02:17:11,161 - DEBUG - FILE SIZE = 1303B
2024-12-26 02:17:11,161 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-33607061-02724770 to ctest-TestBasicVMVNx-33607061-17414001 using scp
2024-12-26 02:17:11,162 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-12-26 02:17:11,169 - 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.32, gateway password: c0ntrail123
2024-12-26 02:17:11,169 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2024-12-26 02:17:13,137 - DEBUG - 1+0 records in
1+0 records out
2024-12-26 02:17:13,964 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-12-26 02:17:14,319 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.32, gateway password: c0ntrail123
2024-12-26 02:17:14,320 - DEBUG - ls -l testfile
2024-12-26 02:17:15,916 - DEBUG - -rw------- 1 cirros cirros 1303 Dec 25 19:17 [0;0mtestfile[0m
2024-12-26 02:17:15,916 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-33607061-17414001
2024-12-26 02:17:15,917 - INFO - Deleting VM ctest-TestBasicVMVNx-33607061-17414001
2024-12-26 02:17:15,997 - INFO - Deleting VM ctest-TestBasicVMVNx-33607061-02724770
2024-12-26 02:17:16,079 - INFO - Deleting VN ctest-vn-38621333
2024-12-26 02:17:16,123 - DEBUG - VN d593206a-d01e-441d-8148-38ed615e2919 still in use: Unable to complete operation on network d593206a-d01e-441d-8148-38ed615e2919. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-ebbd7bf3-1dde-438d-b8e9-7b33937418bf']
2024-12-26 02:17:16,123 - WARNING - Deleting VN ctest-vn-38621333 failed..Will retry
2024-12-26 02:17:18,229 - DEBUG - Response for deleting network ()
2024-12-26 02:17:18,494 - DEBUG - No XMPP flaps were noticed during the test
2024-12-26 02:17:18,494 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25]
2024-12-26 02:17:18,494 - INFO - --------------------------------------------------------------------------------
2024-12-26 02:17:19,173 - INFO - Deleted project: ctest-TestBasicVMVNx-33607061, ID : 7dbd8d9d-9e2d-4b51-9479-63ceb8d20df8