2026-03-26 02:32:13,353 - INFO - Domain Default found not creating 2026-03-26 02:32:13,833 - INFO - Project ctest-TestBasicPolicy-72456153 not found, creating it 2026-03-26 02:32:14,517 - INFO - Created Project:ctest-TestBasicPolicy-72456153, ID : e9544da3-c63c-4eea-a31c-acab46e9b85d 2026-03-26 02:32:16,795 - INFO - ================================================================================ 2026-03-26 02:32:16,795 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-26 02:32:16,796 - 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-03-26 02:32:17,109 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.252': '0'}} with 2026-03-26 02:32:17,110 - INFO - Initial checks done. Running the testcase now 2026-03-26 02:32:17,110 - INFO - 2026-03-26 02:32:17,933 - DEBUG - Response for create_network : {'network': {'id': 'bcbc606a-366d-468b-aff8-6c4df2d1f44f', 'name': 'ctest-vn-81800175', 'tenant_id': 'e9544da3c63c4eeaa31cacab46e9b85d', 'project_id': 'e9544da3c63c4eeaa31cacab46e9b85d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72456153', 'ctest-vn-81800175'], 'port_security_enabled': True, 'description': ''}} 2026-03-26 02:32:18,109 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c2febb0b-664f-435f-95e7-1c1e18c27cdf', 'name': '', 'tenant_id': 'e9544da3c63c4eeaa31cacab46e9b85d', 'network_id': 'bcbc606a-366d-468b-aff8-6c4df2d1f44f', 'ip_version': 4, 'cidr': '90.62.117.64/26', 'allocation_pools': [{'start': '90.62.117.66', 'end': '90.62.117.126'}], 'gateway_ip': '90.62.117.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.62.117.66', 'tags': [], 'project_id': 'e9544da3c63c4eeaa31cacab46e9b85d'}} 2026-03-26 02:32:18,135 - INFO - Created VN ctest-vn-81800175 2026-03-26 02:32:18,192 - DEBUG - VN ctest-vn-81800175 UUID is bcbc606a-366d-468b-aff8-6c4df2d1f44f 2026-03-26 02:32:18,667 - DEBUG - Response for create_network : {'network': {'id': '85d117ed-b8ac-4888-8489-6ad8210f115d', 'name': 'ctest-vn-79510677', 'tenant_id': 'e9544da3c63c4eeaa31cacab46e9b85d', 'project_id': 'e9544da3c63c4eeaa31cacab46e9b85d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72456153', 'ctest-vn-79510677'], 'port_security_enabled': True, 'description': ''}} 2026-03-26 02:32:18,888 - DEBUG - Response for create_subnet : {'subnet': {'id': 'db4965ac-44ba-4320-af59-d55590ac8c6b', 'name': '', 'tenant_id': 'e9544da3c63c4eeaa31cacab46e9b85d', 'network_id': '85d117ed-b8ac-4888-8489-6ad8210f115d', 'ip_version': 4, 'cidr': '61.224.108.64/26', 'allocation_pools': [{'start': '61.224.108.66', 'end': '61.224.108.126'}], 'gateway_ip': '61.224.108.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '61.224.108.66', 'tags': [], 'project_id': 'e9544da3c63c4eeaa31cacab46e9b85d'}} 2026-03-26 02:32:18,918 - INFO - Created VN ctest-vn-79510677 2026-03-26 02:32:18,975 - DEBUG - VN ctest-vn-79510677 UUID is 85d117ed-b8ac-4888-8489-6ad8210f115d 2026-03-26 02:32:19,106 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-72456153:ctest-vn-81800175, 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-72456153:ctest-vn-79510677, 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-03-26 02:32:19,580 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bcbc606a-366d-468b-aff8-6c4df2d1f44f', 'name': 'ctest-vn-81800175', 'tenant_id': 'e9544da3c63c4eeaa31cacab46e9b85d', 'project_id': 'e9544da3c63c4eeaa31cacab46e9b85d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c2febb0b-664f-435f-95e7-1c1e18c27cdf'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72456153', 'ctest-vn-81800175'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-72456153', 'ctest-policy-allow-all-19631858']], 'subnet_ipam': [{'subnet_cidr': '90.62.117.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-26 02:32:19,930 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '85d117ed-b8ac-4888-8489-6ad8210f115d', 'name': 'ctest-vn-79510677', 'tenant_id': 'e9544da3c63c4eeaa31cacab46e9b85d', 'project_id': 'e9544da3c63c4eeaa31cacab46e9b85d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['db4965ac-44ba-4320-af59-d55590ac8c6b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72456153', 'ctest-vn-79510677'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-72456153', 'ctest-policy-allow-all-19631858']], 'subnet_ipam': [{'subnet_cidr': '61.224.108.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-26 02:32:20,107 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-03-26 02:32:20,434 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-03-26 02:32:20,498 - DEBUG - Requesting: http://10.0.0.27:8082/domain/1c8217f5-6392-46c0-b62e-ef1e3b54d1ed 2026-03-26 02:32:20,524 - DEBUG - Requesting: http://10.0.0.27:8082/project/e9544da3-c63c-4eea-a31c-acab46e9b85d 2026-03-26 02:32:20,643 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/bcbc606a-366d-468b-aff8-6c4df2d1f44f 2026-03-26 02:32:20,664 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/bcbc606a-366d-468b-aff8-6c4df2d1f44f 2026-03-26 02:32:20,680 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/0873d58b-3662-4e8f-be10-f45f13bc7f8f 2026-03-26 02:32:20,693 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/0873d58b-3662-4e8f-be10-f45f13bc7f8f 2026-03-26 02:32:20,706 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/ef40bba7-64bc-432c-bce0-2bf9723a5095 2026-03-26 02:32:20,717 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-26 02:32:20,717 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/bcbc606a-366d-468b-aff8-6c4df2d1f44f 2026-03-26 02:32:20,736 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/0873d58b-3662-4e8f-be10-f45f13bc7f8f 2026-03-26 02:32:20,765 - INFO - Verified VN network id 11 for VN bcbc606a-366d-468b-aff8-6c4df2d1f44f 2026-03-26 02:32:20,766 - INFO - Verifications in API Server for VN ctest-vn-81800175 passed 2026-03-26 02:32:20,766 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/bcbc606a-366d-468b-aff8-6c4df2d1f44f 2026-03-26 02:32:20,783 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/0873d58b-3662-4e8f-be10-f45f13bc7f8f 2026-03-26 02:32:20,798 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/0873d58b-3662-4e8f-be10-f45f13bc7f8f 2026-03-26 02:32:20,809 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/ef40bba7-64bc-432c-bce0-2bf9723a5095 2026-03-26 02:32:20,826 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-72456153:ctest-vn-81800175', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-72456153', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13599850984047986315', 'uuid-lslong': '12680003832903758927'}, 'enable': 'true', 'created': '2026-03-26T02:32:17', 'last-modified': '2026-03-26T02:32:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.297336'} 2026-03-26 02:32:20,835 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-26 02:32:20,835 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-81800175 passed 2026-03-26 02:32:20,835 - DEBUG - ====Verifying policy data for ctest-vn-81800175 in API_Server ====== 2026-03-26 02:32:20,836 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-03-26 02:32:20,844 - DEBUG - Requesting: http://10.0.0.27:8082/domain/1c8217f5-6392-46c0-b62e-ef1e3b54d1ed 2026-03-26 02:32:20,866 - DEBUG - Requesting: http://10.0.0.27:8082/project/e9544da3-c63c-4eea-a31c-acab46e9b85d 2026-03-26 02:32:20,950 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/bcbc606a-366d-468b-aff8-6c4df2d1f44f 2026-03-26 02:32:20,962 - DEBUG - ==>Verifying data for policy with id: 693d97e4-f13e-4b05-a9ae-bf780c14924f, fqn: ['default-domain', 'ctest-TestBasicPolicy-72456153', 'ctest-policy-allow-all-19631858'] 2026-03-26 02:32:20,962 - INFO - VN ctest-vn-81800175 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-26 02:32:20,962 - DEBUG - Verifying the vn in opserver 2026-03-26 02:32:20,962 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-72456153:ctest-vn-81800175 virtual network link through opserver 10.0.0.27 2026-03-26 02:32:20,962 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2026-03-26 02:32:21,258 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2026-03-26 02:32:21,356 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-72456153:ctest-vn-81800175', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-72456153:ctest-vn-81800175?flat'} 2026-03-26 02:32:21,356 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-72456153:ctest-vn-81800175 is found in opserver 2026-03-26 02:32:21,377 - DEBUG - Do not have enough data to verify VN in agent 2026-03-26 02:32:21,387 - DEBUG - VRF ids for VN ctest-vn-81800175: {} 2026-03-26 02:32:21,387 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-03-26 02:32:21,396 - DEBUG - Requesting: http://10.0.0.27:8082/domain/1c8217f5-6392-46c0-b62e-ef1e3b54d1ed 2026-03-26 02:32:21,430 - DEBUG - Requesting: http://10.0.0.27:8082/project/e9544da3-c63c-4eea-a31c-acab46e9b85d 2026-03-26 02:32:21,534 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/85d117ed-b8ac-4888-8489-6ad8210f115d 2026-03-26 02:32:21,558 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/85d117ed-b8ac-4888-8489-6ad8210f115d 2026-03-26 02:32:21,572 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/c356016d-fff4-43f2-a579-a0d32d017428 2026-03-26 02:32:21,583 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/c356016d-fff4-43f2-a579-a0d32d017428 2026-03-26 02:32:21,597 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/3f65bf26-9312-425a-9513-fa68d8d58ba7 2026-03-26 02:32:21,613 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-26 02:32:21,614 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/85d117ed-b8ac-4888-8489-6ad8210f115d 2026-03-26 02:32:21,637 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/c356016d-fff4-43f2-a579-a0d32d017428 2026-03-26 02:32:21,661 - INFO - Verified VN network id 12 for VN 85d117ed-b8ac-4888-8489-6ad8210f115d 2026-03-26 02:32:21,661 - INFO - Verifications in API Server for VN ctest-vn-79510677 passed 2026-03-26 02:32:21,661 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/85d117ed-b8ac-4888-8489-6ad8210f115d 2026-03-26 02:32:21,677 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/c356016d-fff4-43f2-a579-a0d32d017428 2026-03-26 02:32:21,695 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/c356016d-fff4-43f2-a579-a0d32d017428 2026-03-26 02:32:21,711 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/3f65bf26-9312-425a-9513-fa68d8d58ba7 2026-03-26 02:32:21,730 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-72456153:ctest-vn-79510677', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-72456153', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9642514586949929096', 'uuid-lslong': '9550281961315963229'}, 'enable': 'true', 'created': '2026-03-26T02:32:18', 'last-modified': '2026-03-26T02:32:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.845906'} 2026-03-26 02:32:21,743 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-26 02:32:21,743 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-79510677 passed 2026-03-26 02:32:21,743 - DEBUG - ====Verifying policy data for ctest-vn-79510677 in API_Server ====== 2026-03-26 02:32:21,744 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-03-26 02:32:21,752 - DEBUG - Requesting: http://10.0.0.27:8082/domain/1c8217f5-6392-46c0-b62e-ef1e3b54d1ed 2026-03-26 02:32:21,767 - DEBUG - Requesting: http://10.0.0.27:8082/project/e9544da3-c63c-4eea-a31c-acab46e9b85d 2026-03-26 02:32:21,860 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/85d117ed-b8ac-4888-8489-6ad8210f115d 2026-03-26 02:32:21,882 - DEBUG - ==>Verifying data for policy with id: 693d97e4-f13e-4b05-a9ae-bf780c14924f, fqn: ['default-domain', 'ctest-TestBasicPolicy-72456153', 'ctest-policy-allow-all-19631858'] 2026-03-26 02:32:21,882 - INFO - VN ctest-vn-79510677 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-26 02:32:21,882 - DEBUG - Verifying the vn in opserver 2026-03-26 02:32:21,882 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-72456153:ctest-vn-79510677 virtual network link through opserver 10.0.0.27 2026-03-26 02:32:21,882 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2026-03-26 02:32:21,904 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-72456153:ctest-vn-79510677', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-72456153:ctest-vn-79510677?flat'} 2026-03-26 02:32:21,904 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-72456153:ctest-vn-79510677 is found in opserver 2026-03-26 02:32:21,920 - DEBUG - Do not have enough data to verify VN in agent 2026-03-26 02:32:21,928 - DEBUG - VRF ids for VN ctest-vn-79510677: {} 2026-03-26 02:32:22,053 - DEBUG - Services list from nova: [, , ] 2026-03-26 02:32:23,608 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5542-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5542-1) 2026-03-26 02:32:25,119 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5542-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5542-1) 2026-03-26 02:32:25,119 - INFO - Waiting for VM ctest-TestBasicPolicy-72456153-62670044 to be up.. 2026-03-26 02:32:25,232 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-26 02:32:30,333 - DEBUG - VM is in ACTIVE state now 2026-03-26 02:32:30,333 - INFO - VM name : ctest-TestBasicPolicy-72456153-62670044 2026-03-26 02:32:30,427 - DEBUG - VM ctest-TestBasicPolicy-72456153-62670044 ID is 0e1d7920-5d0a-40b7-8518-b1d4174dc5b3 2026-03-26 02:32:30,448 - DEBUG - VM ctest-TestBasicPolicy-72456153-62670044 launched on Node cn-jenkins-deploy-platform-ansible-os-5542-1 2026-03-26 02:32:30,538 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/0e1d7920-5d0a-40b7-8518-b1d4174dc5b3 2026-03-26 02:32:30,547 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/60e84717-04fc-4b45-b1e3-4b8dbd6d5373 2026-03-26 02:32:33,827 - 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 1027ms') 2026-03-26 02:32:33,828 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-72456153-62670044 failed! 2026-03-26 02:32:33,900 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-72456153:ctest-vn-81800175 is 90.62.117.65 and allocation pool is NOT set 2026-03-26 02:32:35,979 - 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=17.2 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.831 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.831/8.991/17.151/8.160 ms') 2026-03-26 02:32:35,980 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-72456153-62670044 passed 2026-03-26 02:32:36,155 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-26 02:32:36,155 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-72456153-62670044, IP 90.62.117.67, Port 22 2026-03-26 02:32:36,232 - 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-03-26 02:32:36,348 - DEBUG - VM ctest-TestBasicPolicy-72456153-62670044 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-26 02:32:41,350 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-26 02:32:41,350 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-72456153-62670044, IP 90.62.117.67, Port 22 2026-03-26 02:32:41,537 - DEBUG - VM ctest-TestBasicPolicy-72456153-62670044 is ready for SSH connections 2026-03-26 02:32:41,537 - INFO - Waiting for VM ctest-TestBasicPolicy-72456153-38991091 to be up.. 2026-03-26 02:32:41,706 - DEBUG - VM is in ACTIVE state now 2026-03-26 02:32:41,706 - INFO - VM name : ctest-TestBasicPolicy-72456153-38991091 2026-03-26 02:32:41,892 - DEBUG - VM ctest-TestBasicPolicy-72456153-38991091 ID is cc558176-6a24-4005-9c49-5a3b9fdfe55c 2026-03-26 02:32:41,892 - DEBUG - VM ctest-TestBasicPolicy-72456153-38991091 launched on Node cn-jenkins-deploy-platform-ansible-os-5542-1 2026-03-26 02:32:42,080 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/cc558176-6a24-4005-9c49-5a3b9fdfe55c 2026-03-26 02:32:42,095 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/db45aac4-716b-4c84-a4a2-677aba17bd79 2026-03-26 02:32:43,414 - 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.78 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.607 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.607/3.192/5.778/2.585 ms') 2026-03-26 02:32:43,414 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-72456153-38991091 passed 2026-03-26 02:32:43,591 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-26 02:32:43,592 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-72456153-38991091, IP 61.224.108.67, Port 22 2026-03-26 02:32:43,780 - DEBUG - VM ctest-TestBasicPolicy-72456153-38991091 is ready for SSH connections 2026-03-26 02:32:43,780 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-26 02:32:43,781 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 61.224.108.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2026-03-26 02:32:43,781 - DEBUG - ping -s 56 -c 3 -W 1 61.224.108.67 2026-03-26 02:32:48,307 - DEBUG - PING 61.224.108.67 (61.224.108.67): 56 data bytes 64 bytes from 61.224.108.67: seq=0 ttl=63 time=8.215 ms 64 bytes from 61.224.108.67: seq=1 ttl=63 time=2.327 ms 64 bytes from 61.224.108.67: seq=2 ttl=63 time=1.543 ms --- 61.224.108.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.543/4.028/8.215 ms 2026-03-26 02:32:48,308 - INFO - Ping to IP 61.224.108.67 from VM ctest-TestBasicPolicy-72456153-62670044 passed 2026-03-26 02:32:48,555 - DEBUG - Policy Update Response {"network-policy": {"uuid": "693d97e4-f13e-4b05-a9ae-bf780c14924f", "href": "http://10.0.0.27:8082/network-policy/693d97e4-f13e-4b05-a9ae-bf780c14924f"}} 2026-03-26 02:32:48,556 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-26 02:32:48,556 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 61.224.108.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2026-03-26 02:32:48,556 - DEBUG - ping -s 56 -c 3 -W 1 61.224.108.67 2026-03-26 02:32:51,854 - DEBUG - PING 61.224.108.67 (61.224.108.67): 56 data bytes 64 bytes from 61.224.108.67: seq=0 ttl=63 time=3.565 ms --- 61.224.108.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 3.565/3.565/3.565 ms 2026-03-26 02:32:51,855 - WARNING - Ping to IP 61.224.108.67 from VM ctest-TestBasicPolicy-72456153-62670044 failed 2026-03-26 02:32:51,855 - INFO - Deleting VM ctest-TestBasicPolicy-72456153-38991091 2026-03-26 02:32:51,956 - INFO - Deleting VM ctest-TestBasicPolicy-72456153-62670044 2026-03-26 02:32:52,499 - INFO - Deleted policy ctest-policy-allow-all-19631858 2026-03-26 02:32:52,499 - INFO - Deleting VN ctest-vn-79510677 2026-03-26 02:32:52,538 - DEBUG - VN 85d117ed-b8ac-4888-8489-6ad8210f115d still in use: Unable to complete operation on network 85d117ed-b8ac-4888-8489-6ad8210f115d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c503eda8-c3b7-4021-82ad-a03c771b1a1f'] 2026-03-26 02:32:52,538 - WARNING - Deleting VN ctest-vn-79510677 failed..Will retry 2026-03-26 02:32:54,717 - DEBUG - Response for deleting network () 2026-03-26 02:32:54,717 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/c356016d-fff4-43f2-a579-a0d32d017428 2026-03-26 02:32:54,724 - DEBUG - Response Code: 404 2026-03-26 02:32:54,724 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-03-26 02:32:54,731 - DEBUG - Requesting: http://10.0.0.27:8082/domain/1c8217f5-6392-46c0-b62e-ef1e3b54d1ed 2026-03-26 02:32:54,800 - DEBUG - Requesting: http://10.0.0.27:8082/project/e9544da3-c63c-4eea-a31c-acab46e9b85d 2026-03-26 02:32:54,911 - INFO - Validated that VN ctest-vn-79510677 is not found in API Server 2026-03-26 02:32:54,932 - DEBUG - VN ctest-vn-79510677 is not present in Agent 10.0.0.27 2026-03-26 02:32:54,932 - INFO - Validated that VN ctest-vn-79510677 is not in any agent 2026-03-26 02:32:54,963 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-79510677 info 2026-03-26 02:32:54,963 - INFO - Deleting VN ctest-vn-81800175 2026-03-26 02:32:55,108 - DEBUG - Response for deleting network () 2026-03-26 02:32:55,108 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/0873d58b-3662-4e8f-be10-f45f13bc7f8f 2026-03-26 02:32:55,116 - DEBUG - Response Code: 404 2026-03-26 02:32:55,117 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-03-26 02:32:55,126 - DEBUG - Requesting: http://10.0.0.27:8082/domain/1c8217f5-6392-46c0-b62e-ef1e3b54d1ed 2026-03-26 02:32:55,185 - DEBUG - Requesting: http://10.0.0.27:8082/project/e9544da3-c63c-4eea-a31c-acab46e9b85d 2026-03-26 02:32:55,287 - INFO - Validated that VN ctest-vn-81800175 is not found in API Server 2026-03-26 02:32:55,305 - DEBUG - VN ctest-vn-81800175 is not present in Agent 10.0.0.27 2026-03-26 02:32:55,305 - INFO - Validated that VN ctest-vn-81800175 is not in any agent 2026-03-26 02:32:55,338 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-81800175 info 2026-03-26 02:32:55,658 - DEBUG - No XMPP flaps were noticed during the test
2026-03-26 02:32:55,658 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:39]
2026-03-26 02:32:55,658 - INFO - -------------------------------------------------------------------------------- 2026-03-26 02:32:56,499 - INFO - Deleted project: ctest-TestBasicPolicy-72456153, ID : e9544da3-c63c-4eea-a31c-acab46e9b85d