2026-08-25 08:25:02,859 - INFO - Domain Default found not creating 2026-08-25 08:25:03,051 - INFO - Project ctest-TestBasicPolicy-48783380 not found, creating it 2026-08-25 08:25:03,533 - INFO - Created Project:ctest-TestBasicPolicy-48783380, ID : c4d90d19-cd8b-4b9d-ba7a-6f90b664bf04 2026-08-25 08:25:05,144 - INFO - ================================================================================ 2026-08-25 08:25:05,144 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-08-25 08:25:05,144 - 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-08-25 08:25:05,416 - DEBUG - Nothing to compare xmpp stats {'10.0.0.177': {'10.20.0.14': '0'}} with 2026-08-25 08:25:05,416 - INFO - Initial checks done. Running the testcase now 2026-08-25 08:25:05,416 - INFO - 2026-08-25 08:25:06,033 - DEBUG - Response for create_network : {'network': {'id': '76634054-1948-4466-8045-889b002d41d5', 'name': 'ctest-vn-68098341', 'tenant_id': 'c4d90d19cd8b4b9dba7a6f90b664bf04', 'project_id': 'c4d90d19cd8b4b9dba7a6f90b664bf04', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48783380', 'ctest-vn-68098341'], 'port_security_enabled': True, 'description': ''}} 2026-08-25 08:25:06,217 - DEBUG - Response for create_subnet : {'subnet': {'id': '80bf18e8-85fe-4f28-9da8-e4c6b758ec13', 'name': '', 'tenant_id': 'c4d90d19cd8b4b9dba7a6f90b664bf04', 'network_id': '76634054-1948-4466-8045-889b002d41d5', 'ip_version': 4, 'cidr': '143.161.101.64/26', 'allocation_pools': [{'start': '143.161.101.66', 'end': '143.161.101.126'}], 'gateway_ip': '143.161.101.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '143.161.101.66', 'tags': [], 'project_id': 'c4d90d19cd8b4b9dba7a6f90b664bf04'}} 2026-08-25 08:25:06,235 - INFO - Created VN ctest-vn-68098341 2026-08-25 08:25:06,291 - DEBUG - VN ctest-vn-68098341 UUID is 76634054-1948-4466-8045-889b002d41d5 2026-08-25 08:25:06,595 - DEBUG - Response for create_network : {'network': {'id': 'a713d223-4d8a-4631-a3ca-d27bc17d6310', 'name': 'ctest-vn-61385217', 'tenant_id': 'c4d90d19cd8b4b9dba7a6f90b664bf04', 'project_id': 'c4d90d19cd8b4b9dba7a6f90b664bf04', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48783380', 'ctest-vn-61385217'], 'port_security_enabled': True, 'description': ''}} 2026-08-25 08:25:06,778 - DEBUG - Response for create_subnet : {'subnet': {'id': '169ded63-0910-4d04-b89e-3bbfdd09e681', 'name': '', 'tenant_id': 'c4d90d19cd8b4b9dba7a6f90b664bf04', 'network_id': 'a713d223-4d8a-4631-a3ca-d27bc17d6310', 'ip_version': 4, 'cidr': '80.102.187.128/26', 'allocation_pools': [{'start': '80.102.187.130', 'end': '80.102.187.190'}], 'gateway_ip': '80.102.187.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.102.187.130', 'tags': [], 'project_id': 'c4d90d19cd8b4b9dba7a6f90b664bf04'}} 2026-08-25 08:25:06,797 - INFO - Created VN ctest-vn-61385217 2026-08-25 08:25:06,851 - DEBUG - VN ctest-vn-61385217 UUID is a713d223-4d8a-4631-a3ca-d27bc17d6310 2026-08-25 08:25:06,970 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-48783380:ctest-vn-68098341, security_group = None, network_policy = None, subnet_list = []], src_ports = [start_port = -1, end_port = -1], application = [], dst_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-48783380:ctest-vn-61385217, 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-08-25 08:25:07,282 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '76634054-1948-4466-8045-889b002d41d5', 'name': 'ctest-vn-68098341', 'tenant_id': 'c4d90d19cd8b4b9dba7a6f90b664bf04', 'project_id': 'c4d90d19cd8b4b9dba7a6f90b664bf04', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['80bf18e8-85fe-4f28-9da8-e4c6b758ec13'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48783380', 'ctest-vn-68098341'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-48783380', 'ctest-policy-allow-all-71940675']], 'subnet_ipam': [{'subnet_cidr': '143.161.101.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-25 08:25:07,515 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a713d223-4d8a-4631-a3ca-d27bc17d6310', 'name': 'ctest-vn-61385217', 'tenant_id': 'c4d90d19cd8b4b9dba7a6f90b664bf04', 'project_id': 'c4d90d19cd8b4b9dba7a6f90b664bf04', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['169ded63-0910-4d04-b89e-3bbfdd09e681'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48783380', 'ctest-vn-61385217'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-48783380', 'ctest-policy-allow-all-71940675']], 'subnet_ipam': [{'subnet_cidr': '80.102.187.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-25 08:25:07,691 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-08-25 08:25:08,021 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-08-25 08:25:08,050 - DEBUG - Requesting: http://10.0.0.177:8082/domain/90de20b4-731c-43b9-a090-22a2067e821d 2026-08-25 08:25:08,063 - DEBUG - Requesting: http://10.0.0.177:8082/project/c4d90d19-cd8b-4b9d-ba7a-6f90b664bf04 2026-08-25 08:25:08,140 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/76634054-1948-4466-8045-889b002d41d5 2026-08-25 08:25:08,152 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/76634054-1948-4466-8045-889b002d41d5 2026-08-25 08:25:08,160 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/e76871b7-2487-4bc6-b480-6ba4c1b77707 2026-08-25 08:25:08,167 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/e76871b7-2487-4bc6-b480-6ba4c1b77707 2026-08-25 08:25:08,175 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/9774628c-9005-447c-89e6-322aaddbbde9 2026-08-25 08:25:08,181 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-25 08:25:08,181 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/76634054-1948-4466-8045-889b002d41d5 2026-08-25 08:25:08,190 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/e76871b7-2487-4bc6-b480-6ba4c1b77707 2026-08-25 08:25:08,205 - INFO - Verified VN network id 12 for VN 76634054-1948-4466-8045-889b002d41d5 2026-08-25 08:25:08,205 - INFO - Verifications in API Server for VN ctest-vn-68098341 passed 2026-08-25 08:25:08,205 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/76634054-1948-4466-8045-889b002d41d5 2026-08-25 08:25:08,216 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/e76871b7-2487-4bc6-b480-6ba4c1b77707 2026-08-25 08:25:08,224 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/e76871b7-2487-4bc6-b480-6ba4c1b77707 2026-08-25 08:25:08,233 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/9774628c-9005-447c-89e6-322aaddbbde9 2026-08-25 08:25:08,248 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48783380:ctest-vn-68098341', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48783380', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8530732849115448422', 'uuid-lslong': '9242944009552085461'}, 'enable': 'true', 'created': '2026-08-25T08:25:05', 'last-modified': '2026-08-25T08:25:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.979948'} 2026-08-25 08:25:08,257 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-25 08:25:08,257 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-68098341 passed 2026-08-25 08:25:08,257 - DEBUG - ====Verifying policy data for ctest-vn-68098341 in API_Server ====== 2026-08-25 08:25:08,257 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-08-25 08:25:08,263 - DEBUG - Requesting: http://10.0.0.177:8082/domain/90de20b4-731c-43b9-a090-22a2067e821d 2026-08-25 08:25:08,274 - DEBUG - Requesting: http://10.0.0.177:8082/project/c4d90d19-cd8b-4b9d-ba7a-6f90b664bf04 2026-08-25 08:25:08,358 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/76634054-1948-4466-8045-889b002d41d5 2026-08-25 08:25:08,369 - DEBUG - ==>Verifying data for policy with id: 551b007e-cfce-43d2-a570-6e90adff5694, fqn: ['default-domain', 'ctest-TestBasicPolicy-48783380', 'ctest-policy-allow-all-71940675'] 2026-08-25 08:25:08,369 - INFO - VN ctest-vn-68098341 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-25 08:25:08,369 - DEBUG - Verifying the vn in opserver 2026-08-25 08:25:08,369 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48783380:ctest-vn-68098341 virtual network link through opserver 10.0.0.177 2026-08-25 08:25:08,370 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks 2026-08-25 08:25:08,708 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks 2026-08-25 08:25:08,771 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48783380:ctest-vn-68098341', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48783380:ctest-vn-68098341?flat'} 2026-08-25 08:25:08,771 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-48783380:ctest-vn-68098341 is found in opserver 2026-08-25 08:25:08,783 - DEBUG - Do not have enough data to verify VN in agent 2026-08-25 08:25:08,788 - DEBUG - VRF ids for VN ctest-vn-68098341: {} 2026-08-25 08:25:08,789 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-08-25 08:25:08,795 - DEBUG - Requesting: http://10.0.0.177:8082/domain/90de20b4-731c-43b9-a090-22a2067e821d 2026-08-25 08:25:08,807 - DEBUG - Requesting: http://10.0.0.177:8082/project/c4d90d19-cd8b-4b9d-ba7a-6f90b664bf04 2026-08-25 08:25:08,883 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/a713d223-4d8a-4631-a3ca-d27bc17d6310 2026-08-25 08:25:08,895 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/a713d223-4d8a-4631-a3ca-d27bc17d6310 2026-08-25 08:25:08,904 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/0b387f93-597a-4513-b2b1-dbe806752346 2026-08-25 08:25:08,912 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/0b387f93-597a-4513-b2b1-dbe806752346 2026-08-25 08:25:08,920 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/cb9c3df9-a684-4d3a-9a2e-30438c17341f 2026-08-25 08:25:08,927 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-08-25 08:25:08,927 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/a713d223-4d8a-4631-a3ca-d27bc17d6310 2026-08-25 08:25:08,937 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/0b387f93-597a-4513-b2b1-dbe806752346 2026-08-25 08:25:08,953 - INFO - Verified VN network id 13 for VN a713d223-4d8a-4631-a3ca-d27bc17d6310 2026-08-25 08:25:08,953 - INFO - Verifications in API Server for VN ctest-vn-61385217 passed 2026-08-25 08:25:08,953 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/a713d223-4d8a-4631-a3ca-d27bc17d6310 2026-08-25 08:25:08,964 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/0b387f93-597a-4513-b2b1-dbe806752346 2026-08-25 08:25:08,971 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/0b387f93-597a-4513-b2b1-dbe806752346 2026-08-25 08:25:08,980 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/cb9c3df9-a684-4d3a-9a2e-30438c17341f 2026-08-25 08:25:08,994 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48783380:ctest-vn-61385217', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48783380', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12039197277958063665', 'uuid-lslong': '11802477202446836496'}, 'enable': 'true', 'created': '2026-08-25T08:25:06', 'last-modified': '2026-08-25T08:25:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.501528'} 2026-08-25 08:25:09,001 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-08-25 08:25:09,002 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-61385217 passed 2026-08-25 08:25:09,002 - DEBUG - ====Verifying policy data for ctest-vn-61385217 in API_Server ====== 2026-08-25 08:25:09,002 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-08-25 08:25:09,008 - DEBUG - Requesting: http://10.0.0.177:8082/domain/90de20b4-731c-43b9-a090-22a2067e821d 2026-08-25 08:25:09,020 - DEBUG - Requesting: http://10.0.0.177:8082/project/c4d90d19-cd8b-4b9d-ba7a-6f90b664bf04 2026-08-25 08:25:09,099 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/a713d223-4d8a-4631-a3ca-d27bc17d6310 2026-08-25 08:25:09,110 - DEBUG - ==>Verifying data for policy with id: 551b007e-cfce-43d2-a570-6e90adff5694, fqn: ['default-domain', 'ctest-TestBasicPolicy-48783380', 'ctest-policy-allow-all-71940675'] 2026-08-25 08:25:09,110 - INFO - VN ctest-vn-61385217 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-25 08:25:09,110 - DEBUG - Verifying the vn in opserver 2026-08-25 08:25:09,110 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48783380:ctest-vn-61385217 virtual network link through opserver 10.0.0.177 2026-08-25 08:25:09,110 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks 2026-08-25 08:25:09,122 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48783380:ctest-vn-61385217', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48783380:ctest-vn-61385217?flat'} 2026-08-25 08:25:09,122 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-48783380:ctest-vn-61385217 is found in opserver 2026-08-25 08:25:09,135 - DEBUG - Do not have enough data to verify VN in agent 2026-08-25 08:25:09,140 - DEBUG - VRF ids for VN ctest-vn-61385217: {} 2026-08-25 08:25:09,207 - DEBUG - Services list from nova: [, , ] 2026-08-25 08:25:09,681 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6219-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6219-1) 2026-08-25 08:25:10,077 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6219-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6219-1) 2026-08-25 08:25:10,077 - INFO - Waiting for VM ctest-TestBasicPolicy-48783380-66424071 to be up.. 2026-08-25 08:25:10,122 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 08:25:15,201 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 08:25:20,280 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 08:25:25,359 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 08:25:30,449 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 08:25:35,534 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 08:25:40,612 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 08:25:45,697 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 08:25:50,850 - DEBUG - VM is in ACTIVE state now 2026-08-25 08:25:50,850 - INFO - VM name : ctest-TestBasicPolicy-48783380-66424071 2026-08-25 08:25:50,940 - DEBUG - VM ctest-TestBasicPolicy-48783380-66424071 ID is 83ce98a2-4641-4924-b596-51deea2e3fb4 2026-08-25 08:25:50,964 - DEBUG - VM ctest-TestBasicPolicy-48783380-66424071 launched on Node cn-jenkins-deploy-platform-ansible-os-6219-1 2026-08-25 08:25:51,052 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/83ce98a2-4641-4924-b596-51deea2e3fb4 2026-08-25 08:25:51,061 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/c5d69405-a633-4e36-9bc9-b7a3a3b33cb1 2026-08-25 08:25:52,314 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=3.83 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.67 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.671/3.250/3.830/0.579 ms') 2026-08-25 08:25:52,314 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-48783380-66424071 passed 2026-08-25 08:25:52,463 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-25 08:25:52,463 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-48783380-66424071, IP 143.161.101.67, Port 22 2026-08-25 08:25:52,529 - 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-08-25 08:25:52,607 - DEBUG - VM ctest-TestBasicPolicy-48783380-66424071 is NOT ready for SSH connections, VM status: ACTIVE 2026-08-25 08:25:57,608 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-25 08:25:57,608 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-48783380-66424071, IP 143.161.101.67, Port 22 2026-08-25 08:25:57,767 - DEBUG - VM ctest-TestBasicPolicy-48783380-66424071 is ready for SSH connections 2026-08-25 08:25:57,767 - INFO - Waiting for VM ctest-TestBasicPolicy-48783380-62508907 to be up.. 2026-08-25 08:25:57,847 - DEBUG - VM is in ACTIVE state now 2026-08-25 08:25:57,847 - INFO - VM name : ctest-TestBasicPolicy-48783380-62508907 2026-08-25 08:25:57,922 - DEBUG - VM ctest-TestBasicPolicy-48783380-62508907 ID is e563b053-bb04-423a-b2c3-4906ba100fbf 2026-08-25 08:25:57,922 - DEBUG - VM ctest-TestBasicPolicy-48783380-62508907 launched on Node cn-jenkins-deploy-platform-ansible-os-6219-1 2026-08-25 08:25:58,000 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/e563b053-bb04-423a-b2c3-4906ba100fbf 2026-08-25 08:25:58,009 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/b0bbeca7-ce9a-4e04-a20c-d0a14ba5762e 2026-08-25 08:25:59,247 - 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.19 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.576 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.576/2.382/4.188/1.806 ms') 2026-08-25 08:25:59,247 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-48783380-62508907 passed 2026-08-25 08:25:59,395 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-25 08:25:59,395 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-48783380-62508907, IP 80.102.187.131, Port 22 2026-08-25 08:25:59,564 - DEBUG - VM ctest-TestBasicPolicy-48783380-62508907 is ready for SSH connections 2026-08-25 08:25:59,564 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-25 08:25:59,565 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 80.102.187.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.177, gateway password: c0ntrail123 2026-08-25 08:25:59,565 - DEBUG - ping -s 56 -c 3 -W 1 80.102.187.131 2026-08-25 08:26:03,486 - DEBUG - PING 80.102.187.131 (80.102.187.131): 56 data bytes 64 bytes from 80.102.187.131: seq=0 ttl=63 time=4.081 ms 64 bytes from 80.102.187.131: seq=1 ttl=63 time=1.244 ms 64 bytes from 80.102.187.131: seq=2 ttl=63 time=1.377 ms --- 80.102.187.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.244/2.234/4.081 ms 2026-08-25 08:26:03,487 - INFO - Ping to IP 80.102.187.131 from VM ctest-TestBasicPolicy-48783380-66424071 passed 2026-08-25 08:26:03,682 - DEBUG - Policy Update Response {"network-policy": {"uuid": "551b007e-cfce-43d2-a570-6e90adff5694", "href": "http://10.0.0.177:8082/network-policy/551b007e-cfce-43d2-a570-6e90adff5694"}} 2026-08-25 08:26:03,683 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-25 08:26:03,683 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 80.102.187.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.177, gateway password: c0ntrail123 2026-08-25 08:26:03,683 - DEBUG - ping -s 56 -c 3 -W 1 80.102.187.131 2026-08-25 08:26:06,821 - DEBUG - PING 80.102.187.131 (80.102.187.131): 56 data bytes 64 bytes from 80.102.187.131: seq=0 ttl=63 time=2.119 ms --- 80.102.187.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.119/2.119/2.119 ms 2026-08-25 08:26:06,821 - WARNING - Ping to IP 80.102.187.131 from VM ctest-TestBasicPolicy-48783380-66424071 failed 2026-08-25 08:26:06,822 - INFO - Deleting VM ctest-TestBasicPolicy-48783380-62508907 2026-08-25 08:26:06,893 - INFO - Deleting VM ctest-TestBasicPolicy-48783380-66424071 2026-08-25 08:26:07,266 - INFO - Deleted policy ctest-policy-allow-all-71940675 2026-08-25 08:26:07,267 - INFO - Deleting VN ctest-vn-61385217 2026-08-25 08:26:07,304 - DEBUG - VN a713d223-4d8a-4631-a3ca-d27bc17d6310 still in use: Unable to complete operation on network a713d223-4d8a-4631-a3ca-d27bc17d6310. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bba03efd-217d-4331-8ecc-2f085d070519'] 2026-08-25 08:26:07,304 - WARNING - Deleting VN ctest-vn-61385217 failed..Will retry 2026-08-25 08:26:09,425 - DEBUG - Response for deleting network () 2026-08-25 08:26:09,425 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/0b387f93-597a-4513-b2b1-dbe806752346 2026-08-25 08:26:09,432 - DEBUG - Response Code: 404 2026-08-25 08:26:09,433 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-08-25 08:26:09,439 - DEBUG - Requesting: http://10.0.0.177:8082/domain/90de20b4-731c-43b9-a090-22a2067e821d 2026-08-25 08:26:09,493 - DEBUG - Requesting: http://10.0.0.177:8082/project/c4d90d19-cd8b-4b9d-ba7a-6f90b664bf04 2026-08-25 08:26:09,574 - INFO - Validated that VN ctest-vn-61385217 is not found in API Server 2026-08-25 08:26:09,586 - DEBUG - VN ctest-vn-61385217 is not present in Agent 10.0.0.177 2026-08-25 08:26:09,586 - INFO - Validated that VN ctest-vn-61385217 is not in any agent 2026-08-25 08:26:09,602 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-61385217 info 2026-08-25 08:26:09,603 - INFO - Deleting VN ctest-vn-68098341 2026-08-25 08:26:09,741 - DEBUG - Response for deleting network () 2026-08-25 08:26:09,741 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/e76871b7-2487-4bc6-b480-6ba4c1b77707 2026-08-25 08:26:09,747 - DEBUG - Response Code: 404 2026-08-25 08:26:09,747 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-08-25 08:26:09,766 - DEBUG - Requesting: http://10.0.0.177:8082/domain/90de20b4-731c-43b9-a090-22a2067e821d 2026-08-25 08:26:09,820 - DEBUG - Requesting: http://10.0.0.177:8082/project/c4d90d19-cd8b-4b9d-ba7a-6f90b664bf04 2026-08-25 08:26:09,902 - INFO - Validated that VN ctest-vn-68098341 is not found in API Server 2026-08-25 08:26:09,915 - DEBUG - VN ctest-vn-68098341 is not present in Agent 10.0.0.177 2026-08-25 08:26:09,915 - INFO - Validated that VN ctest-vn-68098341 is not in any agent 2026-08-25 08:26:09,936 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-68098341 info 2026-08-25 08:26:10,204 - DEBUG - No XMPP flaps were noticed during the test
2026-08-25 08:26:10,204 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:05]
2026-08-25 08:26:10,204 - INFO - -------------------------------------------------------------------------------- 2026-08-25 08:26:10,960 - INFO - Deleted project: ctest-TestBasicPolicy-48783380, ID : c4d90d19-cd8b-4b9d-ba7a-6f90b664bf04