2026-12-02 16:00:27,163 - INFO - Domain Default found not creating 2026-12-02 16:00:27,338 - INFO - Project ctest-TestBasicPolicy-86815906 not found, creating it 2026-12-02 16:00:27,858 - INFO - Created Project:ctest-TestBasicPolicy-86815906, ID : 3537e989-e446-4a46-8002-278908faaa0e 2026-12-02 16:00:29,600 - INFO - ================================================================================ 2026-12-02 16:00:29,600 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-12-02 16:00:29,600 - 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-12-02 16:00:29,860 - DEBUG - Nothing to compare xmpp stats {'10.0.0.163': {'10.20.0.25': '0'}} with 2026-12-02 16:00:29,860 - INFO - Initial checks done. Running the testcase now 2026-12-02 16:00:29,860 - INFO - 2026-12-02 16:00:30,483 - DEBUG - Response for create_network : {'network': {'id': 'caa5ff31-04d0-49ac-b9fe-b06b2204841c', 'name': 'ctest-vn-62976790', 'tenant_id': '3537e989e4464a468002278908faaa0e', 'project_id': '3537e989e4464a468002278908faaa0e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86815906', 'ctest-vn-62976790'], 'port_security_enabled': True, 'description': ''}} 2026-12-02 16:00:30,694 - DEBUG - Response for create_subnet : {'subnet': {'id': '327ff773-36ee-448f-b881-f530a7aeaaa7', 'name': '', 'tenant_id': '3537e989e4464a468002278908faaa0e', 'network_id': 'caa5ff31-04d0-49ac-b9fe-b06b2204841c', 'ip_version': 4, 'cidr': '113.230.106.128/26', 'allocation_pools': [{'start': '113.230.106.130', 'end': '113.230.106.190'}], 'gateway_ip': '113.230.106.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '113.230.106.130', 'tags': [], 'project_id': '3537e989e4464a468002278908faaa0e'}} 2026-12-02 16:00:30,711 - INFO - Created VN ctest-vn-62976790 2026-12-02 16:00:30,764 - DEBUG - VN ctest-vn-62976790 UUID is caa5ff31-04d0-49ac-b9fe-b06b2204841c 2026-12-02 16:00:31,116 - DEBUG - Response for create_network : {'network': {'id': '9781ff8a-8713-40ed-ae5b-0de06996bb35', 'name': 'ctest-vn-06387527', 'tenant_id': '3537e989e4464a468002278908faaa0e', 'project_id': '3537e989e4464a468002278908faaa0e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86815906', 'ctest-vn-06387527'], 'port_security_enabled': True, 'description': ''}} 2026-12-02 16:00:31,298 - DEBUG - Response for create_subnet : {'subnet': {'id': '69ca8287-d403-412e-8914-c1e97464169c', 'name': '', 'tenant_id': '3537e989e4464a468002278908faaa0e', 'network_id': '9781ff8a-8713-40ed-ae5b-0de06996bb35', 'ip_version': 4, 'cidr': '173.118.245.64/26', 'allocation_pools': [{'start': '173.118.245.66', 'end': '173.118.245.126'}], 'gateway_ip': '173.118.245.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '173.118.245.66', 'tags': [], 'project_id': '3537e989e4464a468002278908faaa0e'}} 2026-12-02 16:00:31,314 - INFO - Created VN ctest-vn-06387527 2026-12-02 16:00:31,368 - DEBUG - VN ctest-vn-06387527 UUID is 9781ff8a-8713-40ed-ae5b-0de06996bb35 2026-12-02 16:00:31,479 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-86815906:ctest-vn-62976790, 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-86815906:ctest-vn-06387527, 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-12-02 16:00:31,783 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'caa5ff31-04d0-49ac-b9fe-b06b2204841c', 'name': 'ctest-vn-62976790', 'tenant_id': '3537e989e4464a468002278908faaa0e', 'project_id': '3537e989e4464a468002278908faaa0e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['327ff773-36ee-448f-b881-f530a7aeaaa7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86815906', 'ctest-vn-62976790'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-86815906', 'ctest-policy-allow-all-30415165']], 'subnet_ipam': [{'subnet_cidr': '113.230.106.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-12-02 16:00:32,036 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9781ff8a-8713-40ed-ae5b-0de06996bb35', 'name': 'ctest-vn-06387527', 'tenant_id': '3537e989e4464a468002278908faaa0e', 'project_id': '3537e989e4464a468002278908faaa0e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['69ca8287-d403-412e-8914-c1e97464169c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86815906', 'ctest-vn-06387527'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-86815906', 'ctest-policy-allow-all-30415165']], 'subnet_ipam': [{'subnet_cidr': '173.118.245.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-12-02 16:00:32,204 - DEBUG - Requesting: http://10.0.0.163:8082/domains 2026-12-02 16:00:32,602 - DEBUG - Requesting: http://10.0.0.163:8082/domains 2026-12-02 16:00:32,633 - DEBUG - Requesting: http://10.0.0.163:8082/domain/cc2b4bf0-bb4a-4825-a06a-bc91cdfd30d4 2026-12-02 16:00:32,650 - DEBUG - Requesting: http://10.0.0.163:8082/project/3537e989-e446-4a46-8002-278908faaa0e 2026-12-02 16:00:32,730 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/caa5ff31-04d0-49ac-b9fe-b06b2204841c 2026-12-02 16:00:32,747 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/caa5ff31-04d0-49ac-b9fe-b06b2204841c 2026-12-02 16:00:32,760 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/b0a55394-6ca2-4ba3-ac54-a3cbb5ec6429 2026-12-02 16:00:32,768 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/b0a55394-6ca2-4ba3-ac54-a3cbb5ec6429 2026-12-02 16:00:32,777 - DEBUG - Requesting: http://10.0.0.163:8082/route-target/f787c2e2-0850-451f-9940-6750c3f9c97e 2026-12-02 16:00:32,784 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-12-02 16:00:32,784 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/caa5ff31-04d0-49ac-b9fe-b06b2204841c 2026-12-02 16:00:32,793 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/b0a55394-6ca2-4ba3-ac54-a3cbb5ec6429 2026-12-02 16:00:32,809 - INFO - Verified VN network id 12 for VN caa5ff31-04d0-49ac-b9fe-b06b2204841c 2026-12-02 16:00:32,809 - INFO - Verifications in API Server for VN ctest-vn-62976790 passed 2026-12-02 16:00:32,809 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/caa5ff31-04d0-49ac-b9fe-b06b2204841c 2026-12-02 16:00:32,819 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/b0a55394-6ca2-4ba3-ac54-a3cbb5ec6429 2026-12-02 16:00:32,834 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/b0a55394-6ca2-4ba3-ac54-a3cbb5ec6429 2026-12-02 16:00:32,843 - DEBUG - Requesting: http://10.0.0.163:8082/route-target/f787c2e2-0850-451f-9940-6750c3f9c97e 2026-12-02 16:00:32,858 - DEBUG - Control-node 10.0.0.163 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-86815906:ctest-vn-62976790', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86815906', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14602357952817940908', 'uuid-lslong': '13402343515279885340'}, 'enable': 'true', 'created': '2026-12-02T16:00:30', 'last-modified': '2026-12-02T16:00:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.101792'} 2026-12-02 16:00:32,870 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-12-02 16:00:32,871 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-62976790 passed 2026-12-02 16:00:32,871 - DEBUG - ====Verifying policy data for ctest-vn-62976790 in API_Server ====== 2026-12-02 16:00:32,871 - DEBUG - Requesting: http://10.0.0.163:8082/domains 2026-12-02 16:00:32,881 - DEBUG - Requesting: http://10.0.0.163:8082/domain/cc2b4bf0-bb4a-4825-a06a-bc91cdfd30d4 2026-12-02 16:00:32,894 - DEBUG - Requesting: http://10.0.0.163:8082/project/3537e989-e446-4a46-8002-278908faaa0e 2026-12-02 16:00:32,974 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/caa5ff31-04d0-49ac-b9fe-b06b2204841c 2026-12-02 16:00:32,983 - DEBUG - ==>Verifying data for policy with id: 556b4db5-138a-4a9d-a93d-e63d8440e605, fqn: ['default-domain', 'ctest-TestBasicPolicy-86815906', 'ctest-policy-allow-all-30415165'] 2026-12-02 16:00:32,983 - INFO - VN ctest-vn-62976790 Policy verification: verify_vn_policy_in_api_server, status: True 2026-12-02 16:00:32,984 - DEBUG - Verifying the vn in opserver 2026-12-02 16:00:32,984 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-86815906:ctest-vn-62976790 virtual network link through opserver 10.0.0.163 2026-12-02 16:00:32,984 - DEBUG - Requesting: http://10.0.0.163:8081/analytics/uves/virtual-networks 2026-12-02 16:00:33,346 - DEBUG - Requesting: http://10.0.0.163:8081/analytics/uves/virtual-networks 2026-12-02 16:00:33,406 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-86815906:ctest-vn-62976790', 'href': 'http://10.0.0.163:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-86815906:ctest-vn-62976790?flat'} 2026-12-02 16:00:33,406 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-86815906:ctest-vn-62976790 is found in opserver 2026-12-02 16:00:33,418 - DEBUG - Do not have enough data to verify VN in agent 2026-12-02 16:00:33,424 - DEBUG - VRF ids for VN ctest-vn-62976790: {} 2026-12-02 16:00:33,424 - DEBUG - Requesting: http://10.0.0.163:8082/domains 2026-12-02 16:00:33,430 - DEBUG - Requesting: http://10.0.0.163:8082/domain/cc2b4bf0-bb4a-4825-a06a-bc91cdfd30d4 2026-12-02 16:00:33,440 - DEBUG - Requesting: http://10.0.0.163:8082/project/3537e989-e446-4a46-8002-278908faaa0e 2026-12-02 16:00:33,512 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/9781ff8a-8713-40ed-ae5b-0de06996bb35 2026-12-02 16:00:33,527 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/9781ff8a-8713-40ed-ae5b-0de06996bb35 2026-12-02 16:00:33,538 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/36308dfd-678b-415b-8cf4-671c9febc5f2 2026-12-02 16:00:33,546 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/36308dfd-678b-415b-8cf4-671c9febc5f2 2026-12-02 16:00:33,554 - DEBUG - Requesting: http://10.0.0.163:8082/route-target/17377d58-5c7a-4f98-a17a-07a51295564e 2026-12-02 16:00:33,562 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-12-02 16:00:33,562 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/9781ff8a-8713-40ed-ae5b-0de06996bb35 2026-12-02 16:00:33,574 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/36308dfd-678b-415b-8cf4-671c9febc5f2 2026-12-02 16:00:33,589 - INFO - Verified VN network id 13 for VN 9781ff8a-8713-40ed-ae5b-0de06996bb35 2026-12-02 16:00:33,589 - INFO - Verifications in API Server for VN ctest-vn-06387527 passed 2026-12-02 16:00:33,589 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/9781ff8a-8713-40ed-ae5b-0de06996bb35 2026-12-02 16:00:33,599 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/36308dfd-678b-415b-8cf4-671c9febc5f2 2026-12-02 16:00:33,606 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/36308dfd-678b-415b-8cf4-671c9febc5f2 2026-12-02 16:00:33,612 - DEBUG - Requesting: http://10.0.0.163:8082/route-target/17377d58-5c7a-4f98-a17a-07a51295564e 2026-12-02 16:00:33,625 - DEBUG - Control-node 10.0.0.163 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-86815906:ctest-vn-06387527', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86815906', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10917287942159548653', 'uuid-lslong': '12563650842975451957'}, 'enable': 'true', 'created': '2026-12-02T16:00:31', 'last-modified': '2026-12-02T16:00:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.621976'} 2026-12-02 16:00:33,631 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-12-02 16:00:33,632 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-06387527 passed 2026-12-02 16:00:33,632 - DEBUG - ====Verifying policy data for ctest-vn-06387527 in API_Server ====== 2026-12-02 16:00:33,632 - DEBUG - Requesting: http://10.0.0.163:8082/domains 2026-12-02 16:00:33,637 - DEBUG - Requesting: http://10.0.0.163:8082/domain/cc2b4bf0-bb4a-4825-a06a-bc91cdfd30d4 2026-12-02 16:00:33,648 - DEBUG - Requesting: http://10.0.0.163:8082/project/3537e989-e446-4a46-8002-278908faaa0e 2026-12-02 16:00:33,724 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/9781ff8a-8713-40ed-ae5b-0de06996bb35 2026-12-02 16:00:33,735 - DEBUG - ==>Verifying data for policy with id: 556b4db5-138a-4a9d-a93d-e63d8440e605, fqn: ['default-domain', 'ctest-TestBasicPolicy-86815906', 'ctest-policy-allow-all-30415165'] 2026-12-02 16:00:33,735 - INFO - VN ctest-vn-06387527 Policy verification: verify_vn_policy_in_api_server, status: True 2026-12-02 16:00:33,735 - DEBUG - Verifying the vn in opserver 2026-12-02 16:00:33,735 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-86815906:ctest-vn-06387527 virtual network link through opserver 10.0.0.163 2026-12-02 16:00:33,735 - DEBUG - Requesting: http://10.0.0.163:8081/analytics/uves/virtual-networks 2026-12-02 16:00:33,746 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-86815906:ctest-vn-06387527', 'href': 'http://10.0.0.163:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-86815906:ctest-vn-06387527?flat'} 2026-12-02 16:00:33,746 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-86815906:ctest-vn-06387527 is found in opserver 2026-12-02 16:00:33,758 - DEBUG - Do not have enough data to verify VN in agent 2026-12-02 16:00:33,765 - DEBUG - VRF ids for VN ctest-vn-06387527: {} 2026-12-02 16:00:33,836 - DEBUG - Services list from nova: [, , ] 2026-12-02 16:00:34,241 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6527-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6527-1) 2026-12-02 16:00:34,636 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6527-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6527-1) 2026-12-02 16:00:34,636 - INFO - Waiting for VM ctest-TestBasicPolicy-86815906-30029589 to be up.. 2026-12-02 16:00:34,676 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-12-02 16:00:39,764 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-12-02 16:00:44,843 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-12-02 16:00:49,927 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-12-02 16:00:55,016 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-12-02 16:01:00,095 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-12-02 16:01:05,170 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-12-02 16:01:10,250 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-12-02 16:01:15,330 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-12-02 16:01:20,420 - DEBUG - VM is in ACTIVE state now 2026-12-02 16:01:20,420 - INFO - VM name : ctest-TestBasicPolicy-86815906-30029589 2026-12-02 16:01:20,498 - DEBUG - VM ctest-TestBasicPolicy-86815906-30029589 ID is a4ba3f36-2c4b-4685-a03d-d9d250528702 2026-12-02 16:01:20,525 - DEBUG - VM ctest-TestBasicPolicy-86815906-30029589 launched on Node cn-jenkins-deploy-platform-ansible-os-6527-1 2026-12-02 16:01:20,599 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine/a4ba3f36-2c4b-4685-a03d-d9d250528702 2026-12-02 16:01:20,610 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine-interface/c3961bc4-230d-4083-846b-8bed80b76e92 2026-12-02 16:01:21,868 - 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=7.75 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.94 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 3.935/5.841/7.748/1.906 ms') 2026-12-02 16:01:21,869 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-86815906-30029589 passed 2026-12-02 16:01:22,020 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-12-02 16:01:22,020 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-86815906-30029589, IP 113.230.106.131, Port 22 2026-12-02 16:01:22,086 - 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-12-02 16:01:22,173 - DEBUG - VM ctest-TestBasicPolicy-86815906-30029589 is NOT ready for SSH connections, VM status: ACTIVE 2026-12-02 16:01:27,174 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-12-02 16:01:27,174 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-86815906-30029589, IP 113.230.106.131, Port 22 2026-12-02 16:01:27,340 - DEBUG - VM ctest-TestBasicPolicy-86815906-30029589 is ready for SSH connections 2026-12-02 16:01:27,340 - INFO - Waiting for VM ctest-TestBasicPolicy-86815906-78502933 to be up.. 2026-12-02 16:01:27,427 - DEBUG - VM is in ACTIVE state now 2026-12-02 16:01:27,427 - INFO - VM name : ctest-TestBasicPolicy-86815906-78502933 2026-12-02 16:01:27,503 - DEBUG - VM ctest-TestBasicPolicy-86815906-78502933 ID is 1955d8f3-cade-4477-ab78-337370d274cf 2026-12-02 16:01:27,503 - DEBUG - VM ctest-TestBasicPolicy-86815906-78502933 launched on Node cn-jenkins-deploy-platform-ansible-os-6527-1 2026-12-02 16:01:27,576 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine/1955d8f3-cade-4477-ab78-337370d274cf 2026-12-02 16:01:27,585 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine-interface/4cb802be-2957-4227-a83a-1a15d8c942ab 2026-12-02 16:01:28,840 - 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.93 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.454 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.454/2.193/3.932/1.739 ms') 2026-12-02 16:01:28,840 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-86815906-78502933 passed 2026-12-02 16:01:28,996 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-12-02 16:01:28,996 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-86815906-78502933, IP 173.118.245.67, Port 22 2026-12-02 16:01:29,156 - DEBUG - VM ctest-TestBasicPolicy-86815906-78502933 is ready for SSH connections 2026-12-02 16:01:29,156 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-12-02 16:01:29,156 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 173.118.245.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.163, gateway password: c0ntrail123 2026-12-02 16:01:29,156 - DEBUG - ping -s 56 -c 3 -W 1 173.118.245.67 2026-12-02 16:01:33,190 - DEBUG - PING 173.118.245.67 (173.118.245.67): 56 data bytes 64 bytes from 173.118.245.67: seq=0 ttl=63 time=4.052 ms 64 bytes from 173.118.245.67: seq=1 ttl=63 time=1.156 ms 64 bytes from 173.118.245.67: seq=2 ttl=63 time=0.876 ms --- 173.118.245.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.876/2.028/4.052 ms 2026-12-02 16:01:33,191 - INFO - Ping to IP 173.118.245.67 from VM ctest-TestBasicPolicy-86815906-30029589 passed 2026-12-02 16:01:33,376 - DEBUG - Policy Update Response {"network-policy": {"uuid": "556b4db5-138a-4a9d-a93d-e63d8440e605", "href": "http://10.0.0.163:8082/network-policy/556b4db5-138a-4a9d-a93d-e63d8440e605"}} 2026-12-02 16:01:33,376 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-12-02 16:01:33,376 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 173.118.245.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.163, gateway password: c0ntrail123 2026-12-02 16:01:33,376 - DEBUG - ping -s 56 -c 3 -W 1 173.118.245.67 2026-12-02 16:01:36,514 - DEBUG - PING 173.118.245.67 (173.118.245.67): 56 data bytes 64 bytes from 173.118.245.67: seq=0 ttl=63 time=1.521 ms --- 173.118.245.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.521/1.521/1.521 ms 2026-12-02 16:01:36,514 - WARNING - Ping to IP 173.118.245.67 from VM ctest-TestBasicPolicy-86815906-30029589 failed 2026-12-02 16:01:36,515 - INFO - Deleting VM ctest-TestBasicPolicy-86815906-78502933 2026-12-02 16:01:36,591 - INFO - Deleting VM ctest-TestBasicPolicy-86815906-30029589 2026-12-02 16:01:36,992 - INFO - Deleted policy ctest-policy-allow-all-30415165 2026-12-02 16:01:36,992 - INFO - Deleting VN ctest-vn-06387527 2026-12-02 16:01:37,026 - DEBUG - VN 9781ff8a-8713-40ed-ae5b-0de06996bb35 still in use: Unable to complete operation on network 9781ff8a-8713-40ed-ae5b-0de06996bb35. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-00e22d56-1791-4b24-84b4-d8026330eed7'] 2026-12-02 16:01:37,026 - WARNING - Deleting VN ctest-vn-06387527 failed..Will retry 2026-12-02 16:01:39,061 - DEBUG - VN 9781ff8a-8713-40ed-ae5b-0de06996bb35 still in use: Unable to complete operation on network 9781ff8a-8713-40ed-ae5b-0de06996bb35. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b5c57b88-1e88-4e4c-8613-fa9decec72ae'] 2026-12-02 16:01:39,062 - WARNING - Deleting VN ctest-vn-06387527 failed..Will retry 2026-12-02 16:01:41,173 - DEBUG - Response for deleting network () 2026-12-02 16:01:41,174 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/36308dfd-678b-415b-8cf4-671c9febc5f2 2026-12-02 16:01:41,180 - DEBUG - Response Code: 404 2026-12-02 16:01:41,181 - DEBUG - Requesting: http://10.0.0.163:8082/domains 2026-12-02 16:01:41,186 - DEBUG - Requesting: http://10.0.0.163:8082/domain/cc2b4bf0-bb4a-4825-a06a-bc91cdfd30d4 2026-12-02 16:01:41,243 - DEBUG - Requesting: http://10.0.0.163:8082/project/3537e989-e446-4a46-8002-278908faaa0e 2026-12-02 16:01:41,319 - INFO - Validated that VN ctest-vn-06387527 is not found in API Server 2026-12-02 16:01:41,333 - DEBUG - VN ctest-vn-06387527 is not present in Agent 10.0.0.163 2026-12-02 16:01:41,333 - INFO - Validated that VN ctest-vn-06387527 is not in any agent 2026-12-02 16:01:41,348 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-06387527 info 2026-12-02 16:01:41,348 - INFO - Deleting VN ctest-vn-62976790 2026-12-02 16:01:41,450 - DEBUG - Response for deleting network () 2026-12-02 16:01:41,451 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/b0a55394-6ca2-4ba3-ac54-a3cbb5ec6429 2026-12-02 16:01:41,461 - DEBUG - Response Code: 404 2026-12-02 16:01:41,461 - DEBUG - Requesting: http://10.0.0.163:8082/domains 2026-12-02 16:01:41,467 - DEBUG - Requesting: http://10.0.0.163:8082/domain/cc2b4bf0-bb4a-4825-a06a-bc91cdfd30d4 2026-12-02 16:01:41,523 - DEBUG - Requesting: http://10.0.0.163:8082/project/3537e989-e446-4a46-8002-278908faaa0e 2026-12-02 16:01:41,607 - INFO - Validated that VN ctest-vn-62976790 is not found in API Server 2026-12-02 16:01:41,617 - DEBUG - VN ctest-vn-62976790 is not present in Agent 10.0.0.163 2026-12-02 16:01:41,617 - INFO - Validated that VN ctest-vn-62976790 is not in any agent 2026-12-02 16:01:41,633 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-62976790 info 2026-12-02 16:01:41,909 - DEBUG - No XMPP flaps were noticed during the test
2026-12-02 16:01:41,909 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:12]
2026-12-02 16:01:41,909 - INFO - -------------------------------------------------------------------------------- 2026-12-02 16:01:42,689 - INFO - Deleted project: ctest-TestBasicPolicy-86815906, ID : 3537e989-e446-4a46-8002-278908faaa0e