2026-09-28 02:27:58,723 - INFO - Domain Default found not creating 2026-09-28 02:27:58,966 - INFO - Project ctest-TestBasicPolicy-84959422 not found, creating it 2026-09-28 02:27:59,527 - INFO - Created Project:ctest-TestBasicPolicy-84959422, ID : 1afda1f1-42dc-42b0-88f7-7c9b76043e2d 2026-09-28 02:28:02,017 - INFO - ================================================================================ 2026-09-28 02:28:02,017 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-09-28 02:28:02,017 - 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-09-28 02:28:02,295 - DEBUG - Nothing to compare xmpp stats {'10.0.0.186': {'10.20.0.17': '0'}} with 2026-09-28 02:28:02,295 - INFO - Initial checks done. Running the testcase now 2026-09-28 02:28:02,295 - INFO - 2026-09-28 02:28:03,062 - DEBUG - Response for create_network : {'network': {'id': '273b1d80-a1d0-428d-a802-69ac2ba7d660', 'name': 'ctest-vn-22256349', 'tenant_id': '1afda1f142dc42b088f77c9b76043e2d', 'project_id': '1afda1f142dc42b088f77c9b76043e2d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84959422', 'ctest-vn-22256349'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-09-28 02:28:03,298 - DEBUG - Response for create_subnet : {'subnet': {'id': '313f71c4-ed60-4931-a285-7265dd471ea3', 'name': '', 'tenant_id': '1afda1f142dc42b088f77c9b76043e2d', 'network_id': '273b1d80-a1d0-428d-a802-69ac2ba7d660', 'ip_version': 4, 'cidr': '162.66.251.0/26', 'allocation_pools': [{'start': '162.66.251.2', 'end': '162.66.251.62'}], 'gateway_ip': '162.66.251.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-09-28T02:28:03.219516', 'updated_at': '2026-09-28T02:28:03.219516', 'dns_server_address': '162.66.251.2', 'tags': [], 'project_id': '1afda1f142dc42b088f77c9b76043e2d'}} 2026-09-28 02:28:03,320 - INFO - Created VN ctest-vn-22256349 2026-09-28 02:28:03,376 - DEBUG - VN ctest-vn-22256349 UUID is 273b1d80-a1d0-428d-a802-69ac2ba7d660 2026-09-28 02:28:03,713 - DEBUG - Response for create_network : {'network': {'id': '6930f589-3593-4fb4-8802-27efd36a80cc', 'name': 'ctest-vn-61170956', 'tenant_id': '1afda1f142dc42b088f77c9b76043e2d', 'project_id': '1afda1f142dc42b088f77c9b76043e2d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84959422', 'ctest-vn-61170956'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-09-28 02:28:03,891 - DEBUG - Response for create_subnet : {'subnet': {'id': '66686e36-8f46-4144-b3fd-8a58da45331d', 'name': '', 'tenant_id': '1afda1f142dc42b088f77c9b76043e2d', 'network_id': '6930f589-3593-4fb4-8802-27efd36a80cc', 'ip_version': 4, 'cidr': '217.158.193.192/26', 'allocation_pools': [{'start': '217.158.193.194', 'end': '217.158.193.254'}], 'gateway_ip': '217.158.193.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-09-28T02:28:03.816160', 'updated_at': '2026-09-28T02:28:03.816160', 'dns_server_address': '217.158.193.194', 'tags': [], 'project_id': '1afda1f142dc42b088f77c9b76043e2d'}} 2026-09-28 02:28:03,913 - INFO - Created VN ctest-vn-61170956 2026-09-28 02:28:03,968 - DEBUG - VN ctest-vn-61170956 UUID is 6930f589-3593-4fb4-8802-27efd36a80cc 2026-09-28 02:28:04,093 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-84959422:ctest-vn-22256349, 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-84959422:ctest-vn-61170956, 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-09-28 02:28:04,443 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '273b1d80-a1d0-428d-a802-69ac2ba7d660', 'name': 'ctest-vn-22256349', 'tenant_id': '1afda1f142dc42b088f77c9b76043e2d', 'project_id': '1afda1f142dc42b088f77c9b76043e2d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['313f71c4-ed60-4931-a285-7265dd471ea3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84959422', 'ctest-vn-22256349'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-84959422', 'ctest-policy-allow-all-51133371']], 'subnet_ipam': [{'subnet_cidr': '162.66.251.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-09-28T02:28:03.019328', 'updated_at': '2026-09-28T02:28:03.236718'}} 2026-09-28 02:28:04,741 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6930f589-3593-4fb4-8802-27efd36a80cc', 'name': 'ctest-vn-61170956', 'tenant_id': '1afda1f142dc42b088f77c9b76043e2d', 'project_id': '1afda1f142dc42b088f77c9b76043e2d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['66686e36-8f46-4144-b3fd-8a58da45331d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84959422', 'ctest-vn-61170956'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-84959422', 'ctest-policy-allow-all-51133371']], 'subnet_ipam': [{'subnet_cidr': '217.158.193.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-09-28T02:28:03.673375', 'updated_at': '2026-09-28T02:28:03.836211'}} 2026-09-28 02:28:04,924 - DEBUG - Requesting: http://10.0.0.186:8082/domains 2026-09-28 02:28:05,335 - DEBUG - Requesting: http://10.0.0.186:8082/domains 2026-09-28 02:28:05,368 - DEBUG - Requesting: http://10.0.0.186:8082/domain/280555f9-ea63-46a3-9d79-b07f1b1c68e8 2026-09-28 02:28:05,382 - DEBUG - Requesting: http://10.0.0.186:8082/project/1afda1f1-42dc-42b0-88f7-7c9b76043e2d 2026-09-28 02:28:05,466 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-network/273b1d80-a1d0-428d-a802-69ac2ba7d660 2026-09-28 02:28:05,489 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-network/273b1d80-a1d0-428d-a802-69ac2ba7d660 2026-09-28 02:28:05,500 - DEBUG - Requesting: http://10.0.0.186:8082/routing-instance/cce3c425-43ae-4d58-bb5b-73a54bf42382 2026-09-28 02:28:05,509 - DEBUG - Requesting: http://10.0.0.186:8082/routing-instance/cce3c425-43ae-4d58-bb5b-73a54bf42382 2026-09-28 02:28:05,517 - DEBUG - Requesting: http://10.0.0.186:8082/route-target/b31da5ec-5e8e-4444-b5dc-cb6046381f4e 2026-09-28 02:28:05,526 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-28 02:28:05,526 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-network/273b1d80-a1d0-428d-a802-69ac2ba7d660 2026-09-28 02:28:05,539 - DEBUG - Requesting: http://10.0.0.186:8082/routing-instance/cce3c425-43ae-4d58-bb5b-73a54bf42382 2026-09-28 02:28:05,557 - INFO - Verified VN network id 12 for VN 273b1d80-a1d0-428d-a802-69ac2ba7d660 2026-09-28 02:28:05,557 - INFO - Verifications in API Server for VN ctest-vn-22256349 passed 2026-09-28 02:28:05,557 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-network/273b1d80-a1d0-428d-a802-69ac2ba7d660 2026-09-28 02:28:05,568 - DEBUG - Requesting: http://10.0.0.186:8082/routing-instance/cce3c425-43ae-4d58-bb5b-73a54bf42382 2026-09-28 02:28:05,577 - DEBUG - Requesting: http://10.0.0.186:8082/routing-instance/cce3c425-43ae-4d58-bb5b-73a54bf42382 2026-09-28 02:28:05,586 - DEBUG - Requesting: http://10.0.0.186:8082/route-target/b31da5ec-5e8e-4444-b5dc-cb6046381f4e 2026-09-28 02:28:05,600 - DEBUG - Control-node 10.0.0.186 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-84959422:ctest-vn-22256349', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-84959422', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2826885629412917901', 'uuid-lslong': '12106354936513025632'}, 'enable': 'true', 'created': '2026-09-28T02:28:03', 'last-modified': '2026-09-28T02:28:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.191579'} 2026-09-28 02:28:05,609 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-28 02:28:05,609 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-22256349 passed 2026-09-28 02:28:05,609 - DEBUG - ====Verifying policy data for ctest-vn-22256349 in API_Server ====== 2026-09-28 02:28:05,610 - DEBUG - Requesting: http://10.0.0.186:8082/domains 2026-09-28 02:28:05,616 - DEBUG - Requesting: http://10.0.0.186:8082/domain/280555f9-ea63-46a3-9d79-b07f1b1c68e8 2026-09-28 02:28:05,629 - DEBUG - Requesting: http://10.0.0.186:8082/project/1afda1f1-42dc-42b0-88f7-7c9b76043e2d 2026-09-28 02:28:05,709 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-network/273b1d80-a1d0-428d-a802-69ac2ba7d660 2026-09-28 02:28:05,721 - DEBUG - ==>Verifying data for policy with id: cb3f1e29-58f6-4f77-a295-d864d0d5350a, fqn: ['default-domain', 'ctest-TestBasicPolicy-84959422', 'ctest-policy-allow-all-51133371'] 2026-09-28 02:28:05,721 - INFO - VN ctest-vn-22256349 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-28 02:28:05,721 - DEBUG - Verifying the vn in opserver 2026-09-28 02:28:05,722 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-84959422:ctest-vn-22256349 virtual network link through opserver 10.0.0.186 2026-09-28 02:28:05,722 - DEBUG - Requesting: http://10.0.0.186:8081/analytics/uves/virtual-networks 2026-09-28 02:28:06,101 - DEBUG - Requesting: http://10.0.0.186:8081/analytics/uves/virtual-networks 2026-09-28 02:28:06,157 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-84959422:ctest-vn-22256349', 'href': 'http://10.0.0.186:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-84959422:ctest-vn-22256349?flat'} 2026-09-28 02:28:06,157 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-84959422:ctest-vn-22256349 is found in opserver 2026-09-28 02:28:06,171 - DEBUG - Do not have enough data to verify VN in agent 2026-09-28 02:28:06,177 - DEBUG - VRF ids for VN ctest-vn-22256349: {} 2026-09-28 02:28:06,177 - DEBUG - Requesting: http://10.0.0.186:8082/domains 2026-09-28 02:28:06,184 - DEBUG - Requesting: http://10.0.0.186:8082/domain/280555f9-ea63-46a3-9d79-b07f1b1c68e8 2026-09-28 02:28:06,196 - DEBUG - Requesting: http://10.0.0.186:8082/project/1afda1f1-42dc-42b0-88f7-7c9b76043e2d 2026-09-28 02:28:06,281 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-network/6930f589-3593-4fb4-8802-27efd36a80cc 2026-09-28 02:28:06,297 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-network/6930f589-3593-4fb4-8802-27efd36a80cc 2026-09-28 02:28:06,308 - DEBUG - Requesting: http://10.0.0.186:8082/routing-instance/955c85cd-c06c-4867-a206-9871bde38493 2026-09-28 02:28:06,318 - DEBUG - Requesting: http://10.0.0.186:8082/routing-instance/955c85cd-c06c-4867-a206-9871bde38493 2026-09-28 02:28:06,330 - DEBUG - Requesting: http://10.0.0.186:8082/route-target/607ea19c-d5cd-4e42-b963-00efa300c04a 2026-09-28 02:28:06,338 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-28 02:28:06,338 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-network/6930f589-3593-4fb4-8802-27efd36a80cc 2026-09-28 02:28:06,351 - DEBUG - Requesting: http://10.0.0.186:8082/routing-instance/955c85cd-c06c-4867-a206-9871bde38493 2026-09-28 02:28:06,369 - INFO - Verified VN network id 13 for VN 6930f589-3593-4fb4-8802-27efd36a80cc 2026-09-28 02:28:06,370 - INFO - Verifications in API Server for VN ctest-vn-61170956 passed 2026-09-28 02:28:06,370 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-network/6930f589-3593-4fb4-8802-27efd36a80cc 2026-09-28 02:28:06,384 - DEBUG - Requesting: http://10.0.0.186:8082/routing-instance/955c85cd-c06c-4867-a206-9871bde38493 2026-09-28 02:28:06,393 - DEBUG - Requesting: http://10.0.0.186:8082/routing-instance/955c85cd-c06c-4867-a206-9871bde38493 2026-09-28 02:28:06,401 - DEBUG - Requesting: http://10.0.0.186:8082/route-target/607ea19c-d5cd-4e42-b963-00efa300c04a 2026-09-28 02:28:06,416 - DEBUG - Control-node 10.0.0.186 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-84959422:ctest-vn-61170956', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-84959422', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7579828142522716084', 'uuid-lslong': '9800439650109259980'}, 'enable': 'true', 'created': '2026-09-28T02:28:03', 'last-modified': '2026-09-28T02:28:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.728146'} 2026-09-28 02:28:06,423 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-28 02:28:06,423 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-61170956 passed 2026-09-28 02:28:06,423 - DEBUG - ====Verifying policy data for ctest-vn-61170956 in API_Server ====== 2026-09-28 02:28:06,423 - DEBUG - Requesting: http://10.0.0.186:8082/domains 2026-09-28 02:28:06,430 - DEBUG - Requesting: http://10.0.0.186:8082/domain/280555f9-ea63-46a3-9d79-b07f1b1c68e8 2026-09-28 02:28:06,444 - DEBUG - Requesting: http://10.0.0.186:8082/project/1afda1f1-42dc-42b0-88f7-7c9b76043e2d 2026-09-28 02:28:06,543 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-network/6930f589-3593-4fb4-8802-27efd36a80cc 2026-09-28 02:28:06,555 - DEBUG - ==>Verifying data for policy with id: cb3f1e29-58f6-4f77-a295-d864d0d5350a, fqn: ['default-domain', 'ctest-TestBasicPolicy-84959422', 'ctest-policy-allow-all-51133371'] 2026-09-28 02:28:06,555 - INFO - VN ctest-vn-61170956 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-28 02:28:06,555 - DEBUG - Verifying the vn in opserver 2026-09-28 02:28:06,555 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-84959422:ctest-vn-61170956 virtual network link through opserver 10.0.0.186 2026-09-28 02:28:06,555 - DEBUG - Requesting: http://10.0.0.186:8081/analytics/uves/virtual-networks 2026-09-28 02:28:06,568 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-84959422:ctest-vn-61170956', 'href': 'http://10.0.0.186:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-84959422:ctest-vn-61170956?flat'} 2026-09-28 02:28:06,568 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-84959422:ctest-vn-61170956 is found in opserver 2026-09-28 02:28:06,585 - DEBUG - Do not have enough data to verify VN in agent 2026-09-28 02:28:06,593 - DEBUG - VRF ids for VN ctest-vn-61170956: {} 2026-09-28 02:28:06,690 - DEBUG - Services list from nova: [, , ] 2026-09-28 02:28:07,146 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6323-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6323-1) 2026-09-28 02:28:07,660 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6323-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6323-1) 2026-09-28 02:28:07,661 - INFO - Waiting for VM ctest-TestBasicPolicy-84959422-31482502 to be up.. 2026-09-28 02:28:07,732 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-28 02:28:12,837 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-28 02:28:17,943 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-28 02:28:23,039 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-28 02:28:28,149 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-28 02:28:33,243 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-28 02:28:38,342 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-28 02:28:43,424 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-28 02:28:48,525 - DEBUG - VM is in ACTIVE state now 2026-09-28 02:28:48,525 - INFO - VM name : ctest-TestBasicPolicy-84959422-31482502 2026-09-28 02:28:48,632 - DEBUG - VM ctest-TestBasicPolicy-84959422-31482502 ID is ecf2e2b5-5ca9-435a-b02f-251097c5b698 2026-09-28 02:28:48,661 - DEBUG - VM ctest-TestBasicPolicy-84959422-31482502 launched on Node cn-jenkins-deploy-platform-ansible-os-6323-1 2026-09-28 02:28:48,770 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-machine/ecf2e2b5-5ca9-435a-b02f-251097c5b698 2026-09-28 02:28:48,782 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-machine-interface/71ae14b1-2150-4353-8257-96d728b6cec5 2026-09-28 02:28:52,074 - 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 1031ms') 2026-09-28 02:28:52,074 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-84959422-31482502 failed! 2026-09-28 02:28:52,140 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-84959422:ctest-vn-22256349 is 162.66.251.1 and allocation pool is NOT set 2026-09-28 02:28:56,234 - 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 1025ms') 2026-09-28 02:28:56,235 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-84959422-31482502 failed! 2026-09-28 02:28:56,292 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-84959422:ctest-vn-22256349 is 162.66.251.1 and allocation pool is NOT set 2026-09-28 02:28:58,353 - 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=3.91 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.567 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.567/2.240/3.914/1.673 ms') 2026-09-28 02:28:58,353 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-84959422-31482502 passed 2026-09-28 02:28:58,512 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-28 02:28:58,512 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-84959422-31482502, IP 162.66.251.3, Port 22 2026-09-28 02:28:58,694 - DEBUG - VM ctest-TestBasicPolicy-84959422-31482502 is ready for SSH connections 2026-09-28 02:28:58,694 - INFO - Waiting for VM ctest-TestBasicPolicy-84959422-62110750 to be up.. 2026-09-28 02:28:58,802 - DEBUG - VM is in ACTIVE state now 2026-09-28 02:28:58,802 - INFO - VM name : ctest-TestBasicPolicy-84959422-62110750 2026-09-28 02:28:58,910 - DEBUG - VM ctest-TestBasicPolicy-84959422-62110750 ID is 8319139e-426c-44e0-be62-28eaddbd7ef9 2026-09-28 02:28:58,911 - DEBUG - VM ctest-TestBasicPolicy-84959422-62110750 launched on Node cn-jenkins-deploy-platform-ansible-os-6323-1 2026-09-28 02:28:59,027 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-machine/8319139e-426c-44e0-be62-28eaddbd7ef9 2026-09-28 02:28:59,038 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-machine-interface/d30b4acb-79b7-4d6c-bd59-c929301b3ff2 2026-09-28 02:29:00,300 - 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.27 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.613 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.613/2.943/5.274/2.330 ms') 2026-09-28 02:29:00,300 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-84959422-62110750 passed 2026-09-28 02:29:00,464 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-28 02:29:00,464 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-84959422-62110750, IP 217.158.193.195, Port 22 2026-09-28 02:29:00,639 - DEBUG - VM ctest-TestBasicPolicy-84959422-62110750 is ready for SSH connections 2026-09-28 02:29:00,639 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-28 02:29:00,640 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 217.158.193.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.186, gateway password: c0ntrail123 2026-09-28 02:29:00,640 - DEBUG - ping -s 56 -c 3 -W 1 217.158.193.195 2026-09-28 02:29:04,733 - DEBUG - PING 217.158.193.195 (217.158.193.195): 56 data bytes 64 bytes from 217.158.193.195: seq=0 ttl=63 time=4.925 ms 64 bytes from 217.158.193.195: seq=1 ttl=63 time=2.209 ms 64 bytes from 217.158.193.195: seq=2 ttl=63 time=1.667 ms --- 217.158.193.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.667/2.933/4.925 ms 2026-09-28 02:29:04,734 - INFO - Ping to IP 217.158.193.195 from VM ctest-TestBasicPolicy-84959422-31482502 passed 2026-09-28 02:29:04,931 - DEBUG - Policy Update Response {"network-policy": {"uuid": "cb3f1e29-58f6-4f77-a295-d864d0d5350a", "href": "http://10.0.0.186:8082/network-policy/cb3f1e29-58f6-4f77-a295-d864d0d5350a"}} 2026-09-28 02:29:04,932 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-28 02:29:04,932 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 217.158.193.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.186, gateway password: c0ntrail123 2026-09-28 02:29:04,932 - DEBUG - ping -s 56 -c 3 -W 1 217.158.193.195 2026-09-28 02:29:08,073 - DEBUG - PING 217.158.193.195 (217.158.193.195): 56 data bytes 64 bytes from 217.158.193.195: seq=0 ttl=63 time=2.111 ms --- 217.158.193.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.111/2.111/2.111 ms 2026-09-28 02:29:08,073 - WARNING - Ping to IP 217.158.193.195 from VM ctest-TestBasicPolicy-84959422-31482502 failed 2026-09-28 02:29:08,073 - INFO - Deleting VM ctest-TestBasicPolicy-84959422-62110750 2026-09-28 02:29:08,155 - INFO - Deleting VM ctest-TestBasicPolicy-84959422-31482502 2026-09-28 02:29:08,606 - INFO - Deleted policy ctest-policy-allow-all-51133371 2026-09-28 02:29:08,606 - INFO - Deleting VN ctest-vn-61170956 2026-09-28 02:29:08,653 - DEBUG - VN 6930f589-3593-4fb4-8802-27efd36a80cc still in use: Unable to complete operation on network 6930f589-3593-4fb4-8802-27efd36a80cc. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4c9d8499-07db-4737-9de4-5fedddac1d66'] 2026-09-28 02:29:08,653 - WARNING - Deleting VN ctest-vn-61170956 failed..Will retry 2026-09-28 02:29:10,796 - DEBUG - Response for deleting network () 2026-09-28 02:29:10,796 - DEBUG - Requesting: http://10.0.0.186:8082/routing-instance/955c85cd-c06c-4867-a206-9871bde38493 2026-09-28 02:29:10,802 - DEBUG - Response Code: 404 2026-09-28 02:29:10,806 - DEBUG - Requesting: http://10.0.0.186:8082/domains 2026-09-28 02:29:10,820 - DEBUG - Requesting: http://10.0.0.186:8082/domain/280555f9-ea63-46a3-9d79-b07f1b1c68e8 2026-09-28 02:29:10,875 - DEBUG - Requesting: http://10.0.0.186:8082/project/1afda1f1-42dc-42b0-88f7-7c9b76043e2d 2026-09-28 02:29:10,967 - INFO - Validated that VN ctest-vn-61170956 is not found in API Server 2026-09-28 02:29:10,982 - DEBUG - VN ctest-vn-61170956 is not present in Agent 10.0.0.186 2026-09-28 02:29:10,982 - INFO - Validated that VN ctest-vn-61170956 is not in any agent 2026-09-28 02:29:11,008 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-61170956 info 2026-09-28 02:29:11,008 - INFO - Deleting VN ctest-vn-22256349 2026-09-28 02:29:11,152 - DEBUG - Response for deleting network () 2026-09-28 02:29:11,152 - DEBUG - Requesting: http://10.0.0.186:8082/routing-instance/cce3c425-43ae-4d58-bb5b-73a54bf42382 2026-09-28 02:29:11,162 - DEBUG - Response Code: 404 2026-09-28 02:29:11,163 - DEBUG - Requesting: http://10.0.0.186:8082/domains 2026-09-28 02:29:11,169 - DEBUG - Requesting: http://10.0.0.186:8082/domain/280555f9-ea63-46a3-9d79-b07f1b1c68e8 2026-09-28 02:29:11,226 - DEBUG - Requesting: http://10.0.0.186:8082/project/1afda1f1-42dc-42b0-88f7-7c9b76043e2d 2026-09-28 02:29:11,313 - INFO - Validated that VN ctest-vn-22256349 is not found in API Server 2026-09-28 02:29:11,327 - DEBUG - VN ctest-vn-22256349 is not present in Agent 10.0.0.186 2026-09-28 02:29:11,327 - INFO - Validated that VN ctest-vn-22256349 is not in any agent 2026-09-28 02:29:11,352 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-22256349 info 2026-09-28 02:29:11,630 - DEBUG - No XMPP flaps were noticed during the test 2026-09-28 02:29:11,630 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:09] 2026-09-28 02:29:11,630 - INFO - -------------------------------------------------------------------------------- 2026-09-28 02:29:12,435 - INFO - Deleted project: ctest-TestBasicPolicy-84959422, ID : 1afda1f1-42dc-42b0-88f7-7c9b76043e2d