2025-01-02 13:03:45,404 - INFO - Domain Default found not creating 2025-01-02 13:03:45,548 - INFO - Project ctest-TestBasicVMVNx-14604805 not found, creating it 2025-01-02 13:03:46,008 - INFO - Created Project:ctest-TestBasicVMVNx-14604805, ID : c910bf5e-78df-4585-b8fb-cc0d315d8110 2025-01-02 13:03:47,440 - INFO - ================================================================================ 2025-01-02 13:03:47,440 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-01-02 13:03:47,440 - 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 2025-01-02 13:03:47,700 - DEBUG - Nothing to compare xmpp stats {'10.0.0.47': {'10.20.0.17': '0'}} with 2025-01-02 13:03:47,700 - INFO - Initial checks done. Running the testcase now 2025-01-02 13:03:47,700 - INFO - 2025-01-02 13:03:48,270 - DEBUG - Response for create_network : {'network': {'id': '59e11405-5fd7-404b-8227-d68e6997e81c', 'name': 'ctest-vn-67281984', 'tenant_id': 'c910bf5e78df4585b8fbcc0d315d8110', 'project_id': 'c910bf5e78df4585b8fbcc0d315d8110', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-14604805', 'ctest-vn-67281984'], 'port_security_enabled': True, 'description': ''}} 2025-01-02 13:03:48,487 - DEBUG - Response for create_subnet : {'subnet': {'id': '91d163c5-6a3a-4b14-a1b8-b1bfe3b47fdd', 'name': '', 'tenant_id': 'c910bf5e78df4585b8fbcc0d315d8110', 'network_id': '59e11405-5fd7-404b-8227-d68e6997e81c', 'ip_version': 4, 'cidr': '150.172.36.192/26', 'allocation_pools': [{'start': '150.172.36.194', 'end': '150.172.36.254'}], 'gateway_ip': '150.172.36.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '150.172.36.194', 'tags': [], 'project_id': 'c910bf5e78df4585b8fbcc0d315d8110'}} 2025-01-02 13:03:48,505 - INFO - Created VN ctest-vn-67281984 2025-01-02 13:03:48,560 - DEBUG - VN ctest-vn-67281984 UUID is 59e11405-5fd7-404b-8227-d68e6997e81c 2025-01-02 13:03:48,762 - DEBUG - Services list from nova: [, , ] 2025-01-02 13:03:49,734 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2510-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2510-1) 2025-01-02 13:03:50,874 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2510-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2510-1) 2025-01-02 13:03:50,875 - INFO - Waiting for VM ctest-TestBasicVMVNx-14604805-21240145 to be up.. 2025-01-02 13:03:50,972 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-02 13:03:56,048 - DEBUG - VM is in ACTIVE state now 2025-01-02 13:03:56,049 - INFO - VM name : ctest-TestBasicVMVNx-14604805-21240145 2025-01-02 13:03:56,126 - DEBUG - VM ctest-TestBasicVMVNx-14604805-21240145 ID is ae2db7dd-901d-4a16-9f4e-8e40d3e05964 2025-01-02 13:03:56,143 - DEBUG - VM ctest-TestBasicVMVNx-14604805-21240145 launched on Node cn-jenkins-deploy-platform-ansible-os-2510-1 2025-01-02 13:03:56,214 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine/ae2db7dd-901d-4a16-9f4e-8e40d3e05964 2025-01-02 13:03:56,523 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine/ae2db7dd-901d-4a16-9f4e-8e40d3e05964 2025-01-02 13:03:56,561 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine-interface/ff69bc7a-29d9-43d6-b6ee-647d067fd5b4 2025-01-02 13:03:59,810 - 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 1007ms') 2025-01-02 13:03:59,810 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-14604805-21240145 failed! 2025-01-02 13:03:59,868 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-14604805:ctest-vn-67281984 is 150.172.36.193 and allocation pool is NOT set 2025-01-02 13:04:01,937 - 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.51 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.22 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 = 1.223/2.366/3.510/1.143 ms') 2025-01-02 13:04:01,938 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-14604805-21240145 passed 2025-01-02 13:04:02,088 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-02 13:04:02,088 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-14604805-21240145, IP 150.172.36.195, Port 22 2025-01-02 13:04:02,239 - DEBUG - VM ctest-TestBasicVMVNx-14604805-21240145 is ready for SSH connections 2025-01-02 13:04:02,239 - INFO - Waiting for VM ctest-TestBasicVMVNx-14604805-29262787 to be up.. 2025-01-02 13:04:02,319 - DEBUG - VM is in ACTIVE state now 2025-01-02 13:04:02,319 - INFO - VM name : ctest-TestBasicVMVNx-14604805-29262787 2025-01-02 13:04:02,392 - DEBUG - VM ctest-TestBasicVMVNx-14604805-29262787 ID is c4f793dd-c019-44a2-9d62-3c0ffe1e01a0 2025-01-02 13:04:02,393 - DEBUG - VM ctest-TestBasicVMVNx-14604805-29262787 launched on Node cn-jenkins-deploy-platform-ansible-os-2510-1 2025-01-02 13:04:02,466 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine/c4f793dd-c019-44a2-9d62-3c0ffe1e01a0 2025-01-02 13:04:02,475 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine-interface/e1dee260-73d0-4af4-89b8-a447971b812f 2025-01-02 13:04:03,717 - 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.17 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.373 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.373/1.770/3.168/1.397 ms') 2025-01-02 13:04:03,717 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-14604805-29262787 passed 2025-01-02 13:04:03,864 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-02 13:04:03,864 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-14604805-29262787, IP 150.172.36.196, Port 22 2025-01-02 13:04:04,020 - DEBUG - VM ctest-TestBasicVMVNx-14604805-29262787 is ready for SSH connections 2025-01-02 13:04:04,020 - DEBUG - FILE SIZE = 1303B 2025-01-02 13:04:04,020 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-14604805-21240145 to ctest-TestBasicVMVNx-14604805-29262787 using scp 2025-01-02 13:04:04,021 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-02 13:04:04,025 - 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.47, gateway password: c0ntrail123 2025-01-02 13:04:04,025 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-01-02 13:04:05,978 - DEBUG - 1+0 records in 1+0 records out 2025-01-02 13:04:06,744 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-02 13:04:07,092 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.47, gateway password: c0ntrail123 2025-01-02 13:04:07,092 - DEBUG - ls -l testfile 2025-01-02 13:04:08,700 - DEBUG - -rw------- 1 cirros cirros 1303 Jan 2 06:04 testfile 2025-01-02 13:04:08,700 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-14604805-29262787 2025-01-02 13:04:08,700 - INFO - Deleting VM ctest-TestBasicVMVNx-14604805-29262787 2025-01-02 13:04:08,773 - INFO - Deleting VM ctest-TestBasicVMVNx-14604805-21240145 2025-01-02 13:04:08,850 - INFO - Deleting VN ctest-vn-67281984 2025-01-02 13:04:08,889 - DEBUG - VN 59e11405-5fd7-404b-8227-d68e6997e81c still in use: Unable to complete operation on network 59e11405-5fd7-404b-8227-d68e6997e81c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-40277956-55d2-4996-98c2-c5f46bbad37a'] 2025-01-02 13:04:08,889 - WARNING - Deleting VN ctest-vn-67281984 failed..Will retry 2025-01-02 13:04:11,004 - DEBUG - Response for deleting network () 2025-01-02 13:04:11,271 - DEBUG - No XMPP flaps were noticed during the test
2025-01-02 13:04:11,271 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-01-02 13:04:11,271 - INFO - -------------------------------------------------------------------------------- 2025-01-02 13:04:11,942 - INFO - Deleted project: ctest-TestBasicVMVNx-14604805, ID : c910bf5e-78df-4585-b8fb-cc0d315d8110