2026-01-29 22:29:00,418 - INFO - Domain Default found not creating 2026-01-29 22:29:00,612 - INFO - Project ctest-TestBasicPolicy-41281955 not found, creating it 2026-01-29 22:29:01,050 - INFO - Created Project:ctest-TestBasicPolicy-41281955, ID : c55d6eb9-c763-41bd-b31f-67dac47cd8a9 2026-01-29 22:29:02,594 - INFO - ================================================================================ 2026-01-29 22:29:02,595 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-29 22:29:02,595 - 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-01-29 22:29:02,857 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2026-01-29 22:29:02,857 - INFO - Initial checks done. Running the testcase now 2026-01-29 22:29:02,857 - INFO - 2026-01-29 22:29:03,425 - DEBUG - Response for create_network : {'network': {'id': '841b810f-d739-4e9d-9cef-7a6ad76f4cd4', 'name': 'ctest-vn-90028420', 'tenant_id': 'c55d6eb9c76341bdb31f67dac47cd8a9', 'project_id': 'c55d6eb9c76341bdb31f67dac47cd8a9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41281955', 'ctest-vn-90028420'], 'port_security_enabled': True, 'description': ''}} 2026-01-29 22:29:03,603 - DEBUG - Response for create_subnet : {'subnet': {'id': '2e0c88f6-57b3-44cb-8fc4-42b3f9bce502', 'name': '', 'tenant_id': 'c55d6eb9c76341bdb31f67dac47cd8a9', 'network_id': '841b810f-d739-4e9d-9cef-7a6ad76f4cd4', 'ip_version': 4, 'cidr': '87.107.18.192/26', 'allocation_pools': [{'start': '87.107.18.194', 'end': '87.107.18.254'}], 'gateway_ip': '87.107.18.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '87.107.18.194', 'tags': [], 'project_id': 'c55d6eb9c76341bdb31f67dac47cd8a9'}} 2026-01-29 22:29:03,619 - INFO - Created VN ctest-vn-90028420 2026-01-29 22:29:03,675 - DEBUG - VN ctest-vn-90028420 UUID is 841b810f-d739-4e9d-9cef-7a6ad76f4cd4 2026-01-29 22:29:04,022 - DEBUG - Response for create_network : {'network': {'id': 'c61232a8-78d1-4638-a9a9-7a92f2c5c91d', 'name': 'ctest-vn-28223785', 'tenant_id': 'c55d6eb9c76341bdb31f67dac47cd8a9', 'project_id': 'c55d6eb9c76341bdb31f67dac47cd8a9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41281955', 'ctest-vn-28223785'], 'port_security_enabled': True, 'description': ''}} 2026-01-29 22:29:04,210 - DEBUG - Response for create_subnet : {'subnet': {'id': '0345f98c-cdb3-4fae-b029-683e9dfca194', 'name': '', 'tenant_id': 'c55d6eb9c76341bdb31f67dac47cd8a9', 'network_id': 'c61232a8-78d1-4638-a9a9-7a92f2c5c91d', 'ip_version': 4, 'cidr': '100.2.161.192/26', 'allocation_pools': [{'start': '100.2.161.194', 'end': '100.2.161.254'}], 'gateway_ip': '100.2.161.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '100.2.161.194', 'tags': [], 'project_id': 'c55d6eb9c76341bdb31f67dac47cd8a9'}} 2026-01-29 22:29:04,226 - INFO - Created VN ctest-vn-28223785 2026-01-29 22:29:04,279 - DEBUG - VN ctest-vn-28223785 UUID is c61232a8-78d1-4638-a9a9-7a92f2c5c91d 2026-01-29 22:29:04,391 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-41281955:ctest-vn-90028420, 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-41281955:ctest-vn-28223785, 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-01-29 22:29:04,673 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '841b810f-d739-4e9d-9cef-7a6ad76f4cd4', 'name': 'ctest-vn-90028420', 'tenant_id': 'c55d6eb9c76341bdb31f67dac47cd8a9', 'project_id': 'c55d6eb9c76341bdb31f67dac47cd8a9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2e0c88f6-57b3-44cb-8fc4-42b3f9bce502'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41281955', 'ctest-vn-90028420'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-41281955', 'ctest-policy-allow-all-09852162']], 'subnet_ipam': [{'subnet_cidr': '87.107.18.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-29 22:29:04,940 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c61232a8-78d1-4638-a9a9-7a92f2c5c91d', 'name': 'ctest-vn-28223785', 'tenant_id': 'c55d6eb9c76341bdb31f67dac47cd8a9', 'project_id': 'c55d6eb9c76341bdb31f67dac47cd8a9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0345f98c-cdb3-4fae-b029-683e9dfca194'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41281955', 'ctest-vn-28223785'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-41281955', 'ctest-policy-allow-all-09852162']], 'subnet_ipam': [{'subnet_cidr': '100.2.161.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-29 22:29:05,091 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-29 22:29:05,400 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-29 22:29:05,428 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b1895f56-948c-40a9-8589-157f6c8c1d14 2026-01-29 22:29:05,439 - DEBUG - Requesting: http://10.0.0.38:8082/project/c55d6eb9-c763-41bd-b31f-67dac47cd8a9 2026-01-29 22:29:05,506 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/841b810f-d739-4e9d-9cef-7a6ad76f4cd4 2026-01-29 22:29:05,515 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/841b810f-d739-4e9d-9cef-7a6ad76f4cd4 2026-01-29 22:29:05,523 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9dfef344-1e85-441a-a385-7619f7084eff 2026-01-29 22:29:05,529 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9dfef344-1e85-441a-a385-7619f7084eff 2026-01-29 22:29:05,534 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d7ac0269-bf47-46e8-a1bd-c904e22ec829 2026-01-29 22:29:05,539 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-29 22:29:05,539 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/841b810f-d739-4e9d-9cef-7a6ad76f4cd4 2026-01-29 22:29:05,546 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9dfef344-1e85-441a-a385-7619f7084eff 2026-01-29 22:29:05,558 - INFO - Verified VN network id 11 for VN 841b810f-d739-4e9d-9cef-7a6ad76f4cd4 2026-01-29 22:29:05,558 - INFO - Verifications in API Server for VN ctest-vn-90028420 passed 2026-01-29 22:29:05,558 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/841b810f-d739-4e9d-9cef-7a6ad76f4cd4 2026-01-29 22:29:05,565 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9dfef344-1e85-441a-a385-7619f7084eff 2026-01-29 22:29:05,571 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9dfef344-1e85-441a-a385-7619f7084eff 2026-01-29 22:29:05,576 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d7ac0269-bf47-46e8-a1bd-c904e22ec829 2026-01-29 22:29:05,585 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-41281955:ctest-vn-90028420', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-41281955', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9519344142413024925', 'uuid-lslong': '11308391788650122452'}, 'enable': 'true', 'created': '2026-01-29T22:29:03', 'last-modified': '2026-01-29T22:29:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.932796'} 2026-01-29 22:29:05,590 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-29 22:29:05,590 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-90028420 passed 2026-01-29 22:29:05,591 - DEBUG - ====Verifying policy data for ctest-vn-90028420 in API_Server ====== 2026-01-29 22:29:05,591 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-29 22:29:05,595 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b1895f56-948c-40a9-8589-157f6c8c1d14 2026-01-29 22:29:05,603 - DEBUG - Requesting: http://10.0.0.38:8082/project/c55d6eb9-c763-41bd-b31f-67dac47cd8a9 2026-01-29 22:29:05,673 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/841b810f-d739-4e9d-9cef-7a6ad76f4cd4 2026-01-29 22:29:05,680 - DEBUG - ==>Verifying data for policy with id: d15f2fcf-63af-44c0-a4a4-66536c6d88d3, fqn: ['default-domain', 'ctest-TestBasicPolicy-41281955', 'ctest-policy-allow-all-09852162'] 2026-01-29 22:29:05,680 - INFO - VN ctest-vn-90028420 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-29 22:29:05,681 - DEBUG - Verifying the vn in opserver 2026-01-29 22:29:05,681 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-41281955:ctest-vn-90028420 virtual network link through opserver 10.0.0.38 2026-01-29 22:29:05,681 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-29 22:29:05,974 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-29 22:29:06,032 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-41281955:ctest-vn-90028420', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-41281955:ctest-vn-90028420?flat'} 2026-01-29 22:29:06,033 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-41281955:ctest-vn-90028420 is found in opserver 2026-01-29 22:29:06,041 - DEBUG - Do not have enough data to verify VN in agent 2026-01-29 22:29:06,045 - DEBUG - VRF ids for VN ctest-vn-90028420: {} 2026-01-29 22:29:06,045 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-29 22:29:06,050 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b1895f56-948c-40a9-8589-157f6c8c1d14 2026-01-29 22:29:06,059 - DEBUG - Requesting: http://10.0.0.38:8082/project/c55d6eb9-c763-41bd-b31f-67dac47cd8a9 2026-01-29 22:29:06,128 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c61232a8-78d1-4638-a9a9-7a92f2c5c91d 2026-01-29 22:29:06,138 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c61232a8-78d1-4638-a9a9-7a92f2c5c91d 2026-01-29 22:29:06,147 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ad54d8d4-7f4b-4f39-ba72-de9335394126 2026-01-29 22:29:06,152 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ad54d8d4-7f4b-4f39-ba72-de9335394126 2026-01-29 22:29:06,158 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/adfe64be-6d5e-49af-8706-3ac25e7d8ad8 2026-01-29 22:29:06,163 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-29 22:29:06,163 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c61232a8-78d1-4638-a9a9-7a92f2c5c91d 2026-01-29 22:29:06,170 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ad54d8d4-7f4b-4f39-ba72-de9335394126 2026-01-29 22:29:06,182 - INFO - Verified VN network id 12 for VN c61232a8-78d1-4638-a9a9-7a92f2c5c91d 2026-01-29 22:29:06,182 - INFO - Verifications in API Server for VN ctest-vn-28223785 passed 2026-01-29 22:29:06,182 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c61232a8-78d1-4638-a9a9-7a92f2c5c91d 2026-01-29 22:29:06,190 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ad54d8d4-7f4b-4f39-ba72-de9335394126 2026-01-29 22:29:06,195 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ad54d8d4-7f4b-4f39-ba72-de9335394126 2026-01-29 22:29:06,200 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/adfe64be-6d5e-49af-8706-3ac25e7d8ad8 2026-01-29 22:29:06,209 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-41281955:ctest-vn-28223785', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-41281955', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14272525868253398584', 'uuid-lslong': '12225437435030784285'}, 'enable': 'true', 'created': '2026-01-29T22:29:03', 'last-modified': '2026-01-29T22:29:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.329875'} 2026-01-29 22:29:06,214 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-29 22:29:06,214 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-28223785 passed 2026-01-29 22:29:06,214 - DEBUG - ====Verifying policy data for ctest-vn-28223785 in API_Server ====== 2026-01-29 22:29:06,214 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-29 22:29:06,218 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b1895f56-948c-40a9-8589-157f6c8c1d14 2026-01-29 22:29:06,227 - DEBUG - Requesting: http://10.0.0.38:8082/project/c55d6eb9-c763-41bd-b31f-67dac47cd8a9 2026-01-29 22:29:06,294 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c61232a8-78d1-4638-a9a9-7a92f2c5c91d 2026-01-29 22:29:06,303 - DEBUG - ==>Verifying data for policy with id: d15f2fcf-63af-44c0-a4a4-66536c6d88d3, fqn: ['default-domain', 'ctest-TestBasicPolicy-41281955', 'ctest-policy-allow-all-09852162'] 2026-01-29 22:29:06,303 - INFO - VN ctest-vn-28223785 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-29 22:29:06,303 - DEBUG - Verifying the vn in opserver 2026-01-29 22:29:06,303 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-41281955:ctest-vn-28223785 virtual network link through opserver 10.0.0.38 2026-01-29 22:29:06,303 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-29 22:29:06,312 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-41281955:ctest-vn-28223785', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-41281955:ctest-vn-28223785?flat'} 2026-01-29 22:29:06,312 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-41281955:ctest-vn-28223785 is found in opserver 2026-01-29 22:29:06,320 - DEBUG - Do not have enough data to verify VN in agent 2026-01-29 22:29:06,324 - DEBUG - VRF ids for VN ctest-vn-28223785: {} 2026-01-29 22:29:06,379 - DEBUG - Services list from nova: [, , ] 2026-01-29 22:29:07,374 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5139-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5139-1) 2026-01-29 22:29:08,488 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5139-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5139-1) 2026-01-29 22:29:08,488 - INFO - Waiting for VM ctest-TestBasicPolicy-41281955-02443206 to be up.. 2026-01-29 22:29:08,561 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-29 22:29:13,640 - DEBUG - VM is in ACTIVE state now 2026-01-29 22:29:13,641 - INFO - VM name : ctest-TestBasicPolicy-41281955-02443206 2026-01-29 22:29:13,715 - DEBUG - VM ctest-TestBasicPolicy-41281955-02443206 ID is f61f6b1b-e92e-4e6f-acd1-8c69c96f6a61 2026-01-29 22:29:13,733 - DEBUG - VM ctest-TestBasicPolicy-41281955-02443206 launched on Node cn-jenkins-deploy-platform-ansible-os-5139-1 2026-01-29 22:29:13,805 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f61f6b1b-e92e-4e6f-acd1-8c69c96f6a61 2026-01-29 22:29:13,812 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5b98d52d-1b07-4b52-9c05-b53b661941d5 2026-01-29 22:29:16,999 - 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') 2026-01-29 22:29:16,999 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-41281955-02443206 failed! 2026-01-29 22:29:17,051 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-41281955:ctest-vn-90028420 is 87.107.18.193 and allocation pool is NOT set 2026-01-29 22:29:19,115 - 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=9.43 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.820 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.820/5.122/9.425/4.302 ms') 2026-01-29 22:29:19,115 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-41281955-02443206 passed 2026-01-29 22:29:19,263 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 22:29:19,263 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-41281955-02443206, IP 87.107.18.195, Port 22 2026-01-29 22:29:19,414 - DEBUG - VM ctest-TestBasicPolicy-41281955-02443206 is ready for SSH connections 2026-01-29 22:29:19,414 - INFO - Waiting for VM ctest-TestBasicPolicy-41281955-09572338 to be up.. 2026-01-29 22:29:19,485 - DEBUG - VM is in ACTIVE state now 2026-01-29 22:29:19,485 - INFO - VM name : ctest-TestBasicPolicy-41281955-09572338 2026-01-29 22:29:19,560 - DEBUG - VM ctest-TestBasicPolicy-41281955-09572338 ID is 6c3baeda-2c06-43b7-9c08-c096f70e47f0 2026-01-29 22:29:19,560 - DEBUG - VM ctest-TestBasicPolicy-41281955-09572338 launched on Node cn-jenkins-deploy-platform-ansible-os-5139-1 2026-01-29 22:29:19,627 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/6c3baeda-2c06-43b7-9c08-c096f70e47f0 2026-01-29 22:29:19,634 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/719de892-6b69-41e8-9f0a-3b335f77b8d7 2026-01-29 22:29:20,867 - 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.28 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.421 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.421/1.852/3.284/1.431 ms') 2026-01-29 22:29:20,867 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-41281955-09572338 passed 2026-01-29 22:29:21,015 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 22:29:21,015 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-41281955-09572338, IP 100.2.161.195, Port 22 2026-01-29 22:29:21,181 - DEBUG - VM ctest-TestBasicPolicy-41281955-09572338 is ready for SSH connections 2026-01-29 22:29:21,181 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 22:29:21,181 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 100.2.161.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-01-29 22:29:21,181 - DEBUG - ping -s 56 -c 3 -W 1 100.2.161.195 2026-01-29 22:29:25,176 - DEBUG - PING 100.2.161.195 (100.2.161.195): 56 data bytes 64 bytes from 100.2.161.195: seq=0 ttl=63 time=3.314 ms 64 bytes from 100.2.161.195: seq=1 ttl=63 time=0.914 ms 64 bytes from 100.2.161.195: seq=2 ttl=63 time=1.065 ms --- 100.2.161.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.914/1.764/3.314 ms 2026-01-29 22:29:25,176 - INFO - Ping to IP 100.2.161.195 from VM ctest-TestBasicPolicy-41281955-02443206 passed 2026-01-29 22:29:25,343 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d15f2fcf-63af-44c0-a4a4-66536c6d88d3", "href": "http://10.0.0.38:8082/network-policy/d15f2fcf-63af-44c0-a4a4-66536c6d88d3"}} 2026-01-29 22:29:25,343 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 22:29:25,343 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 100.2.161.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-01-29 22:29:25,343 - DEBUG - ping -s 56 -c 3 -W 1 100.2.161.195 2026-01-29 22:29:28,556 - DEBUG - PING 100.2.161.195 (100.2.161.195): 56 data bytes --- 100.2.161.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-29 22:29:28,557 - WARNING - Ping to IP 100.2.161.195 from VM ctest-TestBasicPolicy-41281955-02443206 failed 2026-01-29 22:29:28,557 - INFO - Deleting VM ctest-TestBasicPolicy-41281955-09572338 2026-01-29 22:29:28,618 - INFO - Deleting VM ctest-TestBasicPolicy-41281955-02443206 2026-01-29 22:29:28,954 - INFO - Deleted policy ctest-policy-allow-all-09852162 2026-01-29 22:29:28,954 - INFO - Deleting VN ctest-vn-28223785 2026-01-29 22:29:28,983 - DEBUG - VN c61232a8-78d1-4638-a9a9-7a92f2c5c91d still in use: Unable to complete operation on network c61232a8-78d1-4638-a9a9-7a92f2c5c91d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-924d484c-6132-47fb-8ab6-c5034ab6815a'] 2026-01-29 22:29:28,984 - WARNING - Deleting VN ctest-vn-28223785 failed..Will retry 2026-01-29 22:29:31,080 - DEBUG - Response for deleting network () 2026-01-29 22:29:31,080 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ad54d8d4-7f4b-4f39-ba72-de9335394126 2026-01-29 22:29:31,085 - DEBUG - Response Code: 404 2026-01-29 22:29:31,085 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-29 22:29:31,089 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b1895f56-948c-40a9-8589-157f6c8c1d14 2026-01-29 22:29:31,140 - DEBUG - Requesting: http://10.0.0.38:8082/project/c55d6eb9-c763-41bd-b31f-67dac47cd8a9 2026-01-29 22:29:31,210 - INFO - Validated that VN ctest-vn-28223785 is not found in API Server 2026-01-29 22:29:31,219 - DEBUG - VN ctest-vn-28223785 is not present in Agent 10.0.0.38 2026-01-29 22:29:31,219 - INFO - Validated that VN ctest-vn-28223785 is not in any agent 2026-01-29 22:29:31,231 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-28223785 info 2026-01-29 22:29:31,231 - INFO - Deleting VN ctest-vn-90028420 2026-01-29 22:29:31,327 - DEBUG - Response for deleting network () 2026-01-29 22:29:31,327 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9dfef344-1e85-441a-a385-7619f7084eff 2026-01-29 22:29:31,332 - DEBUG - Response Code: 404 2026-01-29 22:29:31,332 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-29 22:29:31,336 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b1895f56-948c-40a9-8589-157f6c8c1d14 2026-01-29 22:29:31,388 - DEBUG - Requesting: http://10.0.0.38:8082/project/c55d6eb9-c763-41bd-b31f-67dac47cd8a9 2026-01-29 22:29:31,454 - INFO - Validated that VN ctest-vn-90028420 is not found in API Server 2026-01-29 22:29:31,462 - DEBUG - VN ctest-vn-90028420 is not present in Agent 10.0.0.38 2026-01-29 22:29:31,462 - INFO - Validated that VN ctest-vn-90028420 is not in any agent 2026-01-29 22:29:31,473 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-90028420 info 2026-01-29 22:29:31,732 - DEBUG - No XMPP flaps were noticed during the test
2026-01-29 22:29:31,732 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2026-01-29 22:29:31,732 - INFO - -------------------------------------------------------------------------------- 2026-01-29 22:29:32,694 - INFO - Deleted project: ctest-TestBasicPolicy-41281955, ID : c55d6eb9-c763-41bd-b31f-67dac47cd8a9