2026-01-29 14:50:12,770 - INFO - Domain Default found not creating 2026-01-29 14:50:12,925 - INFO - Project ctest-TestBasicPolicy-67595414 not found, creating it 2026-01-29 14:50:13,378 - INFO - Created Project:ctest-TestBasicPolicy-67595414, ID : 134cfb7d-3c2e-4367-8f16-9467b33bcab6 2026-01-29 14:50:14,793 - INFO - ================================================================================ 2026-01-29 14:50:14,793 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-29 14:50:14,793 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2026-01-29 14:50:15,050 - DEBUG - Nothing to compare xmpp stats {'10.0.0.246': {'10.20.0.17': '0'}} with 2026-01-29 14:50:15,050 - INFO - Initial checks done. Running the testcase now 2026-01-29 14:50:15,050 - INFO - 2026-01-29 14:50:15,586 - DEBUG - Response for create_network : {'network': {'id': 'a8c30748-2307-4ef8-b13c-fdda16b43177', 'name': 'ctest-vn-65530464', 'tenant_id': '134cfb7d3c2e43678f169467b33bcab6', 'project_id': '134cfb7d3c2e43678f169467b33bcab6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67595414', 'ctest-vn-65530464'], 'port_security_enabled': True, 'description': ''}} 2026-01-29 14:50:15,798 - DEBUG - Response for create_subnet : {'subnet': {'id': '51c4eaf2-93cd-4a15-bfe8-2765f03aaac2', 'name': '', 'tenant_id': '134cfb7d3c2e43678f169467b33bcab6', 'network_id': 'a8c30748-2307-4ef8-b13c-fdda16b43177', 'ip_version': 4, 'cidr': '40.243.38.128/26', 'allocation_pools': [{'start': '40.243.38.130', 'end': '40.243.38.190'}], 'gateway_ip': '40.243.38.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '40.243.38.130', 'tags': [], 'project_id': '134cfb7d3c2e43678f169467b33bcab6'}} 2026-01-29 14:50:15,817 - INFO - Created VN ctest-vn-65530464 2026-01-29 14:50:15,868 - DEBUG - VN ctest-vn-65530464 UUID is a8c30748-2307-4ef8-b13c-fdda16b43177 2026-01-29 14:50:16,187 - DEBUG - Response for create_network : {'network': {'id': 'a0606492-3780-4110-b634-72c9e1eafc83', 'name': 'ctest-vn-96495146', 'tenant_id': '134cfb7d3c2e43678f169467b33bcab6', 'project_id': '134cfb7d3c2e43678f169467b33bcab6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67595414', 'ctest-vn-96495146'], 'port_security_enabled': True, 'description': ''}} 2026-01-29 14:50:16,335 - DEBUG - Response for create_subnet : {'subnet': {'id': '4581fe6d-8bc9-4934-8114-2350b2e185c4', 'name': '', 'tenant_id': '134cfb7d3c2e43678f169467b33bcab6', 'network_id': 'a0606492-3780-4110-b634-72c9e1eafc83', 'ip_version': 4, 'cidr': '33.139.228.0/26', 'allocation_pools': [{'start': '33.139.228.2', 'end': '33.139.228.62'}], 'gateway_ip': '33.139.228.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '33.139.228.2', 'tags': [], 'project_id': '134cfb7d3c2e43678f169467b33bcab6'}} 2026-01-29 14:50:16,352 - INFO - Created VN ctest-vn-96495146 2026-01-29 14:50:16,403 - DEBUG - VN ctest-vn-96495146 UUID is a0606492-3780-4110-b634-72c9e1eafc83 2026-01-29 14:50:16,551 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-67595414:ctest-vn-65530464, 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-67595414:ctest-vn-96495146, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2026-01-29 14:50:16,852 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a8c30748-2307-4ef8-b13c-fdda16b43177', 'name': 'ctest-vn-65530464', 'tenant_id': '134cfb7d3c2e43678f169467b33bcab6', 'project_id': '134cfb7d3c2e43678f169467b33bcab6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['51c4eaf2-93cd-4a15-bfe8-2765f03aaac2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67595414', 'ctest-vn-65530464'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-67595414', 'ctest-policy-allow-all-40024317']], 'subnet_ipam': [{'subnet_cidr': '40.243.38.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-29 14:50:17,076 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a0606492-3780-4110-b634-72c9e1eafc83', 'name': 'ctest-vn-96495146', 'tenant_id': '134cfb7d3c2e43678f169467b33bcab6', 'project_id': '134cfb7d3c2e43678f169467b33bcab6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4581fe6d-8bc9-4934-8114-2350b2e185c4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67595414', 'ctest-vn-96495146'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-67595414', 'ctest-policy-allow-all-40024317']], 'subnet_ipam': [{'subnet_cidr': '33.139.228.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-29 14:50:17,236 - DEBUG - Requesting: http://10.0.0.246:8082/domains 2026-01-29 14:50:17,533 - DEBUG - Requesting: http://10.0.0.246:8082/domains 2026-01-29 14:50:17,563 - DEBUG - Requesting: http://10.0.0.246:8082/domain/ab960573-c036-473c-9e4c-333386525eb1 2026-01-29 14:50:17,576 - DEBUG - Requesting: http://10.0.0.246:8082/project/134cfb7d-3c2e-4367-8f16-9467b33bcab6 2026-01-29 14:50:17,646 - DEBUG - Requesting: http://10.0.0.246:8082/virtual-network/a8c30748-2307-4ef8-b13c-fdda16b43177 2026-01-29 14:50:17,656 - DEBUG - Requesting: http://10.0.0.246:8082/virtual-network/a8c30748-2307-4ef8-b13c-fdda16b43177 2026-01-29 14:50:17,665 - DEBUG - Requesting: http://10.0.0.246:8082/routing-instance/89a60395-09af-412b-85f4-1302c12b1765 2026-01-29 14:50:17,672 - DEBUG - Requesting: http://10.0.0.246:8082/routing-instance/89a60395-09af-412b-85f4-1302c12b1765 2026-01-29 14:50:17,679 - DEBUG - Requesting: http://10.0.0.246:8082/route-target/a9596799-94e6-4b50-a82f-04646777d812 2026-01-29 14:50:17,686 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-29 14:50:17,686 - DEBUG - Requesting: http://10.0.0.246:8082/virtual-network/a8c30748-2307-4ef8-b13c-fdda16b43177 2026-01-29 14:50:17,695 - DEBUG - Requesting: http://10.0.0.246:8082/routing-instance/89a60395-09af-412b-85f4-1302c12b1765 2026-01-29 14:50:17,707 - INFO - Verified VN network id 12 for VN a8c30748-2307-4ef8-b13c-fdda16b43177 2026-01-29 14:50:17,707 - INFO - Verifications in API Server for VN ctest-vn-65530464 passed 2026-01-29 14:50:17,707 - DEBUG - Requesting: http://10.0.0.246:8082/virtual-network/a8c30748-2307-4ef8-b13c-fdda16b43177 2026-01-29 14:50:17,715 - DEBUG - Requesting: http://10.0.0.246:8082/routing-instance/89a60395-09af-412b-85f4-1302c12b1765 2026-01-29 14:50:17,721 - DEBUG - Requesting: http://10.0.0.246:8082/routing-instance/89a60395-09af-412b-85f4-1302c12b1765 2026-01-29 14:50:17,726 - DEBUG - Requesting: http://10.0.0.246:8082/route-target/a9596799-94e6-4b50-a82f-04646777d812 2026-01-29 14:50:17,753 - DEBUG - Control-node 10.0.0.246 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-67595414:ctest-vn-65530464', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-67595414', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12160571425237192440', 'uuid-lslong': '12771361756441489783'}, 'enable': 'true', 'created': '2026-01-29T14:50:15', 'last-modified': '2026-01-29T14:50:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.905202'} 2026-01-29 14:50:17,762 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-29 14:50:17,762 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-65530464 passed 2026-01-29 14:50:17,763 - DEBUG - ====Verifying policy data for ctest-vn-65530464 in API_Server ====== 2026-01-29 14:50:17,763 - DEBUG - Requesting: http://10.0.0.246:8082/domains 2026-01-29 14:50:17,769 - DEBUG - Requesting: http://10.0.0.246:8082/domain/ab960573-c036-473c-9e4c-333386525eb1 2026-01-29 14:50:17,781 - DEBUG - Requesting: http://10.0.0.246:8082/project/134cfb7d-3c2e-4367-8f16-9467b33bcab6 2026-01-29 14:50:17,861 - DEBUG - Requesting: http://10.0.0.246:8082/virtual-network/a8c30748-2307-4ef8-b13c-fdda16b43177 2026-01-29 14:50:17,871 - DEBUG - ==>Verifying data for policy with id: dea54d23-098a-411e-b12b-a1a5b4047b07, fqn: ['default-domain', 'ctest-TestBasicPolicy-67595414', 'ctest-policy-allow-all-40024317'] 2026-01-29 14:50:17,871 - INFO - VN ctest-vn-65530464 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-29 14:50:17,871 - DEBUG - Verifying the vn in opserver 2026-01-29 14:50:17,871 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67595414:ctest-vn-65530464 virtual network link through opserver 10.0.0.246 2026-01-29 14:50:17,871 - DEBUG - Requesting: http://10.0.0.246:8081/analytics/uves/virtual-networks 2026-01-29 14:50:18,170 - DEBUG - Requesting: http://10.0.0.246:8081/analytics/uves/virtual-networks 2026-01-29 14:50:18,228 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-67595414:ctest-vn-65530464', 'href': 'http://10.0.0.246:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-67595414:ctest-vn-65530464?flat'} 2026-01-29 14:50:18,228 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-67595414:ctest-vn-65530464 is found in opserver 2026-01-29 14:50:18,236 - DEBUG - Do not have enough data to verify VN in agent 2026-01-29 14:50:18,241 - DEBUG - VRF ids for VN ctest-vn-65530464: {} 2026-01-29 14:50:18,241 - DEBUG - Requesting: http://10.0.0.246:8082/domains 2026-01-29 14:50:18,245 - DEBUG - Requesting: http://10.0.0.246:8082/domain/ab960573-c036-473c-9e4c-333386525eb1 2026-01-29 14:50:18,254 - DEBUG - Requesting: http://10.0.0.246:8082/project/134cfb7d-3c2e-4367-8f16-9467b33bcab6 2026-01-29 14:50:18,321 - DEBUG - Requesting: http://10.0.0.246:8082/virtual-network/a0606492-3780-4110-b634-72c9e1eafc83 2026-01-29 14:50:18,331 - DEBUG - Requesting: http://10.0.0.246:8082/virtual-network/a0606492-3780-4110-b634-72c9e1eafc83 2026-01-29 14:50:18,339 - DEBUG - Requesting: http://10.0.0.246:8082/routing-instance/73be622d-0b20-4fe0-9ccb-929ff17fae84 2026-01-29 14:50:18,346 - DEBUG - Requesting: http://10.0.0.246:8082/routing-instance/73be622d-0b20-4fe0-9ccb-929ff17fae84 2026-01-29 14:50:18,353 - DEBUG - Requesting: http://10.0.0.246:8082/route-target/ffbca8f4-41e4-458b-bbc7-3d35ffc4b154 2026-01-29 14:50:18,359 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-29 14:50:18,359 - DEBUG - Requesting: http://10.0.0.246:8082/virtual-network/a0606492-3780-4110-b634-72c9e1eafc83 2026-01-29 14:50:18,368 - DEBUG - Requesting: http://10.0.0.246:8082/routing-instance/73be622d-0b20-4fe0-9ccb-929ff17fae84 2026-01-29 14:50:18,380 - INFO - Verified VN network id 13 for VN a0606492-3780-4110-b634-72c9e1eafc83 2026-01-29 14:50:18,380 - INFO - Verifications in API Server for VN ctest-vn-96495146 passed 2026-01-29 14:50:18,381 - DEBUG - Requesting: http://10.0.0.246:8082/virtual-network/a0606492-3780-4110-b634-72c9e1eafc83 2026-01-29 14:50:18,388 - DEBUG - Requesting: http://10.0.0.246:8082/routing-instance/73be622d-0b20-4fe0-9ccb-929ff17fae84 2026-01-29 14:50:18,394 - DEBUG - Requesting: http://10.0.0.246:8082/routing-instance/73be622d-0b20-4fe0-9ccb-929ff17fae84 2026-01-29 14:50:18,400 - DEBUG - Requesting: http://10.0.0.246:8082/route-target/ffbca8f4-41e4-458b-bbc7-3d35ffc4b154 2026-01-29 14:50:18,410 - DEBUG - Control-node 10.0.0.246 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-67595414:ctest-vn-96495146', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-67595414', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11556347222991847696', 'uuid-lslong': '13129245025096105091'}, 'enable': 'true', 'created': '2026-01-29T14:50:16', 'last-modified': '2026-01-29T14:50:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.351850'} 2026-01-29 14:50:18,415 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-29 14:50:18,416 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-96495146 passed 2026-01-29 14:50:18,416 - DEBUG - ====Verifying policy data for ctest-vn-96495146 in API_Server ====== 2026-01-29 14:50:18,416 - DEBUG - Requesting: http://10.0.0.246:8082/domains 2026-01-29 14:50:18,423 - DEBUG - Requesting: http://10.0.0.246:8082/domain/ab960573-c036-473c-9e4c-333386525eb1 2026-01-29 14:50:18,433 - DEBUG - Requesting: http://10.0.0.246:8082/project/134cfb7d-3c2e-4367-8f16-9467b33bcab6 2026-01-29 14:50:18,497 - DEBUG - Requesting: http://10.0.0.246:8082/virtual-network/a0606492-3780-4110-b634-72c9e1eafc83 2026-01-29 14:50:18,505 - DEBUG - ==>Verifying data for policy with id: dea54d23-098a-411e-b12b-a1a5b4047b07, fqn: ['default-domain', 'ctest-TestBasicPolicy-67595414', 'ctest-policy-allow-all-40024317'] 2026-01-29 14:50:18,505 - INFO - VN ctest-vn-96495146 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-29 14:50:18,505 - DEBUG - Verifying the vn in opserver 2026-01-29 14:50:18,505 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67595414:ctest-vn-96495146 virtual network link through opserver 10.0.0.246 2026-01-29 14:50:18,505 - DEBUG - Requesting: http://10.0.0.246:8081/analytics/uves/virtual-networks 2026-01-29 14:50:18,513 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-67595414:ctest-vn-96495146', 'href': 'http://10.0.0.246:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-67595414:ctest-vn-96495146?flat'} 2026-01-29 14:50:18,514 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-67595414:ctest-vn-96495146 is found in opserver 2026-01-29 14:50:18,523 - DEBUG - Do not have enough data to verify VN in agent 2026-01-29 14:50:18,527 - DEBUG - VRF ids for VN ctest-vn-96495146: {} 2026-01-29 14:50:18,577 - DEBUG - Services list from nova: [, , ] 2026-01-29 14:50:19,567 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5130-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5130-1) 2026-01-29 14:50:20,721 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5130-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5130-1) 2026-01-29 14:50:20,721 - INFO - Waiting for VM ctest-TestBasicPolicy-67595414-64925226 to be up.. 2026-01-29 14:50:20,794 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-29 14:50:25,868 - DEBUG - VM is in ACTIVE state now 2026-01-29 14:50:25,869 - INFO - VM name : ctest-TestBasicPolicy-67595414-64925226 2026-01-29 14:50:25,937 - DEBUG - VM ctest-TestBasicPolicy-67595414-64925226 ID is d6811b1c-0d34-4a96-a7f6-3d9e5194cdf3 2026-01-29 14:50:25,959 - DEBUG - VM ctest-TestBasicPolicy-67595414-64925226 launched on Node cn-jenkins-deploy-platform-ansible-os-5130-1 2026-01-29 14:50:26,030 - DEBUG - Requesting: http://10.0.0.246:8082/virtual-machine/d6811b1c-0d34-4a96-a7f6-3d9e5194cdf3 2026-01-29 14:50:26,037 - DEBUG - Requesting: http://10.0.0.246:8082/virtual-machine-interface/bbabefbb-cc3c-40c7-aab3-566f13176e1e 2026-01-29 14:50:29,287 - 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 1019ms') 2026-01-29 14:50:29,287 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-67595414-64925226 failed! 2026-01-29 14:50:29,340 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-67595414:ctest-vn-65530464 is 40.243.38.129 and allocation pool is NOT set 2026-01-29 14:50:31,404 - 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=3.89 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.24 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 = 1.243/2.567/3.891/1.324 ms') 2026-01-29 14:50:31,404 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-67595414-64925226 passed 2026-01-29 14:50:31,560 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 14:50:31,560 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-67595414-64925226, IP 40.243.38.131, Port 22 2026-01-29 14:50:31,625 - 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-01-29 14:50:31,700 - DEBUG - VM ctest-TestBasicPolicy-67595414-64925226 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-29 14:50:36,701 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 14:50:36,701 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-67595414-64925226, IP 40.243.38.131, Port 22 2026-01-29 14:50:36,855 - DEBUG - VM ctest-TestBasicPolicy-67595414-64925226 is ready for SSH connections 2026-01-29 14:50:36,855 - INFO - Waiting for VM ctest-TestBasicPolicy-67595414-30688057 to be up.. 2026-01-29 14:50:36,924 - DEBUG - VM is in ACTIVE state now 2026-01-29 14:50:36,924 - INFO - VM name : ctest-TestBasicPolicy-67595414-30688057 2026-01-29 14:50:36,989 - DEBUG - VM ctest-TestBasicPolicy-67595414-30688057 ID is 27ee67b0-c2e3-4a79-90a4-6925248f0d0d 2026-01-29 14:50:36,989 - DEBUG - VM ctest-TestBasicPolicy-67595414-30688057 launched on Node cn-jenkins-deploy-platform-ansible-os-5130-1 2026-01-29 14:50:37,058 - DEBUG - Requesting: http://10.0.0.246:8082/virtual-machine/27ee67b0-c2e3-4a79-90a4-6925248f0d0d 2026-01-29 14:50:37,065 - DEBUG - Requesting: http://10.0.0.246:8082/virtual-machine-interface/7713171e-0d29-48bb-b213-d80b58eee6c7 2026-01-29 14:50:38,291 - 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=2.97 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.415 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.415/1.692/2.970/1.277 ms') 2026-01-29 14:50:38,292 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-67595414-30688057 passed 2026-01-29 14:50:38,444 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 14:50:38,444 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-67595414-30688057, IP 33.139.228.3, Port 22 2026-01-29 14:50:38,599 - DEBUG - VM ctest-TestBasicPolicy-67595414-30688057 is ready for SSH connections 2026-01-29 14:50:38,599 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 14:50:38,599 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 33.139.228.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.246, gateway password: c0ntrail123 2026-01-29 14:50:38,599 - DEBUG - ping -s 56 -c 3 -W 1 33.139.228.3 2026-01-29 14:50:42,627 - DEBUG - PING 33.139.228.3 (33.139.228.3): 56 data bytes 64 bytes from 33.139.228.3: seq=0 ttl=63 time=3.574 ms 64 bytes from 33.139.228.3: seq=1 ttl=63 time=0.989 ms 64 bytes from 33.139.228.3: seq=2 ttl=63 time=0.892 ms --- 33.139.228.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.892/1.818/3.574 ms 2026-01-29 14:50:42,627 - INFO - Ping to IP 33.139.228.3 from VM ctest-TestBasicPolicy-67595414-64925226 passed 2026-01-29 14:50:42,803 - DEBUG - Policy Update Response {"network-policy": {"uuid": "dea54d23-098a-411e-b12b-a1a5b4047b07", "href": "http://10.0.0.246:8082/network-policy/dea54d23-098a-411e-b12b-a1a5b4047b07"}} 2026-01-29 14:50:42,803 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 14:50:42,804 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 33.139.228.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.246, gateway password: c0ntrail123 2026-01-29 14:50:42,804 - DEBUG - ping -s 56 -c 3 -W 1 33.139.228.3 2026-01-29 14:50:46,065 - DEBUG - PING 33.139.228.3 (33.139.228.3): 56 data bytes --- 33.139.228.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-29 14:50:46,065 - WARNING - Ping to IP 33.139.228.3 from VM ctest-TestBasicPolicy-67595414-64925226 failed 2026-01-29 14:50:46,066 - INFO - Deleting VM ctest-TestBasicPolicy-67595414-30688057 2026-01-29 14:50:46,139 - INFO - Deleting VM ctest-TestBasicPolicy-67595414-64925226 2026-01-29 14:50:46,541 - INFO - Deleted policy ctest-policy-allow-all-40024317 2026-01-29 14:50:46,541 - INFO - Deleting VN ctest-vn-96495146 2026-01-29 14:50:46,571 - DEBUG - VN a0606492-3780-4110-b634-72c9e1eafc83 still in use: Unable to complete operation on network a0606492-3780-4110-b634-72c9e1eafc83. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bef87477-cb6b-410e-863e-aea7c3ef52ce'] 2026-01-29 14:50:46,571 - WARNING - Deleting VN ctest-vn-96495146 failed..Will retry 2026-01-29 14:50:48,677 - DEBUG - Response for deleting network () 2026-01-29 14:50:48,677 - DEBUG - Requesting: http://10.0.0.246:8082/routing-instance/73be622d-0b20-4fe0-9ccb-929ff17fae84 2026-01-29 14:50:48,683 - DEBUG - Response Code: 404 2026-01-29 14:50:48,683 - DEBUG - Requesting: http://10.0.0.246:8082/domains 2026-01-29 14:50:48,690 - DEBUG - Requesting: http://10.0.0.246:8082/domain/ab960573-c036-473c-9e4c-333386525eb1 2026-01-29 14:50:48,745 - DEBUG - Requesting: http://10.0.0.246:8082/project/134cfb7d-3c2e-4367-8f16-9467b33bcab6 2026-01-29 14:50:48,813 - INFO - Validated that VN ctest-vn-96495146 is not found in API Server 2026-01-29 14:50:48,822 - DEBUG - VN ctest-vn-96495146 is not present in Agent 10.0.0.246 2026-01-29 14:50:48,822 - INFO - Validated that VN ctest-vn-96495146 is not in any agent 2026-01-29 14:50:48,835 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-96495146 info 2026-01-29 14:50:48,835 - INFO - Deleting VN ctest-vn-65530464 2026-01-29 14:50:48,927 - DEBUG - Response for deleting network () 2026-01-29 14:50:48,927 - DEBUG - Requesting: http://10.0.0.246:8082/routing-instance/89a60395-09af-412b-85f4-1302c12b1765 2026-01-29 14:50:48,934 - DEBUG - Response Code: 404 2026-01-29 14:50:48,934 - DEBUG - Requesting: http://10.0.0.246:8082/domains 2026-01-29 14:50:48,943 - DEBUG - Requesting: http://10.0.0.246:8082/domain/ab960573-c036-473c-9e4c-333386525eb1 2026-01-29 14:50:48,996 - DEBUG - Requesting: http://10.0.0.246:8082/project/134cfb7d-3c2e-4367-8f16-9467b33bcab6 2026-01-29 14:50:49,065 - INFO - Validated that VN ctest-vn-65530464 is not found in API Server 2026-01-29 14:50:49,076 - DEBUG - VN ctest-vn-65530464 is not present in Agent 10.0.0.246 2026-01-29 14:50:49,076 - INFO - Validated that VN ctest-vn-65530464 is not in any agent 2026-01-29 14:50:49,087 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-65530464 info 2026-01-29 14:50:49,357 - DEBUG - No XMPP flaps were noticed during the test 2026-01-29 14:50:49,357 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2026-01-29 14:50:49,357 - INFO - -------------------------------------------------------------------------------- 2026-01-29 14:50:50,030 - INFO - Deleted project: ctest-TestBasicPolicy-67595414, ID : 134cfb7d-3c2e-4367-8f16-9467b33bcab6