2026-09-02 00:22:24,131 - INFO - Domain Default found not creating 2026-09-02 00:22:24,302 - INFO - Project ctest-TestBasicPolicy-35393627 not found, creating it 2026-09-02 00:22:24,788 - INFO - Created Project:ctest-TestBasicPolicy-35393627, ID : edb9de00-ee3c-4b1d-bae3-535e06b9d06d 2026-09-02 00:22:26,325 - INFO - ================================================================================ 2026-09-02 00:22:26,325 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-09-02 00:22:26,325 - 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-09-02 00:22:26,585 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.25': '0'}} with 2026-09-02 00:22:26,585 - INFO - Initial checks done. Running the testcase now 2026-09-02 00:22:26,585 - INFO - 2026-09-02 00:22:27,176 - DEBUG - Response for create_network : {'network': {'id': '77e713f3-f195-450f-a767-0ddaf3f66a0c', 'name': 'ctest-vn-68791734', 'tenant_id': 'edb9de00ee3c4b1dbae3535e06b9d06d', 'project_id': 'edb9de00ee3c4b1dbae3535e06b9d06d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35393627', 'ctest-vn-68791734'], 'port_security_enabled': True, 'description': ''}} 2026-09-02 00:22:27,395 - DEBUG - Response for create_subnet : {'subnet': {'id': '9bf5f81d-1648-4560-8ddb-5a063b6d503f', 'name': '', 'tenant_id': 'edb9de00ee3c4b1dbae3535e06b9d06d', 'network_id': '77e713f3-f195-450f-a767-0ddaf3f66a0c', 'ip_version': 4, 'cidr': '112.132.127.0/26', 'allocation_pools': [{'start': '112.132.127.2', 'end': '112.132.127.62'}], 'gateway_ip': '112.132.127.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '112.132.127.2', 'tags': [], 'project_id': 'edb9de00ee3c4b1dbae3535e06b9d06d'}} 2026-09-02 00:22:27,412 - INFO - Created VN ctest-vn-68791734 2026-09-02 00:22:27,466 - DEBUG - VN ctest-vn-68791734 UUID is 77e713f3-f195-450f-a767-0ddaf3f66a0c 2026-09-02 00:22:27,781 - DEBUG - Response for create_network : {'network': {'id': 'c5ac0635-8cd2-458b-ac71-039a6d074ba6', 'name': 'ctest-vn-91621411', 'tenant_id': 'edb9de00ee3c4b1dbae3535e06b9d06d', 'project_id': 'edb9de00ee3c4b1dbae3535e06b9d06d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35393627', 'ctest-vn-91621411'], 'port_security_enabled': True, 'description': ''}} 2026-09-02 00:22:27,999 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b9a123c1-250f-4c24-a3e1-836f956cc67b', 'name': '', 'tenant_id': 'edb9de00ee3c4b1dbae3535e06b9d06d', 'network_id': 'c5ac0635-8cd2-458b-ac71-039a6d074ba6', 'ip_version': 4, 'cidr': '64.222.75.0/26', 'allocation_pools': [{'start': '64.222.75.2', 'end': '64.222.75.62'}], 'gateway_ip': '64.222.75.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '64.222.75.2', 'tags': [], 'project_id': 'edb9de00ee3c4b1dbae3535e06b9d06d'}} 2026-09-02 00:22:28,018 - INFO - Created VN ctest-vn-91621411 2026-09-02 00:22:28,070 - DEBUG - VN ctest-vn-91621411 UUID is c5ac0635-8cd2-458b-ac71-039a6d074ba6 2026-09-02 00:22:28,226 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-35393627:ctest-vn-68791734, 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-35393627:ctest-vn-91621411, 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-09-02 00:22:28,549 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '77e713f3-f195-450f-a767-0ddaf3f66a0c', 'name': 'ctest-vn-68791734', 'tenant_id': 'edb9de00ee3c4b1dbae3535e06b9d06d', 'project_id': 'edb9de00ee3c4b1dbae3535e06b9d06d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['9bf5f81d-1648-4560-8ddb-5a063b6d503f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35393627', 'ctest-vn-68791734'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-35393627', 'ctest-policy-allow-all-64901544']], 'subnet_ipam': [{'subnet_cidr': '112.132.127.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-02 00:22:28,798 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c5ac0635-8cd2-458b-ac71-039a6d074ba6', 'name': 'ctest-vn-91621411', 'tenant_id': 'edb9de00ee3c4b1dbae3535e06b9d06d', 'project_id': 'edb9de00ee3c4b1dbae3535e06b9d06d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['b9a123c1-250f-4c24-a3e1-836f956cc67b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35393627', 'ctest-vn-91621411'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-35393627', 'ctest-policy-allow-all-64901544']], 'subnet_ipam': [{'subnet_cidr': '64.222.75.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-02 00:22:28,966 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-09-02 00:22:29,286 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-09-02 00:22:29,312 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6b94f452-8164-41f9-9611-e51f06b655c4 2026-09-02 00:22:29,326 - DEBUG - Requesting: http://10.0.0.38:8082/project/edb9de00-ee3c-4b1d-bae3-535e06b9d06d 2026-09-02 00:22:29,402 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/77e713f3-f195-450f-a767-0ddaf3f66a0c 2026-09-02 00:22:29,415 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/77e713f3-f195-450f-a767-0ddaf3f66a0c 2026-09-02 00:22:29,425 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/88807a96-ea73-49fd-9bc1-1e53acdabfcd 2026-09-02 00:22:29,433 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/88807a96-ea73-49fd-9bc1-1e53acdabfcd 2026-09-02 00:22:29,440 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/09d54140-d641-4614-bd8d-638e52fb5b2e 2026-09-02 00:22:29,447 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-02 00:22:29,447 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/77e713f3-f195-450f-a767-0ddaf3f66a0c 2026-09-02 00:22:29,456 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/88807a96-ea73-49fd-9bc1-1e53acdabfcd 2026-09-02 00:22:29,469 - INFO - Verified VN network id 12 for VN 77e713f3-f195-450f-a767-0ddaf3f66a0c 2026-09-02 00:22:29,469 - INFO - Verifications in API Server for VN ctest-vn-68791734 passed 2026-09-02 00:22:29,469 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/77e713f3-f195-450f-a767-0ddaf3f66a0c 2026-09-02 00:22:29,478 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/88807a96-ea73-49fd-9bc1-1e53acdabfcd 2026-09-02 00:22:29,485 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/88807a96-ea73-49fd-9bc1-1e53acdabfcd 2026-09-02 00:22:29,491 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/09d54140-d641-4614-bd8d-638e52fb5b2e 2026-09-02 00:22:29,505 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-35393627:ctest-vn-68791734', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-35393627', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8639896348584658191', 'uuid-lslong': '12062625360982206988'}, 'enable': 'true', 'created': '2026-09-02T00:22:27', 'last-modified': '2026-09-02T00:22:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.981691'} 2026-09-02 00:22:29,514 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-02 00:22:29,515 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-68791734 passed 2026-09-02 00:22:29,515 - DEBUG - ====Verifying policy data for ctest-vn-68791734 in API_Server ====== 2026-09-02 00:22:29,515 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-09-02 00:22:29,521 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6b94f452-8164-41f9-9611-e51f06b655c4 2026-09-02 00:22:29,536 - DEBUG - Requesting: http://10.0.0.38:8082/project/edb9de00-ee3c-4b1d-bae3-535e06b9d06d 2026-09-02 00:22:29,614 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/77e713f3-f195-450f-a767-0ddaf3f66a0c 2026-09-02 00:22:29,624 - DEBUG - ==>Verifying data for policy with id: bed56016-7683-4314-9313-b2e045a56918, fqn: ['default-domain', 'ctest-TestBasicPolicy-35393627', 'ctest-policy-allow-all-64901544'] 2026-09-02 00:22:29,624 - INFO - VN ctest-vn-68791734 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-02 00:22:29,624 - DEBUG - Verifying the vn in opserver 2026-09-02 00:22:29,624 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-35393627:ctest-vn-68791734 virtual network link through opserver 10.0.0.38 2026-09-02 00:22:29,624 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-09-02 00:22:29,942 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-09-02 00:22:29,992 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-35393627:ctest-vn-68791734', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-35393627:ctest-vn-68791734?flat'} 2026-09-02 00:22:29,992 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-35393627:ctest-vn-68791734 is found in opserver 2026-09-02 00:22:30,006 - DEBUG - Do not have enough data to verify VN in agent 2026-09-02 00:22:30,012 - DEBUG - VRF ids for VN ctest-vn-68791734: {} 2026-09-02 00:22:30,012 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-09-02 00:22:30,018 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6b94f452-8164-41f9-9611-e51f06b655c4 2026-09-02 00:22:30,030 - DEBUG - Requesting: http://10.0.0.38:8082/project/edb9de00-ee3c-4b1d-bae3-535e06b9d06d 2026-09-02 00:22:30,105 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c5ac0635-8cd2-458b-ac71-039a6d074ba6 2026-09-02 00:22:30,117 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c5ac0635-8cd2-458b-ac71-039a6d074ba6 2026-09-02 00:22:30,128 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8933c3ad-98df-4a64-8e38-015fa2c9ee12 2026-09-02 00:22:30,138 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8933c3ad-98df-4a64-8e38-015fa2c9ee12 2026-09-02 00:22:30,146 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c0b193d2-a85b-4e69-b773-47d6a278287e 2026-09-02 00:22:30,153 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-02 00:22:30,153 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c5ac0635-8cd2-458b-ac71-039a6d074ba6 2026-09-02 00:22:30,163 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8933c3ad-98df-4a64-8e38-015fa2c9ee12 2026-09-02 00:22:30,184 - INFO - Verified VN network id 13 for VN c5ac0635-8cd2-458b-ac71-039a6d074ba6 2026-09-02 00:22:30,184 - INFO - Verifications in API Server for VN ctest-vn-91621411 passed 2026-09-02 00:22:30,184 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c5ac0635-8cd2-458b-ac71-039a6d074ba6 2026-09-02 00:22:30,196 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8933c3ad-98df-4a64-8e38-015fa2c9ee12 2026-09-02 00:22:30,204 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8933c3ad-98df-4a64-8e38-015fa2c9ee12 2026-09-02 00:22:30,211 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c0b193d2-a85b-4e69-b773-47d6a278287e 2026-09-02 00:22:30,225 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-35393627:ctest-vn-91621411', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-35393627', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14243766548531660171', 'uuid-lslong': '12425716808680950694'}, 'enable': 'true', 'created': '2026-09-02T00:22:27', 'last-modified': '2026-09-02T00:22:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.450293'} 2026-09-02 00:22:30,232 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-02 00:22:30,232 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-91621411 passed 2026-09-02 00:22:30,232 - DEBUG - ====Verifying policy data for ctest-vn-91621411 in API_Server ====== 2026-09-02 00:22:30,232 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-09-02 00:22:30,238 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6b94f452-8164-41f9-9611-e51f06b655c4 2026-09-02 00:22:30,250 - DEBUG - Requesting: http://10.0.0.38:8082/project/edb9de00-ee3c-4b1d-bae3-535e06b9d06d 2026-09-02 00:22:30,324 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c5ac0635-8cd2-458b-ac71-039a6d074ba6 2026-09-02 00:22:30,335 - DEBUG - ==>Verifying data for policy with id: bed56016-7683-4314-9313-b2e045a56918, fqn: ['default-domain', 'ctest-TestBasicPolicy-35393627', 'ctest-policy-allow-all-64901544'] 2026-09-02 00:22:30,335 - INFO - VN ctest-vn-91621411 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-02 00:22:30,335 - DEBUG - Verifying the vn in opserver 2026-09-02 00:22:30,335 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-35393627:ctest-vn-91621411 virtual network link through opserver 10.0.0.38 2026-09-02 00:22:30,336 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-09-02 00:22:30,347 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-35393627:ctest-vn-91621411', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-35393627:ctest-vn-91621411?flat'} 2026-09-02 00:22:30,347 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-35393627:ctest-vn-91621411 is found in opserver 2026-09-02 00:22:30,357 - DEBUG - Do not have enough data to verify VN in agent 2026-09-02 00:22:30,364 - DEBUG - VRF ids for VN ctest-vn-91621411: {} 2026-09-02 00:22:30,423 - DEBUG - Services list from nova: [, , ] 2026-09-02 00:22:30,853 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6242-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6242-1) 2026-09-02 00:22:31,263 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6242-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6242-1) 2026-09-02 00:22:31,263 - INFO - Waiting for VM ctest-TestBasicPolicy-35393627-48353429 to be up.. 2026-09-02 00:22:31,303 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-02 00:22:36,388 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-02 00:22:41,465 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-02 00:22:46,544 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-02 00:22:51,622 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-02 00:22:56,704 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-02 00:23:01,804 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-02 00:23:06,903 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-02 00:23:11,986 - DEBUG - VM is in ACTIVE state now 2026-09-02 00:23:11,986 - INFO - VM name : ctest-TestBasicPolicy-35393627-48353429 2026-09-02 00:23:12,078 - DEBUG - VM ctest-TestBasicPolicy-35393627-48353429 ID is 1d3143d9-3c43-4777-835c-6b1cb1ff262b 2026-09-02 00:23:12,103 - DEBUG - VM ctest-TestBasicPolicy-35393627-48353429 launched on Node cn-jenkins-deploy-platform-ansible-os-6242-1 2026-09-02 00:23:12,196 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/1d3143d9-3c43-4777-835c-6b1cb1ff262b 2026-09-02 00:23:12,207 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/67c4c9a8-8b01-4dd1-941e-7b8b47e5b4ec 2026-09-02 00:23:15,466 - 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=3.33 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 3.328/3.328/3.328/0.000 ms') 2026-09-02 00:23:15,466 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-35393627-48353429 passed 2026-09-02 00:23:15,618 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-02 00:23:15,618 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-35393627-48353429, IP 112.132.127.3, Port 22 2026-09-02 00:23:15,793 - DEBUG - VM ctest-TestBasicPolicy-35393627-48353429 is ready for SSH connections 2026-09-02 00:23:15,793 - INFO - Waiting for VM ctest-TestBasicPolicy-35393627-17458567 to be up.. 2026-09-02 00:23:15,872 - DEBUG - VM is in ACTIVE state now 2026-09-02 00:23:15,872 - INFO - VM name : ctest-TestBasicPolicy-35393627-17458567 2026-09-02 00:23:15,949 - DEBUG - VM ctest-TestBasicPolicy-35393627-17458567 ID is 233a6503-43fb-4d39-aba4-ce7105b66945 2026-09-02 00:23:15,950 - DEBUG - VM ctest-TestBasicPolicy-35393627-17458567 launched on Node cn-jenkins-deploy-platform-ansible-os-6242-1 2026-09-02 00:23:16,029 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/233a6503-43fb-4d39-aba4-ce7105b66945 2026-09-02 00:23:16,038 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/260d3d05-a7b3-488b-8100-e54c2219d836 2026-09-02 00:23:17,278 - 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=8.30 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.20 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 = 3.199/5.747/8.295/2.548 ms') 2026-09-02 00:23:17,278 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-35393627-17458567 passed 2026-09-02 00:23:17,430 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-02 00:23:17,430 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-35393627-17458567, IP 64.222.75.3, Port 22 2026-09-02 00:23:17,496 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-09-02 00:23:17,570 - DEBUG - VM ctest-TestBasicPolicy-35393627-17458567 is NOT ready for SSH connections, VM status: ACTIVE 2026-09-02 00:23:22,571 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-02 00:23:22,571 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-35393627-17458567, IP 64.222.75.3, Port 22 2026-09-02 00:23:22,739 - DEBUG - VM ctest-TestBasicPolicy-35393627-17458567 is ready for SSH connections 2026-09-02 00:23:22,739 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-02 00:23:22,739 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 64.222.75.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-09-02 00:23:22,740 - DEBUG - ping -s 56 -c 3 -W 1 64.222.75.3 2026-09-02 00:23:26,784 - DEBUG - PING 64.222.75.3 (64.222.75.3): 56 data bytes 64 bytes from 64.222.75.3: seq=0 ttl=63 time=4.845 ms 64 bytes from 64.222.75.3: seq=1 ttl=63 time=0.986 ms 64 bytes from 64.222.75.3: seq=2 ttl=63 time=1.051 ms --- 64.222.75.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.986/2.294/4.845 ms 2026-09-02 00:23:26,784 - INFO - Ping to IP 64.222.75.3 from VM ctest-TestBasicPolicy-35393627-48353429 passed 2026-09-02 00:23:26,965 - DEBUG - Policy Update Response {"network-policy": {"uuid": "bed56016-7683-4314-9313-b2e045a56918", "href": "http://10.0.0.38:8082/network-policy/bed56016-7683-4314-9313-b2e045a56918"}} 2026-09-02 00:23:26,966 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-02 00:23:26,966 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 64.222.75.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-09-02 00:23:26,966 - DEBUG - ping -s 56 -c 3 -W 1 64.222.75.3 2026-09-02 00:23:30,089 - DEBUG - PING 64.222.75.3 (64.222.75.3): 56 data bytes 64 bytes from 64.222.75.3: seq=0 ttl=63 time=1.891 ms --- 64.222.75.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.891/1.891/1.891 ms 2026-09-02 00:23:30,089 - WARNING - Ping to IP 64.222.75.3 from VM ctest-TestBasicPolicy-35393627-48353429 failed 2026-09-02 00:23:30,089 - INFO - Deleting VM ctest-TestBasicPolicy-35393627-17458567 2026-09-02 00:23:30,177 - INFO - Deleting VM ctest-TestBasicPolicy-35393627-48353429 2026-09-02 00:23:30,562 - INFO - Deleted policy ctest-policy-allow-all-64901544 2026-09-02 00:23:30,562 - INFO - Deleting VN ctest-vn-91621411 2026-09-02 00:23:30,594 - DEBUG - VN c5ac0635-8cd2-458b-ac71-039a6d074ba6 still in use: Unable to complete operation on network c5ac0635-8cd2-458b-ac71-039a6d074ba6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-407de14a-3a42-43b2-a693-cd7fc0d6b2cc'] 2026-09-02 00:23:30,595 - WARNING - Deleting VN ctest-vn-91621411 failed..Will retry 2026-09-02 00:23:32,705 - DEBUG - Response for deleting network () 2026-09-02 00:23:32,705 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8933c3ad-98df-4a64-8e38-015fa2c9ee12 2026-09-02 00:23:32,713 - DEBUG - Response Code: 404 2026-09-02 00:23:32,713 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-09-02 00:23:32,724 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6b94f452-8164-41f9-9611-e51f06b655c4 2026-09-02 00:23:32,781 - DEBUG - Requesting: http://10.0.0.38:8082/project/edb9de00-ee3c-4b1d-bae3-535e06b9d06d 2026-09-02 00:23:32,857 - INFO - Validated that VN ctest-vn-91621411 is not found in API Server 2026-09-02 00:23:32,870 - DEBUG - VN ctest-vn-91621411 is not present in Agent 10.0.0.38 2026-09-02 00:23:32,870 - INFO - Validated that VN ctest-vn-91621411 is not in any agent 2026-09-02 00:23:32,889 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-91621411 info 2026-09-02 00:23:32,889 - INFO - Deleting VN ctest-vn-68791734 2026-09-02 00:23:33,008 - DEBUG - Response for deleting network () 2026-09-02 00:23:33,008 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/88807a96-ea73-49fd-9bc1-1e53acdabfcd 2026-09-02 00:23:33,015 - DEBUG - Response Code: 404 2026-09-02 00:23:33,015 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-09-02 00:23:33,024 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6b94f452-8164-41f9-9611-e51f06b655c4 2026-09-02 00:23:33,075 - DEBUG - Requesting: http://10.0.0.38:8082/project/edb9de00-ee3c-4b1d-bae3-535e06b9d06d 2026-09-02 00:23:33,162 - INFO - Validated that VN ctest-vn-68791734 is not found in API Server 2026-09-02 00:23:33,174 - DEBUG - VN ctest-vn-68791734 is not present in Agent 10.0.0.38 2026-09-02 00:23:33,174 - INFO - Validated that VN ctest-vn-68791734 is not in any agent 2026-09-02 00:23:33,193 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-68791734 info 2026-09-02 00:23:33,460 - DEBUG - No XMPP flaps were noticed during the test
2026-09-02 00:23:33,460 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:07]
2026-09-02 00:23:33,460 - INFO - -------------------------------------------------------------------------------- 2026-09-02 00:23:34,204 - INFO - Deleted project: ctest-TestBasicPolicy-35393627, ID : edb9de00-ee3c-4b1d-bae3-535e06b9d06d