2025-11-10 12:05:02,812 - INFO - Domain Default found not creating
2025-11-10 12:05:02,980 - INFO - Project ctest-TestRoutersBasic-24490773 not found, creating it
2025-11-10 12:05:03,482 - INFO - Created Project:ctest-TestRoutersBasic-24490773, ID : ae098c01-50bf-49fb-acc3-e93d2a47e6b9
2025-11-10 12:05:05,077 - INFO - ================================================================================
2025-11-10 12:05:05,077 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-11-10 12:05:05,077 - 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-10 12:05:05,341 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.14': '0'}} with
2025-11-10 12:05:05,341 - INFO - Initial checks done. Running the testcase now
2025-11-10 12:05:05,341 - INFO -
2025-11-10 12:05:06,072 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-24490773
2025-11-10 12:05:06,167 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-24490773
2025-11-10 12:05:06,479 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-24490773', 'default']}
2025-11-10 12:05:06,772 - DEBUG - Response for create_network : {'network': {'id': 'f0f04533-68b6-4399-ab0b-c66461bd78c8', 'name': 'ctest-vn-79466470', 'tenant_id': 'ae098c0150bf49fbacc3e93d2a47e6b9', 'project_id': 'ae098c0150bf49fbacc3e93d2a47e6b9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-24490773', 'ctest-vn-79466470'], 'port_security_enabled': True, 'description': ''}}
2025-11-10 12:05:06,953 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e9111064-751d-4ecb-bbdd-591f02a2e86b', 'name': '', 'tenant_id': 'ae098c0150bf49fbacc3e93d2a47e6b9', 'network_id': 'f0f04533-68b6-4399-ab0b-c66461bd78c8', 'ip_version': 4, 'cidr': '145.210.216.192/26', 'allocation_pools': [{'start': '145.210.216.194', 'end': '145.210.216.254'}], 'gateway_ip': '145.210.216.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '145.210.216.194', 'tags': [], 'project_id': 'ae098c0150bf49fbacc3e93d2a47e6b9'}}
2025-11-10 12:05:06,973 - INFO - Created VN ctest-vn-79466470
2025-11-10 12:05:07,023 - DEBUG - VN ctest-vn-79466470 UUID is f0f04533-68b6-4399-ab0b-c66461bd78c8
2025-11-10 12:05:07,329 - DEBUG - Response for create_network : {'network': {'id': '09893246-e3d6-4474-869b-7d836102acc0', 'name': 'ctest-ext_vn-26744365', 'tenant_id': 'ae098c0150bf49fbacc3e93d2a47e6b9', 'project_id': 'ae098c0150bf49fbacc3e93d2a47e6b9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-24490773', 'ctest-ext_vn-26744365'], 'port_security_enabled': True, 'description': ''}}
2025-11-10 12:05:07,500 - DEBUG - Response for create_subnet : {'subnet': {'id': '78e445a8-656a-471d-87d6-4224e06469f1', 'name': '', 'tenant_id': 'ae098c0150bf49fbacc3e93d2a47e6b9', 'network_id': '09893246-e3d6-4474-869b-7d836102acc0', 'ip_version': 4, 'cidr': '72.36.144.64/26', 'allocation_pools': [{'start': '72.36.144.66', 'end': '72.36.144.126'}], 'gateway_ip': '72.36.144.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '72.36.144.66', 'tags': [], 'project_id': 'ae098c0150bf49fbacc3e93d2a47e6b9'}}
2025-11-10 12:05:07,520 - INFO - Created VN ctest-ext_vn-26744365
2025-11-10 12:05:07,571 - DEBUG - VN ctest-ext_vn-26744365 UUID is 09893246-e3d6-4474-869b-7d836102acc0
2025-11-10 12:05:07,745 - DEBUG - Services list from nova: [, , ]
2025-11-10 12:05:08,772 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4680-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4680-1)
2025-11-10 12:05:09,950 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4680-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4680-1)
2025-11-10 12:05:10,045 - INFO - Setting gateway for router 336d4c97-e041-4037-936a-be8b75f7b387 to network 09893246-e3d6-4474-869b-7d836102acc0
2025-11-10 12:05:10,117 - INFO - Adding interface with subnet_id e9111064-751d-4ecb-bbdd-591f02a2e86b, port_id None to router 336d4c97-e041-4037-936a-be8b75f7b387
2025-11-10 12:05:10,581 - INFO - Waiting for VM ctest-TestRoutersBasic-24490773-91773235 to be up..
2025-11-10 12:05:10,742 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-10 12:05:15,821 - DEBUG - VM is in ACTIVE state now
2025-11-10 12:05:15,821 - INFO - VM name : ctest-TestRoutersBasic-24490773-91773235
2025-11-10 12:05:15,899 - DEBUG - VM ctest-TestRoutersBasic-24490773-91773235 ID is 7b62aa0f-177a-4e28-a6ce-470fbbfc84c1
2025-11-10 12:05:15,924 - DEBUG - VM ctest-TestRoutersBasic-24490773-91773235 launched on Node cn-jenkins-deploy-platform-ansible-os-4680-1
2025-11-10 12:05:16,007 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/7b62aa0f-177a-4e28-a6ce-470fbbfc84c1
2025-11-10 12:05:16,313 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/7b62aa0f-177a-4e28-a6ce-470fbbfc84c1
2025-11-10 12:05:16,348 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/c2fd0954-7fce-41d4-92aa-eab8dcbebba8
2025-11-10 12:05:19,610 - 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')
2025-11-10 12:05:19,610 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-24490773-91773235 failed!
2025-11-10 12:05:19,667 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-24490773:ctest-vn-79466470 is 145.210.216.193 and allocation pool is NOT set
2025-11-10 12:05:21,734 - 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.87 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.677 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.677/2.274/3.871/1.597 ms')
2025-11-10 12:05:21,734 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-24490773-91773235 passed
2025-11-10 12:05:21,887 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-10 12:05:21,887 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-24490773-91773235, IP 145.210.216.195, Port 22
2025-11-10 12:05:22,053 - DEBUG - VM ctest-TestRoutersBasic-24490773-91773235 is ready for SSH connections
2025-11-10 12:05:22,053 - INFO - Waiting for VM ctest-TestRoutersBasic-24490773-10828855 to be up..
2025-11-10 12:05:22,171 - DEBUG - VM is in ACTIVE state now
2025-11-10 12:05:22,171 - INFO - VM name : ctest-TestRoutersBasic-24490773-10828855
2025-11-10 12:05:22,272 - DEBUG - VM ctest-TestRoutersBasic-24490773-10828855 ID is 845ec9cd-55ba-484d-9409-8b6a19492944
2025-11-10 12:05:22,272 - DEBUG - VM ctest-TestRoutersBasic-24490773-10828855 launched on Node cn-jenkins-deploy-platform-ansible-os-4680-1
2025-11-10 12:05:22,366 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/845ec9cd-55ba-484d-9409-8b6a19492944
2025-11-10 12:05:22,376 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/57ff92cc-dd3a-40a9-9b38-60bdf4ed71c0
2025-11-10 12:05:23,635 - 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.67 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.01 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 = 1.011/2.838/4.666/1.827 ms')
2025-11-10 12:05:23,635 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-24490773-10828855 passed
2025-11-10 12:05:23,795 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-10 12:05:23,795 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-24490773-10828855, IP 72.36.144.67, Port 22
2025-11-10 12:05:23,959 - DEBUG - VM ctest-TestRoutersBasic-24490773-10828855 is ready for SSH connections
2025-11-10 12:05:23,959 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-10 12:05:23,959 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 72.36.144.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123
2025-11-10 12:05:23,959 - DEBUG - ping -s 56 -c 3 -W 1 72.36.144.67
2025-11-10 12:05:27,678 - DEBUG - PING 72.36.144.67 (72.36.144.67): 56 data bytes
64 bytes from 72.36.144.67: seq=0 ttl=62 time=4.603 ms
64 bytes from 72.36.144.67: seq=1 ttl=62 time=0.884 ms
64 bytes from 72.36.144.67: seq=2 ttl=62 time=1.059 ms
--- 72.36.144.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.884/2.182/4.603 ms
2025-11-10 12:05:27,679 - INFO - Ping to IP 72.36.144.67 from VM ctest-TestRoutersBasic-24490773-91773235 passed
2025-11-10 12:05:27,679 - INFO - Deleting interface with subnet_id e9111064-751d-4ecb-bbdd-591f02a2e86b, port_id None from router 336d4c97-e041-4037-936a-be8b75f7b387
2025-11-10 12:05:27,872 - INFO - Deleting VM ctest-TestRoutersBasic-24490773-10828855
2025-11-10 12:05:27,958 - INFO - Deleting VM ctest-TestRoutersBasic-24490773-91773235
2025-11-10 12:05:28,036 - INFO - Deleting VN ctest-ext_vn-26744365
2025-11-10 12:05:28,116 - DEBUG - VN 09893246-e3d6-4474-869b-7d836102acc0 still in use: Unable to complete operation on network 09893246-e3d6-4474-869b-7d836102acc0. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-e46c4d51-e1ad-4a74-83e9-038a6f91e7e2']
2025-11-10 12:05:28,116 - WARNING - Deleting VN ctest-ext_vn-26744365 failed..Will retry
2025-11-10 12:05:30,250 - DEBUG - Response for deleting network ()
2025-11-10 12:05:30,251 - INFO - Deleting VN ctest-vn-79466470
2025-11-10 12:05:30,379 - DEBUG - Response for deleting network ()
2025-11-10 12:05:30,651 - DEBUG - No XMPP flaps were noticed during the test
2025-11-10 12:05:30,651 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-11-10 12:05:30,651 - INFO - --------------------------------------------------------------------------------
2025-11-10 12:05:31,456 - INFO - Deleted project: ctest-TestRoutersBasic-24490773, ID : ae098c01-50bf-49fb-acc3-e93d2a47e6b9