2026-01-26 16:55:48,865 - INFO - Domain Default found not creating 2026-01-26 16:55:49,052 - INFO - Project ctest-TestBasicPolicy-80365625 not found, creating it 2026-01-26 16:55:49,515 - INFO - Created Project:ctest-TestBasicPolicy-80365625, ID : a50c6509-9262-4ac8-85d9-4588ecc3e071 2026-01-26 16:55:51,122 - INFO - ================================================================================ 2026-01-26 16:55:51,122 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-26 16:55:51,122 - 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-01-26 16:55:51,383 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with 2026-01-26 16:55:51,383 - INFO - Initial checks done. Running the testcase now 2026-01-26 16:55:51,384 - INFO - 2026-01-26 16:55:51,966 - DEBUG - Response for create_network : {'network': {'id': '04c27ab6-dc4a-4394-a050-d2d6e0132077', 'name': 'ctest-vn-56912237', 'tenant_id': 'a50c650992624ac885d94588ecc3e071', 'project_id': 'a50c650992624ac885d94588ecc3e071', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80365625', 'ctest-vn-56912237'], 'port_security_enabled': True, 'description': ''}} 2026-01-26 16:55:52,173 - DEBUG - Response for create_subnet : {'subnet': {'id': '33f61142-83d5-4c05-b36a-35009f53840b', 'name': '', 'tenant_id': 'a50c650992624ac885d94588ecc3e071', 'network_id': '04c27ab6-dc4a-4394-a050-d2d6e0132077', 'ip_version': 4, 'cidr': '38.35.91.64/26', 'allocation_pools': [{'start': '38.35.91.66', 'end': '38.35.91.126'}], 'gateway_ip': '38.35.91.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '38.35.91.66', 'tags': [], 'project_id': 'a50c650992624ac885d94588ecc3e071'}} 2026-01-26 16:55:52,190 - INFO - Created VN ctest-vn-56912237 2026-01-26 16:55:52,241 - DEBUG - VN ctest-vn-56912237 UUID is 04c27ab6-dc4a-4394-a050-d2d6e0132077 2026-01-26 16:55:52,577 - DEBUG - Response for create_network : {'network': {'id': '259435b2-ff07-4eb7-8fe4-bc55a0c151c7', 'name': 'ctest-vn-03390526', 'tenant_id': 'a50c650992624ac885d94588ecc3e071', 'project_id': 'a50c650992624ac885d94588ecc3e071', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80365625', 'ctest-vn-03390526'], 'port_security_enabled': True, 'description': ''}} 2026-01-26 16:55:52,773 - DEBUG - Response for create_subnet : {'subnet': {'id': '6f9f8c95-1988-4e7b-a4bd-04648736d168', 'name': '', 'tenant_id': 'a50c650992624ac885d94588ecc3e071', 'network_id': '259435b2-ff07-4eb7-8fe4-bc55a0c151c7', 'ip_version': 4, 'cidr': '9.104.25.64/26', 'allocation_pools': [{'start': '9.104.25.66', 'end': '9.104.25.126'}], 'gateway_ip': '9.104.25.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '9.104.25.66', 'tags': [], 'project_id': 'a50c650992624ac885d94588ecc3e071'}} 2026-01-26 16:55:52,792 - INFO - Created VN ctest-vn-03390526 2026-01-26 16:55:52,845 - DEBUG - VN ctest-vn-03390526 UUID is 259435b2-ff07-4eb7-8fe4-bc55a0c151c7 2026-01-26 16:55:52,997 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-80365625:ctest-vn-56912237, 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-80365625:ctest-vn-03390526, 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-01-26 16:55:53,290 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '04c27ab6-dc4a-4394-a050-d2d6e0132077', 'name': 'ctest-vn-56912237', 'tenant_id': 'a50c650992624ac885d94588ecc3e071', 'project_id': 'a50c650992624ac885d94588ecc3e071', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['33f61142-83d5-4c05-b36a-35009f53840b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80365625', 'ctest-vn-56912237'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-80365625', 'ctest-policy-allow-all-40235147']], 'subnet_ipam': [{'subnet_cidr': '38.35.91.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-26 16:55:53,574 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '259435b2-ff07-4eb7-8fe4-bc55a0c151c7', 'name': 'ctest-vn-03390526', 'tenant_id': 'a50c650992624ac885d94588ecc3e071', 'project_id': 'a50c650992624ac885d94588ecc3e071', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6f9f8c95-1988-4e7b-a4bd-04648736d168'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80365625', 'ctest-vn-03390526'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-80365625', 'ctest-policy-allow-all-40235147']], 'subnet_ipam': [{'subnet_cidr': '9.104.25.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-26 16:55:53,717 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-01-26 16:55:54,056 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-01-26 16:55:54,089 - DEBUG - Requesting: http://10.0.0.242:8082/domain/88faa671-3e7b-47f7-9762-2ccccea6f09f 2026-01-26 16:55:54,101 - DEBUG - Requesting: http://10.0.0.242:8082/project/a50c6509-9262-4ac8-85d9-4588ecc3e071 2026-01-26 16:55:54,176 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/04c27ab6-dc4a-4394-a050-d2d6e0132077 2026-01-26 16:55:54,186 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/04c27ab6-dc4a-4394-a050-d2d6e0132077 2026-01-26 16:55:54,196 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/699f89b6-06c7-4128-8663-3fc31050d84a 2026-01-26 16:55:54,203 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/699f89b6-06c7-4128-8663-3fc31050d84a 2026-01-26 16:55:54,210 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/6ac2f9af-fbe2-4784-a0a2-f84c820dad88 2026-01-26 16:55:54,216 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-26 16:55:54,216 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/04c27ab6-dc4a-4394-a050-d2d6e0132077 2026-01-26 16:55:54,225 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/699f89b6-06c7-4128-8663-3fc31050d84a 2026-01-26 16:55:54,239 - INFO - Verified VN network id 11 for VN 04c27ab6-dc4a-4394-a050-d2d6e0132077 2026-01-26 16:55:54,239 - INFO - Verifications in API Server for VN ctest-vn-56912237 passed 2026-01-26 16:55:54,239 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/04c27ab6-dc4a-4394-a050-d2d6e0132077 2026-01-26 16:55:54,250 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/699f89b6-06c7-4128-8663-3fc31050d84a 2026-01-26 16:55:54,258 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/699f89b6-06c7-4128-8663-3fc31050d84a 2026-01-26 16:55:54,266 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/6ac2f9af-fbe2-4784-a0a2-f84c820dad88 2026-01-26 16:55:54,279 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-80365625:ctest-vn-56912237', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-80365625', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '342971447432070036', 'uuid-lslong': '11551964864529506423'}, 'enable': 'true', 'created': '2026-01-26T16:55:51', 'last-modified': '2026-01-26T16:55:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.014052'} 2026-01-26 16:55:54,285 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-26 16:55:54,285 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-56912237 passed 2026-01-26 16:55:54,285 - DEBUG - ====Verifying policy data for ctest-vn-56912237 in API_Server ====== 2026-01-26 16:55:54,285 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-01-26 16:55:54,291 - DEBUG - Requesting: http://10.0.0.242:8082/domain/88faa671-3e7b-47f7-9762-2ccccea6f09f 2026-01-26 16:55:54,305 - DEBUG - Requesting: http://10.0.0.242:8082/project/a50c6509-9262-4ac8-85d9-4588ecc3e071 2026-01-26 16:55:54,375 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/04c27ab6-dc4a-4394-a050-d2d6e0132077 2026-01-26 16:55:54,385 - DEBUG - ==>Verifying data for policy with id: 983175f1-f300-41c5-aa4b-3736971a7fcc, fqn: ['default-domain', 'ctest-TestBasicPolicy-80365625', 'ctest-policy-allow-all-40235147'] 2026-01-26 16:55:54,385 - INFO - VN ctest-vn-56912237 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-26 16:55:54,385 - DEBUG - Verifying the vn in opserver 2026-01-26 16:55:54,385 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-80365625:ctest-vn-56912237 virtual network link through opserver 10.0.0.242 2026-01-26 16:55:54,385 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-01-26 16:55:54,723 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-01-26 16:55:54,793 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-80365625:ctest-vn-56912237', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-80365625:ctest-vn-56912237?flat'} 2026-01-26 16:55:54,793 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-80365625:ctest-vn-56912237 is found in opserver 2026-01-26 16:55:54,802 - DEBUG - Do not have enough data to verify VN in agent 2026-01-26 16:55:54,806 - DEBUG - VRF ids for VN ctest-vn-56912237: {} 2026-01-26 16:55:54,807 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-01-26 16:55:54,812 - DEBUG - Requesting: http://10.0.0.242:8082/domain/88faa671-3e7b-47f7-9762-2ccccea6f09f 2026-01-26 16:55:54,822 - DEBUG - Requesting: http://10.0.0.242:8082/project/a50c6509-9262-4ac8-85d9-4588ecc3e071 2026-01-26 16:55:54,895 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/259435b2-ff07-4eb7-8fe4-bc55a0c151c7 2026-01-26 16:55:54,914 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/259435b2-ff07-4eb7-8fe4-bc55a0c151c7 2026-01-26 16:55:54,924 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/e78b3a3a-b5c5-4c37-9810-3166aedf398e 2026-01-26 16:55:54,931 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/e78b3a3a-b5c5-4c37-9810-3166aedf398e 2026-01-26 16:55:54,938 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/fce750c6-7775-4d6e-bf27-a8eac35301f6 2026-01-26 16:55:54,944 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-26 16:55:54,944 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/259435b2-ff07-4eb7-8fe4-bc55a0c151c7 2026-01-26 16:55:54,952 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/e78b3a3a-b5c5-4c37-9810-3166aedf398e 2026-01-26 16:55:54,964 - INFO - Verified VN network id 12 for VN 259435b2-ff07-4eb7-8fe4-bc55a0c151c7 2026-01-26 16:55:54,964 - INFO - Verifications in API Server for VN ctest-vn-03390526 passed 2026-01-26 16:55:54,964 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/259435b2-ff07-4eb7-8fe4-bc55a0c151c7 2026-01-26 16:55:54,972 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/e78b3a3a-b5c5-4c37-9810-3166aedf398e 2026-01-26 16:55:54,978 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/e78b3a3a-b5c5-4c37-9810-3166aedf398e 2026-01-26 16:55:54,984 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/fce750c6-7775-4d6e-bf27-a8eac35301f6 2026-01-26 16:55:54,995 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-80365625:ctest-vn-03390526', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-80365625', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2707848318855630519', 'uuid-lslong': '10368619318068990407'}, 'enable': 'true', 'created': '2026-01-26T16:55:52', 'last-modified': '2026-01-26T16:55:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.492206'} 2026-01-26 16:55:55,001 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-26 16:55:55,001 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-03390526 passed 2026-01-26 16:55:55,001 - DEBUG - ====Verifying policy data for ctest-vn-03390526 in API_Server ====== 2026-01-26 16:55:55,001 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-01-26 16:55:55,007 - DEBUG - Requesting: http://10.0.0.242:8082/domain/88faa671-3e7b-47f7-9762-2ccccea6f09f 2026-01-26 16:55:55,017 - DEBUG - Requesting: http://10.0.0.242:8082/project/a50c6509-9262-4ac8-85d9-4588ecc3e071 2026-01-26 16:55:55,084 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/259435b2-ff07-4eb7-8fe4-bc55a0c151c7 2026-01-26 16:55:55,093 - DEBUG - ==>Verifying data for policy with id: 983175f1-f300-41c5-aa4b-3736971a7fcc, fqn: ['default-domain', 'ctest-TestBasicPolicy-80365625', 'ctest-policy-allow-all-40235147'] 2026-01-26 16:55:55,093 - INFO - VN ctest-vn-03390526 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-26 16:55:55,093 - DEBUG - Verifying the vn in opserver 2026-01-26 16:55:55,093 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-80365625:ctest-vn-03390526 virtual network link through opserver 10.0.0.242 2026-01-26 16:55:55,093 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-01-26 16:55:55,103 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-80365625:ctest-vn-03390526', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-80365625:ctest-vn-03390526?flat'} 2026-01-26 16:55:55,103 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-80365625:ctest-vn-03390526 is found in opserver 2026-01-26 16:55:55,113 - DEBUG - Do not have enough data to verify VN in agent 2026-01-26 16:55:55,117 - DEBUG - VRF ids for VN ctest-vn-03390526: {} 2026-01-26 16:55:55,173 - DEBUG - Services list from nova: [, , ] 2026-01-26 16:55:56,274 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5083-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5083-1) 2026-01-26 16:55:57,503 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5083-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5083-1) 2026-01-26 16:55:57,504 - INFO - Waiting for VM ctest-TestBasicPolicy-80365625-49260894 to be up.. 2026-01-26 16:55:57,583 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-26 16:56:02,665 - DEBUG - VM is in ACTIVE state now 2026-01-26 16:56:02,666 - INFO - VM name : ctest-TestBasicPolicy-80365625-49260894 2026-01-26 16:56:02,741 - DEBUG - VM ctest-TestBasicPolicy-80365625-49260894 ID is 4c9d3cf1-01c5-42b2-9b2a-0acf47521c42 2026-01-26 16:56:02,761 - DEBUG - VM ctest-TestBasicPolicy-80365625-49260894 launched on Node cn-jenkins-deploy-platform-ansible-os-5083-1 2026-01-26 16:56:02,835 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/4c9d3cf1-01c5-42b2-9b2a-0acf47521c42 2026-01-26 16:56:02,843 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/1707a1f2-5a60-4851-a00c-b6b5d1c8c4bc 2026-01-26 16:56:06,107 - 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 1027ms') 2026-01-26 16:56:06,107 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-80365625-49260894 failed! 2026-01-26 16:56:06,161 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-80365625:ctest-vn-56912237 is 38.35.91.65 and allocation pool is NOT set 2026-01-26 16:56:08,232 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=15.3 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.73 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.734/8.535/15.336/6.801 ms') 2026-01-26 16:56:08,233 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-80365625-49260894 passed 2026-01-26 16:56:08,389 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-26 16:56:08,389 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-80365625-49260894, IP 38.35.91.67, Port 22 2026-01-26 16:56:08,456 - 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-01-26 16:56:08,544 - DEBUG - VM ctest-TestBasicPolicy-80365625-49260894 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-26 16:56:13,545 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-26 16:56:13,545 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-80365625-49260894, IP 38.35.91.67, Port 22 2026-01-26 16:56:13,709 - DEBUG - VM ctest-TestBasicPolicy-80365625-49260894 is ready for SSH connections 2026-01-26 16:56:13,709 - INFO - Waiting for VM ctest-TestBasicPolicy-80365625-71410991 to be up.. 2026-01-26 16:56:13,794 - DEBUG - VM is in ACTIVE state now 2026-01-26 16:56:13,794 - INFO - VM name : ctest-TestBasicPolicy-80365625-71410991 2026-01-26 16:56:13,883 - DEBUG - VM ctest-TestBasicPolicy-80365625-71410991 ID is 74750863-6dde-4906-b20a-5b4b4f82cdc1 2026-01-26 16:56:13,883 - DEBUG - VM ctest-TestBasicPolicy-80365625-71410991 launched on Node cn-jenkins-deploy-platform-ansible-os-5083-1 2026-01-26 16:56:13,963 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/74750863-6dde-4906-b20a-5b4b4f82cdc1 2026-01-26 16:56:13,972 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/190c32a3-61c1-425c-a050-776646369f94 2026-01-26 16:56:15,212 - 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.08 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.411 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.411/1.746/3.081/1.335 ms') 2026-01-26 16:56:15,212 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-80365625-71410991 passed 2026-01-26 16:56:15,361 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-26 16:56:15,361 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-80365625-71410991, IP 9.104.25.67, Port 22 2026-01-26 16:56:15,517 - DEBUG - VM ctest-TestBasicPolicy-80365625-71410991 is ready for SSH connections 2026-01-26 16:56:15,518 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-26 16:56:15,518 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 9.104.25.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-01-26 16:56:15,518 - DEBUG - ping -s 56 -c 3 -W 1 9.104.25.67 2026-01-26 16:56:19,634 - DEBUG - PING 9.104.25.67 (9.104.25.67): 56 data bytes 64 bytes from 9.104.25.67: seq=0 ttl=63 time=4.242 ms 64 bytes from 9.104.25.67: seq=1 ttl=63 time=1.056 ms 64 bytes from 9.104.25.67: seq=2 ttl=63 time=1.027 ms --- 9.104.25.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.027/2.108/4.242 ms 2026-01-26 16:56:19,634 - INFO - Ping to IP 9.104.25.67 from VM ctest-TestBasicPolicy-80365625-49260894 passed 2026-01-26 16:56:19,825 - DEBUG - Policy Update Response {"network-policy": {"uuid": "983175f1-f300-41c5-aa4b-3736971a7fcc", "href": "http://10.0.0.242:8082/network-policy/983175f1-f300-41c5-aa4b-3736971a7fcc"}} 2026-01-26 16:56:19,825 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-26 16:56:19,825 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 9.104.25.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-01-26 16:56:19,825 - DEBUG - ping -s 56 -c 3 -W 1 9.104.25.67 2026-01-26 16:56:23,055 - DEBUG - PING 9.104.25.67 (9.104.25.67): 56 data bytes --- 9.104.25.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-26 16:56:23,055 - WARNING - Ping to IP 9.104.25.67 from VM ctest-TestBasicPolicy-80365625-49260894 failed 2026-01-26 16:56:23,055 - INFO - Deleting VM ctest-TestBasicPolicy-80365625-71410991 2026-01-26 16:56:23,134 - INFO - Deleting VM ctest-TestBasicPolicy-80365625-49260894 2026-01-26 16:56:23,550 - INFO - Deleted policy ctest-policy-allow-all-40235147 2026-01-26 16:56:23,550 - INFO - Deleting VN ctest-vn-03390526 2026-01-26 16:56:23,603 - DEBUG - VN 259435b2-ff07-4eb7-8fe4-bc55a0c151c7 still in use: Unable to complete operation on network 259435b2-ff07-4eb7-8fe4-bc55a0c151c7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8142fd9f-0d54-4ff2-81e2-7240ceb22f43'] 2026-01-26 16:56:23,603 - WARNING - Deleting VN ctest-vn-03390526 failed..Will retry 2026-01-26 16:56:25,715 - DEBUG - Response for deleting network () 2026-01-26 16:56:25,715 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/e78b3a3a-b5c5-4c37-9810-3166aedf398e 2026-01-26 16:56:25,720 - DEBUG - Response Code: 404 2026-01-26 16:56:25,721 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-01-26 16:56:25,726 - DEBUG - Requesting: http://10.0.0.242:8082/domain/88faa671-3e7b-47f7-9762-2ccccea6f09f 2026-01-26 16:56:25,780 - DEBUG - Requesting: http://10.0.0.242:8082/project/a50c6509-9262-4ac8-85d9-4588ecc3e071 2026-01-26 16:56:25,855 - INFO - Validated that VN ctest-vn-03390526 is not found in API Server 2026-01-26 16:56:25,865 - DEBUG - VN ctest-vn-03390526 is not present in Agent 10.0.0.242 2026-01-26 16:56:25,866 - INFO - Validated that VN ctest-vn-03390526 is not in any agent 2026-01-26 16:56:25,880 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-03390526 info 2026-01-26 16:56:25,880 - INFO - Deleting VN ctest-vn-56912237 2026-01-26 16:56:25,988 - DEBUG - Response for deleting network () 2026-01-26 16:56:25,988 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/699f89b6-06c7-4128-8663-3fc31050d84a 2026-01-26 16:56:25,994 - DEBUG - Response Code: 404 2026-01-26 16:56:25,994 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-01-26 16:56:26,000 - DEBUG - Requesting: http://10.0.0.242:8082/domain/88faa671-3e7b-47f7-9762-2ccccea6f09f 2026-01-26 16:56:26,055 - DEBUG - Requesting: http://10.0.0.242:8082/project/a50c6509-9262-4ac8-85d9-4588ecc3e071 2026-01-26 16:56:26,129 - INFO - Validated that VN ctest-vn-56912237 is not found in API Server 2026-01-26 16:56:26,138 - DEBUG - VN ctest-vn-56912237 is not present in Agent 10.0.0.242 2026-01-26 16:56:26,138 - INFO - Validated that VN ctest-vn-56912237 is not in any agent 2026-01-26 16:56:26,151 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-56912237 info 2026-01-26 16:56:26,415 - DEBUG - No XMPP flaps were noticed during the test 2026-01-26 16:56:26,415 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2026-01-26 16:56:26,415 - INFO - -------------------------------------------------------------------------------- 2026-01-26 16:56:27,148 - INFO - Deleted project: ctest-TestBasicPolicy-80365625, ID : a50c6509-9262-4ac8-85d9-4588ecc3e071