2026-02-09 13:03:35,993 - INFO - Domain Default found not creating 2026-02-09 13:03:36,181 - INFO - Project ctest-TestBasicPolicy-65317141 not found, creating it 2026-02-09 13:03:36,670 - INFO - Created Project:ctest-TestBasicPolicy-65317141, ID : 04d0be50-a50a-49f0-b6ec-26091be99718 2026-02-09 13:03:38,240 - INFO - ================================================================================ 2026-02-09 13:03:38,240 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-09 13:03:38,240 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2026-02-09 13:03:38,496 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.17': '0'}} with 2026-02-09 13:03:38,496 - INFO - Initial checks done. Running the testcase now 2026-02-09 13:03:38,496 - INFO - 2026-02-09 13:03:39,054 - DEBUG - Response for create_network : {'network': {'id': '0b8d354e-8d4b-4698-a64e-3290916f3de7', 'name': 'ctest-vn-76131368', 'tenant_id': '04d0be50a50a49f0b6ec26091be99718', 'project_id': '04d0be50a50a49f0b6ec26091be99718', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65317141', 'ctest-vn-76131368'], 'port_security_enabled': True, 'description': ''}} 2026-02-09 13:03:39,285 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f5edad69-2c56-4ac6-a3a5-b4a9c760a0a8', 'name': '', 'tenant_id': '04d0be50a50a49f0b6ec26091be99718', 'network_id': '0b8d354e-8d4b-4698-a64e-3290916f3de7', 'ip_version': 4, 'cidr': '155.189.222.0/26', 'allocation_pools': [{'start': '155.189.222.2', 'end': '155.189.222.62'}], 'gateway_ip': '155.189.222.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '155.189.222.2', 'tags': [], 'project_id': '04d0be50a50a49f0b6ec26091be99718'}} 2026-02-09 13:03:39,304 - INFO - Created VN ctest-vn-76131368 2026-02-09 13:03:39,358 - DEBUG - VN ctest-vn-76131368 UUID is 0b8d354e-8d4b-4698-a64e-3290916f3de7 2026-02-09 13:03:39,675 - DEBUG - Response for create_network : {'network': {'id': 'f9b1d64d-cd99-43b2-a517-fb6ba1d6ac66', 'name': 'ctest-vn-73471580', 'tenant_id': '04d0be50a50a49f0b6ec26091be99718', 'project_id': '04d0be50a50a49f0b6ec26091be99718', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65317141', 'ctest-vn-73471580'], 'port_security_enabled': True, 'description': ''}} 2026-02-09 13:03:39,883 - DEBUG - Response for create_subnet : {'subnet': {'id': '7598f258-0cba-4d86-b6c8-994753e8c6a5', 'name': '', 'tenant_id': '04d0be50a50a49f0b6ec26091be99718', 'network_id': 'f9b1d64d-cd99-43b2-a517-fb6ba1d6ac66', 'ip_version': 4, 'cidr': '156.6.121.64/26', 'allocation_pools': [{'start': '156.6.121.66', 'end': '156.6.121.126'}], 'gateway_ip': '156.6.121.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.6.121.66', 'tags': [], 'project_id': '04d0be50a50a49f0b6ec26091be99718'}} 2026-02-09 13:03:39,901 - INFO - Created VN ctest-vn-73471580 2026-02-09 13:03:39,954 - DEBUG - VN ctest-vn-73471580 UUID is f9b1d64d-cd99-43b2-a517-fb6ba1d6ac66 2026-02-09 13:03:40,069 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-65317141:ctest-vn-76131368, 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-65317141:ctest-vn-73471580, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2026-02-09 13:03:40,381 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0b8d354e-8d4b-4698-a64e-3290916f3de7', 'name': 'ctest-vn-76131368', 'tenant_id': '04d0be50a50a49f0b6ec26091be99718', 'project_id': '04d0be50a50a49f0b6ec26091be99718', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f5edad69-2c56-4ac6-a3a5-b4a9c760a0a8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65317141', 'ctest-vn-76131368'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-65317141', 'ctest-policy-allow-all-07349415']], 'subnet_ipam': [{'subnet_cidr': '155.189.222.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-09 13:03:40,612 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f9b1d64d-cd99-43b2-a517-fb6ba1d6ac66', 'name': 'ctest-vn-73471580', 'tenant_id': '04d0be50a50a49f0b6ec26091be99718', 'project_id': '04d0be50a50a49f0b6ec26091be99718', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7598f258-0cba-4d86-b6c8-994753e8c6a5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65317141', 'ctest-vn-73471580'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-65317141', 'ctest-policy-allow-all-07349415']], 'subnet_ipam': [{'subnet_cidr': '156.6.121.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-09 13:03:40,774 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-02-09 13:03:41,071 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-02-09 13:03:41,105 - DEBUG - Requesting: http://10.0.0.141:8082/domain/b8109032-be3d-42a2-8bd3-b98017a8aec0 2026-02-09 13:03:41,118 - DEBUG - Requesting: http://10.0.0.141:8082/project/04d0be50-a50a-49f0-b6ec-26091be99718 2026-02-09 13:03:41,191 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/0b8d354e-8d4b-4698-a64e-3290916f3de7 2026-02-09 13:03:41,201 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/0b8d354e-8d4b-4698-a64e-3290916f3de7 2026-02-09 13:03:41,211 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/fec6a644-62d5-4e22-889b-ae1b94b1a9a8 2026-02-09 13:03:41,219 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/fec6a644-62d5-4e22-889b-ae1b94b1a9a8 2026-02-09 13:03:41,227 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/d4d523d1-6d30-426d-b093-f70d29778732 2026-02-09 13:03:41,234 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-09 13:03:41,234 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/0b8d354e-8d4b-4698-a64e-3290916f3de7 2026-02-09 13:03:41,244 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/fec6a644-62d5-4e22-889b-ae1b94b1a9a8 2026-02-09 13:03:41,259 - INFO - Verified VN network id 11 for VN 0b8d354e-8d4b-4698-a64e-3290916f3de7 2026-02-09 13:03:41,259 - INFO - Verifications in API Server for VN ctest-vn-76131368 passed 2026-02-09 13:03:41,259 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/0b8d354e-8d4b-4698-a64e-3290916f3de7 2026-02-09 13:03:41,269 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/fec6a644-62d5-4e22-889b-ae1b94b1a9a8 2026-02-09 13:03:41,276 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/fec6a644-62d5-4e22-889b-ae1b94b1a9a8 2026-02-09 13:03:41,283 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/d4d523d1-6d30-426d-b093-f70d29778732 2026-02-09 13:03:41,296 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-65317141:ctest-vn-76131368', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-65317141', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '832380117627651736', 'uuid-lslong': '11983571254976134631'}, 'enable': 'true', 'created': '2026-02-09T13:03:39', 'last-modified': '2026-02-09T13:03:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.948341'} 2026-02-09 13:03:41,302 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-09 13:03:41,302 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-76131368 passed 2026-02-09 13:03:41,303 - DEBUG - ====Verifying policy data for ctest-vn-76131368 in API_Server ====== 2026-02-09 13:03:41,303 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-02-09 13:03:41,308 - DEBUG - Requesting: http://10.0.0.141:8082/domain/b8109032-be3d-42a2-8bd3-b98017a8aec0 2026-02-09 13:03:41,319 - DEBUG - Requesting: http://10.0.0.141:8082/project/04d0be50-a50a-49f0-b6ec-26091be99718 2026-02-09 13:03:41,392 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/0b8d354e-8d4b-4698-a64e-3290916f3de7 2026-02-09 13:03:41,402 - DEBUG - ==>Verifying data for policy with id: e98bfd3a-aef9-4344-845c-cb29f33e5436, fqn: ['default-domain', 'ctest-TestBasicPolicy-65317141', 'ctest-policy-allow-all-07349415'] 2026-02-09 13:03:41,402 - INFO - VN ctest-vn-76131368 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-09 13:03:41,402 - DEBUG - Verifying the vn in opserver 2026-02-09 13:03:41,402 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-65317141:ctest-vn-76131368 virtual network link through opserver 10.0.0.141 2026-02-09 13:03:41,402 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-02-09 13:03:41,699 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-02-09 13:03:41,767 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-65317141:ctest-vn-76131368', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-65317141:ctest-vn-76131368?flat'} 2026-02-09 13:03:41,767 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-65317141:ctest-vn-76131368 is found in opserver 2026-02-09 13:03:41,777 - DEBUG - Do not have enough data to verify VN in agent 2026-02-09 13:03:41,782 - DEBUG - VRF ids for VN ctest-vn-76131368: {} 2026-02-09 13:03:41,782 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-02-09 13:03:41,787 - DEBUG - Requesting: http://10.0.0.141:8082/domain/b8109032-be3d-42a2-8bd3-b98017a8aec0 2026-02-09 13:03:41,800 - DEBUG - Requesting: http://10.0.0.141:8082/project/04d0be50-a50a-49f0-b6ec-26091be99718 2026-02-09 13:03:41,867 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/f9b1d64d-cd99-43b2-a517-fb6ba1d6ac66 2026-02-09 13:03:41,878 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/f9b1d64d-cd99-43b2-a517-fb6ba1d6ac66 2026-02-09 13:03:41,886 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/2f67e96c-ee7b-4612-b649-4e82cab3cd80 2026-02-09 13:03:41,893 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/2f67e96c-ee7b-4612-b649-4e82cab3cd80 2026-02-09 13:03:41,899 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/9179defb-31a4-44fe-ab6c-8a0ec03ddc74 2026-02-09 13:03:41,905 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-09 13:03:41,905 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/f9b1d64d-cd99-43b2-a517-fb6ba1d6ac66 2026-02-09 13:03:41,913 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/2f67e96c-ee7b-4612-b649-4e82cab3cd80 2026-02-09 13:03:41,926 - INFO - Verified VN network id 12 for VN f9b1d64d-cd99-43b2-a517-fb6ba1d6ac66 2026-02-09 13:03:41,926 - INFO - Verifications in API Server for VN ctest-vn-73471580 passed 2026-02-09 13:03:41,926 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/f9b1d64d-cd99-43b2-a517-fb6ba1d6ac66 2026-02-09 13:03:41,934 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/2f67e96c-ee7b-4612-b649-4e82cab3cd80 2026-02-09 13:03:41,941 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/2f67e96c-ee7b-4612-b649-4e82cab3cd80 2026-02-09 13:03:41,948 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/9179defb-31a4-44fe-ab6c-8a0ec03ddc74 2026-02-09 13:03:41,961 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-65317141:ctest-vn-73471580', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-65317141', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17992397615972041650', 'uuid-lslong': '11896253380417727590'}, 'enable': 'true', 'created': '2026-02-09T13:03:39', 'last-modified': '2026-02-09T13:03:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.373700'} 2026-02-09 13:03:41,968 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-09 13:03:41,968 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-73471580 passed 2026-02-09 13:03:41,968 - DEBUG - ====Verifying policy data for ctest-vn-73471580 in API_Server ====== 2026-02-09 13:03:41,968 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-02-09 13:03:41,974 - DEBUG - Requesting: http://10.0.0.141:8082/domain/b8109032-be3d-42a2-8bd3-b98017a8aec0 2026-02-09 13:03:41,983 - DEBUG - Requesting: http://10.0.0.141:8082/project/04d0be50-a50a-49f0-b6ec-26091be99718 2026-02-09 13:03:42,059 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/f9b1d64d-cd99-43b2-a517-fb6ba1d6ac66 2026-02-09 13:03:42,071 - DEBUG - ==>Verifying data for policy with id: e98bfd3a-aef9-4344-845c-cb29f33e5436, fqn: ['default-domain', 'ctest-TestBasicPolicy-65317141', 'ctest-policy-allow-all-07349415'] 2026-02-09 13:03:42,071 - INFO - VN ctest-vn-73471580 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-09 13:03:42,071 - DEBUG - Verifying the vn in opserver 2026-02-09 13:03:42,071 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-65317141:ctest-vn-73471580 virtual network link through opserver 10.0.0.141 2026-02-09 13:03:42,071 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-02-09 13:03:42,083 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-65317141:ctest-vn-73471580', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-65317141:ctest-vn-73471580?flat'} 2026-02-09 13:03:42,083 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-65317141:ctest-vn-73471580 is found in opserver 2026-02-09 13:03:42,094 - DEBUG - Do not have enough data to verify VN in agent 2026-02-09 13:03:42,099 - DEBUG - VRF ids for VN ctest-vn-73471580: {} 2026-02-09 13:03:42,161 - DEBUG - Services list from nova: [, , ] 2026-02-09 13:03:43,241 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5243-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5243-1) 2026-02-09 13:03:44,542 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5243-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5243-1) 2026-02-09 13:03:44,542 - INFO - Waiting for VM ctest-TestBasicPolicy-65317141-00610965 to be up.. 2026-02-09 13:03:44,644 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-09 13:03:49,735 - DEBUG - VM is in ACTIVE state now 2026-02-09 13:03:49,735 - INFO - VM name : ctest-TestBasicPolicy-65317141-00610965 2026-02-09 13:03:49,811 - DEBUG - VM ctest-TestBasicPolicy-65317141-00610965 ID is 1a1918c7-9dd7-47b2-8b37-42c52a3ddda6 2026-02-09 13:03:49,833 - DEBUG - VM ctest-TestBasicPolicy-65317141-00610965 launched on Node cn-jenkins-deploy-platform-ansible-os-5243-1 2026-02-09 13:03:49,918 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/1a1918c7-9dd7-47b2-8b37-42c52a3ddda6 2026-02-09 13:03:49,927 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/20489173-d87b-4e1a-8026-4a5e373cada4 2026-02-09 13:03:53,193 - 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 1030ms') 2026-02-09 13:03:53,193 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-65317141-00610965 failed! 2026-02-09 13:03:53,246 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-65317141:ctest-vn-76131368 is 155.189.222.1 and allocation pool is NOT set 2026-02-09 13:03:55,304 - 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=6.82 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.577 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 = 0.577/3.696/6.815/3.119 ms') 2026-02-09 13:03:55,304 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-65317141-00610965 passed 2026-02-09 13:03:55,454 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 13:03:55,454 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-65317141-00610965, IP 155.189.222.3, Port 22 2026-02-09 13:03:55,610 - DEBUG - VM ctest-TestBasicPolicy-65317141-00610965 is ready for SSH connections 2026-02-09 13:03:55,610 - INFO - Waiting for VM ctest-TestBasicPolicy-65317141-05086390 to be up.. 2026-02-09 13:03:55,698 - DEBUG - VM is in ACTIVE state now 2026-02-09 13:03:55,698 - INFO - VM name : ctest-TestBasicPolicy-65317141-05086390 2026-02-09 13:03:55,774 - DEBUG - VM ctest-TestBasicPolicy-65317141-05086390 ID is 60c738f4-a609-4c2b-85a4-52b37473900a 2026-02-09 13:03:55,774 - DEBUG - VM ctest-TestBasicPolicy-65317141-05086390 launched on Node cn-jenkins-deploy-platform-ansible-os-5243-1 2026-02-09 13:03:55,859 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/60c738f4-a609-4c2b-85a4-52b37473900a 2026-02-09 13:03:55,869 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/80841aa6-221e-4199-88a4-4258c845bb49 2026-02-09 13:03:57,120 - 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.71 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.614 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.614/1.664/2.714/1.050 ms') 2026-02-09 13:03:57,120 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-65317141-05086390 passed 2026-02-09 13:03:57,270 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 13:03:57,270 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-65317141-05086390, IP 156.6.121.67, Port 22 2026-02-09 13:03:57,433 - DEBUG - VM ctest-TestBasicPolicy-65317141-05086390 is ready for SSH connections 2026-02-09 13:03:57,434 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 13:03:57,434 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 156.6.121.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-02-09 13:03:57,434 - DEBUG - ping -s 56 -c 3 -W 1 156.6.121.67 2026-02-09 13:04:01,126 - DEBUG - PING 156.6.121.67 (156.6.121.67): 56 data bytes 64 bytes from 156.6.121.67: seq=0 ttl=63 time=4.587 ms 64 bytes from 156.6.121.67: seq=1 ttl=63 time=1.043 ms 64 bytes from 156.6.121.67: seq=2 ttl=63 time=1.200 ms --- 156.6.121.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.043/2.276/4.587 ms 2026-02-09 13:04:01,126 - INFO - Ping to IP 156.6.121.67 from VM ctest-TestBasicPolicy-65317141-00610965 passed 2026-02-09 13:04:01,306 - DEBUG - Policy Update Response {"network-policy": {"uuid": "e98bfd3a-aef9-4344-845c-cb29f33e5436", "href": "http://10.0.0.141:8082/network-policy/e98bfd3a-aef9-4344-845c-cb29f33e5436"}} 2026-02-09 13:04:01,306 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 13:04:01,306 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 156.6.121.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-02-09 13:04:01,306 - DEBUG - ping -s 56 -c 3 -W 1 156.6.121.67 2026-02-09 13:04:04,522 - DEBUG - PING 156.6.121.67 (156.6.121.67): 56 data bytes --- 156.6.121.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-09 13:04:04,522 - WARNING - Ping to IP 156.6.121.67 from VM ctest-TestBasicPolicy-65317141-00610965 failed 2026-02-09 13:04:04,523 - INFO - Deleting VM ctest-TestBasicPolicy-65317141-05086390 2026-02-09 13:04:04,601 - INFO - Deleting VM ctest-TestBasicPolicy-65317141-00610965 2026-02-09 13:04:05,050 - INFO - Deleted policy ctest-policy-allow-all-07349415 2026-02-09 13:04:05,050 - INFO - Deleting VN ctest-vn-73471580 2026-02-09 13:04:05,098 - DEBUG - VN f9b1d64d-cd99-43b2-a517-fb6ba1d6ac66 still in use: Unable to complete operation on network f9b1d64d-cd99-43b2-a517-fb6ba1d6ac66. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-716326b6-c8af-409b-9a2d-e02c8bbe2b45'] 2026-02-09 13:04:05,098 - WARNING - Deleting VN ctest-vn-73471580 failed..Will retry 2026-02-09 13:04:07,212 - DEBUG - Response for deleting network () 2026-02-09 13:04:07,212 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/2f67e96c-ee7b-4612-b649-4e82cab3cd80 2026-02-09 13:04:07,219 - DEBUG - Response Code: 404 2026-02-09 13:04:07,219 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-02-09 13:04:07,226 - DEBUG - Requesting: http://10.0.0.141:8082/domain/b8109032-be3d-42a2-8bd3-b98017a8aec0 2026-02-09 13:04:07,283 - DEBUG - Requesting: http://10.0.0.141:8082/project/04d0be50-a50a-49f0-b6ec-26091be99718 2026-02-09 13:04:07,359 - INFO - Validated that VN ctest-vn-73471580 is not found in API Server 2026-02-09 13:04:07,369 - DEBUG - VN ctest-vn-73471580 is not present in Agent 10.0.0.141 2026-02-09 13:04:07,369 - INFO - Validated that VN ctest-vn-73471580 is not in any agent 2026-02-09 13:04:07,384 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-73471580 info 2026-02-09 13:04:07,384 - INFO - Deleting VN ctest-vn-76131368 2026-02-09 13:04:07,504 - DEBUG - Response for deleting network () 2026-02-09 13:04:07,504 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/fec6a644-62d5-4e22-889b-ae1b94b1a9a8 2026-02-09 13:04:07,510 - DEBUG - Response Code: 404 2026-02-09 13:04:07,511 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-02-09 13:04:07,515 - DEBUG - Requesting: http://10.0.0.141:8082/domain/b8109032-be3d-42a2-8bd3-b98017a8aec0 2026-02-09 13:04:07,567 - DEBUG - Requesting: http://10.0.0.141:8082/project/04d0be50-a50a-49f0-b6ec-26091be99718 2026-02-09 13:04:07,644 - INFO - Validated that VN ctest-vn-76131368 is not found in API Server 2026-02-09 13:04:07,659 - DEBUG - VN ctest-vn-76131368 is not present in Agent 10.0.0.141 2026-02-09 13:04:07,659 - INFO - Validated that VN ctest-vn-76131368 is not in any agent 2026-02-09 13:04:07,675 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-76131368 info 2026-02-09 13:04:07,944 - DEBUG - No XMPP flaps were noticed during the test
2026-02-09 13:04:07,944 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2026-02-09 13:04:07,945 - INFO - -------------------------------------------------------------------------------- 2026-02-09 13:04:08,660 - INFO - Deleted project: ctest-TestBasicPolicy-65317141, ID : 04d0be50-a50a-49f0-b6ec-26091be99718