2026-04-24 14:15:35,486 - INFO - Domain Default found not creating 2026-04-24 14:15:35,719 - INFO - Project ctest-TestBasicPolicy-54263639 not found, creating it 2026-04-24 14:15:36,232 - INFO - Created Project:ctest-TestBasicPolicy-54263639, ID : b147af86-9ef1-42e8-bc55-e9b0b572bf5d 2026-04-24 14:15:37,854 - INFO - ================================================================================ 2026-04-24 14:15:37,854 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-24 14:15:37,855 - 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-04-24 14:15:38,122 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with 2026-04-24 14:15:38,122 - INFO - Initial checks done. Running the testcase now 2026-04-24 14:15:38,122 - INFO - 2026-04-24 14:15:38,775 - DEBUG - Response for create_network : {'network': {'id': '9b0c1146-f8bd-411b-97be-17081de1539e', 'name': 'ctest-vn-33394181', 'tenant_id': 'b147af869ef142e8bc55e9b0b572bf5d', 'project_id': 'b147af869ef142e8bc55e9b0b572bf5d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54263639', 'ctest-vn-33394181'], 'port_security_enabled': True, 'description': ''}} 2026-04-24 14:15:38,962 - DEBUG - Response for create_subnet : {'subnet': {'id': '60b75ee8-a557-4789-b5ac-17e3c8d71820', 'name': '', 'tenant_id': 'b147af869ef142e8bc55e9b0b572bf5d', 'network_id': '9b0c1146-f8bd-411b-97be-17081de1539e', 'ip_version': 4, 'cidr': '192.11.26.128/26', 'allocation_pools': [{'start': '192.11.26.130', 'end': '192.11.26.190'}], 'gateway_ip': '192.11.26.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '192.11.26.130', 'tags': [], 'project_id': 'b147af869ef142e8bc55e9b0b572bf5d'}} 2026-04-24 14:15:38,981 - INFO - Created VN ctest-vn-33394181 2026-04-24 14:15:39,035 - DEBUG - VN ctest-vn-33394181 UUID is 9b0c1146-f8bd-411b-97be-17081de1539e 2026-04-24 14:15:39,336 - DEBUG - Response for create_network : {'network': {'id': 'b8508e5d-55bf-4574-8df5-0743fb71e16f', 'name': 'ctest-vn-07110945', 'tenant_id': 'b147af869ef142e8bc55e9b0b572bf5d', 'project_id': 'b147af869ef142e8bc55e9b0b572bf5d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54263639', 'ctest-vn-07110945'], 'port_security_enabled': True, 'description': ''}} 2026-04-24 14:15:39,501 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f0407fd2-5f6c-4135-8007-a56cea307a18', 'name': '', 'tenant_id': 'b147af869ef142e8bc55e9b0b572bf5d', 'network_id': 'b8508e5d-55bf-4574-8df5-0743fb71e16f', 'ip_version': 4, 'cidr': '25.247.33.0/26', 'allocation_pools': [{'start': '25.247.33.2', 'end': '25.247.33.62'}], 'gateway_ip': '25.247.33.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '25.247.33.2', 'tags': [], 'project_id': 'b147af869ef142e8bc55e9b0b572bf5d'}} 2026-04-24 14:15:39,523 - INFO - Created VN ctest-vn-07110945 2026-04-24 14:15:39,575 - DEBUG - VN ctest-vn-07110945 UUID is b8508e5d-55bf-4574-8df5-0743fb71e16f 2026-04-24 14:15:39,690 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-54263639:ctest-vn-33394181, 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-54263639:ctest-vn-07110945, 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-04-24 14:15:40,006 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9b0c1146-f8bd-411b-97be-17081de1539e', 'name': 'ctest-vn-33394181', 'tenant_id': 'b147af869ef142e8bc55e9b0b572bf5d', 'project_id': 'b147af869ef142e8bc55e9b0b572bf5d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['60b75ee8-a557-4789-b5ac-17e3c8d71820'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54263639', 'ctest-vn-33394181'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-54263639', 'ctest-policy-allow-all-64835156']], 'subnet_ipam': [{'subnet_cidr': '192.11.26.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-24 14:15:40,242 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b8508e5d-55bf-4574-8df5-0743fb71e16f', 'name': 'ctest-vn-07110945', 'tenant_id': 'b147af869ef142e8bc55e9b0b572bf5d', 'project_id': 'b147af869ef142e8bc55e9b0b572bf5d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f0407fd2-5f6c-4135-8007-a56cea307a18'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54263639', 'ctest-vn-07110945'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-54263639', 'ctest-policy-allow-all-64835156']], 'subnet_ipam': [{'subnet_cidr': '25.247.33.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-24 14:15:40,404 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-04-24 14:15:40,712 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-04-24 14:15:40,748 - DEBUG - Requesting: http://10.0.0.249:8082/domain/79c65c63-69d7-41bc-97be-09914138ab11 2026-04-24 14:15:40,761 - DEBUG - Requesting: http://10.0.0.249:8082/project/b147af86-9ef1-42e8-bc55-e9b0b572bf5d 2026-04-24 14:15:40,841 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/9b0c1146-f8bd-411b-97be-17081de1539e 2026-04-24 14:15:40,855 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/9b0c1146-f8bd-411b-97be-17081de1539e 2026-04-24 14:15:40,866 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/d390aed9-888a-48e0-9984-90c896e29df1 2026-04-24 14:15:40,874 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/d390aed9-888a-48e0-9984-90c896e29df1 2026-04-24 14:15:40,882 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/0c9b92a6-ef4b-4144-8602-7bcab915eb63 2026-04-24 14:15:40,889 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-24 14:15:40,889 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/9b0c1146-f8bd-411b-97be-17081de1539e 2026-04-24 14:15:40,900 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/d390aed9-888a-48e0-9984-90c896e29df1 2026-04-24 14:15:40,917 - INFO - Verified VN network id 11 for VN 9b0c1146-f8bd-411b-97be-17081de1539e 2026-04-24 14:15:40,917 - INFO - Verifications in API Server for VN ctest-vn-33394181 passed 2026-04-24 14:15:40,917 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/9b0c1146-f8bd-411b-97be-17081de1539e 2026-04-24 14:15:40,928 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/d390aed9-888a-48e0-9984-90c896e29df1 2026-04-24 14:15:40,936 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/d390aed9-888a-48e0-9984-90c896e29df1 2026-04-24 14:15:40,944 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/0c9b92a6-ef4b-4144-8602-7bcab915eb63 2026-04-24 14:15:40,959 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-54263639:ctest-vn-33394181', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-54263639', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11172323772117893403', 'uuid-lslong': '10934202268930626462'}, 'enable': 'true', 'created': '2026-04-24T14:15:38', 'last-modified': '2026-04-24T14:15:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.985788'} 2026-04-24 14:15:40,967 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-24 14:15:40,967 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-33394181 passed 2026-04-24 14:15:40,967 - DEBUG - ====Verifying policy data for ctest-vn-33394181 in API_Server ====== 2026-04-24 14:15:40,967 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-04-24 14:15:40,974 - DEBUG - Requesting: http://10.0.0.249:8082/domain/79c65c63-69d7-41bc-97be-09914138ab11 2026-04-24 14:15:40,986 - DEBUG - Requesting: http://10.0.0.249:8082/project/b147af86-9ef1-42e8-bc55-e9b0b572bf5d 2026-04-24 14:15:41,056 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/9b0c1146-f8bd-411b-97be-17081de1539e 2026-04-24 14:15:41,065 - DEBUG - ==>Verifying data for policy with id: 9c9ac6f2-d859-4f4f-9676-02e9e0d9268e, fqn: ['default-domain', 'ctest-TestBasicPolicy-54263639', 'ctest-policy-allow-all-64835156'] 2026-04-24 14:15:41,065 - INFO - VN ctest-vn-33394181 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-24 14:15:41,065 - DEBUG - Verifying the vn in opserver 2026-04-24 14:15:41,065 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-54263639:ctest-vn-33394181 virtual network link through opserver 10.0.0.249 2026-04-24 14:15:41,065 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-04-24 14:15:41,358 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-04-24 14:15:41,434 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-54263639:ctest-vn-33394181', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-54263639:ctest-vn-33394181?flat'} 2026-04-24 14:15:41,434 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-54263639:ctest-vn-33394181 is found in opserver 2026-04-24 14:15:41,448 - DEBUG - Do not have enough data to verify VN in agent 2026-04-24 14:15:41,454 - DEBUG - VRF ids for VN ctest-vn-33394181: {} 2026-04-24 14:15:41,455 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-04-24 14:15:41,462 - DEBUG - Requesting: http://10.0.0.249:8082/domain/79c65c63-69d7-41bc-97be-09914138ab11 2026-04-24 14:15:41,473 - DEBUG - Requesting: http://10.0.0.249:8082/project/b147af86-9ef1-42e8-bc55-e9b0b572bf5d 2026-04-24 14:15:41,550 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/b8508e5d-55bf-4574-8df5-0743fb71e16f 2026-04-24 14:15:41,562 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/b8508e5d-55bf-4574-8df5-0743fb71e16f 2026-04-24 14:15:41,572 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/e75da75b-3d4c-4ad9-b275-e07ae76f240e 2026-04-24 14:15:41,580 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/e75da75b-3d4c-4ad9-b275-e07ae76f240e 2026-04-24 14:15:41,587 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/0afc12a5-b65d-4b85-8955-443ca10918d4 2026-04-24 14:15:41,596 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-24 14:15:41,596 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/b8508e5d-55bf-4574-8df5-0743fb71e16f 2026-04-24 14:15:41,606 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/e75da75b-3d4c-4ad9-b275-e07ae76f240e 2026-04-24 14:15:41,621 - INFO - Verified VN network id 12 for VN b8508e5d-55bf-4574-8df5-0743fb71e16f 2026-04-24 14:15:41,621 - INFO - Verifications in API Server for VN ctest-vn-07110945 passed 2026-04-24 14:15:41,621 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/b8508e5d-55bf-4574-8df5-0743fb71e16f 2026-04-24 14:15:41,631 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/e75da75b-3d4c-4ad9-b275-e07ae76f240e 2026-04-24 14:15:41,638 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/e75da75b-3d4c-4ad9-b275-e07ae76f240e 2026-04-24 14:15:41,646 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/0afc12a5-b65d-4b85-8955-443ca10918d4 2026-04-24 14:15:41,661 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-54263639:ctest-vn-07110945', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-54263639', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13281271832637293940', 'uuid-lslong': '10229090117204697455'}, 'enable': 'true', 'created': '2026-04-24T14:15:39', 'last-modified': '2026-04-24T14:15:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.438065'} 2026-04-24 14:15:41,667 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-24 14:15:41,667 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-07110945 passed 2026-04-24 14:15:41,667 - DEBUG - ====Verifying policy data for ctest-vn-07110945 in API_Server ====== 2026-04-24 14:15:41,667 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-04-24 14:15:41,673 - DEBUG - Requesting: http://10.0.0.249:8082/domain/79c65c63-69d7-41bc-97be-09914138ab11 2026-04-24 14:15:41,685 - DEBUG - Requesting: http://10.0.0.249:8082/project/b147af86-9ef1-42e8-bc55-e9b0b572bf5d 2026-04-24 14:15:41,762 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/b8508e5d-55bf-4574-8df5-0743fb71e16f 2026-04-24 14:15:41,772 - DEBUG - ==>Verifying data for policy with id: 9c9ac6f2-d859-4f4f-9676-02e9e0d9268e, fqn: ['default-domain', 'ctest-TestBasicPolicy-54263639', 'ctest-policy-allow-all-64835156'] 2026-04-24 14:15:41,772 - INFO - VN ctest-vn-07110945 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-24 14:15:41,772 - DEBUG - Verifying the vn in opserver 2026-04-24 14:15:41,772 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-54263639:ctest-vn-07110945 virtual network link through opserver 10.0.0.249 2026-04-24 14:15:41,772 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-04-24 14:15:41,783 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-54263639:ctest-vn-07110945', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-54263639:ctest-vn-07110945?flat'} 2026-04-24 14:15:41,783 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-54263639:ctest-vn-07110945 is found in opserver 2026-04-24 14:15:41,793 - DEBUG - Do not have enough data to verify VN in agent 2026-04-24 14:15:41,799 - DEBUG - VRF ids for VN ctest-vn-07110945: {} 2026-04-24 14:15:41,865 - DEBUG - Services list from nova: [, , ] 2026-04-24 14:15:42,935 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5681-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5681-1) 2026-04-24 14:15:44,133 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5681-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5681-1) 2026-04-24 14:15:44,133 - INFO - Waiting for VM ctest-TestBasicPolicy-54263639-50043703 to be up.. 2026-04-24 14:15:44,219 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-24 14:15:49,309 - DEBUG - VM is in ACTIVE state now 2026-04-24 14:15:49,309 - INFO - VM name : ctest-TestBasicPolicy-54263639-50043703 2026-04-24 14:15:49,397 - DEBUG - VM ctest-TestBasicPolicy-54263639-50043703 ID is 72e682a1-6614-44a9-a3ef-0a84ce6c2456 2026-04-24 14:15:49,423 - DEBUG - VM ctest-TestBasicPolicy-54263639-50043703 launched on Node cn-jenkins-deploy-platform-ansible-os-5681-1 2026-04-24 14:15:49,518 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/72e682a1-6614-44a9-a3ef-0a84ce6c2456 2026-04-24 14:15:49,527 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/507a4871-b8a4-4f95-9716-f464348b5a6b 2026-04-24 14:15:52,798 - 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 1030ms') 2026-04-24 14:15:52,798 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-54263639-50043703 failed! 2026-04-24 14:15:52,855 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-54263639:ctest-vn-33394181 is 192.11.26.129 and allocation pool is NOT set 2026-04-24 14:15:54,933 - 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=19.6 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.20 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.200/10.408/19.617/9.208 ms') 2026-04-24 14:15:54,934 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-54263639-50043703 passed 2026-04-24 14:15:55,087 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-24 14:15:55,087 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-54263639-50043703, IP 192.11.26.131, Port 22 2026-04-24 14:15:55,158 - 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-04-24 14:15:55,271 - DEBUG - VM ctest-TestBasicPolicy-54263639-50043703 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-24 14:16:00,271 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-24 14:16:00,271 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-54263639-50043703, IP 192.11.26.131, Port 22 2026-04-24 14:16:00,427 - DEBUG - VM ctest-TestBasicPolicy-54263639-50043703 is ready for SSH connections 2026-04-24 14:16:00,427 - INFO - Waiting for VM ctest-TestBasicPolicy-54263639-30672942 to be up.. 2026-04-24 14:16:00,518 - DEBUG - VM is in ACTIVE state now 2026-04-24 14:16:00,518 - INFO - VM name : ctest-TestBasicPolicy-54263639-30672942 2026-04-24 14:16:00,603 - DEBUG - VM ctest-TestBasicPolicy-54263639-30672942 ID is 1e8794b8-c862-49e8-a0c4-34295eedda35 2026-04-24 14:16:00,604 - DEBUG - VM ctest-TestBasicPolicy-54263639-30672942 launched on Node cn-jenkins-deploy-platform-ansible-os-5681-1 2026-04-24 14:16:00,687 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/1e8794b8-c862-49e8-a0c4-34295eedda35 2026-04-24 14:16:00,696 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/18366ee0-3595-4e3b-8a48-c8af68c31e4d 2026-04-24 14:16:01,946 - 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.13 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.474 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.474/1.801/3.129/1.327 ms') 2026-04-24 14:16:01,946 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-54263639-30672942 passed 2026-04-24 14:16:02,099 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-24 14:16:02,099 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-54263639-30672942, IP 25.247.33.3, Port 22 2026-04-24 14:16:02,269 - DEBUG - VM ctest-TestBasicPolicy-54263639-30672942 is ready for SSH connections 2026-04-24 14:16:02,269 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-24 14:16:02,270 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 25.247.33.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-04-24 14:16:02,270 - DEBUG - ping -s 56 -c 3 -W 1 25.247.33.3 2026-04-24 14:16:06,489 - DEBUG - PING 25.247.33.3 (25.247.33.3): 56 data bytes 64 bytes from 25.247.33.3: seq=0 ttl=63 time=4.743 ms 64 bytes from 25.247.33.3: seq=1 ttl=63 time=1.388 ms 64 bytes from 25.247.33.3: seq=2 ttl=63 time=1.087 ms --- 25.247.33.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.087/2.406/4.743 ms 2026-04-24 14:16:06,489 - INFO - Ping to IP 25.247.33.3 from VM ctest-TestBasicPolicy-54263639-50043703 passed 2026-04-24 14:16:06,671 - DEBUG - Policy Update Response {"network-policy": {"uuid": "9c9ac6f2-d859-4f4f-9676-02e9e0d9268e", "href": "http://10.0.0.249:8082/network-policy/9c9ac6f2-d859-4f4f-9676-02e9e0d9268e"}} 2026-04-24 14:16:06,671 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-24 14:16:06,671 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 25.247.33.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-04-24 14:16:06,671 - DEBUG - ping -s 56 -c 3 -W 1 25.247.33.3 2026-04-24 14:16:09,909 - DEBUG - PING 25.247.33.3 (25.247.33.3): 56 data bytes --- 25.247.33.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-24 14:16:09,910 - WARNING - Ping to IP 25.247.33.3 from VM ctest-TestBasicPolicy-54263639-50043703 failed 2026-04-24 14:16:09,910 - INFO - Deleting VM ctest-TestBasicPolicy-54263639-30672942 2026-04-24 14:16:09,996 - INFO - Deleting VM ctest-TestBasicPolicy-54263639-50043703 2026-04-24 14:16:10,416 - INFO - Deleted policy ctest-policy-allow-all-64835156 2026-04-24 14:16:10,416 - INFO - Deleting VN ctest-vn-07110945 2026-04-24 14:16:10,455 - DEBUG - VN b8508e5d-55bf-4574-8df5-0743fb71e16f still in use: Unable to complete operation on network b8508e5d-55bf-4574-8df5-0743fb71e16f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ebe61876-fd1f-4e76-ac69-82ae401f0b3e'] 2026-04-24 14:16:10,455 - WARNING - Deleting VN ctest-vn-07110945 failed..Will retry 2026-04-24 14:16:12,584 - DEBUG - Response for deleting network () 2026-04-24 14:16:12,585 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/e75da75b-3d4c-4ad9-b275-e07ae76f240e 2026-04-24 14:16:12,593 - DEBUG - Response Code: 404 2026-04-24 14:16:12,593 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-04-24 14:16:12,599 - DEBUG - Requesting: http://10.0.0.249:8082/domain/79c65c63-69d7-41bc-97be-09914138ab11 2026-04-24 14:16:12,654 - DEBUG - Requesting: http://10.0.0.249:8082/project/b147af86-9ef1-42e8-bc55-e9b0b572bf5d 2026-04-24 14:16:12,726 - INFO - Validated that VN ctest-vn-07110945 is not found in API Server 2026-04-24 14:16:12,737 - DEBUG - VN ctest-vn-07110945 is not present in Agent 10.0.0.249 2026-04-24 14:16:12,737 - INFO - Validated that VN ctest-vn-07110945 is not in any agent 2026-04-24 14:16:12,753 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-07110945 info 2026-04-24 14:16:12,753 - INFO - Deleting VN ctest-vn-33394181 2026-04-24 14:16:12,867 - DEBUG - Response for deleting network () 2026-04-24 14:16:12,867 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/d390aed9-888a-48e0-9984-90c896e29df1 2026-04-24 14:16:12,873 - DEBUG - Response Code: 404 2026-04-24 14:16:12,874 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-04-24 14:16:12,879 - DEBUG - Requesting: http://10.0.0.249:8082/domain/79c65c63-69d7-41bc-97be-09914138ab11 2026-04-24 14:16:12,932 - DEBUG - Requesting: http://10.0.0.249:8082/project/b147af86-9ef1-42e8-bc55-e9b0b572bf5d 2026-04-24 14:16:13,013 - INFO - Validated that VN ctest-vn-33394181 is not found in API Server 2026-04-24 14:16:13,023 - DEBUG - VN ctest-vn-33394181 is not present in Agent 10.0.0.249 2026-04-24 14:16:13,023 - INFO - Validated that VN ctest-vn-33394181 is not in any agent 2026-04-24 14:16:13,040 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-33394181 info 2026-04-24 14:16:13,293 - DEBUG - No XMPP flaps were noticed during the test 2026-04-24 14:16:13,293 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36] 2026-04-24 14:16:13,293 - INFO - -------------------------------------------------------------------------------- 2026-04-24 14:16:14,042 - INFO - Deleted project: ctest-TestBasicPolicy-54263639, ID : b147af86-9ef1-42e8-bc55-e9b0b572bf5d