2025-10-22 15:05:53,364 - INFO - Domain Default found not creating
2025-10-22 15:05:53,545 - INFO - Project ctest-TestRoutersBasic-39137247 not found, creating it
2025-10-22 15:05:54,006 - INFO - Created Project:ctest-TestRoutersBasic-39137247, ID : a4d3ebc0-05e0-42b8-9b7d-74e4796147a5
2025-10-22 15:05:55,463 - INFO - ================================================================================
2025-10-22 15:05:55,463 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-10-22 15:05:55,463 - 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-10-22 15:05:55,719 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with
2025-10-22 15:05:55,719 - INFO - Initial checks done. Running the testcase now
2025-10-22 15:05:55,719 - INFO -
2025-10-22 15:05:56,411 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-39137247
2025-10-22 15:05:56,505 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-39137247
2025-10-22 15:05:56,824 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-39137247', 'default']}
2025-10-22 15:05:57,119 - DEBUG - Response for create_network : {'network': {'id': 'b8e16d69-e767-405c-b0c6-ac5cef02d2de', 'name': 'ctest-vn-29618119', 'tenant_id': 'a4d3ebc005e042b89b7d74e4796147a5', 'project_id': 'a4d3ebc005e042b89b7d74e4796147a5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-39137247', 'ctest-vn-29618119'], 'port_security_enabled': True, 'description': ''}}
2025-10-22 15:05:57,256 - DEBUG - Response for create_subnet : {'subnet': {'id': '948d62e4-18e7-44da-9968-e3614e1b7411', 'name': '', 'tenant_id': 'a4d3ebc005e042b89b7d74e4796147a5', 'network_id': 'b8e16d69-e767-405c-b0c6-ac5cef02d2de', 'ip_version': 4, 'cidr': '218.179.10.0/26', 'allocation_pools': [{'start': '218.179.10.2', 'end': '218.179.10.62'}], 'gateway_ip': '218.179.10.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '218.179.10.2', 'tags': [], 'project_id': 'a4d3ebc005e042b89b7d74e4796147a5'}}
2025-10-22 15:05:57,273 - INFO - Created VN ctest-vn-29618119
2025-10-22 15:05:57,325 - DEBUG - VN ctest-vn-29618119 UUID is b8e16d69-e767-405c-b0c6-ac5cef02d2de
2025-10-22 15:05:57,676 - DEBUG - Response for create_network : {'network': {'id': '9a8ccb22-e4c5-499f-a2d9-4fc243aec98c', 'name': 'ctest-ext_vn-80519432', 'tenant_id': 'a4d3ebc005e042b89b7d74e4796147a5', 'project_id': 'a4d3ebc005e042b89b7d74e4796147a5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-39137247', 'ctest-ext_vn-80519432'], 'port_security_enabled': True, 'description': ''}}
2025-10-22 15:05:57,853 - DEBUG - Response for create_subnet : {'subnet': {'id': '6a7ff475-71f3-423e-90f7-e5553e930b53', 'name': '', 'tenant_id': 'a4d3ebc005e042b89b7d74e4796147a5', 'network_id': '9a8ccb22-e4c5-499f-a2d9-4fc243aec98c', 'ip_version': 4, 'cidr': '200.141.228.192/26', 'allocation_pools': [{'start': '200.141.228.194', 'end': '200.141.228.254'}], 'gateway_ip': '200.141.228.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '200.141.228.194', 'tags': [], 'project_id': 'a4d3ebc005e042b89b7d74e4796147a5'}}
2025-10-22 15:05:57,873 - INFO - Created VN ctest-ext_vn-80519432
2025-10-22 15:05:57,925 - DEBUG - VN ctest-ext_vn-80519432 UUID is 9a8ccb22-e4c5-499f-a2d9-4fc243aec98c
2025-10-22 15:05:58,129 - DEBUG - Services list from nova: [, , ]
2025-10-22 15:05:59,156 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4434-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4434-1)
2025-10-22 15:06:00,266 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4434-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4434-1)
2025-10-22 15:06:00,352 - INFO - Setting gateway for router e045b926-91ea-40fb-ba16-df93cfa1834e to network 9a8ccb22-e4c5-499f-a2d9-4fc243aec98c
2025-10-22 15:06:00,426 - INFO - Adding interface with subnet_id 948d62e4-18e7-44da-9968-e3614e1b7411, port_id None to router e045b926-91ea-40fb-ba16-df93cfa1834e
2025-10-22 15:06:00,817 - INFO - Waiting for VM ctest-TestRoutersBasic-39137247-65741108 to be up..
2025-10-22 15:06:00,971 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-22 15:06:06,060 - DEBUG - VM is in ACTIVE state now
2025-10-22 15:06:06,060 - INFO - VM name : ctest-TestRoutersBasic-39137247-65741108
2025-10-22 15:06:06,144 - DEBUG - VM ctest-TestRoutersBasic-39137247-65741108 ID is 78323764-8e47-4aed-b1b9-650ee99b1ba0
2025-10-22 15:06:06,168 - DEBUG - VM ctest-TestRoutersBasic-39137247-65741108 launched on Node cn-jenkins-deploy-platform-ansible-os-4434-1
2025-10-22 15:06:06,249 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/78323764-8e47-4aed-b1b9-650ee99b1ba0
2025-10-22 15:06:06,556 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/78323764-8e47-4aed-b1b9-650ee99b1ba0
2025-10-22 15:06:06,592 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/03293fa6-974b-472f-a0bc-44b287e75e95
2025-10-22 15:06:09,861 - 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-10-22 15:06:09,861 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-39137247-65741108 failed!
2025-10-22 15:06:09,917 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-39137247:ctest-vn-29618119 is 218.179.10.1 and allocation pool is NOT set
2025-10-22 15:06:11,976 - 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.47 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.04 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 = 1.042/2.257/3.473/1.215 ms')
2025-10-22 15:06:11,976 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-39137247-65741108 passed
2025-10-22 15:06:12,125 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-22 15:06:12,125 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-39137247-65741108, IP 218.179.10.3, Port 22
2025-10-22 15:06:12,284 - DEBUG - VM ctest-TestRoutersBasic-39137247-65741108 is ready for SSH connections
2025-10-22 15:06:12,284 - INFO - Waiting for VM ctest-TestRoutersBasic-39137247-04245405 to be up..
2025-10-22 15:06:12,354 - DEBUG - VM is in ACTIVE state now
2025-10-22 15:06:12,354 - INFO - VM name : ctest-TestRoutersBasic-39137247-04245405
2025-10-22 15:06:12,427 - DEBUG - VM ctest-TestRoutersBasic-39137247-04245405 ID is c9ec66db-867b-4b90-9cf3-8b4176c21e43
2025-10-22 15:06:12,427 - DEBUG - VM ctest-TestRoutersBasic-39137247-04245405 launched on Node cn-jenkins-deploy-platform-ansible-os-4434-1
2025-10-22 15:06:12,494 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/c9ec66db-867b-4b90-9cf3-8b4176c21e43
2025-10-22 15:06:12,501 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/5a7cdaf3-3639-4c01-a333-bf4879b8cb65
2025-10-22 15:06:13,733 - 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.87 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.396 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.396/1.630/2.865/1.234 ms')
2025-10-22 15:06:13,733 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-39137247-04245405 passed
2025-10-22 15:06:13,881 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-22 15:06:13,881 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-39137247-04245405, IP 200.141.228.195, Port 22
2025-10-22 15:06:14,036 - DEBUG - VM ctest-TestRoutersBasic-39137247-04245405 is ready for SSH connections
2025-10-22 15:06:14,037 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-22 15:06:14,037 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 200.141.228.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-10-22 15:06:14,037 - DEBUG - ping -s 56 -c 3 -W 1 200.141.228.195
2025-10-22 15:06:18,070 - DEBUG - PING 200.141.228.195 (200.141.228.195): 56 data bytes
64 bytes from 200.141.228.195: seq=0 ttl=62 time=4.871 ms
64 bytes from 200.141.228.195: seq=1 ttl=62 time=0.876 ms
64 bytes from 200.141.228.195: seq=2 ttl=62 time=0.888 ms
--- 200.141.228.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.876/2.211/4.871 ms
2025-10-22 15:06:18,070 - INFO - Ping to IP 200.141.228.195 from VM ctest-TestRoutersBasic-39137247-65741108 passed
2025-10-22 15:06:18,070 - INFO - Deleting interface with subnet_id 948d62e4-18e7-44da-9968-e3614e1b7411, port_id None from router e045b926-91ea-40fb-ba16-df93cfa1834e
2025-10-22 15:06:18,244 - INFO - Deleting VM ctest-TestRoutersBasic-39137247-04245405
2025-10-22 15:06:18,307 - INFO - Deleting VM ctest-TestRoutersBasic-39137247-65741108
2025-10-22 15:06:18,379 - INFO - Deleting VN ctest-ext_vn-80519432
2025-10-22 15:06:18,436 - DEBUG - VN 9a8ccb22-e4c5-499f-a2d9-4fc243aec98c still in use: Unable to complete operation on network 9a8ccb22-e4c5-499f-a2d9-4fc243aec98c. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-d4a46287-9d7e-429c-9ff3-6ce0fa29c48a']
2025-10-22 15:06:18,437 - WARNING - Deleting VN ctest-ext_vn-80519432 failed..Will retry
2025-10-22 15:06:20,551 - DEBUG - Response for deleting network ()
2025-10-22 15:06:20,551 - INFO - Deleting VN ctest-vn-29618119
2025-10-22 15:06:20,663 - DEBUG - Response for deleting network ()
2025-10-22 15:06:20,925 - DEBUG - No XMPP flaps were noticed during the test
2025-10-22 15:06:20,925 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-10-22 15:06:20,925 - INFO - --------------------------------------------------------------------------------
2025-10-22 15:06:21,630 - INFO - Deleted project: ctest-TestRoutersBasic-39137247, ID : a4d3ebc0-05e0-42b8-9b7d-74e4796147a5