2026-11-06 23:56:54,192 - INFO - Domain Default found not creating 2026-11-06 23:56:54,393 - INFO - Project ctest-TestBasicPolicy-02100552 not found, creating it 2026-11-06 23:56:54,925 - INFO - Created Project:ctest-TestBasicPolicy-02100552, ID : a9129b5c-cf8b-4966-9f63-35175bfbb726 2026-11-06 23:56:56,744 - INFO - ================================================================================ 2026-11-06 23:56:56,744 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-11-06 23:56:56,745 - 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-11-06 23:56:57,017 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.25': '0'}} with 2026-11-06 23:56:57,017 - INFO - Initial checks done. Running the testcase now 2026-11-06 23:56:57,017 - INFO - 2026-11-06 23:56:57,684 - DEBUG - Response for create_network : {'network': {'id': '091a1e5b-bbcc-4c77-89b8-0cb7c8be712c', 'name': 'ctest-vn-73130179', 'tenant_id': 'a9129b5ccf8b49669f6335175bfbb726', 'project_id': 'a9129b5ccf8b49669f6335175bfbb726', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02100552', 'ctest-vn-73130179'], 'port_security_enabled': True, 'description': ''}} 2026-11-06 23:56:57,868 - DEBUG - Response for create_subnet : {'subnet': {'id': '54ee69e0-28a1-479b-bf1c-c23330be7202', 'name': '', 'tenant_id': 'a9129b5ccf8b49669f6335175bfbb726', 'network_id': '091a1e5b-bbcc-4c77-89b8-0cb7c8be712c', 'ip_version': 4, 'cidr': '170.239.97.192/26', 'allocation_pools': [{'start': '170.239.97.194', 'end': '170.239.97.254'}], 'gateway_ip': '170.239.97.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '170.239.97.194', 'tags': [], 'project_id': 'a9129b5ccf8b49669f6335175bfbb726'}} 2026-11-06 23:56:57,893 - INFO - Created VN ctest-vn-73130179 2026-11-06 23:56:57,948 - DEBUG - VN ctest-vn-73130179 UUID is 091a1e5b-bbcc-4c77-89b8-0cb7c8be712c 2026-11-06 23:56:58,271 - DEBUG - Response for create_network : {'network': {'id': 'b7e11d51-5623-4b26-a1d0-de2038f4fe00', 'name': 'ctest-vn-74547659', 'tenant_id': 'a9129b5ccf8b49669f6335175bfbb726', 'project_id': 'a9129b5ccf8b49669f6335175bfbb726', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02100552', 'ctest-vn-74547659'], 'port_security_enabled': True, 'description': ''}} 2026-11-06 23:56:58,445 - DEBUG - Response for create_subnet : {'subnet': {'id': '5ce804f8-f818-403a-bb60-a32a50592fd0', 'name': '', 'tenant_id': 'a9129b5ccf8b49669f6335175bfbb726', 'network_id': 'b7e11d51-5623-4b26-a1d0-de2038f4fe00', 'ip_version': 4, 'cidr': '49.51.66.192/26', 'allocation_pools': [{'start': '49.51.66.194', 'end': '49.51.66.254'}], 'gateway_ip': '49.51.66.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '49.51.66.194', 'tags': [], 'project_id': 'a9129b5ccf8b49669f6335175bfbb726'}} 2026-11-06 23:56:58,465 - INFO - Created VN ctest-vn-74547659 2026-11-06 23:56:58,520 - DEBUG - VN ctest-vn-74547659 UUID is b7e11d51-5623-4b26-a1d0-de2038f4fe00 2026-11-06 23:56:58,641 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-02100552:ctest-vn-73130179, 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-02100552:ctest-vn-74547659, 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-11-06 23:56:58,973 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '091a1e5b-bbcc-4c77-89b8-0cb7c8be712c', 'name': 'ctest-vn-73130179', 'tenant_id': 'a9129b5ccf8b49669f6335175bfbb726', 'project_id': 'a9129b5ccf8b49669f6335175bfbb726', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['54ee69e0-28a1-479b-bf1c-c23330be7202'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02100552', 'ctest-vn-73130179'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-02100552', 'ctest-policy-allow-all-33869407']], 'subnet_ipam': [{'subnet_cidr': '170.239.97.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-06 23:56:59,212 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b7e11d51-5623-4b26-a1d0-de2038f4fe00', 'name': 'ctest-vn-74547659', 'tenant_id': 'a9129b5ccf8b49669f6335175bfbb726', 'project_id': 'a9129b5ccf8b49669f6335175bfbb726', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['5ce804f8-f818-403a-bb60-a32a50592fd0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02100552', 'ctest-vn-74547659'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-02100552', 'ctest-policy-allow-all-33869407']], 'subnet_ipam': [{'subnet_cidr': '49.51.66.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-06 23:56:59,376 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-11-06 23:56:59,756 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-11-06 23:56:59,787 - DEBUG - Requesting: http://10.0.0.161:8082/domain/ce81d6c8-eae9-4b7c-bf98-81cb2e87f0ec 2026-11-06 23:56:59,802 - DEBUG - Requesting: http://10.0.0.161:8082/project/a9129b5c-cf8b-4966-9f63-35175bfbb726 2026-11-06 23:56:59,887 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/091a1e5b-bbcc-4c77-89b8-0cb7c8be712c 2026-11-06 23:56:59,901 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/091a1e5b-bbcc-4c77-89b8-0cb7c8be712c 2026-11-06 23:56:59,913 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/2f1f8d70-44bd-4656-9c2f-ee809b1c0a78 2026-11-06 23:56:59,922 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/2f1f8d70-44bd-4656-9c2f-ee809b1c0a78 2026-11-06 23:56:59,930 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/d62a8492-45d9-4710-84fc-d09ac87c6c1e 2026-11-06 23:56:59,937 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-06 23:56:59,937 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/091a1e5b-bbcc-4c77-89b8-0cb7c8be712c 2026-11-06 23:56:59,947 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/2f1f8d70-44bd-4656-9c2f-ee809b1c0a78 2026-11-06 23:56:59,963 - INFO - Verified VN network id 12 for VN 091a1e5b-bbcc-4c77-89b8-0cb7c8be712c 2026-11-06 23:56:59,963 - INFO - Verifications in API Server for VN ctest-vn-73130179 passed 2026-11-06 23:56:59,964 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/091a1e5b-bbcc-4c77-89b8-0cb7c8be712c 2026-11-06 23:56:59,974 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/2f1f8d70-44bd-4656-9c2f-ee809b1c0a78 2026-11-06 23:56:59,983 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/2f1f8d70-44bd-4656-9c2f-ee809b1c0a78 2026-11-06 23:56:59,991 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/d62a8492-45d9-4710-84fc-d09ac87c6c1e 2026-11-06 23:57:00,006 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-02100552:ctest-vn-73130179', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-02100552', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '655870075077414007', 'uuid-lslong': '9923695762397360428'}, 'enable': 'true', 'created': '2026-11-06T23:56:57', 'last-modified': '2026-11-06T23:56:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.056888'} 2026-11-06 23:57:00,014 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-06 23:57:00,015 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-73130179 passed 2026-11-06 23:57:00,015 - DEBUG - ====Verifying policy data for ctest-vn-73130179 in API_Server ====== 2026-11-06 23:57:00,015 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-11-06 23:57:00,022 - DEBUG - Requesting: http://10.0.0.161:8082/domain/ce81d6c8-eae9-4b7c-bf98-81cb2e87f0ec 2026-11-06 23:57:00,034 - DEBUG - Requesting: http://10.0.0.161:8082/project/a9129b5c-cf8b-4966-9f63-35175bfbb726 2026-11-06 23:57:00,113 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/091a1e5b-bbcc-4c77-89b8-0cb7c8be712c 2026-11-06 23:57:00,125 - DEBUG - ==>Verifying data for policy with id: db76f01b-972b-4f40-ab8f-9182c53a0535, fqn: ['default-domain', 'ctest-TestBasicPolicy-02100552', 'ctest-policy-allow-all-33869407'] 2026-11-06 23:57:00,125 - INFO - VN ctest-vn-73130179 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-06 23:57:00,125 - DEBUG - Verifying the vn in opserver 2026-11-06 23:57:00,125 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-02100552:ctest-vn-73130179 virtual network link through opserver 10.0.0.161 2026-11-06 23:57:00,125 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-11-06 23:57:00,539 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-11-06 23:57:00,602 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-02100552:ctest-vn-73130179', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-02100552:ctest-vn-73130179?flat'} 2026-11-06 23:57:00,603 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-02100552:ctest-vn-73130179 is found in opserver 2026-11-06 23:57:00,619 - DEBUG - Do not have enough data to verify VN in agent 2026-11-06 23:57:00,625 - DEBUG - VRF ids for VN ctest-vn-73130179: {} 2026-11-06 23:57:00,625 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-11-06 23:57:00,632 - DEBUG - Requesting: http://10.0.0.161:8082/domain/ce81d6c8-eae9-4b7c-bf98-81cb2e87f0ec 2026-11-06 23:57:00,645 - DEBUG - Requesting: http://10.0.0.161:8082/project/a9129b5c-cf8b-4966-9f63-35175bfbb726 2026-11-06 23:57:00,738 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/b7e11d51-5623-4b26-a1d0-de2038f4fe00 2026-11-06 23:57:00,759 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/b7e11d51-5623-4b26-a1d0-de2038f4fe00 2026-11-06 23:57:00,773 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/e713d844-1c76-40e3-a9a0-034260800a2a 2026-11-06 23:57:00,783 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/e713d844-1c76-40e3-a9a0-034260800a2a 2026-11-06 23:57:00,795 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/44ff0afd-97f2-424e-9994-a7af0c16b7f6 2026-11-06 23:57:00,804 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-06 23:57:00,804 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/b7e11d51-5623-4b26-a1d0-de2038f4fe00 2026-11-06 23:57:00,818 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/e713d844-1c76-40e3-a9a0-034260800a2a 2026-11-06 23:57:00,839 - INFO - Verified VN network id 13 for VN b7e11d51-5623-4b26-a1d0-de2038f4fe00 2026-11-06 23:57:00,840 - INFO - Verifications in API Server for VN ctest-vn-74547659 passed 2026-11-06 23:57:00,840 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/b7e11d51-5623-4b26-a1d0-de2038f4fe00 2026-11-06 23:57:00,852 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/e713d844-1c76-40e3-a9a0-034260800a2a 2026-11-06 23:57:00,861 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/e713d844-1c76-40e3-a9a0-034260800a2a 2026-11-06 23:57:00,870 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/44ff0afd-97f2-424e-9994-a7af0c16b7f6 2026-11-06 23:57:00,888 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-02100552:ctest-vn-74547659', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-02100552', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13249903813875419942', 'uuid-lslong': '11660063665238113792'}, 'enable': 'true', 'created': '2026-11-06T23:56:58', 'last-modified': '2026-11-06T23:56:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.703713'} 2026-11-06 23:57:00,897 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-06 23:57:00,897 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-74547659 passed 2026-11-06 23:57:00,897 - DEBUG - ====Verifying policy data for ctest-vn-74547659 in API_Server ====== 2026-11-06 23:57:00,898 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-11-06 23:57:00,905 - DEBUG - Requesting: http://10.0.0.161:8082/domain/ce81d6c8-eae9-4b7c-bf98-81cb2e87f0ec 2026-11-06 23:57:00,918 - DEBUG - Requesting: http://10.0.0.161:8082/project/a9129b5c-cf8b-4966-9f63-35175bfbb726 2026-11-06 23:57:00,995 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/b7e11d51-5623-4b26-a1d0-de2038f4fe00 2026-11-06 23:57:01,006 - DEBUG - ==>Verifying data for policy with id: db76f01b-972b-4f40-ab8f-9182c53a0535, fqn: ['default-domain', 'ctest-TestBasicPolicy-02100552', 'ctest-policy-allow-all-33869407'] 2026-11-06 23:57:01,006 - INFO - VN ctest-vn-74547659 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-06 23:57:01,006 - DEBUG - Verifying the vn in opserver 2026-11-06 23:57:01,006 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-02100552:ctest-vn-74547659 virtual network link through opserver 10.0.0.161 2026-11-06 23:57:01,007 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-11-06 23:57:01,019 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-02100552:ctest-vn-74547659', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-02100552:ctest-vn-74547659?flat'} 2026-11-06 23:57:01,019 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-02100552:ctest-vn-74547659 is found in opserver 2026-11-06 23:57:01,036 - DEBUG - Do not have enough data to verify VN in agent 2026-11-06 23:57:01,044 - DEBUG - VRF ids for VN ctest-vn-74547659: {} 2026-11-06 23:57:01,119 - DEBUG - Services list from nova: [, , ] 2026-11-06 23:57:01,513 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6493-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6493-1) 2026-11-06 23:57:01,974 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6493-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6493-1) 2026-11-06 23:57:01,974 - INFO - Waiting for VM ctest-TestBasicPolicy-02100552-37378214 to be up.. 2026-11-06 23:57:02,022 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 23:57:07,108 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 23:57:12,214 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 23:57:17,307 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 23:57:22,417 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 23:57:27,503 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 23:57:32,599 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 23:57:37,684 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 23:57:42,778 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 23:57:47,886 - DEBUG - VM is in ACTIVE state now 2026-11-06 23:57:47,886 - INFO - VM name : ctest-TestBasicPolicy-02100552-37378214 2026-11-06 23:57:47,996 - DEBUG - VM ctest-TestBasicPolicy-02100552-37378214 ID is 34511402-8a6e-4903-b6ab-ab434da4a8ce 2026-11-06 23:57:48,027 - DEBUG - VM ctest-TestBasicPolicy-02100552-37378214 launched on Node cn-jenkins-deploy-platform-ansible-os-6493-1 2026-11-06 23:57:48,117 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/34511402-8a6e-4903-b6ab-ab434da4a8ce 2026-11-06 23:57:48,125 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/dabf637c-2c2f-4d29-a944-27bcc9c181be 2026-11-06 23:57:51,388 - 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=5.18 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1013ms\r\nrtt min/avg/max/mdev = 5.180/5.180/5.180/0.000 ms') 2026-11-06 23:57:51,388 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-02100552-37378214 passed 2026-11-06 23:57:51,540 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-06 23:57:51,540 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-02100552-37378214, IP 170.239.97.195, Port 22 2026-11-06 23:57:51,606 - 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-11-06 23:57:51,698 - DEBUG - VM ctest-TestBasicPolicy-02100552-37378214 is NOT ready for SSH connections, VM status: ACTIVE 2026-11-06 23:57:56,698 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-06 23:57:56,699 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-02100552-37378214, IP 170.239.97.195, Port 22 2026-11-06 23:57:56,878 - DEBUG - VM ctest-TestBasicPolicy-02100552-37378214 is ready for SSH connections 2026-11-06 23:57:56,878 - INFO - Waiting for VM ctest-TestBasicPolicy-02100552-88103559 to be up.. 2026-11-06 23:57:56,966 - DEBUG - VM is in ACTIVE state now 2026-11-06 23:57:56,966 - INFO - VM name : ctest-TestBasicPolicy-02100552-88103559 2026-11-06 23:57:57,053 - DEBUG - VM ctest-TestBasicPolicy-02100552-88103559 ID is 865b4f07-a61c-4041-88b4-e3779ea3234a 2026-11-06 23:57:57,053 - DEBUG - VM ctest-TestBasicPolicy-02100552-88103559 launched on Node cn-jenkins-deploy-platform-ansible-os-6493-1 2026-11-06 23:57:57,137 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/865b4f07-a61c-4041-88b4-e3779ea3234a 2026-11-06 23:57:57,146 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/9d6ef22b-f776-4887-bd34-a8549dbe4cc7 2026-11-06 23:57:58,401 - 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=4.34 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.409 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.409/2.375/4.342/1.966 ms') 2026-11-06 23:57:58,401 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-02100552-88103559 passed 2026-11-06 23:57:58,560 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-06 23:57:58,560 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-02100552-88103559, IP 49.51.66.195, Port 22 2026-11-06 23:57:58,727 - DEBUG - VM ctest-TestBasicPolicy-02100552-88103559 is ready for SSH connections 2026-11-06 23:57:58,727 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-06 23:57:58,727 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 49.51.66.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-11-06 23:57:58,727 - DEBUG - ping -s 56 -c 3 -W 1 49.51.66.195 2026-11-06 23:58:02,839 - DEBUG - PING 49.51.66.195 (49.51.66.195): 56 data bytes 64 bytes from 49.51.66.195: seq=0 ttl=63 time=4.736 ms 64 bytes from 49.51.66.195: seq=1 ttl=63 time=1.095 ms 64 bytes from 49.51.66.195: seq=2 ttl=63 time=1.117 ms --- 49.51.66.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.095/2.316/4.736 ms 2026-11-06 23:58:02,839 - INFO - Ping to IP 49.51.66.195 from VM ctest-TestBasicPolicy-02100552-37378214 passed 2026-11-06 23:58:03,024 - DEBUG - Policy Update Response {"network-policy": {"uuid": "db76f01b-972b-4f40-ab8f-9182c53a0535", "href": "http://10.0.0.161:8082/network-policy/db76f01b-972b-4f40-ab8f-9182c53a0535"}} 2026-11-06 23:58:03,024 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-06 23:58:03,024 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 49.51.66.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-11-06 23:58:03,025 - DEBUG - ping -s 56 -c 3 -W 1 49.51.66.195 2026-11-06 23:58:06,188 - DEBUG - PING 49.51.66.195 (49.51.66.195): 56 data bytes 64 bytes from 49.51.66.195: seq=0 ttl=63 time=2.084 ms --- 49.51.66.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.084/2.084/2.084 ms 2026-11-06 23:58:06,188 - WARNING - Ping to IP 49.51.66.195 from VM ctest-TestBasicPolicy-02100552-37378214 failed 2026-11-06 23:58:06,188 - INFO - Deleting VM ctest-TestBasicPolicy-02100552-88103559 2026-11-06 23:58:06,279 - INFO - Deleting VM ctest-TestBasicPolicy-02100552-37378214 2026-11-06 23:58:06,696 - INFO - Deleted policy ctest-policy-allow-all-33869407 2026-11-06 23:58:06,696 - INFO - Deleting VN ctest-vn-74547659 2026-11-06 23:58:06,733 - DEBUG - VN b7e11d51-5623-4b26-a1d0-de2038f4fe00 still in use: Unable to complete operation on network b7e11d51-5623-4b26-a1d0-de2038f4fe00. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-49d93c46-996a-4133-86be-6145217109a0'] 2026-11-06 23:58:06,733 - WARNING - Deleting VN ctest-vn-74547659 failed..Will retry 2026-11-06 23:58:08,787 - DEBUG - VN b7e11d51-5623-4b26-a1d0-de2038f4fe00 still in use: Unable to complete operation on network b7e11d51-5623-4b26-a1d0-de2038f4fe00. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f38b1f92-34e9-4712-bf19-f7306c7e9ae6'] 2026-11-06 23:58:08,787 - WARNING - Deleting VN ctest-vn-74547659 failed..Will retry 2026-11-06 23:58:10,901 - DEBUG - Response for deleting network () 2026-11-06 23:58:10,902 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/e713d844-1c76-40e3-a9a0-034260800a2a 2026-11-06 23:58:10,911 - DEBUG - Response Code: 404 2026-11-06 23:58:10,911 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-11-06 23:58:10,917 - DEBUG - Requesting: http://10.0.0.161:8082/domain/ce81d6c8-eae9-4b7c-bf98-81cb2e87f0ec 2026-11-06 23:58:10,975 - DEBUG - Requesting: http://10.0.0.161:8082/project/a9129b5c-cf8b-4966-9f63-35175bfbb726 2026-11-06 23:58:11,054 - INFO - Validated that VN ctest-vn-74547659 is not found in API Server 2026-11-06 23:58:11,068 - DEBUG - VN ctest-vn-74547659 is not present in Agent 10.0.0.161 2026-11-06 23:58:11,068 - INFO - Validated that VN ctest-vn-74547659 is not in any agent 2026-11-06 23:58:11,086 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-74547659 info 2026-11-06 23:58:11,087 - INFO - Deleting VN ctest-vn-73130179 2026-11-06 23:58:11,208 - DEBUG - Response for deleting network () 2026-11-06 23:58:11,208 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/2f1f8d70-44bd-4656-9c2f-ee809b1c0a78 2026-11-06 23:58:11,213 - DEBUG - Response Code: 404 2026-11-06 23:58:11,214 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-11-06 23:58:11,220 - DEBUG - Requesting: http://10.0.0.161:8082/domain/ce81d6c8-eae9-4b7c-bf98-81cb2e87f0ec 2026-11-06 23:58:11,274 - DEBUG - Requesting: http://10.0.0.161:8082/project/a9129b5c-cf8b-4966-9f63-35175bfbb726 2026-11-06 23:58:11,358 - INFO - Validated that VN ctest-vn-73130179 is not found in API Server 2026-11-06 23:58:11,373 - DEBUG - VN ctest-vn-73130179 is not present in Agent 10.0.0.161 2026-11-06 23:58:11,373 - INFO - Validated that VN ctest-vn-73130179 is not in any agent 2026-11-06 23:58:11,395 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-73130179 info 2026-11-06 23:58:11,666 - DEBUG - No XMPP flaps were noticed during the test
2026-11-06 23:58:11,666 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:15]
2026-11-06 23:58:11,666 - INFO - -------------------------------------------------------------------------------- 2026-11-06 23:58:12,479 - INFO - Deleted project: ctest-TestBasicPolicy-02100552, ID : a9129b5c-cf8b-4966-9f63-35175bfbb726