2024-09-02 02:49:22,401 - INFO - Domain Default found not creating 2024-09-02 02:49:22,716 - INFO - Project ctest-TestBasicVMVNx-26441116 not found, creating it 2024-09-02 02:49:23,269 - INFO - Created Project:ctest-TestBasicVMVNx-26441116, ID : 375d8f47-0ece-418f-8c84-6414c1445798 2024-09-02 02:49:25,424 - INFO - ================================================================================ 2024-09-02 02:49:25,424 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-02 02:49:25,425 - 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-09-02 02:49:25,720 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.39': '0'}} with 2024-09-02 02:49:25,720 - INFO - Initial checks done. Running the testcase now 2024-09-02 02:49:25,720 - INFO - 2024-09-02 02:49:26,378 - DEBUG - Response for create_network : {'network': {'id': 'fb3fb7dc-b06e-4003-ae15-afd7424eb543', 'name': 'ctest-vn-18463075', 'tenant_id': '375d8f470ece418f8c846414c1445798', 'project_id': '375d8f470ece418f8c846414c1445798', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-26441116', 'ctest-vn-18463075'], 'port_security_enabled': True, 'description': ''}} 2024-09-02 02:49:26,577 - DEBUG - Response for create_subnet : {'subnet': {'id': '45bba214-0e1d-45ce-804d-f3095ecfb1d7', 'name': '', 'tenant_id': '375d8f470ece418f8c846414c1445798', 'network_id': 'fb3fb7dc-b06e-4003-ae15-afd7424eb543', 'ip_version': 4, 'cidr': '52.176.200.64/26', 'allocation_pools': [{'start': '52.176.200.66', 'end': '52.176.200.126'}], 'gateway_ip': '52.176.200.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '52.176.200.66', 'tags': [], 'project_id': '375d8f470ece418f8c846414c1445798'}} 2024-09-02 02:49:26,595 - INFO - Created VN ctest-vn-18463075 2024-09-02 02:49:26,649 - DEBUG - VN ctest-vn-18463075 UUID is fb3fb7dc-b06e-4003-ae15-afd7424eb543 2024-09-02 02:49:26,967 - DEBUG - Services list from nova: [, , ] 2024-09-02 02:49:28,913 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1829-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1829-1) 2024-09-02 02:49:30,458 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1829-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1829-1) 2024-09-02 02:49:30,458 - INFO - Waiting for VM ctest-TestBasicVMVNx-26441116-02588553 to be up.. 2024-09-02 02:49:30,548 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-02 02:49:35,745 - DEBUG - VM is in ACTIVE state now 2024-09-02 02:49:35,745 - INFO - VM name : ctest-TestBasicVMVNx-26441116-02588553 2024-09-02 02:49:36,008 - DEBUG - VM ctest-TestBasicVMVNx-26441116-02588553 ID is cffbbeb7-c9de-406f-a6cb-0c934f9c2028 2024-09-02 02:49:36,066 - DEBUG - VM ctest-TestBasicVMVNx-26441116-02588553 launched on Node cn-jenkins-deploy-platform-ansible-os-1829-1 2024-09-02 02:49:36,272 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/cffbbeb7-c9de-406f-a6cb-0c934f9c2028 2024-09-02 02:49:36,612 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/cffbbeb7-c9de-406f-a6cb-0c934f9c2028 2024-09-02 02:49:36,652 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/4b604d63-22e2-4101-98b2-15d5992ff1c0 2024-09-02 02:49:39,999 - 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 1013ms') 2024-09-02 02:49:39,999 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-26441116-02588553 failed! 2024-09-02 02:49:40,066 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-26441116:ctest-vn-18463075 is 52.176.200.65 and allocation pool is NOT set 2024-09-02 02:49:42,136 - 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.30 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.77 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 = 2.769/3.034/3.300/0.265 ms') 2024-09-02 02:49:42,136 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-26441116-02588553 passed 2024-09-02 02:49:42,318 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-02 02:49:42,318 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-26441116-02588553, IP 52.176.200.67, Port 22 2024-09-02 02:49:42,532 - DEBUG - VM ctest-TestBasicVMVNx-26441116-02588553 is ready for SSH connections 2024-09-02 02:49:42,532 - INFO - Waiting for VM ctest-TestBasicVMVNx-26441116-38254749 to be up.. 2024-09-02 02:49:42,709 - DEBUG - VM is in ACTIVE state now 2024-09-02 02:49:42,709 - INFO - VM name : ctest-TestBasicVMVNx-26441116-38254749 2024-09-02 02:49:42,933 - DEBUG - VM ctest-TestBasicVMVNx-26441116-38254749 ID is 2eb8b69c-5532-4944-a191-0f288fbe2c9f 2024-09-02 02:49:42,933 - DEBUG - VM ctest-TestBasicVMVNx-26441116-38254749 launched on Node cn-jenkins-deploy-platform-ansible-os-1829-1 2024-09-02 02:49:43,120 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/2eb8b69c-5532-4944-a191-0f288fbe2c9f 2024-09-02 02:49:43,134 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/9804ce31-286d-4a8e-80b4-041e35278196 2024-09-02 02:49:44,431 - 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.91 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.749 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.749/2.329/3.909/1.580 ms') 2024-09-02 02:49:44,431 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-26441116-38254749 passed 2024-09-02 02:49:44,606 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-02 02:49:44,606 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-26441116-38254749, IP 52.176.200.68, Port 22 2024-09-02 02:49:44,803 - DEBUG - VM ctest-TestBasicVMVNx-26441116-38254749 is ready for SSH connections 2024-09-02 02:49:44,803 - DEBUG - FILE SIZE = 1303B 2024-09-02 02:49:44,804 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-26441116-02588553 to ctest-TestBasicVMVNx-26441116-38254749 using scp 2024-09-02 02:49:44,805 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-02 02:49:44,813 - 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.33, gateway password: c0ntrail123 2024-09-02 02:49:44,813 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-02 02:49:47,187 - DEBUG - 1+0 records in 1+0 records out 2024-09-02 02:49:47,980 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-02 02:49:48,497 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2024-09-02 02:49:48,498 - DEBUG - ls -l testfile 2024-09-02 02:49:50,470 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 1 20:49 testfile 2024-09-02 02:49:50,471 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-26441116-38254749 2024-09-02 02:49:50,471 - INFO - Deleting VM ctest-TestBasicVMVNx-26441116-38254749 2024-09-02 02:49:50,666 - INFO - Deleting VM ctest-TestBasicVMVNx-26441116-02588553 2024-09-02 02:49:50,862 - INFO - Deleting VN ctest-vn-18463075 2024-09-02 02:49:50,996 - DEBUG - VN fb3fb7dc-b06e-4003-ae15-afd7424eb543 still in use: Unable to complete operation on network fb3fb7dc-b06e-4003-ae15-afd7424eb543. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2895a770-8922-4825-95b8-b104f860160a'] 2024-09-02 02:49:50,997 - WARNING - Deleting VN ctest-vn-18463075 failed..Will retry 2024-09-02 02:49:53,275 - DEBUG - Response for deleting network () 2024-09-02 02:49:53,549 - DEBUG - No XMPP flaps were noticed during the test 2024-09-02 02:49:53,549 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:28] 2024-09-02 02:49:53,549 - INFO - -------------------------------------------------------------------------------- 2024-09-02 02:49:54,453 - INFO - Deleted project: ctest-TestBasicVMVNx-26441116, ID : 375d8f47-0ece-418f-8c84-6414c1445798