2026-06-04 16:59:16,464 - INFO - Domain Default found not creating 2026-06-04 16:59:16,645 - INFO - Project ctest-TestBasicPolicy-31413496 not found, creating it 2026-06-04 16:59:17,120 - INFO - Created Project:ctest-TestBasicPolicy-31413496, ID : 18dbb5b4-8790-463d-80de-d73dbdae4257 2026-06-04 16:59:18,633 - INFO - ================================================================================ 2026-06-04 16:59:18,633 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-06-04 16:59:18,633 - 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-06-04 16:59:18,892 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.192': '0'}} with 2026-06-04 16:59:18,892 - INFO - Initial checks done. Running the testcase now 2026-06-04 16:59:18,892 - INFO - 2026-06-04 16:59:19,467 - DEBUG - Response for create_network : {'network': {'id': '74b21ab7-d0fc-45f6-971e-22c8a7380d2e', 'name': 'ctest-vn-84693248', 'tenant_id': '18dbb5b48790463d80ded73dbdae4257', 'project_id': '18dbb5b48790463d80ded73dbdae4257', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31413496', 'ctest-vn-84693248'], 'port_security_enabled': True, 'description': ''}} 2026-06-04 16:59:19,699 - DEBUG - Response for create_subnet : {'subnet': {'id': '51e2ebf9-d368-4514-b8e3-fd71e5a72af1', 'name': '', 'tenant_id': '18dbb5b48790463d80ded73dbdae4257', 'network_id': '74b21ab7-d0fc-45f6-971e-22c8a7380d2e', 'ip_version': 4, 'cidr': '160.131.126.192/26', 'allocation_pools': [{'start': '160.131.126.194', 'end': '160.131.126.254'}], 'gateway_ip': '160.131.126.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '160.131.126.194', 'tags': [], 'project_id': '18dbb5b48790463d80ded73dbdae4257'}} 2026-06-04 16:59:19,720 - INFO - Created VN ctest-vn-84693248 2026-06-04 16:59:19,774 - DEBUG - VN ctest-vn-84693248 UUID is 74b21ab7-d0fc-45f6-971e-22c8a7380d2e 2026-06-04 16:59:20,119 - DEBUG - Response for create_network : {'network': {'id': '5c9fbb38-15ec-4fd8-9b7a-7c0f61698f5d', 'name': 'ctest-vn-14449037', 'tenant_id': '18dbb5b48790463d80ded73dbdae4257', 'project_id': '18dbb5b48790463d80ded73dbdae4257', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31413496', 'ctest-vn-14449037'], 'port_security_enabled': True, 'description': ''}} 2026-06-04 16:59:20,306 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c3f62828-4985-410b-9767-65f3a02fd6af', 'name': '', 'tenant_id': '18dbb5b48790463d80ded73dbdae4257', 'network_id': '5c9fbb38-15ec-4fd8-9b7a-7c0f61698f5d', 'ip_version': 4, 'cidr': '218.155.112.192/26', 'allocation_pools': [{'start': '218.155.112.194', 'end': '218.155.112.254'}], 'gateway_ip': '218.155.112.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '218.155.112.194', 'tags': [], 'project_id': '18dbb5b48790463d80ded73dbdae4257'}} 2026-06-04 16:59:20,326 - INFO - Created VN ctest-vn-14449037 2026-06-04 16:59:20,378 - DEBUG - VN ctest-vn-14449037 UUID is 5c9fbb38-15ec-4fd8-9b7a-7c0f61698f5d 2026-06-04 16:59:20,500 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-31413496:ctest-vn-84693248, 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-31413496:ctest-vn-14449037, 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-06-04 16:59:20,792 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '74b21ab7-d0fc-45f6-971e-22c8a7380d2e', 'name': 'ctest-vn-84693248', 'tenant_id': '18dbb5b48790463d80ded73dbdae4257', 'project_id': '18dbb5b48790463d80ded73dbdae4257', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['51e2ebf9-d368-4514-b8e3-fd71e5a72af1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31413496', 'ctest-vn-84693248'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-31413496', 'ctest-policy-allow-all-42588511']], 'subnet_ipam': [{'subnet_cidr': '160.131.126.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-04 16:59:21,020 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5c9fbb38-15ec-4fd8-9b7a-7c0f61698f5d', 'name': 'ctest-vn-14449037', 'tenant_id': '18dbb5b48790463d80ded73dbdae4257', 'project_id': '18dbb5b48790463d80ded73dbdae4257', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c3f62828-4985-410b-9767-65f3a02fd6af'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31413496', 'ctest-vn-14449037'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-31413496', 'ctest-policy-allow-all-42588511']], 'subnet_ipam': [{'subnet_cidr': '218.155.112.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-04 16:59:21,186 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-06-04 16:59:21,478 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-06-04 16:59:21,512 - DEBUG - Requesting: http://10.0.0.242:8082/domain/4f7d0592-fb7c-4a7d-ab37-da824bb82378 2026-06-04 16:59:21,524 - DEBUG - Requesting: http://10.0.0.242:8082/project/18dbb5b4-8790-463d-80de-d73dbdae4257 2026-06-04 16:59:21,600 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/74b21ab7-d0fc-45f6-971e-22c8a7380d2e 2026-06-04 16:59:21,610 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/74b21ab7-d0fc-45f6-971e-22c8a7380d2e 2026-06-04 16:59:21,620 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/ce87ee08-61b4-49a4-b4b5-ffb6e659a330 2026-06-04 16:59:21,629 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/ce87ee08-61b4-49a4-b4b5-ffb6e659a330 2026-06-04 16:59:21,636 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/dc8f838a-8de9-4268-9cb5-bf9871241f2b 2026-06-04 16:59:21,644 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-04 16:59:21,644 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/74b21ab7-d0fc-45f6-971e-22c8a7380d2e 2026-06-04 16:59:21,654 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/ce87ee08-61b4-49a4-b4b5-ffb6e659a330 2026-06-04 16:59:21,670 - INFO - Verified VN network id 11 for VN 74b21ab7-d0fc-45f6-971e-22c8a7380d2e 2026-06-04 16:59:21,670 - INFO - Verifications in API Server for VN ctest-vn-84693248 passed 2026-06-04 16:59:21,670 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/74b21ab7-d0fc-45f6-971e-22c8a7380d2e 2026-06-04 16:59:21,681 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/ce87ee08-61b4-49a4-b4b5-ffb6e659a330 2026-06-04 16:59:21,688 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/ce87ee08-61b4-49a4-b4b5-ffb6e659a330 2026-06-04 16:59:21,694 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/dc8f838a-8de9-4268-9cb5-bf9871241f2b 2026-06-04 16:59:21,709 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-31413496:ctest-vn-84693248', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-31413496', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8408812831041668598', 'uuid-lslong': '10889179194222710062'}, 'enable': 'true', 'created': '2026-06-04T16:59:19', 'last-modified': '2026-06-04T16:59:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.945511'} 2026-06-04 16:59:21,716 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-04 16:59:21,716 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-84693248 passed 2026-06-04 16:59:21,717 - DEBUG - ====Verifying policy data for ctest-vn-84693248 in API_Server ====== 2026-06-04 16:59:21,717 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-06-04 16:59:21,722 - DEBUG - Requesting: http://10.0.0.242:8082/domain/4f7d0592-fb7c-4a7d-ab37-da824bb82378 2026-06-04 16:59:21,733 - DEBUG - Requesting: http://10.0.0.242:8082/project/18dbb5b4-8790-463d-80de-d73dbdae4257 2026-06-04 16:59:21,802 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/74b21ab7-d0fc-45f6-971e-22c8a7380d2e 2026-06-04 16:59:21,811 - DEBUG - ==>Verifying data for policy with id: f878d504-f683-4af6-a26f-7bc540a3dbf9, fqn: ['default-domain', 'ctest-TestBasicPolicy-31413496', 'ctest-policy-allow-all-42588511'] 2026-06-04 16:59:21,811 - INFO - VN ctest-vn-84693248 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-04 16:59:21,811 - DEBUG - Verifying the vn in opserver 2026-06-04 16:59:21,811 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-31413496:ctest-vn-84693248 virtual network link through opserver 10.0.0.242 2026-06-04 16:59:21,811 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-06-04 16:59:22,104 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-06-04 16:59:22,174 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-31413496:ctest-vn-84693248', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-31413496:ctest-vn-84693248?flat'} 2026-06-04 16:59:22,174 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-31413496:ctest-vn-84693248 is found in opserver 2026-06-04 16:59:22,184 - DEBUG - Do not have enough data to verify VN in agent 2026-06-04 16:59:22,189 - DEBUG - VRF ids for VN ctest-vn-84693248: {} 2026-06-04 16:59:22,189 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-06-04 16:59:22,194 - DEBUG - Requesting: http://10.0.0.242:8082/domain/4f7d0592-fb7c-4a7d-ab37-da824bb82378 2026-06-04 16:59:22,204 - DEBUG - Requesting: http://10.0.0.242:8082/project/18dbb5b4-8790-463d-80de-d73dbdae4257 2026-06-04 16:59:22,270 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/5c9fbb38-15ec-4fd8-9b7a-7c0f61698f5d 2026-06-04 16:59:22,281 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/5c9fbb38-15ec-4fd8-9b7a-7c0f61698f5d 2026-06-04 16:59:22,290 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/6c563895-6c31-464d-8e98-1ad1a283531b 2026-06-04 16:59:22,296 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/6c563895-6c31-464d-8e98-1ad1a283531b 2026-06-04 16:59:22,302 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/e47a9ef7-ece4-4549-b87a-2e4a6f8b1e46 2026-06-04 16:59:22,309 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-04 16:59:22,309 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/5c9fbb38-15ec-4fd8-9b7a-7c0f61698f5d 2026-06-04 16:59:22,317 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/6c563895-6c31-464d-8e98-1ad1a283531b 2026-06-04 16:59:22,331 - INFO - Verified VN network id 12 for VN 5c9fbb38-15ec-4fd8-9b7a-7c0f61698f5d 2026-06-04 16:59:22,332 - INFO - Verifications in API Server for VN ctest-vn-14449037 passed 2026-06-04 16:59:22,332 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/5c9fbb38-15ec-4fd8-9b7a-7c0f61698f5d 2026-06-04 16:59:22,341 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/6c563895-6c31-464d-8e98-1ad1a283531b 2026-06-04 16:59:22,348 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/6c563895-6c31-464d-8e98-1ad1a283531b 2026-06-04 16:59:22,355 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/e47a9ef7-ece4-4549-b87a-2e4a6f8b1e46 2026-06-04 16:59:22,366 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-31413496:ctest-vn-14449037', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-31413496', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6674259022346735576', 'uuid-lslong': '11203403428538191709'}, 'enable': 'true', 'created': '2026-06-04T16:59:20', 'last-modified': '2026-06-04T16:59:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.370129'} 2026-06-04 16:59:22,373 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-04 16:59:22,373 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-14449037 passed 2026-06-04 16:59:22,373 - DEBUG - ====Verifying policy data for ctest-vn-14449037 in API_Server ====== 2026-06-04 16:59:22,373 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-06-04 16:59:22,378 - DEBUG - Requesting: http://10.0.0.242:8082/domain/4f7d0592-fb7c-4a7d-ab37-da824bb82378 2026-06-04 16:59:22,392 - DEBUG - Requesting: http://10.0.0.242:8082/project/18dbb5b4-8790-463d-80de-d73dbdae4257 2026-06-04 16:59:22,460 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/5c9fbb38-15ec-4fd8-9b7a-7c0f61698f5d 2026-06-04 16:59:22,469 - DEBUG - ==>Verifying data for policy with id: f878d504-f683-4af6-a26f-7bc540a3dbf9, fqn: ['default-domain', 'ctest-TestBasicPolicy-31413496', 'ctest-policy-allow-all-42588511'] 2026-06-04 16:59:22,469 - INFO - VN ctest-vn-14449037 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-04 16:59:22,469 - DEBUG - Verifying the vn in opserver 2026-06-04 16:59:22,469 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-31413496:ctest-vn-14449037 virtual network link through opserver 10.0.0.242 2026-06-04 16:59:22,469 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-06-04 16:59:22,479 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-31413496:ctest-vn-14449037', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-31413496:ctest-vn-14449037?flat'} 2026-06-04 16:59:22,479 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-31413496:ctest-vn-14449037 is found in opserver 2026-06-04 16:59:22,488 - DEBUG - Do not have enough data to verify VN in agent 2026-06-04 16:59:22,492 - DEBUG - VRF ids for VN ctest-vn-14449037: {} 2026-06-04 16:59:22,548 - DEBUG - Services list from nova: [, , ] 2026-06-04 16:59:23,576 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5892-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5892-1) 2026-06-04 16:59:24,734 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5892-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5892-1) 2026-06-04 16:59:24,734 - INFO - Waiting for VM ctest-TestBasicPolicy-31413496-60222615 to be up.. 2026-06-04 16:59:24,818 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-04 16:59:29,901 - DEBUG - VM is in ACTIVE state now 2026-06-04 16:59:29,901 - INFO - VM name : ctest-TestBasicPolicy-31413496-60222615 2026-06-04 16:59:29,980 - DEBUG - VM ctest-TestBasicPolicy-31413496-60222615 ID is 1ab680c4-6a46-450e-a4bd-f9fee8c9ef27 2026-06-04 16:59:29,999 - DEBUG - VM ctest-TestBasicPolicy-31413496-60222615 launched on Node cn-jenkins-deploy-platform-ansible-os-5892-1 2026-06-04 16:59:30,073 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/1ab680c4-6a46-450e-a4bd-f9fee8c9ef27 2026-06-04 16:59:30,082 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/db07f1bb-e6c9-446a-9a40-7f4dbe614e6e 2026-06-04 16:59:33,341 - 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 1023ms') 2026-06-04 16:59:33,341 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-31413496-60222615 failed! 2026-06-04 16:59:33,394 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-31413496:ctest-vn-84693248 is 160.131.126.193 and allocation pool is NOT set 2026-06-04 16:59:35,455 - 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.19 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.00 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 = 2.996/5.094/7.192/2.098 ms') 2026-06-04 16:59:35,456 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-31413496-60222615 passed 2026-06-04 16:59:35,610 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 16:59:35,610 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-31413496-60222615, IP 160.131.126.195, Port 22 2026-06-04 16:59:35,666 - 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-06-04 16:59:35,739 - DEBUG - VM ctest-TestBasicPolicy-31413496-60222615 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-04 16:59:40,740 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 16:59:40,740 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-31413496-60222615, IP 160.131.126.195, Port 22 2026-06-04 16:59:40,894 - DEBUG - VM ctest-TestBasicPolicy-31413496-60222615 is ready for SSH connections 2026-06-04 16:59:40,894 - INFO - Waiting for VM ctest-TestBasicPolicy-31413496-14774507 to be up.. 2026-06-04 16:59:40,970 - DEBUG - VM is in ACTIVE state now 2026-06-04 16:59:40,970 - INFO - VM name : ctest-TestBasicPolicy-31413496-14774507 2026-06-04 16:59:41,044 - DEBUG - VM ctest-TestBasicPolicy-31413496-14774507 ID is 3ba323ef-c009-4dc0-8a21-2ccfde6fb309 2026-06-04 16:59:41,044 - DEBUG - VM ctest-TestBasicPolicy-31413496-14774507 launched on Node cn-jenkins-deploy-platform-ansible-os-5892-1 2026-06-04 16:59:41,121 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/3ba323ef-c009-4dc0-8a21-2ccfde6fb309 2026-06-04 16:59:41,130 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/db3fc6b2-adad-4a66-8710-96e30b2c1eab 2026-06-04 16:59:42,370 - 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.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.467 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.467/1.584/2.701/1.117 ms') 2026-06-04 16:59:42,371 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-31413496-14774507 passed 2026-06-04 16:59:42,526 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 16:59:42,526 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-31413496-14774507, IP 218.155.112.195, Port 22 2026-06-04 16:59:42,682 - DEBUG - VM ctest-TestBasicPolicy-31413496-14774507 is ready for SSH connections 2026-06-04 16:59:42,682 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 16:59:42,682 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 218.155.112.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-06-04 16:59:42,682 - DEBUG - ping -s 56 -c 3 -W 1 218.155.112.195 2026-06-04 16:59:46,705 - DEBUG - PING 218.155.112.195 (218.155.112.195): 56 data bytes 64 bytes from 218.155.112.195: seq=0 ttl=63 time=3.858 ms 64 bytes from 218.155.112.195: seq=1 ttl=63 time=1.229 ms 64 bytes from 218.155.112.195: seq=2 ttl=63 time=0.948 ms --- 218.155.112.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.948/2.011/3.858 ms 2026-06-04 16:59:46,706 - INFO - Ping to IP 218.155.112.195 from VM ctest-TestBasicPolicy-31413496-60222615 passed 2026-06-04 16:59:46,878 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f878d504-f683-4af6-a26f-7bc540a3dbf9", "href": "http://10.0.0.242:8082/network-policy/f878d504-f683-4af6-a26f-7bc540a3dbf9"}} 2026-06-04 16:59:46,878 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 16:59:46,878 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 218.155.112.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-06-04 16:59:46,878 - DEBUG - ping -s 56 -c 3 -W 1 218.155.112.195 2026-06-04 16:59:50,088 - DEBUG - PING 218.155.112.195 (218.155.112.195): 56 data bytes --- 218.155.112.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-06-04 16:59:50,089 - WARNING - Ping to IP 218.155.112.195 from VM ctest-TestBasicPolicy-31413496-60222615 failed 2026-06-04 16:59:50,089 - INFO - Deleting VM ctest-TestBasicPolicy-31413496-14774507 2026-06-04 16:59:50,167 - INFO - Deleting VM ctest-TestBasicPolicy-31413496-60222615 2026-06-04 16:59:50,606 - INFO - Deleted policy ctest-policy-allow-all-42588511 2026-06-04 16:59:50,606 - INFO - Deleting VN ctest-vn-14449037 2026-06-04 16:59:50,644 - DEBUG - VN 5c9fbb38-15ec-4fd8-9b7a-7c0f61698f5d still in use: Unable to complete operation on network 5c9fbb38-15ec-4fd8-9b7a-7c0f61698f5d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2b4963a8-1354-40a4-8a52-fd738370cb37'] 2026-06-04 16:59:50,644 - WARNING - Deleting VN ctest-vn-14449037 failed..Will retry 2026-06-04 16:59:52,744 - DEBUG - Response for deleting network () 2026-06-04 16:59:52,744 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/6c563895-6c31-464d-8e98-1ad1a283531b 2026-06-04 16:59:52,749 - DEBUG - Response Code: 404 2026-06-04 16:59:52,749 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-06-04 16:59:52,755 - DEBUG - Requesting: http://10.0.0.242:8082/domain/4f7d0592-fb7c-4a7d-ab37-da824bb82378 2026-06-04 16:59:52,807 - DEBUG - Requesting: http://10.0.0.242:8082/project/18dbb5b4-8790-463d-80de-d73dbdae4257 2026-06-04 16:59:52,877 - INFO - Validated that VN ctest-vn-14449037 is not found in API Server 2026-06-04 16:59:52,886 - DEBUG - VN ctest-vn-14449037 is not present in Agent 10.0.0.242 2026-06-04 16:59:52,886 - INFO - Validated that VN ctest-vn-14449037 is not in any agent 2026-06-04 16:59:52,901 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-14449037 info 2026-06-04 16:59:52,901 - INFO - Deleting VN ctest-vn-84693248 2026-06-04 16:59:53,002 - DEBUG - Response for deleting network () 2026-06-04 16:59:53,002 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/ce87ee08-61b4-49a4-b4b5-ffb6e659a330 2026-06-04 16:59:53,008 - DEBUG - Response Code: 404 2026-06-04 16:59:53,008 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-06-04 16:59:53,014 - DEBUG - Requesting: http://10.0.0.242:8082/domain/4f7d0592-fb7c-4a7d-ab37-da824bb82378 2026-06-04 16:59:53,067 - DEBUG - Requesting: http://10.0.0.242:8082/project/18dbb5b4-8790-463d-80de-d73dbdae4257 2026-06-04 16:59:53,141 - INFO - Validated that VN ctest-vn-84693248 is not found in API Server 2026-06-04 16:59:53,150 - DEBUG - VN ctest-vn-84693248 is not present in Agent 10.0.0.242 2026-06-04 16:59:53,150 - INFO - Validated that VN ctest-vn-84693248 is not in any agent 2026-06-04 16:59:53,166 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-84693248 info 2026-06-04 16:59:53,424 - DEBUG - No XMPP flaps were noticed during the test
2026-06-04 16:59:53,424 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2026-06-04 16:59:53,424 - INFO - -------------------------------------------------------------------------------- 2026-06-04 16:59:54,100 - INFO - Deleted project: ctest-TestBasicPolicy-31413496, ID : 18dbb5b4-8790-463d-80de-d73dbdae4257