2025-07-03 02:16:43,287 - INFO - Domain Default found not creating 2025-07-03 02:16:43,456 - INFO - Project ctest-TestRoutersBasic-77774737 not found, creating it 2025-07-03 02:16:43,929 - INFO - Created Project:ctest-TestRoutersBasic-77774737, ID : efccfe1a-e7e6-4d0a-a196-1d589f9861a9 2025-07-03 02:16:46,196 - INFO - ================================================================================ 2025-07-03 02:16:46,196 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-07-03 02:16:46,196 - 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-07-03 02:16:46,453 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.25': '0'}} with 2025-07-03 02:16:46,454 - INFO - Initial checks done. Running the testcase now 2025-07-03 02:16:46,454 - INFO - 2025-07-03 02:16:47,248 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-77774737 2025-07-03 02:16:47,347 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-77774737 2025-07-03 02:16:47,679 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-77774737', 'default']} 2025-07-03 02:16:47,998 - DEBUG - Response for create_network : {'network': {'id': '70d8ca6a-84fd-4753-8ece-936dbed1f12d', 'name': 'ctest-vn-82373590', 'tenant_id': 'efccfe1ae7e64d0aa1961d589f9861a9', 'project_id': 'efccfe1ae7e64d0aa1961d589f9861a9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-77774737', 'ctest-vn-82373590'], 'port_security_enabled': True, 'description': ''}} 2025-07-03 02:16:48,324 - DEBUG - Response for create_subnet : {'subnet': {'id': '14f90332-0cb5-4b65-9ed4-33412586dd10', 'name': '', 'tenant_id': 'efccfe1ae7e64d0aa1961d589f9861a9', 'network_id': '70d8ca6a-84fd-4753-8ece-936dbed1f12d', 'ip_version': 4, 'cidr': '190.161.172.64/26', 'allocation_pools': [{'start': '190.161.172.66', 'end': '190.161.172.126'}], 'gateway_ip': '190.161.172.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '190.161.172.66', 'tags': [], 'project_id': 'efccfe1ae7e64d0aa1961d589f9861a9'}} 2025-07-03 02:16:48,347 - INFO - Created VN ctest-vn-82373590 2025-07-03 02:16:48,403 - DEBUG - VN ctest-vn-82373590 UUID is 70d8ca6a-84fd-4753-8ece-936dbed1f12d 2025-07-03 02:16:48,751 - DEBUG - Response for create_network : {'network': {'id': '0c69bd5b-db63-45e3-a7cc-ff734b56a63e', 'name': 'ctest-ext_vn-94298944', 'tenant_id': 'efccfe1ae7e64d0aa1961d589f9861a9', 'project_id': 'efccfe1ae7e64d0aa1961d589f9861a9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-77774737', 'ctest-ext_vn-94298944'], 'port_security_enabled': True, 'description': ''}} 2025-07-03 02:16:48,971 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b43ac2df-b73d-40ec-a4eb-37058d72700c', 'name': '', 'tenant_id': 'efccfe1ae7e64d0aa1961d589f9861a9', 'network_id': '0c69bd5b-db63-45e3-a7cc-ff734b56a63e', 'ip_version': 4, 'cidr': '121.136.165.0/26', 'allocation_pools': [{'start': '121.136.165.2', 'end': '121.136.165.62'}], 'gateway_ip': '121.136.165.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '121.136.165.2', 'tags': [], 'project_id': 'efccfe1ae7e64d0aa1961d589f9861a9'}} 2025-07-03 02:16:48,990 - INFO - Created VN ctest-ext_vn-94298944 2025-07-03 02:16:49,043 - DEBUG - VN ctest-ext_vn-94298944 UUID is 0c69bd5b-db63-45e3-a7cc-ff734b56a63e 2025-07-03 02:16:49,238 - DEBUG - Services list from nova: [, , ] 2025-07-03 02:16:50,358 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3592-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3592-1) 2025-07-03 02:16:51,623 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3592-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3592-1) 2025-07-03 02:16:51,697 - INFO - Setting gateway for router 9868bbc9-a224-4345-93da-1bf4c79de454 to network 0c69bd5b-db63-45e3-a7cc-ff734b56a63e 2025-07-03 02:16:51,758 - INFO - Adding interface with subnet_id 14f90332-0cb5-4b65-9ed4-33412586dd10, port_id None to router 9868bbc9-a224-4345-93da-1bf4c79de454 2025-07-03 02:16:52,219 - INFO - Waiting for VM ctest-TestRoutersBasic-77774737-74816981 to be up.. 2025-07-03 02:16:52,443 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-03 02:16:57,535 - DEBUG - VM is in ACTIVE state now 2025-07-03 02:16:57,535 - INFO - VM name : ctest-TestRoutersBasic-77774737-74816981 2025-07-03 02:16:57,626 - DEBUG - VM ctest-TestRoutersBasic-77774737-74816981 ID is a90c49ed-6a0d-4c81-9309-0045ee04d90a 2025-07-03 02:16:57,647 - DEBUG - VM ctest-TestRoutersBasic-77774737-74816981 launched on Node cn-jenkins-deploy-platform-ansible-os-3592-1 2025-07-03 02:16:57,727 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/a90c49ed-6a0d-4c81-9309-0045ee04d90a 2025-07-03 02:16:58,070 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/a90c49ed-6a0d-4c81-9309-0045ee04d90a 2025-07-03 02:16:58,107 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/4ece9d6f-2da3-40c3-9233-824f67172215 2025-07-03 02:17:01,365 - 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-07-03 02:17:01,366 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-77774737-74816981 failed! 2025-07-03 02:17:01,431 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-77774737:ctest-vn-82373590 is 190.161.172.65 and allocation pool is NOT set 2025-07-03 02:17:03,493 - 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.52 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.63 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 = 1.630/3.072/4.515/1.442 ms') 2025-07-03 02:17:03,494 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-77774737-74816981 passed 2025-07-03 02:17:03,655 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-03 02:17:03,655 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-77774737-74816981, IP 190.161.172.67, Port 22 2025-07-03 02:17:03,821 - DEBUG - VM ctest-TestRoutersBasic-77774737-74816981 is ready for SSH connections 2025-07-03 02:17:03,821 - INFO - Waiting for VM ctest-TestRoutersBasic-77774737-54544350 to be up.. 2025-07-03 02:17:03,926 - DEBUG - VM is in ACTIVE state now 2025-07-03 02:17:03,926 - INFO - VM name : ctest-TestRoutersBasic-77774737-54544350 2025-07-03 02:17:04,019 - DEBUG - VM ctest-TestRoutersBasic-77774737-54544350 ID is 0ad6ba5f-ba4c-42ea-ae47-b24226bc3557 2025-07-03 02:17:04,019 - DEBUG - VM ctest-TestRoutersBasic-77774737-54544350 launched on Node cn-jenkins-deploy-platform-ansible-os-3592-1 2025-07-03 02:17:04,110 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/0ad6ba5f-ba4c-42ea-ae47-b24226bc3557 2025-07-03 02:17:04,123 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/c534958a-3a12-4c8a-8ea8-ee9d5ea1e040 2025-07-03 02:17:05,386 - 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.52 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.42 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 = 3.424/3.971/4.519/0.547 ms') 2025-07-03 02:17:05,387 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-77774737-54544350 passed 2025-07-03 02:17:05,563 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-03 02:17:05,563 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-77774737-54544350, IP 121.136.165.3, Port 22 2025-07-03 02:17:05,723 - DEBUG - VM ctest-TestRoutersBasic-77774737-54544350 is ready for SSH connections 2025-07-03 02:17:05,723 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-03 02:17:05,723 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 121.136.165.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-07-03 02:17:05,723 - DEBUG - ping -s 56 -c 3 -W 1 121.136.165.3 2025-07-03 02:17:09,457 - DEBUG - PING 121.136.165.3 (121.136.165.3): 56 data bytes 64 bytes from 121.136.165.3: seq=0 ttl=62 time=7.038 ms 64 bytes from 121.136.165.3: seq=1 ttl=62 time=0.978 ms 64 bytes from 121.136.165.3: seq=2 ttl=62 time=0.924 ms --- 121.136.165.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.924/2.980/7.038 ms 2025-07-03 02:17:09,458 - INFO - Ping to IP 121.136.165.3 from VM ctest-TestRoutersBasic-77774737-74816981 passed 2025-07-03 02:17:09,458 - INFO - Deleting interface with subnet_id 14f90332-0cb5-4b65-9ed4-33412586dd10, port_id None from router 9868bbc9-a224-4345-93da-1bf4c79de454 2025-07-03 02:17:09,667 - INFO - Deleting VM ctest-TestRoutersBasic-77774737-54544350 2025-07-03 02:17:09,738 - INFO - Deleting VM ctest-TestRoutersBasic-77774737-74816981 2025-07-03 02:17:09,832 - INFO - Deleting VN ctest-ext_vn-94298944 2025-07-03 02:17:09,927 - DEBUG - VN 0c69bd5b-db63-45e3-a7cc-ff734b56a63e still in use: Unable to complete operation on network 0c69bd5b-db63-45e3-a7cc-ff734b56a63e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9eb0aa8a-12cb-4a0e-b4d2-58d8132153d4'] 2025-07-03 02:17:09,927 - WARNING - Deleting VN ctest-ext_vn-94298944 failed..Will retry 2025-07-03 02:17:12,041 - DEBUG - Response for deleting network () 2025-07-03 02:17:12,041 - INFO - Deleting VN ctest-vn-82373590 2025-07-03 02:17:12,148 - DEBUG - Response for deleting network () 2025-07-03 02:17:12,405 - DEBUG - No XMPP flaps were noticed during the test
2025-07-03 02:17:12,405 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-07-03 02:17:12,405 - INFO - -------------------------------------------------------------------------------- 2025-07-03 02:17:13,138 - INFO - Deleted project: ctest-TestRoutersBasic-77774737, ID : efccfe1a-e7e6-4d0a-a196-1d589f9861a9