2025-10-24 01:51:03,311 - INFO - Domain Default found not creating 2025-10-24 01:51:03,443 - INFO - Project ctest-TestRoutersBasic-17104745 not found, creating it 2025-10-24 01:51:03,880 - INFO - Created Project:ctest-TestRoutersBasic-17104745, ID : cbf51454-1dfb-4b8e-a479-1d0182c849f6 2025-10-24 01:51:05,249 - INFO - ================================================================================ 2025-10-24 01:51:05,249 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-24 01:51:05,249 - 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 01:51:05,504 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-24 01:51:05,504 - INFO - Initial checks done. Running the testcase now 2025-10-24 01:51:05,504 - INFO - 2025-10-24 01:51:06,166 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-17104745 2025-10-24 01:51:06,259 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-17104745 2025-10-24 01:51:06,575 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-17104745', 'default']} 2025-10-24 01:51:06,840 - DEBUG - Response for create_network : {'network': {'id': '722f405e-2f1f-4aaa-980b-fff36ca2a975', 'name': 'ctest-vn-54596002', 'tenant_id': 'cbf514541dfb4b8ea4791d0182c849f6', 'project_id': 'cbf514541dfb4b8ea4791d0182c849f6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-17104745', 'ctest-vn-54596002'], 'port_security_enabled': True, 'description': ''}} 2025-10-24 01:51:07,025 - DEBUG - Response for create_subnet : {'subnet': {'id': '42f23e29-bc09-4b13-bb53-09ad44468aff', 'name': '', 'tenant_id': 'cbf514541dfb4b8ea4791d0182c849f6', 'network_id': '722f405e-2f1f-4aaa-980b-fff36ca2a975', 'ip_version': 4, 'cidr': '220.55.133.0/26', 'allocation_pools': [{'start': '220.55.133.2', 'end': '220.55.133.62'}], 'gateway_ip': '220.55.133.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '220.55.133.2', 'tags': [], 'project_id': 'cbf514541dfb4b8ea4791d0182c849f6'}} 2025-10-24 01:51:07,039 - INFO - Created VN ctest-vn-54596002 2025-10-24 01:51:07,087 - DEBUG - VN ctest-vn-54596002 UUID is 722f405e-2f1f-4aaa-980b-fff36ca2a975 2025-10-24 01:51:07,390 - DEBUG - Response for create_network : {'network': {'id': '29ca59ad-4d62-4f6d-b7f3-219901d31464', 'name': 'ctest-ext_vn-53213242', 'tenant_id': 'cbf514541dfb4b8ea4791d0182c849f6', 'project_id': 'cbf514541dfb4b8ea4791d0182c849f6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-17104745', 'ctest-ext_vn-53213242'], 'port_security_enabled': True, 'description': ''}} 2025-10-24 01:51:07,529 - DEBUG - Response for create_subnet : {'subnet': {'id': '5c882700-ebd7-4cc9-9b47-dabd846ce159', 'name': '', 'tenant_id': 'cbf514541dfb4b8ea4791d0182c849f6', 'network_id': '29ca59ad-4d62-4f6d-b7f3-219901d31464', 'ip_version': 4, 'cidr': '59.73.246.128/26', 'allocation_pools': [{'start': '59.73.246.130', 'end': '59.73.246.190'}], 'gateway_ip': '59.73.246.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '59.73.246.130', 'tags': [], 'project_id': 'cbf514541dfb4b8ea4791d0182c849f6'}} 2025-10-24 01:51:07,542 - INFO - Created VN ctest-ext_vn-53213242 2025-10-24 01:51:07,591 - DEBUG - VN ctest-ext_vn-53213242 UUID is 29ca59ad-4d62-4f6d-b7f3-219901d31464 2025-10-24 01:51:07,765 - DEBUG - Services list from nova: [, , ] 2025-10-24 01:51:08,776 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4472-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4472-1) 2025-10-24 01:51:09,845 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4472-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4472-1) 2025-10-24 01:51:09,904 - INFO - Setting gateway for router 2d39b7c3-cb55-4543-a959-9013bac8afec to network 29ca59ad-4d62-4f6d-b7f3-219901d31464 2025-10-24 01:51:09,966 - INFO - Adding interface with subnet_id 42f23e29-bc09-4b13-bb53-09ad44468aff, port_id None to router 2d39b7c3-cb55-4543-a959-9013bac8afec 2025-10-24 01:51:10,199 - INFO - Waiting for VM ctest-TestRoutersBasic-17104745-10776710 to be up.. 2025-10-24 01:51:10,301 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-24 01:51:15,371 - DEBUG - VM is in ACTIVE state now 2025-10-24 01:51:15,371 - INFO - VM name : ctest-TestRoutersBasic-17104745-10776710 2025-10-24 01:51:15,435 - DEBUG - VM ctest-TestRoutersBasic-17104745-10776710 ID is d6dc3e22-79d0-45fd-adb8-f32bb2545368 2025-10-24 01:51:15,454 - DEBUG - VM ctest-TestRoutersBasic-17104745-10776710 launched on Node cn-jenkins-deploy-platform-ansible-os-4472-1 2025-10-24 01:51:15,521 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/d6dc3e22-79d0-45fd-adb8-f32bb2545368 2025-10-24 01:51:15,810 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/d6dc3e22-79d0-45fd-adb8-f32bb2545368 2025-10-24 01:51:16,110 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/ba851be0-a938-448e-b3f0-e9223f3c77ad 2025-10-24 01:51:19,358 - 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 01:51:19,358 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-17104745-10776710 failed! 2025-10-24 01:51:19,411 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-17104745:ctest-vn-54596002 is 220.55.133.1 and allocation pool is NOT set 2025-10-24 01:51:21,474 - 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.75 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.457 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.457/1.601/2.745/1.144 ms') 2025-10-24 01:51:21,474 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-17104745-10776710 passed 2025-10-24 01:51:21,623 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 01:51:21,623 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-17104745-10776710, IP 220.55.133.3, Port 22 2025-10-24 01:51:21,774 - DEBUG - VM ctest-TestRoutersBasic-17104745-10776710 is ready for SSH connections 2025-10-24 01:51:21,774 - INFO - Waiting for VM ctest-TestRoutersBasic-17104745-41660857 to be up.. 2025-10-24 01:51:21,835 - DEBUG - VM is in ACTIVE state now 2025-10-24 01:51:21,835 - INFO - VM name : ctest-TestRoutersBasic-17104745-41660857 2025-10-24 01:51:21,897 - DEBUG - VM ctest-TestRoutersBasic-17104745-41660857 ID is dc1d533d-b190-48d6-a6bb-9f59d44f6a26 2025-10-24 01:51:21,897 - DEBUG - VM ctest-TestRoutersBasic-17104745-41660857 launched on Node cn-jenkins-deploy-platform-ansible-os-4472-1 2025-10-24 01:51:22,003 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/dc1d533d-b190-48d6-a6bb-9f59d44f6a26 2025-10-24 01:51:22,010 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/51fff156-ae65-4ad7-939a-d0cbce7704a3 2025-10-24 01:51:23,245 - 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.32 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.333 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.333/1.827/3.322/1.494 ms') 2025-10-24 01:51:23,245 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-17104745-41660857 passed 2025-10-24 01:51:23,391 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 01:51:23,391 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-17104745-41660857, IP 59.73.246.131, Port 22 2025-10-24 01:51:23,546 - DEBUG - VM ctest-TestRoutersBasic-17104745-41660857 is ready for SSH connections 2025-10-24 01:51:23,546 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 01:51:23,546 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 59.73.246.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-24 01:51:23,546 - DEBUG - ping -s 56 -c 3 -W 1 59.73.246.131 2025-10-24 01:51:27,510 - DEBUG - PING 59.73.246.131 (59.73.246.131): 56 data bytes 64 bytes from 59.73.246.131: seq=0 ttl=62 time=7.403 ms 64 bytes from 59.73.246.131: seq=1 ttl=62 time=0.753 ms 64 bytes from 59.73.246.131: seq=2 ttl=62 time=0.893 ms --- 59.73.246.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.753/3.016/7.403 ms 2025-10-24 01:51:27,510 - INFO - Ping to IP 59.73.246.131 from VM ctest-TestRoutersBasic-17104745-10776710 passed 2025-10-24 01:51:27,510 - INFO - Deleting interface with subnet_id 42f23e29-bc09-4b13-bb53-09ad44468aff, port_id None from router 2d39b7c3-cb55-4543-a959-9013bac8afec 2025-10-24 01:51:27,658 - INFO - Deleting VM ctest-TestRoutersBasic-17104745-41660857 2025-10-24 01:51:27,718 - INFO - Deleting VM ctest-TestRoutersBasic-17104745-10776710 2025-10-24 01:51:27,785 - INFO - Deleting VN ctest-ext_vn-53213242 2025-10-24 01:51:27,840 - DEBUG - VN 29ca59ad-4d62-4f6d-b7f3-219901d31464 still in use: Unable to complete operation on network 29ca59ad-4d62-4f6d-b7f3-219901d31464. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-965e704c-25e9-44c3-abe1-f4de3640cd3a'] 2025-10-24 01:51:27,840 - WARNING - Deleting VN ctest-ext_vn-53213242 failed..Will retry 2025-10-24 01:51:29,930 - DEBUG - Response for deleting network () 2025-10-24 01:51:29,930 - INFO - Deleting VN ctest-vn-54596002 2025-10-24 01:51:30,012 - DEBUG - Response for deleting network () 2025-10-24 01:51:30,263 - DEBUG - No XMPP flaps were noticed during the test
2025-10-24 01:51:30,263 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-10-24 01:51:30,263 - INFO - -------------------------------------------------------------------------------- 2025-10-24 01:51:30,909 - INFO - Deleted project: ctest-TestRoutersBasic-17104745, ID : cbf51454-1dfb-4b8e-a479-1d0182c849f6