2026-06-18 09:38:04,905 - INFO - Domain Default found not creating
2026-06-18 09:38:05,061 - INFO - Project ctest-TestRoutersBasic-07166731 not found, creating it
2026-06-18 09:38:05,502 - INFO - Created Project:ctest-TestRoutersBasic-07166731, ID : 1895f74d-e6a1-4514-890c-58413f250493
2026-06-18 09:38:07,055 - INFO - ================================================================================
2026-06-18 09:38:07,055 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2026-06-18 09:38:07,055 - 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-06-18 09:38:07,308 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-06-18 09:38:07,308 - INFO - Initial checks done. Running the testcase now
2026-06-18 09:38:07,308 - INFO -
2026-06-18 09:38:08,048 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-07166731
2026-06-18 09:38:08,144 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-07166731
2026-06-18 09:38:08,459 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-07166731', 'default']}
2026-06-18 09:38:08,725 - DEBUG - Response for create_network : {'network': {'id': 'aae7e753-0902-4842-81d6-51d8fb0b495b', 'name': 'ctest-vn-73341344', 'tenant_id': '1895f74de6a14514890c58413f250493', 'project_id': '1895f74de6a14514890c58413f250493', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-07166731', 'ctest-vn-73341344'], 'port_security_enabled': True, 'description': ''}}
2026-06-18 09:38:08,931 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e255ffc1-b513-49c0-8586-83cc366cba31', 'name': '', 'tenant_id': '1895f74de6a14514890c58413f250493', 'network_id': 'aae7e753-0902-4842-81d6-51d8fb0b495b', 'ip_version': 4, 'cidr': '22.116.19.0/26', 'allocation_pools': [{'start': '22.116.19.2', 'end': '22.116.19.62'}], 'gateway_ip': '22.116.19.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '22.116.19.2', 'tags': [], 'project_id': '1895f74de6a14514890c58413f250493'}}
2026-06-18 09:38:08,946 - INFO - Created VN ctest-vn-73341344
2026-06-18 09:38:08,996 - DEBUG - VN ctest-vn-73341344 UUID is aae7e753-0902-4842-81d6-51d8fb0b495b
2026-06-18 09:38:09,316 - DEBUG - Response for create_network : {'network': {'id': 'd491fe5f-1c20-496f-b040-5ae92450828d', 'name': 'ctest-ext_vn-37715642', 'tenant_id': '1895f74de6a14514890c58413f250493', 'project_id': '1895f74de6a14514890c58413f250493', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-07166731', 'ctest-ext_vn-37715642'], 'port_security_enabled': True, 'description': ''}}
2026-06-18 09:38:09,465 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b1d32df0-0f48-4c23-a2c0-b2216a5c3306', 'name': '', 'tenant_id': '1895f74de6a14514890c58413f250493', 'network_id': 'd491fe5f-1c20-496f-b040-5ae92450828d', 'ip_version': 4, 'cidr': '183.58.158.64/26', 'allocation_pools': [{'start': '183.58.158.66', 'end': '183.58.158.126'}], 'gateway_ip': '183.58.158.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '183.58.158.66', 'tags': [], 'project_id': '1895f74de6a14514890c58413f250493'}}
2026-06-18 09:38:09,478 - INFO - Created VN ctest-ext_vn-37715642
2026-06-18 09:38:09,532 - DEBUG - VN ctest-ext_vn-37715642 UUID is d491fe5f-1c20-496f-b040-5ae92450828d
2026-06-18 09:38:09,718 - DEBUG - Services list from nova: [, , ]
2026-06-18 09:38:10,790 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5977-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5977-1)
2026-06-18 09:38:11,854 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5977-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5977-1)
2026-06-18 09:38:11,908 - INFO - Setting gateway for router 04867cdf-b78b-4f67-9036-1e9724b88e4b to network d491fe5f-1c20-496f-b040-5ae92450828d
2026-06-18 09:38:11,951 - INFO - Adding interface with subnet_id e255ffc1-b513-49c0-8586-83cc366cba31, port_id None to router 04867cdf-b78b-4f67-9036-1e9724b88e4b
2026-06-18 09:38:12,130 - INFO - Waiting for VM ctest-TestRoutersBasic-07166731-92541479 to be up..
2026-06-18 09:38:12,176 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-06-18 09:38:17,254 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-06-18 09:38:22,320 - DEBUG - VM is in ACTIVE state now
2026-06-18 09:38:22,321 - INFO - VM name : ctest-TestRoutersBasic-07166731-92541479
2026-06-18 09:38:22,386 - DEBUG - VM ctest-TestRoutersBasic-07166731-92541479 ID is e58ee151-337c-408e-9deb-8c2c27d78311
2026-06-18 09:38:22,407 - DEBUG - VM ctest-TestRoutersBasic-07166731-92541479 launched on Node cn-jenkins-deploy-platform-ansible-os-5977-1
2026-06-18 09:38:22,474 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/e58ee151-337c-408e-9deb-8c2c27d78311
2026-06-18 09:38:22,797 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/e58ee151-337c-408e-9deb-8c2c27d78311
2026-06-18 09:38:22,822 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/c002c93b-084c-40cd-a864-014899063534
2026-06-18 09:38:26,072 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1019ms')
2026-06-18 09:38:26,072 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-07166731-92541479 failed!
2026-06-18 09:38:26,128 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-07166731:ctest-vn-73341344 is 22.116.19.1 and allocation pool is NOT set
2026-06-18 09:38:28,192 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n64 bytes from 169.254.0.5: icmp_seq=1 ttl=63 time=6.66 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.393 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.393/3.528/6.663/3.135 ms')
2026-06-18 09:38:28,192 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-07166731-92541479 passed
2026-06-18 09:38:28,348 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-18 09:38:28,348 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-07166731-92541479, IP 22.116.19.3, Port 22
2026-06-18 09:38:28,504 - DEBUG - VM ctest-TestRoutersBasic-07166731-92541479 is ready for SSH connections
2026-06-18 09:38:28,504 - INFO - Waiting for VM ctest-TestRoutersBasic-07166731-43578337 to be up..
2026-06-18 09:38:28,579 - DEBUG - VM is in ACTIVE state now
2026-06-18 09:38:28,579 - INFO - VM name : ctest-TestRoutersBasic-07166731-43578337
2026-06-18 09:38:28,655 - DEBUG - VM ctest-TestRoutersBasic-07166731-43578337 ID is 2837af69-c956-4e30-9a00-d831c20700e9
2026-06-18 09:38:28,656 - DEBUG - VM ctest-TestRoutersBasic-07166731-43578337 launched on Node cn-jenkins-deploy-platform-ansible-os-5977-1
2026-06-18 09:38:28,727 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/2837af69-c956-4e30-9a00-d831c20700e9
2026-06-18 09:38:28,741 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/0613e347-6f83-4e62-adaf-e9bf3e2a6cba
2026-06-18 09:38:29,976 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n64 bytes from 169.254.0.6: icmp_seq=1 ttl=63 time=9.05 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=4.16 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 4.156/6.604/9.053/2.448 ms')
2026-06-18 09:38:29,976 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-07166731-43578337 passed
2026-06-18 09:38:30,132 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-18 09:38:30,132 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-07166731-43578337, IP 183.58.158.68, Port 22
2026-06-18 09:38:30,186 - DEBUG - Error on ssh to cirros@169.254.0.6:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.6/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.6/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.6/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-06-18 09:38:30,255 - DEBUG - VM ctest-TestRoutersBasic-07166731-43578337 is NOT ready for SSH connections, VM status: ACTIVE
2026-06-18 09:38:35,256 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-18 09:38:35,256 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-07166731-43578337, IP 183.58.158.68, Port 22
2026-06-18 09:38:35,411 - DEBUG - VM ctest-TestRoutersBasic-07166731-43578337 is ready for SSH connections
2026-06-18 09:38:35,411 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-18 09:38:35,411 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 183.58.158.68, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2026-06-18 09:38:35,411 - DEBUG - ping -s 56 -c 3 -W 1 183.58.158.68
2026-06-18 09:38:37,994 - DEBUG - PING 183.58.158.68 (183.58.158.68): 56 data bytes
64 bytes from 183.58.158.68: seq=0 ttl=62 time=4.393 ms
64 bytes from 183.58.158.68: seq=1 ttl=62 time=1.070 ms
64 bytes from 183.58.158.68: seq=2 ttl=62 time=0.828 ms
--- 183.58.158.68 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.828/2.097/4.393 ms
2026-06-18 09:38:37,994 - INFO - Ping to IP 183.58.158.68 from VM ctest-TestRoutersBasic-07166731-92541479 passed
2026-06-18 09:38:37,995 - INFO - Deleting interface with subnet_id e255ffc1-b513-49c0-8586-83cc366cba31, port_id None from router 04867cdf-b78b-4f67-9036-1e9724b88e4b
2026-06-18 09:38:38,155 - INFO - Deleting VM ctest-TestRoutersBasic-07166731-43578337
2026-06-18 09:38:38,225 - INFO - Deleting VM ctest-TestRoutersBasic-07166731-92541479
2026-06-18 09:38:38,291 - INFO - Deleting VN ctest-ext_vn-37715642
2026-06-18 09:38:38,339 - DEBUG - VN d491fe5f-1c20-496f-b040-5ae92450828d still in use: Unable to complete operation on network d491fe5f-1c20-496f-b040-5ae92450828d. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-039e5068-d9d2-4a3e-9269-49daf3060877']
2026-06-18 09:38:38,340 - WARNING - Deleting VN ctest-ext_vn-37715642 failed..Will retry
2026-06-18 09:38:40,444 - DEBUG - Response for deleting network ()
2026-06-18 09:38:40,445 - INFO - Deleting VN ctest-vn-73341344
2026-06-18 09:38:40,530 - DEBUG - Response for deleting network ()
2026-06-18 09:38:40,784 - DEBUG - No XMPP flaps were noticed during the test
2026-06-18 09:38:40,784 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:33]
2026-06-18 09:38:40,784 - INFO - --------------------------------------------------------------------------------
2026-06-18 09:38:41,479 - INFO - Deleted project: ctest-TestRoutersBasic-07166731, ID : 1895f74d-e6a1-4514-890c-58413f250493