2026-06-22 01:47:39,069 - INFO - Reading existing Domain with UUID 3d18adb4-0133-48c0-977a-27957b969067 2026-06-22 01:47:39,082 - INFO - Using existing domain ['admin_domain'](3d18adb4-0133-48c0-977a-27957b969067) 2026-06-22 01:47:39,308 - INFO - Project ctest-TestRoutersBasic-73709919 not found, creating it 2026-06-22 01:47:39,796 - INFO - Created Project:ctest-TestRoutersBasic-73709919, ID : 6fe82e87-e27c-4b76-9f79-e2a276e3a500 2026-06-22 01:47:41,498 - INFO - ================================================================================ 2026-06-22 01:47:41,498 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-06-22 01:47:41,498 - 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-22 01:47:41,890 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.0.0.129': '0'}} with 2026-06-22 01:47:41,890 - INFO - Initial checks done. Running the testcase now 2026-06-22 01:47:41,890 - INFO - 2026-06-22 01:47:42,693 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-73709919 2026-06-22 01:47:42,793 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-73709919 2026-06-22 01:47:43,117 - DEBUG - Reading firewall policy {'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-73709919', 'default']} 2026-06-22 01:47:43,586 - DEBUG - Response for create_network : {'network': {'id': '66cf7354-deba-4dbf-9478-2a38657f57da', 'name': 'ctest-vn-57303269', 'tenant_id': '6fe82e87e27c4b769f79e2a276e3a500', 'project_id': '6fe82e87e27c4b769f79e2a276e3a500', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-73709919', 'ctest-vn-57303269'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-06-22 01:47:43,857 - DEBUG - Response for create_subnet : {'subnet': {'id': '20613fcb-63be-4565-b86a-8da7245e42a7', 'name': '', 'tenant_id': '6fe82e87e27c4b769f79e2a276e3a500', 'network_id': '66cf7354-deba-4dbf-9478-2a38657f57da', 'ip_version': 4, 'cidr': '133.83.2.192/26', 'allocation_pools': [{'start': '133.83.2.194', 'end': '133.83.2.254'}], 'gateway_ip': '133.83.2.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-06-22T01:47:43.758582', 'updated_at': '2026-06-22T01:47:43.758582', 'dns_server_address': '133.83.2.194', 'tags': [], 'project_id': '6fe82e87e27c4b769f79e2a276e3a500'}} 2026-06-22 01:47:43,919 - INFO - Created VN ctest-vn-57303269 2026-06-22 01:47:43,977 - DEBUG - VN ctest-vn-57303269 UUID is 66cf7354-deba-4dbf-9478-2a38657f57da 2026-06-22 01:47:44,490 - DEBUG - Response for create_network : {'network': {'id': '3064f161-85fb-4dfd-a938-b56611a6f503', 'name': 'ctest-ext_vn-95255319', 'tenant_id': '6fe82e87e27c4b769f79e2a276e3a500', 'project_id': '6fe82e87e27c4b769f79e2a276e3a500', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-73709919', 'ctest-ext_vn-95255319'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-06-22 01:47:44,726 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dee559d8-0c36-498a-8b8b-0cae396724e1', 'name': '', 'tenant_id': '6fe82e87e27c4b769f79e2a276e3a500', 'network_id': '3064f161-85fb-4dfd-a938-b56611a6f503', 'ip_version': 4, 'cidr': '50.71.199.128/26', 'allocation_pools': [{'start': '50.71.199.130', 'end': '50.71.199.190'}], 'gateway_ip': '50.71.199.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-06-22T01:47:44.623457', 'updated_at': '2026-06-22T01:47:44.623457', 'dns_server_address': '50.71.199.130', 'tags': [], 'project_id': '6fe82e87e27c4b769f79e2a276e3a500'}} 2026-06-22 01:47:44,791 - INFO - Created VN ctest-ext_vn-95255319 2026-06-22 01:47:44,845 - DEBUG - VN ctest-ext_vn-95255319 UUID is 3064f161-85fb-4dfd-a938-b56611a6f503 2026-06-22 01:47:45,117 - DEBUG - Services list from nova: [, , ] 2026-06-22 01:47:46,162 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-714-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-714-1) 2026-06-22 01:47:47,412 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-714-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-714-1) 2026-06-22 01:47:47,545 - INFO - Setting gateway for router c78abd22-33c9-437d-88de-60473dbcb32c to network 3064f161-85fb-4dfd-a938-b56611a6f503 2026-06-22 01:47:47,685 - INFO - Adding interface with subnet_id 20613fcb-63be-4565-b86a-8da7245e42a7, port_id None to router c78abd22-33c9-437d-88de-60473dbcb32c 2026-06-22 01:47:48,207 - INFO - Waiting for VM ctest-TestRoutersBasic-73709919-82066543 to be up.. 2026-06-22 01:47:48,492 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-22 01:47:53,632 - DEBUG - VM is in ACTIVE state now 2026-06-22 01:47:53,633 - INFO - VM name : ctest-TestRoutersBasic-73709919-82066543 2026-06-22 01:47:53,873 - DEBUG - VM ctest-TestRoutersBasic-73709919-82066543 ID is a72e4a85-af74-4358-9dd1-ccecbce37b3d 2026-06-22 01:47:53,895 - DEBUG - VM ctest-TestRoutersBasic-73709919-82066543 launched on Node cn-jenkins-deploy-platform-juju-os-714-1 2026-06-22 01:47:54,028 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine/a72e4a85-af74-4358-9dd1-ccecbce37b3d 2026-06-22 01:47:54,369 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine/a72e4a85-af74-4358-9dd1-ccecbce37b3d 2026-06-22 01:47:54,470 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine-interface/b1b3b339-868f-4b47-b4cf-e9ebdd9f2d24 2026-06-22 01:47:57,966 - 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 1023ms') 2026-06-22 01:47:57,966 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-73709919-82066543 failed! 2026-06-22 01:47:58,021 - DEBUG - Gateway for vn admin_domain:ctest-TestRoutersBasic-73709919:ctest-vn-57303269 is 133.83.2.193 and allocation pool is NOT set 2026-06-22 01:48:00,111 - 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=4.57 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.510 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 = 0.510/2.539/4.569/2.029 ms') 2026-06-22 01:48:00,111 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-73709919-82066543 passed 2026-06-22 01:48:00,273 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-22 01:48:00,273 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-73709919-82066543, IP 133.83.2.195, Port 22 2026-06-22 01:48:00,364 - 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-06-22 01:48:00,510 - DEBUG - VM ctest-TestRoutersBasic-73709919-82066543 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-22 01:48:05,510 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-22 01:48:05,510 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-73709919-82066543, IP 133.83.2.195, Port 22 2026-06-22 01:48:05,735 - DEBUG - VM ctest-TestRoutersBasic-73709919-82066543 is ready for SSH connections 2026-06-22 01:48:05,735 - INFO - Waiting for VM ctest-TestRoutersBasic-73709919-21451371 to be up.. 2026-06-22 01:48:05,869 - DEBUG - VM is in ACTIVE state now 2026-06-22 01:48:05,869 - INFO - VM name : ctest-TestRoutersBasic-73709919-21451371 2026-06-22 01:48:06,011 - DEBUG - VM ctest-TestRoutersBasic-73709919-21451371 ID is 2906e8a3-89d6-40dc-b15e-8a08166ca3e0 2026-06-22 01:48:06,011 - DEBUG - VM ctest-TestRoutersBasic-73709919-21451371 launched on Node cn-jenkins-deploy-platform-juju-os-714-1 2026-06-22 01:48:06,153 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine/2906e8a3-89d6-40dc-b15e-8a08166ca3e0 2026-06-22 01:48:06,210 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine-interface/51edd3c6-2d7d-43d7-800a-fa41490edcdc 2026-06-22 01:48:07,665 - 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.33 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.387 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.387/1.856/3.326/1.469 ms') 2026-06-22 01:48:07,665 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-73709919-21451371 passed 2026-06-22 01:48:07,881 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-22 01:48:07,881 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-73709919-21451371, IP 50.71.199.131, Port 22 2026-06-22 01:48:08,103 - DEBUG - VM ctest-TestRoutersBasic-73709919-21451371 is ready for SSH connections 2026-06-22 01:48:08,103 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-22 01:48:08,103 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 50.71.199.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2026-06-22 01:48:08,103 - DEBUG - ping -s 56 -c 3 -W 1 50.71.199.131 2026-06-22 01:48:12,141 - DEBUG - PING 50.71.199.131 (50.71.199.131): 56 data bytes 64 bytes from 50.71.199.131: seq=0 ttl=62 time=5.289 ms 64 bytes from 50.71.199.131: seq=1 ttl=62 time=1.009 ms 64 bytes from 50.71.199.131: seq=2 ttl=62 time=1.018 ms --- 50.71.199.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.009/2.438/5.289 ms 2026-06-22 01:48:12,141 - INFO - Ping to IP 50.71.199.131 from VM ctest-TestRoutersBasic-73709919-82066543 passed 2026-06-22 01:48:12,141 - INFO - Deleting interface with subnet_id 20613fcb-63be-4565-b86a-8da7245e42a7, port_id None from router c78abd22-33c9-437d-88de-60473dbcb32c 2026-06-22 01:48:12,524 - INFO - Deleting VM ctest-TestRoutersBasic-73709919-21451371 2026-06-22 01:48:12,629 - INFO - Deleting VM ctest-TestRoutersBasic-73709919-82066543 2026-06-22 01:48:12,743 - INFO - Deleting VN ctest-ext_vn-95255319 2026-06-22 01:48:12,904 - DEBUG - VN 3064f161-85fb-4dfd-a938-b56611a6f503 still in use: Unable to complete operation on network 3064f161-85fb-4dfd-a938-b56611a6f503. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e6351e14-8be2-42d6-ba24-214d2ec42a2e'] 2026-06-22 01:48:12,904 - WARNING - Deleting VN ctest-ext_vn-95255319 failed..Will retry 2026-06-22 01:48:15,053 - DEBUG - Response for deleting network () 2026-06-22 01:48:15,054 - INFO - Deleting VN ctest-vn-57303269 2026-06-22 01:48:15,220 - DEBUG - Response for deleting network () 2026-06-22 01:48:15,618 - DEBUG - No XMPP flaps were noticed during the test
2026-06-22 01:48:15,618 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:34]
2026-06-22 01:48:15,618 - INFO - -------------------------------------------------------------------------------- 2026-06-22 01:48:16,351 - INFO - Deleted project: ctest-TestRoutersBasic-73709919, ID : 6fe82e87-e27c-4b76-9f79-e2a276e3a500