2025-10-24 19:41:40,717 - INFO - Domain Default found not creating 2025-10-24 19:41:40,880 - INFO - Project ctest-TestRoutersBasic-61427521 not found, creating it 2025-10-24 19:41:41,341 - INFO - Created Project:ctest-TestRoutersBasic-61427521, ID : c8da3e21-fd89-43bf-96ce-ed279787b43f 2025-10-24 19:41:43,401 - INFO - ================================================================================ 2025-10-24 19:41:43,401 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-24 19:41:43,401 - 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 2025-10-24 19:41:43,653 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with 2025-10-24 19:41:43,653 - INFO - Initial checks done. Running the testcase now 2025-10-24 19:41:43,653 - INFO - 2025-10-24 19:41:44,339 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-61427521 2025-10-24 19:41:44,436 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-61427521 2025-10-24 19:41:44,752 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-61427521', 'default']} 2025-10-24 19:41:45,031 - DEBUG - Response for create_network : {'network': {'id': '6b8a358a-0bf3-49d7-a0fc-6e48678800b6', 'name': 'ctest-vn-62876146', 'tenant_id': 'c8da3e21fd8943bf96ceed279787b43f', 'project_id': 'c8da3e21fd8943bf96ceed279787b43f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-61427521', 'ctest-vn-62876146'], 'port_security_enabled': True, 'description': ''}} 2025-10-24 19:41:45,241 - DEBUG - Response for create_subnet : {'subnet': {'id': '2b361837-6931-4106-8a06-68c0e625c615', 'name': '', 'tenant_id': 'c8da3e21fd8943bf96ceed279787b43f', 'network_id': '6b8a358a-0bf3-49d7-a0fc-6e48678800b6', 'ip_version': 4, 'cidr': '90.157.22.64/26', 'allocation_pools': [{'start': '90.157.22.66', 'end': '90.157.22.126'}], 'gateway_ip': '90.157.22.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.157.22.66', 'tags': [], 'project_id': 'c8da3e21fd8943bf96ceed279787b43f'}} 2025-10-24 19:41:45,262 - INFO - Created VN ctest-vn-62876146 2025-10-24 19:41:45,316 - DEBUG - VN ctest-vn-62876146 UUID is 6b8a358a-0bf3-49d7-a0fc-6e48678800b6 2025-10-24 19:41:45,632 - DEBUG - Response for create_network : {'network': {'id': '81f07869-8144-4997-b4f5-85ca2f902cd5', 'name': 'ctest-ext_vn-62496958', 'tenant_id': 'c8da3e21fd8943bf96ceed279787b43f', 'project_id': 'c8da3e21fd8943bf96ceed279787b43f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-61427521', 'ctest-ext_vn-62496958'], 'port_security_enabled': True, 'description': ''}} 2025-10-24 19:41:45,853 - DEBUG - Response for create_subnet : {'subnet': {'id': '0d317733-86c5-4cf1-aa37-f7b8d14abca3', 'name': '', 'tenant_id': 'c8da3e21fd8943bf96ceed279787b43f', 'network_id': '81f07869-8144-4997-b4f5-85ca2f902cd5', 'ip_version': 4, 'cidr': '185.138.17.64/26', 'allocation_pools': [{'start': '185.138.17.66', 'end': '185.138.17.126'}], 'gateway_ip': '185.138.17.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '185.138.17.66', 'tags': [], 'project_id': 'c8da3e21fd8943bf96ceed279787b43f'}} 2025-10-24 19:41:45,873 - INFO - Created VN ctest-ext_vn-62496958 2025-10-24 19:41:45,924 - DEBUG - VN ctest-ext_vn-62496958 UUID is 81f07869-8144-4997-b4f5-85ca2f902cd5 2025-10-24 19:41:46,118 - DEBUG - Services list from nova: [, , ] 2025-10-24 19:41:47,105 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4480-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4480-1) 2025-10-24 19:41:48,208 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4480-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4480-1) 2025-10-24 19:41:48,286 - INFO - Setting gateway for router 9caaa913-49d3-455c-8bf7-93c3839ba927 to network 81f07869-8144-4997-b4f5-85ca2f902cd5 2025-10-24 19:41:48,371 - INFO - Adding interface with subnet_id 2b361837-6931-4106-8a06-68c0e625c615, port_id None to router 9caaa913-49d3-455c-8bf7-93c3839ba927 2025-10-24 19:41:48,718 - INFO - Waiting for VM ctest-TestRoutersBasic-61427521-51553591 to be up.. 2025-10-24 19:41:48,890 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-24 19:41:53,962 - DEBUG - VM is in ACTIVE state now 2025-10-24 19:41:53,963 - INFO - VM name : ctest-TestRoutersBasic-61427521-51553591 2025-10-24 19:41:54,031 - DEBUG - VM ctest-TestRoutersBasic-61427521-51553591 ID is 877f900e-53f7-4e20-8b70-7862ddfc11fa 2025-10-24 19:41:54,049 - DEBUG - VM ctest-TestRoutersBasic-61427521-51553591 launched on Node cn-jenkins-deploy-platform-ansible-os-4480-1 2025-10-24 19:41:54,116 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/877f900e-53f7-4e20-8b70-7862ddfc11fa 2025-10-24 19:41:54,413 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/877f900e-53f7-4e20-8b70-7862ddfc11fa 2025-10-24 19:41:54,443 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/98f6877a-d4ee-46f0-9ec6-9be05baabe08 2025-10-24 19:41:57,700 - 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') 2025-10-24 19:41:57,701 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-61427521-51553591 failed! 2025-10-24 19:41:57,756 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-61427521:ctest-vn-62876146 is 90.157.22.65 and allocation pool is NOT set 2025-10-24 19:41:59,814 - 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=2.70 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.400 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.400/1.549/2.698/1.149 ms') 2025-10-24 19:41:59,814 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-61427521-51553591 passed 2025-10-24 19:41:59,960 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 19:41:59,960 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-61427521-51553591, IP 90.157.22.67, Port 22 2025-10-24 19:42:00,119 - DEBUG - VM ctest-TestRoutersBasic-61427521-51553591 is ready for SSH connections 2025-10-24 19:42:00,119 - INFO - Waiting for VM ctest-TestRoutersBasic-61427521-22403899 to be up.. 2025-10-24 19:42:00,192 - DEBUG - VM is in ACTIVE state now 2025-10-24 19:42:00,192 - INFO - VM name : ctest-TestRoutersBasic-61427521-22403899 2025-10-24 19:42:00,256 - DEBUG - VM ctest-TestRoutersBasic-61427521-22403899 ID is b149addb-c509-4e8c-8150-94e2bd0b2e56 2025-10-24 19:42:00,256 - DEBUG - VM ctest-TestRoutersBasic-61427521-22403899 launched on Node cn-jenkins-deploy-platform-ansible-os-4480-1 2025-10-24 19:42:00,323 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/b149addb-c509-4e8c-8150-94e2bd0b2e56 2025-10-24 19:42:00,332 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/aba92633-aebe-4a90-a86c-7d18286e0e8a 2025-10-24 19:42:01,567 - 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.74 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.483 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.483/1.611/2.740/1.128 ms') 2025-10-24 19:42:01,567 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-61427521-22403899 passed 2025-10-24 19:42:01,716 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 19:42:01,716 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-61427521-22403899, IP 185.138.17.67, Port 22 2025-10-24 19:42:01,876 - DEBUG - VM ctest-TestRoutersBasic-61427521-22403899 is ready for SSH connections 2025-10-24 19:42:01,876 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 19:42:01,876 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 185.138.17.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-24 19:42:01,876 - DEBUG - ping -s 56 -c 3 -W 1 185.138.17.67 2025-10-24 19:42:05,573 - DEBUG - PING 185.138.17.67 (185.138.17.67): 56 data bytes 64 bytes from 185.138.17.67: seq=0 ttl=62 time=4.287 ms 64 bytes from 185.138.17.67: seq=1 ttl=62 time=0.815 ms 64 bytes from 185.138.17.67: seq=2 ttl=62 time=0.984 ms --- 185.138.17.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.815/2.028/4.287 ms 2025-10-24 19:42:05,573 - INFO - Ping to IP 185.138.17.67 from VM ctest-TestRoutersBasic-61427521-51553591 passed 2025-10-24 19:42:05,573 - INFO - Deleting interface with subnet_id 2b361837-6931-4106-8a06-68c0e625c615, port_id None from router 9caaa913-49d3-455c-8bf7-93c3839ba927 2025-10-24 19:42:05,756 - INFO - Deleting VM ctest-TestRoutersBasic-61427521-22403899 2025-10-24 19:42:05,821 - INFO - Deleting VM ctest-TestRoutersBasic-61427521-51553591 2025-10-24 19:42:05,913 - INFO - Deleting VN ctest-ext_vn-62496958 2025-10-24 19:42:05,981 - DEBUG - VN 81f07869-8144-4997-b4f5-85ca2f902cd5 still in use: Unable to complete operation on network 81f07869-8144-4997-b4f5-85ca2f902cd5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9a471c85-80f8-4d4b-99a0-efe4bc0445d1'] 2025-10-24 19:42:05,981 - WARNING - Deleting VN ctest-ext_vn-62496958 failed..Will retry 2025-10-24 19:42:08,087 - DEBUG - Response for deleting network () 2025-10-24 19:42:08,087 - INFO - Deleting VN ctest-vn-62876146 2025-10-24 19:42:08,184 - DEBUG - Response for deleting network () 2025-10-24 19:42:08,440 - DEBUG - No XMPP flaps were noticed during the test
2025-10-24 19:42:08,441 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-10-24 19:42:08,441 - INFO - -------------------------------------------------------------------------------- 2025-10-24 19:42:09,098 - INFO - Deleted project: ctest-TestRoutersBasic-61427521, ID : c8da3e21-fd89-43bf-96ce-ed279787b43f