2026-08-14 09:24:30,514 - INFO - Domain Default found not creating 2026-08-14 09:24:30,734 - INFO - Project ctest-TestBasicPolicy-86208371 not found, creating it 2026-08-14 09:24:31,230 - INFO - Created Project:ctest-TestBasicPolicy-86208371, ID : 06c6e153-e50c-4332-9168-2a9931d09f66 2026-08-14 09:24:33,026 - INFO - ================================================================================ 2026-08-14 09:24:33,027 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-08-14 09:24:33,027 - 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-08-14 09:24:33,302 - DEBUG - Nothing to compare xmpp stats {'10.0.0.251': {'10.20.0.17': '0'}} with 2026-08-14 09:24:33,302 - INFO - Initial checks done. Running the testcase now 2026-08-14 09:24:33,302 - INFO - 2026-08-14 09:24:33,989 - DEBUG - Response for create_network : {'network': {'id': '7617e577-5789-4536-a573-196587620465', 'name': 'ctest-vn-69199648', 'tenant_id': '06c6e153e50c433291682a9931d09f66', 'project_id': '06c6e153e50c433291682a9931d09f66', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86208371', 'ctest-vn-69199648'], 'port_security_enabled': True, 'description': ''}} 2026-08-14 09:24:34,156 - DEBUG - Response for create_subnet : {'subnet': {'id': '264c3a1b-bb92-40d9-9758-cef6c8d3cead', 'name': '', 'tenant_id': '06c6e153e50c433291682a9931d09f66', 'network_id': '7617e577-5789-4536-a573-196587620465', 'ip_version': 4, 'cidr': '114.95.209.64/26', 'allocation_pools': [{'start': '114.95.209.66', 'end': '114.95.209.126'}], 'gateway_ip': '114.95.209.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.95.209.66', 'tags': [], 'project_id': '06c6e153e50c433291682a9931d09f66'}} 2026-08-14 09:24:34,174 - INFO - Created VN ctest-vn-69199648 2026-08-14 09:24:34,228 - DEBUG - VN ctest-vn-69199648 UUID is 7617e577-5789-4536-a573-196587620465 2026-08-14 09:24:34,543 - DEBUG - Response for create_network : {'network': {'id': '28d7d8dc-7eda-4b6e-8772-db22faf873be', 'name': 'ctest-vn-48880729', 'tenant_id': '06c6e153e50c433291682a9931d09f66', 'project_id': '06c6e153e50c433291682a9931d09f66', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86208371', 'ctest-vn-48880729'], 'port_security_enabled': True, 'description': ''}} 2026-08-14 09:24:34,769 - DEBUG - Response for create_subnet : {'subnet': {'id': '36a1cb04-7de1-43b3-bb62-3beec8240be3', 'name': '', 'tenant_id': '06c6e153e50c433291682a9931d09f66', 'network_id': '28d7d8dc-7eda-4b6e-8772-db22faf873be', 'ip_version': 4, 'cidr': '89.72.97.64/26', 'allocation_pools': [{'start': '89.72.97.66', 'end': '89.72.97.126'}], 'gateway_ip': '89.72.97.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '89.72.97.66', 'tags': [], 'project_id': '06c6e153e50c433291682a9931d09f66'}} 2026-08-14 09:24:34,796 - INFO - Created VN ctest-vn-48880729 2026-08-14 09:24:34,848 - DEBUG - VN ctest-vn-48880729 UUID is 28d7d8dc-7eda-4b6e-8772-db22faf873be 2026-08-14 09:24:34,969 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-86208371:ctest-vn-69199648, 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-86208371:ctest-vn-48880729, 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-08-14 09:24:35,296 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7617e577-5789-4536-a573-196587620465', 'name': 'ctest-vn-69199648', 'tenant_id': '06c6e153e50c433291682a9931d09f66', 'project_id': '06c6e153e50c433291682a9931d09f66', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['264c3a1b-bb92-40d9-9758-cef6c8d3cead'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86208371', 'ctest-vn-69199648'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-86208371', 'ctest-policy-allow-all-16346323']], 'subnet_ipam': [{'subnet_cidr': '114.95.209.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-14 09:24:35,553 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '28d7d8dc-7eda-4b6e-8772-db22faf873be', 'name': 'ctest-vn-48880729', 'tenant_id': '06c6e153e50c433291682a9931d09f66', 'project_id': '06c6e153e50c433291682a9931d09f66', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['36a1cb04-7de1-43b3-bb62-3beec8240be3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86208371', 'ctest-vn-48880729'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-86208371', 'ctest-policy-allow-all-16346323']], 'subnet_ipam': [{'subnet_cidr': '89.72.97.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-14 09:24:35,732 - DEBUG - Requesting: http://10.0.0.251:8082/domains 2026-08-14 09:24:36,101 - DEBUG - Requesting: http://10.0.0.251:8082/domains 2026-08-14 09:24:36,133 - DEBUG - Requesting: http://10.0.0.251:8082/domain/3796ba4a-a2e5-4c57-adc4-667865ee06e9 2026-08-14 09:24:36,147 - DEBUG - Requesting: http://10.0.0.251:8082/project/06c6e153-e50c-4332-9168-2a9931d09f66 2026-08-14 09:24:36,227 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/7617e577-5789-4536-a573-196587620465 2026-08-14 09:24:36,241 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/7617e577-5789-4536-a573-196587620465 2026-08-14 09:24:36,253 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/7990bc4e-20ca-4d12-b545-017071e524b5 2026-08-14 09:24:36,262 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/7990bc4e-20ca-4d12-b545-017071e524b5 2026-08-14 09:24:36,269 - DEBUG - Requesting: http://10.0.0.251:8082/route-target/4e91be2f-fe9e-4c27-a42c-5198a5266adb 2026-08-14 09:24:36,277 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-14 09:24:36,277 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/7617e577-5789-4536-a573-196587620465 2026-08-14 09:24:36,287 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/7990bc4e-20ca-4d12-b545-017071e524b5 2026-08-14 09:24:36,304 - INFO - Verified VN network id 12 for VN 7617e577-5789-4536-a573-196587620465 2026-08-14 09:24:36,304 - INFO - Verifications in API Server for VN ctest-vn-69199648 passed 2026-08-14 09:24:36,304 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/7617e577-5789-4536-a573-196587620465 2026-08-14 09:24:36,315 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/7990bc4e-20ca-4d12-b545-017071e524b5 2026-08-14 09:24:36,324 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/7990bc4e-20ca-4d12-b545-017071e524b5 2026-08-14 09:24:36,333 - DEBUG - Requesting: http://10.0.0.251:8082/route-target/4e91be2f-fe9e-4c27-a42c-5198a5266adb 2026-08-14 09:24:36,349 - DEBUG - Control-node 10.0.0.251 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-86208371:ctest-vn-69199648', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86208371', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8509522321672324406', 'uuid-lslong': '11921900562433573989'}, 'enable': 'true', 'created': '2026-08-14T09:24:33', 'last-modified': '2026-08-14T09:24:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.077146'} 2026-08-14 09:24:36,357 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-14 09:24:36,357 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-69199648 passed 2026-08-14 09:24:36,357 - DEBUG - ====Verifying policy data for ctest-vn-69199648 in API_Server ====== 2026-08-14 09:24:36,358 - DEBUG - Requesting: http://10.0.0.251:8082/domains 2026-08-14 09:24:36,364 - DEBUG - Requesting: http://10.0.0.251:8082/domain/3796ba4a-a2e5-4c57-adc4-667865ee06e9 2026-08-14 09:24:36,377 - DEBUG - Requesting: http://10.0.0.251:8082/project/06c6e153-e50c-4332-9168-2a9931d09f66 2026-08-14 09:24:36,454 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/7617e577-5789-4536-a573-196587620465 2026-08-14 09:24:36,466 - DEBUG - ==>Verifying data for policy with id: 0b4a1d58-69ce-4872-8a60-044ae1b792cd, fqn: ['default-domain', 'ctest-TestBasicPolicy-86208371', 'ctest-policy-allow-all-16346323'] 2026-08-14 09:24:36,466 - INFO - VN ctest-vn-69199648 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-14 09:24:36,466 - DEBUG - Verifying the vn in opserver 2026-08-14 09:24:36,466 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-86208371:ctest-vn-69199648 virtual network link through opserver 10.0.0.251 2026-08-14 09:24:36,467 - DEBUG - Requesting: http://10.0.0.251:8081/analytics/uves/virtual-networks 2026-08-14 09:24:36,830 - DEBUG - Requesting: http://10.0.0.251:8081/analytics/uves/virtual-networks 2026-08-14 09:24:36,892 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-86208371:ctest-vn-69199648', 'href': 'http://10.0.0.251:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-86208371:ctest-vn-69199648?flat'} 2026-08-14 09:24:36,892 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-86208371:ctest-vn-69199648 is found in opserver 2026-08-14 09:24:36,904 - DEBUG - Do not have enough data to verify VN in agent 2026-08-14 09:24:36,910 - DEBUG - VRF ids for VN ctest-vn-69199648: {} 2026-08-14 09:24:36,910 - DEBUG - Requesting: http://10.0.0.251:8082/domains 2026-08-14 09:24:36,917 - DEBUG - Requesting: http://10.0.0.251:8082/domain/3796ba4a-a2e5-4c57-adc4-667865ee06e9 2026-08-14 09:24:36,931 - DEBUG - Requesting: http://10.0.0.251:8082/project/06c6e153-e50c-4332-9168-2a9931d09f66 2026-08-14 09:24:37,013 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/28d7d8dc-7eda-4b6e-8772-db22faf873be 2026-08-14 09:24:37,027 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/28d7d8dc-7eda-4b6e-8772-db22faf873be 2026-08-14 09:24:37,039 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/3ce093ad-a567-4977-90a8-7a84325f0ca0 2026-08-14 09:24:37,047 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/3ce093ad-a567-4977-90a8-7a84325f0ca0 2026-08-14 09:24:37,055 - DEBUG - Requesting: http://10.0.0.251:8082/route-target/33cf7132-c3a9-4308-914d-1fd5130459c4 2026-08-14 09:24:37,062 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-08-14 09:24:37,062 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/28d7d8dc-7eda-4b6e-8772-db22faf873be 2026-08-14 09:24:37,073 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/3ce093ad-a567-4977-90a8-7a84325f0ca0 2026-08-14 09:24:37,091 - INFO - Verified VN network id 13 for VN 28d7d8dc-7eda-4b6e-8772-db22faf873be 2026-08-14 09:24:37,091 - INFO - Verifications in API Server for VN ctest-vn-48880729 passed 2026-08-14 09:24:37,091 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/28d7d8dc-7eda-4b6e-8772-db22faf873be 2026-08-14 09:24:37,102 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/3ce093ad-a567-4977-90a8-7a84325f0ca0 2026-08-14 09:24:37,110 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/3ce093ad-a567-4977-90a8-7a84325f0ca0 2026-08-14 09:24:37,117 - DEBUG - Requesting: http://10.0.0.251:8082/route-target/33cf7132-c3a9-4308-914d-1fd5130459c4 2026-08-14 09:24:37,134 - DEBUG - Control-node 10.0.0.251 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-86208371:ctest-vn-48880729', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86208371', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2943059323042548590', 'uuid-lslong': '9760104285751243710'}, 'enable': 'true', 'created': '2026-08-14T09:24:34', 'last-modified': '2026-08-14T09:24:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.607280'} 2026-08-14 09:24:37,141 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-08-14 09:24:37,142 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-48880729 passed 2026-08-14 09:24:37,142 - DEBUG - ====Verifying policy data for ctest-vn-48880729 in API_Server ====== 2026-08-14 09:24:37,142 - DEBUG - Requesting: http://10.0.0.251:8082/domains 2026-08-14 09:24:37,149 - DEBUG - Requesting: http://10.0.0.251:8082/domain/3796ba4a-a2e5-4c57-adc4-667865ee06e9 2026-08-14 09:24:37,161 - DEBUG - Requesting: http://10.0.0.251:8082/project/06c6e153-e50c-4332-9168-2a9931d09f66 2026-08-14 09:24:37,240 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/28d7d8dc-7eda-4b6e-8772-db22faf873be 2026-08-14 09:24:37,250 - DEBUG - ==>Verifying data for policy with id: 0b4a1d58-69ce-4872-8a60-044ae1b792cd, fqn: ['default-domain', 'ctest-TestBasicPolicy-86208371', 'ctest-policy-allow-all-16346323'] 2026-08-14 09:24:37,250 - INFO - VN ctest-vn-48880729 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-14 09:24:37,250 - DEBUG - Verifying the vn in opserver 2026-08-14 09:24:37,250 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-86208371:ctest-vn-48880729 virtual network link through opserver 10.0.0.251 2026-08-14 09:24:37,250 - DEBUG - Requesting: http://10.0.0.251:8081/analytics/uves/virtual-networks 2026-08-14 09:24:37,261 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-86208371:ctest-vn-48880729', 'href': 'http://10.0.0.251:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-86208371:ctest-vn-48880729?flat'} 2026-08-14 09:24:37,261 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-86208371:ctest-vn-48880729 is found in opserver 2026-08-14 09:24:37,274 - DEBUG - Do not have enough data to verify VN in agent 2026-08-14 09:24:37,280 - DEBUG - VRF ids for VN ctest-vn-48880729: {} 2026-08-14 09:24:37,343 - DEBUG - Services list from nova: [, , ] 2026-08-14 09:24:37,832 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6160-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6160-1) 2026-08-14 09:24:38,289 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6160-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6160-1) 2026-08-14 09:24:38,289 - INFO - Waiting for VM ctest-TestBasicPolicy-86208371-44869170 to be up.. 2026-08-14 09:24:38,335 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 09:24:43,425 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 09:24:48,523 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 09:24:53,611 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 09:24:58,703 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 09:25:03,793 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 09:25:08,883 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 09:25:13,977 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 09:25:19,068 - DEBUG - VM is in ACTIVE state now 2026-08-14 09:25:19,068 - INFO - VM name : ctest-TestBasicPolicy-86208371-44869170 2026-08-14 09:25:19,170 - DEBUG - VM ctest-TestBasicPolicy-86208371-44869170 ID is aab6920d-891f-4b9f-a29b-a1d852b462a4 2026-08-14 09:25:19,195 - DEBUG - VM ctest-TestBasicPolicy-86208371-44869170 launched on Node cn-jenkins-deploy-platform-ansible-os-6160-1 2026-08-14 09:25:19,277 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-machine/aab6920d-891f-4b9f-a29b-a1d852b462a4 2026-08-14 09:25:19,287 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-machine-interface/c701b5cd-2483-4a7e-bdef-9856f352c1c6 2026-08-14 09:25:22,555 - 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 1012ms') 2026-08-14 09:25:22,555 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-86208371-44869170 failed! 2026-08-14 09:25:22,612 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-86208371:ctest-vn-69199648 is 114.95.209.65 and allocation pool is NOT set 2026-08-14 09:25:26,673 - 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=4.23 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 = 4.234/4.234/4.234/0.000 ms') 2026-08-14 09:25:26,674 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-86208371-44869170 passed 2026-08-14 09:25:26,832 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-14 09:25:26,832 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-86208371-44869170, IP 114.95.209.67, Port 22 2026-08-14 09:25:27,006 - DEBUG - VM ctest-TestBasicPolicy-86208371-44869170 is ready for SSH connections 2026-08-14 09:25:27,006 - INFO - Waiting for VM ctest-TestBasicPolicy-86208371-72248504 to be up.. 2026-08-14 09:25:27,089 - DEBUG - VM is in ACTIVE state now 2026-08-14 09:25:27,089 - INFO - VM name : ctest-TestBasicPolicy-86208371-72248504 2026-08-14 09:25:27,170 - DEBUG - VM ctest-TestBasicPolicy-86208371-72248504 ID is b93b792b-d304-4f04-b350-033a7b3871a5 2026-08-14 09:25:27,171 - DEBUG - VM ctest-TestBasicPolicy-86208371-72248504 launched on Node cn-jenkins-deploy-platform-ansible-os-6160-1 2026-08-14 09:25:27,255 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-machine/b93b792b-d304-4f04-b350-033a7b3871a5 2026-08-14 09:25:27,265 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-machine-interface/d2d8cf4e-83e3-4bae-836b-770ea8c084b0 2026-08-14 09:25:28,516 - 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=4.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.694 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.694/2.719/4.745/2.025 ms') 2026-08-14 09:25:28,516 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-86208371-72248504 passed 2026-08-14 09:25:28,672 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-14 09:25:28,672 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-86208371-72248504, IP 89.72.97.67, Port 22 2026-08-14 09:25:28,840 - DEBUG - VM ctest-TestBasicPolicy-86208371-72248504 is ready for SSH connections 2026-08-14 09:25:28,840 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-14 09:25:28,841 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 89.72.97.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.251, gateway password: c0ntrail123 2026-08-14 09:25:28,841 - DEBUG - ping -s 56 -c 3 -W 1 89.72.97.67 2026-08-14 09:25:32,946 - DEBUG - PING 89.72.97.67 (89.72.97.67): 56 data bytes 64 bytes from 89.72.97.67: seq=0 ttl=63 time=4.747 ms 64 bytes from 89.72.97.67: seq=1 ttl=63 time=1.342 ms 64 bytes from 89.72.97.67: seq=2 ttl=63 time=1.078 ms --- 89.72.97.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.078/2.389/4.747 ms 2026-08-14 09:25:32,946 - INFO - Ping to IP 89.72.97.67 from VM ctest-TestBasicPolicy-86208371-44869170 passed 2026-08-14 09:25:33,140 - DEBUG - Policy Update Response {"network-policy": {"uuid": "0b4a1d58-69ce-4872-8a60-044ae1b792cd", "href": "http://10.0.0.251:8082/network-policy/0b4a1d58-69ce-4872-8a60-044ae1b792cd"}} 2026-08-14 09:25:33,140 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-14 09:25:33,141 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 89.72.97.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.251, gateway password: c0ntrail123 2026-08-14 09:25:33,141 - DEBUG - ping -s 56 -c 3 -W 1 89.72.97.67 2026-08-14 09:25:36,279 - DEBUG - PING 89.72.97.67 (89.72.97.67): 56 data bytes 64 bytes from 89.72.97.67: seq=0 ttl=63 time=1.903 ms --- 89.72.97.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.903/1.903/1.903 ms 2026-08-14 09:25:36,279 - WARNING - Ping to IP 89.72.97.67 from VM ctest-TestBasicPolicy-86208371-44869170 failed 2026-08-14 09:25:36,279 - INFO - Deleting VM ctest-TestBasicPolicy-86208371-72248504 2026-08-14 09:25:36,365 - INFO - Deleting VM ctest-TestBasicPolicy-86208371-44869170 2026-08-14 09:25:36,834 - INFO - Deleted policy ctest-policy-allow-all-16346323 2026-08-14 09:25:36,834 - INFO - Deleting VN ctest-vn-48880729 2026-08-14 09:25:36,890 - DEBUG - VN 28d7d8dc-7eda-4b6e-8772-db22faf873be still in use: Unable to complete operation on network 28d7d8dc-7eda-4b6e-8772-db22faf873be. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3dcedc36-f07c-4bca-aad5-133c619e5767'] 2026-08-14 09:25:36,890 - WARNING - Deleting VN ctest-vn-48880729 failed..Will retry 2026-08-14 09:25:39,052 - DEBUG - Response for deleting network () 2026-08-14 09:25:39,052 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/3ce093ad-a567-4977-90a8-7a84325f0ca0 2026-08-14 09:25:39,062 - DEBUG - Response Code: 404 2026-08-14 09:25:39,062 - DEBUG - Requesting: http://10.0.0.251:8082/domains 2026-08-14 09:25:39,068 - DEBUG - Requesting: http://10.0.0.251:8082/domain/3796ba4a-a2e5-4c57-adc4-667865ee06e9 2026-08-14 09:25:39,130 - DEBUG - Requesting: http://10.0.0.251:8082/project/06c6e153-e50c-4332-9168-2a9931d09f66 2026-08-14 09:25:39,226 - INFO - Validated that VN ctest-vn-48880729 is not found in API Server 2026-08-14 09:25:39,244 - DEBUG - VN ctest-vn-48880729 is not present in Agent 10.0.0.251 2026-08-14 09:25:39,244 - INFO - Validated that VN ctest-vn-48880729 is not in any agent 2026-08-14 09:25:39,268 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-48880729 info 2026-08-14 09:25:39,269 - INFO - Deleting VN ctest-vn-69199648 2026-08-14 09:25:39,403 - DEBUG - Response for deleting network () 2026-08-14 09:25:39,404 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/7990bc4e-20ca-4d12-b545-017071e524b5 2026-08-14 09:25:39,412 - DEBUG - Response Code: 404 2026-08-14 09:25:39,413 - DEBUG - Requesting: http://10.0.0.251:8082/domains 2026-08-14 09:25:39,419 - DEBUG - Requesting: http://10.0.0.251:8082/domain/3796ba4a-a2e5-4c57-adc4-667865ee06e9 2026-08-14 09:25:39,478 - DEBUG - Requesting: http://10.0.0.251:8082/project/06c6e153-e50c-4332-9168-2a9931d09f66 2026-08-14 09:25:39,570 - INFO - Validated that VN ctest-vn-69199648 is not found in API Server 2026-08-14 09:25:39,585 - DEBUG - VN ctest-vn-69199648 is not present in Agent 10.0.0.251 2026-08-14 09:25:39,585 - INFO - Validated that VN ctest-vn-69199648 is not in any agent 2026-08-14 09:25:39,605 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-69199648 info 2026-08-14 09:25:39,881 - DEBUG - No XMPP flaps were noticed during the test
2026-08-14 09:25:39,881 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:06]
2026-08-14 09:25:39,881 - INFO - -------------------------------------------------------------------------------- 2026-08-14 09:25:40,709 - INFO - Deleted project: ctest-TestBasicPolicy-86208371, ID : 06c6e153-e50c-4332-9168-2a9931d09f66