2025-11-17 22:49:56,545 - INFO - Domain Default found not creating
2025-11-17 22:49:56,689 - INFO - Project ctest-TestRoutersBasic-33572066 not found, creating it
2025-11-17 22:49:57,114 - INFO - Created Project:ctest-TestRoutersBasic-33572066, ID : 62cad448-54fa-473d-aeca-44b89f226653
2025-11-17 22:49:58,466 - INFO - ================================================================================
2025-11-17 22:49:58,467 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-11-17 22:49:58,467 - 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-17 22:49:58,720 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2025-11-17 22:49:58,720 - INFO - Initial checks done. Running the testcase now
2025-11-17 22:49:58,720 - INFO -
2025-11-17 22:49:59,391 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-33572066
2025-11-17 22:49:59,483 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-33572066
2025-11-17 22:49:59,799 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-33572066', 'default']}
2025-11-17 22:50:00,068 - DEBUG - Response for create_network : {'network': {'id': '2b2f4310-1110-464a-8a50-024716b4dc6b', 'name': 'ctest-vn-32980982', 'tenant_id': '62cad44854fa473daeca44b89f226653', 'project_id': '62cad44854fa473daeca44b89f226653', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-33572066', 'ctest-vn-32980982'], 'port_security_enabled': True, 'description': ''}}
2025-11-17 22:50:00,207 - DEBUG - Response for create_subnet : {'subnet': {'id': '5e43ba7d-e2fb-4fde-b58b-f40738bcb7c6', 'name': '', 'tenant_id': '62cad44854fa473daeca44b89f226653', 'network_id': '2b2f4310-1110-464a-8a50-024716b4dc6b', 'ip_version': 4, 'cidr': '173.14.193.0/26', 'allocation_pools': [{'start': '173.14.193.2', 'end': '173.14.193.62'}], 'gateway_ip': '173.14.193.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '173.14.193.2', 'tags': [], 'project_id': '62cad44854fa473daeca44b89f226653'}}
2025-11-17 22:50:00,222 - INFO - Created VN ctest-vn-32980982
2025-11-17 22:50:00,271 - DEBUG - VN ctest-vn-32980982 UUID is 2b2f4310-1110-464a-8a50-024716b4dc6b
2025-11-17 22:50:00,569 - DEBUG - Response for create_network : {'network': {'id': 'aa74c6b2-9c79-4b12-8f31-f794bab53e6c', 'name': 'ctest-ext_vn-09823795', 'tenant_id': '62cad44854fa473daeca44b89f226653', 'project_id': '62cad44854fa473daeca44b89f226653', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-33572066', 'ctest-ext_vn-09823795'], 'port_security_enabled': True, 'description': ''}}
2025-11-17 22:50:00,774 - DEBUG - Response for create_subnet : {'subnet': {'id': '34fd8bad-e230-47ed-98f8-0686b92fca78', 'name': '', 'tenant_id': '62cad44854fa473daeca44b89f226653', 'network_id': 'aa74c6b2-9c79-4b12-8f31-f794bab53e6c', 'ip_version': 4, 'cidr': '157.201.171.64/26', 'allocation_pools': [{'start': '157.201.171.66', 'end': '157.201.171.126'}], 'gateway_ip': '157.201.171.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '157.201.171.66', 'tags': [], 'project_id': '62cad44854fa473daeca44b89f226653'}}
2025-11-17 22:50:00,789 - INFO - Created VN ctest-ext_vn-09823795
2025-11-17 22:50:00,839 - DEBUG - VN ctest-ext_vn-09823795 UUID is aa74c6b2-9c79-4b12-8f31-f794bab53e6c
2025-11-17 22:50:01,019 - DEBUG - Services list from nova: [, , ]
2025-11-17 22:50:01,968 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4748-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4748-1)
2025-11-17 22:50:03,022 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4748-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4748-1)
2025-11-17 22:50:03,077 - INFO - Setting gateway for router d9945b20-c020-419d-8cfc-b62d86ee9048 to network aa74c6b2-9c79-4b12-8f31-f794bab53e6c
2025-11-17 22:50:03,128 - INFO - Adding interface with subnet_id 5e43ba7d-e2fb-4fde-b58b-f40738bcb7c6, port_id None to router d9945b20-c020-419d-8cfc-b62d86ee9048
2025-11-17 22:50:03,392 - INFO - Waiting for VM ctest-TestRoutersBasic-33572066-13806210 to be up..
2025-11-17 22:50:03,562 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-17 22:50:08,639 - DEBUG - VM is in ACTIVE state now
2025-11-17 22:50:08,639 - INFO - VM name : ctest-TestRoutersBasic-33572066-13806210
2025-11-17 22:50:08,707 - DEBUG - VM ctest-TestRoutersBasic-33572066-13806210 ID is d8a437f8-ffb6-482d-949a-8fc86e2cae3c
2025-11-17 22:50:08,724 - DEBUG - VM ctest-TestRoutersBasic-33572066-13806210 launched on Node cn-jenkins-deploy-platform-ansible-os-4748-1
2025-11-17 22:50:08,791 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d8a437f8-ffb6-482d-949a-8fc86e2cae3c
2025-11-17 22:50:09,083 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d8a437f8-ffb6-482d-949a-8fc86e2cae3c
2025-11-17 22:50:09,116 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/55660d4b-2647-4f37-a9f8-3bc74ae569e9
2025-11-17 22:50:12,353 - 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 1004ms')
2025-11-17 22:50:12,353 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-33572066-13806210 failed!
2025-11-17 22:50:12,407 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-33572066:ctest-vn-32980982 is 173.14.193.1 and allocation pool is NOT set
2025-11-17 22:50:14,465 - 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=2.83 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.307 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.307/1.569/2.832/1.262 ms')
2025-11-17 22:50:14,465 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-33572066-13806210 passed
2025-11-17 22:50:14,611 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-17 22:50:14,611 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-33572066-13806210, IP 173.14.193.3, Port 22
2025-11-17 22:50:14,766 - DEBUG - VM ctest-TestRoutersBasic-33572066-13806210 is ready for SSH connections
2025-11-17 22:50:14,766 - INFO - Waiting for VM ctest-TestRoutersBasic-33572066-61972180 to be up..
2025-11-17 22:50:14,842 - DEBUG - VM is in ACTIVE state now
2025-11-17 22:50:14,842 - INFO - VM name : ctest-TestRoutersBasic-33572066-61972180
2025-11-17 22:50:14,904 - DEBUG - VM ctest-TestRoutersBasic-33572066-61972180 ID is 8f871237-cf06-4fee-b527-f8f050316dd2
2025-11-17 22:50:14,904 - DEBUG - VM ctest-TestRoutersBasic-33572066-61972180 launched on Node cn-jenkins-deploy-platform-ansible-os-4748-1
2025-11-17 22:50:14,961 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/8f871237-cf06-4fee-b527-f8f050316dd2
2025-11-17 22:50:14,967 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/f752cbc0-f63f-4cfa-a970-24b3d97e9fef
2025-11-17 22:50:16,194 - 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.65 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.364 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.364/1.508/2.653/1.144 ms')
2025-11-17 22:50:16,194 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-33572066-61972180 passed
2025-11-17 22:50:16,343 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-17 22:50:16,343 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-33572066-61972180, IP 157.201.171.67, Port 22
2025-11-17 22:50:16,494 - DEBUG - VM ctest-TestRoutersBasic-33572066-61972180 is ready for SSH connections
2025-11-17 22:50:16,494 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-17 22:50:16,494 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 157.201.171.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-11-17 22:50:16,494 - DEBUG - ping -s 56 -c 3 -W 1 157.201.171.67
2025-11-17 22:50:20,450 - DEBUG - PING 157.201.171.67 (157.201.171.67): 56 data bytes
64 bytes from 157.201.171.67: seq=0 ttl=62 time=4.000 ms
64 bytes from 157.201.171.67: seq=1 ttl=62 time=0.749 ms
64 bytes from 157.201.171.67: seq=2 ttl=62 time=0.864 ms
--- 157.201.171.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.749/1.871/4.000 ms
2025-11-17 22:50:20,450 - INFO - Ping to IP 157.201.171.67 from VM ctest-TestRoutersBasic-33572066-13806210 passed
2025-11-17 22:50:20,450 - INFO - Deleting interface with subnet_id 5e43ba7d-e2fb-4fde-b58b-f40738bcb7c6, port_id None from router d9945b20-c020-419d-8cfc-b62d86ee9048
2025-11-17 22:50:20,613 - INFO - Deleting VM ctest-TestRoutersBasic-33572066-61972180
2025-11-17 22:50:20,684 - INFO - Deleting VM ctest-TestRoutersBasic-33572066-13806210
2025-11-17 22:50:20,758 - INFO - Deleting VN ctest-ext_vn-09823795
2025-11-17 22:50:20,810 - DEBUG - VN aa74c6b2-9c79-4b12-8f31-f794bab53e6c still in use: Unable to complete operation on network aa74c6b2-9c79-4b12-8f31-f794bab53e6c. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-20bf78db-664b-48d3-8489-011fb2664c0f']
2025-11-17 22:50:20,810 - WARNING - Deleting VN ctest-ext_vn-09823795 failed..Will retry
2025-11-17 22:50:22,887 - DEBUG - Response for deleting network ()
2025-11-17 22:50:22,887 - INFO - Deleting VN ctest-vn-32980982
2025-11-17 22:50:22,962 - DEBUG - Response for deleting network ()
2025-11-17 22:50:23,220 - DEBUG - No XMPP flaps were noticed during the test
2025-11-17 22:50:23,220 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-11-17 22:50:23,220 - INFO - --------------------------------------------------------------------------------
2025-11-17 22:50:23,856 - INFO - Deleted project: ctest-TestRoutersBasic-33572066, ID : 62cad448-54fa-473d-aeca-44b89f226653