2026-02-02 08:07:33,887 - INFO - Reading existing Domain with UUID a2db6585-9c32-4c36-b884-93ce8d9f9858 2026-02-02 08:07:33,901 - INFO - Using existing domain ['admin_domain'](a2db6585-9c32-4c36-b884-93ce8d9f9858) 2026-02-02 08:07:34,150 - INFO - Project ctest-TestBasicPolicy-00571302 not found, creating it 2026-02-02 08:07:34,656 - INFO - Created Project:ctest-TestBasicPolicy-00571302, ID : 5d598737-c9f0-4892-ac04-d08ee1a89324 2026-02-02 08:07:36,623 - INFO - ================================================================================ 2026-02-02 08:07:36,623 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-02 08:07:36,623 - 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-02 08:07:37,022 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.0.0.22': '0'}} with 2026-02-02 08:07:37,022 - INFO - Initial checks done. Running the testcase now 2026-02-02 08:07:37,023 - INFO - 2026-02-02 08:07:37,846 - DEBUG - Response for create_network : {'network': {'id': '4c2c7eb9-a065-4130-accc-59532ce8d79f', 'name': 'ctest-vn-17558092', 'tenant_id': '5d598737c9f04892ac04d08ee1a89324', 'project_id': '5d598737c9f04892ac04d08ee1a89324', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-00571302', 'ctest-vn-17558092'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-02-02 08:07:38,094 - DEBUG - Response for create_subnet : {'subnet': {'id': '3c57f26e-3fb4-4ddc-9236-872f34b78a13', 'name': '', 'tenant_id': '5d598737c9f04892ac04d08ee1a89324', 'network_id': '4c2c7eb9-a065-4130-accc-59532ce8d79f', 'ip_version': 4, 'cidr': '203.149.50.64/26', 'allocation_pools': [{'start': '203.149.50.66', 'end': '203.149.50.126'}], 'gateway_ip': '203.149.50.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-02-02T08:07:37.974965', 'updated_at': '2026-02-02T08:07:37.974965', 'dns_server_address': '203.149.50.66', 'tags': [], 'project_id': '5d598737c9f04892ac04d08ee1a89324'}} 2026-02-02 08:07:38,167 - INFO - Created VN ctest-vn-17558092 2026-02-02 08:07:38,221 - DEBUG - VN ctest-vn-17558092 UUID is 4c2c7eb9-a065-4130-accc-59532ce8d79f 2026-02-02 08:07:38,965 - DEBUG - Response for create_network : {'network': {'id': '41d8ef3e-f1c2-4eb4-a319-d4f81bc7c087', 'name': 'ctest-vn-86054602', 'tenant_id': '5d598737c9f04892ac04d08ee1a89324', 'project_id': '5d598737c9f04892ac04d08ee1a89324', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-00571302', 'ctest-vn-86054602'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-02-02 08:07:39,326 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f7b46d45-bf77-40e4-ba29-2acd76ddeb70', 'name': '', 'tenant_id': '5d598737c9f04892ac04d08ee1a89324', 'network_id': '41d8ef3e-f1c2-4eb4-a319-d4f81bc7c087', 'ip_version': 4, 'cidr': '157.112.157.128/26', 'allocation_pools': [{'start': '157.112.157.130', 'end': '157.112.157.190'}], 'gateway_ip': '157.112.157.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-02-02T08:07:39.144730', 'updated_at': '2026-02-02T08:07:39.144730', 'dns_server_address': '157.112.157.130', 'tags': [], 'project_id': '5d598737c9f04892ac04d08ee1a89324'}} 2026-02-02 08:07:39,391 - INFO - Created VN ctest-vn-86054602 2026-02-02 08:07:39,445 - DEBUG - VN ctest-vn-86054602 UUID is 41d8ef3e-f1c2-4eb4-a319-d4f81bc7c087 2026-02-02 08:07:39,670 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = admin_domain:ctest-TestBasicPolicy-00571302:ctest-vn-17558092, 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-00571302:ctest-vn-86054602, 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-02 08:07:40,113 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4c2c7eb9-a065-4130-accc-59532ce8d79f', 'name': 'ctest-vn-17558092', 'tenant_id': '5d598737c9f04892ac04d08ee1a89324', 'project_id': '5d598737c9f04892ac04d08ee1a89324', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3c57f26e-3fb4-4ddc-9236-872f34b78a13'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-00571302', 'ctest-vn-17558092'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-00571302', 'ctest-policy-allow-all-78597220']], 'subnet_ipam': [{'subnet_cidr': '203.149.50.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-02-02T08:07:37.768316', 'updated_at': '2026-02-02T08:07:37.993168'}} 2026-02-02 08:07:40,573 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '41d8ef3e-f1c2-4eb4-a319-d4f81bc7c087', 'name': 'ctest-vn-86054602', 'tenant_id': '5d598737c9f04892ac04d08ee1a89324', 'project_id': '5d598737c9f04892ac04d08ee1a89324', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f7b46d45-bf77-40e4-ba29-2acd76ddeb70'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-00571302', 'ctest-vn-86054602'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-00571302', 'ctest-policy-allow-all-78597220']], 'subnet_ipam': [{'subnet_cidr': '157.112.157.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-02-02T08:07:38.876775', 'updated_at': '2026-02-02T08:07:39.164964'}} 2026-02-02 08:07:40,785 - DEBUG - Requesting: https://10.0.0.22:8082/domains 2026-02-02 08:07:41,169 - DEBUG - Requesting: https://10.0.0.22:8082/domains 2026-02-02 08:07:41,265 - DEBUG - Requesting: https://10.0.0.22:8082/domain/a2db6585-9c32-4c36-b884-93ce8d9f9858 2026-02-02 08:07:41,326 - DEBUG - Requesting: https://10.0.0.22:8082/project/5d598737-c9f0-4892-ac04-d08ee1a89324 2026-02-02 08:07:41,406 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-network/4c2c7eb9-a065-4130-accc-59532ce8d79f 2026-02-02 08:07:41,475 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-network/4c2c7eb9-a065-4130-accc-59532ce8d79f 2026-02-02 08:07:41,534 - DEBUG - Requesting: https://10.0.0.22:8082/routing-instance/1a2530f0-693a-44f6-a2cc-8542c920a469 2026-02-02 08:07:41,590 - DEBUG - Requesting: https://10.0.0.22:8082/routing-instance/1a2530f0-693a-44f6-a2cc-8542c920a469 2026-02-02 08:07:41,646 - DEBUG - Requesting: https://10.0.0.22:8082/route-target/8065b7ae-cee1-441c-b7e9-71b519503d7b 2026-02-02 08:07:41,701 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-02 08:07:41,701 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-network/4c2c7eb9-a065-4130-accc-59532ce8d79f 2026-02-02 08:07:41,762 - DEBUG - Requesting: https://10.0.0.22:8082/routing-instance/1a2530f0-693a-44f6-a2cc-8542c920a469 2026-02-02 08:07:41,835 - INFO - Verified VN network id 10 for VN 4c2c7eb9-a065-4130-accc-59532ce8d79f 2026-02-02 08:07:41,835 - INFO - Verifications in API Server for VN ctest-vn-17558092 passed 2026-02-02 08:07:41,835 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-network/4c2c7eb9-a065-4130-accc-59532ce8d79f 2026-02-02 08:07:41,892 - DEBUG - Requesting: https://10.0.0.22:8082/routing-instance/1a2530f0-693a-44f6-a2cc-8542c920a469 2026-02-02 08:07:41,950 - DEBUG - Requesting: https://10.0.0.22:8082/routing-instance/1a2530f0-693a-44f6-a2cc-8542c920a469 2026-02-02 08:07:42,010 - DEBUG - Requesting: https://10.0.0.22:8082/route-target/8065b7ae-cee1-441c-b7e9-71b519503d7b 2026-02-02 08:07:42,118 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-00571302:ctest-vn-17558092', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-00571302', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5488901381582831920', 'uuid-lslong': '12451425283543193503'}, 'enable': 'true', 'created': '2026-02-02T08:07:37', 'last-modified': '2026-02-02T08:07:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.038476'} 2026-02-02 08:07:42,175 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-02 08:07:42,175 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-17558092 passed 2026-02-02 08:07:42,175 - DEBUG - ====Verifying policy data for ctest-vn-17558092 in API_Server ====== 2026-02-02 08:07:42,175 - DEBUG - Requesting: https://10.0.0.22:8082/domains 2026-02-02 08:07:42,229 - DEBUG - Requesting: https://10.0.0.22:8082/domain/a2db6585-9c32-4c36-b884-93ce8d9f9858 2026-02-02 08:07:42,290 - DEBUG - Requesting: https://10.0.0.22:8082/project/5d598737-c9f0-4892-ac04-d08ee1a89324 2026-02-02 08:07:42,378 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-network/4c2c7eb9-a065-4130-accc-59532ce8d79f 2026-02-02 08:07:42,435 - DEBUG - ==>Verifying data for policy with id: 01553630-5fdf-4d85-8579-ab6b655cc136, fqn: ['admin_domain', 'ctest-TestBasicPolicy-00571302', 'ctest-policy-allow-all-78597220'] 2026-02-02 08:07:42,435 - INFO - VN ctest-vn-17558092 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-02 08:07:42,435 - DEBUG - Verifying the vn in opserver 2026-02-02 08:07:42,435 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-00571302:ctest-vn-17558092 virtual network link through opserver 10.0.0.22 2026-02-02 08:07:42,435 - DEBUG - Requesting: https://10.0.0.22:8081/analytics/uves/virtual-networks 2026-02-02 08:07:42,785 - DEBUG - Requesting: https://10.0.0.22:8081/analytics/uves/virtual-networks 2026-02-02 08:07:42,897 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-00571302:ctest-vn-17558092', 'href': 'https://10.0.0.22:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-00571302:ctest-vn-17558092?flat'} 2026-02-02 08:07:42,897 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-00571302:ctest-vn-17558092 is found in opserver 2026-02-02 08:07:42,997 - DEBUG - Do not have enough data to verify VN in agent 2026-02-02 08:07:43,049 - DEBUG - VRF ids for VN ctest-vn-17558092: {} 2026-02-02 08:07:43,049 - DEBUG - Requesting: https://10.0.0.22:8082/domains 2026-02-02 08:07:43,105 - DEBUG - Requesting: https://10.0.0.22:8082/domain/a2db6585-9c32-4c36-b884-93ce8d9f9858 2026-02-02 08:07:43,166 - DEBUG - Requesting: https://10.0.0.22:8082/project/5d598737-c9f0-4892-ac04-d08ee1a89324 2026-02-02 08:07:43,250 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-network/41d8ef3e-f1c2-4eb4-a319-d4f81bc7c087 2026-02-02 08:07:43,312 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-network/41d8ef3e-f1c2-4eb4-a319-d4f81bc7c087 2026-02-02 08:07:43,371 - DEBUG - Requesting: https://10.0.0.22:8082/routing-instance/91071be6-82c6-4042-a54f-9b89bf39bc41 2026-02-02 08:07:43,430 - DEBUG - Requesting: https://10.0.0.22:8082/routing-instance/91071be6-82c6-4042-a54f-9b89bf39bc41 2026-02-02 08:07:43,486 - DEBUG - Requesting: https://10.0.0.22:8082/route-target/1c42bf87-3fdf-46ea-a2e1-758baa4cf03c 2026-02-02 08:07:43,542 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-02 08:07:43,542 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-network/41d8ef3e-f1c2-4eb4-a319-d4f81bc7c087 2026-02-02 08:07:43,599 - DEBUG - Requesting: https://10.0.0.22:8082/routing-instance/91071be6-82c6-4042-a54f-9b89bf39bc41 2026-02-02 08:07:43,663 - INFO - Verified VN network id 11 for VN 41d8ef3e-f1c2-4eb4-a319-d4f81bc7c087 2026-02-02 08:07:43,664 - INFO - Verifications in API Server for VN ctest-vn-86054602 passed 2026-02-02 08:07:43,664 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-network/41d8ef3e-f1c2-4eb4-a319-d4f81bc7c087 2026-02-02 08:07:43,718 - DEBUG - Requesting: https://10.0.0.22:8082/routing-instance/91071be6-82c6-4042-a54f-9b89bf39bc41 2026-02-02 08:07:43,774 - DEBUG - Requesting: https://10.0.0.22:8082/routing-instance/91071be6-82c6-4042-a54f-9b89bf39bc41 2026-02-02 08:07:43,830 - DEBUG - Requesting: https://10.0.0.22:8082/route-target/1c42bf87-3fdf-46ea-a2e1-758baa4cf03c 2026-02-02 08:07:43,942 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-00571302:ctest-vn-86054602', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-00571302', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4744805261057871540', 'uuid-lslong': '11752658864683073671'}, 'enable': 'true', 'created': '2026-02-02T08:07:38', 'last-modified': '2026-02-02T08:07:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.483464'} 2026-02-02 08:07:44,003 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-02 08:07:44,003 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-86054602 passed 2026-02-02 08:07:44,003 - DEBUG - ====Verifying policy data for ctest-vn-86054602 in API_Server ====== 2026-02-02 08:07:44,003 - DEBUG - Requesting: https://10.0.0.22:8082/domains 2026-02-02 08:07:44,078 - DEBUG - Requesting: https://10.0.0.22:8082/domain/a2db6585-9c32-4c36-b884-93ce8d9f9858 2026-02-02 08:07:44,142 - DEBUG - Requesting: https://10.0.0.22:8082/project/5d598737-c9f0-4892-ac04-d08ee1a89324 2026-02-02 08:07:44,238 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-network/41d8ef3e-f1c2-4eb4-a319-d4f81bc7c087 2026-02-02 08:07:44,298 - DEBUG - ==>Verifying data for policy with id: 01553630-5fdf-4d85-8579-ab6b655cc136, fqn: ['admin_domain', 'ctest-TestBasicPolicy-00571302', 'ctest-policy-allow-all-78597220'] 2026-02-02 08:07:44,298 - INFO - VN ctest-vn-86054602 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-02 08:07:44,298 - DEBUG - Verifying the vn in opserver 2026-02-02 08:07:44,298 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-00571302:ctest-vn-86054602 virtual network link through opserver 10.0.0.22 2026-02-02 08:07:44,299 - DEBUG - Requesting: https://10.0.0.22:8081/analytics/uves/virtual-networks 2026-02-02 08:07:44,357 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-00571302:ctest-vn-86054602', 'href': 'https://10.0.0.22:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-00571302:ctest-vn-86054602?flat'} 2026-02-02 08:07:44,357 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-00571302:ctest-vn-86054602 is found in opserver 2026-02-02 08:07:44,469 - DEBUG - Do not have enough data to verify VN in agent 2026-02-02 08:07:44,521 - DEBUG - VRF ids for VN ctest-vn-86054602: {} 2026-02-02 08:07:44,617 - DEBUG - Services list from nova: [, , ] 2026-02-02 08:07:45,807 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-661-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-661-1) 2026-02-02 08:07:47,242 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-661-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-661-1) 2026-02-02 08:07:47,243 - INFO - Waiting for VM ctest-TestBasicPolicy-00571302-47783569 to be up.. 2026-02-02 08:07:47,410 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-02 08:07:52,551 - DEBUG - VM is in ACTIVE state now 2026-02-02 08:07:52,551 - INFO - VM name : ctest-TestBasicPolicy-00571302-47783569 2026-02-02 08:07:52,699 - DEBUG - VM ctest-TestBasicPolicy-00571302-47783569 ID is 7b8e6fda-0378-4012-a4ad-7f3d65ade6f0 2026-02-02 08:07:52,727 - DEBUG - VM ctest-TestBasicPolicy-00571302-47783569 launched on Node cn-jenkins-deploy-platform-juju-os-661-1 2026-02-02 08:07:52,872 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-machine/7b8e6fda-0378-4012-a4ad-7f3d65ade6f0 2026-02-02 08:07:52,930 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-machine-interface/0e36ebd0-d4b3-4eaa-b7fb-be978689f61b 2026-02-02 08:07:56,410 - 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 1029ms') 2026-02-02 08:07:56,411 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-00571302-47783569 failed! 2026-02-02 08:07:56,469 - DEBUG - Gateway for vn admin_domain:ctest-TestBasicPolicy-00571302:ctest-vn-17558092 is 203.149.50.65 and allocation pool is NOT set 2026-02-02 08:07:58,562 - 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=10.6 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.72 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.715/6.148/10.581/4.433 ms') 2026-02-02 08:07:58,562 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-00571302-47783569 passed 2026-02-02 08:07:58,717 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 08:07:58,717 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-00571302-47783569, IP 203.149.50.67, Port 22 2026-02-02 08:07:58,939 - DEBUG - VM ctest-TestBasicPolicy-00571302-47783569 is ready for SSH connections 2026-02-02 08:07:58,939 - INFO - Waiting for VM ctest-TestBasicPolicy-00571302-65676454 to be up.. 2026-02-02 08:07:59,092 - DEBUG - VM is in ACTIVE state now 2026-02-02 08:07:59,092 - INFO - VM name : ctest-TestBasicPolicy-00571302-65676454 2026-02-02 08:07:59,245 - DEBUG - VM ctest-TestBasicPolicy-00571302-65676454 ID is 57f634f5-b73f-4a7c-85bd-856b58bb4ca8 2026-02-02 08:07:59,245 - DEBUG - VM ctest-TestBasicPolicy-00571302-65676454 launched on Node cn-jenkins-deploy-platform-juju-os-661-1 2026-02-02 08:07:59,392 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-machine/57f634f5-b73f-4a7c-85bd-856b58bb4ca8 2026-02-02 08:07:59,449 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-machine-interface/10e487d8-9553-4fa4-9137-91ee21a3e2e8 2026-02-02 08:08:00,907 - 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.08 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.911 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.911/2.495/4.079/1.584 ms') 2026-02-02 08:08:00,907 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-00571302-65676454 passed 2026-02-02 08:08:01,065 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 08:08:01,065 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-00571302-65676454, IP 157.112.157.131, Port 22 2026-02-02 08:08:01,283 - DEBUG - VM ctest-TestBasicPolicy-00571302-65676454 is ready for SSH connections 2026-02-02 08:08:01,283 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 08:08:01,283 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 157.112.157.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-02-02 08:08:01,283 - DEBUG - ping -s 56 -c 3 -W 1 157.112.157.131 2026-02-02 08:08:05,374 - DEBUG - PING 157.112.157.131 (157.112.157.131): 56 data bytes 64 bytes from 157.112.157.131: seq=0 ttl=63 time=4.537 ms 64 bytes from 157.112.157.131: seq=1 ttl=63 time=1.000 ms 64 bytes from 157.112.157.131: seq=2 ttl=63 time=0.927 ms --- 157.112.157.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.927/2.154/4.537 ms 2026-02-02 08:08:05,374 - INFO - Ping to IP 157.112.157.131 from VM ctest-TestBasicPolicy-00571302-47783569 passed 2026-02-02 08:08:05,604 - DEBUG - Policy Update Response {"network-policy": {"uuid": "01553630-5fdf-4d85-8579-ab6b655cc136", "href": "https://10.0.0.22:8082/network-policy/01553630-5fdf-4d85-8579-ab6b655cc136"}} 2026-02-02 08:08:05,604 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 08:08:05,605 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 157.112.157.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-02-02 08:08:05,605 - DEBUG - ping -s 56 -c 3 -W 1 157.112.157.131 2026-02-02 08:08:08,823 - DEBUG - PING 157.112.157.131 (157.112.157.131): 56 data bytes --- 157.112.157.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-02 08:08:08,823 - WARNING - Ping to IP 157.112.157.131 from VM ctest-TestBasicPolicy-00571302-47783569 failed 2026-02-02 08:08:08,823 - INFO - Deleting VM ctest-TestBasicPolicy-00571302-65676454 2026-02-02 08:08:08,928 - INFO - Deleting VM ctest-TestBasicPolicy-00571302-47783569 2026-02-02 08:08:09,694 - INFO - Deleted policy ctest-policy-allow-all-78597220 2026-02-02 08:08:09,695 - INFO - Deleting VN ctest-vn-86054602 2026-02-02 08:08:09,853 - DEBUG - VN 41d8ef3e-f1c2-4eb4-a319-d4f81bc7c087 still in use: Unable to complete operation on network 41d8ef3e-f1c2-4eb4-a319-d4f81bc7c087. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3b66fcde-f851-46e7-92b2-ae29c8867b13'] 2026-02-02 08:08:09,854 - WARNING - Deleting VN ctest-vn-86054602 failed..Will retry 2026-02-02 08:08:12,031 - DEBUG - Response for deleting network () 2026-02-02 08:08:12,031 - DEBUG - Requesting: https://10.0.0.22:8082/routing-instance/91071be6-82c6-4042-a54f-9b89bf39bc41 2026-02-02 08:08:12,089 - DEBUG - Response Code: 404 2026-02-02 08:08:12,089 - DEBUG - Requesting: https://10.0.0.22:8082/domains 2026-02-02 08:08:12,145 - DEBUG - Requesting: https://10.0.0.22:8082/domain/a2db6585-9c32-4c36-b884-93ce8d9f9858 2026-02-02 08:08:12,206 - DEBUG - Requesting: https://10.0.0.22:8082/project/5d598737-c9f0-4892-ac04-d08ee1a89324 2026-02-02 08:08:12,290 - INFO - Validated that VN ctest-vn-86054602 is not found in API Server 2026-02-02 08:08:12,393 - DEBUG - VN ctest-vn-86054602 is not present in Agent 10.0.0.22 2026-02-02 08:08:12,393 - INFO - Validated that VN ctest-vn-86054602 is not in any agent 2026-02-02 08:08:12,546 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-86054602 info 2026-02-02 08:08:12,546 - INFO - Deleting VN ctest-vn-17558092 2026-02-02 08:08:12,736 - DEBUG - Response for deleting network () 2026-02-02 08:08:12,736 - DEBUG - Requesting: https://10.0.0.22:8082/routing-instance/1a2530f0-693a-44f6-a2cc-8542c920a469 2026-02-02 08:08:12,789 - DEBUG - Response Code: 404 2026-02-02 08:08:12,789 - DEBUG - Requesting: https://10.0.0.22:8082/domains 2026-02-02 08:08:12,842 - DEBUG - Requesting: https://10.0.0.22:8082/domain/a2db6585-9c32-4c36-b884-93ce8d9f9858 2026-02-02 08:08:12,902 - DEBUG - Requesting: https://10.0.0.22:8082/project/5d598737-c9f0-4892-ac04-d08ee1a89324 2026-02-02 08:08:12,986 - INFO - Validated that VN ctest-vn-17558092 is not found in API Server 2026-02-02 08:08:13,089 - DEBUG - VN ctest-vn-17558092 is not present in Agent 10.0.0.22 2026-02-02 08:08:13,089 - INFO - Validated that VN ctest-vn-17558092 is not in any agent 2026-02-02 08:08:13,237 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-17558092 info 2026-02-02 08:08:13,637 - DEBUG - No XMPP flaps were noticed during the test 2026-02-02 08:08:13,638 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:37] 2026-02-02 08:08:13,638 - INFO - -------------------------------------------------------------------------------- 2026-02-02 08:08:14,538 - INFO - Deleted project: ctest-TestBasicPolicy-00571302, ID : 5d598737-c9f0-4892-ac04-d08ee1a89324