2026-08-24 12:27:17,572 - INFO - Domain Default found not creating 2026-08-24 12:27:17,754 - INFO - Project ctest-TestBasicPolicy-57234676 not found, creating it 2026-08-24 12:27:18,227 - INFO - Created Project:ctest-TestBasicPolicy-57234676, ID : 9aebb936-5a0c-4f8e-9aaf-f3c0c9fe7998 2026-08-24 12:27:19,799 - INFO - ================================================================================ 2026-08-24 12:27:19,800 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-08-24 12:27:19,800 - 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-24 12:27:20,061 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-08-24 12:27:20,061 - INFO - Initial checks done. Running the testcase now 2026-08-24 12:27:20,061 - INFO - 2026-08-24 12:27:20,665 - DEBUG - Response for create_network : {'network': {'id': 'c51b180d-96e5-4fae-969d-b7a54fa73ef6', 'name': 'ctest-vn-59134241', 'tenant_id': '9aebb9365a0c4f8e9aaff3c0c9fe7998', 'project_id': '9aebb9365a0c4f8e9aaff3c0c9fe7998', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57234676', 'ctest-vn-59134241'], 'port_security_enabled': True, 'description': ''}} 2026-08-24 12:27:20,879 - DEBUG - Response for create_subnet : {'subnet': {'id': '68a2686e-4348-4880-afea-62ec5265743b', 'name': '', 'tenant_id': '9aebb9365a0c4f8e9aaff3c0c9fe7998', 'network_id': 'c51b180d-96e5-4fae-969d-b7a54fa73ef6', 'ip_version': 4, 'cidr': '114.228.8.128/26', 'allocation_pools': [{'start': '114.228.8.130', 'end': '114.228.8.190'}], 'gateway_ip': '114.228.8.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.228.8.130', 'tags': [], 'project_id': '9aebb9365a0c4f8e9aaff3c0c9fe7998'}} 2026-08-24 12:27:20,898 - INFO - Created VN ctest-vn-59134241 2026-08-24 12:27:20,953 - DEBUG - VN ctest-vn-59134241 UUID is c51b180d-96e5-4fae-969d-b7a54fa73ef6 2026-08-24 12:27:21,257 - DEBUG - Response for create_network : {'network': {'id': '835e9256-8447-4149-a314-d5cb1a3762ed', 'name': 'ctest-vn-25629843', 'tenant_id': '9aebb9365a0c4f8e9aaff3c0c9fe7998', 'project_id': '9aebb9365a0c4f8e9aaff3c0c9fe7998', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57234676', 'ctest-vn-25629843'], 'port_security_enabled': True, 'description': ''}} 2026-08-24 12:27:21,463 - DEBUG - Response for create_subnet : {'subnet': {'id': '3a187a0d-53cf-429d-84c1-92e017cdcc50', 'name': '', 'tenant_id': '9aebb9365a0c4f8e9aaff3c0c9fe7998', 'network_id': '835e9256-8447-4149-a314-d5cb1a3762ed', 'ip_version': 4, 'cidr': '101.154.204.0/26', 'allocation_pools': [{'start': '101.154.204.2', 'end': '101.154.204.62'}], 'gateway_ip': '101.154.204.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '101.154.204.2', 'tags': [], 'project_id': '9aebb9365a0c4f8e9aaff3c0c9fe7998'}} 2026-08-24 12:27:21,482 - INFO - Created VN ctest-vn-25629843 2026-08-24 12:27:21,537 - DEBUG - VN ctest-vn-25629843 UUID is 835e9256-8447-4149-a314-d5cb1a3762ed 2026-08-24 12:27:21,648 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-57234676:ctest-vn-59134241, 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-57234676:ctest-vn-25629843, 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-24 12:27:21,958 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c51b180d-96e5-4fae-969d-b7a54fa73ef6', 'name': 'ctest-vn-59134241', 'tenant_id': '9aebb9365a0c4f8e9aaff3c0c9fe7998', 'project_id': '9aebb9365a0c4f8e9aaff3c0c9fe7998', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['68a2686e-4348-4880-afea-62ec5265743b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57234676', 'ctest-vn-59134241'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-57234676', 'ctest-policy-allow-all-99126853']], 'subnet_ipam': [{'subnet_cidr': '114.228.8.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-24 12:27:22,230 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '835e9256-8447-4149-a314-d5cb1a3762ed', 'name': 'ctest-vn-25629843', 'tenant_id': '9aebb9365a0c4f8e9aaff3c0c9fe7998', 'project_id': '9aebb9365a0c4f8e9aaff3c0c9fe7998', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3a187a0d-53cf-429d-84c1-92e017cdcc50'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57234676', 'ctest-vn-25629843'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-57234676', 'ctest-policy-allow-all-99126853']], 'subnet_ipam': [{'subnet_cidr': '101.154.204.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-24 12:27:22,401 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-08-24 12:27:22,724 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-08-24 12:27:22,755 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ea64a2c4-795f-4476-bd24-d64a7655fa7d 2026-08-24 12:27:22,770 - DEBUG - Requesting: http://10.0.0.38:8082/project/9aebb936-5a0c-4f8e-9aaf-f3c0c9fe7998 2026-08-24 12:27:22,846 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c51b180d-96e5-4fae-969d-b7a54fa73ef6 2026-08-24 12:27:22,860 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c51b180d-96e5-4fae-969d-b7a54fa73ef6 2026-08-24 12:27:22,871 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7085464f-9c1e-480f-b334-8590179ecb19 2026-08-24 12:27:22,879 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7085464f-9c1e-480f-b334-8590179ecb19 2026-08-24 12:27:22,885 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/a061d675-c184-41f8-a4b9-f9f2d6fd395f 2026-08-24 12:27:22,892 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-24 12:27:22,892 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c51b180d-96e5-4fae-969d-b7a54fa73ef6 2026-08-24 12:27:22,901 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7085464f-9c1e-480f-b334-8590179ecb19 2026-08-24 12:27:22,918 - INFO - Verified VN network id 11 for VN c51b180d-96e5-4fae-969d-b7a54fa73ef6 2026-08-24 12:27:22,918 - INFO - Verifications in API Server for VN ctest-vn-59134241 passed 2026-08-24 12:27:22,918 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c51b180d-96e5-4fae-969d-b7a54fa73ef6 2026-08-24 12:27:22,928 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7085464f-9c1e-480f-b334-8590179ecb19 2026-08-24 12:27:22,935 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7085464f-9c1e-480f-b334-8590179ecb19 2026-08-24 12:27:22,944 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/a061d675-c184-41f8-a4b9-f9f2d6fd395f 2026-08-24 12:27:22,959 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-57234676:ctest-vn-59134241', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-57234676', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14202972296488243118', 'uuid-lslong': '10853032597666610934'}, 'enable': 'true', 'created': '2026-08-24T12:27:20', 'last-modified': '2026-08-24T12:27:21', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.022281'} 2026-08-24 12:27:22,965 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-24 12:27:22,966 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-59134241 passed 2026-08-24 12:27:22,966 - DEBUG - ====Verifying policy data for ctest-vn-59134241 in API_Server ====== 2026-08-24 12:27:22,966 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-08-24 12:27:22,972 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ea64a2c4-795f-4476-bd24-d64a7655fa7d 2026-08-24 12:27:22,985 - DEBUG - Requesting: http://10.0.0.38:8082/project/9aebb936-5a0c-4f8e-9aaf-f3c0c9fe7998 2026-08-24 12:27:23,059 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c51b180d-96e5-4fae-969d-b7a54fa73ef6 2026-08-24 12:27:23,070 - DEBUG - ==>Verifying data for policy with id: a9ddfb34-1699-4071-af24-6ac530d3c042, fqn: ['default-domain', 'ctest-TestBasicPolicy-57234676', 'ctest-policy-allow-all-99126853'] 2026-08-24 12:27:23,070 - INFO - VN ctest-vn-59134241 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-24 12:27:23,070 - DEBUG - Verifying the vn in opserver 2026-08-24 12:27:23,070 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-57234676:ctest-vn-59134241 virtual network link through opserver 10.0.0.38 2026-08-24 12:27:23,070 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-08-24 12:27:23,411 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-08-24 12:27:23,464 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-57234676:ctest-vn-59134241', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-57234676:ctest-vn-59134241?flat'} 2026-08-24 12:27:23,464 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-57234676:ctest-vn-59134241 is found in opserver 2026-08-24 12:27:23,477 - DEBUG - Do not have enough data to verify VN in agent 2026-08-24 12:27:23,483 - DEBUG - VRF ids for VN ctest-vn-59134241: {} 2026-08-24 12:27:23,483 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-08-24 12:27:23,490 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ea64a2c4-795f-4476-bd24-d64a7655fa7d 2026-08-24 12:27:23,503 - DEBUG - Requesting: http://10.0.0.38:8082/project/9aebb936-5a0c-4f8e-9aaf-f3c0c9fe7998 2026-08-24 12:27:23,580 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/835e9256-8447-4149-a314-d5cb1a3762ed 2026-08-24 12:27:23,594 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/835e9256-8447-4149-a314-d5cb1a3762ed 2026-08-24 12:27:23,607 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1fca27f1-ee63-4f94-aecf-01cb2714c96e 2026-08-24 12:27:23,617 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1fca27f1-ee63-4f94-aecf-01cb2714c96e 2026-08-24 12:27:23,626 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/aa9683fd-774e-4c7c-9dbf-13fdc20dd0c4 2026-08-24 12:27:23,633 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-24 12:27:23,633 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/835e9256-8447-4149-a314-d5cb1a3762ed 2026-08-24 12:27:23,642 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1fca27f1-ee63-4f94-aecf-01cb2714c96e 2026-08-24 12:27:23,657 - INFO - Verified VN network id 12 for VN 835e9256-8447-4149-a314-d5cb1a3762ed 2026-08-24 12:27:23,657 - INFO - Verifications in API Server for VN ctest-vn-25629843 passed 2026-08-24 12:27:23,657 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/835e9256-8447-4149-a314-d5cb1a3762ed 2026-08-24 12:27:23,667 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1fca27f1-ee63-4f94-aecf-01cb2714c96e 2026-08-24 12:27:23,673 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1fca27f1-ee63-4f94-aecf-01cb2714c96e 2026-08-24 12:27:23,682 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/aa9683fd-774e-4c7c-9dbf-13fdc20dd0c4 2026-08-24 12:27:23,696 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-57234676:ctest-vn-25629843', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-57234676', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9466164367063466313', 'uuid-lslong': '11751252396011381485'}, 'enable': 'true', 'created': '2026-08-24T12:27:21', 'last-modified': '2026-08-24T12:27:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.516793'} 2026-08-24 12:27:23,703 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-24 12:27:23,703 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-25629843 passed 2026-08-24 12:27:23,703 - DEBUG - ====Verifying policy data for ctest-vn-25629843 in API_Server ====== 2026-08-24 12:27:23,703 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-08-24 12:27:23,710 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ea64a2c4-795f-4476-bd24-d64a7655fa7d 2026-08-24 12:27:23,723 - DEBUG - Requesting: http://10.0.0.38:8082/project/9aebb936-5a0c-4f8e-9aaf-f3c0c9fe7998 2026-08-24 12:27:23,806 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/835e9256-8447-4149-a314-d5cb1a3762ed 2026-08-24 12:27:23,817 - DEBUG - ==>Verifying data for policy with id: a9ddfb34-1699-4071-af24-6ac530d3c042, fqn: ['default-domain', 'ctest-TestBasicPolicy-57234676', 'ctest-policy-allow-all-99126853'] 2026-08-24 12:27:23,817 - INFO - VN ctest-vn-25629843 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-24 12:27:23,817 - DEBUG - Verifying the vn in opserver 2026-08-24 12:27:23,817 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-57234676:ctest-vn-25629843 virtual network link through opserver 10.0.0.38 2026-08-24 12:27:23,817 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-08-24 12:27:23,828 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-57234676:ctest-vn-25629843', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-57234676:ctest-vn-25629843?flat'} 2026-08-24 12:27:23,828 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-57234676:ctest-vn-25629843 is found in opserver 2026-08-24 12:27:23,839 - DEBUG - Do not have enough data to verify VN in agent 2026-08-24 12:27:23,844 - DEBUG - VRF ids for VN ctest-vn-25629843: {} 2026-08-24 12:27:23,898 - DEBUG - Services list from nova: [, , ] 2026-08-24 12:27:24,365 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6214-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6214-1) 2026-08-24 12:27:24,771 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6214-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6214-1) 2026-08-24 12:27:24,771 - INFO - Waiting for VM ctest-TestBasicPolicy-57234676-72215391 to be up.. 2026-08-24 12:27:24,810 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 12:27:29,894 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 12:27:34,979 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 12:27:40,077 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 12:27:45,157 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 12:27:50,244 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 12:27:55,332 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 12:28:00,427 - DEBUG - VM is in ACTIVE state now 2026-08-24 12:28:00,427 - INFO - VM name : ctest-TestBasicPolicy-57234676-72215391 2026-08-24 12:28:00,512 - DEBUG - VM ctest-TestBasicPolicy-57234676-72215391 ID is 08c8098e-c68a-4a27-8ac4-fd9452d40d93 2026-08-24 12:28:00,539 - DEBUG - VM ctest-TestBasicPolicy-57234676-72215391 launched on Node cn-jenkins-deploy-platform-ansible-os-6214-1 2026-08-24 12:28:00,625 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/08c8098e-c68a-4a27-8ac4-fd9452d40d93 2026-08-24 12:28:00,634 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e3307abb-c75a-4da6-9a9d-c24ebfade921 2026-08-24 12:28:03,874 - 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 1001ms') 2026-08-24 12:28:03,874 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-57234676-72215391 failed! 2026-08-24 12:28:03,929 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-57234676:ctest-vn-59134241 is 114.228.8.129 and allocation pool is NOT set 2026-08-24 12:28:06,002 - 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=6.49 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.40 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.404/3.944/6.485/2.540 ms') 2026-08-24 12:28:06,002 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-57234676-72215391 passed 2026-08-24 12:28:06,153 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-24 12:28:06,153 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-57234676-72215391, IP 114.228.8.131, Port 22 2026-08-24 12:28:06,220 - 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-08-24 12:28:06,309 - DEBUG - VM ctest-TestBasicPolicy-57234676-72215391 is NOT ready for SSH connections, VM status: ACTIVE 2026-08-24 12:28:11,310 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-24 12:28:11,310 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-57234676-72215391, IP 114.228.8.131, Port 22 2026-08-24 12:28:11,491 - DEBUG - VM ctest-TestBasicPolicy-57234676-72215391 is ready for SSH connections 2026-08-24 12:28:11,491 - INFO - Waiting for VM ctest-TestBasicPolicy-57234676-05673501 to be up.. 2026-08-24 12:28:11,579 - DEBUG - VM is in ACTIVE state now 2026-08-24 12:28:11,579 - INFO - VM name : ctest-TestBasicPolicy-57234676-05673501 2026-08-24 12:28:11,710 - DEBUG - VM ctest-TestBasicPolicy-57234676-05673501 ID is c420c901-4569-4b4d-9f32-6eb90250c1d2 2026-08-24 12:28:11,710 - DEBUG - VM ctest-TestBasicPolicy-57234676-05673501 launched on Node cn-jenkins-deploy-platform-ansible-os-6214-1 2026-08-24 12:28:11,806 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c420c901-4569-4b4d-9f32-6eb90250c1d2 2026-08-24 12:28:11,817 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/1015f714-92af-4b4b-92f5-fb0a4ba70d32 2026-08-24 12:28:13,063 - 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.53 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.583 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.583/2.058/3.533/1.475 ms') 2026-08-24 12:28:13,063 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-57234676-05673501 passed 2026-08-24 12:28:13,225 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-24 12:28:13,225 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-57234676-05673501, IP 101.154.204.3, Port 22 2026-08-24 12:28:13,398 - DEBUG - VM ctest-TestBasicPolicy-57234676-05673501 is ready for SSH connections 2026-08-24 12:28:13,398 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-24 12:28:13,398 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 101.154.204.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-08-24 12:28:13,398 - DEBUG - ping -s 56 -c 3 -W 1 101.154.204.3 2026-08-24 12:28:17,558 - DEBUG - PING 101.154.204.3 (101.154.204.3): 56 data bytes 64 bytes from 101.154.204.3: seq=0 ttl=63 time=4.902 ms 64 bytes from 101.154.204.3: seq=1 ttl=63 time=0.870 ms 64 bytes from 101.154.204.3: seq=2 ttl=63 time=1.494 ms --- 101.154.204.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.870/2.422/4.902 ms 2026-08-24 12:28:17,558 - INFO - Ping to IP 101.154.204.3 from VM ctest-TestBasicPolicy-57234676-72215391 passed 2026-08-24 12:28:17,757 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a9ddfb34-1699-4071-af24-6ac530d3c042", "href": "http://10.0.0.38:8082/network-policy/a9ddfb34-1699-4071-af24-6ac530d3c042"}} 2026-08-24 12:28:17,757 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-24 12:28:17,757 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 101.154.204.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-08-24 12:28:17,757 - DEBUG - ping -s 56 -c 3 -W 1 101.154.204.3 2026-08-24 12:28:20,890 - DEBUG - PING 101.154.204.3 (101.154.204.3): 56 data bytes 64 bytes from 101.154.204.3: seq=0 ttl=63 time=1.724 ms --- 101.154.204.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.724/1.724/1.724 ms 2026-08-24 12:28:20,890 - WARNING - Ping to IP 101.154.204.3 from VM ctest-TestBasicPolicy-57234676-72215391 failed 2026-08-24 12:28:20,890 - INFO - Deleting VM ctest-TestBasicPolicy-57234676-05673501 2026-08-24 12:28:20,969 - INFO - Deleting VM ctest-TestBasicPolicy-57234676-72215391 2026-08-24 12:28:21,375 - INFO - Deleted policy ctest-policy-allow-all-99126853 2026-08-24 12:28:21,375 - INFO - Deleting VN ctest-vn-25629843 2026-08-24 12:28:21,413 - DEBUG - VN 835e9256-8447-4149-a314-d5cb1a3762ed still in use: Unable to complete operation on network 835e9256-8447-4149-a314-d5cb1a3762ed. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a712e691-4168-4b4f-b084-4d3a64971040'] 2026-08-24 12:28:21,413 - WARNING - Deleting VN ctest-vn-25629843 failed..Will retry 2026-08-24 12:28:23,549 - DEBUG - Response for deleting network () 2026-08-24 12:28:23,549 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1fca27f1-ee63-4f94-aecf-01cb2714c96e 2026-08-24 12:28:23,556 - DEBUG - Response Code: 404 2026-08-24 12:28:23,556 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-08-24 12:28:23,562 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ea64a2c4-795f-4476-bd24-d64a7655fa7d 2026-08-24 12:28:23,618 - DEBUG - Requesting: http://10.0.0.38:8082/project/9aebb936-5a0c-4f8e-9aaf-f3c0c9fe7998 2026-08-24 12:28:23,690 - INFO - Validated that VN ctest-vn-25629843 is not found in API Server 2026-08-24 12:28:23,701 - DEBUG - VN ctest-vn-25629843 is not present in Agent 10.0.0.38 2026-08-24 12:28:23,701 - INFO - Validated that VN ctest-vn-25629843 is not in any agent 2026-08-24 12:28:23,723 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-25629843 info 2026-08-24 12:28:23,723 - INFO - Deleting VN ctest-vn-59134241 2026-08-24 12:28:23,853 - DEBUG - Response for deleting network () 2026-08-24 12:28:23,853 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7085464f-9c1e-480f-b334-8590179ecb19 2026-08-24 12:28:23,862 - DEBUG - Response Code: 404 2026-08-24 12:28:23,862 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-08-24 12:28:23,869 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ea64a2c4-795f-4476-bd24-d64a7655fa7d 2026-08-24 12:28:23,923 - DEBUG - Requesting: http://10.0.0.38:8082/project/9aebb936-5a0c-4f8e-9aaf-f3c0c9fe7998 2026-08-24 12:28:24,003 - INFO - Validated that VN ctest-vn-59134241 is not found in API Server 2026-08-24 12:28:24,013 - DEBUG - VN ctest-vn-59134241 is not present in Agent 10.0.0.38 2026-08-24 12:28:24,013 - INFO - Validated that VN ctest-vn-59134241 is not in any agent 2026-08-24 12:28:24,031 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-59134241 info 2026-08-24 12:28:24,291 - DEBUG - No XMPP flaps were noticed during the test 2026-08-24 12:28:24,291 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:05] 2026-08-24 12:28:24,291 - INFO - -------------------------------------------------------------------------------- 2026-08-24 12:28:25,051 - INFO - Deleted project: ctest-TestBasicPolicy-57234676, ID : 9aebb936-5a0c-4f8e-9aaf-f3c0c9fe7998