2026-08-25 08:20:16,103 - INFO - Domain Default found not creating 2026-08-25 08:20:16,300 - INFO - Project ctest-TestBasicPolicy-24051036 not found, creating it 2026-08-25 08:20:16,808 - INFO - Created Project:ctest-TestBasicPolicy-24051036, ID : 2f1553b7-331c-4ab0-9b99-e2b3ed05d34b 2026-08-25 08:20:18,597 - INFO - ================================================================================ 2026-08-25 08:20:18,597 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-08-25 08:20:18,597 - 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-25 08:20:18,871 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-08-25 08:20:18,871 - INFO - Initial checks done. Running the testcase now 2026-08-25 08:20:18,871 - INFO - 2026-08-25 08:20:19,541 - DEBUG - Response for create_network : {'network': {'id': '8029f3fc-b49c-47d3-a1d1-abc3c9769eca', 'name': 'ctest-vn-01937877', 'tenant_id': '2f1553b7331c4ab09b99e2b3ed05d34b', 'project_id': '2f1553b7331c4ab09b99e2b3ed05d34b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24051036', 'ctest-vn-01937877'], 'port_security_enabled': True, 'description': ''}} 2026-08-25 08:20:19,778 - DEBUG - Response for create_subnet : {'subnet': {'id': '945b609b-825b-4adb-bead-deed72a0ef8e', 'name': '', 'tenant_id': '2f1553b7331c4ab09b99e2b3ed05d34b', 'network_id': '8029f3fc-b49c-47d3-a1d1-abc3c9769eca', 'ip_version': 4, 'cidr': '75.230.78.192/26', 'allocation_pools': [{'start': '75.230.78.194', 'end': '75.230.78.254'}], 'gateway_ip': '75.230.78.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '75.230.78.194', 'tags': [], 'project_id': '2f1553b7331c4ab09b99e2b3ed05d34b'}} 2026-08-25 08:20:19,797 - INFO - Created VN ctest-vn-01937877 2026-08-25 08:20:19,854 - DEBUG - VN ctest-vn-01937877 UUID is 8029f3fc-b49c-47d3-a1d1-abc3c9769eca 2026-08-25 08:20:20,190 - DEBUG - Response for create_network : {'network': {'id': '17be4358-84b4-4e0d-ab55-37489417f1b0', 'name': 'ctest-vn-96265587', 'tenant_id': '2f1553b7331c4ab09b99e2b3ed05d34b', 'project_id': '2f1553b7331c4ab09b99e2b3ed05d34b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24051036', 'ctest-vn-96265587'], 'port_security_enabled': True, 'description': ''}} 2026-08-25 08:20:20,402 - DEBUG - Response for create_subnet : {'subnet': {'id': '8d77348e-1588-4fa5-b186-1b13e263bf41', 'name': '', 'tenant_id': '2f1553b7331c4ab09b99e2b3ed05d34b', 'network_id': '17be4358-84b4-4e0d-ab55-37489417f1b0', 'ip_version': 4, 'cidr': '78.127.11.192/26', 'allocation_pools': [{'start': '78.127.11.194', 'end': '78.127.11.254'}], 'gateway_ip': '78.127.11.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '78.127.11.194', 'tags': [], 'project_id': '2f1553b7331c4ab09b99e2b3ed05d34b'}} 2026-08-25 08:20:20,422 - INFO - Created VN ctest-vn-96265587 2026-08-25 08:20:20,478 - DEBUG - VN ctest-vn-96265587 UUID is 17be4358-84b4-4e0d-ab55-37489417f1b0 2026-08-25 08:20:20,599 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-24051036:ctest-vn-01937877, 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-24051036:ctest-vn-96265587, 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-25 08:20:20,935 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8029f3fc-b49c-47d3-a1d1-abc3c9769eca', 'name': 'ctest-vn-01937877', 'tenant_id': '2f1553b7331c4ab09b99e2b3ed05d34b', 'project_id': '2f1553b7331c4ab09b99e2b3ed05d34b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['945b609b-825b-4adb-bead-deed72a0ef8e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24051036', 'ctest-vn-01937877'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-24051036', 'ctest-policy-allow-all-39350880']], 'subnet_ipam': [{'subnet_cidr': '75.230.78.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-25 08:20:21,191 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '17be4358-84b4-4e0d-ab55-37489417f1b0', 'name': 'ctest-vn-96265587', 'tenant_id': '2f1553b7331c4ab09b99e2b3ed05d34b', 'project_id': '2f1553b7331c4ab09b99e2b3ed05d34b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['8d77348e-1588-4fa5-b186-1b13e263bf41'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24051036', 'ctest-vn-96265587'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-24051036', 'ctest-policy-allow-all-39350880']], 'subnet_ipam': [{'subnet_cidr': '78.127.11.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-25 08:20:21,366 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-08-25 08:20:21,746 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-08-25 08:20:21,778 - DEBUG - Requesting: http://10.0.0.38:8082/domain/0d4677a8-59fa-40f2-a66c-82b6bdeb6beb 2026-08-25 08:20:21,794 - DEBUG - Requesting: http://10.0.0.38:8082/project/2f1553b7-331c-4ab0-9b99-e2b3ed05d34b 2026-08-25 08:20:21,880 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/8029f3fc-b49c-47d3-a1d1-abc3c9769eca 2026-08-25 08:20:21,897 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/8029f3fc-b49c-47d3-a1d1-abc3c9769eca 2026-08-25 08:20:21,908 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4a4dc17e-2972-481f-9522-6c0d23b1689d 2026-08-25 08:20:21,917 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4a4dc17e-2972-481f-9522-6c0d23b1689d 2026-08-25 08:20:21,928 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/fa83c811-6126-48d1-aeb8-f035573cfbba 2026-08-25 08:20:21,937 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-25 08:20:21,937 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/8029f3fc-b49c-47d3-a1d1-abc3c9769eca 2026-08-25 08:20:21,951 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4a4dc17e-2972-481f-9522-6c0d23b1689d 2026-08-25 08:20:21,973 - INFO - Verified VN network id 11 for VN 8029f3fc-b49c-47d3-a1d1-abc3c9769eca 2026-08-25 08:20:21,973 - INFO - Verifications in API Server for VN ctest-vn-01937877 passed 2026-08-25 08:20:21,973 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/8029f3fc-b49c-47d3-a1d1-abc3c9769eca 2026-08-25 08:20:21,984 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4a4dc17e-2972-481f-9522-6c0d23b1689d 2026-08-25 08:20:21,992 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4a4dc17e-2972-481f-9522-6c0d23b1689d 2026-08-25 08:20:22,000 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/fa83c811-6126-48d1-aeb8-f035573cfbba 2026-08-25 08:20:22,015 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-24051036:ctest-vn-01937877', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-24051036', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9235180777587361747', 'uuid-lslong': '11660289767625891530'}, 'enable': 'true', 'created': '2026-08-25T08:20:19', 'last-modified': '2026-08-25T08:20:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.099964'} 2026-08-25 08:20:22,023 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-25 08:20:22,023 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-01937877 passed 2026-08-25 08:20:22,023 - DEBUG - ====Verifying policy data for ctest-vn-01937877 in API_Server ====== 2026-08-25 08:20:22,023 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-08-25 08:20:22,030 - DEBUG - Requesting: http://10.0.0.38:8082/domain/0d4677a8-59fa-40f2-a66c-82b6bdeb6beb 2026-08-25 08:20:22,044 - DEBUG - Requesting: http://10.0.0.38:8082/project/2f1553b7-331c-4ab0-9b99-e2b3ed05d34b 2026-08-25 08:20:22,124 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/8029f3fc-b49c-47d3-a1d1-abc3c9769eca 2026-08-25 08:20:22,137 - DEBUG - ==>Verifying data for policy with id: cbca26cc-5078-4a18-95af-ca727ac75ced, fqn: ['default-domain', 'ctest-TestBasicPolicy-24051036', 'ctest-policy-allow-all-39350880'] 2026-08-25 08:20:22,137 - INFO - VN ctest-vn-01937877 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-25 08:20:22,138 - DEBUG - Verifying the vn in opserver 2026-08-25 08:20:22,138 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-24051036:ctest-vn-01937877 virtual network link through opserver 10.0.0.38 2026-08-25 08:20:22,138 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-08-25 08:20:22,519 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-08-25 08:20:22,585 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-24051036:ctest-vn-01937877', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-24051036:ctest-vn-01937877?flat'} 2026-08-25 08:20:22,585 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-24051036:ctest-vn-01937877 is found in opserver 2026-08-25 08:20:22,599 - DEBUG - Do not have enough data to verify VN in agent 2026-08-25 08:20:22,604 - DEBUG - VRF ids for VN ctest-vn-01937877: {} 2026-08-25 08:20:22,604 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-08-25 08:20:22,612 - DEBUG - Requesting: http://10.0.0.38:8082/domain/0d4677a8-59fa-40f2-a66c-82b6bdeb6beb 2026-08-25 08:20:22,628 - DEBUG - Requesting: http://10.0.0.38:8082/project/2f1553b7-331c-4ab0-9b99-e2b3ed05d34b 2026-08-25 08:20:22,707 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/17be4358-84b4-4e0d-ab55-37489417f1b0 2026-08-25 08:20:22,721 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/17be4358-84b4-4e0d-ab55-37489417f1b0 2026-08-25 08:20:22,731 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3e7ddfd8-8f50-44f0-8b0a-0004c53e896a 2026-08-25 08:20:22,741 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3e7ddfd8-8f50-44f0-8b0a-0004c53e896a 2026-08-25 08:20:22,751 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/50fdd581-78fb-4dca-8c44-72c794ea24bd 2026-08-25 08:20:22,760 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-25 08:20:22,760 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/17be4358-84b4-4e0d-ab55-37489417f1b0 2026-08-25 08:20:22,772 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3e7ddfd8-8f50-44f0-8b0a-0004c53e896a 2026-08-25 08:20:22,789 - INFO - Verified VN network id 12 for VN 17be4358-84b4-4e0d-ab55-37489417f1b0 2026-08-25 08:20:22,789 - INFO - Verifications in API Server for VN ctest-vn-96265587 passed 2026-08-25 08:20:22,789 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/17be4358-84b4-4e0d-ab55-37489417f1b0 2026-08-25 08:20:22,804 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3e7ddfd8-8f50-44f0-8b0a-0004c53e896a 2026-08-25 08:20:22,815 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3e7ddfd8-8f50-44f0-8b0a-0004c53e896a 2026-08-25 08:20:22,824 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/50fdd581-78fb-4dca-8c44-72c794ea24bd 2026-08-25 08:20:22,840 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-24051036:ctest-vn-96265587', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-24051036', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1710878955909959181', 'uuid-lslong': '12345834738367852976'}, 'enable': 'true', 'created': '2026-08-25T08:20:20', 'last-modified': '2026-08-25T08:20:21', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.677675'} 2026-08-25 08:20:22,846 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-25 08:20:22,847 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-96265587 passed 2026-08-25 08:20:22,847 - DEBUG - ====Verifying policy data for ctest-vn-96265587 in API_Server ====== 2026-08-25 08:20:22,847 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-08-25 08:20:22,854 - DEBUG - Requesting: http://10.0.0.38:8082/domain/0d4677a8-59fa-40f2-a66c-82b6bdeb6beb 2026-08-25 08:20:22,870 - DEBUG - Requesting: http://10.0.0.38:8082/project/2f1553b7-331c-4ab0-9b99-e2b3ed05d34b 2026-08-25 08:20:22,946 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/17be4358-84b4-4e0d-ab55-37489417f1b0 2026-08-25 08:20:22,956 - DEBUG - ==>Verifying data for policy with id: cbca26cc-5078-4a18-95af-ca727ac75ced, fqn: ['default-domain', 'ctest-TestBasicPolicy-24051036', 'ctest-policy-allow-all-39350880'] 2026-08-25 08:20:22,957 - INFO - VN ctest-vn-96265587 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-25 08:20:22,957 - DEBUG - Verifying the vn in opserver 2026-08-25 08:20:22,957 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-24051036:ctest-vn-96265587 virtual network link through opserver 10.0.0.38 2026-08-25 08:20:22,957 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-08-25 08:20:22,969 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-24051036:ctest-vn-96265587', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-24051036:ctest-vn-96265587?flat'} 2026-08-25 08:20:22,969 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-24051036:ctest-vn-96265587 is found in opserver 2026-08-25 08:20:22,984 - DEBUG - Do not have enough data to verify VN in agent 2026-08-25 08:20:22,991 - DEBUG - VRF ids for VN ctest-vn-96265587: {} 2026-08-25 08:20:23,070 - DEBUG - Services list from nova: [, , ] 2026-08-25 08:20:23,497 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6217-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6217-1) 2026-08-25 08:20:23,947 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6217-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6217-1) 2026-08-25 08:20:23,947 - INFO - Waiting for VM ctest-TestBasicPolicy-24051036-99549036 to be up.. 2026-08-25 08:20:23,990 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 08:20:29,081 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 08:20:34,177 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 08:20:39,267 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 08:20:44,364 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 08:20:49,452 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 08:20:54,545 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 08:20:59,630 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 08:21:04,719 - DEBUG - VM is in ACTIVE state now 2026-08-25 08:21:04,720 - INFO - VM name : ctest-TestBasicPolicy-24051036-99549036 2026-08-25 08:21:04,811 - DEBUG - VM ctest-TestBasicPolicy-24051036-99549036 ID is 4ab74bdd-0b44-4e35-99c6-92fea2875051 2026-08-25 08:21:04,838 - DEBUG - VM ctest-TestBasicPolicy-24051036-99549036 launched on Node cn-jenkins-deploy-platform-ansible-os-6217-1 2026-08-25 08:21:04,932 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4ab74bdd-0b44-4e35-99c6-92fea2875051 2026-08-25 08:21:04,942 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d354ead5-58fe-455d-807a-89f1e5772c04 2026-08-25 08:21:08,215 - 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 1017ms') 2026-08-25 08:21:08,215 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-24051036-99549036 failed! 2026-08-25 08:21:08,270 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-24051036:ctest-vn-01937877 is 75.230.78.193 and allocation pool is NOT set 2026-08-25 08:21:12,336 - 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=6.33 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1004ms\r\nrtt min/avg/max/mdev = 6.331/6.331/6.331/0.000 ms') 2026-08-25 08:21:12,336 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-24051036-99549036 passed 2026-08-25 08:21:12,494 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-25 08:21:12,494 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-24051036-99549036, IP 75.230.78.195, Port 22 2026-08-25 08:21:12,666 - DEBUG - VM ctest-TestBasicPolicy-24051036-99549036 is ready for SSH connections 2026-08-25 08:21:12,666 - INFO - Waiting for VM ctest-TestBasicPolicy-24051036-55859505 to be up.. 2026-08-25 08:21:12,754 - DEBUG - VM is in ACTIVE state now 2026-08-25 08:21:12,755 - INFO - VM name : ctest-TestBasicPolicy-24051036-55859505 2026-08-25 08:21:12,841 - DEBUG - VM ctest-TestBasicPolicy-24051036-55859505 ID is 79d59044-9a98-4fb6-8799-b5c5e55e3f41 2026-08-25 08:21:12,841 - DEBUG - VM ctest-TestBasicPolicy-24051036-55859505 launched on Node cn-jenkins-deploy-platform-ansible-os-6217-1 2026-08-25 08:21:12,943 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/79d59044-9a98-4fb6-8799-b5c5e55e3f41 2026-08-25 08:21:12,958 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d52ff7c4-6564-465a-8ca3-d010b92d3521 2026-08-25 08:21:16,246 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1031ms') 2026-08-25 08:21:16,247 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-24051036-55859505 failed! 2026-08-25 08:21:16,302 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-24051036:ctest-vn-96265587 is 78.127.11.193 and allocation pool is NOT set 2026-08-25 08:21:18,366 - 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=5.95 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.491 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.491/3.221/5.952/2.730 ms') 2026-08-25 08:21:18,366 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-24051036-55859505 passed 2026-08-25 08:21:18,522 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-25 08:21:18,522 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-24051036-55859505, IP 78.127.11.195, Port 22 2026-08-25 08:21:18,692 - DEBUG - VM ctest-TestBasicPolicy-24051036-55859505 is ready for SSH connections 2026-08-25 08:21:18,692 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-25 08:21:18,693 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 78.127.11.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-08-25 08:21:18,693 - DEBUG - ping -s 56 -c 3 -W 1 78.127.11.195 2026-08-25 08:21:22,745 - DEBUG - PING 78.127.11.195 (78.127.11.195): 56 data bytes 64 bytes from 78.127.11.195: seq=0 ttl=63 time=5.020 ms 64 bytes from 78.127.11.195: seq=1 ttl=63 time=1.308 ms 64 bytes from 78.127.11.195: seq=2 ttl=63 time=1.097 ms --- 78.127.11.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.097/2.475/5.020 ms 2026-08-25 08:21:22,746 - INFO - Ping to IP 78.127.11.195 from VM ctest-TestBasicPolicy-24051036-99549036 passed 2026-08-25 08:21:22,942 - DEBUG - Policy Update Response {"network-policy": {"uuid": "cbca26cc-5078-4a18-95af-ca727ac75ced", "href": "http://10.0.0.38:8082/network-policy/cbca26cc-5078-4a18-95af-ca727ac75ced"}} 2026-08-25 08:21:22,942 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-25 08:21:22,942 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 78.127.11.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-08-25 08:21:22,943 - DEBUG - ping -s 56 -c 3 -W 1 78.127.11.195 2026-08-25 08:21:26,087 - DEBUG - PING 78.127.11.195 (78.127.11.195): 56 data bytes 64 bytes from 78.127.11.195: seq=0 ttl=63 time=2.500 ms --- 78.127.11.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.500/2.500/2.500 ms 2026-08-25 08:21:26,087 - WARNING - Ping to IP 78.127.11.195 from VM ctest-TestBasicPolicy-24051036-99549036 failed 2026-08-25 08:21:26,087 - INFO - Deleting VM ctest-TestBasicPolicy-24051036-55859505 2026-08-25 08:21:26,178 - INFO - Deleting VM ctest-TestBasicPolicy-24051036-99549036 2026-08-25 08:21:26,582 - INFO - Deleted policy ctest-policy-allow-all-39350880 2026-08-25 08:21:26,582 - INFO - Deleting VN ctest-vn-96265587 2026-08-25 08:21:26,628 - DEBUG - VN 17be4358-84b4-4e0d-ab55-37489417f1b0 still in use: Unable to complete operation on network 17be4358-84b4-4e0d-ab55-37489417f1b0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-246a5ba2-e052-4ba6-b186-77d7883fdf17'] 2026-08-25 08:21:26,629 - WARNING - Deleting VN ctest-vn-96265587 failed..Will retry 2026-08-25 08:21:28,757 - DEBUG - Response for deleting network () 2026-08-25 08:21:28,758 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3e7ddfd8-8f50-44f0-8b0a-0004c53e896a 2026-08-25 08:21:28,764 - DEBUG - Response Code: 404 2026-08-25 08:21:28,764 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-08-25 08:21:28,775 - DEBUG - Requesting: http://10.0.0.38:8082/domain/0d4677a8-59fa-40f2-a66c-82b6bdeb6beb 2026-08-25 08:21:28,834 - DEBUG - Requesting: http://10.0.0.38:8082/project/2f1553b7-331c-4ab0-9b99-e2b3ed05d34b 2026-08-25 08:21:28,920 - INFO - Validated that VN ctest-vn-96265587 is not found in API Server 2026-08-25 08:21:28,936 - DEBUG - VN ctest-vn-96265587 is not present in Agent 10.0.0.38 2026-08-25 08:21:28,936 - INFO - Validated that VN ctest-vn-96265587 is not in any agent 2026-08-25 08:21:28,953 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-96265587 info 2026-08-25 08:21:28,953 - INFO - Deleting VN ctest-vn-01937877 2026-08-25 08:21:29,086 - DEBUG - Response for deleting network () 2026-08-25 08:21:29,086 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4a4dc17e-2972-481f-9522-6c0d23b1689d 2026-08-25 08:21:29,092 - DEBUG - Response Code: 404 2026-08-25 08:21:29,093 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-08-25 08:21:29,103 - DEBUG - Requesting: http://10.0.0.38:8082/domain/0d4677a8-59fa-40f2-a66c-82b6bdeb6beb 2026-08-25 08:21:29,161 - DEBUG - Requesting: http://10.0.0.38:8082/project/2f1553b7-331c-4ab0-9b99-e2b3ed05d34b 2026-08-25 08:21:29,239 - INFO - Validated that VN ctest-vn-01937877 is not found in API Server 2026-08-25 08:21:29,250 - DEBUG - VN ctest-vn-01937877 is not present in Agent 10.0.0.38 2026-08-25 08:21:29,251 - INFO - Validated that VN ctest-vn-01937877 is not in any agent 2026-08-25 08:21:29,270 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-01937877 info 2026-08-25 08:21:29,545 - DEBUG - No XMPP flaps were noticed during the test 2026-08-25 08:21:29,545 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:11] 2026-08-25 08:21:29,545 - INFO - -------------------------------------------------------------------------------- 2026-08-25 08:21:30,369 - INFO - Deleted project: ctest-TestBasicPolicy-24051036, ID : 2f1553b7-331c-4ab0-9b99-e2b3ed05d34b