2026-02-12 12:29:34,572 - INFO - Domain Default found not creating
2026-02-12 12:29:34,785 - INFO - Project ctest-TestRoutersBasic-97074625 not found, creating it
2026-02-12 12:29:35,281 - INFO - Created Project:ctest-TestRoutersBasic-97074625, ID : 6b236d3e-7252-4414-8486-3ce3a10d02a9
2026-02-12 12:29:36,969 - INFO - ================================================================================
2026-02-12 12:29:36,969 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2026-02-12 12:29:36,969 - 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-12 12:29:37,247 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.254': '0'}} with
2026-02-12 12:29:37,247 - INFO - Initial checks done. Running the testcase now
2026-02-12 12:29:37,247 - INFO -
2026-02-12 12:29:38,022 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-97074625
2026-02-12 12:29:38,116 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-97074625
2026-02-12 12:29:38,448 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-97074625', 'default']}
2026-02-12 12:29:38,786 - DEBUG - Response for create_network : {'network': {'id': 'eaa88269-f768-4884-8736-fb3cf6bdbfae', 'name': 'ctest-vn-62514093', 'tenant_id': '6b236d3e7252441484863ce3a10d02a9', 'project_id': '6b236d3e7252441484863ce3a10d02a9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-97074625', 'ctest-vn-62514093'], 'port_security_enabled': True, 'description': ''}}
2026-02-12 12:29:38,969 - DEBUG - Response for create_subnet : {'subnet': {'id': '04e52c8c-2889-4218-9e83-0bf43108c68f', 'name': '', 'tenant_id': '6b236d3e7252441484863ce3a10d02a9', 'network_id': 'eaa88269-f768-4884-8736-fb3cf6bdbfae', 'ip_version': 4, 'cidr': '97.201.146.0/26', 'allocation_pools': [{'start': '97.201.146.2', 'end': '97.201.146.62'}], 'gateway_ip': '97.201.146.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '97.201.146.2', 'tags': [], 'project_id': '6b236d3e7252441484863ce3a10d02a9'}}
2026-02-12 12:29:38,990 - INFO - Created VN ctest-vn-62514093
2026-02-12 12:29:39,044 - DEBUG - VN ctest-vn-62514093 UUID is eaa88269-f768-4884-8736-fb3cf6bdbfae
2026-02-12 12:29:39,396 - DEBUG - Response for create_network : {'network': {'id': '46d9c17c-61f0-47b9-ab26-24c1a440193b', 'name': 'ctest-ext_vn-38702828', 'tenant_id': '6b236d3e7252441484863ce3a10d02a9', 'project_id': '6b236d3e7252441484863ce3a10d02a9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-97074625', 'ctest-ext_vn-38702828'], 'port_security_enabled': True, 'description': ''}}
2026-02-12 12:29:39,564 - DEBUG - Response for create_subnet : {'subnet': {'id': '615dc463-9c92-4240-849f-1d3bd245a33f', 'name': '', 'tenant_id': '6b236d3e7252441484863ce3a10d02a9', 'network_id': '46d9c17c-61f0-47b9-ab26-24c1a440193b', 'ip_version': 4, 'cidr': '61.58.6.0/26', 'allocation_pools': [{'start': '61.58.6.2', 'end': '61.58.6.62'}], 'gateway_ip': '61.58.6.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '61.58.6.2', 'tags': [], 'project_id': '6b236d3e7252441484863ce3a10d02a9'}}
2026-02-12 12:29:39,588 - INFO - Created VN ctest-ext_vn-38702828
2026-02-12 12:29:39,644 - DEBUG - VN ctest-ext_vn-38702828 UUID is 46d9c17c-61f0-47b9-ab26-24c1a440193b
2026-02-12 12:29:39,833 - DEBUG - Services list from nova: [, , ]
2026-02-12 12:29:40,960 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5316-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5316-1)
2026-02-12 12:29:42,204 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5316-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5316-1)
2026-02-12 12:29:42,292 - INFO - Setting gateway for router ca484427-d348-4958-9ec3-c73765bc9a12 to network 46d9c17c-61f0-47b9-ab26-24c1a440193b
2026-02-12 12:29:42,353 - INFO - Adding interface with subnet_id 04e52c8c-2889-4218-9e83-0bf43108c68f, port_id None to router ca484427-d348-4958-9ec3-c73765bc9a12
2026-02-12 12:29:42,765 - INFO - Waiting for VM ctest-TestRoutersBasic-97074625-03463438 to be up..
2026-02-12 12:29:42,960 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-02-12 12:29:48,044 - DEBUG - VM is in ACTIVE state now
2026-02-12 12:29:48,044 - INFO - VM name : ctest-TestRoutersBasic-97074625-03463438
2026-02-12 12:29:48,138 - DEBUG - VM ctest-TestRoutersBasic-97074625-03463438 ID is 8c0fbe9f-aa0f-4dd0-a8c2-326912857821
2026-02-12 12:29:48,160 - DEBUG - VM ctest-TestRoutersBasic-97074625-03463438 launched on Node cn-jenkins-deploy-platform-ansible-os-5316-1
2026-02-12 12:29:48,245 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/8c0fbe9f-aa0f-4dd0-a8c2-326912857821
2026-02-12 12:29:48,579 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/8c0fbe9f-aa0f-4dd0-a8c2-326912857821
2026-02-12 12:29:48,624 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/31b0806d-4560-4640-950b-bc9dd2dae18e
2026-02-12 12:29:51,889 - 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')
2026-02-12 12:29:51,890 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-97074625-03463438 failed!
2026-02-12 12:29:51,945 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-97074625:ctest-vn-62514093 is 97.201.146.1 and allocation pool is NOT set
2026-02-12 12:29:54,016 - 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=5.98 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.68 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.676/4.325/5.975/1.649 ms')
2026-02-12 12:29:54,016 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-97074625-03463438 passed
2026-02-12 12:29:54,164 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-12 12:29:54,164 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-97074625-03463438, IP 97.201.146.3, Port 22
2026-02-12 12:29:54,230 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-02-12 12:29:54,322 - DEBUG - VM ctest-TestRoutersBasic-97074625-03463438 is NOT ready for SSH connections, VM status: ACTIVE
2026-02-12 12:29:59,323 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-12 12:29:59,323 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-97074625-03463438, IP 97.201.146.3, Port 22
2026-02-12 12:29:59,495 - DEBUG - VM ctest-TestRoutersBasic-97074625-03463438 is ready for SSH connections
2026-02-12 12:29:59,495 - INFO - Waiting for VM ctest-TestRoutersBasic-97074625-18977524 to be up..
2026-02-12 12:29:59,583 - DEBUG - VM is in ACTIVE state now
2026-02-12 12:29:59,583 - INFO - VM name : ctest-TestRoutersBasic-97074625-18977524
2026-02-12 12:29:59,662 - DEBUG - VM ctest-TestRoutersBasic-97074625-18977524 ID is 9c601d49-9cb2-45f6-be48-904362baafa7
2026-02-12 12:29:59,662 - DEBUG - VM ctest-TestRoutersBasic-97074625-18977524 launched on Node cn-jenkins-deploy-platform-ansible-os-5316-1
2026-02-12 12:29:59,753 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/9c601d49-9cb2-45f6-be48-904362baafa7
2026-02-12 12:29:59,763 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/50af956d-e91b-4ad4-aef6-007ddea0b3f1
2026-02-12 12:30:01,002 - 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.84 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.468 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.468/1.653/2.839/1.185 ms')
2026-02-12 12:30:01,002 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-97074625-18977524 passed
2026-02-12 12:30:01,168 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-12 12:30:01,168 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-97074625-18977524, IP 61.58.6.3, Port 22
2026-02-12 12:30:01,343 - DEBUG - VM ctest-TestRoutersBasic-97074625-18977524 is ready for SSH connections
2026-02-12 12:30:01,343 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-12 12:30:01,343 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 61.58.6.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123
2026-02-12 12:30:01,343 - DEBUG - ping -s 56 -c 3 -W 1 61.58.6.3
2026-02-12 12:30:05,147 - DEBUG - PING 61.58.6.3 (61.58.6.3): 56 data bytes
64 bytes from 61.58.6.3: seq=0 ttl=62 time=6.972 ms
64 bytes from 61.58.6.3: seq=1 ttl=62 time=1.309 ms
64 bytes from 61.58.6.3: seq=2 ttl=62 time=2.006 ms
--- 61.58.6.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.309/3.429/6.972 ms
2026-02-12 12:30:05,147 - INFO - Ping to IP 61.58.6.3 from VM ctest-TestRoutersBasic-97074625-03463438 passed
2026-02-12 12:30:05,147 - INFO - Deleting interface with subnet_id 04e52c8c-2889-4218-9e83-0bf43108c68f, port_id None from router ca484427-d348-4958-9ec3-c73765bc9a12
2026-02-12 12:30:05,371 - INFO - Deleting VM ctest-TestRoutersBasic-97074625-18977524
2026-02-12 12:30:05,458 - INFO - Deleting VM ctest-TestRoutersBasic-97074625-03463438
2026-02-12 12:30:05,552 - INFO - Deleting VN ctest-ext_vn-38702828
2026-02-12 12:30:05,635 - DEBUG - VN 46d9c17c-61f0-47b9-ab26-24c1a440193b still in use: Unable to complete operation on network 46d9c17c-61f0-47b9-ab26-24c1a440193b. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-8246c69a-4cc3-4d60-aaab-4f1b7052619e']
2026-02-12 12:30:05,636 - WARNING - Deleting VN ctest-ext_vn-38702828 failed..Will retry
2026-02-12 12:30:07,761 - DEBUG - Response for deleting network ()
2026-02-12 12:30:07,761 - INFO - Deleting VN ctest-vn-62514093
2026-02-12 12:30:07,883 - DEBUG - Response for deleting network ()
2026-02-12 12:30:08,153 - DEBUG - No XMPP flaps were noticed during the test
2026-02-12 12:30:08,153 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:32]
2026-02-12 12:30:08,154 - INFO - --------------------------------------------------------------------------------
2026-02-12 12:30:08,958 - INFO - Deleted project: ctest-TestRoutersBasic-97074625, ID : 6b236d3e-7252-4414-8486-3ce3a10d02a9