2025-06-24 12:31:23,249 - INFO - Domain Default found not creating 2025-06-24 12:31:23,418 - INFO - Project ctest-TestRoutersBasic-10920692 not found, creating it 2025-06-24 12:31:23,921 - INFO - Created Project:ctest-TestRoutersBasic-10920692, ID : 9b86a631-0b22-4188-8910-892b288d1b3c 2025-06-24 12:31:25,417 - INFO - ================================================================================ 2025-06-24 12:31:25,417 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-06-24 12:31:25,417 - 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-06-24 12:31:25,679 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.254': '0'}} with 2025-06-24 12:31:25,679 - INFO - Initial checks done. Running the testcase now 2025-06-24 12:31:25,679 - INFO - 2025-06-24 12:31:26,416 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-10920692 2025-06-24 12:31:26,516 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-10920692 2025-06-24 12:31:26,840 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-10920692', 'default']} 2025-06-24 12:31:27,152 - DEBUG - Response for create_network : {'network': {'id': '4f9baf34-fabe-4de5-a2bf-7eccdf595066', 'name': 'ctest-vn-73280991', 'tenant_id': '9b86a6310b2241888910892b288d1b3c', 'project_id': '9b86a6310b2241888910892b288d1b3c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-10920692', 'ctest-vn-73280991'], 'port_security_enabled': True, 'description': ''}} 2025-06-24 12:31:27,308 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd4bf05be-454e-48f5-ad11-b425a66db7b2', 'name': '', 'tenant_id': '9b86a6310b2241888910892b288d1b3c', 'network_id': '4f9baf34-fabe-4de5-a2bf-7eccdf595066', 'ip_version': 4, 'cidr': '108.194.33.0/26', 'allocation_pools': [{'start': '108.194.33.2', 'end': '108.194.33.62'}], 'gateway_ip': '108.194.33.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '108.194.33.2', 'tags': [], 'project_id': '9b86a6310b2241888910892b288d1b3c'}} 2025-06-24 12:31:27,330 - INFO - Created VN ctest-vn-73280991 2025-06-24 12:31:27,388 - DEBUG - VN ctest-vn-73280991 UUID is 4f9baf34-fabe-4de5-a2bf-7eccdf595066 2025-06-24 12:31:27,725 - DEBUG - Response for create_network : {'network': {'id': 'f7c46bb1-4a1b-4816-bb89-382a742f00f0', 'name': 'ctest-ext_vn-24639056', 'tenant_id': '9b86a6310b2241888910892b288d1b3c', 'project_id': '9b86a6310b2241888910892b288d1b3c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-10920692', 'ctest-ext_vn-24639056'], 'port_security_enabled': True, 'description': ''}} 2025-06-24 12:31:27,907 - DEBUG - Response for create_subnet : {'subnet': {'id': '5a2e6043-c6a3-4bf2-b041-88d1328c9f46', 'name': '', 'tenant_id': '9b86a6310b2241888910892b288d1b3c', 'network_id': 'f7c46bb1-4a1b-4816-bb89-382a742f00f0', 'ip_version': 4, 'cidr': '183.169.58.128/26', 'allocation_pools': [{'start': '183.169.58.130', 'end': '183.169.58.190'}], 'gateway_ip': '183.169.58.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '183.169.58.130', 'tags': [], 'project_id': '9b86a6310b2241888910892b288d1b3c'}} 2025-06-24 12:31:27,933 - INFO - Created VN ctest-ext_vn-24639056 2025-06-24 12:31:27,988 - DEBUG - VN ctest-ext_vn-24639056 UUID is f7c46bb1-4a1b-4816-bb89-382a742f00f0 2025-06-24 12:31:28,163 - DEBUG - Services list from nova: [, , ] 2025-06-24 12:31:29,229 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3531-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3531-1) 2025-06-24 12:31:30,649 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3531-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3531-1) 2025-06-24 12:31:30,788 - INFO - Setting gateway for router 93b05cd7-c261-4c04-83bc-a11a0671a9be to network f7c46bb1-4a1b-4816-bb89-382a742f00f0 2025-06-24 12:31:30,868 - INFO - Adding interface with subnet_id d4bf05be-454e-48f5-ad11-b425a66db7b2, port_id None to router 93b05cd7-c261-4c04-83bc-a11a0671a9be 2025-06-24 12:31:31,461 - INFO - Waiting for VM ctest-TestRoutersBasic-10920692-62028003 to be up.. 2025-06-24 12:31:31,652 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-24 12:31:36,739 - DEBUG - VM is in ACTIVE state now 2025-06-24 12:31:36,739 - INFO - VM name : ctest-TestRoutersBasic-10920692-62028003 2025-06-24 12:31:36,816 - DEBUG - VM ctest-TestRoutersBasic-10920692-62028003 ID is ad385868-53fe-4a2d-8c6f-c536468362fc 2025-06-24 12:31:36,837 - DEBUG - VM ctest-TestRoutersBasic-10920692-62028003 launched on Node cn-jenkins-deploy-platform-ansible-os-3531-1 2025-06-24 12:31:36,917 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/ad385868-53fe-4a2d-8c6f-c536468362fc 2025-06-24 12:31:37,211 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/ad385868-53fe-4a2d-8c6f-c536468362fc 2025-06-24 12:31:37,242 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/f7026f55-ec17-4daa-ba78-681f73d8ecb9 2025-06-24 12:31:40,506 - 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 1023ms') 2025-06-24 12:31:40,506 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-10920692-62028003 failed! 2025-06-24 12:31:40,568 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-10920692:ctest-vn-73280991 is 108.194.33.1 and allocation pool is NOT set 2025-06-24 12:31:42,631 - 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.63 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.458 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.458/3.045/5.633/2.587 ms') 2025-06-24 12:31:42,631 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-10920692-62028003 passed 2025-06-24 12:31:42,780 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-24 12:31:42,780 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-10920692-62028003, IP 108.194.33.3, Port 22 2025-06-24 12:31:42,955 - DEBUG - VM ctest-TestRoutersBasic-10920692-62028003 is ready for SSH connections 2025-06-24 12:31:42,955 - INFO - Waiting for VM ctest-TestRoutersBasic-10920692-34690934 to be up.. 2025-06-24 12:31:43,056 - DEBUG - VM is in ACTIVE state now 2025-06-24 12:31:43,057 - INFO - VM name : ctest-TestRoutersBasic-10920692-34690934 2025-06-24 12:31:43,160 - DEBUG - VM ctest-TestRoutersBasic-10920692-34690934 ID is cbe1b04f-6276-4d0d-90aa-1e906b4ba503 2025-06-24 12:31:43,160 - DEBUG - VM ctest-TestRoutersBasic-10920692-34690934 launched on Node cn-jenkins-deploy-platform-ansible-os-3531-1 2025-06-24 12:31:43,249 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/cbe1b04f-6276-4d0d-90aa-1e906b4ba503 2025-06-24 12:31:43,262 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/101b5785-4e19-49bb-b5fd-b7e444caf6ab 2025-06-24 12:31:44,525 - 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.31 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.906 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.906/2.606/4.307/1.700 ms') 2025-06-24 12:31:44,525 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-10920692-34690934 passed 2025-06-24 12:31:44,680 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-24 12:31:44,680 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-10920692-34690934, IP 183.169.58.131, Port 22 2025-06-24 12:31:44,835 - DEBUG - VM ctest-TestRoutersBasic-10920692-34690934 is ready for SSH connections 2025-06-24 12:31:44,835 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-24 12:31:44,836 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 183.169.58.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-06-24 12:31:44,836 - DEBUG - ping -s 56 -c 3 -W 1 183.169.58.131 2025-06-24 12:31:48,903 - DEBUG - PING 183.169.58.131 (183.169.58.131): 56 data bytes 64 bytes from 183.169.58.131: seq=0 ttl=62 time=7.480 ms 64 bytes from 183.169.58.131: seq=1 ttl=62 time=1.055 ms 64 bytes from 183.169.58.131: seq=2 ttl=62 time=0.983 ms --- 183.169.58.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.983/3.172/7.480 ms 2025-06-24 12:31:48,903 - INFO - Ping to IP 183.169.58.131 from VM ctest-TestRoutersBasic-10920692-62028003 passed 2025-06-24 12:31:48,903 - INFO - Deleting interface with subnet_id d4bf05be-454e-48f5-ad11-b425a66db7b2, port_id None from router 93b05cd7-c261-4c04-83bc-a11a0671a9be 2025-06-24 12:31:49,181 - INFO - Deleting VM ctest-TestRoutersBasic-10920692-34690934 2025-06-24 12:31:49,255 - INFO - Deleting VM ctest-TestRoutersBasic-10920692-62028003 2025-06-24 12:31:49,333 - INFO - Deleting VN ctest-ext_vn-24639056 2025-06-24 12:31:49,401 - DEBUG - VN f7c46bb1-4a1b-4816-bb89-382a742f00f0 still in use: Unable to complete operation on network f7c46bb1-4a1b-4816-bb89-382a742f00f0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-76e3e4ad-77d9-40c2-b424-4c9c881bdb22'] 2025-06-24 12:31:49,401 - WARNING - Deleting VN ctest-ext_vn-24639056 failed..Will retry 2025-06-24 12:31:51,511 - DEBUG - Response for deleting network () 2025-06-24 12:31:51,512 - INFO - Deleting VN ctest-vn-73280991 2025-06-24 12:31:51,632 - DEBUG - Response for deleting network () 2025-06-24 12:31:51,887 - DEBUG - No XMPP flaps were noticed during the test
2025-06-24 12:31:51,887 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-06-24 12:31:51,887 - INFO - -------------------------------------------------------------------------------- 2025-06-24 12:31:52,600 - INFO - Deleted project: ctest-TestRoutersBasic-10920692, ID : 9b86a631-0b22-4188-8910-892b288d1b3c