2026-02-09 13:34:45,919 - INFO - Domain Default found not creating
2026-02-09 13:34:46,153 - INFO - Project ctest-TestRoutersBasic-77691246 not found, creating it
2026-02-09 13:34:46,692 - INFO - Created Project:ctest-TestRoutersBasic-77691246, ID : ce3bb165-85bd-4407-b032-b48c7d504c31
2026-02-09 13:34:48,490 - INFO - ================================================================================
2026-02-09 13:34:48,490 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2026-02-09 13:34:48,490 - 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
2026-02-09 13:34:48,762 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.14': '0'}} with
2026-02-09 13:34:48,762 - INFO - Initial checks done. Running the testcase now
2026-02-09 13:34:48,762 - INFO -
2026-02-09 13:34:49,591 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-77691246
2026-02-09 13:34:49,691 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-77691246
2026-02-09 13:34:50,042 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-77691246', 'default']}
2026-02-09 13:34:50,431 - DEBUG - Response for create_network : {'network': {'id': '15653c07-1c77-42f8-9337-d2e09cc7f5b2', 'name': 'ctest-vn-36258979', 'tenant_id': 'ce3bb16585bd4407b032b48c7d504c31', 'project_id': 'ce3bb16585bd4407b032b48c7d504c31', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-77691246', 'ctest-vn-36258979'], 'port_security_enabled': True, 'description': ''}}
2026-02-09 13:34:50,691 - DEBUG - Response for create_subnet : {'subnet': {'id': '32749885-6bad-4c9d-8754-a166b5455eb8', 'name': '', 'tenant_id': 'ce3bb16585bd4407b032b48c7d504c31', 'network_id': '15653c07-1c77-42f8-9337-d2e09cc7f5b2', 'ip_version': 4, 'cidr': '104.9.128.192/26', 'allocation_pools': [{'start': '104.9.128.194', 'end': '104.9.128.254'}], 'gateway_ip': '104.9.128.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '104.9.128.194', 'tags': [], 'project_id': 'ce3bb16585bd4407b032b48c7d504c31'}}
2026-02-09 13:34:50,717 - INFO - Created VN ctest-vn-36258979
2026-02-09 13:34:50,775 - DEBUG - VN ctest-vn-36258979 UUID is 15653c07-1c77-42f8-9337-d2e09cc7f5b2
2026-02-09 13:34:51,215 - DEBUG - Response for create_network : {'network': {'id': '913e7982-213c-4350-bbdf-adccb2d0a29e', 'name': 'ctest-ext_vn-48379534', 'tenant_id': 'ce3bb16585bd4407b032b48c7d504c31', 'project_id': 'ce3bb16585bd4407b032b48c7d504c31', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-77691246', 'ctest-ext_vn-48379534'], 'port_security_enabled': True, 'description': ''}}
2026-02-09 13:34:51,413 - DEBUG - Response for create_subnet : {'subnet': {'id': '34bcd789-81bc-4b2f-b2b5-72a9e357f499', 'name': '', 'tenant_id': 'ce3bb16585bd4407b032b48c7d504c31', 'network_id': '913e7982-213c-4350-bbdf-adccb2d0a29e', 'ip_version': 4, 'cidr': '202.13.125.64/26', 'allocation_pools': [{'start': '202.13.125.66', 'end': '202.13.125.126'}], 'gateway_ip': '202.13.125.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '202.13.125.66', 'tags': [], 'project_id': 'ce3bb16585bd4407b032b48c7d504c31'}}
2026-02-09 13:34:51,437 - INFO - Created VN ctest-ext_vn-48379534
2026-02-09 13:34:51,495 - DEBUG - VN ctest-ext_vn-48379534 UUID is 913e7982-213c-4350-bbdf-adccb2d0a29e
2026-02-09 13:34:51,708 - DEBUG - Services list from nova: [, , ]
2026-02-09 13:34:52,906 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5245-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5245-1)
2026-02-09 13:34:54,396 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5245-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5245-1)
2026-02-09 13:34:54,493 - INFO - Setting gateway for router d6cc165f-4a8c-4175-8f93-ed8e4d8403c0 to network 913e7982-213c-4350-bbdf-adccb2d0a29e
2026-02-09 13:34:54,602 - INFO - Adding interface with subnet_id 32749885-6bad-4c9d-8754-a166b5455eb8, port_id None to router d6cc165f-4a8c-4175-8f93-ed8e4d8403c0
2026-02-09 13:34:55,245 - INFO - Waiting for VM ctest-TestRoutersBasic-77691246-84579941 to be up..
2026-02-09 13:34:55,483 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-02-09 13:35:00,603 - DEBUG - VM is in ACTIVE state now
2026-02-09 13:35:00,603 - INFO - VM name : ctest-TestRoutersBasic-77691246-84579941
2026-02-09 13:35:00,731 - DEBUG - VM ctest-TestRoutersBasic-77691246-84579941 ID is 811142bf-16a0-41b0-b0a1-82e78f585568
2026-02-09 13:35:00,768 - DEBUG - VM ctest-TestRoutersBasic-77691246-84579941 launched on Node cn-jenkins-deploy-platform-ansible-os-5245-1
2026-02-09 13:35:00,881 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/811142bf-16a0-41b0-b0a1-82e78f585568
2026-02-09 13:35:01,192 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/811142bf-16a0-41b0-b0a1-82e78f585568
2026-02-09 13:35:01,236 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/7d8a039f-2003-4756-8798-eef02d52908a
2026-02-09 13:35:04,517 - 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 1025ms')
2026-02-09 13:35:04,517 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-77691246-84579941 failed!
2026-02-09 13:35:04,583 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-77691246:ctest-vn-36258979 is 104.9.128.193 and allocation pool is NOT set
2026-02-09 13:35:06,659 - 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=10.4 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.86 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.859/6.624/10.389/3.765 ms')
2026-02-09 13:35:06,659 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-77691246-84579941 passed
2026-02-09 13:35:06,827 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-09 13:35:06,827 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-77691246-84579941, IP 104.9.128.195, Port 22
2026-02-09 13:35:07,005 - DEBUG - VM ctest-TestRoutersBasic-77691246-84579941 is ready for SSH connections
2026-02-09 13:35:07,006 - INFO - Waiting for VM ctest-TestRoutersBasic-77691246-56631173 to be up..
2026-02-09 13:35:07,138 - DEBUG - VM is in ACTIVE state now
2026-02-09 13:35:07,139 - INFO - VM name : ctest-TestRoutersBasic-77691246-56631173
2026-02-09 13:35:07,259 - DEBUG - VM ctest-TestRoutersBasic-77691246-56631173 ID is e4799a80-49ab-4037-8bb9-0d56b88776af
2026-02-09 13:35:07,259 - DEBUG - VM ctest-TestRoutersBasic-77691246-56631173 launched on Node cn-jenkins-deploy-platform-ansible-os-5245-1
2026-02-09 13:35:07,403 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/e4799a80-49ab-4037-8bb9-0d56b88776af
2026-02-09 13:35:07,424 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/79dfd94a-201e-4170-9559-333d5568e9d2
2026-02-09 13:35:08,714 - 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=5.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.12 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 = 2.123/3.935/5.747/1.812 ms')
2026-02-09 13:35:08,714 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-77691246-56631173 passed
2026-02-09 13:35:08,871 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-09 13:35:08,871 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-77691246-56631173, IP 202.13.125.67, Port 22
2026-02-09 13:35:08,942 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-02-09 13:35:09,054 - DEBUG - VM ctest-TestRoutersBasic-77691246-56631173 is NOT ready for SSH connections, VM status: ACTIVE
2026-02-09 13:35:14,056 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-09 13:35:14,057 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-77691246-56631173, IP 202.13.125.67, Port 22
2026-02-09 13:35:14,246 - DEBUG - VM ctest-TestRoutersBasic-77691246-56631173 is ready for SSH connections
2026-02-09 13:35:14,246 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-09 13:35:14,246 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 202.13.125.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2026-02-09 13:35:14,246 - DEBUG - ping -s 56 -c 3 -W 1 202.13.125.67
2026-02-09 13:35:18,042 - DEBUG - PING 202.13.125.67 (202.13.125.67): 56 data bytes
64 bytes from 202.13.125.67: seq=0 ttl=62 time=10.760 ms
64 bytes from 202.13.125.67: seq=1 ttl=62 time=1.368 ms
64 bytes from 202.13.125.67: seq=2 ttl=62 time=1.796 ms
--- 202.13.125.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.368/4.641/10.760 ms
2026-02-09 13:35:18,042 - INFO - Ping to IP 202.13.125.67 from VM ctest-TestRoutersBasic-77691246-84579941 passed
2026-02-09 13:35:18,043 - INFO - Deleting interface with subnet_id 32749885-6bad-4c9d-8754-a166b5455eb8, port_id None from router d6cc165f-4a8c-4175-8f93-ed8e4d8403c0
2026-02-09 13:35:18,357 - INFO - Deleting VM ctest-TestRoutersBasic-77691246-56631173
2026-02-09 13:35:18,459 - INFO - Deleting VM ctest-TestRoutersBasic-77691246-84579941
2026-02-09 13:35:18,568 - INFO - Deleting VN ctest-ext_vn-48379534
2026-02-09 13:35:18,707 - DEBUG - VN 913e7982-213c-4350-bbdf-adccb2d0a29e still in use: Unable to complete operation on network 913e7982-213c-4350-bbdf-adccb2d0a29e. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-c596d3b2-9647-4920-bb4e-2bcfda808b17']
2026-02-09 13:35:18,707 - WARNING - Deleting VN ctest-ext_vn-48379534 failed..Will retry
2026-02-09 13:35:20,847 - DEBUG - Response for deleting network ()
2026-02-09 13:35:20,847 - INFO - Deleting VN ctest-vn-36258979
2026-02-09 13:35:21,028 - DEBUG - Response for deleting network ()
2026-02-09 13:35:21,309 - DEBUG - No XMPP flaps were noticed during the test
2026-02-09 13:35:21,310 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:33]
2026-02-09 13:35:21,310 - INFO - --------------------------------------------------------------------------------
2026-02-09 13:35:22,092 - INFO - Deleted project: ctest-TestRoutersBasic-77691246, ID : ce3bb165-85bd-4407-b032-b48c7d504c31