2025-11-12 05:35:49,566 - INFO - Domain Default found not creating
2025-11-12 05:35:50,004 - INFO - Project ctest-TestRoutersBasic-07534593 not found, creating it
2025-11-12 05:35:50,434 - INFO - Created Project:ctest-TestRoutersBasic-07534593, ID : e6c83042-2de1-4f0c-847f-d76353b8d434
2025-11-12 05:35:51,788 - INFO - ================================================================================
2025-11-12 05:35:51,788 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-11-12 05:35:51,788 - 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-12 05:35:52,043 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with
2025-11-12 05:35:52,043 - INFO - Initial checks done. Running the testcase now
2025-11-12 05:35:52,043 - INFO -
2025-11-12 05:35:52,737 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-07534593
2025-11-12 05:35:52,831 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-07534593
2025-11-12 05:35:53,147 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-07534593', 'default']}
2025-11-12 05:35:53,443 - DEBUG - Response for create_network : {'network': {'id': '7375c3f5-f986-4eb8-93f3-22afb131bfee', 'name': 'ctest-vn-75003901', 'tenant_id': 'e6c830422de14f0c847fd76353b8d434', 'project_id': 'e6c830422de14f0c847fd76353b8d434', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-07534593', 'ctest-vn-75003901'], 'port_security_enabled': True, 'description': ''}}
2025-11-12 05:35:53,625 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b3146292-c32d-4d2b-a652-4c45d9f74c2b', 'name': '', 'tenant_id': 'e6c830422de14f0c847fd76353b8d434', 'network_id': '7375c3f5-f986-4eb8-93f3-22afb131bfee', 'ip_version': 4, 'cidr': '71.197.251.128/26', 'allocation_pools': [{'start': '71.197.251.130', 'end': '71.197.251.190'}], 'gateway_ip': '71.197.251.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '71.197.251.130', 'tags': [], 'project_id': 'e6c830422de14f0c847fd76353b8d434'}}
2025-11-12 05:35:53,641 - INFO - Created VN ctest-vn-75003901
2025-11-12 05:35:53,691 - DEBUG - VN ctest-vn-75003901 UUID is 7375c3f5-f986-4eb8-93f3-22afb131bfee
2025-11-12 05:35:54,032 - DEBUG - Response for create_network : {'network': {'id': 'e2e1d4eb-43fb-4f1e-970c-799ffc284837', 'name': 'ctest-ext_vn-33360583', 'tenant_id': 'e6c830422de14f0c847fd76353b8d434', 'project_id': 'e6c830422de14f0c847fd76353b8d434', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-07534593', 'ctest-ext_vn-33360583'], 'port_security_enabled': True, 'description': ''}}
2025-11-12 05:35:54,224 - DEBUG - Response for create_subnet : {'subnet': {'id': '4a2bca4d-5c7d-4500-8640-3671e8608e5a', 'name': '', 'tenant_id': 'e6c830422de14f0c847fd76353b8d434', 'network_id': 'e2e1d4eb-43fb-4f1e-970c-799ffc284837', 'ip_version': 4, 'cidr': '167.215.106.64/26', 'allocation_pools': [{'start': '167.215.106.66', 'end': '167.215.106.126'}], 'gateway_ip': '167.215.106.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '167.215.106.66', 'tags': [], 'project_id': 'e6c830422de14f0c847fd76353b8d434'}}
2025-11-12 05:35:54,239 - INFO - Created VN ctest-ext_vn-33360583
2025-11-12 05:35:54,291 - DEBUG - VN ctest-ext_vn-33360583 UUID is e2e1d4eb-43fb-4f1e-970c-799ffc284837
2025-11-12 05:35:54,444 - DEBUG - Services list from nova: [, , ]
2025-11-12 05:35:55,413 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4700-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4700-1)
2025-11-12 05:35:56,528 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4700-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4700-1)
2025-11-12 05:35:56,596 - INFO - Setting gateway for router 40db237d-914b-4f5c-be21-96eedc199547 to network e2e1d4eb-43fb-4f1e-970c-799ffc284837
2025-11-12 05:35:56,660 - INFO - Adding interface with subnet_id b3146292-c32d-4d2b-a652-4c45d9f74c2b, port_id None to router 40db237d-914b-4f5c-be21-96eedc199547
2025-11-12 05:35:56,931 - INFO - Waiting for VM ctest-TestRoutersBasic-07534593-39117113 to be up..
2025-11-12 05:35:57,053 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-12 05:36:02,135 - DEBUG - VM is in ACTIVE state now
2025-11-12 05:36:02,135 - INFO - VM name : ctest-TestRoutersBasic-07534593-39117113
2025-11-12 05:36:02,206 - DEBUG - VM ctest-TestRoutersBasic-07534593-39117113 ID is 1c2c692a-d2a1-45d7-bcb1-6ec0aa0e8a15
2025-11-12 05:36:02,225 - DEBUG - VM ctest-TestRoutersBasic-07534593-39117113 launched on Node cn-jenkins-deploy-platform-ansible-os-4700-1
2025-11-12 05:36:02,310 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/1c2c692a-d2a1-45d7-bcb1-6ec0aa0e8a15
2025-11-12 05:36:02,613 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/1c2c692a-d2a1-45d7-bcb1-6ec0aa0e8a15
2025-11-12 05:36:02,651 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/e5e1664b-efdf-441b-a828-0f577430c4aa
2025-11-12 05:36:05,914 - 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 1023ms')
2025-11-12 05:36:05,914 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-07534593-39117113 failed!
2025-11-12 05:36:05,967 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-07534593:ctest-vn-75003901 is 71.197.251.129 and allocation pool is NOT set
2025-11-12 05:36:08,032 - 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=6.60 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.828 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.828/3.715/6.602/2.887 ms')
2025-11-12 05:36:08,032 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-07534593-39117113 passed
2025-11-12 05:36:08,183 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-12 05:36:08,183 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-07534593-39117113, IP 71.197.251.131, Port 22
2025-11-12 05:36:08,342 - DEBUG - VM ctest-TestRoutersBasic-07534593-39117113 is ready for SSH connections
2025-11-12 05:36:08,342 - INFO - Waiting for VM ctest-TestRoutersBasic-07534593-59293438 to be up..
2025-11-12 05:36:08,410 - DEBUG - VM is in ACTIVE state now
2025-11-12 05:36:08,410 - INFO - VM name : ctest-TestRoutersBasic-07534593-59293438
2025-11-12 05:36:08,474 - DEBUG - VM ctest-TestRoutersBasic-07534593-59293438 ID is b35e50e3-3866-4066-905e-2156bffe721b
2025-11-12 05:36:08,474 - DEBUG - VM ctest-TestRoutersBasic-07534593-59293438 launched on Node cn-jenkins-deploy-platform-ansible-os-4700-1
2025-11-12 05:36:08,543 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/b35e50e3-3866-4066-905e-2156bffe721b
2025-11-12 05:36:08,550 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/b750c7f9-bef4-4f0a-92da-5bd55501bf8b
2025-11-12 05:36:09,779 - 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.79 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.338 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.338/1.566/2.794/1.228 ms')
2025-11-12 05:36:09,779 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-07534593-59293438 passed
2025-11-12 05:36:09,931 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-12 05:36:09,931 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-07534593-59293438, IP 167.215.106.67, Port 22
2025-11-12 05:36:10,083 - DEBUG - VM ctest-TestRoutersBasic-07534593-59293438 is ready for SSH connections
2025-11-12 05:36:10,083 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-12 05:36:10,083 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 167.215.106.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-11-12 05:36:10,083 - DEBUG - ping -s 56 -c 3 -W 1 167.215.106.67
2025-11-12 05:36:14,084 - DEBUG - PING 167.215.106.67 (167.215.106.67): 56 data bytes
64 bytes from 167.215.106.67: seq=0 ttl=62 time=4.922 ms
64 bytes from 167.215.106.67: seq=1 ttl=62 time=0.824 ms
64 bytes from 167.215.106.67: seq=2 ttl=62 time=0.793 ms
--- 167.215.106.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.793/2.179/4.922 ms
2025-11-12 05:36:14,084 - INFO - Ping to IP 167.215.106.67 from VM ctest-TestRoutersBasic-07534593-39117113 passed
2025-11-12 05:36:14,084 - INFO - Deleting interface with subnet_id b3146292-c32d-4d2b-a652-4c45d9f74c2b, port_id None from router 40db237d-914b-4f5c-be21-96eedc199547
2025-11-12 05:36:14,265 - INFO - Deleting VM ctest-TestRoutersBasic-07534593-59293438
2025-11-12 05:36:14,334 - INFO - Deleting VM ctest-TestRoutersBasic-07534593-39117113
2025-11-12 05:36:14,401 - INFO - Deleting VN ctest-ext_vn-33360583
2025-11-12 05:36:14,457 - DEBUG - VN e2e1d4eb-43fb-4f1e-970c-799ffc284837 still in use: Unable to complete operation on network e2e1d4eb-43fb-4f1e-970c-799ffc284837. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-7c8db269-6222-4860-927f-520f5abd41b2']
2025-11-12 05:36:14,458 - WARNING - Deleting VN ctest-ext_vn-33360583 failed..Will retry
2025-11-12 05:36:16,539 - DEBUG - Response for deleting network ()
2025-11-12 05:36:16,539 - INFO - Deleting VN ctest-vn-75003901
2025-11-12 05:36:16,635 - DEBUG - Response for deleting network ()
2025-11-12 05:36:16,889 - DEBUG - No XMPP flaps were noticed during the test
2025-11-12 05:36:16,889 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-11-12 05:36:16,889 - INFO - --------------------------------------------------------------------------------
2025-11-12 05:36:17,533 - INFO - Deleted project: ctest-TestRoutersBasic-07534593, ID : e6c83042-2de1-4f0c-847f-d76353b8d434