2026-04-02 01:53:37,208 - INFO - Reading existing Domain with UUID 6b4d6e1f-9094-4f88-b6d3-8eafd30f73c5 2026-04-02 01:53:37,219 - INFO - Using existing domain ['admin_domain'](6b4d6e1f-9094-4f88-b6d3-8eafd30f73c5) 2026-04-02 01:53:37,410 - INFO - Project ctest-TestRoutersBasic-19352469 not found, creating it 2026-04-02 01:53:37,894 - INFO - Created Project:ctest-TestRoutersBasic-19352469, ID : 740edae3-923f-40e2-b70f-f2cb9340a700 2026-04-02 01:53:39,495 - INFO - ================================================================================ 2026-04-02 01:53:39,495 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-04-02 01:53:39,496 - 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-04-02 01:53:39,883 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.0.0.41': '0'}} with 2026-04-02 01:53:39,883 - INFO - Initial checks done. Running the testcase now 2026-04-02 01:53:39,883 - INFO - 2026-04-02 01:53:40,646 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-19352469 2026-04-02 01:53:40,754 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-19352469 2026-04-02 01:53:41,110 - DEBUG - Reading firewall policy {'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-19352469', 'default']} 2026-04-02 01:53:41,599 - DEBUG - Response for create_network : {'network': {'id': 'ef1847a5-4c82-4bdc-b38e-b4a8bb845383', 'name': 'ctest-vn-86241842', 'tenant_id': '740edae3923f40e2b70ff2cb9340a700', 'project_id': '740edae3923f40e2b70ff2cb9340a700', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-19352469', 'ctest-vn-86241842'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-04-02 01:53:41,843 - DEBUG - Response for create_subnet : {'subnet': {'id': '833d3023-048c-43d7-a3fc-5cc682448216', 'name': '', 'tenant_id': '740edae3923f40e2b70ff2cb9340a700', 'network_id': 'ef1847a5-4c82-4bdc-b38e-b4a8bb845383', 'ip_version': 4, 'cidr': '129.162.177.128/26', 'allocation_pools': [{'start': '129.162.177.130', 'end': '129.162.177.190'}], 'gateway_ip': '129.162.177.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-04-02T01:53:41.743362', 'updated_at': '2026-04-02T01:53:41.743362', 'dns_server_address': '129.162.177.130', 'tags': [], 'project_id': '740edae3923f40e2b70ff2cb9340a700'}} 2026-04-02 01:53:41,909 - INFO - Created VN ctest-vn-86241842 2026-04-02 01:53:41,962 - DEBUG - VN ctest-vn-86241842 UUID is ef1847a5-4c82-4bdc-b38e-b4a8bb845383 2026-04-02 01:53:42,491 - DEBUG - Response for create_network : {'network': {'id': 'cf2bf3f7-52db-4754-84f6-9e7814ba8978', 'name': 'ctest-ext_vn-36265505', 'tenant_id': '740edae3923f40e2b70ff2cb9340a700', 'project_id': '740edae3923f40e2b70ff2cb9340a700', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-19352469', 'ctest-ext_vn-36265505'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-04-02 01:53:42,734 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b964d65b-f241-4e60-9742-1c47940aadc8', 'name': '', 'tenant_id': '740edae3923f40e2b70ff2cb9340a700', 'network_id': 'cf2bf3f7-52db-4754-84f6-9e7814ba8978', 'ip_version': 4, 'cidr': '62.220.156.192/26', 'allocation_pools': [{'start': '62.220.156.194', 'end': '62.220.156.254'}], 'gateway_ip': '62.220.156.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-04-02T01:53:42.638615', 'updated_at': '2026-04-02T01:53:42.638615', 'dns_server_address': '62.220.156.194', 'tags': [], 'project_id': '740edae3923f40e2b70ff2cb9340a700'}} 2026-04-02 01:53:42,796 - INFO - Created VN ctest-ext_vn-36265505 2026-04-02 01:53:42,854 - DEBUG - VN ctest-ext_vn-36265505 UUID is cf2bf3f7-52db-4754-84f6-9e7814ba8978 2026-04-02 01:53:43,110 - DEBUG - Services list from nova: [, , ] 2026-04-02 01:53:44,151 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-690-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-690-1) 2026-04-02 01:53:45,475 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-690-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-690-1) 2026-04-02 01:53:45,610 - INFO - Setting gateway for router 2e7b71a4-4bd8-45a3-ad5c-bf2eb7f7b03b to network cf2bf3f7-52db-4754-84f6-9e7814ba8978 2026-04-02 01:53:45,762 - INFO - Adding interface with subnet_id 833d3023-048c-43d7-a3fc-5cc682448216, port_id None to router 2e7b71a4-4bd8-45a3-ad5c-bf2eb7f7b03b 2026-04-02 01:53:46,264 - INFO - Waiting for VM ctest-TestRoutersBasic-19352469-13107488 to be up.. 2026-04-02 01:53:46,423 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-02 01:53:51,572 - DEBUG - VM is in ACTIVE state now 2026-04-02 01:53:51,572 - INFO - VM name : ctest-TestRoutersBasic-19352469-13107488 2026-04-02 01:53:51,710 - DEBUG - VM ctest-TestRoutersBasic-19352469-13107488 ID is 8827c6d6-073e-4243-8041-1f3b49ff461b 2026-04-02 01:53:51,737 - DEBUG - VM ctest-TestRoutersBasic-19352469-13107488 launched on Node cn-jenkins-deploy-platform-juju-os-690-1 2026-04-02 01:53:51,868 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-machine/8827c6d6-073e-4243-8041-1f3b49ff461b 2026-04-02 01:53:52,215 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-machine/8827c6d6-073e-4243-8041-1f3b49ff461b 2026-04-02 01:53:52,307 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-machine-interface/24098747-1139-4446-9749-51d4b0f0f8e9 2026-04-02 01:53:55,792 - 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 1030ms') 2026-04-02 01:53:55,792 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-19352469-13107488 failed! 2026-04-02 01:53:55,850 - DEBUG - Gateway for vn admin_domain:ctest-TestRoutersBasic-19352469:ctest-vn-86241842 is 129.162.177.129 and allocation pool is NOT set 2026-04-02 01:53:57,936 - 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.83 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.01 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.013/2.419/3.825/1.406 ms') 2026-04-02 01:53:57,936 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-19352469-13107488 passed 2026-04-02 01:53:58,094 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-02 01:53:58,094 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-19352469-13107488, IP 129.162.177.131, Port 22 2026-04-02 01:53:58,304 - DEBUG - VM ctest-TestRoutersBasic-19352469-13107488 is ready for SSH connections 2026-04-02 01:53:58,304 - INFO - Waiting for VM ctest-TestRoutersBasic-19352469-11202891 to be up.. 2026-04-02 01:53:58,438 - DEBUG - VM is in ACTIVE state now 2026-04-02 01:53:58,438 - INFO - VM name : ctest-TestRoutersBasic-19352469-11202891 2026-04-02 01:53:58,565 - DEBUG - VM ctest-TestRoutersBasic-19352469-11202891 ID is cc7c7a98-a60c-4072-8d0f-aaf27d70b18f 2026-04-02 01:53:58,565 - DEBUG - VM ctest-TestRoutersBasic-19352469-11202891 launched on Node cn-jenkins-deploy-platform-juju-os-690-1 2026-04-02 01:53:58,692 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-machine/cc7c7a98-a60c-4072-8d0f-aaf27d70b18f 2026-04-02 01:53:58,746 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-machine-interface/ee16313f-8fd6-400e-9bdf-a36deb618272 2026-04-02 01:54:00,180 - 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=14.7 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.489 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.489/7.576/14.664/7.087 ms') 2026-04-02 01:54:00,180 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-19352469-11202891 passed 2026-04-02 01:54:00,330 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-02 01:54:00,330 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-19352469-11202891, IP 62.220.156.195, Port 22 2026-04-02 01:54:00,556 - DEBUG - VM ctest-TestRoutersBasic-19352469-11202891 is ready for SSH connections 2026-04-02 01:54:00,556 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-02 01:54:00,556 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 62.220.156.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2026-04-02 01:54:00,557 - DEBUG - ping -s 56 -c 3 -W 1 62.220.156.195 2026-04-02 01:54:04,274 - DEBUG - PING 62.220.156.195 (62.220.156.195): 56 data bytes 64 bytes from 62.220.156.195: seq=0 ttl=62 time=7.317 ms 64 bytes from 62.220.156.195: seq=1 ttl=62 time=0.771 ms 64 bytes from 62.220.156.195: seq=2 ttl=62 time=1.036 ms --- 62.220.156.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.771/3.041/7.317 ms 2026-04-02 01:54:04,274 - INFO - Ping to IP 62.220.156.195 from VM ctest-TestRoutersBasic-19352469-13107488 passed 2026-04-02 01:54:04,274 - INFO - Deleting interface with subnet_id 833d3023-048c-43d7-a3fc-5cc682448216, port_id None from router 2e7b71a4-4bd8-45a3-ad5c-bf2eb7f7b03b 2026-04-02 01:54:04,640 - INFO - Deleting VM ctest-TestRoutersBasic-19352469-11202891 2026-04-02 01:54:04,743 - INFO - Deleting VM ctest-TestRoutersBasic-19352469-13107488 2026-04-02 01:54:04,842 - INFO - Deleting VN ctest-ext_vn-36265505 2026-04-02 01:54:05,033 - DEBUG - VN cf2bf3f7-52db-4754-84f6-9e7814ba8978 still in use: Unable to complete operation on network cf2bf3f7-52db-4754-84f6-9e7814ba8978. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a08d7e35-2283-4e7b-97b9-c6dd1bd58973'] 2026-04-02 01:54:05,033 - WARNING - Deleting VN ctest-ext_vn-36265505 failed..Will retry 2026-04-02 01:54:07,196 - DEBUG - Response for deleting network () 2026-04-02 01:54:07,196 - INFO - Deleting VN ctest-vn-86241842 2026-04-02 01:54:07,360 - DEBUG - Response for deleting network () 2026-04-02 01:54:07,743 - DEBUG - No XMPP flaps were noticed during the test 2026-04-02 01:54:07,743 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:28] 2026-04-02 01:54:07,743 - INFO - -------------------------------------------------------------------------------- 2026-04-02 01:54:08,462 - INFO - Deleted project: ctest-TestRoutersBasic-19352469, ID : 740edae3-923f-40e2-b70f-f2cb9340a700