2026-10-06 15:06:51,514 - INFO - Domain Default found not creating 2026-10-06 15:06:51,666 - INFO - Project ctest-TestBasicPolicy-37615368 not found, creating it 2026-10-06 15:06:52,162 - INFO - Created Project:ctest-TestBasicPolicy-37615368, ID : 286c047e-6803-43af-85f8-f31bb6f9b047 2026-10-06 15:06:53,871 - INFO - ================================================================================ 2026-10-06 15:06:53,871 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-10-06 15:06:53,872 - 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-10-06 15:06:54,124 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.17': '0'}} with 2026-10-06 15:06:54,124 - INFO - Initial checks done. Running the testcase now 2026-10-06 15:06:54,124 - INFO - 2026-10-06 15:06:54,746 - DEBUG - Response for create_network : {'network': {'id': 'a6635e4a-045b-4c7d-bc82-f14a5d54af8f', 'name': 'ctest-vn-18166797', 'tenant_id': '286c047e680343af85f8f31bb6f9b047', 'project_id': '286c047e680343af85f8f31bb6f9b047', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37615368', 'ctest-vn-18166797'], 'port_security_enabled': True, 'description': ''}} 2026-10-06 15:06:54,942 - DEBUG - Response for create_subnet : {'subnet': {'id': '211db07f-47cf-472d-8d43-4d30f877d676', 'name': '', 'tenant_id': '286c047e680343af85f8f31bb6f9b047', 'network_id': 'a6635e4a-045b-4c7d-bc82-f14a5d54af8f', 'ip_version': 4, 'cidr': '195.196.232.128/26', 'allocation_pools': [{'start': '195.196.232.130', 'end': '195.196.232.190'}], 'gateway_ip': '195.196.232.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '195.196.232.130', 'tags': [], 'project_id': '286c047e680343af85f8f31bb6f9b047'}} 2026-10-06 15:06:54,961 - INFO - Created VN ctest-vn-18166797 2026-10-06 15:06:55,011 - DEBUG - VN ctest-vn-18166797 UUID is a6635e4a-045b-4c7d-bc82-f14a5d54af8f 2026-10-06 15:06:55,288 - DEBUG - Response for create_network : {'network': {'id': 'bc87d2a0-e63a-4296-ad05-cf5a4c1c5d23', 'name': 'ctest-vn-38945892', 'tenant_id': '286c047e680343af85f8f31bb6f9b047', 'project_id': '286c047e680343af85f8f31bb6f9b047', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37615368', 'ctest-vn-38945892'], 'port_security_enabled': True, 'description': ''}} 2026-10-06 15:06:55,490 - DEBUG - Response for create_subnet : {'subnet': {'id': '870c8048-4038-4cbe-b655-7324bb7f1bc5', 'name': '', 'tenant_id': '286c047e680343af85f8f31bb6f9b047', 'network_id': 'bc87d2a0-e63a-4296-ad05-cf5a4c1c5d23', 'ip_version': 4, 'cidr': '146.72.138.192/26', 'allocation_pools': [{'start': '146.72.138.194', 'end': '146.72.138.254'}], 'gateway_ip': '146.72.138.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.72.138.194', 'tags': [], 'project_id': '286c047e680343af85f8f31bb6f9b047'}} 2026-10-06 15:06:55,511 - INFO - Created VN ctest-vn-38945892 2026-10-06 15:06:55,563 - DEBUG - VN ctest-vn-38945892 UUID is bc87d2a0-e63a-4296-ad05-cf5a4c1c5d23 2026-10-06 15:06:55,707 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-37615368:ctest-vn-18166797, 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-37615368:ctest-vn-38945892, 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-10-06 15:06:56,000 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a6635e4a-045b-4c7d-bc82-f14a5d54af8f', 'name': 'ctest-vn-18166797', 'tenant_id': '286c047e680343af85f8f31bb6f9b047', 'project_id': '286c047e680343af85f8f31bb6f9b047', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['211db07f-47cf-472d-8d43-4d30f877d676'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37615368', 'ctest-vn-18166797'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-37615368', 'ctest-policy-allow-all-99454844']], 'subnet_ipam': [{'subnet_cidr': '195.196.232.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-06 15:06:56,234 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bc87d2a0-e63a-4296-ad05-cf5a4c1c5d23', 'name': 'ctest-vn-38945892', 'tenant_id': '286c047e680343af85f8f31bb6f9b047', 'project_id': '286c047e680343af85f8f31bb6f9b047', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['870c8048-4038-4cbe-b655-7324bb7f1bc5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37615368', 'ctest-vn-38945892'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-37615368', 'ctest-policy-allow-all-99454844']], 'subnet_ipam': [{'subnet_cidr': '146.72.138.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-06 15:06:56,403 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-10-06 15:06:56,766 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-10-06 15:06:56,797 - DEBUG - Requesting: http://10.0.0.161:8082/domain/97e6c99a-d20e-4ba5-9473-3e7a2aa785f2 2026-10-06 15:06:56,809 - DEBUG - Requesting: http://10.0.0.161:8082/project/286c047e-6803-43af-85f8-f31bb6f9b047 2026-10-06 15:06:56,884 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/a6635e4a-045b-4c7d-bc82-f14a5d54af8f 2026-10-06 15:06:56,897 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/a6635e4a-045b-4c7d-bc82-f14a5d54af8f 2026-10-06 15:06:56,907 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/82c0eade-1b59-434f-8fa8-e36790f15121 2026-10-06 15:06:56,914 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/82c0eade-1b59-434f-8fa8-e36790f15121 2026-10-06 15:06:56,921 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/b29b7de8-565b-4aae-8086-0e485a17e4d2 2026-10-06 15:06:56,928 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-06 15:06:56,928 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/a6635e4a-045b-4c7d-bc82-f14a5d54af8f 2026-10-06 15:06:56,937 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/82c0eade-1b59-434f-8fa8-e36790f15121 2026-10-06 15:06:56,950 - INFO - Verified VN network id 12 for VN a6635e4a-045b-4c7d-bc82-f14a5d54af8f 2026-10-06 15:06:56,950 - INFO - Verifications in API Server for VN ctest-vn-18166797 passed 2026-10-06 15:06:56,950 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/a6635e4a-045b-4c7d-bc82-f14a5d54af8f 2026-10-06 15:06:56,958 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/82c0eade-1b59-434f-8fa8-e36790f15121 2026-10-06 15:06:56,964 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/82c0eade-1b59-434f-8fa8-e36790f15121 2026-10-06 15:06:56,970 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/b29b7de8-565b-4aae-8086-0e485a17e4d2 2026-10-06 15:06:56,982 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-37615368:ctest-vn-18166797', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-37615368', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11989530304984075389', 'uuid-lslong': '13583684727798542223'}, 'enable': 'true', 'created': '2026-10-06T15:06:54', 'last-modified': '2026-10-06T15:06:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.006847'} 2026-10-06 15:06:56,988 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-06 15:06:56,989 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-18166797 passed 2026-10-06 15:06:56,989 - DEBUG - ====Verifying policy data for ctest-vn-18166797 in API_Server ====== 2026-10-06 15:06:56,989 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-10-06 15:06:56,994 - DEBUG - Requesting: http://10.0.0.161:8082/domain/97e6c99a-d20e-4ba5-9473-3e7a2aa785f2 2026-10-06 15:06:57,004 - DEBUG - Requesting: http://10.0.0.161:8082/project/286c047e-6803-43af-85f8-f31bb6f9b047 2026-10-06 15:06:57,073 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/a6635e4a-045b-4c7d-bc82-f14a5d54af8f 2026-10-06 15:06:57,084 - DEBUG - ==>Verifying data for policy with id: 51658d53-cef7-4b23-817c-a71053418b4e, fqn: ['default-domain', 'ctest-TestBasicPolicy-37615368', 'ctest-policy-allow-all-99454844'] 2026-10-06 15:06:57,084 - INFO - VN ctest-vn-18166797 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-06 15:06:57,084 - DEBUG - Verifying the vn in opserver 2026-10-06 15:06:57,084 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-37615368:ctest-vn-18166797 virtual network link through opserver 10.0.0.161 2026-10-06 15:06:57,085 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-10-06 15:06:57,451 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-10-06 15:06:57,501 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-37615368:ctest-vn-18166797', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-37615368:ctest-vn-18166797?flat'} 2026-10-06 15:06:57,501 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-37615368:ctest-vn-18166797 is found in opserver 2026-10-06 15:06:57,511 - DEBUG - Do not have enough data to verify VN in agent 2026-10-06 15:06:57,515 - DEBUG - VRF ids for VN ctest-vn-18166797: {} 2026-10-06 15:06:57,515 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-10-06 15:06:57,521 - DEBUG - Requesting: http://10.0.0.161:8082/domain/97e6c99a-d20e-4ba5-9473-3e7a2aa785f2 2026-10-06 15:06:57,532 - DEBUG - Requesting: http://10.0.0.161:8082/project/286c047e-6803-43af-85f8-f31bb6f9b047 2026-10-06 15:06:57,606 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/bc87d2a0-e63a-4296-ad05-cf5a4c1c5d23 2026-10-06 15:06:57,619 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/bc87d2a0-e63a-4296-ad05-cf5a4c1c5d23 2026-10-06 15:06:57,631 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/d01a56ce-5b60-47ff-84c3-c3722d457742 2026-10-06 15:06:57,640 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/d01a56ce-5b60-47ff-84c3-c3722d457742 2026-10-06 15:06:57,648 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/6ed0d435-a4e7-4f2c-b0f1-e8d7eae1c197 2026-10-06 15:06:57,656 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-06 15:06:57,656 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/bc87d2a0-e63a-4296-ad05-cf5a4c1c5d23 2026-10-06 15:06:57,667 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/d01a56ce-5b60-47ff-84c3-c3722d457742 2026-10-06 15:06:57,681 - INFO - Verified VN network id 13 for VN bc87d2a0-e63a-4296-ad05-cf5a4c1c5d23 2026-10-06 15:06:57,682 - INFO - Verifications in API Server for VN ctest-vn-38945892 passed 2026-10-06 15:06:57,682 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/bc87d2a0-e63a-4296-ad05-cf5a4c1c5d23 2026-10-06 15:06:57,691 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/d01a56ce-5b60-47ff-84c3-c3722d457742 2026-10-06 15:06:57,699 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/d01a56ce-5b60-47ff-84c3-c3722d457742 2026-10-06 15:06:57,707 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/6ed0d435-a4e7-4f2c-b0f1-e8d7eae1c197 2026-10-06 15:06:57,722 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-37615368:ctest-vn-38945892', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-37615368', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13585058389485568662', 'uuid-lslong': '12467599130176019747'}, 'enable': 'true', 'created': '2026-10-06T15:06:55', 'last-modified': '2026-10-06T15:06:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.508820'} 2026-10-06 15:06:57,730 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-06 15:06:57,730 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-38945892 passed 2026-10-06 15:06:57,731 - DEBUG - ====Verifying policy data for ctest-vn-38945892 in API_Server ====== 2026-10-06 15:06:57,731 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-10-06 15:06:57,738 - DEBUG - Requesting: http://10.0.0.161:8082/domain/97e6c99a-d20e-4ba5-9473-3e7a2aa785f2 2026-10-06 15:06:57,752 - DEBUG - Requesting: http://10.0.0.161:8082/project/286c047e-6803-43af-85f8-f31bb6f9b047 2026-10-06 15:06:57,835 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/bc87d2a0-e63a-4296-ad05-cf5a4c1c5d23 2026-10-06 15:06:57,847 - DEBUG - ==>Verifying data for policy with id: 51658d53-cef7-4b23-817c-a71053418b4e, fqn: ['default-domain', 'ctest-TestBasicPolicy-37615368', 'ctest-policy-allow-all-99454844'] 2026-10-06 15:06:57,847 - INFO - VN ctest-vn-38945892 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-06 15:06:57,847 - DEBUG - Verifying the vn in opserver 2026-10-06 15:06:57,848 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-37615368:ctest-vn-38945892 virtual network link through opserver 10.0.0.161 2026-10-06 15:06:57,848 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-10-06 15:06:57,859 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-37615368:ctest-vn-38945892', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-37615368:ctest-vn-38945892?flat'} 2026-10-06 15:06:57,859 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-37615368:ctest-vn-38945892 is found in opserver 2026-10-06 15:06:57,869 - DEBUG - Do not have enough data to verify VN in agent 2026-10-06 15:06:57,875 - DEBUG - VRF ids for VN ctest-vn-38945892: {} 2026-10-06 15:06:57,934 - DEBUG - Services list from nova: [, , ] 2026-10-06 15:06:58,409 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6352-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6352-1) 2026-10-06 15:06:58,802 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6352-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6352-1) 2026-10-06 15:06:58,802 - INFO - Waiting for VM ctest-TestBasicPolicy-37615368-47722186 to be up.. 2026-10-06 15:06:58,842 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-06 15:07:03,925 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-06 15:07:09,002 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-06 15:07:14,085 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-06 15:07:19,169 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-06 15:07:24,254 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-06 15:07:29,331 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-06 15:07:34,410 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-06 15:07:39,490 - DEBUG - VM is in ACTIVE state now 2026-10-06 15:07:39,490 - INFO - VM name : ctest-TestBasicPolicy-37615368-47722186 2026-10-06 15:07:39,567 - DEBUG - VM ctest-TestBasicPolicy-37615368-47722186 ID is abb5e0c2-52ae-408e-b992-56fc889c9eb4 2026-10-06 15:07:39,585 - DEBUG - VM ctest-TestBasicPolicy-37615368-47722186 launched on Node cn-jenkins-deploy-platform-ansible-os-6352-1 2026-10-06 15:07:39,661 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/abb5e0c2-52ae-408e-b992-56fc889c9eb4 2026-10-06 15:07:39,671 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/1a5eaf6e-b911-44f4-b8d7-7c85e696f8ca 2026-10-06 15:07:42,947 - 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 1029ms') 2026-10-06 15:07:42,947 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-37615368-47722186 failed! 2026-10-06 15:07:43,003 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-37615368:ctest-vn-18166797 is 195.196.232.129 and allocation pool is NOT set 2026-10-06 15:07:45,075 - 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.57 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.96 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 = 1.959/4.762/7.565/2.803 ms') 2026-10-06 15:07:45,075 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-37615368-47722186 passed 2026-10-06 15:07:45,227 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-06 15:07:45,227 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-37615368-47722186, IP 195.196.232.131, Port 22 2026-10-06 15:07:45,293 - 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-10-06 15:07:45,371 - DEBUG - VM ctest-TestBasicPolicy-37615368-47722186 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-06 15:07:50,372 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-06 15:07:50,372 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-37615368-47722186, IP 195.196.232.131, Port 22 2026-10-06 15:07:50,526 - DEBUG - VM ctest-TestBasicPolicy-37615368-47722186 is ready for SSH connections 2026-10-06 15:07:50,527 - INFO - Waiting for VM ctest-TestBasicPolicy-37615368-70053444 to be up.. 2026-10-06 15:07:50,598 - DEBUG - VM is in ACTIVE state now 2026-10-06 15:07:50,598 - INFO - VM name : ctest-TestBasicPolicy-37615368-70053444 2026-10-06 15:07:50,682 - DEBUG - VM ctest-TestBasicPolicy-37615368-70053444 ID is c2e45ac7-8133-4c9b-917d-7df0080efd90 2026-10-06 15:07:50,682 - DEBUG - VM ctest-TestBasicPolicy-37615368-70053444 launched on Node cn-jenkins-deploy-platform-ansible-os-6352-1 2026-10-06 15:07:50,762 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/c2e45ac7-8133-4c9b-917d-7df0080efd90 2026-10-06 15:07:50,771 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/39214bd8-6faa-4448-a8bd-3c1020a802d6 2026-10-06 15:07:52,010 - 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.67 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.443 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.443/2.056/3.669/1.613 ms') 2026-10-06 15:07:52,010 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-37615368-70053444 passed 2026-10-06 15:07:52,163 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-06 15:07:52,163 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-37615368-70053444, IP 146.72.138.195, Port 22 2026-10-06 15:07:52,323 - DEBUG - VM ctest-TestBasicPolicy-37615368-70053444 is ready for SSH connections 2026-10-06 15:07:52,323 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-06 15:07:52,324 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 146.72.138.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-10-06 15:07:52,324 - DEBUG - ping -s 56 -c 3 -W 1 146.72.138.195 2026-10-06 15:07:56,358 - DEBUG - PING 146.72.138.195 (146.72.138.195): 56 data bytes 64 bytes from 146.72.138.195: seq=0 ttl=63 time=4.797 ms 64 bytes from 146.72.138.195: seq=1 ttl=63 time=0.971 ms 64 bytes from 146.72.138.195: seq=2 ttl=63 time=0.981 ms --- 146.72.138.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.971/2.249/4.797 ms 2026-10-06 15:07:56,358 - INFO - Ping to IP 146.72.138.195 from VM ctest-TestBasicPolicy-37615368-47722186 passed 2026-10-06 15:07:56,539 - DEBUG - Policy Update Response {"network-policy": {"uuid": "51658d53-cef7-4b23-817c-a71053418b4e", "href": "http://10.0.0.161:8082/network-policy/51658d53-cef7-4b23-817c-a71053418b4e"}} 2026-10-06 15:07:56,539 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-06 15:07:56,539 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 146.72.138.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-10-06 15:07:56,539 - DEBUG - ping -s 56 -c 3 -W 1 146.72.138.195 2026-10-06 15:07:59,674 - DEBUG - PING 146.72.138.195 (146.72.138.195): 56 data bytes 64 bytes from 146.72.138.195: seq=0 ttl=63 time=1.887 ms --- 146.72.138.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.887/1.887/1.887 ms 2026-10-06 15:07:59,674 - WARNING - Ping to IP 146.72.138.195 from VM ctest-TestBasicPolicy-37615368-47722186 failed 2026-10-06 15:07:59,675 - INFO - Deleting VM ctest-TestBasicPolicy-37615368-70053444 2026-10-06 15:07:59,755 - INFO - Deleting VM ctest-TestBasicPolicy-37615368-47722186 2026-10-06 15:08:00,143 - INFO - Deleted policy ctest-policy-allow-all-99454844 2026-10-06 15:08:00,144 - INFO - Deleting VN ctest-vn-38945892 2026-10-06 15:08:00,182 - DEBUG - VN bc87d2a0-e63a-4296-ad05-cf5a4c1c5d23 still in use: Unable to complete operation on network bc87d2a0-e63a-4296-ad05-cf5a4c1c5d23. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-68b0e8ea-cf5f-4d5a-875e-e22362a79c4c'] 2026-10-06 15:08:00,182 - WARNING - Deleting VN ctest-vn-38945892 failed..Will retry 2026-10-06 15:08:02,292 - DEBUG - Response for deleting network () 2026-10-06 15:08:02,292 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/d01a56ce-5b60-47ff-84c3-c3722d457742 2026-10-06 15:08:02,300 - DEBUG - Response Code: 404 2026-10-06 15:08:02,300 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-10-06 15:08:02,306 - DEBUG - Requesting: http://10.0.0.161:8082/domain/97e6c99a-d20e-4ba5-9473-3e7a2aa785f2 2026-10-06 15:08:02,362 - DEBUG - Requesting: http://10.0.0.161:8082/project/286c047e-6803-43af-85f8-f31bb6f9b047 2026-10-06 15:08:02,434 - INFO - Validated that VN ctest-vn-38945892 is not found in API Server 2026-10-06 15:08:02,446 - DEBUG - VN ctest-vn-38945892 is not present in Agent 10.0.0.161 2026-10-06 15:08:02,446 - INFO - Validated that VN ctest-vn-38945892 is not in any agent 2026-10-06 15:08:02,464 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-38945892 info 2026-10-06 15:08:02,464 - INFO - Deleting VN ctest-vn-18166797 2026-10-06 15:08:02,577 - DEBUG - Response for deleting network () 2026-10-06 15:08:02,578 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/82c0eade-1b59-434f-8fa8-e36790f15121 2026-10-06 15:08:02,588 - DEBUG - Response Code: 404 2026-10-06 15:08:02,588 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-10-06 15:08:02,594 - DEBUG - Requesting: http://10.0.0.161:8082/domain/97e6c99a-d20e-4ba5-9473-3e7a2aa785f2 2026-10-06 15:08:02,649 - DEBUG - Requesting: http://10.0.0.161:8082/project/286c047e-6803-43af-85f8-f31bb6f9b047 2026-10-06 15:08:02,725 - INFO - Validated that VN ctest-vn-18166797 is not found in API Server 2026-10-06 15:08:02,737 - DEBUG - VN ctest-vn-18166797 is not present in Agent 10.0.0.161 2026-10-06 15:08:02,737 - INFO - Validated that VN ctest-vn-18166797 is not in any agent 2026-10-06 15:08:02,760 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-18166797 info 2026-10-06 15:08:03,036 - DEBUG - No XMPP flaps were noticed during the test
2026-10-06 15:08:03,036 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:10]
2026-10-06 15:08:03,036 - INFO - -------------------------------------------------------------------------------- 2026-10-06 15:08:03,803 - INFO - Deleted project: ctest-TestBasicPolicy-37615368, ID : 286c047e-6803-43af-85f8-f31bb6f9b047