2026-01-28 23:43:22,598 - INFO - Domain Default found not creating 2026-01-28 23:43:22,775 - INFO - Project ctest-TestRoutersBasic-61647849 not found, creating it 2026-01-28 23:43:23,250 - INFO - Created Project:ctest-TestRoutersBasic-61647849, ID : 3ef30832-94ab-41da-9f93-e5a680d98649 2026-01-28 23:43:24,823 - INFO - ================================================================================ 2026-01-28 23:43:24,823 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-01-28 23:43:24,823 - 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-28 23:43:25,079 - DEBUG - Nothing to compare xmpp stats {'10.0.0.154': {'10.20.0.17': '0'}} with 2026-01-28 23:43:25,079 - INFO - Initial checks done. Running the testcase now 2026-01-28 23:43:25,079 - INFO - 2026-01-28 23:43:25,862 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-61647849 2026-01-28 23:43:25,961 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-61647849 2026-01-28 23:43:26,289 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-61647849', 'default']} 2026-01-28 23:43:26,593 - DEBUG - Response for create_network : {'network': {'id': 'ec87e601-3d50-45d9-b1e2-1ba3e57543bf', 'name': 'ctest-vn-37829670', 'tenant_id': '3ef3083294ab41da9f93e5a680d98649', 'project_id': '3ef3083294ab41da9f93e5a680d98649', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-61647849', 'ctest-vn-37829670'], 'port_security_enabled': True, 'description': ''}} 2026-01-28 23:43:26,812 - DEBUG - Response for create_subnet : {'subnet': {'id': '9d5b17bf-bb1b-4cd8-917a-198d7ec78b86', 'name': '', 'tenant_id': '3ef3083294ab41da9f93e5a680d98649', 'network_id': 'ec87e601-3d50-45d9-b1e2-1ba3e57543bf', 'ip_version': 4, 'cidr': '115.159.113.192/26', 'allocation_pools': [{'start': '115.159.113.194', 'end': '115.159.113.254'}], 'gateway_ip': '115.159.113.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '115.159.113.194', 'tags': [], 'project_id': '3ef3083294ab41da9f93e5a680d98649'}} 2026-01-28 23:43:26,832 - INFO - Created VN ctest-vn-37829670 2026-01-28 23:43:26,885 - DEBUG - VN ctest-vn-37829670 UUID is ec87e601-3d50-45d9-b1e2-1ba3e57543bf 2026-01-28 23:43:27,228 - DEBUG - Response for create_network : {'network': {'id': 'e8f3521e-5170-49e1-8ccd-2f87b13115c0', 'name': 'ctest-ext_vn-90065754', 'tenant_id': '3ef3083294ab41da9f93e5a680d98649', 'project_id': '3ef3083294ab41da9f93e5a680d98649', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-61647849', 'ctest-ext_vn-90065754'], 'port_security_enabled': True, 'description': ''}} 2026-01-28 23:43:27,444 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c7613bf2-9720-4c98-82bb-5a8c7e47eb16', 'name': '', 'tenant_id': '3ef3083294ab41da9f93e5a680d98649', 'network_id': 'e8f3521e-5170-49e1-8ccd-2f87b13115c0', 'ip_version': 4, 'cidr': '47.119.35.64/26', 'allocation_pools': [{'start': '47.119.35.66', 'end': '47.119.35.126'}], 'gateway_ip': '47.119.35.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '47.119.35.66', 'tags': [], 'project_id': '3ef3083294ab41da9f93e5a680d98649'}} 2026-01-28 23:43:27,461 - INFO - Created VN ctest-ext_vn-90065754 2026-01-28 23:43:27,513 - DEBUG - VN ctest-ext_vn-90065754 UUID is e8f3521e-5170-49e1-8ccd-2f87b13115c0 2026-01-28 23:43:27,675 - DEBUG - Services list from nova: [, , ] 2026-01-28 23:43:28,773 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5109-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5109-1) 2026-01-28 23:43:29,972 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5109-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5109-1) 2026-01-28 23:43:30,036 - INFO - Setting gateway for router c4fe49c7-9c3e-437f-8218-5ccb7769d252 to network e8f3521e-5170-49e1-8ccd-2f87b13115c0 2026-01-28 23:43:30,097 - INFO - Adding interface with subnet_id 9d5b17bf-bb1b-4cd8-917a-198d7ec78b86, port_id None to router c4fe49c7-9c3e-437f-8218-5ccb7769d252 2026-01-28 23:43:30,455 - INFO - Waiting for VM ctest-TestRoutersBasic-61647849-92929965 to be up.. 2026-01-28 23:43:30,598 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-28 23:43:35,673 - DEBUG - VM is in ACTIVE state now 2026-01-28 23:43:35,673 - INFO - VM name : ctest-TestRoutersBasic-61647849-92929965 2026-01-28 23:43:35,747 - DEBUG - VM ctest-TestRoutersBasic-61647849-92929965 ID is f211a030-320e-47ab-940e-e7ed99c68c6e 2026-01-28 23:43:35,767 - DEBUG - VM ctest-TestRoutersBasic-61647849-92929965 launched on Node cn-jenkins-deploy-platform-ansible-os-5109-1 2026-01-28 23:43:35,843 - DEBUG - Requesting: http://10.0.0.154:8082/virtual-machine/f211a030-320e-47ab-940e-e7ed99c68c6e 2026-01-28 23:43:36,177 - DEBUG - Requesting: http://10.0.0.154:8082/virtual-machine/f211a030-320e-47ab-940e-e7ed99c68c6e 2026-01-28 23:43:36,210 - DEBUG - Requesting: http://10.0.0.154:8082/virtual-machine-interface/c5ac0877-1b7d-4224-a66c-3dbed66eb408 2026-01-28 23:43:39,467 - 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 1010ms') 2026-01-28 23:43:39,467 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-61647849-92929965 failed! 2026-01-28 23:43:39,521 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-61647849:ctest-vn-37829670 is 115.159.113.193 and allocation pool is NOT set 2026-01-28 23:43:41,580 - 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.99 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.591 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.591/1.792/2.994/1.201 ms') 2026-01-28 23:43:41,580 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-61647849-92929965 passed 2026-01-28 23:43:41,729 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 23:43:41,729 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-61647849-92929965, IP 115.159.113.195, Port 22 2026-01-28 23:43:41,886 - DEBUG - VM ctest-TestRoutersBasic-61647849-92929965 is ready for SSH connections 2026-01-28 23:43:41,886 - INFO - Waiting for VM ctest-TestRoutersBasic-61647849-58226924 to be up.. 2026-01-28 23:43:41,964 - DEBUG - VM is in ACTIVE state now 2026-01-28 23:43:41,964 - INFO - VM name : ctest-TestRoutersBasic-61647849-58226924 2026-01-28 23:43:42,036 - DEBUG - VM ctest-TestRoutersBasic-61647849-58226924 ID is 47c6b05c-cf7c-4b22-acd1-3ae9d09f9723 2026-01-28 23:43:42,037 - DEBUG - VM ctest-TestRoutersBasic-61647849-58226924 launched on Node cn-jenkins-deploy-platform-ansible-os-5109-1 2026-01-28 23:43:42,108 - DEBUG - Requesting: http://10.0.0.154:8082/virtual-machine/47c6b05c-cf7c-4b22-acd1-3ae9d09f9723 2026-01-28 23:43:42,116 - DEBUG - Requesting: http://10.0.0.154:8082/virtual-machine-interface/56d40c68-0b28-44d6-b2b5-d97bfbf2bd61 2026-01-28 23:43:43,346 - 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.97 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.954 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.954/2.963/4.973/2.009 ms') 2026-01-28 23:43:43,346 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-61647849-58226924 passed 2026-01-28 23:43:43,497 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 23:43:43,498 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-61647849-58226924, IP 47.119.35.67, Port 22 2026-01-28 23:43:43,661 - DEBUG - VM ctest-TestRoutersBasic-61647849-58226924 is ready for SSH connections 2026-01-28 23:43:43,661 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 23:43:43,661 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 47.119.35.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.154, gateway password: c0ntrail123 2026-01-28 23:43:43,661 - DEBUG - ping -s 56 -c 3 -W 1 47.119.35.67 2026-01-28 23:43:47,483 - DEBUG - PING 47.119.35.67 (47.119.35.67): 56 data bytes 64 bytes from 47.119.35.67: seq=0 ttl=62 time=5.604 ms 64 bytes from 47.119.35.67: seq=1 ttl=62 time=1.080 ms 64 bytes from 47.119.35.67: seq=2 ttl=62 time=1.114 ms --- 47.119.35.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.080/2.599/5.604 ms 2026-01-28 23:43:47,484 - INFO - Ping to IP 47.119.35.67 from VM ctest-TestRoutersBasic-61647849-92929965 passed 2026-01-28 23:43:47,484 - INFO - Deleting interface with subnet_id 9d5b17bf-bb1b-4cd8-917a-198d7ec78b86, port_id None from router c4fe49c7-9c3e-437f-8218-5ccb7769d252 2026-01-28 23:43:47,676 - INFO - Deleting VM ctest-TestRoutersBasic-61647849-58226924 2026-01-28 23:43:47,745 - INFO - Deleting VM ctest-TestRoutersBasic-61647849-92929965 2026-01-28 23:43:47,835 - INFO - Deleting VN ctest-ext_vn-90065754 2026-01-28 23:43:47,913 - DEBUG - VN e8f3521e-5170-49e1-8ccd-2f87b13115c0 still in use: Unable to complete operation on network e8f3521e-5170-49e1-8ccd-2f87b13115c0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-07e5ea25-2da3-4d97-9a8f-ae719141fa4c'] 2026-01-28 23:43:47,913 - WARNING - Deleting VN ctest-ext_vn-90065754 failed..Will retry 2026-01-28 23:43:50,005 - DEBUG - Response for deleting network () 2026-01-28 23:43:50,005 - INFO - Deleting VN ctest-vn-37829670 2026-01-28 23:43:50,096 - DEBUG - Response for deleting network () 2026-01-28 23:43:50,361 - DEBUG - No XMPP flaps were noticed during the test
2026-01-28 23:43:50,361 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2026-01-28 23:43:50,361 - INFO - -------------------------------------------------------------------------------- 2026-01-28 23:43:51,081 - INFO - Deleted project: ctest-TestRoutersBasic-61647849, ID : 3ef30832-94ab-41da-9f93-e5a680d98649