2026-05-28 09:06:37,184 - INFO - Domain Default found not creating 2026-05-28 09:06:37,375 - INFO - Project ctest-TestRoutersBasic-45046385 not found, creating it 2026-05-28 09:06:37,886 - INFO - Created Project:ctest-TestRoutersBasic-45046385, ID : a95434ae-b2b7-463d-ba88-bdc93d7201b1 2026-05-28 09:06:39,603 - INFO - ================================================================================ 2026-05-28 09:06:39,603 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-05-28 09:06:39,603 - 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-05-28 09:06:39,862 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2026-05-28 09:06:39,862 - INFO - Initial checks done. Running the testcase now 2026-05-28 09:06:39,862 - INFO - 2026-05-28 09:06:40,677 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-45046385 2026-05-28 09:06:40,775 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-45046385 2026-05-28 09:06:41,099 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-45046385', 'default']} 2026-05-28 09:06:41,415 - DEBUG - Response for create_network : {'network': {'id': '5a6a84bf-27c9-48be-9bfd-844d3779092b', 'name': 'ctest-vn-10234896', 'tenant_id': 'a95434aeb2b7463dba88bdc93d7201b1', 'project_id': 'a95434aeb2b7463dba88bdc93d7201b1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-45046385', 'ctest-vn-10234896'], 'port_security_enabled': True, 'description': ''}} 2026-05-28 09:06:41,585 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd230daab-f6ea-44dc-91b0-343faedefa42', 'name': '', 'tenant_id': 'a95434aeb2b7463dba88bdc93d7201b1', 'network_id': '5a6a84bf-27c9-48be-9bfd-844d3779092b', 'ip_version': 4, 'cidr': '15.21.112.192/26', 'allocation_pools': [{'start': '15.21.112.194', 'end': '15.21.112.254'}], 'gateway_ip': '15.21.112.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '15.21.112.194', 'tags': [], 'project_id': 'a95434aeb2b7463dba88bdc93d7201b1'}} 2026-05-28 09:06:41,602 - INFO - Created VN ctest-vn-10234896 2026-05-28 09:06:41,655 - DEBUG - VN ctest-vn-10234896 UUID is 5a6a84bf-27c9-48be-9bfd-844d3779092b 2026-05-28 09:06:41,988 - DEBUG - Response for create_network : {'network': {'id': 'c1e7397d-c9c4-4686-b156-3a18624d0faa', 'name': 'ctest-ext_vn-63074892', 'tenant_id': 'a95434aeb2b7463dba88bdc93d7201b1', 'project_id': 'a95434aeb2b7463dba88bdc93d7201b1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-45046385', 'ctest-ext_vn-63074892'], 'port_security_enabled': True, 'description': ''}} 2026-05-28 09:06:42,155 - DEBUG - Response for create_subnet : {'subnet': {'id': '7c669c62-e5ab-4792-b56f-c68de8bf82a3', 'name': '', 'tenant_id': 'a95434aeb2b7463dba88bdc93d7201b1', 'network_id': 'c1e7397d-c9c4-4686-b156-3a18624d0faa', 'ip_version': 4, 'cidr': '97.209.203.64/26', 'allocation_pools': [{'start': '97.209.203.66', 'end': '97.209.203.126'}], 'gateway_ip': '97.209.203.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '97.209.203.66', 'tags': [], 'project_id': 'a95434aeb2b7463dba88bdc93d7201b1'}} 2026-05-28 09:06:42,173 - INFO - Created VN ctest-ext_vn-63074892 2026-05-28 09:06:42,230 - DEBUG - VN ctest-ext_vn-63074892 UUID is c1e7397d-c9c4-4686-b156-3a18624d0faa 2026-05-28 09:06:42,423 - DEBUG - Services list from nova: [, , ] 2026-05-28 09:06:43,593 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5843-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5843-1) 2026-05-28 09:06:44,906 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5843-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5843-1) 2026-05-28 09:06:45,021 - INFO - Setting gateway for router 4601056c-1cdf-4bea-ac62-f2bed62e49fc to network c1e7397d-c9c4-4686-b156-3a18624d0faa 2026-05-28 09:06:45,089 - INFO - Adding interface with subnet_id d230daab-f6ea-44dc-91b0-343faedefa42, port_id None to router 4601056c-1cdf-4bea-ac62-f2bed62e49fc 2026-05-28 09:06:45,418 - INFO - Waiting for VM ctest-TestRoutersBasic-45046385-90879652 to be up.. 2026-05-28 09:06:45,608 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-28 09:06:50,692 - DEBUG - VM is in ACTIVE state now 2026-05-28 09:06:50,693 - INFO - VM name : ctest-TestRoutersBasic-45046385-90879652 2026-05-28 09:06:50,772 - DEBUG - VM ctest-TestRoutersBasic-45046385-90879652 ID is 6d2bea5c-1acd-4320-b1f1-6ec36c24fba6 2026-05-28 09:06:50,798 - DEBUG - VM ctest-TestRoutersBasic-45046385-90879652 launched on Node cn-jenkins-deploy-platform-ansible-os-5843-1 2026-05-28 09:06:50,881 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/6d2bea5c-1acd-4320-b1f1-6ec36c24fba6 2026-05-28 09:06:51,226 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/6d2bea5c-1acd-4320-b1f1-6ec36c24fba6 2026-05-28 09:06:51,259 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/e46664df-fd11-4444-bc96-49408f02a3b8 2026-05-28 09:06:54,519 - 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-05-28 09:06:54,519 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-45046385-90879652 failed! 2026-05-28 09:06:54,575 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-45046385:ctest-vn-10234896 is 15.21.112.193 and allocation pool is NOT set 2026-05-28 09:06:56,636 - 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.04 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.872 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.872/2.955/5.038/2.083 ms') 2026-05-28 09:06:56,636 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-45046385-90879652 passed 2026-05-28 09:06:56,787 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 09:06:56,787 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-45046385-90879652, IP 15.21.112.195, Port 22 2026-05-28 09:06:56,954 - DEBUG - VM ctest-TestRoutersBasic-45046385-90879652 is ready for SSH connections 2026-05-28 09:06:56,954 - INFO - Waiting for VM ctest-TestRoutersBasic-45046385-53855475 to be up.. 2026-05-28 09:06:57,040 - DEBUG - VM is in ACTIVE state now 2026-05-28 09:06:57,040 - INFO - VM name : ctest-TestRoutersBasic-45046385-53855475 2026-05-28 09:06:57,121 - DEBUG - VM ctest-TestRoutersBasic-45046385-53855475 ID is 02705664-ccd7-4863-8551-7e073bbe9542 2026-05-28 09:06:57,121 - DEBUG - VM ctest-TestRoutersBasic-45046385-53855475 launched on Node cn-jenkins-deploy-platform-ansible-os-5843-1 2026-05-28 09:06:57,201 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/02705664-ccd7-4863-8551-7e073bbe9542 2026-05-28 09:06:57,210 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/c4a9af9c-0549-4de1-ad2c-a65a233d860a 2026-05-28 09:06:58,450 - 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=5.11 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.00 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 = 1.004/3.057/5.110/2.053 ms') 2026-05-28 09:06:58,450 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-45046385-53855475 passed 2026-05-28 09:06:58,603 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 09:06:58,603 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-45046385-53855475, IP 97.209.203.67, Port 22 2026-05-28 09:06:58,771 - DEBUG - VM ctest-TestRoutersBasic-45046385-53855475 is ready for SSH connections 2026-05-28 09:06:58,771 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 09:06:58,771 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 97.209.203.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-05-28 09:06:58,771 - DEBUG - ping -s 56 -c 3 -W 1 97.209.203.67 2026-05-28 09:07:02,522 - DEBUG - PING 97.209.203.67 (97.209.203.67): 56 data bytes 64 bytes from 97.209.203.67: seq=0 ttl=62 time=9.016 ms 64 bytes from 97.209.203.67: seq=1 ttl=62 time=1.167 ms 64 bytes from 97.209.203.67: seq=2 ttl=62 time=1.280 ms --- 97.209.203.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.167/3.821/9.016 ms 2026-05-28 09:07:02,522 - INFO - Ping to IP 97.209.203.67 from VM ctest-TestRoutersBasic-45046385-90879652 passed 2026-05-28 09:07:02,523 - INFO - Deleting interface with subnet_id d230daab-f6ea-44dc-91b0-343faedefa42, port_id None from router 4601056c-1cdf-4bea-ac62-f2bed62e49fc 2026-05-28 09:07:02,717 - INFO - Deleting VM ctest-TestRoutersBasic-45046385-53855475 2026-05-28 09:07:02,786 - INFO - Deleting VM ctest-TestRoutersBasic-45046385-90879652 2026-05-28 09:07:02,865 - INFO - Deleting VN ctest-ext_vn-63074892 2026-05-28 09:07:02,934 - DEBUG - VN c1e7397d-c9c4-4686-b156-3a18624d0faa still in use: Unable to complete operation on network c1e7397d-c9c4-4686-b156-3a18624d0faa. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d11fc004-2fda-487a-889f-ffefae56b1a7'] 2026-05-28 09:07:02,934 - WARNING - Deleting VN ctest-ext_vn-63074892 failed..Will retry 2026-05-28 09:07:05,039 - DEBUG - Response for deleting network () 2026-05-28 09:07:05,039 - INFO - Deleting VN ctest-vn-10234896 2026-05-28 09:07:05,173 - DEBUG - Response for deleting network () 2026-05-28 09:07:05,433 - DEBUG - No XMPP flaps were noticed during the test 2026-05-28 09:07:05,433 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2026-05-28 09:07:05,433 - INFO - -------------------------------------------------------------------------------- 2026-05-28 09:07:06,189 - INFO - Deleted project: ctest-TestRoutersBasic-45046385, ID : a95434ae-b2b7-463d-ba88-bdc93d7201b1