2026-04-02 01:54:32,335 - INFO - Reading existing Domain with UUID 6b4d6e1f-9094-4f88-b6d3-8eafd30f73c5 2026-04-02 01:54:32,346 - INFO - Using existing domain ['admin_domain'](6b4d6e1f-9094-4f88-b6d3-8eafd30f73c5) 2026-04-02 01:54:32,535 - INFO - Project ctest-TestBasicPolicy-65876695 not found, creating it 2026-04-02 01:54:33,016 - INFO - Created Project:ctest-TestBasicPolicy-65876695, ID : 8eee4ba3-ae58-4a7f-8f8f-acea3bccd094 2026-04-02 01:54:34,624 - INFO - ================================================================================ 2026-04-02 01:54:34,625 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-02 01:54:34,625 - 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-04-02 01:54:35,007 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.0.0.41': '0'}} with 2026-04-02 01:54:35,007 - INFO - Initial checks done. Running the testcase now 2026-04-02 01:54:35,007 - INFO - 2026-04-02 01:54:35,770 - DEBUG - Response for create_network : {'network': {'id': '05ea525c-43b7-4647-8ef5-2d260869ef71', 'name': 'ctest-vn-84601198', 'tenant_id': '8eee4ba3ae584a7f8f8facea3bccd094', 'project_id': '8eee4ba3ae584a7f8f8facea3bccd094', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-65876695', 'ctest-vn-84601198'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-04-02 01:54:36,035 - DEBUG - Response for create_subnet : {'subnet': {'id': '606ae762-aa7a-4f20-a7e1-e9bcf4538298', 'name': '', 'tenant_id': '8eee4ba3ae584a7f8f8facea3bccd094', 'network_id': '05ea525c-43b7-4647-8ef5-2d260869ef71', 'ip_version': 4, 'cidr': '30.180.197.192/26', 'allocation_pools': [{'start': '30.180.197.194', 'end': '30.180.197.254'}], 'gateway_ip': '30.180.197.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-04-02T01:54:35.936461', 'updated_at': '2026-04-02T01:54:35.936461', 'dns_server_address': '30.180.197.194', 'tags': [], 'project_id': '8eee4ba3ae584a7f8f8facea3bccd094'}} 2026-04-02 01:54:36,096 - INFO - Created VN ctest-vn-84601198 2026-04-02 01:54:36,154 - DEBUG - VN ctest-vn-84601198 UUID is 05ea525c-43b7-4647-8ef5-2d260869ef71 2026-04-02 01:54:36,622 - DEBUG - Response for create_network : {'network': {'id': 'dda07001-d27b-4860-850b-0947fc5fa8f3', 'name': 'ctest-vn-31777552', 'tenant_id': '8eee4ba3ae584a7f8f8facea3bccd094', 'project_id': '8eee4ba3ae584a7f8f8facea3bccd094', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-65876695', 'ctest-vn-31777552'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-04-02 01:54:36,850 - DEBUG - Response for create_subnet : {'subnet': {'id': '908820f5-6923-4218-965a-1d1b568c5654', 'name': '', 'tenant_id': '8eee4ba3ae584a7f8f8facea3bccd094', 'network_id': 'dda07001-d27b-4860-850b-0947fc5fa8f3', 'ip_version': 4, 'cidr': '188.204.32.0/26', 'allocation_pools': [{'start': '188.204.32.2', 'end': '188.204.32.62'}], 'gateway_ip': '188.204.32.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-04-02T01:54:36.757738', 'updated_at': '2026-04-02T01:54:36.757738', 'dns_server_address': '188.204.32.2', 'tags': [], 'project_id': '8eee4ba3ae584a7f8f8facea3bccd094'}} 2026-04-02 01:54:36,912 - INFO - Created VN ctest-vn-31777552 2026-04-02 01:54:36,966 - DEBUG - VN ctest-vn-31777552 UUID is dda07001-d27b-4860-850b-0947fc5fa8f3 2026-04-02 01:54:37,169 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = admin_domain:ctest-TestBasicPolicy-65876695:ctest-vn-84601198, 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-65876695:ctest-vn-31777552, 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-04-02 01:54:37,554 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '05ea525c-43b7-4647-8ef5-2d260869ef71', 'name': 'ctest-vn-84601198', 'tenant_id': '8eee4ba3ae584a7f8f8facea3bccd094', 'project_id': '8eee4ba3ae584a7f8f8facea3bccd094', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['606ae762-aa7a-4f20-a7e1-e9bcf4538298'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-65876695', 'ctest-vn-84601198'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-65876695', 'ctest-policy-allow-all-65027366']], 'subnet_ipam': [{'subnet_cidr': '30.180.197.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-04-02T01:54:35.670939', 'updated_at': '2026-04-02T01:54:35.947475'}} 2026-04-02 01:54:37,889 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'dda07001-d27b-4860-850b-0947fc5fa8f3', 'name': 'ctest-vn-31777552', 'tenant_id': '8eee4ba3ae584a7f8f8facea3bccd094', 'project_id': '8eee4ba3ae584a7f8f8facea3bccd094', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['908820f5-6923-4218-965a-1d1b568c5654'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-65876695', 'ctest-vn-31777552'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-65876695', 'ctest-policy-allow-all-65027366']], 'subnet_ipam': [{'subnet_cidr': '188.204.32.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-04-02T01:54:36.550386', 'updated_at': '2026-04-02T01:54:36.769389'}} 2026-04-02 01:54:38,086 - DEBUG - Requesting: https://10.0.0.41:8082/domains 2026-04-02 01:54:38,423 - DEBUG - Requesting: https://10.0.0.41:8082/domains 2026-04-02 01:54:38,502 - DEBUG - Requesting: https://10.0.0.41:8082/domain/6b4d6e1f-9094-4f88-b6d3-8eafd30f73c5 2026-04-02 01:54:38,559 - DEBUG - Requesting: https://10.0.0.41:8082/project/8eee4ba3-ae58-4a7f-8f8f-acea3bccd094 2026-04-02 01:54:38,635 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-network/05ea525c-43b7-4647-8ef5-2d260869ef71 2026-04-02 01:54:38,691 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-network/05ea525c-43b7-4647-8ef5-2d260869ef71 2026-04-02 01:54:38,747 - DEBUG - Requesting: https://10.0.0.41:8082/routing-instance/04d78caa-dedf-4ae8-96f6-024d4307cbfd 2026-04-02 01:54:38,799 - DEBUG - Requesting: https://10.0.0.41:8082/routing-instance/04d78caa-dedf-4ae8-96f6-024d4307cbfd 2026-04-02 01:54:38,851 - DEBUG - Requesting: https://10.0.0.41:8082/route-target/84a25efc-4c48-468c-ba74-fc187ea19d69 2026-04-02 01:54:38,902 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-02 01:54:38,903 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-network/05ea525c-43b7-4647-8ef5-2d260869ef71 2026-04-02 01:54:38,959 - DEBUG - Requesting: https://10.0.0.41:8082/routing-instance/04d78caa-dedf-4ae8-96f6-024d4307cbfd 2026-04-02 01:54:39,018 - INFO - Verified VN network id 12 for VN 05ea525c-43b7-4647-8ef5-2d260869ef71 2026-04-02 01:54:39,018 - INFO - Verifications in API Server for VN ctest-vn-84601198 passed 2026-04-02 01:54:39,018 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-network/05ea525c-43b7-4647-8ef5-2d260869ef71 2026-04-02 01:54:39,071 - DEBUG - Requesting: https://10.0.0.41:8082/routing-instance/04d78caa-dedf-4ae8-96f6-024d4307cbfd 2026-04-02 01:54:39,123 - DEBUG - Requesting: https://10.0.0.41:8082/routing-instance/04d78caa-dedf-4ae8-96f6-024d4307cbfd 2026-04-02 01:54:39,179 - DEBUG - Requesting: https://10.0.0.41:8082/route-target/84a25efc-4c48-468c-ba74-fc187ea19d69 2026-04-02 01:54:39,279 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-65876695:ctest-vn-84601198', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-65876695', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '426243670966486599', 'uuid-lslong': '10301189364053045105'}, 'enable': 'true', 'created': '2026-04-02T01:54:35', 'last-modified': '2026-04-02T01:54:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.749351'} 2026-04-02 01:54:39,328 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-02 01:54:39,328 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-84601198 passed 2026-04-02 01:54:39,328 - DEBUG - ====Verifying policy data for ctest-vn-84601198 in API_Server ====== 2026-04-02 01:54:39,328 - DEBUG - Requesting: https://10.0.0.41:8082/domains 2026-04-02 01:54:39,378 - DEBUG - Requesting: https://10.0.0.41:8082/domain/6b4d6e1f-9094-4f88-b6d3-8eafd30f73c5 2026-04-02 01:54:39,435 - DEBUG - Requesting: https://10.0.0.41:8082/project/8eee4ba3-ae58-4a7f-8f8f-acea3bccd094 2026-04-02 01:54:39,515 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-network/05ea525c-43b7-4647-8ef5-2d260869ef71 2026-04-02 01:54:39,575 - DEBUG - ==>Verifying data for policy with id: 302321ba-8882-43fe-a66c-bc6e64b0f8f3, fqn: ['admin_domain', 'ctest-TestBasicPolicy-65876695', 'ctest-policy-allow-all-65027366'] 2026-04-02 01:54:39,575 - INFO - VN ctest-vn-84601198 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-02 01:54:39,576 - DEBUG - Verifying the vn in opserver 2026-04-02 01:54:39,576 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-65876695:ctest-vn-84601198 virtual network link through opserver 10.0.0.41 2026-04-02 01:54:39,576 - DEBUG - Requesting: https://10.0.0.41:8081/analytics/uves/virtual-networks 2026-04-02 01:54:39,918 - DEBUG - Requesting: https://10.0.0.41:8081/analytics/uves/virtual-networks 2026-04-02 01:54:40,022 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-65876695:ctest-vn-84601198', 'href': 'https://10.0.0.41:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-65876695:ctest-vn-84601198?flat'} 2026-04-02 01:54:40,022 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-65876695:ctest-vn-84601198 is found in opserver 2026-04-02 01:54:40,118 - DEBUG - Do not have enough data to verify VN in agent 2026-04-02 01:54:40,170 - DEBUG - VRF ids for VN ctest-vn-84601198: {} 2026-04-02 01:54:40,170 - DEBUG - Requesting: https://10.0.0.41:8082/domains 2026-04-02 01:54:40,222 - DEBUG - Requesting: https://10.0.0.41:8082/domain/6b4d6e1f-9094-4f88-b6d3-8eafd30f73c5 2026-04-02 01:54:40,279 - DEBUG - Requesting: https://10.0.0.41:8082/project/8eee4ba3-ae58-4a7f-8f8f-acea3bccd094 2026-04-02 01:54:40,351 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-network/dda07001-d27b-4860-850b-0947fc5fa8f3 2026-04-02 01:54:40,407 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-network/dda07001-d27b-4860-850b-0947fc5fa8f3 2026-04-02 01:54:40,460 - DEBUG - Requesting: https://10.0.0.41:8082/routing-instance/2b3186e5-ff58-42f4-9b24-e95963325a0b 2026-04-02 01:54:40,515 - DEBUG - Requesting: https://10.0.0.41:8082/routing-instance/2b3186e5-ff58-42f4-9b24-e95963325a0b 2026-04-02 01:54:40,571 - DEBUG - Requesting: https://10.0.0.41:8082/route-target/35d6448c-0740-4b27-ab8f-53bab9a59384 2026-04-02 01:54:40,622 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-02 01:54:40,622 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-network/dda07001-d27b-4860-850b-0947fc5fa8f3 2026-04-02 01:54:40,675 - DEBUG - Requesting: https://10.0.0.41:8082/routing-instance/2b3186e5-ff58-42f4-9b24-e95963325a0b 2026-04-02 01:54:40,735 - INFO - Verified VN network id 13 for VN dda07001-d27b-4860-850b-0947fc5fa8f3 2026-04-02 01:54:40,735 - INFO - Verifications in API Server for VN ctest-vn-31777552 passed 2026-04-02 01:54:40,735 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-network/dda07001-d27b-4860-850b-0947fc5fa8f3 2026-04-02 01:54:40,792 - DEBUG - Requesting: https://10.0.0.41:8082/routing-instance/2b3186e5-ff58-42f4-9b24-e95963325a0b 2026-04-02 01:54:40,847 - DEBUG - Requesting: https://10.0.0.41:8082/routing-instance/2b3186e5-ff58-42f4-9b24-e95963325a0b 2026-04-02 01:54:40,899 - DEBUG - Requesting: https://10.0.0.41:8082/route-target/35d6448c-0740-4b27-ab8f-53bab9a59384 2026-04-02 01:54:40,999 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-65876695:ctest-vn-31777552', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-65876695', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15969887431784351840', 'uuid-lslong': '9586766436569688307'}, 'enable': 'true', 'created': '2026-04-02T01:54:36', 'last-modified': '2026-04-02T01:54:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.132868'} 2026-04-02 01:54:41,051 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-02 01:54:41,051 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-31777552 passed 2026-04-02 01:54:41,051 - DEBUG - ====Verifying policy data for ctest-vn-31777552 in API_Server ====== 2026-04-02 01:54:41,052 - DEBUG - Requesting: https://10.0.0.41:8082/domains 2026-04-02 01:54:41,102 - DEBUG - Requesting: https://10.0.0.41:8082/domain/6b4d6e1f-9094-4f88-b6d3-8eafd30f73c5 2026-04-02 01:54:41,159 - DEBUG - Requesting: https://10.0.0.41:8082/project/8eee4ba3-ae58-4a7f-8f8f-acea3bccd094 2026-04-02 01:54:41,239 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-network/dda07001-d27b-4860-850b-0947fc5fa8f3 2026-04-02 01:54:41,296 - DEBUG - ==>Verifying data for policy with id: 302321ba-8882-43fe-a66c-bc6e64b0f8f3, fqn: ['admin_domain', 'ctest-TestBasicPolicy-65876695', 'ctest-policy-allow-all-65027366'] 2026-04-02 01:54:41,296 - INFO - VN ctest-vn-31777552 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-02 01:54:41,296 - DEBUG - Verifying the vn in opserver 2026-04-02 01:54:41,296 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-65876695:ctest-vn-31777552 virtual network link through opserver 10.0.0.41 2026-04-02 01:54:41,296 - DEBUG - Requesting: https://10.0.0.41:8081/analytics/uves/virtual-networks 2026-04-02 01:54:41,350 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-65876695:ctest-vn-31777552', 'href': 'https://10.0.0.41:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-65876695:ctest-vn-31777552?flat'} 2026-04-02 01:54:41,350 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-65876695:ctest-vn-31777552 is found in opserver 2026-04-02 01:54:41,450 - DEBUG - Do not have enough data to verify VN in agent 2026-04-02 01:54:41,498 - DEBUG - VRF ids for VN ctest-vn-31777552: {} 2026-04-02 01:54:41,566 - DEBUG - Services list from nova: [, , ] 2026-04-02 01:54:42,591 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-690-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-690-1) 2026-04-02 01:54:43,808 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-690-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-690-1) 2026-04-02 01:54:43,808 - INFO - Waiting for VM ctest-TestBasicPolicy-65876695-28350704 to be up.. 2026-04-02 01:54:43,943 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-02 01:54:49,075 - DEBUG - VM is in ACTIVE state now 2026-04-02 01:54:49,075 - INFO - VM name : ctest-TestBasicPolicy-65876695-28350704 2026-04-02 01:54:49,312 - DEBUG - VM ctest-TestBasicPolicy-65876695-28350704 ID is a91e8911-08d1-4caf-bda4-70f0c23d8f0d 2026-04-02 01:54:49,345 - DEBUG - VM ctest-TestBasicPolicy-65876695-28350704 launched on Node cn-jenkins-deploy-platform-juju-os-690-1 2026-04-02 01:54:49,484 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-machine/a91e8911-08d1-4caf-bda4-70f0c23d8f0d 2026-04-02 01:54:49,538 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-machine-interface/32ac4e88-6394-4c34-8eb5-835047353498 2026-04-02 01:54:53,009 - 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 1023ms') 2026-04-02 01:54:53,009 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-65876695-28350704 failed! 2026-04-02 01:54:53,066 - DEBUG - Gateway for vn admin_domain:ctest-TestBasicPolicy-65876695:ctest-vn-84601198 is 30.180.197.193 and allocation pool is NOT set 2026-04-02 01:54:55,159 - 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=5.54 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.04 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 = 3.035/4.289/5.544/1.254 ms') 2026-04-02 01:54:55,159 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-65876695-28350704 passed 2026-04-02 01:54:55,314 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-02 01:54:55,314 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-65876695-28350704, IP 30.180.197.195, Port 22 2026-04-02 01:54:55,532 - DEBUG - VM ctest-TestBasicPolicy-65876695-28350704 is ready for SSH connections 2026-04-02 01:54:55,532 - INFO - Waiting for VM ctest-TestBasicPolicy-65876695-03325258 to be up.. 2026-04-02 01:54:55,670 - DEBUG - VM is in ACTIVE state now 2026-04-02 01:54:55,670 - INFO - VM name : ctest-TestBasicPolicy-65876695-03325258 2026-04-02 01:54:55,808 - DEBUG - VM ctest-TestBasicPolicy-65876695-03325258 ID is d26c886b-10d7-497a-8c77-807d428a46d2 2026-04-02 01:54:55,808 - DEBUG - VM ctest-TestBasicPolicy-65876695-03325258 launched on Node cn-jenkins-deploy-platform-juju-os-690-1 2026-04-02 01:54:55,939 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-machine/d26c886b-10d7-497a-8c77-807d428a46d2 2026-04-02 01:54:55,994 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-machine-interface/46a9c850-e0b5-4dfa-bbce-7314d1200a95 2026-04-02 01:54:57,458 - 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=2.87 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.419 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.419/1.644/2.870/1.225 ms') 2026-04-02 01:54:57,458 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-65876695-03325258 passed 2026-04-02 01:54:57,618 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-02 01:54:57,618 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-65876695-03325258, IP 188.204.32.3, Port 22 2026-04-02 01:54:57,832 - DEBUG - VM ctest-TestBasicPolicy-65876695-03325258 is ready for SSH connections 2026-04-02 01:54:57,832 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-02 01:54:57,833 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 188.204.32.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2026-04-02 01:54:57,833 - DEBUG - ping -s 56 -c 3 -W 1 188.204.32.3 2026-04-02 01:55:01,841 - DEBUG - PING 188.204.32.3 (188.204.32.3): 56 data bytes 64 bytes from 188.204.32.3: seq=0 ttl=63 time=3.358 ms 64 bytes from 188.204.32.3: seq=1 ttl=63 time=0.833 ms 64 bytes from 188.204.32.3: seq=2 ttl=63 time=0.756 ms --- 188.204.32.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.756/1.649/3.358 ms 2026-04-02 01:55:01,841 - INFO - Ping to IP 188.204.32.3 from VM ctest-TestBasicPolicy-65876695-28350704 passed 2026-04-02 01:55:02,018 - DEBUG - Policy Update Response {"network-policy": {"uuid": "302321ba-8882-43fe-a66c-bc6e64b0f8f3", "href": "https://10.0.0.41:8082/network-policy/302321ba-8882-43fe-a66c-bc6e64b0f8f3"}} 2026-04-02 01:55:02,018 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-02 01:55:02,018 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 188.204.32.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2026-04-02 01:55:02,018 - DEBUG - ping -s 56 -c 3 -W 1 188.204.32.3 2026-04-02 01:55:05,218 - DEBUG - PING 188.204.32.3 (188.204.32.3): 56 data bytes --- 188.204.32.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-02 01:55:05,218 - WARNING - Ping to IP 188.204.32.3 from VM ctest-TestBasicPolicy-65876695-28350704 failed 2026-04-02 01:55:05,218 - INFO - Deleting VM ctest-TestBasicPolicy-65876695-03325258 2026-04-02 01:55:05,322 - INFO - Deleting VM ctest-TestBasicPolicy-65876695-28350704 2026-04-02 01:55:06,014 - INFO - Deleted policy ctest-policy-allow-all-65027366 2026-04-02 01:55:06,014 - INFO - Deleting VN ctest-vn-31777552 2026-04-02 01:55:06,153 - DEBUG - VN dda07001-d27b-4860-850b-0947fc5fa8f3 still in use: Unable to complete operation on network dda07001-d27b-4860-850b-0947fc5fa8f3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-724d098b-5e2b-4c65-bf2d-59dcb510b8d2'] 2026-04-02 01:55:06,153 - WARNING - Deleting VN ctest-vn-31777552 failed..Will retry 2026-04-02 01:55:08,303 - DEBUG - Response for deleting network () 2026-04-02 01:55:08,303 - DEBUG - Requesting: https://10.0.0.41:8082/routing-instance/2b3186e5-ff58-42f4-9b24-e95963325a0b 2026-04-02 01:55:08,358 - DEBUG - Response Code: 404 2026-04-02 01:55:08,358 - DEBUG - Requesting: https://10.0.0.41:8082/domains 2026-04-02 01:55:08,411 - DEBUG - Requesting: https://10.0.0.41:8082/domain/6b4d6e1f-9094-4f88-b6d3-8eafd30f73c5 2026-04-02 01:55:08,467 - DEBUG - Requesting: https://10.0.0.41:8082/project/8eee4ba3-ae58-4a7f-8f8f-acea3bccd094 2026-04-02 01:55:08,539 - INFO - Validated that VN ctest-vn-31777552 is not found in API Server 2026-04-02 01:55:08,634 - DEBUG - VN ctest-vn-31777552 is not present in Agent 10.0.0.41 2026-04-02 01:55:08,634 - INFO - Validated that VN ctest-vn-31777552 is not in any agent 2026-04-02 01:55:08,782 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-31777552 info 2026-04-02 01:55:08,783 - INFO - Deleting VN ctest-vn-84601198 2026-04-02 01:55:08,931 - DEBUG - Response for deleting network () 2026-04-02 01:55:08,932 - DEBUG - Requesting: https://10.0.0.41:8082/routing-instance/04d78caa-dedf-4ae8-96f6-024d4307cbfd 2026-04-02 01:55:08,990 - DEBUG - Response Code: 404 2026-04-02 01:55:08,990 - DEBUG - Requesting: https://10.0.0.41:8082/domains 2026-04-02 01:55:09,042 - DEBUG - Requesting: https://10.0.0.41:8082/domain/6b4d6e1f-9094-4f88-b6d3-8eafd30f73c5 2026-04-02 01:55:09,099 - DEBUG - Requesting: https://10.0.0.41:8082/project/8eee4ba3-ae58-4a7f-8f8f-acea3bccd094 2026-04-02 01:55:09,175 - INFO - Validated that VN ctest-vn-84601198 is not found in API Server 2026-04-02 01:55:09,270 - DEBUG - VN ctest-vn-84601198 is not present in Agent 10.0.0.41 2026-04-02 01:55:09,271 - INFO - Validated that VN ctest-vn-84601198 is not in any agent 2026-04-02 01:55:09,418 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-84601198 info 2026-04-02 01:55:09,799 - DEBUG - No XMPP flaps were noticed during the test 2026-04-02 01:55:09,799 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2026-04-02 01:55:09,799 - INFO - -------------------------------------------------------------------------------- 2026-04-02 01:55:10,536 - INFO - Deleted project: ctest-TestBasicPolicy-65876695, ID : 8eee4ba3-ae58-4a7f-8f8f-acea3bccd094