2026-05-08 19:32:18,187 - INFO - Domain Default found not creating 2026-05-08 19:32:18,351 - INFO - Project ctest-TestRoutersBasic-25821846 not found, creating it 2026-05-08 19:32:18,819 - INFO - Created Project:ctest-TestRoutersBasic-25821846, ID : 5cff99b3-de67-4dc3-b8a3-6e1d8c495955 2026-05-08 19:32:20,246 - INFO - ================================================================================ 2026-05-08 19:32:20,246 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-05-08 19:32:20,246 - 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-05-08 19:32:20,499 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-05-08 19:32:20,499 - INFO - Initial checks done. Running the testcase now 2026-05-08 19:32:20,499 - INFO - 2026-05-08 19:32:21,204 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-25821846 2026-05-08 19:32:21,303 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-25821846 2026-05-08 19:32:21,618 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-25821846', 'default']} 2026-05-08 19:32:21,893 - DEBUG - Response for create_network : {'network': {'id': 'd2fb3cee-9c9c-4997-8486-e8447b2a8f8e', 'name': 'ctest-vn-50124984', 'tenant_id': '5cff99b3de674dc3b8a36e1d8c495955', 'project_id': '5cff99b3de674dc3b8a36e1d8c495955', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-25821846', 'ctest-vn-50124984'], 'port_security_enabled': True, 'description': ''}} 2026-05-08 19:32:22,108 - DEBUG - Response for create_subnet : {'subnet': {'id': '08a50688-3215-4464-93b6-e698a21617bd', 'name': '', 'tenant_id': '5cff99b3de674dc3b8a36e1d8c495955', 'network_id': 'd2fb3cee-9c9c-4997-8486-e8447b2a8f8e', 'ip_version': 4, 'cidr': '77.43.14.64/26', 'allocation_pools': [{'start': '77.43.14.66', 'end': '77.43.14.126'}], 'gateway_ip': '77.43.14.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '77.43.14.66', 'tags': [], 'project_id': '5cff99b3de674dc3b8a36e1d8c495955'}} 2026-05-08 19:32:22,124 - INFO - Created VN ctest-vn-50124984 2026-05-08 19:32:22,175 - DEBUG - VN ctest-vn-50124984 UUID is d2fb3cee-9c9c-4997-8486-e8447b2a8f8e 2026-05-08 19:32:22,496 - DEBUG - Response for create_network : {'network': {'id': 'aa57ae65-bb70-4f35-ba51-8e4e55c15a2a', 'name': 'ctest-ext_vn-19581053', 'tenant_id': '5cff99b3de674dc3b8a36e1d8c495955', 'project_id': '5cff99b3de674dc3b8a36e1d8c495955', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-25821846', 'ctest-ext_vn-19581053'], 'port_security_enabled': True, 'description': ''}} 2026-05-08 19:32:22,662 - DEBUG - Response for create_subnet : {'subnet': {'id': '5dbddca1-a65e-479e-89df-f1b1fe501dc8', 'name': '', 'tenant_id': '5cff99b3de674dc3b8a36e1d8c495955', 'network_id': 'aa57ae65-bb70-4f35-ba51-8e4e55c15a2a', 'ip_version': 4, 'cidr': '91.215.109.64/26', 'allocation_pools': [{'start': '91.215.109.66', 'end': '91.215.109.126'}], 'gateway_ip': '91.215.109.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '91.215.109.66', 'tags': [], 'project_id': '5cff99b3de674dc3b8a36e1d8c495955'}} 2026-05-08 19:32:22,677 - INFO - Created VN ctest-ext_vn-19581053 2026-05-08 19:32:22,727 - DEBUG - VN ctest-ext_vn-19581053 UUID is aa57ae65-bb70-4f35-ba51-8e4e55c15a2a 2026-05-08 19:32:22,919 - DEBUG - Services list from nova: [, , ] 2026-05-08 19:32:23,919 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5759-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5759-1) 2026-05-08 19:32:25,044 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5759-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5759-1) 2026-05-08 19:32:25,115 - INFO - Setting gateway for router 68b1c74e-d2f7-4706-b49f-7c15444ec5ba to network aa57ae65-bb70-4f35-ba51-8e4e55c15a2a 2026-05-08 19:32:25,199 - INFO - Adding interface with subnet_id 08a50688-3215-4464-93b6-e698a21617bd, port_id None to router 68b1c74e-d2f7-4706-b49f-7c15444ec5ba 2026-05-08 19:32:25,533 - INFO - Waiting for VM ctest-TestRoutersBasic-25821846-75281143 to be up.. 2026-05-08 19:32:25,663 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-08 19:32:30,733 - DEBUG - VM is in ACTIVE state now 2026-05-08 19:32:30,733 - INFO - VM name : ctest-TestRoutersBasic-25821846-75281143 2026-05-08 19:32:30,801 - DEBUG - VM ctest-TestRoutersBasic-25821846-75281143 ID is 13c385bb-d13c-4e2c-9729-d29c5ad9e672 2026-05-08 19:32:30,819 - DEBUG - VM ctest-TestRoutersBasic-25821846-75281143 launched on Node cn-jenkins-deploy-platform-ansible-os-5759-1 2026-05-08 19:32:30,883 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/13c385bb-d13c-4e2c-9729-d29c5ad9e672 2026-05-08 19:32:31,173 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/13c385bb-d13c-4e2c-9729-d29c5ad9e672 2026-05-08 19:32:31,204 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/8d4bfb16-a0fd-4399-96cb-a519ff66f0b0 2026-05-08 19:32:34,446 - 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 1015ms') 2026-05-08 19:32:34,447 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-25821846-75281143 failed! 2026-05-08 19:32:34,503 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-25821846:ctest-vn-50124984 is 77.43.14.65 and allocation pool is NOT set 2026-05-08 19:32:36,561 - 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.02 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.379 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.379/1.698/3.018/1.319 ms') 2026-05-08 19:32:36,561 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-25821846-75281143 passed 2026-05-08 19:32:36,711 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-08 19:32:36,711 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-25821846-75281143, IP 77.43.14.67, Port 22 2026-05-08 19:32:36,862 - DEBUG - VM ctest-TestRoutersBasic-25821846-75281143 is ready for SSH connections 2026-05-08 19:32:36,862 - INFO - Waiting for VM ctest-TestRoutersBasic-25821846-64833727 to be up.. 2026-05-08 19:32:36,936 - DEBUG - VM is in ACTIVE state now 2026-05-08 19:32:36,936 - INFO - VM name : ctest-TestRoutersBasic-25821846-64833727 2026-05-08 19:32:36,998 - DEBUG - VM ctest-TestRoutersBasic-25821846-64833727 ID is b8ea6f77-e9c7-40c2-9fc5-327e4b80fdb3 2026-05-08 19:32:36,998 - DEBUG - VM ctest-TestRoutersBasic-25821846-64833727 launched on Node cn-jenkins-deploy-platform-ansible-os-5759-1 2026-05-08 19:32:37,065 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/b8ea6f77-e9c7-40c2-9fc5-327e4b80fdb3 2026-05-08 19:32:37,073 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/48c85153-c338-460e-81d0-ebca7c615617 2026-05-08 19:32:38,303 - 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.66 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.359 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.359/1.510/2.661/1.151 ms') 2026-05-08 19:32:38,303 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-25821846-64833727 passed 2026-05-08 19:32:38,450 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-08 19:32:38,451 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-25821846-64833727, IP 91.215.109.67, Port 22 2026-05-08 19:32:38,602 - DEBUG - VM ctest-TestRoutersBasic-25821846-64833727 is ready for SSH connections 2026-05-08 19:32:38,602 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-08 19:32:38,602 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 91.215.109.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-05-08 19:32:38,602 - DEBUG - ping -s 56 -c 3 -W 1 91.215.109.67 2026-05-08 19:32:42,299 - DEBUG - PING 91.215.109.67 (91.215.109.67): 56 data bytes 64 bytes from 91.215.109.67: seq=0 ttl=62 time=4.712 ms 64 bytes from 91.215.109.67: seq=1 ttl=62 time=0.791 ms 64 bytes from 91.215.109.67: seq=2 ttl=62 time=1.666 ms --- 91.215.109.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.791/2.389/4.712 ms 2026-05-08 19:32:42,300 - INFO - Ping to IP 91.215.109.67 from VM ctest-TestRoutersBasic-25821846-75281143 passed 2026-05-08 19:32:42,300 - INFO - Deleting interface with subnet_id 08a50688-3215-4464-93b6-e698a21617bd, port_id None from router 68b1c74e-d2f7-4706-b49f-7c15444ec5ba 2026-05-08 19:32:42,455 - INFO - Deleting VM ctest-TestRoutersBasic-25821846-64833727 2026-05-08 19:32:42,525 - INFO - Deleting VM ctest-TestRoutersBasic-25821846-75281143 2026-05-08 19:32:42,598 - INFO - Deleting VN ctest-ext_vn-19581053 2026-05-08 19:32:42,656 - DEBUG - VN aa57ae65-bb70-4f35-ba51-8e4e55c15a2a still in use: Unable to complete operation on network aa57ae65-bb70-4f35-ba51-8e4e55c15a2a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6328b681-3569-4a17-b9b1-264cdc36951b'] 2026-05-08 19:32:42,656 - WARNING - Deleting VN ctest-ext_vn-19581053 failed..Will retry 2026-05-08 19:32:44,755 - DEBUG - Response for deleting network () 2026-05-08 19:32:44,756 - INFO - Deleting VN ctest-vn-50124984 2026-05-08 19:32:44,850 - DEBUG - Response for deleting network () 2026-05-08 19:32:45,099 - DEBUG - No XMPP flaps were noticed during the test
2026-05-08 19:32:45,099 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2026-05-08 19:32:45,100 - INFO - -------------------------------------------------------------------------------- 2026-05-08 19:32:45,759 - INFO - Deleted project: ctest-TestRoutersBasic-25821846, ID : 5cff99b3-de67-4dc3-b8a3-6e1d8c495955