2025-08-22 22:23:45,626 - INFO - Domain Default found not creating
2025-08-22 22:23:45,789 - INFO - Project ctest-TestRoutersBasic-76222856 not found, creating it
2025-08-22 22:23:46,285 - INFO - Created Project:ctest-TestRoutersBasic-76222856, ID : e4672640-5d6b-4358-bf21-0d3524e8565c
2025-08-22 22:23:48,407 - INFO - ================================================================================
2025-08-22 22:23:48,408 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-08-22 22:23:48,408 - 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-08-22 22:23:48,735 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-08-22 22:23:48,736 - INFO - Initial checks done. Running the testcase now
2025-08-22 22:23:48,736 - INFO -
2025-08-22 22:23:49,737 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-76222856
2025-08-22 22:23:49,845 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-76222856
2025-08-22 22:23:50,288 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-76222856', 'default']}
2025-08-22 22:23:50,770 - DEBUG - Response for create_network : {'network': {'id': '853a28e7-d1ff-499e-a1d3-cce5bc7c3eb6', 'name': 'ctest-vn-28033705', 'tenant_id': 'e46726405d6b4358bf210d3524e8565c', 'project_id': 'e46726405d6b4358bf210d3524e8565c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-76222856', 'ctest-vn-28033705'], 'port_security_enabled': True, 'description': ''}}
2025-08-22 22:23:51,000 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c10b7355-4942-4f29-a1c3-12c4cf73a984', 'name': '', 'tenant_id': 'e46726405d6b4358bf210d3524e8565c', 'network_id': '853a28e7-d1ff-499e-a1d3-cce5bc7c3eb6', 'ip_version': 4, 'cidr': '223.120.243.192/26', 'allocation_pools': [{'start': '223.120.243.194', 'end': '223.120.243.254'}], 'gateway_ip': '223.120.243.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '223.120.243.194', 'tags': [], 'project_id': 'e46726405d6b4358bf210d3524e8565c'}}
2025-08-22 22:23:51,019 - INFO - Created VN ctest-vn-28033705
2025-08-22 22:23:51,080 - DEBUG - VN ctest-vn-28033705 UUID is 853a28e7-d1ff-499e-a1d3-cce5bc7c3eb6
2025-08-22 22:23:51,626 - DEBUG - Response for create_network : {'network': {'id': '4b976f8b-100d-47eb-99e6-e53ff8d1f8ef', 'name': 'ctest-ext_vn-79310569', 'tenant_id': 'e46726405d6b4358bf210d3524e8565c', 'project_id': 'e46726405d6b4358bf210d3524e8565c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-76222856', 'ctest-ext_vn-79310569'], 'port_security_enabled': True, 'description': ''}}
2025-08-22 22:23:51,896 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bfae1c65-35e0-4ade-ab18-6e860ce56c8a', 'name': '', 'tenant_id': 'e46726405d6b4358bf210d3524e8565c', 'network_id': '4b976f8b-100d-47eb-99e6-e53ff8d1f8ef', 'ip_version': 4, 'cidr': '36.204.56.0/26', 'allocation_pools': [{'start': '36.204.56.2', 'end': '36.204.56.62'}], 'gateway_ip': '36.204.56.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '36.204.56.2', 'tags': [], 'project_id': 'e46726405d6b4358bf210d3524e8565c'}}
2025-08-22 22:23:51,925 - INFO - Created VN ctest-ext_vn-79310569
2025-08-22 22:23:51,980 - DEBUG - VN ctest-ext_vn-79310569 UUID is 4b976f8b-100d-47eb-99e6-e53ff8d1f8ef
2025-08-22 22:23:52,165 - DEBUG - Services list from nova: [, , ]
2025-08-22 22:23:53,451 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3913-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3913-1)
2025-08-22 22:23:54,991 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3913-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3913-1)
2025-08-22 22:23:55,061 - INFO - Setting gateway for router 8f1fff69-cca7-4875-b9a7-4e66e9baec4f to network 4b976f8b-100d-47eb-99e6-e53ff8d1f8ef
2025-08-22 22:23:55,136 - INFO - Adding interface with subnet_id c10b7355-4942-4f29-a1c3-12c4cf73a984, port_id None to router 8f1fff69-cca7-4875-b9a7-4e66e9baec4f
2025-08-22 22:23:55,556 - INFO - Waiting for VM ctest-TestRoutersBasic-76222856-18841628 to be up..
2025-08-22 22:23:55,718 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-22 22:24:00,854 - DEBUG - VM is in ACTIVE state now
2025-08-22 22:24:00,854 - INFO - VM name : ctest-TestRoutersBasic-76222856-18841628
2025-08-22 22:24:01,023 - DEBUG - VM ctest-TestRoutersBasic-76222856-18841628 ID is f91e3b7a-59f3-414b-be28-0c0fdc4a7053
2025-08-22 22:24:01,048 - DEBUG - VM ctest-TestRoutersBasic-76222856-18841628 launched on Node cn-jenkins-deploy-platform-ansible-os-3913-1
2025-08-22 22:24:01,139 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/f91e3b7a-59f3-414b-be28-0c0fdc4a7053
2025-08-22 22:24:01,453 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/f91e3b7a-59f3-414b-be28-0c0fdc4a7053
2025-08-22 22:24:01,482 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/5ca24dec-2f8e-4334-9cbb-7b1e5a961800
2025-08-22 22:24:04,770 - 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 1018ms')
2025-08-22 22:24:04,770 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-76222856-18841628 failed!
2025-08-22 22:24:04,832 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-76222856:ctest-vn-28033705 is 223.120.243.193 and allocation pool is NOT set
2025-08-22 22:24:06,896 - 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=6.33 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.572 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.572/3.452/6.332/2.880 ms')
2025-08-22 22:24:06,896 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-76222856-18841628 passed
2025-08-22 22:24:07,076 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-22 22:24:07,076 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-76222856-18841628, IP 223.120.243.195, Port 22
2025-08-22 22:24:07,231 - DEBUG - VM ctest-TestRoutersBasic-76222856-18841628 is ready for SSH connections
2025-08-22 22:24:07,231 - INFO - Waiting for VM ctest-TestRoutersBasic-76222856-99657143 to be up..
2025-08-22 22:24:07,316 - DEBUG - VM is in ACTIVE state now
2025-08-22 22:24:07,316 - INFO - VM name : ctest-TestRoutersBasic-76222856-99657143
2025-08-22 22:24:07,385 - DEBUG - VM ctest-TestRoutersBasic-76222856-99657143 ID is 328b9e70-263d-4cd3-a2d0-5b08b20b3b1c
2025-08-22 22:24:07,385 - DEBUG - VM ctest-TestRoutersBasic-76222856-99657143 launched on Node cn-jenkins-deploy-platform-ansible-os-3913-1
2025-08-22 22:24:07,457 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/328b9e70-263d-4cd3-a2d0-5b08b20b3b1c
2025-08-22 22:24:07,466 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/051573ee-7f75-4f2b-8045-4cda8b87d60f
2025-08-22 22:24:08,716 - 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=4.95 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.515 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.515/2.732/4.950/2.217 ms')
2025-08-22 22:24:08,716 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-76222856-99657143 passed
2025-08-22 22:24:08,892 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-22 22:24:08,892 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-76222856-99657143, IP 36.204.56.3, Port 22
2025-08-22 22:24:09,062 - DEBUG - VM ctest-TestRoutersBasic-76222856-99657143 is ready for SSH connections
2025-08-22 22:24:09,062 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-22 22:24:09,062 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 36.204.56.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-08-22 22:24:09,062 - DEBUG - ping -s 56 -c 3 -W 1 36.204.56.3
2025-08-22 22:24:13,192 - DEBUG - PING 36.204.56.3 (36.204.56.3): 56 data bytes
64 bytes from 36.204.56.3: seq=0 ttl=62 time=7.814 ms
64 bytes from 36.204.56.3: seq=1 ttl=62 time=7.082 ms
64 bytes from 36.204.56.3: seq=2 ttl=62 time=1.014 ms
--- 36.204.56.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.014/5.303/7.814 ms
2025-08-22 22:24:13,193 - INFO - Ping to IP 36.204.56.3 from VM ctest-TestRoutersBasic-76222856-18841628 passed
2025-08-22 22:24:13,193 - INFO - Deleting interface with subnet_id c10b7355-4942-4f29-a1c3-12c4cf73a984, port_id None from router 8f1fff69-cca7-4875-b9a7-4e66e9baec4f
2025-08-22 22:24:13,516 - INFO - Deleting VM ctest-TestRoutersBasic-76222856-99657143
2025-08-22 22:24:13,576 - INFO - Deleting VM ctest-TestRoutersBasic-76222856-18841628
2025-08-22 22:24:13,664 - INFO - Deleting VN ctest-ext_vn-79310569
2025-08-22 22:24:13,757 - DEBUG - VN 4b976f8b-100d-47eb-99e6-e53ff8d1f8ef still in use: Unable to complete operation on network 4b976f8b-100d-47eb-99e6-e53ff8d1f8ef. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-9b5bafab-34f4-4d1d-a76a-bae9016d1315']
2025-08-22 22:24:13,757 - WARNING - Deleting VN ctest-ext_vn-79310569 failed..Will retry
2025-08-22 22:24:15,939 - DEBUG - Response for deleting network ()
2025-08-22 22:24:15,939 - INFO - Deleting VN ctest-vn-28033705
2025-08-22 22:24:16,084 - DEBUG - Response for deleting network ()
2025-08-22 22:24:16,397 - DEBUG - No XMPP flaps were noticed during the test
2025-08-22 22:24:16,397 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:28]
2025-08-22 22:24:16,397 - INFO - --------------------------------------------------------------------------------
2025-08-22 22:24:17,207 - INFO - Deleted project: ctest-TestRoutersBasic-76222856, ID : e4672640-5d6b-4358-bf21-0d3524e8565c