2025-09-13 06:09:20,639 - INFO - Domain Default found not creating
2025-09-13 06:09:20,812 - INFO - Project ctest-TestRoutersBasic-51441457 not found, creating it
2025-09-13 06:09:21,290 - INFO - Created Project:ctest-TestRoutersBasic-51441457, ID : e16b2c11-ee8c-4b6a-b6fc-6d76adda22fc
2025-09-13 06:09:23,380 - INFO - ================================================================================
2025-09-13 06:09:23,380 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-09-13 06:09:23,380 - 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-09-13 06:09:23,639 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-09-13 06:09:23,639 - INFO - Initial checks done. Running the testcase now
2025-09-13 06:09:23,639 - INFO -
2025-09-13 06:09:24,330 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-51441457
2025-09-13 06:09:24,423 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-51441457
2025-09-13 06:09:24,743 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-51441457', 'default']}
2025-09-13 06:09:25,082 - DEBUG - Response for create_network : {'network': {'id': 'c95cc298-1c8a-45fc-ab10-6c29eaf83d72', 'name': 'ctest-vn-02821291', 'tenant_id': 'e16b2c11ee8c4b6ab6fc6d76adda22fc', 'project_id': 'e16b2c11ee8c4b6ab6fc6d76adda22fc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-51441457', 'ctest-vn-02821291'], 'port_security_enabled': True, 'description': ''}}
2025-09-13 06:09:25,258 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bbaf5617-6b38-43cc-aa4c-cbe5a00a0cec', 'name': '', 'tenant_id': 'e16b2c11ee8c4b6ab6fc6d76adda22fc', 'network_id': 'c95cc298-1c8a-45fc-ab10-6c29eaf83d72', 'ip_version': 4, 'cidr': '122.187.185.128/26', 'allocation_pools': [{'start': '122.187.185.130', 'end': '122.187.185.190'}], 'gateway_ip': '122.187.185.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.187.185.130', 'tags': [], 'project_id': 'e16b2c11ee8c4b6ab6fc6d76adda22fc'}}
2025-09-13 06:09:25,278 - INFO - Created VN ctest-vn-02821291
2025-09-13 06:09:25,331 - DEBUG - VN ctest-vn-02821291 UUID is c95cc298-1c8a-45fc-ab10-6c29eaf83d72
2025-09-13 06:09:25,707 - DEBUG - Response for create_network : {'network': {'id': 'a0f92b5d-68fe-493e-952c-39bb63f39e42', 'name': 'ctest-ext_vn-35674865', 'tenant_id': 'e16b2c11ee8c4b6ab6fc6d76adda22fc', 'project_id': 'e16b2c11ee8c4b6ab6fc6d76adda22fc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-51441457', 'ctest-ext_vn-35674865'], 'port_security_enabled': True, 'description': ''}}
2025-09-13 06:09:25,886 - DEBUG - Response for create_subnet : {'subnet': {'id': '829b324c-3b1a-40ca-8b06-b40de254ef63', 'name': '', 'tenant_id': 'e16b2c11ee8c4b6ab6fc6d76adda22fc', 'network_id': 'a0f92b5d-68fe-493e-952c-39bb63f39e42', 'ip_version': 4, 'cidr': '82.225.176.128/26', 'allocation_pools': [{'start': '82.225.176.130', 'end': '82.225.176.190'}], 'gateway_ip': '82.225.176.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '82.225.176.130', 'tags': [], 'project_id': 'e16b2c11ee8c4b6ab6fc6d76adda22fc'}}
2025-09-13 06:09:25,905 - INFO - Created VN ctest-ext_vn-35674865
2025-09-13 06:09:25,959 - DEBUG - VN ctest-ext_vn-35674865 UUID is a0f92b5d-68fe-493e-952c-39bb63f39e42
2025-09-13 06:09:26,127 - DEBUG - Services list from nova: [, , ]
2025-09-13 06:09:27,189 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4101-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4101-1)
2025-09-13 06:09:28,401 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4101-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4101-1)
2025-09-13 06:09:28,471 - INFO - Setting gateway for router e4591829-1839-41f6-8501-67b7a84333d3 to network a0f92b5d-68fe-493e-952c-39bb63f39e42
2025-09-13 06:09:28,523 - INFO - Adding interface with subnet_id bbaf5617-6b38-43cc-aa4c-cbe5a00a0cec, port_id None to router e4591829-1839-41f6-8501-67b7a84333d3
2025-09-13 06:09:28,903 - INFO - Waiting for VM ctest-TestRoutersBasic-51441457-38781148 to be up..
2025-09-13 06:09:29,067 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-13 06:09:34,145 - DEBUG - VM is in ACTIVE state now
2025-09-13 06:09:34,146 - INFO - VM name : ctest-TestRoutersBasic-51441457-38781148
2025-09-13 06:09:34,225 - DEBUG - VM ctest-TestRoutersBasic-51441457-38781148 ID is f903332b-22e3-4811-ac20-a7900a37c458
2025-09-13 06:09:34,245 - DEBUG - VM ctest-TestRoutersBasic-51441457-38781148 launched on Node cn-jenkins-deploy-platform-ansible-os-4101-1
2025-09-13 06:09:34,316 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/f903332b-22e3-4811-ac20-a7900a37c458
2025-09-13 06:09:34,622 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/f903332b-22e3-4811-ac20-a7900a37c458
2025-09-13 06:09:34,659 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/3b3b46a6-5967-4e3c-8571-91e88b7d2edb
2025-09-13 06:09:37,901 - 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 1006ms')
2025-09-13 06:09:37,901 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-51441457-38781148 failed!
2025-09-13 06:09:37,959 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-51441457:ctest-vn-02821291 is 122.187.185.129 and allocation pool is NOT set
2025-09-13 06:09:40,027 - 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.66 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.06 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 = 2.060/3.358/4.656/1.298 ms')
2025-09-13 06:09:40,027 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-51441457-38781148 passed
2025-09-13 06:09:40,187 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-13 06:09:40,187 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-51441457-38781148, IP 122.187.185.131, Port 22
2025-09-13 06:09:40,363 - DEBUG - VM ctest-TestRoutersBasic-51441457-38781148 is ready for SSH connections
2025-09-13 06:09:40,363 - INFO - Waiting for VM ctest-TestRoutersBasic-51441457-85305241 to be up..
2025-09-13 06:09:40,445 - DEBUG - VM is in ACTIVE state now
2025-09-13 06:09:40,445 - INFO - VM name : ctest-TestRoutersBasic-51441457-85305241
2025-09-13 06:09:40,522 - DEBUG - VM ctest-TestRoutersBasic-51441457-85305241 ID is 21ea96d6-89d3-40dd-b1fb-014ad911f6eb
2025-09-13 06:09:40,522 - DEBUG - VM ctest-TestRoutersBasic-51441457-85305241 launched on Node cn-jenkins-deploy-platform-ansible-os-4101-1
2025-09-13 06:09:40,600 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/21ea96d6-89d3-40dd-b1fb-014ad911f6eb
2025-09-13 06:09:40,608 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/a6954116-a0d1-4e90-931b-fe6148ac371f
2025-09-13 06:09:41,844 - 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=3.20 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.386 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.386/1.794/3.203/1.408 ms')
2025-09-13 06:09:41,844 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-51441457-85305241 passed
2025-09-13 06:09:41,995 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-13 06:09:41,995 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-51441457-85305241, IP 82.225.176.131, Port 22
2025-09-13 06:09:42,150 - DEBUG - VM ctest-TestRoutersBasic-51441457-85305241 is ready for SSH connections
2025-09-13 06:09:42,151 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-13 06:09:42,151 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 82.225.176.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-09-13 06:09:42,151 - DEBUG - ping -s 56 -c 3 -W 1 82.225.176.131
2025-09-13 06:09:45,882 - DEBUG - PING 82.225.176.131 (82.225.176.131): 56 data bytes
64 bytes from 82.225.176.131: seq=0 ttl=62 time=5.073 ms
64 bytes from 82.225.176.131: seq=1 ttl=62 time=1.344 ms
64 bytes from 82.225.176.131: seq=2 ttl=62 time=1.027 ms
--- 82.225.176.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.027/2.481/5.073 ms
2025-09-13 06:09:45,882 - INFO - Ping to IP 82.225.176.131 from VM ctest-TestRoutersBasic-51441457-38781148 passed
2025-09-13 06:09:45,882 - INFO - Deleting interface with subnet_id bbaf5617-6b38-43cc-aa4c-cbe5a00a0cec, port_id None from router e4591829-1839-41f6-8501-67b7a84333d3
2025-09-13 06:09:46,074 - INFO - Deleting VM ctest-TestRoutersBasic-51441457-85305241
2025-09-13 06:09:46,148 - INFO - Deleting VM ctest-TestRoutersBasic-51441457-38781148
2025-09-13 06:09:46,222 - INFO - Deleting VN ctest-ext_vn-35674865
2025-09-13 06:09:46,296 - DEBUG - VN a0f92b5d-68fe-493e-952c-39bb63f39e42 still in use: Unable to complete operation on network a0f92b5d-68fe-493e-952c-39bb63f39e42. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-5f2785fb-6e86-441e-9ca4-eaeabb3d604b']
2025-09-13 06:09:46,296 - WARNING - Deleting VN ctest-ext_vn-35674865 failed..Will retry
2025-09-13 06:09:48,401 - DEBUG - Response for deleting network ()
2025-09-13 06:09:48,401 - INFO - Deleting VN ctest-vn-02821291
2025-09-13 06:09:48,509 - DEBUG - Response for deleting network ()
2025-09-13 06:09:48,768 - DEBUG - No XMPP flaps were noticed during the test
2025-09-13 06:09:48,768 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-09-13 06:09:48,768 - INFO - --------------------------------------------------------------------------------
2025-09-13 06:09:49,475 - INFO - Deleted project: ctest-TestRoutersBasic-51441457, ID : e16b2c11-ee8c-4b6a-b6fc-6d76adda22fc