2025-09-25 15:17:41,083 - INFO - Domain Default found not creating
2025-09-25 15:17:41,205 - INFO - Project ctest-TestRoutersBasic-46252731 not found, creating it
2025-09-25 15:17:41,627 - INFO - Created Project:ctest-TestRoutersBasic-46252731, ID : 2c47b92f-6f41-4da1-b4a9-3aa39f6643cb
2025-09-25 15:17:42,952 - INFO - ================================================================================
2025-09-25 15:17:42,952 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-09-25 15:17:42,953 - 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-25 15:17:43,205 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-09-25 15:17:43,205 - INFO - Initial checks done. Running the testcase now
2025-09-25 15:17:43,205 - INFO -
2025-09-25 15:17:43,876 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-46252731
2025-09-25 15:17:43,968 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-46252731
2025-09-25 15:17:44,280 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-46252731', 'default']}
2025-09-25 15:17:44,538 - DEBUG - Response for create_network : {'network': {'id': 'b4a656eb-3b0f-4afe-917c-ad2e28ab53c0', 'name': 'ctest-vn-34704050', 'tenant_id': '2c47b92f6f414da1b4a93aa39f6643cb', 'project_id': '2c47b92f6f414da1b4a93aa39f6643cb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-46252731', 'ctest-vn-34704050'], 'port_security_enabled': True, 'description': ''}}
2025-09-25 15:17:44,683 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ea1f7044-b8d2-49c1-9c18-417d069b60bc', 'name': '', 'tenant_id': '2c47b92f6f414da1b4a93aa39f6643cb', 'network_id': 'b4a656eb-3b0f-4afe-917c-ad2e28ab53c0', 'ip_version': 4, 'cidr': '107.109.111.0/26', 'allocation_pools': [{'start': '107.109.111.2', 'end': '107.109.111.62'}], 'gateway_ip': '107.109.111.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '107.109.111.2', 'tags': [], 'project_id': '2c47b92f6f414da1b4a93aa39f6643cb'}}
2025-09-25 15:17:44,699 - INFO - Created VN ctest-vn-34704050
2025-09-25 15:17:44,753 - DEBUG - VN ctest-vn-34704050 UUID is b4a656eb-3b0f-4afe-917c-ad2e28ab53c0
2025-09-25 15:17:45,070 - DEBUG - Response for create_network : {'network': {'id': 'dd348ff8-1fad-4ab6-816f-14f2fb788a7f', 'name': 'ctest-ext_vn-39947068', 'tenant_id': '2c47b92f6f414da1b4a93aa39f6643cb', 'project_id': '2c47b92f6f414da1b4a93aa39f6643cb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-46252731', 'ctest-ext_vn-39947068'], 'port_security_enabled': True, 'description': ''}}
2025-09-25 15:17:45,214 - DEBUG - Response for create_subnet : {'subnet': {'id': '32cc81f8-1131-4312-8620-1e91c13f2719', 'name': '', 'tenant_id': '2c47b92f6f414da1b4a93aa39f6643cb', 'network_id': 'dd348ff8-1fad-4ab6-816f-14f2fb788a7f', 'ip_version': 4, 'cidr': '133.48.77.64/26', 'allocation_pools': [{'start': '133.48.77.66', 'end': '133.48.77.126'}], 'gateway_ip': '133.48.77.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '133.48.77.66', 'tags': [], 'project_id': '2c47b92f6f414da1b4a93aa39f6643cb'}}
2025-09-25 15:17:45,229 - INFO - Created VN ctest-ext_vn-39947068
2025-09-25 15:17:45,280 - DEBUG - VN ctest-ext_vn-39947068 UUID is dd348ff8-1fad-4ab6-816f-14f2fb788a7f
2025-09-25 15:17:45,466 - DEBUG - Services list from nova: [, , ]
2025-09-25 15:17:46,399 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4193-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4193-1)
2025-09-25 15:17:47,428 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4193-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4193-1)
2025-09-25 15:17:47,494 - INFO - Setting gateway for router 5f1f9173-49ec-4ea2-b089-9fca999c8f90 to network dd348ff8-1fad-4ab6-816f-14f2fb788a7f
2025-09-25 15:17:47,537 - INFO - Adding interface with subnet_id ea1f7044-b8d2-49c1-9c18-417d069b60bc, port_id None to router 5f1f9173-49ec-4ea2-b089-9fca999c8f90
2025-09-25 15:17:47,869 - INFO - Waiting for VM ctest-TestRoutersBasic-46252731-33220112 to be up..
2025-09-25 15:17:47,982 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-25 15:17:53,047 - DEBUG - VM is in ACTIVE state now
2025-09-25 15:17:53,047 - INFO - VM name : ctest-TestRoutersBasic-46252731-33220112
2025-09-25 15:17:53,114 - DEBUG - VM ctest-TestRoutersBasic-46252731-33220112 ID is 3374e74d-5957-497a-80f5-578cbc472b3b
2025-09-25 15:17:53,133 - DEBUG - VM ctest-TestRoutersBasic-46252731-33220112 launched on Node cn-jenkins-deploy-platform-ansible-os-4193-1
2025-09-25 15:17:53,194 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/3374e74d-5957-497a-80f5-578cbc472b3b
2025-09-25 15:17:53,484 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/3374e74d-5957-497a-80f5-578cbc472b3b
2025-09-25 15:17:53,511 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/0c141bc3-0d22-416d-84eb-a0e6e69a17d2
2025-09-25 15:17:56,758 - 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 1011ms')
2025-09-25 15:17:56,758 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-46252731-33220112 failed!
2025-09-25 15:17:56,808 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-46252731:ctest-vn-34704050 is 107.109.111.1 and allocation pool is NOT set
2025-09-25 15:17:58,868 - 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.70 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.95 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 = 2.700/2.822/2.945/0.122 ms')
2025-09-25 15:17:58,868 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-46252731-33220112 passed
2025-09-25 15:17:59,016 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-25 15:17:59,017 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-46252731-33220112, IP 107.109.111.3, Port 22
2025-09-25 15:17:59,172 - DEBUG - VM ctest-TestRoutersBasic-46252731-33220112 is ready for SSH connections
2025-09-25 15:17:59,172 - INFO - Waiting for VM ctest-TestRoutersBasic-46252731-47222023 to be up..
2025-09-25 15:17:59,234 - DEBUG - VM is in ACTIVE state now
2025-09-25 15:17:59,234 - INFO - VM name : ctest-TestRoutersBasic-46252731-47222023
2025-09-25 15:17:59,295 - DEBUG - VM ctest-TestRoutersBasic-46252731-47222023 ID is d7e72657-7822-4811-b632-3ec712fb6982
2025-09-25 15:17:59,295 - DEBUG - VM ctest-TestRoutersBasic-46252731-47222023 launched on Node cn-jenkins-deploy-platform-ansible-os-4193-1
2025-09-25 15:17:59,355 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/d7e72657-7822-4811-b632-3ec712fb6982
2025-09-25 15:17:59,361 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/9e690746-19c0-41c5-ae2a-595b57042ccb
2025-09-25 15:18:00,587 - 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.06 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.321 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.321/1.692/3.064/1.371 ms')
2025-09-25 15:18:00,587 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-46252731-47222023 passed
2025-09-25 15:18:00,732 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-25 15:18:00,733 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-46252731-47222023, IP 133.48.77.67, Port 22
2025-09-25 15:18:00,888 - DEBUG - VM ctest-TestRoutersBasic-46252731-47222023 is ready for SSH connections
2025-09-25 15:18:00,888 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-25 15:18:00,888 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 133.48.77.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-09-25 15:18:00,888 - DEBUG - ping -s 56 -c 3 -W 1 133.48.77.67
2025-09-25 15:18:04,565 - DEBUG - PING 133.48.77.67 (133.48.77.67): 56 data bytes
64 bytes from 133.48.77.67: seq=0 ttl=62 time=4.997 ms
64 bytes from 133.48.77.67: seq=1 ttl=62 time=0.985 ms
64 bytes from 133.48.77.67: seq=2 ttl=62 time=0.780 ms
--- 133.48.77.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.780/2.254/4.997 ms
2025-09-25 15:18:04,565 - INFO - Ping to IP 133.48.77.67 from VM ctest-TestRoutersBasic-46252731-33220112 passed
2025-09-25 15:18:04,565 - INFO - Deleting interface with subnet_id ea1f7044-b8d2-49c1-9c18-417d069b60bc, port_id None from router 5f1f9173-49ec-4ea2-b089-9fca999c8f90
2025-09-25 15:18:04,719 - INFO - Deleting VM ctest-TestRoutersBasic-46252731-47222023
2025-09-25 15:18:04,778 - INFO - Deleting VM ctest-TestRoutersBasic-46252731-33220112
2025-09-25 15:18:04,854 - INFO - Deleting VN ctest-ext_vn-39947068
2025-09-25 15:18:04,910 - DEBUG - VN dd348ff8-1fad-4ab6-816f-14f2fb788a7f still in use: Unable to complete operation on network dd348ff8-1fad-4ab6-816f-14f2fb788a7f. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-a4a21fe8-10bc-4c58-8a90-393fe52ce449']
2025-09-25 15:18:04,910 - WARNING - Deleting VN ctest-ext_vn-39947068 failed..Will retry
2025-09-25 15:18:06,996 - DEBUG - Response for deleting network ()
2025-09-25 15:18:06,996 - INFO - Deleting VN ctest-vn-34704050
2025-09-25 15:18:07,100 - DEBUG - Response for deleting network ()
2025-09-25 15:18:07,353 - DEBUG - No XMPP flaps were noticed during the test
2025-09-25 15:18:07,353 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-09-25 15:18:07,353 - INFO - --------------------------------------------------------------------------------
2025-09-25 15:18:07,998 - INFO - Deleted project: ctest-TestRoutersBasic-46252731, ID : 2c47b92f-6f41-4da1-b4a9-3aa39f6643cb