2026-04-20 16:53:47,307 - INFO - Domain Default found not creating 2026-04-20 16:53:47,479 - INFO - Project ctest-TestBasicPolicy-23056158 not found, creating it 2026-04-20 16:53:47,961 - INFO - Created Project:ctest-TestBasicPolicy-23056158, ID : e9a8cd6e-c19c-4c6d-8d6a-93e371df8619 2026-04-20 16:53:49,479 - INFO - ================================================================================ 2026-04-20 16:53:49,479 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-20 16:53:49,479 - 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-04-20 16:53:49,750 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.201': '0'}} with 2026-04-20 16:53:49,750 - INFO - Initial checks done. Running the testcase now 2026-04-20 16:53:49,750 - INFO - 2026-04-20 16:53:50,322 - DEBUG - Response for create_network : {'network': {'id': '69d6c685-e14b-4e93-8336-830124068b81', 'name': 'ctest-vn-23716500', 'tenant_id': 'e9a8cd6ec19c4c6d8d6a93e371df8619', 'project_id': 'e9a8cd6ec19c4c6d8d6a93e371df8619', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23056158', 'ctest-vn-23716500'], 'port_security_enabled': True, 'description': ''}} 2026-04-20 16:53:50,479 - DEBUG - Response for create_subnet : {'subnet': {'id': '3e6e2575-a717-4d00-9eae-e945aea5e43e', 'name': '', 'tenant_id': 'e9a8cd6ec19c4c6d8d6a93e371df8619', 'network_id': '69d6c685-e14b-4e93-8336-830124068b81', 'ip_version': 4, 'cidr': '87.234.211.64/26', 'allocation_pools': [{'start': '87.234.211.66', 'end': '87.234.211.126'}], 'gateway_ip': '87.234.211.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '87.234.211.66', 'tags': [], 'project_id': 'e9a8cd6ec19c4c6d8d6a93e371df8619'}} 2026-04-20 16:53:50,497 - INFO - Created VN ctest-vn-23716500 2026-04-20 16:53:50,549 - DEBUG - VN ctest-vn-23716500 UUID is 69d6c685-e14b-4e93-8336-830124068b81 2026-04-20 16:53:50,878 - DEBUG - Response for create_network : {'network': {'id': '86dc7f72-3f32-48bc-a24d-42cae9f18b63', 'name': 'ctest-vn-64056599', 'tenant_id': 'e9a8cd6ec19c4c6d8d6a93e371df8619', 'project_id': 'e9a8cd6ec19c4c6d8d6a93e371df8619', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23056158', 'ctest-vn-64056599'], 'port_security_enabled': True, 'description': ''}} 2026-04-20 16:53:51,084 - DEBUG - Response for create_subnet : {'subnet': {'id': '629873aa-5fd9-409b-9b94-fb2d34451d1c', 'name': '', 'tenant_id': 'e9a8cd6ec19c4c6d8d6a93e371df8619', 'network_id': '86dc7f72-3f32-48bc-a24d-42cae9f18b63', 'ip_version': 4, 'cidr': '45.70.11.192/26', 'allocation_pools': [{'start': '45.70.11.194', 'end': '45.70.11.254'}], 'gateway_ip': '45.70.11.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '45.70.11.194', 'tags': [], 'project_id': 'e9a8cd6ec19c4c6d8d6a93e371df8619'}} 2026-04-20 16:53:51,101 - INFO - Created VN ctest-vn-64056599 2026-04-20 16:53:51,153 - DEBUG - VN ctest-vn-64056599 UUID is 86dc7f72-3f32-48bc-a24d-42cae9f18b63 2026-04-20 16:53:51,264 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-23056158:ctest-vn-23716500, 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-23056158:ctest-vn-64056599, 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-04-20 16:53:51,561 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '69d6c685-e14b-4e93-8336-830124068b81', 'name': 'ctest-vn-23716500', 'tenant_id': 'e9a8cd6ec19c4c6d8d6a93e371df8619', 'project_id': 'e9a8cd6ec19c4c6d8d6a93e371df8619', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3e6e2575-a717-4d00-9eae-e945aea5e43e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23056158', 'ctest-vn-23716500'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-23056158', 'ctest-policy-allow-all-77969291']], 'subnet_ipam': [{'subnet_cidr': '87.234.211.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-20 16:53:51,794 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '86dc7f72-3f32-48bc-a24d-42cae9f18b63', 'name': 'ctest-vn-64056599', 'tenant_id': 'e9a8cd6ec19c4c6d8d6a93e371df8619', 'project_id': 'e9a8cd6ec19c4c6d8d6a93e371df8619', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['629873aa-5fd9-409b-9b94-fb2d34451d1c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23056158', 'ctest-vn-64056599'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-23056158', 'ctest-policy-allow-all-77969291']], 'subnet_ipam': [{'subnet_cidr': '45.70.11.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-20 16:53:51,965 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-20 16:53:52,264 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-20 16:53:52,298 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b4efae88-ad19-42dd-8d19-9ce1d0065f07 2026-04-20 16:53:52,310 - DEBUG - Requesting: http://10.0.0.38:8082/project/e9a8cd6e-c19c-4c6d-8d6a-93e371df8619 2026-04-20 16:53:52,385 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/69d6c685-e14b-4e93-8336-830124068b81 2026-04-20 16:53:52,395 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/69d6c685-e14b-4e93-8336-830124068b81 2026-04-20 16:53:52,404 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/41edb2d3-e88f-49a6-b338-a80e3067d15b 2026-04-20 16:53:52,411 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/41edb2d3-e88f-49a6-b338-a80e3067d15b 2026-04-20 16:53:52,417 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/864476af-5cc0-4f62-9cf3-35de143c804e 2026-04-20 16:53:52,424 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-20 16:53:52,425 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/69d6c685-e14b-4e93-8336-830124068b81 2026-04-20 16:53:52,434 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/41edb2d3-e88f-49a6-b338-a80e3067d15b 2026-04-20 16:53:52,448 - INFO - Verified VN network id 11 for VN 69d6c685-e14b-4e93-8336-830124068b81 2026-04-20 16:53:52,448 - INFO - Verifications in API Server for VN ctest-vn-23716500 passed 2026-04-20 16:53:52,448 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/69d6c685-e14b-4e93-8336-830124068b81 2026-04-20 16:53:52,456 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/41edb2d3-e88f-49a6-b338-a80e3067d15b 2026-04-20 16:53:52,463 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/41edb2d3-e88f-49a6-b338-a80e3067d15b 2026-04-20 16:53:52,470 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/864476af-5cc0-4f62-9cf3-35de143c804e 2026-04-20 16:53:52,484 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-23056158:ctest-vn-23716500', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-23056158', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7626501297311272595', 'uuid-lslong': '9454888508633549697'}, 'enable': 'true', 'created': '2026-04-20T16:53:50', 'last-modified': '2026-04-20T16:53:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.946994'} 2026-04-20 16:53:52,491 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-20 16:53:52,492 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-23716500 passed 2026-04-20 16:53:52,492 - DEBUG - ====Verifying policy data for ctest-vn-23716500 in API_Server ====== 2026-04-20 16:53:52,492 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-20 16:53:52,498 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b4efae88-ad19-42dd-8d19-9ce1d0065f07 2026-04-20 16:53:52,511 - DEBUG - Requesting: http://10.0.0.38:8082/project/e9a8cd6e-c19c-4c6d-8d6a-93e371df8619 2026-04-20 16:53:52,580 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/69d6c685-e14b-4e93-8336-830124068b81 2026-04-20 16:53:52,589 - DEBUG - ==>Verifying data for policy with id: 9c95b4e7-80ec-4e18-8e25-9da42c4d9209, fqn: ['default-domain', 'ctest-TestBasicPolicy-23056158', 'ctest-policy-allow-all-77969291'] 2026-04-20 16:53:52,590 - INFO - VN ctest-vn-23716500 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-20 16:53:52,590 - DEBUG - Verifying the vn in opserver 2026-04-20 16:53:52,590 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-23056158:ctest-vn-23716500 virtual network link through opserver 10.0.0.38 2026-04-20 16:53:52,590 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-04-20 16:53:52,883 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-04-20 16:53:52,943 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-23056158:ctest-vn-23716500', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-23056158:ctest-vn-23716500?flat'} 2026-04-20 16:53:52,943 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-23056158:ctest-vn-23716500 is found in opserver 2026-04-20 16:53:52,953 - DEBUG - Do not have enough data to verify VN in agent 2026-04-20 16:53:52,957 - DEBUG - VRF ids for VN ctest-vn-23716500: {} 2026-04-20 16:53:52,957 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-20 16:53:52,962 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b4efae88-ad19-42dd-8d19-9ce1d0065f07 2026-04-20 16:53:52,973 - DEBUG - Requesting: http://10.0.0.38:8082/project/e9a8cd6e-c19c-4c6d-8d6a-93e371df8619 2026-04-20 16:53:53,045 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/86dc7f72-3f32-48bc-a24d-42cae9f18b63 2026-04-20 16:53:53,054 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/86dc7f72-3f32-48bc-a24d-42cae9f18b63 2026-04-20 16:53:53,062 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3ca1d4a5-8089-4b6e-aafc-22b73f7c16cd 2026-04-20 16:53:53,068 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3ca1d4a5-8089-4b6e-aafc-22b73f7c16cd 2026-04-20 16:53:53,074 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f7a3efcc-de05-458e-a9f3-47404386ada9 2026-04-20 16:53:53,080 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-20 16:53:53,080 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/86dc7f72-3f32-48bc-a24d-42cae9f18b63 2026-04-20 16:53:53,088 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3ca1d4a5-8089-4b6e-aafc-22b73f7c16cd 2026-04-20 16:53:53,101 - INFO - Verified VN network id 12 for VN 86dc7f72-3f32-48bc-a24d-42cae9f18b63 2026-04-20 16:53:53,101 - INFO - Verifications in API Server for VN ctest-vn-64056599 passed 2026-04-20 16:53:53,101 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/86dc7f72-3f32-48bc-a24d-42cae9f18b63 2026-04-20 16:53:53,109 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3ca1d4a5-8089-4b6e-aafc-22b73f7c16cd 2026-04-20 16:53:53,116 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3ca1d4a5-8089-4b6e-aafc-22b73f7c16cd 2026-04-20 16:53:53,123 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f7a3efcc-de05-458e-a9f3-47404386ada9 2026-04-20 16:53:53,134 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-23056158:ctest-vn-64056599', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-23056158', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9717782224621947068', 'uuid-lslong': '11695077246626794339'}, 'enable': 'true', 'created': '2026-04-20T16:53:50', 'last-modified': '2026-04-20T16:53:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.364775'} 2026-04-20 16:53:53,140 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-20 16:53:53,140 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-64056599 passed 2026-04-20 16:53:53,140 - DEBUG - ====Verifying policy data for ctest-vn-64056599 in API_Server ====== 2026-04-20 16:53:53,140 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-20 16:53:53,146 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b4efae88-ad19-42dd-8d19-9ce1d0065f07 2026-04-20 16:53:53,158 - DEBUG - Requesting: http://10.0.0.38:8082/project/e9a8cd6e-c19c-4c6d-8d6a-93e371df8619 2026-04-20 16:53:53,239 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/86dc7f72-3f32-48bc-a24d-42cae9f18b63 2026-04-20 16:53:53,249 - DEBUG - ==>Verifying data for policy with id: 9c95b4e7-80ec-4e18-8e25-9da42c4d9209, fqn: ['default-domain', 'ctest-TestBasicPolicy-23056158', 'ctest-policy-allow-all-77969291'] 2026-04-20 16:53:53,249 - INFO - VN ctest-vn-64056599 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-20 16:53:53,249 - DEBUG - Verifying the vn in opserver 2026-04-20 16:53:53,249 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-23056158:ctest-vn-64056599 virtual network link through opserver 10.0.0.38 2026-04-20 16:53:53,249 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-04-20 16:53:53,260 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-23056158:ctest-vn-64056599', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-23056158:ctest-vn-64056599?flat'} 2026-04-20 16:53:53,260 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-23056158:ctest-vn-64056599 is found in opserver 2026-04-20 16:53:53,269 - DEBUG - Do not have enough data to verify VN in agent 2026-04-20 16:53:53,274 - DEBUG - VRF ids for VN ctest-vn-64056599: {} 2026-04-20 16:53:53,328 - DEBUG - Services list from nova: [, , ] 2026-04-20 16:53:54,373 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5655-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5655-1) 2026-04-20 16:53:55,579 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5655-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5655-1) 2026-04-20 16:53:55,579 - INFO - Waiting for VM ctest-TestBasicPolicy-23056158-14766304 to be up.. 2026-04-20 16:53:55,662 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-20 16:54:00,740 - DEBUG - VM is in ACTIVE state now 2026-04-20 16:54:00,740 - INFO - VM name : ctest-TestBasicPolicy-23056158-14766304 2026-04-20 16:54:00,821 - DEBUG - VM ctest-TestBasicPolicy-23056158-14766304 ID is 6aefd646-7fa2-4453-ad16-6f9db06fba4e 2026-04-20 16:54:00,846 - DEBUG - VM ctest-TestBasicPolicy-23056158-14766304 launched on Node cn-jenkins-deploy-platform-ansible-os-5655-1 2026-04-20 16:54:00,940 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/6aefd646-7fa2-4453-ad16-6f9db06fba4e 2026-04-20 16:54:00,951 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/730cb6dc-48ef-48bc-bf10-ac49954a705e 2026-04-20 16:54:04,216 - 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 1021ms') 2026-04-20 16:54:04,216 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-23056158-14766304 failed! 2026-04-20 16:54:04,269 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-23056158:ctest-vn-23716500 is 87.234.211.65 and allocation pool is NOT set 2026-04-20 16:54:06,335 - 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=10.2 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.20 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 = 2.201/6.195/10.190/3.994 ms') 2026-04-20 16:54:06,336 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-23056158-14766304 passed 2026-04-20 16:54:06,485 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 16:54:06,485 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-23056158-14766304, IP 87.234.211.67, Port 22 2026-04-20 16:54:06,540 - 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-04-20 16:54:06,613 - DEBUG - VM ctest-TestBasicPolicy-23056158-14766304 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-20 16:54:11,613 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 16:54:11,614 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-23056158-14766304, IP 87.234.211.67, Port 22 2026-04-20 16:54:11,776 - DEBUG - VM ctest-TestBasicPolicy-23056158-14766304 is ready for SSH connections 2026-04-20 16:54:11,776 - INFO - Waiting for VM ctest-TestBasicPolicy-23056158-50759889 to be up.. 2026-04-20 16:54:11,853 - DEBUG - VM is in ACTIVE state now 2026-04-20 16:54:11,853 - INFO - VM name : ctest-TestBasicPolicy-23056158-50759889 2026-04-20 16:54:11,938 - DEBUG - VM ctest-TestBasicPolicy-23056158-50759889 ID is dc9cc6f3-a880-4e62-b59a-be30664175ee 2026-04-20 16:54:11,938 - DEBUG - VM ctest-TestBasicPolicy-23056158-50759889 launched on Node cn-jenkins-deploy-platform-ansible-os-5655-1 2026-04-20 16:54:12,022 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/dc9cc6f3-a880-4e62-b59a-be30664175ee 2026-04-20 16:54:12,030 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/dfb09e6f-85dc-4283-b2a5-2b39bbe24df5 2026-04-20 16:54:13,268 - 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.82 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.403 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.403/1.610/2.818/1.207 ms') 2026-04-20 16:54:13,268 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-23056158-50759889 passed 2026-04-20 16:54:13,417 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 16:54:13,417 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-23056158-50759889, IP 45.70.11.195, Port 22 2026-04-20 16:54:13,572 - DEBUG - VM ctest-TestBasicPolicy-23056158-50759889 is ready for SSH connections 2026-04-20 16:54:13,572 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 16:54:13,572 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 45.70.11.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-04-20 16:54:13,573 - DEBUG - ping -s 56 -c 3 -W 1 45.70.11.195 2026-04-20 16:54:17,644 - DEBUG - PING 45.70.11.195 (45.70.11.195): 56 data bytes 64 bytes from 45.70.11.195: seq=0 ttl=63 time=3.520 ms 64 bytes from 45.70.11.195: seq=1 ttl=63 time=1.247 ms 64 bytes from 45.70.11.195: seq=2 ttl=63 time=0.726 ms --- 45.70.11.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.726/1.831/3.520 ms 2026-04-20 16:54:17,644 - INFO - Ping to IP 45.70.11.195 from VM ctest-TestBasicPolicy-23056158-14766304 passed 2026-04-20 16:54:17,816 - DEBUG - Policy Update Response {"network-policy": {"uuid": "9c95b4e7-80ec-4e18-8e25-9da42c4d9209", "href": "http://10.0.0.38:8082/network-policy/9c95b4e7-80ec-4e18-8e25-9da42c4d9209"}} 2026-04-20 16:54:17,817 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 16:54:17,817 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 45.70.11.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-04-20 16:54:17,817 - DEBUG - ping -s 56 -c 3 -W 1 45.70.11.195 2026-04-20 16:54:21,030 - DEBUG - PING 45.70.11.195 (45.70.11.195): 56 data bytes --- 45.70.11.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-20 16:54:21,030 - WARNING - Ping to IP 45.70.11.195 from VM ctest-TestBasicPolicy-23056158-14766304 failed 2026-04-20 16:54:21,030 - INFO - Deleting VM ctest-TestBasicPolicy-23056158-50759889 2026-04-20 16:54:21,101 - INFO - Deleting VM ctest-TestBasicPolicy-23056158-14766304 2026-04-20 16:54:21,482 - INFO - Deleted policy ctest-policy-allow-all-77969291 2026-04-20 16:54:21,482 - INFO - Deleting VN ctest-vn-64056599 2026-04-20 16:54:21,524 - DEBUG - VN 86dc7f72-3f32-48bc-a24d-42cae9f18b63 still in use: Unable to complete operation on network 86dc7f72-3f32-48bc-a24d-42cae9f18b63. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7d305d8b-7584-4f00-83f0-92a2dcd77e6e'] 2026-04-20 16:54:21,524 - WARNING - Deleting VN ctest-vn-64056599 failed..Will retry 2026-04-20 16:54:23,617 - DEBUG - Response for deleting network () 2026-04-20 16:54:23,617 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3ca1d4a5-8089-4b6e-aafc-22b73f7c16cd 2026-04-20 16:54:23,627 - DEBUG - Response Code: 404 2026-04-20 16:54:23,627 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-20 16:54:23,633 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b4efae88-ad19-42dd-8d19-9ce1d0065f07 2026-04-20 16:54:23,685 - DEBUG - Requesting: http://10.0.0.38:8082/project/e9a8cd6e-c19c-4c6d-8d6a-93e371df8619 2026-04-20 16:54:23,755 - INFO - Validated that VN ctest-vn-64056599 is not found in API Server 2026-04-20 16:54:23,764 - DEBUG - VN ctest-vn-64056599 is not present in Agent 10.0.0.38 2026-04-20 16:54:23,764 - INFO - Validated that VN ctest-vn-64056599 is not in any agent 2026-04-20 16:54:23,777 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-64056599 info 2026-04-20 16:54:23,777 - INFO - Deleting VN ctest-vn-23716500 2026-04-20 16:54:23,877 - DEBUG - Response for deleting network () 2026-04-20 16:54:23,877 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/41edb2d3-e88f-49a6-b338-a80e3067d15b 2026-04-20 16:54:23,882 - DEBUG - Response Code: 404 2026-04-20 16:54:23,882 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-20 16:54:23,888 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b4efae88-ad19-42dd-8d19-9ce1d0065f07 2026-04-20 16:54:23,942 - DEBUG - Requesting: http://10.0.0.38:8082/project/e9a8cd6e-c19c-4c6d-8d6a-93e371df8619 2026-04-20 16:54:24,010 - INFO - Validated that VN ctest-vn-23716500 is not found in API Server 2026-04-20 16:54:24,020 - DEBUG - VN ctest-vn-23716500 is not present in Agent 10.0.0.38 2026-04-20 16:54:24,020 - INFO - Validated that VN ctest-vn-23716500 is not in any agent 2026-04-20 16:54:24,034 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-23716500 info 2026-04-20 16:54:24,290 - DEBUG - No XMPP flaps were noticed during the test 2026-04-20 16:54:24,291 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2026-04-20 16:54:24,291 - INFO - -------------------------------------------------------------------------------- 2026-04-20 16:54:24,965 - INFO - Deleted project: ctest-TestBasicPolicy-23056158, ID : e9a8cd6e-c19c-4c6d-8d6a-93e371df8619