2025-11-27 02:07:54,743 - INFO - Domain Default found not creating
2025-11-27 02:07:54,931 - INFO - Project ctest-TestRoutersBasic-07424182 not found, creating it
2025-11-27 02:07:55,427 - INFO - Created Project:ctest-TestRoutersBasic-07424182, ID : fd3a5b0e-ac09-47ec-9cdd-9217a88ac52c
2025-11-27 02:07:56,963 - INFO - ================================================================================
2025-11-27 02:07:56,963 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-11-27 02:07:56,963 - 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-27 02:07:57,217 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.14': '0'}} with
2025-11-27 02:07:57,217 - INFO - Initial checks done. Running the testcase now
2025-11-27 02:07:57,217 - INFO -
2025-11-27 02:07:57,965 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-07424182
2025-11-27 02:07:58,059 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-07424182
2025-11-27 02:07:58,383 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-07424182', 'default']}
2025-11-27 02:07:58,680 - DEBUG - Response for create_network : {'network': {'id': '0619a96f-7727-4949-9ef4-d82d72672ee6', 'name': 'ctest-vn-45072748', 'tenant_id': 'fd3a5b0eac0947ec9cdd9217a88ac52c', 'project_id': 'fd3a5b0eac0947ec9cdd9217a88ac52c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-07424182', 'ctest-vn-45072748'], 'port_security_enabled': True, 'description': ''}}
2025-11-27 02:07:58,885 - DEBUG - Response for create_subnet : {'subnet': {'id': '3030f23b-e53a-4b73-bec5-e6729fccbce5', 'name': '', 'tenant_id': 'fd3a5b0eac0947ec9cdd9217a88ac52c', 'network_id': '0619a96f-7727-4949-9ef4-d82d72672ee6', 'ip_version': 4, 'cidr': '214.43.249.0/26', 'allocation_pools': [{'start': '214.43.249.2', 'end': '214.43.249.62'}], 'gateway_ip': '214.43.249.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '214.43.249.2', 'tags': [], 'project_id': 'fd3a5b0eac0947ec9cdd9217a88ac52c'}}
2025-11-27 02:07:58,905 - INFO - Created VN ctest-vn-45072748
2025-11-27 02:07:58,959 - DEBUG - VN ctest-vn-45072748 UUID is 0619a96f-7727-4949-9ef4-d82d72672ee6
2025-11-27 02:07:59,305 - DEBUG - Response for create_network : {'network': {'id': 'cf95a6a6-446d-42c5-a8a4-c71c9c37e357', 'name': 'ctest-ext_vn-54101347', 'tenant_id': 'fd3a5b0eac0947ec9cdd9217a88ac52c', 'project_id': 'fd3a5b0eac0947ec9cdd9217a88ac52c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-07424182', 'ctest-ext_vn-54101347'], 'port_security_enabled': True, 'description': ''}}
2025-11-27 02:07:59,503 - DEBUG - Response for create_subnet : {'subnet': {'id': '1fd4a8a0-9141-4d39-b680-137c9c0588ff', 'name': '', 'tenant_id': 'fd3a5b0eac0947ec9cdd9217a88ac52c', 'network_id': 'cf95a6a6-446d-42c5-a8a4-c71c9c37e357', 'ip_version': 4, 'cidr': '12.96.194.192/26', 'allocation_pools': [{'start': '12.96.194.194', 'end': '12.96.194.254'}], 'gateway_ip': '12.96.194.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '12.96.194.194', 'tags': [], 'project_id': 'fd3a5b0eac0947ec9cdd9217a88ac52c'}}
2025-11-27 02:07:59,522 - INFO - Created VN ctest-ext_vn-54101347
2025-11-27 02:07:59,575 - DEBUG - VN ctest-ext_vn-54101347 UUID is cf95a6a6-446d-42c5-a8a4-c71c9c37e357
2025-11-27 02:07:59,764 - DEBUG - Services list from nova: [, , ]
2025-11-27 02:08:00,855 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4819-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4819-1)
2025-11-27 02:08:02,111 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4819-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4819-1)
2025-11-27 02:08:02,201 - INFO - Setting gateway for router b311ea65-47ee-4ac9-b905-961a7e6c2ce4 to network cf95a6a6-446d-42c5-a8a4-c71c9c37e357
2025-11-27 02:08:02,273 - INFO - Adding interface with subnet_id 3030f23b-e53a-4b73-bec5-e6729fccbce5, port_id None to router b311ea65-47ee-4ac9-b905-961a7e6c2ce4
2025-11-27 02:08:02,526 - INFO - Waiting for VM ctest-TestRoutersBasic-07424182-58462630 to be up..
2025-11-27 02:08:02,720 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-27 02:08:07,805 - DEBUG - VM is in ACTIVE state now
2025-11-27 02:08:07,805 - INFO - VM name : ctest-TestRoutersBasic-07424182-58462630
2025-11-27 02:08:07,882 - DEBUG - VM ctest-TestRoutersBasic-07424182-58462630 ID is 93a2726f-8632-4176-a9f5-897b11f49c01
2025-11-27 02:08:07,903 - DEBUG - VM ctest-TestRoutersBasic-07424182-58462630 launched on Node cn-jenkins-deploy-platform-ansible-os-4819-1
2025-11-27 02:08:07,978 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/93a2726f-8632-4176-a9f5-897b11f49c01
2025-11-27 02:08:08,296 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/93a2726f-8632-4176-a9f5-897b11f49c01
2025-11-27 02:08:08,336 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/9d74b2df-5cc8-45bb-b4c4-e0755ea0430d
2025-11-27 02:08:11,594 - 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 1022ms')
2025-11-27 02:08:11,594 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-07424182-58462630 failed!
2025-11-27 02:08:11,647 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-07424182:ctest-vn-45072748 is 214.43.249.1 and allocation pool is NOT set
2025-11-27 02:08:13,712 - 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.35 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.802 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.802/2.573/4.345/1.771 ms')
2025-11-27 02:08:13,712 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-07424182-58462630 passed
2025-11-27 02:08:13,871 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-27 02:08:13,872 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-07424182-58462630, IP 214.43.249.3, Port 22
2025-11-27 02:08:14,050 - DEBUG - VM ctest-TestRoutersBasic-07424182-58462630 is ready for SSH connections
2025-11-27 02:08:14,050 - INFO - Waiting for VM ctest-TestRoutersBasic-07424182-47296079 to be up..
2025-11-27 02:08:14,137 - DEBUG - VM is in ACTIVE state now
2025-11-27 02:08:14,137 - INFO - VM name : ctest-TestRoutersBasic-07424182-47296079
2025-11-27 02:08:14,222 - DEBUG - VM ctest-TestRoutersBasic-07424182-47296079 ID is 67c103ce-07fa-400c-ad5a-4d111df67e0c
2025-11-27 02:08:14,223 - DEBUG - VM ctest-TestRoutersBasic-07424182-47296079 launched on Node cn-jenkins-deploy-platform-ansible-os-4819-1
2025-11-27 02:08:14,301 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/67c103ce-07fa-400c-ad5a-4d111df67e0c
2025-11-27 02:08:14,310 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/f8aa0aa7-fe81-428b-85f1-aa5f453ee8a5
2025-11-27 02:08:15,557 - 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.33 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.451 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.451/1.891/3.332/1.440 ms')
2025-11-27 02:08:15,558 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-07424182-47296079 passed
2025-11-27 02:08:15,708 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-27 02:08:15,708 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-07424182-47296079, IP 12.96.194.195, Port 22
2025-11-27 02:08:15,864 - DEBUG - VM ctest-TestRoutersBasic-07424182-47296079 is ready for SSH connections
2025-11-27 02:08:15,864 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-27 02:08:15,864 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 12.96.194.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123
2025-11-27 02:08:15,864 - DEBUG - ping -s 56 -c 3 -W 1 12.96.194.195
2025-11-27 02:08:19,620 - DEBUG - PING 12.96.194.195 (12.96.194.195): 56 data bytes
64 bytes from 12.96.194.195: seq=0 ttl=62 time=8.814 ms
64 bytes from 12.96.194.195: seq=1 ttl=62 time=1.245 ms
64 bytes from 12.96.194.195: seq=2 ttl=62 time=1.390 ms
--- 12.96.194.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.245/3.816/8.814 ms
2025-11-27 02:08:19,620 - INFO - Ping to IP 12.96.194.195 from VM ctest-TestRoutersBasic-07424182-58462630 passed
2025-11-27 02:08:19,620 - INFO - Deleting interface with subnet_id 3030f23b-e53a-4b73-bec5-e6729fccbce5, port_id None from router b311ea65-47ee-4ac9-b905-961a7e6c2ce4
2025-11-27 02:08:19,964 - INFO - Deleting VM ctest-TestRoutersBasic-07424182-47296079
2025-11-27 02:08:20,046 - INFO - Deleting VM ctest-TestRoutersBasic-07424182-58462630
2025-11-27 02:08:20,129 - INFO - Deleting VN ctest-ext_vn-54101347
2025-11-27 02:08:20,212 - DEBUG - VN cf95a6a6-446d-42c5-a8a4-c71c9c37e357 still in use: Unable to complete operation on network cf95a6a6-446d-42c5-a8a4-c71c9c37e357. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-c8d3d6dd-f671-4b1f-abfc-256b111f9b84']
2025-11-27 02:08:20,212 - WARNING - Deleting VN ctest-ext_vn-54101347 failed..Will retry
2025-11-27 02:08:22,336 - DEBUG - Response for deleting network ()
2025-11-27 02:08:22,336 - INFO - Deleting VN ctest-vn-45072748
2025-11-27 02:08:22,463 - DEBUG - Response for deleting network ()
2025-11-27 02:08:22,721 - DEBUG - No XMPP flaps were noticed during the test
2025-11-27 02:08:22,721 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-11-27 02:08:22,722 - INFO - --------------------------------------------------------------------------------
2025-11-27 02:08:23,489 - INFO - Deleted project: ctest-TestRoutersBasic-07424182, ID : fd3a5b0e-ac09-47ec-9cdd-9217a88ac52c