2026-04-09 01:50:52,811 - INFO - Reading existing Domain with UUID 549f21b8-1b18-436e-a6d1-a3af077f9f73 2026-04-09 01:50:52,824 - INFO - Using existing domain ['admin_domain'](549f21b8-1b18-436e-a6d1-a3af077f9f73) 2026-04-09 01:50:53,066 - INFO - Project ctest-TestBasicPolicy-27302069 not found, creating it 2026-04-09 01:50:53,610 - INFO - Created Project:ctest-TestBasicPolicy-27302069, ID : 8694a18e-fba7-4db6-9458-262a49597af3 2026-04-09 01:50:55,536 - INFO - ================================================================================ 2026-04-09 01:50:55,536 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-09 01:50:55,536 - 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-09 01:50:55,929 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.0.0.129': '0'}} with 2026-04-09 01:50:55,929 - INFO - Initial checks done. Running the testcase now 2026-04-09 01:50:55,929 - INFO - 2026-04-09 01:50:56,785 - DEBUG - Response for create_network : {'network': {'id': 'ed39de62-8fe8-4804-92d1-58b3ebd1f69f', 'name': 'ctest-vn-58334852', 'tenant_id': '8694a18efba74db69458262a49597af3', 'project_id': '8694a18efba74db69458262a49597af3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-27302069', 'ctest-vn-58334852'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-04-09 01:50:57,011 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd6e205d7-29f5-40aa-8945-4cc7c02562a7', 'name': '', 'tenant_id': '8694a18efba74db69458262a49597af3', 'network_id': 'ed39de62-8fe8-4804-92d1-58b3ebd1f69f', 'ip_version': 4, 'cidr': '63.193.59.0/26', 'allocation_pools': [{'start': '63.193.59.2', 'end': '63.193.59.62'}], 'gateway_ip': '63.193.59.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-04-09T01:50:56.912290', 'updated_at': '2026-04-09T01:50:56.912290', 'dns_server_address': '63.193.59.2', 'tags': [], 'project_id': '8694a18efba74db69458262a49597af3'}} 2026-04-09 01:50:57,081 - INFO - Created VN ctest-vn-58334852 2026-04-09 01:50:57,135 - DEBUG - VN ctest-vn-58334852 UUID is ed39de62-8fe8-4804-92d1-58b3ebd1f69f 2026-04-09 01:50:57,657 - DEBUG - Response for create_network : {'network': {'id': 'f72fe0ac-dfaf-4771-9dd6-a4441043674b', 'name': 'ctest-vn-43622427', 'tenant_id': '8694a18efba74db69458262a49597af3', 'project_id': '8694a18efba74db69458262a49597af3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-27302069', 'ctest-vn-43622427'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-04-09 01:50:57,936 - DEBUG - Response for create_subnet : {'subnet': {'id': '9288e79c-b4ff-4236-8a23-086064378382', 'name': '', 'tenant_id': '8694a18efba74db69458262a49597af3', 'network_id': 'f72fe0ac-dfaf-4771-9dd6-a4441043674b', 'ip_version': 4, 'cidr': '165.60.145.64/26', 'allocation_pools': [{'start': '165.60.145.66', 'end': '165.60.145.126'}], 'gateway_ip': '165.60.145.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-04-09T01:50:57.821499', 'updated_at': '2026-04-09T01:50:57.821499', 'dns_server_address': '165.60.145.66', 'tags': [], 'project_id': '8694a18efba74db69458262a49597af3'}} 2026-04-09 01:50:58,002 - INFO - Created VN ctest-vn-43622427 2026-04-09 01:50:58,059 - DEBUG - VN ctest-vn-43622427 UUID is f72fe0ac-dfaf-4771-9dd6-a4441043674b 2026-04-09 01:50:58,288 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = admin_domain:ctest-TestBasicPolicy-27302069:ctest-vn-58334852, 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-27302069:ctest-vn-43622427, 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-09 01:50:58,731 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ed39de62-8fe8-4804-92d1-58b3ebd1f69f', 'name': 'ctest-vn-58334852', 'tenant_id': '8694a18efba74db69458262a49597af3', 'project_id': '8694a18efba74db69458262a49597af3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d6e205d7-29f5-40aa-8945-4cc7c02562a7'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-27302069', 'ctest-vn-58334852'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-27302069', 'ctest-policy-allow-all-12436023']], 'subnet_ipam': [{'subnet_cidr': '63.193.59.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-04-09T01:50:56.705190', 'updated_at': '2026-04-09T01:50:56.925894'}} 2026-04-09 01:50:59,079 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f72fe0ac-dfaf-4771-9dd6-a4441043674b', 'name': 'ctest-vn-43622427', 'tenant_id': '8694a18efba74db69458262a49597af3', 'project_id': '8694a18efba74db69458262a49597af3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9288e79c-b4ff-4236-8a23-086064378382'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-27302069', 'ctest-vn-43622427'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-27302069', 'ctest-policy-allow-all-12436023']], 'subnet_ipam': [{'subnet_cidr': '165.60.145.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-04-09T01:50:57.571968', 'updated_at': '2026-04-09T01:50:57.840889'}} 2026-04-09 01:50:59,295 - DEBUG - Requesting: https://10.0.0.129:8082/domains 2026-04-09 01:50:59,643 - DEBUG - Requesting: https://10.0.0.129:8082/domains 2026-04-09 01:50:59,728 - DEBUG - Requesting: https://10.0.0.129:8082/domain/549f21b8-1b18-436e-a6d1-a3af077f9f73 2026-04-09 01:50:59,790 - DEBUG - Requesting: https://10.0.0.129:8082/project/8694a18e-fba7-4db6-9458-262a49597af3 2026-04-09 01:50:59,896 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/ed39de62-8fe8-4804-92d1-58b3ebd1f69f 2026-04-09 01:50:59,962 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/ed39de62-8fe8-4804-92d1-58b3ebd1f69f 2026-04-09 01:51:00,026 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/a5487427-f579-4805-9dab-f2e36a535de9 2026-04-09 01:51:00,084 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/a5487427-f579-4805-9dab-f2e36a535de9 2026-04-09 01:51:00,157 - DEBUG - Requesting: https://10.0.0.129:8082/route-target/efebf112-24ef-4c6e-bd82-a1f5550c2d3a 2026-04-09 01:51:00,213 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-09 01:51:00,214 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/ed39de62-8fe8-4804-92d1-58b3ebd1f69f 2026-04-09 01:51:00,273 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/a5487427-f579-4805-9dab-f2e36a535de9 2026-04-09 01:51:00,351 - INFO - Verified VN network id 11 for VN ed39de62-8fe8-4804-92d1-58b3ebd1f69f 2026-04-09 01:51:00,351 - INFO - Verifications in API Server for VN ctest-vn-58334852 passed 2026-04-09 01:51:00,351 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/ed39de62-8fe8-4804-92d1-58b3ebd1f69f 2026-04-09 01:51:00,413 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/a5487427-f579-4805-9dab-f2e36a535de9 2026-04-09 01:51:00,472 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/a5487427-f579-4805-9dab-f2e36a535de9 2026-04-09 01:51:00,528 - DEBUG - Requesting: https://10.0.0.129:8082/route-target/efebf112-24ef-4c6e-bd82-a1f5550c2d3a 2026-04-09 01:51:00,637 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-27302069:ctest-vn-58334852', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-27302069', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17093938375563954180', 'uuid-lslong': '10579334529448801951'}, 'enable': 'true', 'created': '2026-04-09T01:50:56', 'last-modified': '2026-04-09T01:50:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.940160'} 2026-04-09 01:51:00,689 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-09 01:51:00,690 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-58334852 passed 2026-04-09 01:51:00,690 - DEBUG - ====Verifying policy data for ctest-vn-58334852 in API_Server ====== 2026-04-09 01:51:00,690 - DEBUG - Requesting: https://10.0.0.129:8082/domains 2026-04-09 01:51:00,744 - DEBUG - Requesting: https://10.0.0.129:8082/domain/549f21b8-1b18-436e-a6d1-a3af077f9f73 2026-04-09 01:51:00,809 - DEBUG - Requesting: https://10.0.0.129:8082/project/8694a18e-fba7-4db6-9458-262a49597af3 2026-04-09 01:51:00,925 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/ed39de62-8fe8-4804-92d1-58b3ebd1f69f 2026-04-09 01:51:00,985 - DEBUG - ==>Verifying data for policy with id: 3be568ef-270c-45db-a872-708d47ac4e9c, fqn: ['admin_domain', 'ctest-TestBasicPolicy-27302069', 'ctest-policy-allow-all-12436023'] 2026-04-09 01:51:00,985 - INFO - VN ctest-vn-58334852 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-09 01:51:00,985 - DEBUG - Verifying the vn in opserver 2026-04-09 01:51:00,985 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-27302069:ctest-vn-58334852 virtual network link through opserver 10.0.0.129 2026-04-09 01:51:00,985 - DEBUG - Requesting: https://10.0.0.129:8081/analytics/uves/virtual-networks 2026-04-09 01:51:01,341 - DEBUG - Requesting: https://10.0.0.129:8081/analytics/uves/virtual-networks 2026-04-09 01:51:01,480 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-27302069:ctest-vn-58334852', 'href': 'https://10.0.0.129:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-27302069:ctest-vn-58334852?flat'} 2026-04-09 01:51:01,481 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-27302069:ctest-vn-58334852 is found in opserver 2026-04-09 01:51:01,596 - DEBUG - Do not have enough data to verify VN in agent 2026-04-09 01:51:01,652 - DEBUG - VRF ids for VN ctest-vn-58334852: {} 2026-04-09 01:51:01,652 - DEBUG - Requesting: https://10.0.0.129:8082/domains 2026-04-09 01:51:01,707 - DEBUG - Requesting: https://10.0.0.129:8082/domain/549f21b8-1b18-436e-a6d1-a3af077f9f73 2026-04-09 01:51:01,764 - DEBUG - Requesting: https://10.0.0.129:8082/project/8694a18e-fba7-4db6-9458-262a49597af3 2026-04-09 01:51:01,852 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/f72fe0ac-dfaf-4771-9dd6-a4441043674b 2026-04-09 01:51:01,913 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/f72fe0ac-dfaf-4771-9dd6-a4441043674b 2026-04-09 01:51:01,974 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/81e80abe-44f5-42e7-b46b-52de9dd1ab8b 2026-04-09 01:51:02,036 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/81e80abe-44f5-42e7-b46b-52de9dd1ab8b 2026-04-09 01:51:02,096 - DEBUG - Requesting: https://10.0.0.129:8082/route-target/39de740d-d26c-414a-bf47-b6b7916b3af8 2026-04-09 01:51:02,152 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-09 01:51:02,152 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/f72fe0ac-dfaf-4771-9dd6-a4441043674b 2026-04-09 01:51:02,209 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/81e80abe-44f5-42e7-b46b-52de9dd1ab8b 2026-04-09 01:51:02,272 - INFO - Verified VN network id 12 for VN f72fe0ac-dfaf-4771-9dd6-a4441043674b 2026-04-09 01:51:02,272 - INFO - Verifications in API Server for VN ctest-vn-43622427 passed 2026-04-09 01:51:02,272 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/f72fe0ac-dfaf-4771-9dd6-a4441043674b 2026-04-09 01:51:02,333 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/81e80abe-44f5-42e7-b46b-52de9dd1ab8b 2026-04-09 01:51:02,401 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/81e80abe-44f5-42e7-b46b-52de9dd1ab8b 2026-04-09 01:51:02,465 - DEBUG - Requesting: https://10.0.0.129:8082/route-target/39de740d-d26c-414a-bf47-b6b7916b3af8 2026-04-09 01:51:02,576 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-27302069:ctest-vn-43622427', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-27302069', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17811702084365404017', 'uuid-lslong': '11373458521208350539'}, 'enable': 'true', 'created': '2026-04-09T01:50:57', 'last-modified': '2026-04-09T01:50:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.514428'} 2026-04-09 01:51:02,634 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-09 01:51:02,634 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-43622427 passed 2026-04-09 01:51:02,634 - DEBUG - ====Verifying policy data for ctest-vn-43622427 in API_Server ====== 2026-04-09 01:51:02,634 - DEBUG - Requesting: https://10.0.0.129:8082/domains 2026-04-09 01:51:02,688 - DEBUG - Requesting: https://10.0.0.129:8082/domain/549f21b8-1b18-436e-a6d1-a3af077f9f73 2026-04-09 01:51:02,753 - DEBUG - Requesting: https://10.0.0.129:8082/project/8694a18e-fba7-4db6-9458-262a49597af3 2026-04-09 01:51:02,841 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/f72fe0ac-dfaf-4771-9dd6-a4441043674b 2026-04-09 01:51:02,901 - DEBUG - ==>Verifying data for policy with id: 3be568ef-270c-45db-a872-708d47ac4e9c, fqn: ['admin_domain', 'ctest-TestBasicPolicy-27302069', 'ctest-policy-allow-all-12436023'] 2026-04-09 01:51:02,901 - INFO - VN ctest-vn-43622427 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-09 01:51:02,902 - DEBUG - Verifying the vn in opserver 2026-04-09 01:51:02,902 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-27302069:ctest-vn-43622427 virtual network link through opserver 10.0.0.129 2026-04-09 01:51:02,902 - DEBUG - Requesting: https://10.0.0.129:8081/analytics/uves/virtual-networks 2026-04-09 01:51:02,964 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-27302069:ctest-vn-43622427', 'href': 'https://10.0.0.129:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-27302069:ctest-vn-43622427?flat'} 2026-04-09 01:51:02,964 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-27302069:ctest-vn-43622427 is found in opserver 2026-04-09 01:51:03,068 - DEBUG - Do not have enough data to verify VN in agent 2026-04-09 01:51:03,119 - DEBUG - VRF ids for VN ctest-vn-43622427: {} 2026-04-09 01:51:03,206 - DEBUG - Services list from nova: [, , ] 2026-04-09 01:51:04,438 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-692-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-692-1) 2026-04-09 01:51:06,077 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-692-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-692-1) 2026-04-09 01:51:06,077 - INFO - Waiting for VM ctest-TestBasicPolicy-27302069-71184335 to be up.. 2026-04-09 01:51:06,258 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-09 01:51:11,420 - DEBUG - VM is in ACTIVE state now 2026-04-09 01:51:11,421 - INFO - VM name : ctest-TestBasicPolicy-27302069-71184335 2026-04-09 01:51:11,571 - DEBUG - VM ctest-TestBasicPolicy-27302069-71184335 ID is 058d3575-a367-44e9-8527-b48afa11cd7b 2026-04-09 01:51:11,595 - DEBUG - VM ctest-TestBasicPolicy-27302069-71184335 launched on Node cn-jenkins-deploy-platform-juju-os-692-1 2026-04-09 01:51:11,752 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine/058d3575-a367-44e9-8527-b48afa11cd7b 2026-04-09 01:51:11,816 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine-interface/a3fa64e8-86c8-4416-bd66-9a2fd8d2a25d 2026-04-09 01:51:15,292 - 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 1005ms') 2026-04-09 01:51:15,292 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-27302069-71184335 failed! 2026-04-09 01:51:15,355 - DEBUG - Gateway for vn admin_domain:ctest-TestBasicPolicy-27302069:ctest-vn-58334852 is 63.193.59.1 and allocation pool is NOT set 2026-04-09 01:51:17,446 - 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.1 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.34 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 = 1.337/5.718/10.100/4.381 ms') 2026-04-09 01:51:17,446 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-27302069-71184335 passed 2026-04-09 01:51:17,631 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-09 01:51:17,632 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-27302069-71184335, IP 63.193.59.3, Port 22 2026-04-09 01:51:17,724 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-04-09 01:51:17,924 - DEBUG - VM ctest-TestBasicPolicy-27302069-71184335 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-09 01:51:22,924 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-09 01:51:22,925 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-27302069-71184335, IP 63.193.59.3, Port 22 2026-04-09 01:51:23,145 - DEBUG - VM ctest-TestBasicPolicy-27302069-71184335 is ready for SSH connections 2026-04-09 01:51:23,145 - INFO - Waiting for VM ctest-TestBasicPolicy-27302069-20674046 to be up.. 2026-04-09 01:51:23,284 - DEBUG - VM is in ACTIVE state now 2026-04-09 01:51:23,284 - INFO - VM name : ctest-TestBasicPolicy-27302069-20674046 2026-04-09 01:51:23,428 - DEBUG - VM ctest-TestBasicPolicy-27302069-20674046 ID is 70feacca-c996-4462-9be5-e1329d3bc28f 2026-04-09 01:51:23,428 - DEBUG - VM ctest-TestBasicPolicy-27302069-20674046 launched on Node cn-jenkins-deploy-platform-juju-os-692-1 2026-04-09 01:51:23,568 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine/70feacca-c996-4462-9be5-e1329d3bc28f 2026-04-09 01:51:23,624 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine-interface/219adb6a-2eb8-4a20-ac9c-d42130901449 2026-04-09 01:51:25,082 - 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.68 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.421 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.421/2.050/3.679/1.629 ms') 2026-04-09 01:51:25,082 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-27302069-20674046 passed 2026-04-09 01:51:25,239 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-09 01:51:25,239 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-27302069-20674046, IP 165.60.145.67, Port 22 2026-04-09 01:51:25,453 - DEBUG - VM ctest-TestBasicPolicy-27302069-20674046 is ready for SSH connections 2026-04-09 01:51:25,453 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-09 01:51:25,454 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 165.60.145.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2026-04-09 01:51:25,454 - DEBUG - ping -s 56 -c 3 -W 1 165.60.145.67 2026-04-09 01:51:29,184 - DEBUG - PING 165.60.145.67 (165.60.145.67): 56 data bytes 64 bytes from 165.60.145.67: seq=0 ttl=63 time=4.131 ms 64 bytes from 165.60.145.67: seq=1 ttl=63 time=1.398 ms 64 bytes from 165.60.145.67: seq=2 ttl=63 time=1.102 ms --- 165.60.145.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.102/2.210/4.131 ms 2026-04-09 01:51:29,184 - INFO - Ping to IP 165.60.145.67 from VM ctest-TestBasicPolicy-27302069-71184335 passed 2026-04-09 01:51:29,399 - DEBUG - Policy Update Response {"network-policy": {"uuid": "3be568ef-270c-45db-a872-708d47ac4e9c", "href": "https://10.0.0.129:8082/network-policy/3be568ef-270c-45db-a872-708d47ac4e9c"}} 2026-04-09 01:51:29,399 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-09 01:51:29,399 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 165.60.145.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2026-04-09 01:51:29,399 - DEBUG - ping -s 56 -c 3 -W 1 165.60.145.67 2026-04-09 01:51:32,614 - DEBUG - PING 165.60.145.67 (165.60.145.67): 56 data bytes 64 bytes from 165.60.145.67: seq=0 ttl=63 time=1.824 ms --- 165.60.145.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.824/1.824/1.824 ms 2026-04-09 01:51:32,615 - WARNING - Ping to IP 165.60.145.67 from VM ctest-TestBasicPolicy-27302069-71184335 failed 2026-04-09 01:51:32,615 - INFO - Deleting VM ctest-TestBasicPolicy-27302069-20674046 2026-04-09 01:51:32,734 - INFO - Deleting VM ctest-TestBasicPolicy-27302069-71184335 2026-04-09 01:51:33,461 - INFO - Deleted policy ctest-policy-allow-all-12436023 2026-04-09 01:51:33,462 - INFO - Deleting VN ctest-vn-43622427 2026-04-09 01:51:33,615 - DEBUG - VN f72fe0ac-dfaf-4771-9dd6-a4441043674b still in use: Unable to complete operation on network f72fe0ac-dfaf-4771-9dd6-a4441043674b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d92ef022-2f69-4096-b8f5-9ee6a74fde87'] 2026-04-09 01:51:33,615 - WARNING - Deleting VN ctest-vn-43622427 failed..Will retry 2026-04-09 01:51:35,808 - DEBUG - Response for deleting network () 2026-04-09 01:51:35,808 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/81e80abe-44f5-42e7-b46b-52de9dd1ab8b 2026-04-09 01:51:35,867 - DEBUG - Response Code: 404 2026-04-09 01:51:35,867 - DEBUG - Requesting: https://10.0.0.129:8082/domains 2026-04-09 01:51:35,920 - DEBUG - Requesting: https://10.0.0.129:8082/domain/549f21b8-1b18-436e-a6d1-a3af077f9f73 2026-04-09 01:51:35,981 - DEBUG - Requesting: https://10.0.0.129:8082/project/8694a18e-fba7-4db6-9458-262a49597af3 2026-04-09 01:51:36,080 - INFO - Validated that VN ctest-vn-43622427 is not found in API Server 2026-04-09 01:51:36,188 - DEBUG - VN ctest-vn-43622427 is not present in Agent 10.0.0.129 2026-04-09 01:51:36,188 - INFO - Validated that VN ctest-vn-43622427 is not in any agent 2026-04-09 01:51:36,344 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-43622427 info 2026-04-09 01:51:36,344 - INFO - Deleting VN ctest-vn-58334852 2026-04-09 01:51:36,531 - DEBUG - Response for deleting network () 2026-04-09 01:51:36,531 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/a5487427-f579-4805-9dab-f2e36a535de9 2026-04-09 01:51:36,583 - DEBUG - Response Code: 404 2026-04-09 01:51:36,583 - DEBUG - Requesting: https://10.0.0.129:8082/domains 2026-04-09 01:51:36,639 - DEBUG - Requesting: https://10.0.0.129:8082/domain/549f21b8-1b18-436e-a6d1-a3af077f9f73 2026-04-09 01:51:36,708 - DEBUG - Requesting: https://10.0.0.129:8082/project/8694a18e-fba7-4db6-9458-262a49597af3 2026-04-09 01:51:36,792 - INFO - Validated that VN ctest-vn-58334852 is not found in API Server 2026-04-09 01:51:37,005 - DEBUG - VN ctest-vn-58334852 is not present in Agent 10.0.0.129 2026-04-09 01:51:37,005 - INFO - Validated that VN ctest-vn-58334852 is not in any agent 2026-04-09 01:51:37,164 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-58334852 info 2026-04-09 01:51:37,573 - DEBUG - No XMPP flaps were noticed during the test
2026-04-09 01:51:37,573 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:42]
2026-04-09 01:51:37,574 - INFO - -------------------------------------------------------------------------------- 2026-04-09 01:51:38,358 - INFO - Deleted project: ctest-TestBasicPolicy-27302069, ID : 8694a18e-fba7-4db6-9458-262a49597af3