2025-11-05 08:20:10,443 - INFO - Domain Default found not creating
2025-11-05 08:20:10,572 - INFO - Project ctest-TestRoutersBasic-41075154 not found, creating it
2025-11-05 08:20:11,036 - INFO - Created Project:ctest-TestRoutersBasic-41075154, ID : e701e2e2-adfc-49a5-a1eb-cf6e20ad3ca4
2025-11-05 08:20:12,429 - INFO - ================================================================================
2025-11-05 08:20:12,429 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-11-05 08:20:12,429 - 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-11-05 08:20:12,681 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.18': '0'}} with
2025-11-05 08:20:12,681 - INFO - Initial checks done. Running the testcase now
2025-11-05 08:20:12,681 - INFO -
2025-11-05 08:20:13,364 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-41075154
2025-11-05 08:20:13,467 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-41075154
2025-11-05 08:20:13,779 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-41075154', 'default']}
2025-11-05 08:20:14,063 - DEBUG - Response for create_network : {'network': {'id': '96008b67-763b-43b5-bafa-b67a3acccfbd', 'name': 'ctest-vn-37538324', 'tenant_id': 'e701e2e2adfc49a5a1ebcf6e20ad3ca4', 'project_id': 'e701e2e2adfc49a5a1ebcf6e20ad3ca4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-41075154', 'ctest-vn-37538324'], 'port_security_enabled': True, 'description': ''}}
2025-11-05 08:20:14,269 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cf38e417-be5f-4fcd-937c-2a07c0e152cb', 'name': '', 'tenant_id': 'e701e2e2adfc49a5a1ebcf6e20ad3ca4', 'network_id': '96008b67-763b-43b5-bafa-b67a3acccfbd', 'ip_version': 4, 'cidr': '98.241.228.64/26', 'allocation_pools': [{'start': '98.241.228.66', 'end': '98.241.228.126'}], 'gateway_ip': '98.241.228.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '98.241.228.66', 'tags': [], 'project_id': 'e701e2e2adfc49a5a1ebcf6e20ad3ca4'}}
2025-11-05 08:20:14,285 - INFO - Created VN ctest-vn-37538324
2025-11-05 08:20:14,339 - DEBUG - VN ctest-vn-37538324 UUID is 96008b67-763b-43b5-bafa-b67a3acccfbd
2025-11-05 08:20:14,627 - DEBUG - Response for create_network : {'network': {'id': 'ca98051c-3f34-43b3-b5a5-dd6636c7edc8', 'name': 'ctest-ext_vn-13169956', 'tenant_id': 'e701e2e2adfc49a5a1ebcf6e20ad3ca4', 'project_id': 'e701e2e2adfc49a5a1ebcf6e20ad3ca4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-41075154', 'ctest-ext_vn-13169956'], 'port_security_enabled': True, 'description': ''}}
2025-11-05 08:20:14,805 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f7d5c7bb-08e2-4aa2-a67b-1a81349afc5f', 'name': '', 'tenant_id': 'e701e2e2adfc49a5a1ebcf6e20ad3ca4', 'network_id': 'ca98051c-3f34-43b3-b5a5-dd6636c7edc8', 'ip_version': 4, 'cidr': '6.217.117.192/26', 'allocation_pools': [{'start': '6.217.117.194', 'end': '6.217.117.254'}], 'gateway_ip': '6.217.117.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '6.217.117.194', 'tags': [], 'project_id': 'e701e2e2adfc49a5a1ebcf6e20ad3ca4'}}
2025-11-05 08:20:14,821 - INFO - Created VN ctest-ext_vn-13169956
2025-11-05 08:20:14,875 - DEBUG - VN ctest-ext_vn-13169956 UUID is ca98051c-3f34-43b3-b5a5-dd6636c7edc8
2025-11-05 08:20:15,082 - DEBUG - Services list from nova: [, , ]
2025-11-05 08:20:16,047 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4635-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4635-1)
2025-11-05 08:20:17,119 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4635-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4635-1)
2025-11-05 08:20:17,176 - INFO - Setting gateway for router 43b25ad4-203a-4a56-80eb-247424799731 to network ca98051c-3f34-43b3-b5a5-dd6636c7edc8
2025-11-05 08:20:17,240 - INFO - Adding interface with subnet_id cf38e417-be5f-4fcd-937c-2a07c0e152cb, port_id None to router 43b25ad4-203a-4a56-80eb-247424799731
2025-11-05 08:20:17,475 - INFO - Waiting for VM ctest-TestRoutersBasic-41075154-33828840 to be up..
2025-11-05 08:20:17,589 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-05 08:20:22,655 - DEBUG - VM is in ACTIVE state now
2025-11-05 08:20:22,655 - INFO - VM name : ctest-TestRoutersBasic-41075154-33828840
2025-11-05 08:20:22,716 - DEBUG - VM ctest-TestRoutersBasic-41075154-33828840 ID is 92540a7d-d960-47bb-a13b-03f748eb1847
2025-11-05 08:20:22,740 - DEBUG - VM ctest-TestRoutersBasic-41075154-33828840 launched on Node cn-jenkins-deploy-platform-ansible-os-4635-1
2025-11-05 08:20:22,809 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/92540a7d-d960-47bb-a13b-03f748eb1847
2025-11-05 08:20:23,097 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/92540a7d-d960-47bb-a13b-03f748eb1847
2025-11-05 08:20:23,131 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/ffe24a0e-65dd-4051-a1f1-b23bf1ddd4f6
2025-11-05 08:20:26,371 - 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 1008ms')
2025-11-05 08:20:26,371 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-41075154-33828840 failed!
2025-11-05 08:20:26,427 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-41075154:ctest-vn-37538324 is 98.241.228.65 and allocation pool is NOT set
2025-11-05 08:20:28,490 - 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.62 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.373 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.373/1.496/2.619/1.123 ms')
2025-11-05 08:20:28,490 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-41075154-33828840 passed
2025-11-05 08:20:28,635 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 08:20:28,635 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-41075154-33828840, IP 98.241.228.67, Port 22
2025-11-05 08:20:28,787 - DEBUG - VM ctest-TestRoutersBasic-41075154-33828840 is ready for SSH connections
2025-11-05 08:20:28,787 - INFO - Waiting for VM ctest-TestRoutersBasic-41075154-66533691 to be up..
2025-11-05 08:20:28,852 - DEBUG - VM is in ACTIVE state now
2025-11-05 08:20:28,853 - INFO - VM name : ctest-TestRoutersBasic-41075154-66533691
2025-11-05 08:20:28,917 - DEBUG - VM ctest-TestRoutersBasic-41075154-66533691 ID is fabd4163-15f3-4213-a01b-210f77939857
2025-11-05 08:20:28,917 - DEBUG - VM ctest-TestRoutersBasic-41075154-66533691 launched on Node cn-jenkins-deploy-platform-ansible-os-4635-1
2025-11-05 08:20:28,979 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/fabd4163-15f3-4213-a01b-210f77939857
2025-11-05 08:20:28,986 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/d3b68e03-349b-4b2e-bfce-5c4aa85293e8
2025-11-05 08:20:30,218 - 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.16 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.373 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 = 0.373/1.764/3.156/1.391 ms')
2025-11-05 08:20:30,218 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-41075154-66533691 passed
2025-11-05 08:20:30,371 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 08:20:30,372 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-41075154-66533691, IP 6.217.117.195, Port 22
2025-11-05 08:20:30,527 - DEBUG - VM ctest-TestRoutersBasic-41075154-66533691 is ready for SSH connections
2025-11-05 08:20:30,527 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 08:20:30,527 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 6.217.117.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123
2025-11-05 08:20:30,528 - DEBUG - ping -s 56 -c 3 -W 1 6.217.117.195
2025-11-05 08:20:34,528 - DEBUG - PING 6.217.117.195 (6.217.117.195): 56 data bytes
64 bytes from 6.217.117.195: seq=0 ttl=62 time=4.550 ms
64 bytes from 6.217.117.195: seq=1 ttl=62 time=0.845 ms
64 bytes from 6.217.117.195: seq=2 ttl=62 time=1.018 ms
--- 6.217.117.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.845/2.137/4.550 ms
2025-11-05 08:20:34,528 - INFO - Ping to IP 6.217.117.195 from VM ctest-TestRoutersBasic-41075154-33828840 passed
2025-11-05 08:20:34,528 - INFO - Deleting interface with subnet_id cf38e417-be5f-4fcd-937c-2a07c0e152cb, port_id None from router 43b25ad4-203a-4a56-80eb-247424799731
2025-11-05 08:20:34,696 - INFO - Deleting VM ctest-TestRoutersBasic-41075154-66533691
2025-11-05 08:20:34,759 - INFO - Deleting VM ctest-TestRoutersBasic-41075154-33828840
2025-11-05 08:20:34,834 - INFO - Deleting VN ctest-ext_vn-13169956
2025-11-05 08:20:34,899 - DEBUG - VN ca98051c-3f34-43b3-b5a5-dd6636c7edc8 still in use: Unable to complete operation on network ca98051c-3f34-43b3-b5a5-dd6636c7edc8. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-dce1bcab-5cde-402c-a58a-7f835d179c13']
2025-11-05 08:20:34,899 - WARNING - Deleting VN ctest-ext_vn-13169956 failed..Will retry
2025-11-05 08:20:36,990 - DEBUG - Response for deleting network ()
2025-11-05 08:20:36,990 - INFO - Deleting VN ctest-vn-37538324
2025-11-05 08:20:37,081 - DEBUG - Response for deleting network ()
2025-11-05 08:20:37,339 - DEBUG - No XMPP flaps were noticed during the test
2025-11-05 08:20:37,340 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-11-05 08:20:37,340 - INFO - --------------------------------------------------------------------------------
2025-11-05 08:20:37,978 - INFO - Deleted project: ctest-TestRoutersBasic-41075154, ID : e701e2e2-adfc-49a5-a1eb-cf6e20ad3ca4