2026-02-02 13:09:07,459 - INFO - Domain Default found not creating 2026-02-02 13:09:07,658 - INFO - Project ctest-TestRoutersBasic-54693304 not found, creating it 2026-02-02 13:09:08,166 - INFO - Created Project:ctest-TestRoutersBasic-54693304, ID : e9fce32e-7ab4-46a3-bd45-5259762aad45 2026-02-02 13:09:09,743 - INFO - ================================================================================ 2026-02-02 13:09:09,743 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-02 13:09:09,743 - 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-02 13:09:10,002 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.254': '0'}} with 2026-02-02 13:09:10,002 - INFO - Initial checks done. Running the testcase now 2026-02-02 13:09:10,002 - INFO - 2026-02-02 13:09:10,733 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-54693304 2026-02-02 13:09:10,828 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-54693304 2026-02-02 13:09:11,152 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-54693304', 'default']} 2026-02-02 13:09:11,464 - DEBUG - Response for create_network : {'network': {'id': '266db48c-97d2-45b5-a503-503912abd763', 'name': 'ctest-vn-25043928', 'tenant_id': 'e9fce32e7ab446a3bd455259762aad45', 'project_id': 'e9fce32e7ab446a3bd455259762aad45', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-54693304', 'ctest-vn-25043928'], 'port_security_enabled': True, 'description': ''}} 2026-02-02 13:09:11,683 - DEBUG - Response for create_subnet : {'subnet': {'id': '45279dff-ef10-474a-b19e-128cb016ace2', 'name': '', 'tenant_id': 'e9fce32e7ab446a3bd455259762aad45', 'network_id': '266db48c-97d2-45b5-a503-503912abd763', 'ip_version': 4, 'cidr': '199.227.181.128/26', 'allocation_pools': [{'start': '199.227.181.130', 'end': '199.227.181.190'}], 'gateway_ip': '199.227.181.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.227.181.130', 'tags': [], 'project_id': 'e9fce32e7ab446a3bd455259762aad45'}} 2026-02-02 13:09:11,704 - INFO - Created VN ctest-vn-25043928 2026-02-02 13:09:11,760 - DEBUG - VN ctest-vn-25043928 UUID is 266db48c-97d2-45b5-a503-503912abd763 2026-02-02 13:09:12,103 - DEBUG - Response for create_network : {'network': {'id': '4f1f1824-f615-4bff-ad1a-8bd9affcc9de', 'name': 'ctest-ext_vn-79717141', 'tenant_id': 'e9fce32e7ab446a3bd455259762aad45', 'project_id': 'e9fce32e7ab446a3bd455259762aad45', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-54693304', 'ctest-ext_vn-79717141'], 'port_security_enabled': True, 'description': ''}} 2026-02-02 13:09:12,341 - DEBUG - Response for create_subnet : {'subnet': {'id': '2aadbce0-28a4-4d1e-a67a-1f6311ed350a', 'name': '', 'tenant_id': 'e9fce32e7ab446a3bd455259762aad45', 'network_id': '4f1f1824-f615-4bff-ad1a-8bd9affcc9de', 'ip_version': 4, 'cidr': '114.216.146.64/26', 'allocation_pools': [{'start': '114.216.146.66', 'end': '114.216.146.126'}], 'gateway_ip': '114.216.146.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.216.146.66', 'tags': [], 'project_id': 'e9fce32e7ab446a3bd455259762aad45'}} 2026-02-02 13:09:12,364 - INFO - Created VN ctest-ext_vn-79717141 2026-02-02 13:09:12,420 - DEBUG - VN ctest-ext_vn-79717141 UUID is 4f1f1824-f615-4bff-ad1a-8bd9affcc9de 2026-02-02 13:09:12,631 - DEBUG - Services list from nova: [, , ] 2026-02-02 13:09:13,736 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5173-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5173-1) 2026-02-02 13:09:14,991 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5173-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5173-1) 2026-02-02 13:09:15,111 - INFO - Setting gateway for router 355ce516-27c0-4f95-8d24-2aeb187087eb to network 4f1f1824-f615-4bff-ad1a-8bd9affcc9de 2026-02-02 13:09:15,178 - INFO - Adding interface with subnet_id 45279dff-ef10-474a-b19e-128cb016ace2, port_id None to router 355ce516-27c0-4f95-8d24-2aeb187087eb 2026-02-02 13:09:15,638 - INFO - Waiting for VM ctest-TestRoutersBasic-54693304-48813654 to be up.. 2026-02-02 13:09:15,821 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-02 13:09:20,941 - DEBUG - VM is in ACTIVE state now 2026-02-02 13:09:20,941 - INFO - VM name : ctest-TestRoutersBasic-54693304-48813654 2026-02-02 13:09:21,040 - DEBUG - VM ctest-TestRoutersBasic-54693304-48813654 ID is 021e63c2-747e-40e3-b919-e3e6edda189b 2026-02-02 13:09:21,062 - DEBUG - VM ctest-TestRoutersBasic-54693304-48813654 launched on Node cn-jenkins-deploy-platform-ansible-os-5173-1 2026-02-02 13:09:21,157 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/021e63c2-747e-40e3-b919-e3e6edda189b 2026-02-02 13:09:21,466 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/021e63c2-747e-40e3-b919-e3e6edda189b 2026-02-02 13:09:21,508 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/1b253b4b-5d6b-46ab-acdc-07515f9f2090 2026-02-02 13:09:24,753 - 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 1005ms') 2026-02-02 13:09:24,753 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-54693304-48813654 failed! 2026-02-02 13:09:24,816 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-54693304:ctest-vn-25043928 is 199.227.181.129 and allocation pool is NOT set 2026-02-02 13:09:26,884 - 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.47 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.822 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 = 0.822/3.143/5.465/2.321 ms') 2026-02-02 13:09:26,885 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-54693304-48813654 passed 2026-02-02 13:09:27,040 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 13:09:27,040 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-54693304-48813654, IP 199.227.181.131, Port 22 2026-02-02 13:09:27,206 - DEBUG - VM ctest-TestRoutersBasic-54693304-48813654 is ready for SSH connections 2026-02-02 13:09:27,206 - INFO - Waiting for VM ctest-TestRoutersBasic-54693304-33402017 to be up.. 2026-02-02 13:09:27,299 - DEBUG - VM is in ACTIVE state now 2026-02-02 13:09:27,299 - INFO - VM name : ctest-TestRoutersBasic-54693304-33402017 2026-02-02 13:09:27,391 - DEBUG - VM ctest-TestRoutersBasic-54693304-33402017 ID is 990ef52e-b500-44f3-a8e5-4f0e5f7eae12 2026-02-02 13:09:27,392 - DEBUG - VM ctest-TestRoutersBasic-54693304-33402017 launched on Node cn-jenkins-deploy-platform-ansible-os-5173-1 2026-02-02 13:09:27,480 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/990ef52e-b500-44f3-a8e5-4f0e5f7eae12 2026-02-02 13:09:27,489 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/5a110d68-7c0e-44c9-9ae4-248b26ab4477 2026-02-02 13:09:28,743 - 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.84 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.60 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 = 3.600/3.720/3.841/0.120 ms') 2026-02-02 13:09:28,743 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-54693304-33402017 passed 2026-02-02 13:09:28,892 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 13:09:28,892 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-54693304-33402017, IP 114.216.146.67, Port 22 2026-02-02 13:09:28,958 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-02-02 13:09:29,042 - DEBUG - VM ctest-TestRoutersBasic-54693304-33402017 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-02 13:09:34,043 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 13:09:34,043 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-54693304-33402017, IP 114.216.146.67, Port 22 2026-02-02 13:09:34,207 - DEBUG - VM ctest-TestRoutersBasic-54693304-33402017 is ready for SSH connections 2026-02-02 13:09:34,207 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 13:09:34,207 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 114.216.146.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2026-02-02 13:09:34,208 - DEBUG - ping -s 56 -c 3 -W 1 114.216.146.67 2026-02-02 13:09:38,293 - DEBUG - PING 114.216.146.67 (114.216.146.67): 56 data bytes 64 bytes from 114.216.146.67: seq=0 ttl=62 time=5.366 ms 64 bytes from 114.216.146.67: seq=1 ttl=62 time=1.090 ms 64 bytes from 114.216.146.67: seq=2 ttl=62 time=1.563 ms --- 114.216.146.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.090/2.673/5.366 ms 2026-02-02 13:09:38,293 - INFO - Ping to IP 114.216.146.67 from VM ctest-TestRoutersBasic-54693304-48813654 passed 2026-02-02 13:09:38,293 - INFO - Deleting interface with subnet_id 45279dff-ef10-474a-b19e-128cb016ace2, port_id None from router 355ce516-27c0-4f95-8d24-2aeb187087eb 2026-02-02 13:09:38,542 - INFO - Deleting VM ctest-TestRoutersBasic-54693304-33402017 2026-02-02 13:09:38,649 - INFO - Deleting VM ctest-TestRoutersBasic-54693304-48813654 2026-02-02 13:09:38,747 - INFO - Deleting VN ctest-ext_vn-79717141 2026-02-02 13:09:38,823 - DEBUG - VN 4f1f1824-f615-4bff-ad1a-8bd9affcc9de still in use: Unable to complete operation on network 4f1f1824-f615-4bff-ad1a-8bd9affcc9de. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5ff926a1-4096-428c-99de-00652f1ab33c'] 2026-02-02 13:09:38,823 - WARNING - Deleting VN ctest-ext_vn-79717141 failed..Will retry 2026-02-02 13:09:40,938 - DEBUG - Response for deleting network () 2026-02-02 13:09:40,938 - INFO - Deleting VN ctest-vn-25043928 2026-02-02 13:09:41,055 - DEBUG - Response for deleting network () 2026-02-02 13:09:41,309 - DEBUG - No XMPP flaps were noticed during the test
2026-02-02 13:09:41,309 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:32]
2026-02-02 13:09:41,309 - INFO - -------------------------------------------------------------------------------- 2026-02-02 13:09:42,034 - INFO - Deleted project: ctest-TestRoutersBasic-54693304, ID : e9fce32e-7ab4-46a3-bd45-5259762aad45