2026-05-28 02:06:04,816 - INFO - Domain Default found not creating 2026-05-28 02:06:04,997 - INFO - Project ctest-TestBasicPolicy-81117197 not found, creating it 2026-05-28 02:06:05,473 - INFO - Created Project:ctest-TestBasicPolicy-81117197, ID : e54e52ae-c354-4a4c-bfbe-5695636646c1 2026-05-28 02:06:06,956 - INFO - ================================================================================ 2026-05-28 02:06:06,956 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-05-28 02:06:06,956 - 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-05-28 02:06:07,212 - DEBUG - Nothing to compare xmpp stats {'10.0.0.73': {'10.20.0.201': '0'}} with 2026-05-28 02:06:07,212 - INFO - Initial checks done. Running the testcase now 2026-05-28 02:06:07,212 - INFO - 2026-05-28 02:06:07,761 - DEBUG - Response for create_network : {'network': {'id': '82cff884-fc85-4bb7-b5c0-60943b286e5b', 'name': 'ctest-vn-02984729', 'tenant_id': 'e54e52aec3544a4cbfbe5695636646c1', 'project_id': 'e54e52aec3544a4cbfbe5695636646c1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81117197', 'ctest-vn-02984729'], 'port_security_enabled': True, 'description': ''}} 2026-05-28 02:06:07,962 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cc0727f3-6b96-4067-b7a6-a444a1606e4f', 'name': '', 'tenant_id': 'e54e52aec3544a4cbfbe5695636646c1', 'network_id': '82cff884-fc85-4bb7-b5c0-60943b286e5b', 'ip_version': 4, 'cidr': '57.33.187.64/26', 'allocation_pools': [{'start': '57.33.187.66', 'end': '57.33.187.126'}], 'gateway_ip': '57.33.187.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '57.33.187.66', 'tags': [], 'project_id': 'e54e52aec3544a4cbfbe5695636646c1'}} 2026-05-28 02:06:07,979 - INFO - Created VN ctest-vn-02984729 2026-05-28 02:06:08,031 - DEBUG - VN ctest-vn-02984729 UUID is 82cff884-fc85-4bb7-b5c0-60943b286e5b 2026-05-28 02:06:08,337 - DEBUG - Response for create_network : {'network': {'id': 'dccfb843-ae5e-4d7c-b452-118723fcf72f', 'name': 'ctest-vn-62010453', 'tenant_id': 'e54e52aec3544a4cbfbe5695636646c1', 'project_id': 'e54e52aec3544a4cbfbe5695636646c1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81117197', 'ctest-vn-62010453'], 'port_security_enabled': True, 'description': ''}} 2026-05-28 02:06:08,538 - DEBUG - Response for create_subnet : {'subnet': {'id': '52095b1e-421e-43d0-a311-0ee7c1fc8ea2', 'name': '', 'tenant_id': 'e54e52aec3544a4cbfbe5695636646c1', 'network_id': 'dccfb843-ae5e-4d7c-b452-118723fcf72f', 'ip_version': 4, 'cidr': '140.224.95.128/26', 'allocation_pools': [{'start': '140.224.95.130', 'end': '140.224.95.190'}], 'gateway_ip': '140.224.95.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '140.224.95.130', 'tags': [], 'project_id': 'e54e52aec3544a4cbfbe5695636646c1'}} 2026-05-28 02:06:08,553 - INFO - Created VN ctest-vn-62010453 2026-05-28 02:06:08,603 - DEBUG - VN ctest-vn-62010453 UUID is dccfb843-ae5e-4d7c-b452-118723fcf72f 2026-05-28 02:06:08,755 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-81117197:ctest-vn-02984729, 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-81117197:ctest-vn-62010453, 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-05-28 02:06:09,044 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '82cff884-fc85-4bb7-b5c0-60943b286e5b', 'name': 'ctest-vn-02984729', 'tenant_id': 'e54e52aec3544a4cbfbe5695636646c1', 'project_id': 'e54e52aec3544a4cbfbe5695636646c1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cc0727f3-6b96-4067-b7a6-a444a1606e4f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81117197', 'ctest-vn-02984729'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-81117197', 'ctest-policy-allow-all-44023607']], 'subnet_ipam': [{'subnet_cidr': '57.33.187.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-28 02:06:09,263 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'dccfb843-ae5e-4d7c-b452-118723fcf72f', 'name': 'ctest-vn-62010453', 'tenant_id': 'e54e52aec3544a4cbfbe5695636646c1', 'project_id': 'e54e52aec3544a4cbfbe5695636646c1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['52095b1e-421e-43d0-a311-0ee7c1fc8ea2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81117197', 'ctest-vn-62010453'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-81117197', 'ctest-policy-allow-all-44023607']], 'subnet_ipam': [{'subnet_cidr': '140.224.95.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-28 02:06:09,435 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2026-05-28 02:06:09,731 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2026-05-28 02:06:09,759 - DEBUG - Requesting: http://10.0.0.73:8082/domain/e6ce87d3-0673-4d59-8833-edc88ea47cbf 2026-05-28 02:06:09,770 - DEBUG - Requesting: http://10.0.0.73:8082/project/e54e52ae-c354-4a4c-bfbe-5695636646c1 2026-05-28 02:06:09,845 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/82cff884-fc85-4bb7-b5c0-60943b286e5b 2026-05-28 02:06:09,855 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/82cff884-fc85-4bb7-b5c0-60943b286e5b 2026-05-28 02:06:09,864 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/cf2ab976-334c-4e0d-9e4f-a482044c672b 2026-05-28 02:06:09,871 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/cf2ab976-334c-4e0d-9e4f-a482044c672b 2026-05-28 02:06:09,877 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/7ec4d906-9172-4a47-a5f0-a4690dba40e1 2026-05-28 02:06:09,884 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-28 02:06:09,884 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/82cff884-fc85-4bb7-b5c0-60943b286e5b 2026-05-28 02:06:09,893 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/cf2ab976-334c-4e0d-9e4f-a482044c672b 2026-05-28 02:06:09,908 - INFO - Verified VN network id 11 for VN 82cff884-fc85-4bb7-b5c0-60943b286e5b 2026-05-28 02:06:09,908 - INFO - Verifications in API Server for VN ctest-vn-02984729 passed 2026-05-28 02:06:09,908 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/82cff884-fc85-4bb7-b5c0-60943b286e5b 2026-05-28 02:06:09,916 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/cf2ab976-334c-4e0d-9e4f-a482044c672b 2026-05-28 02:06:09,923 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/cf2ab976-334c-4e0d-9e4f-a482044c672b 2026-05-28 02:06:09,930 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/7ec4d906-9172-4a47-a5f0-a4690dba40e1 2026-05-28 02:06:09,943 - DEBUG - Control-node 10.0.0.73 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-81117197:ctest-vn-02984729', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-81117197', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9426025795165703095', 'uuid-lslong': '13096573906157334107'}, 'enable': 'true', 'created': '2026-05-28T02:06:07', 'last-modified': '2026-05-28T02:06:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.914345'} 2026-05-28 02:06:09,949 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-28 02:06:09,949 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-02984729 passed 2026-05-28 02:06:09,949 - DEBUG - ====Verifying policy data for ctest-vn-02984729 in API_Server ====== 2026-05-28 02:06:09,949 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2026-05-28 02:06:09,954 - DEBUG - Requesting: http://10.0.0.73:8082/domain/e6ce87d3-0673-4d59-8833-edc88ea47cbf 2026-05-28 02:06:09,967 - DEBUG - Requesting: http://10.0.0.73:8082/project/e54e52ae-c354-4a4c-bfbe-5695636646c1 2026-05-28 02:06:10,036 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/82cff884-fc85-4bb7-b5c0-60943b286e5b 2026-05-28 02:06:10,045 - DEBUG - ==>Verifying data for policy with id: 4a64a332-4f0b-43f5-a52c-3f6837733b18, fqn: ['default-domain', 'ctest-TestBasicPolicy-81117197', 'ctest-policy-allow-all-44023607'] 2026-05-28 02:06:10,045 - INFO - VN ctest-vn-02984729 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-28 02:06:10,045 - DEBUG - Verifying the vn in opserver 2026-05-28 02:06:10,045 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-81117197:ctest-vn-02984729 virtual network link through opserver 10.0.0.73 2026-05-28 02:06:10,045 - DEBUG - Requesting: http://10.0.0.73:8081/analytics/uves/virtual-networks 2026-05-28 02:06:10,338 - DEBUG - Requesting: http://10.0.0.73:8081/analytics/uves/virtual-networks 2026-05-28 02:06:10,400 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-81117197:ctest-vn-02984729', 'href': 'http://10.0.0.73:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-81117197:ctest-vn-02984729?flat'} 2026-05-28 02:06:10,400 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-81117197:ctest-vn-02984729 is found in opserver 2026-05-28 02:06:10,409 - DEBUG - Do not have enough data to verify VN in agent 2026-05-28 02:06:10,413 - DEBUG - VRF ids for VN ctest-vn-02984729: {} 2026-05-28 02:06:10,413 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2026-05-28 02:06:10,418 - DEBUG - Requesting: http://10.0.0.73:8082/domain/e6ce87d3-0673-4d59-8833-edc88ea47cbf 2026-05-28 02:06:10,428 - DEBUG - Requesting: http://10.0.0.73:8082/project/e54e52ae-c354-4a4c-bfbe-5695636646c1 2026-05-28 02:06:10,496 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/dccfb843-ae5e-4d7c-b452-118723fcf72f 2026-05-28 02:06:10,507 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/dccfb843-ae5e-4d7c-b452-118723fcf72f 2026-05-28 02:06:10,516 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/d782ea7b-06ef-4992-a934-fcf9ed029319 2026-05-28 02:06:10,523 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/d782ea7b-06ef-4992-a934-fcf9ed029319 2026-05-28 02:06:10,530 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/40c7516b-02bf-49e0-b2ab-a2dc7fdc4bea 2026-05-28 02:06:10,537 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-28 02:06:10,537 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/dccfb843-ae5e-4d7c-b452-118723fcf72f 2026-05-28 02:06:10,547 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/d782ea7b-06ef-4992-a934-fcf9ed029319 2026-05-28 02:06:10,560 - INFO - Verified VN network id 12 for VN dccfb843-ae5e-4d7c-b452-118723fcf72f 2026-05-28 02:06:10,560 - INFO - Verifications in API Server for VN ctest-vn-62010453 passed 2026-05-28 02:06:10,560 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/dccfb843-ae5e-4d7c-b452-118723fcf72f 2026-05-28 02:06:10,569 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/d782ea7b-06ef-4992-a934-fcf9ed029319 2026-05-28 02:06:10,575 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/d782ea7b-06ef-4992-a934-fcf9ed029319 2026-05-28 02:06:10,582 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/40c7516b-02bf-49e0-b2ab-a2dc7fdc4bea 2026-05-28 02:06:10,592 - DEBUG - Control-node 10.0.0.73 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-81117197:ctest-vn-62010453', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-81117197', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15911138609350987132', 'uuid-lslong': '12993467147039340335'}, 'enable': 'true', 'created': '2026-05-28T02:06:08', 'last-modified': '2026-05-28T02:06:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.350473'} 2026-05-28 02:06:10,598 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-28 02:06:10,598 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-62010453 passed 2026-05-28 02:06:10,598 - DEBUG - ====Verifying policy data for ctest-vn-62010453 in API_Server ====== 2026-05-28 02:06:10,598 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2026-05-28 02:06:10,603 - DEBUG - Requesting: http://10.0.0.73:8082/domain/e6ce87d3-0673-4d59-8833-edc88ea47cbf 2026-05-28 02:06:10,614 - DEBUG - Requesting: http://10.0.0.73:8082/project/e54e52ae-c354-4a4c-bfbe-5695636646c1 2026-05-28 02:06:10,683 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/dccfb843-ae5e-4d7c-b452-118723fcf72f 2026-05-28 02:06:10,691 - DEBUG - ==>Verifying data for policy with id: 4a64a332-4f0b-43f5-a52c-3f6837733b18, fqn: ['default-domain', 'ctest-TestBasicPolicy-81117197', 'ctest-policy-allow-all-44023607'] 2026-05-28 02:06:10,691 - INFO - VN ctest-vn-62010453 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-28 02:06:10,691 - DEBUG - Verifying the vn in opserver 2026-05-28 02:06:10,691 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-81117197:ctest-vn-62010453 virtual network link through opserver 10.0.0.73 2026-05-28 02:06:10,691 - DEBUG - Requesting: http://10.0.0.73:8081/analytics/uves/virtual-networks 2026-05-28 02:06:10,699 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-81117197:ctest-vn-62010453', 'href': 'http://10.0.0.73:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-81117197:ctest-vn-62010453?flat'} 2026-05-28 02:06:10,700 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-81117197:ctest-vn-62010453 is found in opserver 2026-05-28 02:06:10,708 - DEBUG - Do not have enough data to verify VN in agent 2026-05-28 02:06:10,712 - DEBUG - VRF ids for VN ctest-vn-62010453: {} 2026-05-28 02:06:10,768 - DEBUG - Services list from nova: [, , ] 2026-05-28 02:06:11,770 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5840-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5840-1) 2026-05-28 02:06:12,882 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5840-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5840-1) 2026-05-28 02:06:12,882 - INFO - Waiting for VM ctest-TestBasicPolicy-81117197-15616724 to be up.. 2026-05-28 02:06:12,955 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-28 02:06:18,031 - DEBUG - VM is in ACTIVE state now 2026-05-28 02:06:18,031 - INFO - VM name : ctest-TestBasicPolicy-81117197-15616724 2026-05-28 02:06:18,108 - DEBUG - VM ctest-TestBasicPolicy-81117197-15616724 ID is 6ed26a3e-eb3a-4dcc-9a43-bc75dc4ca84c 2026-05-28 02:06:18,130 - DEBUG - VM ctest-TestBasicPolicy-81117197-15616724 launched on Node cn-jenkins-deploy-platform-ansible-os-5840-1 2026-05-28 02:06:18,220 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/6ed26a3e-eb3a-4dcc-9a43-bc75dc4ca84c 2026-05-28 02:06:18,228 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/9ce12f3d-081f-4d74-ac37-dd620209727a 2026-05-28 02:06:21,473 - 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 1007ms') 2026-05-28 02:06:21,473 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-81117197-15616724 failed! 2026-05-28 02:06:21,527 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-81117197:ctest-vn-02984729 is 57.33.187.65 and allocation pool is NOT set 2026-05-28 02:06:23,585 - 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.48 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.923 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 = 0.923/4.201/7.480/3.278 ms') 2026-05-28 02:06:23,585 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-81117197-15616724 passed 2026-05-28 02:06:23,731 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 02:06:23,731 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-81117197-15616724, IP 57.33.187.67, Port 22 2026-05-28 02:06:23,797 - 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-05-28 02:06:23,875 - DEBUG - VM ctest-TestBasicPolicy-81117197-15616724 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-28 02:06:28,876 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 02:06:28,876 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-81117197-15616724, IP 57.33.187.67, Port 22 2026-05-28 02:06:29,030 - DEBUG - VM ctest-TestBasicPolicy-81117197-15616724 is ready for SSH connections 2026-05-28 02:06:29,030 - INFO - Waiting for VM ctest-TestBasicPolicy-81117197-92499100 to be up.. 2026-05-28 02:06:29,119 - DEBUG - VM is in ACTIVE state now 2026-05-28 02:06:29,119 - INFO - VM name : ctest-TestBasicPolicy-81117197-92499100 2026-05-28 02:06:29,201 - DEBUG - VM ctest-TestBasicPolicy-81117197-92499100 ID is 8829e43a-7405-476e-b285-debbcf8e854b 2026-05-28 02:06:29,201 - DEBUG - VM ctest-TestBasicPolicy-81117197-92499100 launched on Node cn-jenkins-deploy-platform-ansible-os-5840-1 2026-05-28 02:06:29,288 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/8829e43a-7405-476e-b285-debbcf8e854b 2026-05-28 02:06:29,295 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/a578683e-d15f-44c4-9c64-7aa1d40f05b4 2026-05-28 02:06:30,522 - 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.29 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.468 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.468/1.877/3.286/1.409 ms') 2026-05-28 02:06:30,522 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-81117197-92499100 passed 2026-05-28 02:06:30,671 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 02:06:30,671 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-81117197-92499100, IP 140.224.95.131, Port 22 2026-05-28 02:06:30,826 - DEBUG - VM ctest-TestBasicPolicy-81117197-92499100 is ready for SSH connections 2026-05-28 02:06:30,827 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 02:06:30,827 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 140.224.95.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2026-05-28 02:06:30,827 - DEBUG - ping -s 56 -c 3 -W 1 140.224.95.131 2026-05-28 02:06:34,845 - DEBUG - PING 140.224.95.131 (140.224.95.131): 56 data bytes 64 bytes from 140.224.95.131: seq=0 ttl=63 time=3.684 ms 64 bytes from 140.224.95.131: seq=1 ttl=63 time=1.153 ms 64 bytes from 140.224.95.131: seq=2 ttl=63 time=1.032 ms --- 140.224.95.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.032/1.956/3.684 ms 2026-05-28 02:06:34,845 - INFO - Ping to IP 140.224.95.131 from VM ctest-TestBasicPolicy-81117197-15616724 passed 2026-05-28 02:06:35,023 - DEBUG - Policy Update Response {"network-policy": {"uuid": "4a64a332-4f0b-43f5-a52c-3f6837733b18", "href": "http://10.0.0.73:8082/network-policy/4a64a332-4f0b-43f5-a52c-3f6837733b18"}} 2026-05-28 02:06:35,023 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 02:06:35,023 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 140.224.95.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2026-05-28 02:06:35,023 - DEBUG - ping -s 56 -c 3 -W 1 140.224.95.131 2026-05-28 02:06:38,230 - DEBUG - PING 140.224.95.131 (140.224.95.131): 56 data bytes --- 140.224.95.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-05-28 02:06:38,230 - WARNING - Ping to IP 140.224.95.131 from VM ctest-TestBasicPolicy-81117197-15616724 failed 2026-05-28 02:06:38,230 - INFO - Deleting VM ctest-TestBasicPolicy-81117197-92499100 2026-05-28 02:06:38,297 - INFO - Deleting VM ctest-TestBasicPolicy-81117197-15616724 2026-05-28 02:06:38,648 - INFO - Deleted policy ctest-policy-allow-all-44023607 2026-05-28 02:06:38,648 - INFO - Deleting VN ctest-vn-62010453 2026-05-28 02:06:38,684 - DEBUG - VN dccfb843-ae5e-4d7c-b452-118723fcf72f still in use: Unable to complete operation on network dccfb843-ae5e-4d7c-b452-118723fcf72f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a097ea4b-9803-4778-a52d-2a164a14192b'] 2026-05-28 02:06:38,685 - WARNING - Deleting VN ctest-vn-62010453 failed..Will retry 2026-05-28 02:06:40,781 - DEBUG - Response for deleting network () 2026-05-28 02:06:40,781 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/d782ea7b-06ef-4992-a934-fcf9ed029319 2026-05-28 02:06:40,785 - DEBUG - Response Code: 404 2026-05-28 02:06:40,785 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2026-05-28 02:06:40,794 - DEBUG - Requesting: http://10.0.0.73:8082/domain/e6ce87d3-0673-4d59-8833-edc88ea47cbf 2026-05-28 02:06:40,848 - DEBUG - Requesting: http://10.0.0.73:8082/project/e54e52ae-c354-4a4c-bfbe-5695636646c1 2026-05-28 02:06:40,922 - INFO - Validated that VN ctest-vn-62010453 is not found in API Server 2026-05-28 02:06:40,934 - DEBUG - VN ctest-vn-62010453 is not present in Agent 10.0.0.73 2026-05-28 02:06:40,934 - INFO - Validated that VN ctest-vn-62010453 is not in any agent 2026-05-28 02:06:40,950 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-62010453 info 2026-05-28 02:06:40,950 - INFO - Deleting VN ctest-vn-02984729 2026-05-28 02:06:41,045 - DEBUG - Response for deleting network () 2026-05-28 02:06:41,045 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/cf2ab976-334c-4e0d-9e4f-a482044c672b 2026-05-28 02:06:41,049 - DEBUG - Response Code: 404 2026-05-28 02:06:41,049 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2026-05-28 02:06:41,058 - DEBUG - Requesting: http://10.0.0.73:8082/domain/e6ce87d3-0673-4d59-8833-edc88ea47cbf 2026-05-28 02:06:41,112 - DEBUG - Requesting: http://10.0.0.73:8082/project/e54e52ae-c354-4a4c-bfbe-5695636646c1 2026-05-28 02:06:41,180 - INFO - Validated that VN ctest-vn-02984729 is not found in API Server 2026-05-28 02:06:41,189 - DEBUG - VN ctest-vn-02984729 is not present in Agent 10.0.0.73 2026-05-28 02:06:41,189 - INFO - Validated that VN ctest-vn-02984729 is not in any agent 2026-05-28 02:06:41,202 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-02984729 info 2026-05-28 02:06:41,460 - DEBUG - No XMPP flaps were noticed during the test 2026-05-28 02:06:41,460 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2026-05-28 02:06:41,461 - INFO - -------------------------------------------------------------------------------- 2026-05-28 02:06:42,141 - INFO - Deleted project: ctest-TestBasicPolicy-81117197, ID : e54e52ae-c354-4a4c-bfbe-5695636646c1