2025-10-13 16:25:25,912 - INFO - Domain Default found not creating 2025-10-13 16:25:26,067 - INFO - Project ctest-TestRoutersBasic-25139862 not found, creating it 2025-10-13 16:25:26,547 - INFO - Created Project:ctest-TestRoutersBasic-25139862, ID : f1752d7b-d479-4dc2-a23d-921681bfcb48 2025-10-13 16:25:28,118 - INFO - ================================================================================ 2025-10-13 16:25:28,118 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-13 16:25:28,118 - 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-13 16:25:28,379 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.254': '0'}} with 2025-10-13 16:25:28,379 - INFO - Initial checks done. Running the testcase now 2025-10-13 16:25:28,379 - INFO - 2025-10-13 16:25:29,176 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-25139862 2025-10-13 16:25:29,276 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-25139862 2025-10-13 16:25:29,599 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-25139862', 'default']} 2025-10-13 16:25:29,901 - DEBUG - Response for create_network : {'network': {'id': 'cb73fac2-fcc0-4ab0-80cd-d1a7b0d13c83', 'name': 'ctest-vn-45439615', 'tenant_id': 'f1752d7bd4794dc2a23d921681bfcb48', 'project_id': 'f1752d7bd4794dc2a23d921681bfcb48', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-25139862', 'ctest-vn-45439615'], 'port_security_enabled': True, 'description': ''}} 2025-10-13 16:25:30,121 - DEBUG - Response for create_subnet : {'subnet': {'id': '5d2215f6-6dbd-499a-9b30-5a8394795829', 'name': '', 'tenant_id': 'f1752d7bd4794dc2a23d921681bfcb48', 'network_id': 'cb73fac2-fcc0-4ab0-80cd-d1a7b0d13c83', 'ip_version': 4, 'cidr': '157.177.161.192/26', 'allocation_pools': [{'start': '157.177.161.194', 'end': '157.177.161.254'}], 'gateway_ip': '157.177.161.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '157.177.161.194', 'tags': [], 'project_id': 'f1752d7bd4794dc2a23d921681bfcb48'}} 2025-10-13 16:25:30,139 - INFO - Created VN ctest-vn-45439615 2025-10-13 16:25:30,196 - DEBUG - VN ctest-vn-45439615 UUID is cb73fac2-fcc0-4ab0-80cd-d1a7b0d13c83 2025-10-13 16:25:30,495 - DEBUG - Response for create_network : {'network': {'id': '9500c38d-d668-46e1-8352-ba1df30f3f05', 'name': 'ctest-ext_vn-94079542', 'tenant_id': 'f1752d7bd4794dc2a23d921681bfcb48', 'project_id': 'f1752d7bd4794dc2a23d921681bfcb48', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-25139862', 'ctest-ext_vn-94079542'], 'port_security_enabled': True, 'description': ''}} 2025-10-13 16:25:30,688 - DEBUG - Response for create_subnet : {'subnet': {'id': '7b928fe2-0774-4326-8cc3-6f68a4157486', 'name': '', 'tenant_id': 'f1752d7bd4794dc2a23d921681bfcb48', 'network_id': '9500c38d-d668-46e1-8352-ba1df30f3f05', 'ip_version': 4, 'cidr': '80.154.76.0/26', 'allocation_pools': [{'start': '80.154.76.2', 'end': '80.154.76.62'}], 'gateway_ip': '80.154.76.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.154.76.2', 'tags': [], 'project_id': 'f1752d7bd4794dc2a23d921681bfcb48'}} 2025-10-13 16:25:30,706 - INFO - Created VN ctest-ext_vn-94079542 2025-10-13 16:25:30,759 - DEBUG - VN ctest-ext_vn-94079542 UUID is 9500c38d-d668-46e1-8352-ba1df30f3f05 2025-10-13 16:25:30,927 - DEBUG - Services list from nova: [, , ] 2025-10-13 16:25:32,048 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4307-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4307-1) 2025-10-13 16:25:33,280 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4307-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4307-1) 2025-10-13 16:25:33,356 - INFO - Setting gateway for router b3f5c1ad-ab90-4409-be98-12eb4158c892 to network 9500c38d-d668-46e1-8352-ba1df30f3f05 2025-10-13 16:25:33,424 - INFO - Adding interface with subnet_id 5d2215f6-6dbd-499a-9b30-5a8394795829, port_id None to router b3f5c1ad-ab90-4409-be98-12eb4158c892 2025-10-13 16:25:33,749 - INFO - Waiting for VM ctest-TestRoutersBasic-25139862-37169119 to be up.. 2025-10-13 16:25:33,933 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-13 16:25:39,017 - DEBUG - VM is in ACTIVE state now 2025-10-13 16:25:39,018 - INFO - VM name : ctest-TestRoutersBasic-25139862-37169119 2025-10-13 16:25:39,095 - DEBUG - VM ctest-TestRoutersBasic-25139862-37169119 ID is a3a09e7d-52ee-416a-8da3-d40a7f02ec50 2025-10-13 16:25:39,116 - DEBUG - VM ctest-TestRoutersBasic-25139862-37169119 launched on Node cn-jenkins-deploy-platform-ansible-os-4307-1 2025-10-13 16:25:39,192 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/a3a09e7d-52ee-416a-8da3-d40a7f02ec50 2025-10-13 16:25:39,529 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/a3a09e7d-52ee-416a-8da3-d40a7f02ec50 2025-10-13 16:25:39,562 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/9a83ab81-091b-4cb9-a38f-c5581d9ac56a 2025-10-13 16:25:42,809 - 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') 2025-10-13 16:25:42,809 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-25139862-37169119 failed! 2025-10-13 16:25:42,864 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-25139862:ctest-vn-45439615 is 157.177.161.193 and allocation pool is NOT set 2025-10-13 16:25:44,921 - 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.30 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.691 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.691/2.493/4.296/1.802 ms') 2025-10-13 16:25:44,921 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-25139862-37169119 passed 2025-10-13 16:25:45,072 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 16:25:45,072 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-25139862-37169119, IP 157.177.161.195, Port 22 2025-10-13 16:25:45,235 - DEBUG - VM ctest-TestRoutersBasic-25139862-37169119 is ready for SSH connections 2025-10-13 16:25:45,235 - INFO - Waiting for VM ctest-TestRoutersBasic-25139862-74189493 to be up.. 2025-10-13 16:25:45,318 - DEBUG - VM is in ACTIVE state now 2025-10-13 16:25:45,318 - INFO - VM name : ctest-TestRoutersBasic-25139862-74189493 2025-10-13 16:25:45,393 - DEBUG - VM ctest-TestRoutersBasic-25139862-74189493 ID is 45cf4bda-461d-41db-a26d-8b1ff1d70cd2 2025-10-13 16:25:45,394 - DEBUG - VM ctest-TestRoutersBasic-25139862-74189493 launched on Node cn-jenkins-deploy-platform-ansible-os-4307-1 2025-10-13 16:25:45,469 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/45cf4bda-461d-41db-a26d-8b1ff1d70cd2 2025-10-13 16:25:45,479 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/630e0da9-370a-4990-b266-cf78105e5871 2025-10-13 16:25:46,718 - 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.64 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.12 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 = 2.120/3.881/5.643/1.761 ms') 2025-10-13 16:25:46,719 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-25139862-74189493 passed 2025-10-13 16:25:46,872 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 16:25:46,872 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-25139862-74189493, IP 80.154.76.3, Port 22 2025-10-13 16:25:47,031 - DEBUG - VM ctest-TestRoutersBasic-25139862-74189493 is ready for SSH connections 2025-10-13 16:25:47,031 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 16:25:47,031 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 80.154.76.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-13 16:25:47,031 - DEBUG - ping -s 56 -c 3 -W 1 80.154.76.3 2025-10-13 16:25:50,797 - DEBUG - PING 80.154.76.3 (80.154.76.3): 56 data bytes 64 bytes from 80.154.76.3: seq=0 ttl=62 time=7.260 ms 64 bytes from 80.154.76.3: seq=1 ttl=62 time=1.136 ms 64 bytes from 80.154.76.3: seq=2 ttl=62 time=1.037 ms --- 80.154.76.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.037/3.144/7.260 ms 2025-10-13 16:25:50,797 - INFO - Ping to IP 80.154.76.3 from VM ctest-TestRoutersBasic-25139862-37169119 passed 2025-10-13 16:25:50,798 - INFO - Deleting interface with subnet_id 5d2215f6-6dbd-499a-9b30-5a8394795829, port_id None from router b3f5c1ad-ab90-4409-be98-12eb4158c892 2025-10-13 16:25:50,984 - INFO - Deleting VM ctest-TestRoutersBasic-25139862-74189493 2025-10-13 16:25:51,070 - INFO - Deleting VM ctest-TestRoutersBasic-25139862-37169119 2025-10-13 16:25:51,166 - INFO - Deleting VN ctest-ext_vn-94079542 2025-10-13 16:25:51,232 - DEBUG - VN 9500c38d-d668-46e1-8352-ba1df30f3f05 still in use: Unable to complete operation on network 9500c38d-d668-46e1-8352-ba1df30f3f05. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e07efa93-1a1c-4210-a0b8-62456a548ebb'] 2025-10-13 16:25:51,232 - WARNING - Deleting VN ctest-ext_vn-94079542 failed..Will retry 2025-10-13 16:25:53,336 - DEBUG - Response for deleting network () 2025-10-13 16:25:53,336 - INFO - Deleting VN ctest-vn-45439615 2025-10-13 16:25:53,448 - DEBUG - Response for deleting network () 2025-10-13 16:25:53,702 - DEBUG - No XMPP flaps were noticed during the test
2025-10-13 16:25:53,702 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-10-13 16:25:53,702 - INFO - -------------------------------------------------------------------------------- 2025-10-13 16:25:54,410 - INFO - Deleted project: ctest-TestRoutersBasic-25139862, ID : f1752d7b-d479-4dc2-a23d-921681bfcb48