2026-02-09 21:56:52,391 - INFO - Domain Default found not creating 2026-02-09 21:56:52,555 - INFO - Project ctest-TestRoutersBasic-19988468 not found, creating it 2026-02-09 21:56:53,016 - INFO - Created Project:ctest-TestRoutersBasic-19988468, ID : 97a67f8f-5d7a-4b27-8a4b-2acf997991d6 2026-02-09 21:56:54,416 - INFO - ================================================================================ 2026-02-09 21:56:54,416 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-09 21:56:54,416 - 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-02-09 21:56:54,674 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.254': '0'}} with 2026-02-09 21:56:54,674 - INFO - Initial checks done. Running the testcase now 2026-02-09 21:56:54,674 - INFO - 2026-02-09 21:56:55,369 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-19988468 2026-02-09 21:56:55,465 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-19988468 2026-02-09 21:56:55,781 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-19988468', 'default']} 2026-02-09 21:56:56,083 - DEBUG - Response for create_network : {'network': {'id': '7c94547b-0289-4bbd-a583-301c94cf16c6', 'name': 'ctest-vn-16263540', 'tenant_id': '97a67f8f5d7a4b278a4b2acf997991d6', 'project_id': '97a67f8f5d7a4b278a4b2acf997991d6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-19988468', 'ctest-vn-16263540'], 'port_security_enabled': True, 'description': ''}} 2026-02-09 21:56:56,240 - DEBUG - Response for create_subnet : {'subnet': {'id': '4e352209-0309-4894-b86f-c066b6826a04', 'name': '', 'tenant_id': '97a67f8f5d7a4b278a4b2acf997991d6', 'network_id': '7c94547b-0289-4bbd-a583-301c94cf16c6', 'ip_version': 4, 'cidr': '160.191.214.0/26', 'allocation_pools': [{'start': '160.191.214.2', 'end': '160.191.214.62'}], 'gateway_ip': '160.191.214.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '160.191.214.2', 'tags': [], 'project_id': '97a67f8f5d7a4b278a4b2acf997991d6'}} 2026-02-09 21:56:56,256 - INFO - Created VN ctest-vn-16263540 2026-02-09 21:56:56,309 - DEBUG - VN ctest-vn-16263540 UUID is 7c94547b-0289-4bbd-a583-301c94cf16c6 2026-02-09 21:56:56,639 - DEBUG - Response for create_network : {'network': {'id': 'c225e21e-9f55-428f-81ae-c4f87706e2e3', 'name': 'ctest-ext_vn-96408187', 'tenant_id': '97a67f8f5d7a4b278a4b2acf997991d6', 'project_id': '97a67f8f5d7a4b278a4b2acf997991d6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-19988468', 'ctest-ext_vn-96408187'], 'port_security_enabled': True, 'description': ''}} 2026-02-09 21:56:56,838 - DEBUG - Response for create_subnet : {'subnet': {'id': '173f5336-2347-4099-8e35-bea32b831e8d', 'name': '', 'tenant_id': '97a67f8f5d7a4b278a4b2acf997991d6', 'network_id': 'c225e21e-9f55-428f-81ae-c4f87706e2e3', 'ip_version': 4, 'cidr': '13.210.239.64/26', 'allocation_pools': [{'start': '13.210.239.66', 'end': '13.210.239.126'}], 'gateway_ip': '13.210.239.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '13.210.239.66', 'tags': [], 'project_id': '97a67f8f5d7a4b278a4b2acf997991d6'}} 2026-02-09 21:56:56,853 - INFO - Created VN ctest-ext_vn-96408187 2026-02-09 21:56:56,905 - DEBUG - VN ctest-ext_vn-96408187 UUID is c225e21e-9f55-428f-81ae-c4f87706e2e3 2026-02-09 21:56:57,115 - DEBUG - Services list from nova: [, , ] 2026-02-09 21:56:58,083 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5251-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5251-1) 2026-02-09 21:56:59,269 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5251-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5251-1) 2026-02-09 21:56:59,334 - INFO - Setting gateway for router b4ebe566-e4b7-4c66-9e58-9f2bbc8a93e2 to network c225e21e-9f55-428f-81ae-c4f87706e2e3 2026-02-09 21:56:59,389 - INFO - Adding interface with subnet_id 4e352209-0309-4894-b86f-c066b6826a04, port_id None to router b4ebe566-e4b7-4c66-9e58-9f2bbc8a93e2 2026-02-09 21:56:59,739 - INFO - Waiting for VM ctest-TestRoutersBasic-19988468-10138184 to be up.. 2026-02-09 21:56:59,870 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-09 21:57:04,948 - DEBUG - VM is in ACTIVE state now 2026-02-09 21:57:04,948 - INFO - VM name : ctest-TestRoutersBasic-19988468-10138184 2026-02-09 21:57:05,037 - DEBUG - VM ctest-TestRoutersBasic-19988468-10138184 ID is b736d85b-5da8-4443-b290-def22b1eb50c 2026-02-09 21:57:05,059 - DEBUG - VM ctest-TestRoutersBasic-19988468-10138184 launched on Node cn-jenkins-deploy-platform-ansible-os-5251-1 2026-02-09 21:57:05,126 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/b736d85b-5da8-4443-b290-def22b1eb50c 2026-02-09 21:57:05,423 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/b736d85b-5da8-4443-b290-def22b1eb50c 2026-02-09 21:57:05,456 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/01730ffa-ebf4-4a9a-b3cc-0e259ffb204a 2026-02-09 21:57:08,701 - 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 1011ms') 2026-02-09 21:57:08,701 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-19988468-10138184 failed! 2026-02-09 21:57:08,753 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-19988468:ctest-vn-16263540 is 160.191.214.1 and allocation pool is NOT set 2026-02-09 21:57:10,817 - 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.39 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.397 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 = 0.397/2.391/4.386/1.994 ms') 2026-02-09 21:57:10,817 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-19988468-10138184 passed 2026-02-09 21:57:10,969 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 21:57:10,969 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-19988468-10138184, IP 160.191.214.3, Port 22 2026-02-09 21:57:11,144 - DEBUG - VM ctest-TestRoutersBasic-19988468-10138184 is ready for SSH connections 2026-02-09 21:57:11,144 - INFO - Waiting for VM ctest-TestRoutersBasic-19988468-24906594 to be up.. 2026-02-09 21:57:11,233 - DEBUG - VM is in ACTIVE state now 2026-02-09 21:57:11,233 - INFO - VM name : ctest-TestRoutersBasic-19988468-24906594 2026-02-09 21:57:11,317 - DEBUG - VM ctest-TestRoutersBasic-19988468-24906594 ID is 7a98bf3b-cafa-4005-adbd-0183f27b63c5 2026-02-09 21:57:11,317 - DEBUG - VM ctest-TestRoutersBasic-19988468-24906594 launched on Node cn-jenkins-deploy-platform-ansible-os-5251-1 2026-02-09 21:57:11,390 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/7a98bf3b-cafa-4005-adbd-0183f27b63c5 2026-02-09 21:57:11,399 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/3cd4a985-1941-4a5c-b240-5c91d4296b4e 2026-02-09 21:57:12,628 - 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=2.88 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.375 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.375/1.628/2.882/1.253 ms') 2026-02-09 21:57:12,628 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-19988468-24906594 passed 2026-02-09 21:57:12,777 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 21:57:12,777 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-19988468-24906594, IP 13.210.239.67, Port 22 2026-02-09 21:57:12,933 - DEBUG - VM ctest-TestRoutersBasic-19988468-24906594 is ready for SSH connections 2026-02-09 21:57:12,933 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 21:57:12,933 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 13.210.239.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2026-02-09 21:57:12,933 - DEBUG - ping -s 56 -c 3 -W 1 13.210.239.67 2026-02-09 21:57:16,600 - DEBUG - PING 13.210.239.67 (13.210.239.67): 56 data bytes 64 bytes from 13.210.239.67: seq=0 ttl=62 time=6.166 ms 64 bytes from 13.210.239.67: seq=1 ttl=62 time=0.979 ms 64 bytes from 13.210.239.67: seq=2 ttl=62 time=1.123 ms --- 13.210.239.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.979/2.756/6.166 ms 2026-02-09 21:57:16,600 - INFO - Ping to IP 13.210.239.67 from VM ctest-TestRoutersBasic-19988468-10138184 passed 2026-02-09 21:57:16,600 - INFO - Deleting interface with subnet_id 4e352209-0309-4894-b86f-c066b6826a04, port_id None from router b4ebe566-e4b7-4c66-9e58-9f2bbc8a93e2 2026-02-09 21:57:16,792 - INFO - Deleting VM ctest-TestRoutersBasic-19988468-24906594 2026-02-09 21:57:16,863 - INFO - Deleting VM ctest-TestRoutersBasic-19988468-10138184 2026-02-09 21:57:16,930 - INFO - Deleting VN ctest-ext_vn-96408187 2026-02-09 21:57:16,986 - DEBUG - VN c225e21e-9f55-428f-81ae-c4f87706e2e3 still in use: Unable to complete operation on network c225e21e-9f55-428f-81ae-c4f87706e2e3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-13d20e09-83f4-448c-b7ed-73d6dc60a493'] 2026-02-09 21:57:16,986 - WARNING - Deleting VN ctest-ext_vn-96408187 failed..Will retry 2026-02-09 21:57:19,070 - DEBUG - Response for deleting network () 2026-02-09 21:57:19,070 - INFO - Deleting VN ctest-vn-16263540 2026-02-09 21:57:19,165 - DEBUG - Response for deleting network () 2026-02-09 21:57:19,418 - DEBUG - No XMPP flaps were noticed during the test
2026-02-09 21:57:19,418 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2026-02-09 21:57:19,418 - INFO - -------------------------------------------------------------------------------- 2026-02-09 21:57:20,076 - INFO - Deleted project: ctest-TestRoutersBasic-19988468, ID : 97a67f8f-5d7a-4b27-8a4b-2acf997991d6