2026-01-02 03:59:26,598 - INFO - Domain Default found not creating 2026-01-02 03:59:26,782 - INFO - Project ctest-TestRoutersBasic-86052311 not found, creating it 2026-01-02 03:59:27,274 - INFO - Created Project:ctest-TestRoutersBasic-86052311, ID : 94b0960d-a87d-4c30-ae19-cb168f66d2d1 2026-01-02 03:59:28,949 - INFO - ================================================================================ 2026-01-02 03:59:28,949 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-01-02 03:59:28,949 - 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 2026-01-02 03:59:29,209 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0'}} with 2026-01-02 03:59:29,209 - INFO - Initial checks done. Running the testcase now 2026-01-02 03:59:29,209 - INFO - 2026-01-02 03:59:30,031 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-86052311 2026-01-02 03:59:30,132 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-86052311 2026-01-02 03:59:30,455 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-86052311', 'default']} 2026-01-02 03:59:30,757 - DEBUG - Response for create_network : {'network': {'id': '509d1249-6129-4932-9b50-ef9866497c39', 'name': 'ctest-vn-12040329', 'tenant_id': '94b0960da87d4c30ae19cb168f66d2d1', 'project_id': '94b0960da87d4c30ae19cb168f66d2d1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-86052311', 'ctest-vn-12040329'], 'port_security_enabled': True, 'description': ''}} 2026-01-02 03:59:30,983 - DEBUG - Response for create_subnet : {'subnet': {'id': '0183b002-d8a6-4bc6-9482-0267db58b19e', 'name': '', 'tenant_id': '94b0960da87d4c30ae19cb168f66d2d1', 'network_id': '509d1249-6129-4932-9b50-ef9866497c39', 'ip_version': 4, 'cidr': '34.168.205.64/26', 'allocation_pools': [{'start': '34.168.205.66', 'end': '34.168.205.126'}], 'gateway_ip': '34.168.205.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '34.168.205.66', 'tags': [], 'project_id': '94b0960da87d4c30ae19cb168f66d2d1'}} 2026-01-02 03:59:31,003 - INFO - Created VN ctest-vn-12040329 2026-01-02 03:59:31,055 - DEBUG - VN ctest-vn-12040329 UUID is 509d1249-6129-4932-9b50-ef9866497c39 2026-01-02 03:59:31,416 - DEBUG - Response for create_network : {'network': {'id': '2e87f814-b4ce-48d9-91a4-272452ef9550', 'name': 'ctest-ext_vn-59206429', 'tenant_id': '94b0960da87d4c30ae19cb168f66d2d1', 'project_id': '94b0960da87d4c30ae19cb168f66d2d1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-86052311', 'ctest-ext_vn-59206429'], 'port_security_enabled': True, 'description': ''}} 2026-01-02 03:59:31,605 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f3752649-7d13-4453-82b2-8822fd6d9196', 'name': '', 'tenant_id': '94b0960da87d4c30ae19cb168f66d2d1', 'network_id': '2e87f814-b4ce-48d9-91a4-272452ef9550', 'ip_version': 4, 'cidr': '203.209.191.192/26', 'allocation_pools': [{'start': '203.209.191.194', 'end': '203.209.191.254'}], 'gateway_ip': '203.209.191.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.209.191.194', 'tags': [], 'project_id': '94b0960da87d4c30ae19cb168f66d2d1'}} 2026-01-02 03:59:31,624 - INFO - Created VN ctest-ext_vn-59206429 2026-01-02 03:59:31,675 - DEBUG - VN ctest-ext_vn-59206429 UUID is 2e87f814-b4ce-48d9-91a4-272452ef9550 2026-01-02 03:59:31,850 - DEBUG - Services list from nova: [, , ] 2026-01-02 03:59:33,018 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4952-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4952-1) 2026-01-02 03:59:34,299 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4952-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4952-1) 2026-01-02 03:59:34,373 - INFO - Setting gateway for router 6190bc04-2894-405b-afb0-d66c6afe955c to network 2e87f814-b4ce-48d9-91a4-272452ef9550 2026-01-02 03:59:34,437 - INFO - Adding interface with subnet_id 0183b002-d8a6-4bc6-9482-0267db58b19e, port_id None to router 6190bc04-2894-405b-afb0-d66c6afe955c 2026-01-02 03:59:34,830 - INFO - Waiting for VM ctest-TestRoutersBasic-86052311-49820143 to be up.. 2026-01-02 03:59:35,023 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-02 03:59:40,110 - DEBUG - VM is in ACTIVE state now 2026-01-02 03:59:40,110 - INFO - VM name : ctest-TestRoutersBasic-86052311-49820143 2026-01-02 03:59:40,196 - DEBUG - VM ctest-TestRoutersBasic-86052311-49820143 ID is 70952fd3-11b2-4dcd-a269-dfb7cfde9e45 2026-01-02 03:59:40,218 - DEBUG - VM ctest-TestRoutersBasic-86052311-49820143 launched on Node cn-jenkins-deploy-platform-ansible-os-4952-1 2026-01-02 03:59:40,300 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/70952fd3-11b2-4dcd-a269-dfb7cfde9e45 2026-01-02 03:59:40,644 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/70952fd3-11b2-4dcd-a269-dfb7cfde9e45 2026-01-02 03:59:40,682 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/ad021870-d19f-4f4e-9aff-184fb0af0847 2026-01-02 03:59:43,962 - 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 1030ms') 2026-01-02 03:59:43,962 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-86052311-49820143 failed! 2026-01-02 03:59:44,024 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-86052311:ctest-vn-12040329 is 34.168.205.65 and allocation pool is NOT set 2026-01-02 03:59:46,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=6.04 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.11 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.107/4.073/6.040/1.966 ms') 2026-01-02 03:59:46,087 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-86052311-49820143 passed 2026-01-02 03:59:46,235 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-02 03:59:46,236 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-86052311-49820143, IP 34.168.205.67, Port 22 2026-01-02 03:59:46,405 - DEBUG - VM ctest-TestRoutersBasic-86052311-49820143 is ready for SSH connections 2026-01-02 03:59:46,406 - INFO - Waiting for VM ctest-TestRoutersBasic-86052311-92627137 to be up.. 2026-01-02 03:59:46,492 - DEBUG - VM is in ACTIVE state now 2026-01-02 03:59:46,492 - INFO - VM name : ctest-TestRoutersBasic-86052311-92627137 2026-01-02 03:59:46,583 - DEBUG - VM ctest-TestRoutersBasic-86052311-92627137 ID is 96f90fad-90a9-468e-8c1f-2a603314064a 2026-01-02 03:59:46,583 - DEBUG - VM ctest-TestRoutersBasic-86052311-92627137 launched on Node cn-jenkins-deploy-platform-ansible-os-4952-1 2026-01-02 03:59:46,666 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/96f90fad-90a9-468e-8c1f-2a603314064a 2026-01-02 03:59:46,675 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/992e0696-9232-4380-a21d-108b801ffd64 2026-01-02 03:59:47,915 - 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.96 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.07 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 = 2.065/3.510/4.955/1.445 ms') 2026-01-02 03:59:47,915 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-86052311-92627137 passed 2026-01-02 03:59:48,072 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-02 03:59:48,072 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-86052311-92627137, IP 203.209.191.195, Port 22 2026-01-02 03:59:48,141 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-01-02 03:59:48,230 - DEBUG - VM ctest-TestRoutersBasic-86052311-92627137 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-02 03:59:53,231 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-02 03:59:53,231 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-86052311-92627137, IP 203.209.191.195, Port 22 2026-01-02 03:59:53,405 - DEBUG - VM ctest-TestRoutersBasic-86052311-92627137 is ready for SSH connections 2026-01-02 03:59:53,405 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-02 03:59:53,406 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 203.209.191.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-01-02 03:59:53,406 - DEBUG - ping -s 56 -c 3 -W 1 203.209.191.195 2026-01-02 03:59:57,186 - DEBUG - PING 203.209.191.195 (203.209.191.195): 56 data bytes 64 bytes from 203.209.191.195: seq=0 ttl=62 time=7.072 ms 64 bytes from 203.209.191.195: seq=1 ttl=62 time=0.974 ms 64 bytes from 203.209.191.195: seq=2 ttl=62 time=1.066 ms --- 203.209.191.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.974/3.037/7.072 ms 2026-01-02 03:59:57,186 - INFO - Ping to IP 203.209.191.195 from VM ctest-TestRoutersBasic-86052311-49820143 passed 2026-01-02 03:59:57,186 - INFO - Deleting interface with subnet_id 0183b002-d8a6-4bc6-9482-0267db58b19e, port_id None from router 6190bc04-2894-405b-afb0-d66c6afe955c 2026-01-02 03:59:57,396 - INFO - Deleting VM ctest-TestRoutersBasic-86052311-92627137 2026-01-02 03:59:57,477 - INFO - Deleting VM ctest-TestRoutersBasic-86052311-49820143 2026-01-02 03:59:57,567 - INFO - Deleting VN ctest-ext_vn-59206429 2026-01-02 03:59:57,636 - DEBUG - VN 2e87f814-b4ce-48d9-91a4-272452ef9550 still in use: Unable to complete operation on network 2e87f814-b4ce-48d9-91a4-272452ef9550. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e607569a-e2ac-4fce-8210-a1e2d3cfb9c7'] 2026-01-02 03:59:57,636 - WARNING - Deleting VN ctest-ext_vn-59206429 failed..Will retry 2026-01-02 03:59:59,756 - DEBUG - Response for deleting network () 2026-01-02 03:59:59,756 - INFO - Deleting VN ctest-vn-12040329 2026-01-02 03:59:59,879 - DEBUG - Response for deleting network () 2026-01-02 04:00:00,139 - DEBUG - No XMPP flaps were noticed during the test
2026-01-02 04:00:00,139 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:32]
2026-01-02 04:00:00,139 - INFO - -------------------------------------------------------------------------------- 2026-01-02 04:00:00,913 - INFO - Deleted project: ctest-TestRoutersBasic-86052311, ID : 94b0960d-a87d-4c30-ae19-cb168f66d2d1