2025-11-03 09:12:06,209 - INFO - Domain Default found not creating 2025-11-03 09:12:06,368 - INFO - Project ctest-TestRoutersBasic-03001415 not found, creating it 2025-11-03 09:12:06,850 - INFO - Created Project:ctest-TestRoutersBasic-03001415, ID : 88212235-54ce-425d-ab82-fe893a206e44 2025-11-03 09:12:08,396 - INFO - ================================================================================ 2025-11-03 09:12:08,396 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-03 09:12:08,396 - 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-11-03 09:12:08,652 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.254': '0'}} with 2025-11-03 09:12:08,652 - INFO - Initial checks done. Running the testcase now 2025-11-03 09:12:08,652 - INFO - 2025-11-03 09:12:09,429 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-03001415 2025-11-03 09:12:09,530 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-03001415 2025-11-03 09:12:09,846 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-03001415', 'default']} 2025-11-03 09:12:10,164 - DEBUG - Response for create_network : {'network': {'id': 'ec0230b0-8fb8-40ad-9745-0ac80828e078', 'name': 'ctest-vn-02177025', 'tenant_id': '8821223554ce425dab82fe893a206e44', 'project_id': '8821223554ce425dab82fe893a206e44', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-03001415', 'ctest-vn-02177025'], 'port_security_enabled': True, 'description': ''}} 2025-11-03 09:12:10,350 - DEBUG - Response for create_subnet : {'subnet': {'id': '17a86c8b-3e51-4eb1-89d0-5537d314692c', 'name': '', 'tenant_id': '8821223554ce425dab82fe893a206e44', 'network_id': 'ec0230b0-8fb8-40ad-9745-0ac80828e078', 'ip_version': 4, 'cidr': '31.91.77.0/26', 'allocation_pools': [{'start': '31.91.77.2', 'end': '31.91.77.62'}], 'gateway_ip': '31.91.77.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.91.77.2', 'tags': [], 'project_id': '8821223554ce425dab82fe893a206e44'}} 2025-11-03 09:12:10,371 - INFO - Created VN ctest-vn-02177025 2025-11-03 09:12:10,422 - DEBUG - VN ctest-vn-02177025 UUID is ec0230b0-8fb8-40ad-9745-0ac80828e078 2025-11-03 09:12:10,748 - DEBUG - Response for create_network : {'network': {'id': '1192f8ba-3e57-4dc6-81d8-e37c29860479', 'name': 'ctest-ext_vn-40739524', 'tenant_id': '8821223554ce425dab82fe893a206e44', 'project_id': '8821223554ce425dab82fe893a206e44', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-03001415', 'ctest-ext_vn-40739524'], 'port_security_enabled': True, 'description': ''}} 2025-11-03 09:12:10,957 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cf77156d-6faf-459a-bf37-8e3594bb6e7c', 'name': '', 'tenant_id': '8821223554ce425dab82fe893a206e44', 'network_id': '1192f8ba-3e57-4dc6-81d8-e37c29860479', 'ip_version': 4, 'cidr': '168.168.94.64/26', 'allocation_pools': [{'start': '168.168.94.66', 'end': '168.168.94.126'}], 'gateway_ip': '168.168.94.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.168.94.66', 'tags': [], 'project_id': '8821223554ce425dab82fe893a206e44'}} 2025-11-03 09:12:10,974 - INFO - Created VN ctest-ext_vn-40739524 2025-11-03 09:12:11,026 - DEBUG - VN ctest-ext_vn-40739524 UUID is 1192f8ba-3e57-4dc6-81d8-e37c29860479 2025-11-03 09:12:11,190 - DEBUG - Services list from nova: [, , ] 2025-11-03 09:12:12,309 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4603-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4603-1) 2025-11-03 09:12:13,548 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4603-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4603-1) 2025-11-03 09:12:13,634 - INFO - Setting gateway for router 252828a6-ac6a-4502-a725-9a943191e066 to network 1192f8ba-3e57-4dc6-81d8-e37c29860479 2025-11-03 09:12:13,712 - INFO - Adding interface with subnet_id 17a86c8b-3e51-4eb1-89d0-5537d314692c, port_id None to router 252828a6-ac6a-4502-a725-9a943191e066 2025-11-03 09:12:14,014 - INFO - Waiting for VM ctest-TestRoutersBasic-03001415-52944236 to be up.. 2025-11-03 09:12:14,199 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-03 09:12:19,272 - DEBUG - VM is in ACTIVE state now 2025-11-03 09:12:19,273 - INFO - VM name : ctest-TestRoutersBasic-03001415-52944236 2025-11-03 09:12:19,358 - DEBUG - VM ctest-TestRoutersBasic-03001415-52944236 ID is a31e6bc4-be79-4b61-afcd-37a8ca8feda8 2025-11-03 09:12:19,381 - DEBUG - VM ctest-TestRoutersBasic-03001415-52944236 launched on Node cn-jenkins-deploy-platform-ansible-os-4603-1 2025-11-03 09:12:19,455 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/a31e6bc4-be79-4b61-afcd-37a8ca8feda8 2025-11-03 09:12:19,792 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/a31e6bc4-be79-4b61-afcd-37a8ca8feda8 2025-11-03 09:12:19,828 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/82e3711f-3684-4af7-9174-f4808e0b52e2 2025-11-03 09:12:23,096 - 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 1026ms') 2025-11-03 09:12:23,097 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-03001415-52944236 failed! 2025-11-03 09:12:23,154 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-03001415:ctest-vn-02177025 is 31.91.77.1 and allocation pool is NOT set 2025-11-03 09:12:25,222 - 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=7.95 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.50 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.497/5.225/7.953/2.728 ms') 2025-11-03 09:12:25,222 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-03001415-52944236 passed 2025-11-03 09:12:25,370 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 09:12:25,370 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-03001415-52944236, IP 31.91.77.3, Port 22 2025-11-03 09:12:25,530 - DEBUG - VM ctest-TestRoutersBasic-03001415-52944236 is ready for SSH connections 2025-11-03 09:12:25,531 - INFO - Waiting for VM ctest-TestRoutersBasic-03001415-61583301 to be up.. 2025-11-03 09:12:25,616 - DEBUG - VM is in ACTIVE state now 2025-11-03 09:12:25,616 - INFO - VM name : ctest-TestRoutersBasic-03001415-61583301 2025-11-03 09:12:25,705 - DEBUG - VM ctest-TestRoutersBasic-03001415-61583301 ID is 55157551-9f26-413c-a90b-a158e0c9409e 2025-11-03 09:12:25,705 - DEBUG - VM ctest-TestRoutersBasic-03001415-61583301 launched on Node cn-jenkins-deploy-platform-ansible-os-4603-1 2025-11-03 09:12:25,780 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/55157551-9f26-413c-a90b-a158e0c9409e 2025-11-03 09:12:25,788 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/d9570b6c-3456-4a47-a36f-a5867143bd24 2025-11-03 09:12:27,025 - 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.20 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.639 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.639/2.420/4.202/1.781 ms') 2025-11-03 09:12:27,025 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-03001415-61583301 passed 2025-11-03 09:12:27,174 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 09:12:27,174 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-03001415-61583301, IP 168.168.94.67, Port 22 2025-11-03 09:12:27,330 - DEBUG - VM ctest-TestRoutersBasic-03001415-61583301 is ready for SSH connections 2025-11-03 09:12:27,330 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 09:12:27,330 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 168.168.94.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-11-03 09:12:27,330 - DEBUG - ping -s 56 -c 3 -W 1 168.168.94.67 2025-11-03 09:12:31,075 - DEBUG - PING 168.168.94.67 (168.168.94.67): 56 data bytes 64 bytes from 168.168.94.67: seq=0 ttl=62 time=5.081 ms 64 bytes from 168.168.94.67: seq=1 ttl=62 time=1.309 ms 64 bytes from 168.168.94.67: seq=2 ttl=62 time=1.325 ms --- 168.168.94.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.309/2.571/5.081 ms 2025-11-03 09:12:31,075 - INFO - Ping to IP 168.168.94.67 from VM ctest-TestRoutersBasic-03001415-52944236 passed 2025-11-03 09:12:31,075 - INFO - Deleting interface with subnet_id 17a86c8b-3e51-4eb1-89d0-5537d314692c, port_id None from router 252828a6-ac6a-4502-a725-9a943191e066 2025-11-03 09:12:31,312 - INFO - Deleting VM ctest-TestRoutersBasic-03001415-61583301 2025-11-03 09:12:31,400 - INFO - Deleting VM ctest-TestRoutersBasic-03001415-52944236 2025-11-03 09:12:31,511 - INFO - Deleting VN ctest-ext_vn-40739524 2025-11-03 09:12:31,597 - DEBUG - VN 1192f8ba-3e57-4dc6-81d8-e37c29860479 still in use: Unable to complete operation on network 1192f8ba-3e57-4dc6-81d8-e37c29860479. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d1041ad2-0546-4ca3-a28e-5edbad3826be'] 2025-11-03 09:12:31,597 - WARNING - Deleting VN ctest-ext_vn-40739524 failed..Will retry 2025-11-03 09:12:33,693 - DEBUG - Response for deleting network () 2025-11-03 09:12:33,693 - INFO - Deleting VN ctest-vn-02177025 2025-11-03 09:12:33,791 - DEBUG - Response for deleting network () 2025-11-03 09:12:34,052 - DEBUG - No XMPP flaps were noticed during the test 2025-11-03 09:12:34,052 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-11-03 09:12:34,052 - INFO - -------------------------------------------------------------------------------- 2025-11-03 09:12:34,758 - INFO - Deleted project: ctest-TestRoutersBasic-03001415, ID : 88212235-54ce-425d-ab82-fe893a206e44