2025-10-22 10:33:22,754 - INFO - Domain Default found not creating 2025-10-22 10:33:22,936 - INFO - Project ctest-TestRoutersBasic-78486236 not found, creating it 2025-10-22 10:33:23,414 - INFO - Created Project:ctest-TestRoutersBasic-78486236, ID : 1cd4ea99-a1d0-4e08-b095-6bf4a9e21e1c 2025-10-22 10:33:25,038 - INFO - ================================================================================ 2025-10-22 10:33:25,038 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-22 10:33:25,038 - 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-22 10:33:25,299 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2025-10-22 10:33:25,299 - INFO - Initial checks done. Running the testcase now 2025-10-22 10:33:25,299 - INFO - 2025-10-22 10:33:26,131 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-78486236 2025-10-22 10:33:26,229 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-78486236 2025-10-22 10:33:26,560 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-78486236', 'default']} 2025-10-22 10:33:26,865 - DEBUG - Response for create_network : {'network': {'id': '0cbae04b-7065-4055-a19a-c826cd841339', 'name': 'ctest-vn-55019356', 'tenant_id': '1cd4ea99a1d04e08b0956bf4a9e21e1c', 'project_id': '1cd4ea99a1d04e08b0956bf4a9e21e1c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-78486236', 'ctest-vn-55019356'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 10:33:27,096 - DEBUG - Response for create_subnet : {'subnet': {'id': '373c5948-5c55-43af-9bfe-546a1b59f858', 'name': '', 'tenant_id': '1cd4ea99a1d04e08b0956bf4a9e21e1c', 'network_id': '0cbae04b-7065-4055-a19a-c826cd841339', 'ip_version': 4, 'cidr': '97.229.2.128/26', 'allocation_pools': [{'start': '97.229.2.130', 'end': '97.229.2.190'}], 'gateway_ip': '97.229.2.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '97.229.2.130', 'tags': [], 'project_id': '1cd4ea99a1d04e08b0956bf4a9e21e1c'}} 2025-10-22 10:33:27,116 - INFO - Created VN ctest-vn-55019356 2025-10-22 10:33:27,169 - DEBUG - VN ctest-vn-55019356 UUID is 0cbae04b-7065-4055-a19a-c826cd841339 2025-10-22 10:33:27,481 - DEBUG - Response for create_network : {'network': {'id': 'd90d00d0-83e2-4be1-979a-4e172642495f', 'name': 'ctest-ext_vn-74335726', 'tenant_id': '1cd4ea99a1d04e08b0956bf4a9e21e1c', 'project_id': '1cd4ea99a1d04e08b0956bf4a9e21e1c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-78486236', 'ctest-ext_vn-74335726'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 10:33:27,688 - DEBUG - Response for create_subnet : {'subnet': {'id': '5c71bfbe-1852-4fe5-8174-706f58f23e04', 'name': '', 'tenant_id': '1cd4ea99a1d04e08b0956bf4a9e21e1c', 'network_id': 'd90d00d0-83e2-4be1-979a-4e172642495f', 'ip_version': 4, 'cidr': '172.38.108.128/26', 'allocation_pools': [{'start': '172.38.108.130', 'end': '172.38.108.190'}], 'gateway_ip': '172.38.108.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '172.38.108.130', 'tags': [], 'project_id': '1cd4ea99a1d04e08b0956bf4a9e21e1c'}} 2025-10-22 10:33:27,709 - INFO - Created VN ctest-ext_vn-74335726 2025-10-22 10:33:27,764 - DEBUG - VN ctest-ext_vn-74335726 UUID is d90d00d0-83e2-4be1-979a-4e172642495f 2025-10-22 10:33:27,948 - DEBUG - Services list from nova: [, , ] 2025-10-22 10:33:29,121 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4419-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4419-1) 2025-10-22 10:33:30,403 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4419-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4419-1) 2025-10-22 10:33:30,485 - INFO - Setting gateway for router d6bea9cf-8c0b-4174-a96d-b7d614a616c2 to network d90d00d0-83e2-4be1-979a-4e172642495f 2025-10-22 10:33:30,553 - INFO - Adding interface with subnet_id 373c5948-5c55-43af-9bfe-546a1b59f858, port_id None to router d6bea9cf-8c0b-4174-a96d-b7d614a616c2 2025-10-22 10:33:30,885 - INFO - Waiting for VM ctest-TestRoutersBasic-78486236-76773461 to be up.. 2025-10-22 10:33:31,026 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-22 10:33:36,110 - DEBUG - VM is in ACTIVE state now 2025-10-22 10:33:36,110 - INFO - VM name : ctest-TestRoutersBasic-78486236-76773461 2025-10-22 10:33:36,194 - DEBUG - VM ctest-TestRoutersBasic-78486236-76773461 ID is 1e766959-6ed4-4b89-af79-c220b08a1f3d 2025-10-22 10:33:36,215 - DEBUG - VM ctest-TestRoutersBasic-78486236-76773461 launched on Node cn-jenkins-deploy-platform-ansible-os-4419-1 2025-10-22 10:33:36,298 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/1e766959-6ed4-4b89-af79-c220b08a1f3d 2025-10-22 10:33:36,645 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/1e766959-6ed4-4b89-af79-c220b08a1f3d 2025-10-22 10:33:36,686 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/bcf92cd5-0020-430f-b6c5-0d22a4516c1d 2025-10-22 10:33:39,946 - 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 1026ms') 2025-10-22 10:33:39,946 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-78486236-76773461 failed! 2025-10-22 10:33:40,000 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-78486236:ctest-vn-55019356 is 97.229.2.129 and allocation pool is NOT set 2025-10-22 10:33:42,063 - 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=5.97 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.978 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.978/3.476/5.974/2.498 ms') 2025-10-22 10:33:42,063 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-78486236-76773461 passed 2025-10-22 10:33:42,217 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 10:33:42,217 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-78486236-76773461, IP 97.229.2.131, Port 22 2025-10-22 10:33:42,387 - DEBUG - VM ctest-TestRoutersBasic-78486236-76773461 is ready for SSH connections 2025-10-22 10:33:42,388 - INFO - Waiting for VM ctest-TestRoutersBasic-78486236-05472017 to be up.. 2025-10-22 10:33:42,481 - DEBUG - VM is in ACTIVE state now 2025-10-22 10:33:42,481 - INFO - VM name : ctest-TestRoutersBasic-78486236-05472017 2025-10-22 10:33:42,561 - DEBUG - VM ctest-TestRoutersBasic-78486236-05472017 ID is fbe4876d-dd07-4940-b2c9-0c153d08e5d6 2025-10-22 10:33:42,561 - DEBUG - VM ctest-TestRoutersBasic-78486236-05472017 launched on Node cn-jenkins-deploy-platform-ansible-os-4419-1 2025-10-22 10:33:42,646 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/fbe4876d-dd07-4940-b2c9-0c153d08e5d6 2025-10-22 10:33:42,658 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/de5cea21-f85b-49a3-bac5-967365ad29b8 2025-10-22 10:33:43,908 - 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.24 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.462 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.462/1.849/3.237/1.387 ms') 2025-10-22 10:33:43,908 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-78486236-05472017 passed 2025-10-22 10:33:44,064 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 10:33:44,065 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-78486236-05472017, IP 172.38.108.131, Port 22 2025-10-22 10:33:44,224 - DEBUG - VM ctest-TestRoutersBasic-78486236-05472017 is ready for SSH connections 2025-10-22 10:33:44,224 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 10:33:44,224 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 172.38.108.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-10-22 10:33:44,224 - DEBUG - ping -s 56 -c 3 -W 1 172.38.108.131 2025-10-22 10:33:47,967 - DEBUG - PING 172.38.108.131 (172.38.108.131): 56 data bytes 64 bytes from 172.38.108.131: seq=0 ttl=62 time=4.841 ms 64 bytes from 172.38.108.131: seq=1 ttl=62 time=0.935 ms 64 bytes from 172.38.108.131: seq=2 ttl=62 time=1.212 ms --- 172.38.108.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.935/2.329/4.841 ms 2025-10-22 10:33:47,968 - INFO - Ping to IP 172.38.108.131 from VM ctest-TestRoutersBasic-78486236-76773461 passed 2025-10-22 10:33:47,968 - INFO - Deleting interface with subnet_id 373c5948-5c55-43af-9bfe-546a1b59f858, port_id None from router d6bea9cf-8c0b-4174-a96d-b7d614a616c2 2025-10-22 10:33:48,225 - INFO - Deleting VM ctest-TestRoutersBasic-78486236-05472017 2025-10-22 10:33:48,305 - INFO - Deleting VM ctest-TestRoutersBasic-78486236-76773461 2025-10-22 10:33:48,416 - INFO - Deleting VN ctest-ext_vn-74335726 2025-10-22 10:33:48,497 - DEBUG - VN d90d00d0-83e2-4be1-979a-4e172642495f still in use: Unable to complete operation on network d90d00d0-83e2-4be1-979a-4e172642495f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-198551b3-a587-4e5f-a5fd-224d258ad3d0'] 2025-10-22 10:33:48,497 - WARNING - Deleting VN ctest-ext_vn-74335726 failed..Will retry 2025-10-22 10:33:50,612 - DEBUG - Response for deleting network () 2025-10-22 10:33:50,612 - INFO - Deleting VN ctest-vn-55019356 2025-10-22 10:33:50,727 - DEBUG - Response for deleting network () 2025-10-22 10:33:50,994 - DEBUG - No XMPP flaps were noticed during the test
2025-10-22 10:33:50,994 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-10-22 10:33:50,994 - INFO - -------------------------------------------------------------------------------- 2025-10-22 10:33:51,759 - INFO - Deleted project: ctest-TestRoutersBasic-78486236, ID : 1cd4ea99-a1d0-4e08-b095-6bf4a9e21e1c