2025-02-05 15:44:54,401 - INFO - Domain Default found not creating 2025-02-05 15:44:54,562 - INFO - Project ctest-TestRoutersBasic-42741105 not found, creating it 2025-02-05 15:44:55,032 - INFO - Created Project:ctest-TestRoutersBasic-42741105, ID : db4252c0-a372-436e-9200-39178a1fb741 2025-02-05 15:44:56,559 - INFO - ================================================================================ 2025-02-05 15:44:56,559 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-02-05 15:44:56,559 - INFO - TEST DESCRIPTION : Create an external network, a router set router-gateway to external network launch a private network and attach it to router validate left vm pinging right vm through Snat 2025-02-05 15:44:56,820 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.17': '0'}} with 2025-02-05 15:44:56,820 - INFO - Initial checks done. Running the testcase now 2025-02-05 15:44:56,820 - INFO - 2025-02-05 15:44:57,527 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-42741105 2025-02-05 15:44:57,630 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-42741105 2025-02-05 15:44:57,957 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-42741105', 'default']} 2025-02-05 15:44:58,263 - DEBUG - Response for create_network : {'network': {'id': '81c17b78-66d7-4b92-a515-24fead3fde34', 'name': 'ctest-vn-78902113', 'tenant_id': 'db4252c0a372436e920039178a1fb741', 'project_id': 'db4252c0a372436e920039178a1fb741', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-42741105', 'ctest-vn-78902113'], 'port_security_enabled': True, 'description': ''}} 2025-02-05 15:44:58,470 - DEBUG - Response for create_subnet : {'subnet': {'id': '381c25da-bdd9-4963-808f-41c640692254', 'name': '', 'tenant_id': 'db4252c0a372436e920039178a1fb741', 'network_id': '81c17b78-66d7-4b92-a515-24fead3fde34', 'ip_version': 4, 'cidr': '49.63.135.128/26', 'allocation_pools': [{'start': '49.63.135.130', 'end': '49.63.135.190'}], 'gateway_ip': '49.63.135.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '49.63.135.130', 'tags': [], 'project_id': 'db4252c0a372436e920039178a1fb741'}} 2025-02-05 15:44:58,488 - INFO - Created VN ctest-vn-78902113 2025-02-05 15:44:58,541 - DEBUG - VN ctest-vn-78902113 UUID is 81c17b78-66d7-4b92-a515-24fead3fde34 2025-02-05 15:44:58,886 - DEBUG - Response for create_network : {'network': {'id': '1216096f-512d-47a2-ac9f-2414321956f3', 'name': 'ctest-ext_vn-13859986', 'tenant_id': 'db4252c0a372436e920039178a1fb741', 'project_id': 'db4252c0a372436e920039178a1fb741', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-42741105', 'ctest-ext_vn-13859986'], 'port_security_enabled': True, 'description': ''}} 2025-02-05 15:44:59,076 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a20d71a2-b305-41d6-b1c8-0eb3d312efe4', 'name': '', 'tenant_id': 'db4252c0a372436e920039178a1fb741', 'network_id': '1216096f-512d-47a2-ac9f-2414321956f3', 'ip_version': 4, 'cidr': '148.30.248.0/26', 'allocation_pools': [{'start': '148.30.248.2', 'end': '148.30.248.62'}], 'gateway_ip': '148.30.248.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '148.30.248.2', 'tags': [], 'project_id': 'db4252c0a372436e920039178a1fb741'}} 2025-02-05 15:44:59,095 - INFO - Created VN ctest-ext_vn-13859986 2025-02-05 15:44:59,150 - DEBUG - VN ctest-ext_vn-13859986 UUID is 1216096f-512d-47a2-ac9f-2414321956f3 2025-02-05 15:44:59,340 - DEBUG - Services list from nova: [, , ] 2025-02-05 15:45:00,355 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2693-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2693-1) 2025-02-05 15:45:01,561 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2693-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2693-1) 2025-02-05 15:45:01,648 - INFO - Setting gateway for router 4918255e-bafd-438b-88d8-445d3446080b to network 1216096f-512d-47a2-ac9f-2414321956f3 2025-02-05 15:45:01,762 - INFO - Adding interface with subnet_id 381c25da-bdd9-4963-808f-41c640692254, port_id None to router 4918255e-bafd-438b-88d8-445d3446080b 2025-02-05 15:45:02,443 - INFO - Waiting for VM ctest-TestRoutersBasic-42741105-35068849 to be up.. 2025-02-05 15:45:02,636 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-05 15:45:07,723 - DEBUG - VM is in ACTIVE state now 2025-02-05 15:45:07,723 - INFO - VM name : ctest-TestRoutersBasic-42741105-35068849 2025-02-05 15:45:07,805 - DEBUG - VM ctest-TestRoutersBasic-42741105-35068849 ID is 6e8ff48d-a650-4674-a0bb-e3e6f58a4935 2025-02-05 15:45:07,829 - DEBUG - VM ctest-TestRoutersBasic-42741105-35068849 launched on Node cn-jenkins-deploy-platform-ansible-os-2693-1 2025-02-05 15:45:07,925 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/6e8ff48d-a650-4674-a0bb-e3e6f58a4935 2025-02-05 15:45:08,515 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/6e8ff48d-a650-4674-a0bb-e3e6f58a4935 2025-02-05 15:45:08,556 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/0c38de47-528a-4fb6-b1d1-2048ee58a849 2025-02-05 15:45:11,817 - 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') 2025-02-05 15:45:11,817 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-42741105-35068849 failed! 2025-02-05 15:45:11,873 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-42741105:ctest-vn-78902113 is 49.63.135.129 and allocation pool is NOT set 2025-02-05 15:45:13,939 - 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.78 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.894 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.894/1.835/2.776/0.941 ms') 2025-02-05 15:45:13,939 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-42741105-35068849 passed 2025-02-05 15:45:14,093 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-05 15:45:14,094 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-42741105-35068849, IP 49.63.135.131, Port 22 2025-02-05 15:45:14,249 - DEBUG - VM ctest-TestRoutersBasic-42741105-35068849 is ready for SSH connections 2025-02-05 15:45:14,249 - INFO - Waiting for VM ctest-TestRoutersBasic-42741105-52503636 to be up.. 2025-02-05 15:45:14,333 - DEBUG - VM is in ACTIVE state now 2025-02-05 15:45:14,333 - INFO - VM name : ctest-TestRoutersBasic-42741105-52503636 2025-02-05 15:45:14,421 - DEBUG - VM ctest-TestRoutersBasic-42741105-52503636 ID is 431f4b07-125e-45d8-a0be-545d7d439f95 2025-02-05 15:45:14,421 - DEBUG - VM ctest-TestRoutersBasic-42741105-52503636 launched on Node cn-jenkins-deploy-platform-ansible-os-2693-1 2025-02-05 15:45:14,508 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/431f4b07-125e-45d8-a0be-545d7d439f95 2025-02-05 15:45:14,519 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/2ca11e2c-1847-489d-b379-196f9fe0625a 2025-02-05 15:45:15,764 - 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=4.98 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.75 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 = 1.751/3.363/4.976/1.612 ms') 2025-02-05 15:45:15,764 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-42741105-52503636 passed 2025-02-05 15:45:15,922 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-05 15:45:15,922 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-42741105-52503636, IP 148.30.248.3, Port 22 2025-02-05 15:45:16,081 - DEBUG - VM ctest-TestRoutersBasic-42741105-52503636 is ready for SSH connections 2025-02-05 15:45:16,081 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-05 15:45:16,081 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 148.30.248.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-02-05 15:45:16,081 - DEBUG - ping -s 56 -c 3 -W 1 148.30.248.3 2025-02-05 15:45:19,852 - DEBUG - PING 148.30.248.3 (148.30.248.3): 56 data bytes 64 bytes from 148.30.248.3: seq=0 ttl=62 time=7.819 ms 64 bytes from 148.30.248.3: seq=1 ttl=62 time=1.414 ms 64 bytes from 148.30.248.3: seq=2 ttl=62 time=0.784 ms --- 148.30.248.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.784/3.339/7.819 ms 2025-02-05 15:45:19,852 - INFO - Ping to IP 148.30.248.3 from VM ctest-TestRoutersBasic-42741105-35068849 passed 2025-02-05 15:45:19,852 - INFO - Deleting interface with subnet_id 381c25da-bdd9-4963-808f-41c640692254, port_id None from router 4918255e-bafd-438b-88d8-445d3446080b 2025-02-05 15:45:20,067 - INFO - Deleting VM ctest-TestRoutersBasic-42741105-52503636 2025-02-05 15:45:20,146 - INFO - Deleting VM ctest-TestRoutersBasic-42741105-35068849 2025-02-05 15:45:20,250 - INFO - Deleting VN ctest-ext_vn-13859986 2025-02-05 15:45:20,326 - DEBUG - VN 1216096f-512d-47a2-ac9f-2414321956f3 still in use: Unable to complete operation on network 1216096f-512d-47a2-ac9f-2414321956f3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ffffc7e0-8b0e-4372-becd-ea0037b534e1'] 2025-02-05 15:45:20,326 - WARNING - Deleting VN ctest-ext_vn-13859986 failed..Will retry 2025-02-05 15:45:22,464 - DEBUG - Response for deleting network () 2025-02-05 15:45:22,464 - INFO - Deleting VN ctest-vn-78902113 2025-02-05 15:45:22,568 - DEBUG - Response for deleting network () 2025-02-05 15:45:22,822 - DEBUG - No XMPP flaps were noticed during the test
2025-02-05 15:45:22,823 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-02-05 15:45:22,823 - INFO - -------------------------------------------------------------------------------- 2025-02-05 15:45:23,500 - INFO - Deleted project: ctest-TestRoutersBasic-42741105, ID : db4252c0-a372-436e-9200-39178a1fb741