2026-02-09 01:47:37,354 - INFO - Reading existing Domain with UUID 1675f465-2475-43b6-ab5c-695718ce05c3 2026-02-09 01:47:37,365 - INFO - Using existing domain ['admin_domain'](1675f465-2475-43b6-ab5c-695718ce05c3) 2026-02-09 01:47:37,614 - INFO - Project ctest-TestRoutersBasic-13889985 not found, creating it 2026-02-09 01:47:38,161 - INFO - Created Project:ctest-TestRoutersBasic-13889985, ID : f698b738-2b86-47ee-8975-a5459af1a7b3 2026-02-09 01:47:39,958 - INFO - ================================================================================ 2026-02-09 01:47:39,958 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-09 01:47:39,958 - 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 01:47:40,354 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.0.0.241': '0'}} with 2026-02-09 01:47:40,354 - INFO - Initial checks done. Running the testcase now 2026-02-09 01:47:40,354 - INFO - 2026-02-09 01:47:41,168 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-13889985 2026-02-09 01:47:41,265 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-13889985 2026-02-09 01:47:41,588 - DEBUG - Reading firewall policy {'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-13889985', 'default']} 2026-02-09 01:47:42,151 - DEBUG - Response for create_network : {'network': {'id': '4560114a-fb27-4f9c-8cce-75800065d45b', 'name': 'ctest-vn-23378644', 'tenant_id': 'f698b7382b8647ee8975a5459af1a7b3', 'project_id': 'f698b7382b8647ee8975a5459af1a7b3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-13889985', 'ctest-vn-23378644'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-02-09 01:47:42,400 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e19f6cc2-73cb-4fa4-bfa8-ef9e4d428e76', 'name': '', 'tenant_id': 'f698b7382b8647ee8975a5459af1a7b3', 'network_id': '4560114a-fb27-4f9c-8cce-75800065d45b', 'ip_version': 4, 'cidr': '27.112.91.192/26', 'allocation_pools': [{'start': '27.112.91.194', 'end': '27.112.91.254'}], 'gateway_ip': '27.112.91.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-02-09T01:47:42.300707', 'updated_at': '2026-02-09T01:47:42.300707', 'dns_server_address': '27.112.91.194', 'tags': [], 'project_id': 'f698b7382b8647ee8975a5459af1a7b3'}} 2026-02-09 01:47:42,466 - INFO - Created VN ctest-vn-23378644 2026-02-09 01:47:42,520 - DEBUG - VN ctest-vn-23378644 UUID is 4560114a-fb27-4f9c-8cce-75800065d45b 2026-02-09 01:47:43,057 - DEBUG - Response for create_network : {'network': {'id': '00bbe6dc-0394-401d-a615-2308bb7523cf', 'name': 'ctest-ext_vn-96143035', 'tenant_id': 'f698b7382b8647ee8975a5459af1a7b3', 'project_id': 'f698b7382b8647ee8975a5459af1a7b3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-13889985', 'ctest-ext_vn-96143035'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-02-09 01:47:43,329 - DEBUG - Response for create_subnet : {'subnet': {'id': '8b69983b-74e6-4976-8a4c-e4cdcd15f207', 'name': '', 'tenant_id': 'f698b7382b8647ee8975a5459af1a7b3', 'network_id': '00bbe6dc-0394-401d-a615-2308bb7523cf', 'ip_version': 4, 'cidr': '75.212.208.128/26', 'allocation_pools': [{'start': '75.212.208.130', 'end': '75.212.208.190'}], 'gateway_ip': '75.212.208.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-02-09T01:47:43.225008', 'updated_at': '2026-02-09T01:47:43.225008', 'dns_server_address': '75.212.208.130', 'tags': [], 'project_id': 'f698b7382b8647ee8975a5459af1a7b3'}} 2026-02-09 01:47:43,395 - INFO - Created VN ctest-ext_vn-96143035 2026-02-09 01:47:43,448 - DEBUG - VN ctest-ext_vn-96143035 UUID is 00bbe6dc-0394-401d-a615-2308bb7523cf 2026-02-09 01:47:43,726 - DEBUG - Services list from nova: [, , ] 2026-02-09 01:47:44,892 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-670-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-670-1) 2026-02-09 01:47:46,288 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-670-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-670-1) 2026-02-09 01:47:46,450 - INFO - Setting gateway for router 5de4041a-a273-4193-9f08-1e36bce5a09f to network 00bbe6dc-0394-401d-a615-2308bb7523cf 2026-02-09 01:47:46,617 - INFO - Adding interface with subnet_id e19f6cc2-73cb-4fa4-bfa8-ef9e4d428e76, port_id None to router 5de4041a-a273-4193-9f08-1e36bce5a09f 2026-02-09 01:47:47,162 - INFO - Waiting for VM ctest-TestRoutersBasic-13889985-45290910 to be up.. 2026-02-09 01:47:47,385 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-09 01:47:52,651 - DEBUG - VM is in ACTIVE state now 2026-02-09 01:47:52,651 - INFO - VM name : ctest-TestRoutersBasic-13889985-45290910 2026-02-09 01:47:52,797 - DEBUG - VM ctest-TestRoutersBasic-13889985-45290910 ID is beecf218-63e1-4735-a530-58d0b454baca 2026-02-09 01:47:52,835 - DEBUG - VM ctest-TestRoutersBasic-13889985-45290910 launched on Node cn-jenkins-deploy-platform-juju-os-670-1 2026-02-09 01:47:52,986 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine/beecf218-63e1-4735-a530-58d0b454baca 2026-02-09 01:47:53,343 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine/beecf218-63e1-4735-a530-58d0b454baca 2026-02-09 01:47:53,433 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine-interface/90ceaa49-0bf7-4a95-9639-f4c4c8a4773d 2026-02-09 01:47:56,901 - 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') 2026-02-09 01:47:56,901 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-13889985-45290910 failed! 2026-02-09 01:47:56,969 - DEBUG - Gateway for vn admin_domain:ctest-TestRoutersBasic-13889985:ctest-vn-23378644 is 27.112.91.193 and allocation pool is NOT set 2026-02-09 01:47:59,069 - 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=3.55 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.27 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 = 1.266/2.408/3.550/1.142 ms') 2026-02-09 01:47:59,069 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-13889985-45290910 passed 2026-02-09 01:47:59,224 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 01:47:59,224 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-13889985-45290910, IP 27.112.91.195, Port 22 2026-02-09 01:47:59,311 - 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-09 01:47:59,455 - DEBUG - VM ctest-TestRoutersBasic-13889985-45290910 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-09 01:48:04,457 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 01:48:04,457 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-13889985-45290910, IP 27.112.91.195, Port 22 2026-02-09 01:48:04,675 - DEBUG - VM ctest-TestRoutersBasic-13889985-45290910 is ready for SSH connections 2026-02-09 01:48:04,675 - INFO - Waiting for VM ctest-TestRoutersBasic-13889985-24281219 to be up.. 2026-02-09 01:48:04,839 - DEBUG - VM is in ACTIVE state now 2026-02-09 01:48:04,839 - INFO - VM name : ctest-TestRoutersBasic-13889985-24281219 2026-02-09 01:48:04,982 - DEBUG - VM ctest-TestRoutersBasic-13889985-24281219 ID is 8a828d02-0ad9-4151-bec6-7d195bdca40e 2026-02-09 01:48:04,982 - DEBUG - VM ctest-TestRoutersBasic-13889985-24281219 launched on Node cn-jenkins-deploy-platform-juju-os-670-1 2026-02-09 01:48:05,195 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine/8a828d02-0ad9-4151-bec6-7d195bdca40e 2026-02-09 01:48:05,254 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine-interface/5dd7d570-7cba-487d-98a0-4dc028ece8b6 2026-02-09 01:48:06,701 - 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.92 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.440 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.440/1.682/2.924/1.242 ms') 2026-02-09 01:48:06,701 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-13889985-24281219 passed 2026-02-09 01:48:06,856 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 01:48:06,856 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-13889985-24281219, IP 75.212.208.131, Port 22 2026-02-09 01:48:07,075 - DEBUG - VM ctest-TestRoutersBasic-13889985-24281219 is ready for SSH connections 2026-02-09 01:48:07,075 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 01:48:07,075 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 75.212.208.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2026-02-09 01:48:07,075 - DEBUG - ping -s 56 -c 3 -W 1 75.212.208.131 2026-02-09 01:48:10,816 - DEBUG - PING 75.212.208.131 (75.212.208.131): 56 data bytes 64 bytes from 75.212.208.131: seq=0 ttl=62 time=7.255 ms 64 bytes from 75.212.208.131: seq=1 ttl=62 time=0.955 ms 64 bytes from 75.212.208.131: seq=2 ttl=62 time=1.134 ms --- 75.212.208.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.955/3.114/7.255 ms 2026-02-09 01:48:10,816 - INFO - Ping to IP 75.212.208.131 from VM ctest-TestRoutersBasic-13889985-45290910 passed 2026-02-09 01:48:10,816 - INFO - Deleting interface with subnet_id e19f6cc2-73cb-4fa4-bfa8-ef9e4d428e76, port_id None from router 5de4041a-a273-4193-9f08-1e36bce5a09f 2026-02-09 01:48:11,202 - INFO - Deleting VM ctest-TestRoutersBasic-13889985-24281219 2026-02-09 01:48:11,313 - INFO - Deleting VM ctest-TestRoutersBasic-13889985-45290910 2026-02-09 01:48:11,428 - INFO - Deleting VN ctest-ext_vn-96143035 2026-02-09 01:48:11,608 - DEBUG - VN 00bbe6dc-0394-401d-a615-2308bb7523cf still in use: Unable to complete operation on network 00bbe6dc-0394-401d-a615-2308bb7523cf. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-34c3c5c3-759a-4e29-b2e9-ce112e5aa17c'] 2026-02-09 01:48:11,608 - WARNING - Deleting VN ctest-ext_vn-96143035 failed..Will retry 2026-02-09 01:48:13,770 - DEBUG - Response for deleting network () 2026-02-09 01:48:13,771 - INFO - Deleting VN ctest-vn-23378644 2026-02-09 01:48:13,932 - DEBUG - Response for deleting network () 2026-02-09 01:48:14,318 - DEBUG - No XMPP flaps were noticed during the test 2026-02-09 01:48:14,318 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:35] 2026-02-09 01:48:14,318 - INFO - -------------------------------------------------------------------------------- 2026-02-09 01:48:15,069 - INFO - Deleted project: ctest-TestRoutersBasic-13889985, ID : f698b738-2b86-47ee-8975-a5459af1a7b3