2026-08-20 13:41:58,522 - INFO - Domain Default found not creating 2026-08-20 13:41:58,687 - INFO - Project ctest-TestBasicPolicy-85954972 not found, creating it 2026-08-20 13:41:59,177 - INFO - Created Project:ctest-TestBasicPolicy-85954972, ID : 798af40d-017a-41ec-bee5-b5775217f23b 2026-08-20 13:42:00,924 - INFO - ================================================================================ 2026-08-20 13:42:00,924 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-08-20 13:42:00,924 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2026-08-20 13:42:01,184 - DEBUG - Nothing to compare xmpp stats {'10.0.0.162': {'10.20.0.25': '0'}} with 2026-08-20 13:42:01,184 - INFO - Initial checks done. Running the testcase now 2026-08-20 13:42:01,184 - INFO - 2026-08-20 13:42:01,833 - DEBUG - Response for create_network : {'network': {'id': 'ae676315-02b9-41fb-9856-096da218ed5a', 'name': 'ctest-vn-04573188', 'tenant_id': '798af40d017a41ecbee5b5775217f23b', 'project_id': '798af40d017a41ecbee5b5775217f23b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-85954972', 'ctest-vn-04573188'], 'port_security_enabled': True, 'description': ''}} 2026-08-20 13:42:02,055 - DEBUG - Response for create_subnet : {'subnet': {'id': '1346974b-e177-41c1-aaff-fbc9f80ae0f0', 'name': '', 'tenant_id': '798af40d017a41ecbee5b5775217f23b', 'network_id': 'ae676315-02b9-41fb-9856-096da218ed5a', 'ip_version': 4, 'cidr': '115.187.139.0/26', 'allocation_pools': [{'start': '115.187.139.2', 'end': '115.187.139.62'}], 'gateway_ip': '115.187.139.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '115.187.139.2', 'tags': [], 'project_id': '798af40d017a41ecbee5b5775217f23b'}} 2026-08-20 13:42:02,072 - INFO - Created VN ctest-vn-04573188 2026-08-20 13:42:02,129 - DEBUG - VN ctest-vn-04573188 UUID is ae676315-02b9-41fb-9856-096da218ed5a 2026-08-20 13:42:02,443 - DEBUG - Response for create_network : {'network': {'id': '5ad88d37-c9ca-4d8c-9eb2-c67e3e03d0fb', 'name': 'ctest-vn-69265687', 'tenant_id': '798af40d017a41ecbee5b5775217f23b', 'project_id': '798af40d017a41ecbee5b5775217f23b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-85954972', 'ctest-vn-69265687'], 'port_security_enabled': True, 'description': ''}} 2026-08-20 13:42:02,690 - DEBUG - Response for create_subnet : {'subnet': {'id': '5d1f6078-0509-4dcd-813a-7651214154e0', 'name': '', 'tenant_id': '798af40d017a41ecbee5b5775217f23b', 'network_id': '5ad88d37-c9ca-4d8c-9eb2-c67e3e03d0fb', 'ip_version': 4, 'cidr': '213.191.126.192/26', 'allocation_pools': [{'start': '213.191.126.194', 'end': '213.191.126.254'}], 'gateway_ip': '213.191.126.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '213.191.126.194', 'tags': [], 'project_id': '798af40d017a41ecbee5b5775217f23b'}} 2026-08-20 13:42:02,709 - INFO - Created VN ctest-vn-69265687 2026-08-20 13:42:02,761 - DEBUG - VN ctest-vn-69265687 UUID is 5ad88d37-c9ca-4d8c-9eb2-c67e3e03d0fb 2026-08-20 13:42:02,873 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-85954972:ctest-vn-04573188, security_group = None, network_policy = None, subnet_list = []], src_ports = [start_port = -1, end_port = -1], application = [], dst_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-85954972:ctest-vn-69265687, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2026-08-20 13:42:03,195 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ae676315-02b9-41fb-9856-096da218ed5a', 'name': 'ctest-vn-04573188', 'tenant_id': '798af40d017a41ecbee5b5775217f23b', 'project_id': '798af40d017a41ecbee5b5775217f23b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1346974b-e177-41c1-aaff-fbc9f80ae0f0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-85954972', 'ctest-vn-04573188'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-85954972', 'ctest-policy-allow-all-33315785']], 'subnet_ipam': [{'subnet_cidr': '115.187.139.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-20 13:42:03,451 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5ad88d37-c9ca-4d8c-9eb2-c67e3e03d0fb', 'name': 'ctest-vn-69265687', 'tenant_id': '798af40d017a41ecbee5b5775217f23b', 'project_id': '798af40d017a41ecbee5b5775217f23b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5d1f6078-0509-4dcd-813a-7651214154e0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-85954972', 'ctest-vn-69265687'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-85954972', 'ctest-policy-allow-all-33315785']], 'subnet_ipam': [{'subnet_cidr': '213.191.126.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-20 13:42:03,625 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2026-08-20 13:42:03,997 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2026-08-20 13:42:04,030 - DEBUG - Requesting: http://10.0.0.162:8082/domain/ce0cea58-8222-43bb-a5dc-274a9b28057f 2026-08-20 13:42:04,045 - DEBUG - Requesting: http://10.0.0.162:8082/project/798af40d-017a-41ec-bee5-b5775217f23b 2026-08-20 13:42:04,122 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/ae676315-02b9-41fb-9856-096da218ed5a 2026-08-20 13:42:04,135 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/ae676315-02b9-41fb-9856-096da218ed5a 2026-08-20 13:42:04,146 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/6b94739a-f8ec-4fce-9fce-5190c1c7186d 2026-08-20 13:42:04,154 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/6b94739a-f8ec-4fce-9fce-5190c1c7186d 2026-08-20 13:42:04,161 - DEBUG - Requesting: http://10.0.0.162:8082/route-target/e114667f-0d91-44fb-914d-5ba7dd73a7d7 2026-08-20 13:42:04,167 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-20 13:42:04,167 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/ae676315-02b9-41fb-9856-096da218ed5a 2026-08-20 13:42:04,175 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/6b94739a-f8ec-4fce-9fce-5190c1c7186d 2026-08-20 13:42:04,190 - INFO - Verified VN network id 11 for VN ae676315-02b9-41fb-9856-096da218ed5a 2026-08-20 13:42:04,191 - INFO - Verifications in API Server for VN ctest-vn-04573188 passed 2026-08-20 13:42:04,191 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/ae676315-02b9-41fb-9856-096da218ed5a 2026-08-20 13:42:04,202 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/6b94739a-f8ec-4fce-9fce-5190c1c7186d 2026-08-20 13:42:04,209 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/6b94739a-f8ec-4fce-9fce-5190c1c7186d 2026-08-20 13:42:04,216 - DEBUG - Requesting: http://10.0.0.162:8082/route-target/e114667f-0d91-44fb-914d-5ba7dd73a7d7 2026-08-20 13:42:04,230 - DEBUG - Control-node 10.0.0.162 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-85954972:ctest-vn-04573188', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-85954972', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12567122227091816955', 'uuid-lslong': '10976971508237790554'}, 'enable': 'true', 'created': '2026-08-20T13:42:01', 'last-modified': '2026-08-20T13:42:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.065610'} 2026-08-20 13:42:04,237 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-20 13:42:04,237 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-04573188 passed 2026-08-20 13:42:04,238 - DEBUG - ====Verifying policy data for ctest-vn-04573188 in API_Server ====== 2026-08-20 13:42:04,238 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2026-08-20 13:42:04,244 - DEBUG - Requesting: http://10.0.0.162:8082/domain/ce0cea58-8222-43bb-a5dc-274a9b28057f 2026-08-20 13:42:04,256 - DEBUG - Requesting: http://10.0.0.162:8082/project/798af40d-017a-41ec-bee5-b5775217f23b 2026-08-20 13:42:04,338 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/ae676315-02b9-41fb-9856-096da218ed5a 2026-08-20 13:42:04,349 - DEBUG - ==>Verifying data for policy with id: 9beae8b5-7759-4e46-88d1-2bc12376edaf, fqn: ['default-domain', 'ctest-TestBasicPolicy-85954972', 'ctest-policy-allow-all-33315785'] 2026-08-20 13:42:04,349 - INFO - VN ctest-vn-04573188 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-20 13:42:04,349 - DEBUG - Verifying the vn in opserver 2026-08-20 13:42:04,349 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-85954972:ctest-vn-04573188 virtual network link through opserver 10.0.0.162 2026-08-20 13:42:04,350 - DEBUG - Requesting: http://10.0.0.162:8081/analytics/uves/virtual-networks 2026-08-20 13:42:04,729 - DEBUG - Requesting: http://10.0.0.162:8081/analytics/uves/virtual-networks 2026-08-20 13:42:04,796 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-85954972:ctest-vn-04573188', 'href': 'http://10.0.0.162:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-85954972:ctest-vn-04573188?flat'} 2026-08-20 13:42:04,796 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-85954972:ctest-vn-04573188 is found in opserver 2026-08-20 13:42:04,809 - DEBUG - Do not have enough data to verify VN in agent 2026-08-20 13:42:04,814 - DEBUG - VRF ids for VN ctest-vn-04573188: {} 2026-08-20 13:42:04,814 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2026-08-20 13:42:04,820 - DEBUG - Requesting: http://10.0.0.162:8082/domain/ce0cea58-8222-43bb-a5dc-274a9b28057f 2026-08-20 13:42:04,831 - DEBUG - Requesting: http://10.0.0.162:8082/project/798af40d-017a-41ec-bee5-b5775217f23b 2026-08-20 13:42:04,914 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/5ad88d37-c9ca-4d8c-9eb2-c67e3e03d0fb 2026-08-20 13:42:04,927 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/5ad88d37-c9ca-4d8c-9eb2-c67e3e03d0fb 2026-08-20 13:42:04,937 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/44cef5e2-7746-4d59-afba-affd3763b189 2026-08-20 13:42:04,945 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/44cef5e2-7746-4d59-afba-affd3763b189 2026-08-20 13:42:04,953 - DEBUG - Requesting: http://10.0.0.162:8082/route-target/9f3b2117-4ffb-4d2a-97c7-4f8a6e8f814c 2026-08-20 13:42:04,959 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-20 13:42:04,959 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/5ad88d37-c9ca-4d8c-9eb2-c67e3e03d0fb 2026-08-20 13:42:04,968 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/44cef5e2-7746-4d59-afba-affd3763b189 2026-08-20 13:42:04,985 - INFO - Verified VN network id 12 for VN 5ad88d37-c9ca-4d8c-9eb2-c67e3e03d0fb 2026-08-20 13:42:04,985 - INFO - Verifications in API Server for VN ctest-vn-69265687 passed 2026-08-20 13:42:04,985 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/5ad88d37-c9ca-4d8c-9eb2-c67e3e03d0fb 2026-08-20 13:42:04,994 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/44cef5e2-7746-4d59-afba-affd3763b189 2026-08-20 13:42:05,002 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/44cef5e2-7746-4d59-afba-affd3763b189 2026-08-20 13:42:05,010 - DEBUG - Requesting: http://10.0.0.162:8082/route-target/9f3b2117-4ffb-4d2a-97c7-4f8a6e8f814c 2026-08-20 13:42:05,024 - DEBUG - Control-node 10.0.0.162 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-85954972:ctest-vn-69265687', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-85954972', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6546137329131212172', 'uuid-lslong': '11435420649355727099'}, 'enable': 'true', 'created': '2026-08-20T13:42:02', 'last-modified': '2026-08-20T13:42:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.616917'} 2026-08-20 13:42:05,032 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-20 13:42:05,032 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-69265687 passed 2026-08-20 13:42:05,033 - DEBUG - ====Verifying policy data for ctest-vn-69265687 in API_Server ====== 2026-08-20 13:42:05,033 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2026-08-20 13:42:05,039 - DEBUG - Requesting: http://10.0.0.162:8082/domain/ce0cea58-8222-43bb-a5dc-274a9b28057f 2026-08-20 13:42:05,050 - DEBUG - Requesting: http://10.0.0.162:8082/project/798af40d-017a-41ec-bee5-b5775217f23b 2026-08-20 13:42:05,132 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/5ad88d37-c9ca-4d8c-9eb2-c67e3e03d0fb 2026-08-20 13:42:05,142 - DEBUG - ==>Verifying data for policy with id: 9beae8b5-7759-4e46-88d1-2bc12376edaf, fqn: ['default-domain', 'ctest-TestBasicPolicy-85954972', 'ctest-policy-allow-all-33315785'] 2026-08-20 13:42:05,142 - INFO - VN ctest-vn-69265687 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-20 13:42:05,143 - DEBUG - Verifying the vn in opserver 2026-08-20 13:42:05,143 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-85954972:ctest-vn-69265687 virtual network link through opserver 10.0.0.162 2026-08-20 13:42:05,143 - DEBUG - Requesting: http://10.0.0.162:8081/analytics/uves/virtual-networks 2026-08-20 13:42:05,154 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-85954972:ctest-vn-69265687', 'href': 'http://10.0.0.162:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-85954972:ctest-vn-69265687?flat'} 2026-08-20 13:42:05,154 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-85954972:ctest-vn-69265687 is found in opserver 2026-08-20 13:42:05,166 - DEBUG - Do not have enough data to verify VN in agent 2026-08-20 13:42:05,173 - DEBUG - VRF ids for VN ctest-vn-69265687: {} 2026-08-20 13:42:05,241 - DEBUG - Services list from nova: [, , ] 2026-08-20 13:42:05,732 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6189-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6189-1) 2026-08-20 13:42:06,158 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6189-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6189-1) 2026-08-20 13:42:06,159 - INFO - Waiting for VM ctest-TestBasicPolicy-85954972-50133299 to be up.. 2026-08-20 13:42:06,210 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 13:42:11,290 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 13:42:16,382 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 13:42:21,485 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 13:42:26,575 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 13:42:31,651 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 13:42:36,743 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 13:42:41,835 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 13:42:46,924 - DEBUG - VM is in ACTIVE state now 2026-08-20 13:42:46,924 - INFO - VM name : ctest-TestBasicPolicy-85954972-50133299 2026-08-20 13:42:47,011 - DEBUG - VM ctest-TestBasicPolicy-85954972-50133299 ID is 0c3d89eb-8cdd-47c1-a495-f4a1eda81f33 2026-08-20 13:42:47,032 - DEBUG - VM ctest-TestBasicPolicy-85954972-50133299 launched on Node cn-jenkins-deploy-platform-ansible-os-6189-1 2026-08-20 13:42:47,108 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine/0c3d89eb-8cdd-47c1-a495-f4a1eda81f33 2026-08-20 13:42:47,118 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine-interface/0cf9e19c-1ca2-4145-af84-b85fff0f3f65 2026-08-20 13:42:50,388 - 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=2 ttl=63 time=4.24 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1029ms\r\nrtt min/avg/max/mdev = 4.238/4.238/4.238/0.000 ms') 2026-08-20 13:42:50,388 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-85954972-50133299 passed 2026-08-20 13:42:50,542 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-20 13:42:50,542 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-85954972-50133299, IP 115.187.139.3, Port 22 2026-08-20 13:42:50,608 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-08-20 13:42:50,689 - DEBUG - VM ctest-TestBasicPolicy-85954972-50133299 is NOT ready for SSH connections, VM status: ACTIVE 2026-08-20 13:42:55,690 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-20 13:42:55,690 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-85954972-50133299, IP 115.187.139.3, Port 22 2026-08-20 13:42:55,860 - DEBUG - VM ctest-TestBasicPolicy-85954972-50133299 is ready for SSH connections 2026-08-20 13:42:55,860 - INFO - Waiting for VM ctest-TestBasicPolicy-85954972-22322130 to be up.. 2026-08-20 13:42:55,945 - DEBUG - VM is in ACTIVE state now 2026-08-20 13:42:55,945 - INFO - VM name : ctest-TestBasicPolicy-85954972-22322130 2026-08-20 13:42:56,038 - DEBUG - VM ctest-TestBasicPolicy-85954972-22322130 ID is b5522d40-11ea-48f9-a791-4bfd183074b4 2026-08-20 13:42:56,038 - DEBUG - VM ctest-TestBasicPolicy-85954972-22322130 launched on Node cn-jenkins-deploy-platform-ansible-os-6189-1 2026-08-20 13:42:56,129 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine/b5522d40-11ea-48f9-a791-4bfd183074b4 2026-08-20 13:42:56,137 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine-interface/fb16d19e-b71c-43ac-8b48-2229bbc33779 2026-08-20 13:42:57,392 - 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.58 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.674 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 = 0.674/2.128/3.582/1.454 ms') 2026-08-20 13:42:57,392 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-85954972-22322130 passed 2026-08-20 13:42:57,549 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-20 13:42:57,549 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-85954972-22322130, IP 213.191.126.195, Port 22 2026-08-20 13:42:57,715 - DEBUG - VM ctest-TestBasicPolicy-85954972-22322130 is ready for SSH connections 2026-08-20 13:42:57,715 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-20 13:42:57,716 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 213.191.126.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.162, gateway password: c0ntrail123 2026-08-20 13:42:57,716 - DEBUG - ping -s 56 -c 3 -W 1 213.191.126.195 2026-08-20 13:43:01,893 - DEBUG - PING 213.191.126.195 (213.191.126.195): 56 data bytes 64 bytes from 213.191.126.195: seq=0 ttl=63 time=4.915 ms 64 bytes from 213.191.126.195: seq=1 ttl=63 time=0.982 ms 64 bytes from 213.191.126.195: seq=2 ttl=63 time=1.081 ms --- 213.191.126.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.982/2.326/4.915 ms 2026-08-20 13:43:01,893 - INFO - Ping to IP 213.191.126.195 from VM ctest-TestBasicPolicy-85954972-50133299 passed 2026-08-20 13:43:02,077 - DEBUG - Policy Update Response {"network-policy": {"uuid": "9beae8b5-7759-4e46-88d1-2bc12376edaf", "href": "http://10.0.0.162:8082/network-policy/9beae8b5-7759-4e46-88d1-2bc12376edaf"}} 2026-08-20 13:43:02,077 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-20 13:43:02,077 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 213.191.126.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.162, gateway password: c0ntrail123 2026-08-20 13:43:02,077 - DEBUG - ping -s 56 -c 3 -W 1 213.191.126.195 2026-08-20 13:43:05,212 - DEBUG - PING 213.191.126.195 (213.191.126.195): 56 data bytes 64 bytes from 213.191.126.195: seq=0 ttl=63 time=1.464 ms --- 213.191.126.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.464/1.464/1.464 ms 2026-08-20 13:43:05,212 - WARNING - Ping to IP 213.191.126.195 from VM ctest-TestBasicPolicy-85954972-50133299 failed 2026-08-20 13:43:05,212 - INFO - Deleting VM ctest-TestBasicPolicy-85954972-22322130 2026-08-20 13:43:05,294 - INFO - Deleting VM ctest-TestBasicPolicy-85954972-50133299 2026-08-20 13:43:05,701 - INFO - Deleted policy ctest-policy-allow-all-33315785 2026-08-20 13:43:05,701 - INFO - Deleting VN ctest-vn-69265687 2026-08-20 13:43:05,739 - DEBUG - VN 5ad88d37-c9ca-4d8c-9eb2-c67e3e03d0fb still in use: Unable to complete operation on network 5ad88d37-c9ca-4d8c-9eb2-c67e3e03d0fb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8acd2e64-90d4-4239-b61c-65505f3d8843'] 2026-08-20 13:43:05,739 - WARNING - Deleting VN ctest-vn-69265687 failed..Will retry 2026-08-20 13:43:07,849 - DEBUG - Response for deleting network () 2026-08-20 13:43:07,849 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/44cef5e2-7746-4d59-afba-affd3763b189 2026-08-20 13:43:07,855 - DEBUG - Response Code: 404 2026-08-20 13:43:07,855 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2026-08-20 13:43:07,875 - DEBUG - Requesting: http://10.0.0.162:8082/domain/ce0cea58-8222-43bb-a5dc-274a9b28057f 2026-08-20 13:43:07,932 - DEBUG - Requesting: http://10.0.0.162:8082/project/798af40d-017a-41ec-bee5-b5775217f23b 2026-08-20 13:43:08,015 - INFO - Validated that VN ctest-vn-69265687 is not found in API Server 2026-08-20 13:43:08,026 - DEBUG - VN ctest-vn-69265687 is not present in Agent 10.0.0.162 2026-08-20 13:43:08,026 - INFO - Validated that VN ctest-vn-69265687 is not in any agent 2026-08-20 13:43:08,042 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-69265687 info 2026-08-20 13:43:08,042 - INFO - Deleting VN ctest-vn-04573188 2026-08-20 13:43:08,157 - DEBUG - Response for deleting network () 2026-08-20 13:43:08,157 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/6b94739a-f8ec-4fce-9fce-5190c1c7186d 2026-08-20 13:43:08,164 - DEBUG - Response Code: 404 2026-08-20 13:43:08,164 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2026-08-20 13:43:08,172 - DEBUG - Requesting: http://10.0.0.162:8082/domain/ce0cea58-8222-43bb-a5dc-274a9b28057f 2026-08-20 13:43:08,232 - DEBUG - Requesting: http://10.0.0.162:8082/project/798af40d-017a-41ec-bee5-b5775217f23b 2026-08-20 13:43:08,316 - INFO - Validated that VN ctest-vn-04573188 is not found in API Server 2026-08-20 13:43:08,329 - DEBUG - VN ctest-vn-04573188 is not present in Agent 10.0.0.162 2026-08-20 13:43:08,329 - INFO - Validated that VN ctest-vn-04573188 is not in any agent 2026-08-20 13:43:08,348 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-04573188 info 2026-08-20 13:43:08,618 - DEBUG - No XMPP flaps were noticed during the test
2026-08-20 13:43:08,618 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:08]
2026-08-20 13:43:08,618 - INFO - -------------------------------------------------------------------------------- 2026-08-20 13:43:09,423 - INFO - Deleted project: ctest-TestBasicPolicy-85954972, ID : 798af40d-017a-41ec-bee5-b5775217f23b