2026-02-09 01:48:43,032 - INFO - Reading existing Domain with UUID 1675f465-2475-43b6-ab5c-695718ce05c3 2026-02-09 01:48:43,044 - INFO - Using existing domain ['admin_domain'](1675f465-2475-43b6-ab5c-695718ce05c3) 2026-02-09 01:48:43,291 - INFO - Project ctest-TestBasicPolicy-80174386 not found, creating it 2026-02-09 01:48:43,842 - INFO - Created Project:ctest-TestBasicPolicy-80174386, ID : d22c2de4-0fdc-40bf-979d-2d1a6340f789 2026-02-09 01:48:45,678 - INFO - ================================================================================ 2026-02-09 01:48:45,679 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-09 01:48:45,679 - 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-02-09 01:48:46,070 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.0.0.241': '0'}} with 2026-02-09 01:48:46,070 - INFO - Initial checks done. Running the testcase now 2026-02-09 01:48:46,070 - INFO - 2026-02-09 01:48:46,929 - DEBUG - Response for create_network : {'network': {'id': '821956f8-6bb9-4200-99d5-05f7b34c8b99', 'name': 'ctest-vn-64411947', 'tenant_id': 'd22c2de40fdc40bf979d2d1a6340f789', 'project_id': 'd22c2de40fdc40bf979d2d1a6340f789', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-80174386', 'ctest-vn-64411947'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-02-09 01:48:47,213 - DEBUG - Response for create_subnet : {'subnet': {'id': '561b3c64-0ac2-48ed-9ec2-172bc493e1f8', 'name': '', 'tenant_id': 'd22c2de40fdc40bf979d2d1a6340f789', 'network_id': '821956f8-6bb9-4200-99d5-05f7b34c8b99', 'ip_version': 4, 'cidr': '156.168.110.192/26', 'allocation_pools': [{'start': '156.168.110.194', 'end': '156.168.110.254'}], 'gateway_ip': '156.168.110.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-02-09T01:48:47.107092', 'updated_at': '2026-02-09T01:48:47.107092', 'dns_server_address': '156.168.110.194', 'tags': [], 'project_id': 'd22c2de40fdc40bf979d2d1a6340f789'}} 2026-02-09 01:48:47,274 - INFO - Created VN ctest-vn-64411947 2026-02-09 01:48:47,336 - DEBUG - VN ctest-vn-64411947 UUID is 821956f8-6bb9-4200-99d5-05f7b34c8b99 2026-02-09 01:48:47,858 - DEBUG - Response for create_network : {'network': {'id': '6abced34-6ba5-439c-8d03-c0b707be3036', 'name': 'ctest-vn-23940722', 'tenant_id': 'd22c2de40fdc40bf979d2d1a6340f789', 'project_id': 'd22c2de40fdc40bf979d2d1a6340f789', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-80174386', 'ctest-vn-23940722'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-02-09 01:48:48,129 - DEBUG - Response for create_subnet : {'subnet': {'id': '713832dd-e49d-47f8-ab66-85f66130bfc1', 'name': '', 'tenant_id': 'd22c2de40fdc40bf979d2d1a6340f789', 'network_id': '6abced34-6ba5-439c-8d03-c0b707be3036', 'ip_version': 4, 'cidr': '195.58.239.0/26', 'allocation_pools': [{'start': '195.58.239.2', 'end': '195.58.239.62'}], 'gateway_ip': '195.58.239.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-02-09T01:48:48.024704', 'updated_at': '2026-02-09T01:48:48.024704', 'dns_server_address': '195.58.239.2', 'tags': [], 'project_id': 'd22c2de40fdc40bf979d2d1a6340f789'}} 2026-02-09 01:48:48,194 - INFO - Created VN ctest-vn-23940722 2026-02-09 01:48:48,252 - DEBUG - VN ctest-vn-23940722 UUID is 6abced34-6ba5-439c-8d03-c0b707be3036 2026-02-09 01:48:48,481 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = admin_domain:ctest-TestBasicPolicy-80174386:ctest-vn-64411947, security_group = None, network_policy = None, subnet_list = []], src_ports = [start_port = -1, end_port = -1], application = [], dst_addresses = [subnet = None, virtual_network = admin_domain:ctest-TestBasicPolicy-80174386:ctest-vn-23940722, 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-02-09 01:48:48,912 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '821956f8-6bb9-4200-99d5-05f7b34c8b99', 'name': 'ctest-vn-64411947', 'tenant_id': 'd22c2de40fdc40bf979d2d1a6340f789', 'project_id': 'd22c2de40fdc40bf979d2d1a6340f789', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['561b3c64-0ac2-48ed-9ec2-172bc493e1f8'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-80174386', 'ctest-vn-64411947'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-80174386', 'ctest-policy-allow-all-92506540']], 'subnet_ipam': [{'subnet_cidr': '156.168.110.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-02-09T01:48:46.841183', 'updated_at': '2026-02-09T01:48:47.125952'}} 2026-02-09 01:48:49,333 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6abced34-6ba5-439c-8d03-c0b707be3036', 'name': 'ctest-vn-23940722', 'tenant_id': 'd22c2de40fdc40bf979d2d1a6340f789', 'project_id': 'd22c2de40fdc40bf979d2d1a6340f789', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['713832dd-e49d-47f8-ab66-85f66130bfc1'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-80174386', 'ctest-vn-23940722'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-80174386', 'ctest-policy-allow-all-92506540']], 'subnet_ipam': [{'subnet_cidr': '195.58.239.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-02-09T01:48:47.771487', 'updated_at': '2026-02-09T01:48:48.038774'}} 2026-02-09 01:48:49,529 - DEBUG - Requesting: https://10.0.0.241:8082/domains 2026-02-09 01:48:49,880 - DEBUG - Requesting: https://10.0.0.241:8082/domains 2026-02-09 01:48:49,961 - DEBUG - Requesting: https://10.0.0.241:8082/domain/1675f465-2475-43b6-ab5c-695718ce05c3 2026-02-09 01:48:50,021 - DEBUG - Requesting: https://10.0.0.241:8082/project/d22c2de4-0fdc-40bf-979d-2d1a6340f789 2026-02-09 01:48:50,101 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/821956f8-6bb9-4200-99d5-05f7b34c8b99 2026-02-09 01:48:50,163 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/821956f8-6bb9-4200-99d5-05f7b34c8b99 2026-02-09 01:48:50,222 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/fd1c7c03-60fb-4199-8c1b-1233eff81898 2026-02-09 01:48:50,282 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/fd1c7c03-60fb-4199-8c1b-1233eff81898 2026-02-09 01:48:50,341 - DEBUG - Requesting: https://10.0.0.241:8082/route-target/6e7f6a4e-73a1-44fc-b097-11b1b1cccc0f 2026-02-09 01:48:50,397 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-09 01:48:50,397 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/821956f8-6bb9-4200-99d5-05f7b34c8b99 2026-02-09 01:48:50,454 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/fd1c7c03-60fb-4199-8c1b-1233eff81898 2026-02-09 01:48:50,522 - INFO - Verified VN network id 10 for VN 821956f8-6bb9-4200-99d5-05f7b34c8b99 2026-02-09 01:48:50,522 - INFO - Verifications in API Server for VN ctest-vn-64411947 passed 2026-02-09 01:48:50,522 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/821956f8-6bb9-4200-99d5-05f7b34c8b99 2026-02-09 01:48:50,586 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/fd1c7c03-60fb-4199-8c1b-1233eff81898 2026-02-09 01:48:50,645 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/fd1c7c03-60fb-4199-8c1b-1233eff81898 2026-02-09 01:48:50,701 - DEBUG - Requesting: https://10.0.0.241:8082/route-target/6e7f6a4e-73a1-44fc-b097-11b1b1cccc0f 2026-02-09 01:48:50,806 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-80174386:ctest-vn-64411947', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-80174386', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9374619724307579392', 'uuid-lslong': '11084772619265543065'}, 'enable': 'true', 'created': '2026-02-09T01:48:46', 'last-modified': '2026-02-09T01:48:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.921104'} 2026-02-09 01:48:50,867 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-09 01:48:50,867 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-64411947 passed 2026-02-09 01:48:50,868 - DEBUG - ====Verifying policy data for ctest-vn-64411947 in API_Server ====== 2026-02-09 01:48:50,868 - DEBUG - Requesting: https://10.0.0.241:8082/domains 2026-02-09 01:48:50,921 - DEBUG - Requesting: https://10.0.0.241:8082/domain/1675f465-2475-43b6-ab5c-695718ce05c3 2026-02-09 01:48:50,985 - DEBUG - Requesting: https://10.0.0.241:8082/project/d22c2de4-0fdc-40bf-979d-2d1a6340f789 2026-02-09 01:48:51,088 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/821956f8-6bb9-4200-99d5-05f7b34c8b99 2026-02-09 01:48:51,150 - DEBUG - ==>Verifying data for policy with id: 042e10b6-0733-41b3-93b9-679c83f0028a, fqn: ['admin_domain', 'ctest-TestBasicPolicy-80174386', 'ctest-policy-allow-all-92506540'] 2026-02-09 01:48:51,150 - INFO - VN ctest-vn-64411947 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-09 01:48:51,151 - DEBUG - Verifying the vn in opserver 2026-02-09 01:48:51,151 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-80174386:ctest-vn-64411947 virtual network link through opserver 10.0.0.241 2026-02-09 01:48:51,151 - DEBUG - Requesting: https://10.0.0.241:8081/analytics/uves/virtual-networks 2026-02-09 01:48:51,521 - DEBUG - Requesting: https://10.0.0.241:8081/analytics/uves/virtual-networks 2026-02-09 01:48:51,653 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-80174386:ctest-vn-64411947', 'href': 'https://10.0.0.241:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-80174386:ctest-vn-64411947?flat'} 2026-02-09 01:48:51,653 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-80174386:ctest-vn-64411947 is found in opserver 2026-02-09 01:48:51,769 - DEBUG - Do not have enough data to verify VN in agent 2026-02-09 01:48:51,821 - DEBUG - VRF ids for VN ctest-vn-64411947: {} 2026-02-09 01:48:51,821 - DEBUG - Requesting: https://10.0.0.241:8082/domains 2026-02-09 01:48:51,873 - DEBUG - Requesting: https://10.0.0.241:8082/domain/1675f465-2475-43b6-ab5c-695718ce05c3 2026-02-09 01:48:51,933 - DEBUG - Requesting: https://10.0.0.241:8082/project/d22c2de4-0fdc-40bf-979d-2d1a6340f789 2026-02-09 01:48:52,026 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/6abced34-6ba5-439c-8d03-c0b707be3036 2026-02-09 01:48:52,086 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/6abced34-6ba5-439c-8d03-c0b707be3036 2026-02-09 01:48:52,142 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/df36ab7d-feff-4ffb-bfe5-306d35e2b5ad 2026-02-09 01:48:52,199 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/df36ab7d-feff-4ffb-bfe5-306d35e2b5ad 2026-02-09 01:48:52,257 - DEBUG - Requesting: https://10.0.0.241:8082/route-target/d59b6365-d82f-4082-8018-b9f5644d721e 2026-02-09 01:48:52,313 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-09 01:48:52,313 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/6abced34-6ba5-439c-8d03-c0b707be3036 2026-02-09 01:48:52,370 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/df36ab7d-feff-4ffb-bfe5-306d35e2b5ad 2026-02-09 01:48:52,433 - INFO - Verified VN network id 11 for VN 6abced34-6ba5-439c-8d03-c0b707be3036 2026-02-09 01:48:52,434 - INFO - Verifications in API Server for VN ctest-vn-23940722 passed 2026-02-09 01:48:52,434 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/6abced34-6ba5-439c-8d03-c0b707be3036 2026-02-09 01:48:52,495 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/df36ab7d-feff-4ffb-bfe5-306d35e2b5ad 2026-02-09 01:48:52,553 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/df36ab7d-feff-4ffb-bfe5-306d35e2b5ad 2026-02-09 01:48:52,609 - DEBUG - Requesting: https://10.0.0.241:8082/route-target/d59b6365-d82f-4082-8018-b9f5644d721e 2026-02-09 01:48:52,717 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-80174386:ctest-vn-23940722', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-80174386', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7691283073042039708', 'uuid-lslong': '10161177076619423798'}, 'enable': 'true', 'created': '2026-02-09T01:48:47', 'last-modified': '2026-02-09T01:48:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.458911'} 2026-02-09 01:48:52,770 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-09 01:48:52,771 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-23940722 passed 2026-02-09 01:48:52,772 - DEBUG - ====Verifying policy data for ctest-vn-23940722 in API_Server ====== 2026-02-09 01:48:52,772 - DEBUG - Requesting: https://10.0.0.241:8082/domains 2026-02-09 01:48:52,825 - DEBUG - Requesting: https://10.0.0.241:8082/domain/1675f465-2475-43b6-ab5c-695718ce05c3 2026-02-09 01:48:52,885 - DEBUG - Requesting: https://10.0.0.241:8082/project/d22c2de4-0fdc-40bf-979d-2d1a6340f789 2026-02-09 01:48:52,962 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/6abced34-6ba5-439c-8d03-c0b707be3036 2026-02-09 01:48:53,022 - DEBUG - ==>Verifying data for policy with id: 042e10b6-0733-41b3-93b9-679c83f0028a, fqn: ['admin_domain', 'ctest-TestBasicPolicy-80174386', 'ctest-policy-allow-all-92506540'] 2026-02-09 01:48:53,022 - INFO - VN ctest-vn-23940722 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-09 01:48:53,022 - DEBUG - Verifying the vn in opserver 2026-02-09 01:48:53,022 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-80174386:ctest-vn-23940722 virtual network link through opserver 10.0.0.241 2026-02-09 01:48:53,022 - DEBUG - Requesting: https://10.0.0.241:8081/analytics/uves/virtual-networks 2026-02-09 01:48:53,077 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-80174386:ctest-vn-23940722', 'href': 'https://10.0.0.241:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-80174386:ctest-vn-23940722?flat'} 2026-02-09 01:48:53,077 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-80174386:ctest-vn-23940722 is found in opserver 2026-02-09 01:48:53,177 - DEBUG - Do not have enough data to verify VN in agent 2026-02-09 01:48:53,234 - DEBUG - VRF ids for VN ctest-vn-23940722: {} 2026-02-09 01:48:53,304 - DEBUG - Services list from nova: [, , ] 2026-02-09 01:48:54,422 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-670-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-670-1) 2026-02-09 01:48:55,729 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-670-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-670-1) 2026-02-09 01:48:55,731 - INFO - Waiting for VM ctest-TestBasicPolicy-80174386-23076092 to be up.. 2026-02-09 01:48:55,890 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-09 01:49:01,070 - DEBUG - VM is in ACTIVE state now 2026-02-09 01:49:01,070 - INFO - VM name : ctest-TestBasicPolicy-80174386-23076092 2026-02-09 01:49:01,252 - DEBUG - VM ctest-TestBasicPolicy-80174386-23076092 ID is 43f08e80-f24c-40b0-950f-ce035dcde979 2026-02-09 01:49:01,280 - DEBUG - VM ctest-TestBasicPolicy-80174386-23076092 launched on Node cn-jenkins-deploy-platform-juju-os-670-1 2026-02-09 01:49:01,482 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine/43f08e80-f24c-40b0-950f-ce035dcde979 2026-02-09 01:49:01,537 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine-interface/83ddb9e9-dc72-4c1f-8ded-b768e212e6fd 2026-02-09 01:49:05,031 - 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 1013ms') 2026-02-09 01:49:05,031 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-80174386-23076092 failed! 2026-02-09 01:49:05,088 - DEBUG - Gateway for vn admin_domain:ctest-TestBasicPolicy-80174386:ctest-vn-64411947 is 156.168.110.193 and allocation pool is NOT set 2026-02-09 01:49:07,181 - 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=15.5 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.12 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 = 2.123/8.804/15.486/6.681 ms') 2026-02-09 01:49:07,182 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-80174386-23076092 passed 2026-02-09 01:49:07,340 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 01:49:07,340 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-80174386-23076092, IP 156.168.110.195, Port 22 2026-02-09 01:49:07,555 - DEBUG - VM ctest-TestBasicPolicy-80174386-23076092 is ready for SSH connections 2026-02-09 01:49:07,555 - INFO - Waiting for VM ctest-TestBasicPolicy-80174386-37888567 to be up.. 2026-02-09 01:49:07,696 - DEBUG - VM is in ACTIVE state now 2026-02-09 01:49:07,697 - INFO - VM name : ctest-TestBasicPolicy-80174386-37888567 2026-02-09 01:49:07,840 - DEBUG - VM ctest-TestBasicPolicy-80174386-37888567 ID is ebaa12df-1d2f-4660-9274-773ae401650b 2026-02-09 01:49:07,840 - DEBUG - VM ctest-TestBasicPolicy-80174386-37888567 launched on Node cn-jenkins-deploy-platform-juju-os-670-1 2026-02-09 01:49:07,979 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine/ebaa12df-1d2f-4660-9274-773ae401650b 2026-02-09 01:49:08,033 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine-interface/18dd4ade-c7b3-4c8a-97d9-7b1f819b8845 2026-02-09 01:49:09,496 - 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.11 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.12 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 = 1.119/2.116/3.114/0.997 ms') 2026-02-09 01:49:09,496 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-80174386-37888567 passed 2026-02-09 01:49:09,656 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 01:49:09,657 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-80174386-37888567, IP 195.58.239.3, Port 22 2026-02-09 01:49:09,871 - DEBUG - VM ctest-TestBasicPolicy-80174386-37888567 is ready for SSH connections 2026-02-09 01:49:09,871 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 01:49:09,872 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 195.58.239.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2026-02-09 01:49:09,872 - DEBUG - ping -s 56 -c 3 -W 1 195.58.239.3 2026-02-09 01:49:13,593 - DEBUG - PING 195.58.239.3 (195.58.239.3): 56 data bytes 64 bytes from 195.58.239.3: seq=0 ttl=63 time=4.918 ms 64 bytes from 195.58.239.3: seq=1 ttl=63 time=0.920 ms 64 bytes from 195.58.239.3: seq=2 ttl=63 time=0.996 ms --- 195.58.239.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.920/2.278/4.918 ms 2026-02-09 01:49:13,593 - INFO - Ping to IP 195.58.239.3 from VM ctest-TestBasicPolicy-80174386-23076092 passed 2026-02-09 01:49:13,776 - DEBUG - Policy Update Response {"network-policy": {"uuid": "042e10b6-0733-41b3-93b9-679c83f0028a", "href": "https://10.0.0.241:8082/network-policy/042e10b6-0733-41b3-93b9-679c83f0028a"}} 2026-02-09 01:49:13,776 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 01:49:13,776 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 195.58.239.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2026-02-09 01:49:13,777 - DEBUG - ping -s 56 -c 3 -W 1 195.58.239.3 2026-02-09 01:49:16,985 - DEBUG - PING 195.58.239.3 (195.58.239.3): 56 data bytes --- 195.58.239.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-09 01:49:16,985 - WARNING - Ping to IP 195.58.239.3 from VM ctest-TestBasicPolicy-80174386-23076092 failed 2026-02-09 01:49:16,985 - INFO - Deleting VM ctest-TestBasicPolicy-80174386-37888567 2026-02-09 01:49:17,095 - INFO - Deleting VM ctest-TestBasicPolicy-80174386-23076092 2026-02-09 01:49:17,802 - INFO - Deleted policy ctest-policy-allow-all-92506540 2026-02-09 01:49:17,803 - INFO - Deleting VN ctest-vn-23940722 2026-02-09 01:49:17,935 - DEBUG - VN 6abced34-6ba5-439c-8d03-c0b707be3036 still in use: Unable to complete operation on network 6abced34-6ba5-439c-8d03-c0b707be3036. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b8cfb926-b311-45aa-b3a6-079f2ab9f304'] 2026-02-09 01:49:17,935 - WARNING - Deleting VN ctest-vn-23940722 failed..Will retry 2026-02-09 01:49:20,105 - DEBUG - Response for deleting network () 2026-02-09 01:49:20,105 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/df36ab7d-feff-4ffb-bfe5-306d35e2b5ad 2026-02-09 01:49:20,156 - DEBUG - Response Code: 404 2026-02-09 01:49:20,156 - DEBUG - Requesting: https://10.0.0.241:8082/domains 2026-02-09 01:49:20,209 - DEBUG - Requesting: https://10.0.0.241:8082/domain/1675f465-2475-43b6-ab5c-695718ce05c3 2026-02-09 01:49:20,269 - DEBUG - Requesting: https://10.0.0.241:8082/project/d22c2de4-0fdc-40bf-979d-2d1a6340f789 2026-02-09 01:49:20,350 - INFO - Validated that VN ctest-vn-23940722 is not found in API Server 2026-02-09 01:49:20,453 - DEBUG - VN ctest-vn-23940722 is not present in Agent 10.0.0.241 2026-02-09 01:49:20,453 - INFO - Validated that VN ctest-vn-23940722 is not in any agent 2026-02-09 01:49:20,610 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-23940722 info 2026-02-09 01:49:20,610 - INFO - Deleting VN ctest-vn-64411947 2026-02-09 01:49:20,790 - DEBUG - Response for deleting network () 2026-02-09 01:49:20,790 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/fd1c7c03-60fb-4199-8c1b-1233eff81898 2026-02-09 01:49:20,848 - DEBUG - Response Code: 404 2026-02-09 01:49:20,848 - DEBUG - Requesting: https://10.0.0.241:8082/domains 2026-02-09 01:49:20,901 - DEBUG - Requesting: https://10.0.0.241:8082/domain/1675f465-2475-43b6-ab5c-695718ce05c3 2026-02-09 01:49:20,957 - DEBUG - Requesting: https://10.0.0.241:8082/project/d22c2de4-0fdc-40bf-979d-2d1a6340f789 2026-02-09 01:49:21,030 - INFO - Validated that VN ctest-vn-64411947 is not found in API Server 2026-02-09 01:49:21,129 - DEBUG - VN ctest-vn-64411947 is not present in Agent 10.0.0.241 2026-02-09 01:49:21,129 - INFO - Validated that VN ctest-vn-64411947 is not in any agent 2026-02-09 01:49:21,285 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-64411947 info 2026-02-09 01:49:21,673 - DEBUG - No XMPP flaps were noticed during the test 2026-02-09 01:49:21,673 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36] 2026-02-09 01:49:21,674 - INFO - -------------------------------------------------------------------------------- 2026-02-09 01:49:22,427 - INFO - Deleted project: ctest-TestBasicPolicy-80174386, ID : d22c2de4-0fdc-40bf-979d-2d1a6340f789