2025-10-09 17:54:15,676 - INFO - Domain Default found not creating 2025-10-09 17:54:15,822 - INFO - Project ctest-TestRoutersBasic-61412089 not found, creating it 2025-10-09 17:54:16,278 - INFO - Created Project:ctest-TestRoutersBasic-61412089, ID : 21823c83-afe2-4c68-ad68-6f2b77371e96 2025-10-09 17:54:17,781 - INFO - ================================================================================ 2025-10-09 17:54:17,781 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-09 17:54:17,781 - 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-09 17:54:18,038 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.17': '0'}} with 2025-10-09 17:54:18,038 - INFO - Initial checks done. Running the testcase now 2025-10-09 17:54:18,038 - INFO - 2025-10-09 17:54:18,723 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-61412089 2025-10-09 17:54:18,820 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-61412089 2025-10-09 17:54:19,140 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-61412089', 'default']} 2025-10-09 17:54:19,420 - DEBUG - Response for create_network : {'network': {'id': 'd1b763b2-b93d-4d81-b94b-aeb8959ca3df', 'name': 'ctest-vn-33737682', 'tenant_id': '21823c83afe24c68ad686f2b77371e96', 'project_id': '21823c83afe24c68ad686f2b77371e96', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-61412089', 'ctest-vn-33737682'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 17:54:19,627 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dea84d12-9e2b-4965-beff-400409c8feb3', 'name': '', 'tenant_id': '21823c83afe24c68ad686f2b77371e96', 'network_id': 'd1b763b2-b93d-4d81-b94b-aeb8959ca3df', 'ip_version': 4, 'cidr': '94.171.174.64/26', 'allocation_pools': [{'start': '94.171.174.66', 'end': '94.171.174.126'}], 'gateway_ip': '94.171.174.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '94.171.174.66', 'tags': [], 'project_id': '21823c83afe24c68ad686f2b77371e96'}} 2025-10-09 17:54:19,644 - INFO - Created VN ctest-vn-33737682 2025-10-09 17:54:19,700 - DEBUG - VN ctest-vn-33737682 UUID is d1b763b2-b93d-4d81-b94b-aeb8959ca3df 2025-10-09 17:54:20,060 - DEBUG - Response for create_network : {'network': {'id': '8041cfae-c272-464c-bc96-8a75e2d32e83', 'name': 'ctest-ext_vn-63113910', 'tenant_id': '21823c83afe24c68ad686f2b77371e96', 'project_id': '21823c83afe24c68ad686f2b77371e96', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-61412089', 'ctest-ext_vn-63113910'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 17:54:20,208 - DEBUG - Response for create_subnet : {'subnet': {'id': '6834cf1d-4d2c-4fa4-9806-a8ce0667c929', 'name': '', 'tenant_id': '21823c83afe24c68ad686f2b77371e96', 'network_id': '8041cfae-c272-464c-bc96-8a75e2d32e83', 'ip_version': 4, 'cidr': '205.146.110.64/26', 'allocation_pools': [{'start': '205.146.110.66', 'end': '205.146.110.126'}], 'gateway_ip': '205.146.110.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '205.146.110.66', 'tags': [], 'project_id': '21823c83afe24c68ad686f2b77371e96'}} 2025-10-09 17:54:20,226 - INFO - Created VN ctest-ext_vn-63113910 2025-10-09 17:54:20,280 - DEBUG - VN ctest-ext_vn-63113910 UUID is 8041cfae-c272-464c-bc96-8a75e2d32e83 2025-10-09 17:54:20,473 - DEBUG - Services list from nova: [, , ] 2025-10-09 17:54:21,455 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4271-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4271-1) 2025-10-09 17:54:22,527 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4271-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4271-1) 2025-10-09 17:54:22,606 - INFO - Setting gateway for router c00e6de3-9044-453f-81a1-4b6b937d970d to network 8041cfae-c272-464c-bc96-8a75e2d32e83 2025-10-09 17:54:22,667 - INFO - Adding interface with subnet_id dea84d12-9e2b-4965-beff-400409c8feb3, port_id None to router c00e6de3-9044-453f-81a1-4b6b937d970d 2025-10-09 17:54:22,961 - INFO - Waiting for VM ctest-TestRoutersBasic-61412089-75578494 to be up.. 2025-10-09 17:54:23,097 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-09 17:54:28,170 - DEBUG - VM is in ACTIVE state now 2025-10-09 17:54:28,170 - INFO - VM name : ctest-TestRoutersBasic-61412089-75578494 2025-10-09 17:54:28,238 - DEBUG - VM ctest-TestRoutersBasic-61412089-75578494 ID is 4150e4e2-cb78-4a67-b99c-d6a562cb7366 2025-10-09 17:54:28,256 - DEBUG - VM ctest-TestRoutersBasic-61412089-75578494 launched on Node cn-jenkins-deploy-platform-ansible-os-4271-1 2025-10-09 17:54:28,326 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/4150e4e2-cb78-4a67-b99c-d6a562cb7366 2025-10-09 17:54:28,645 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/4150e4e2-cb78-4a67-b99c-d6a562cb7366 2025-10-09 17:54:28,686 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/a880754f-5409-4568-8352-92a79db76766 2025-10-09 17:54:31,925 - 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 1002ms') 2025-10-09 17:54:31,925 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-61412089-75578494 failed! 2025-10-09 17:54:31,980 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-61412089:ctest-vn-33737682 is 94.171.174.65 and allocation pool is NOT set 2025-10-09 17:54:34,046 - 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.576 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.576/1.663/2.750/1.087 ms') 2025-10-09 17:54:34,046 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-61412089-75578494 passed 2025-10-09 17:54:34,200 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 17:54:34,200 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-61412089-75578494, IP 94.171.174.67, Port 22 2025-10-09 17:54:34,356 - DEBUG - VM ctest-TestRoutersBasic-61412089-75578494 is ready for SSH connections 2025-10-09 17:54:34,356 - INFO - Waiting for VM ctest-TestRoutersBasic-61412089-49284409 to be up.. 2025-10-09 17:54:34,428 - DEBUG - VM is in ACTIVE state now 2025-10-09 17:54:34,428 - INFO - VM name : ctest-TestRoutersBasic-61412089-49284409 2025-10-09 17:54:34,496 - DEBUG - VM ctest-TestRoutersBasic-61412089-49284409 ID is 13b3bdcb-b37f-4967-8524-5053b7737342 2025-10-09 17:54:34,496 - DEBUG - VM ctest-TestRoutersBasic-61412089-49284409 launched on Node cn-jenkins-deploy-platform-ansible-os-4271-1 2025-10-09 17:54:34,572 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/13b3bdcb-b37f-4967-8524-5053b7737342 2025-10-09 17:54:34,580 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/ae4e8641-e25a-4c42-8153-20ed468e8b91 2025-10-09 17:54:35,818 - 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=2.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.397 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.397/1.547/2.698/1.150 ms') 2025-10-09 17:54:35,819 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-61412089-49284409 passed 2025-10-09 17:54:35,968 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 17:54:35,968 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-61412089-49284409, IP 205.146.110.67, Port 22 2025-10-09 17:54:36,143 - DEBUG - VM ctest-TestRoutersBasic-61412089-49284409 is ready for SSH connections 2025-10-09 17:54:36,143 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 17:54:36,143 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 205.146.110.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-10-09 17:54:36,143 - DEBUG - ping -s 56 -c 3 -W 1 205.146.110.67 2025-10-09 17:54:39,827 - DEBUG - PING 205.146.110.67 (205.146.110.67): 56 data bytes 64 bytes from 205.146.110.67: seq=0 ttl=62 time=5.692 ms 64 bytes from 205.146.110.67: seq=1 ttl=62 time=0.845 ms 64 bytes from 205.146.110.67: seq=2 ttl=62 time=1.001 ms --- 205.146.110.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.845/2.512/5.692 ms 2025-10-09 17:54:39,827 - INFO - Ping to IP 205.146.110.67 from VM ctest-TestRoutersBasic-61412089-75578494 passed 2025-10-09 17:54:39,827 - INFO - Deleting interface with subnet_id dea84d12-9e2b-4965-beff-400409c8feb3, port_id None from router c00e6de3-9044-453f-81a1-4b6b937d970d 2025-10-09 17:54:40,021 - INFO - Deleting VM ctest-TestRoutersBasic-61412089-49284409 2025-10-09 17:54:40,091 - INFO - Deleting VM ctest-TestRoutersBasic-61412089-75578494 2025-10-09 17:54:40,181 - INFO - Deleting VN ctest-ext_vn-63113910 2025-10-09 17:54:40,238 - DEBUG - VN 8041cfae-c272-464c-bc96-8a75e2d32e83 still in use: Unable to complete operation on network 8041cfae-c272-464c-bc96-8a75e2d32e83. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b1fc0a8d-8e15-45f2-8658-e63172f1a2bf'] 2025-10-09 17:54:40,238 - WARNING - Deleting VN ctest-ext_vn-63113910 failed..Will retry 2025-10-09 17:54:42,339 - DEBUG - Response for deleting network () 2025-10-09 17:54:42,340 - INFO - Deleting VN ctest-vn-33737682 2025-10-09 17:54:42,443 - DEBUG - Response for deleting network () 2025-10-09 17:54:42,697 - DEBUG - No XMPP flaps were noticed during the test
2025-10-09 17:54:42,697 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-10-09 17:54:42,697 - INFO - -------------------------------------------------------------------------------- 2025-10-09 17:54:43,346 - INFO - Deleted project: ctest-TestRoutersBasic-61412089, ID : 21823c83-afe2-4c68-ad68-6f2b77371e96