2026-05-07 02:22:19,797 - INFO - Domain Default found not creating 2026-05-07 02:22:20,000 - INFO - Project ctest-TestBasicPolicy-62673530 not found, creating it 2026-05-07 02:22:20,498 - INFO - Created Project:ctest-TestBasicPolicy-62673530, ID : 37a47e86-e7d0-4638-a3ad-39bf0d9db6c2 2026-05-07 02:22:22,250 - INFO - ================================================================================ 2026-05-07 02:22:22,251 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-05-07 02:22:22,251 - 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-05-07 02:22:22,527 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-05-07 02:22:22,528 - INFO - Initial checks done. Running the testcase now 2026-05-07 02:22:22,528 - INFO - 2026-05-07 02:22:23,170 - DEBUG - Response for create_network : {'network': {'id': 'b3793d6f-6e8d-482e-aec8-dd0eda04b755', 'name': 'ctest-vn-21856884', 'tenant_id': '37a47e86e7d04638a3ad39bf0d9db6c2', 'project_id': '37a47e86e7d04638a3ad39bf0d9db6c2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62673530', 'ctest-vn-21856884'], 'port_security_enabled': True, 'description': ''}} 2026-05-07 02:22:23,321 - DEBUG - Response for create_subnet : {'subnet': {'id': '4bf31cb7-adfb-4e34-a474-6f94141ce3b0', 'name': '', 'tenant_id': '37a47e86e7d04638a3ad39bf0d9db6c2', 'network_id': 'b3793d6f-6e8d-482e-aec8-dd0eda04b755', 'ip_version': 4, 'cidr': '200.245.137.192/26', 'allocation_pools': [{'start': '200.245.137.194', 'end': '200.245.137.254'}], 'gateway_ip': '200.245.137.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '200.245.137.194', 'tags': [], 'project_id': '37a47e86e7d04638a3ad39bf0d9db6c2'}} 2026-05-07 02:22:23,343 - INFO - Created VN ctest-vn-21856884 2026-05-07 02:22:23,397 - DEBUG - VN ctest-vn-21856884 UUID is b3793d6f-6e8d-482e-aec8-dd0eda04b755 2026-05-07 02:22:23,724 - DEBUG - Response for create_network : {'network': {'id': '117e3a1d-231b-43ba-9395-5fda687dae75', 'name': 'ctest-vn-76114748', 'tenant_id': '37a47e86e7d04638a3ad39bf0d9db6c2', 'project_id': '37a47e86e7d04638a3ad39bf0d9db6c2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62673530', 'ctest-vn-76114748'], 'port_security_enabled': True, 'description': ''}} 2026-05-07 02:22:23,906 - DEBUG - Response for create_subnet : {'subnet': {'id': '2546ccbd-656f-469b-b7b7-f72d08dddd21', 'name': '', 'tenant_id': '37a47e86e7d04638a3ad39bf0d9db6c2', 'network_id': '117e3a1d-231b-43ba-9395-5fda687dae75', 'ip_version': 4, 'cidr': '58.131.105.64/26', 'allocation_pools': [{'start': '58.131.105.66', 'end': '58.131.105.126'}], 'gateway_ip': '58.131.105.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '58.131.105.66', 'tags': [], 'project_id': '37a47e86e7d04638a3ad39bf0d9db6c2'}} 2026-05-07 02:22:23,927 - INFO - Created VN ctest-vn-76114748 2026-05-07 02:22:23,981 - DEBUG - VN ctest-vn-76114748 UUID is 117e3a1d-231b-43ba-9395-5fda687dae75 2026-05-07 02:22:24,106 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-62673530:ctest-vn-21856884, 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-62673530:ctest-vn-76114748, 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-05-07 02:22:24,426 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b3793d6f-6e8d-482e-aec8-dd0eda04b755', 'name': 'ctest-vn-21856884', 'tenant_id': '37a47e86e7d04638a3ad39bf0d9db6c2', 'project_id': '37a47e86e7d04638a3ad39bf0d9db6c2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4bf31cb7-adfb-4e34-a474-6f94141ce3b0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62673530', 'ctest-vn-21856884'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-62673530', 'ctest-policy-allow-all-63205288']], 'subnet_ipam': [{'subnet_cidr': '200.245.137.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-07 02:22:24,689 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '117e3a1d-231b-43ba-9395-5fda687dae75', 'name': 'ctest-vn-76114748', 'tenant_id': '37a47e86e7d04638a3ad39bf0d9db6c2', 'project_id': '37a47e86e7d04638a3ad39bf0d9db6c2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2546ccbd-656f-469b-b7b7-f72d08dddd21'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62673530', 'ctest-vn-76114748'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-62673530', 'ctest-policy-allow-all-63205288']], 'subnet_ipam': [{'subnet_cidr': '58.131.105.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-07 02:22:24,877 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-07 02:22:25,220 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-07 02:22:25,258 - DEBUG - Requesting: http://10.0.0.50:8082/domain/35085c46-8415-4125-83b8-01affb86dc32 2026-05-07 02:22:25,271 - DEBUG - Requesting: http://10.0.0.50:8082/project/37a47e86-e7d0-4638-a3ad-39bf0d9db6c2 2026-05-07 02:22:25,351 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b3793d6f-6e8d-482e-aec8-dd0eda04b755 2026-05-07 02:22:25,364 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b3793d6f-6e8d-482e-aec8-dd0eda04b755 2026-05-07 02:22:25,374 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/af809957-dab2-468c-b849-bda824d336d6 2026-05-07 02:22:25,381 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/af809957-dab2-468c-b849-bda824d336d6 2026-05-07 02:22:25,389 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/3c78cfd0-ce78-42bc-9245-d1f00ff81be1 2026-05-07 02:22:25,397 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-07 02:22:25,397 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b3793d6f-6e8d-482e-aec8-dd0eda04b755 2026-05-07 02:22:25,407 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/af809957-dab2-468c-b849-bda824d336d6 2026-05-07 02:22:25,422 - INFO - Verified VN network id 9 for VN b3793d6f-6e8d-482e-aec8-dd0eda04b755 2026-05-07 02:22:25,423 - INFO - Verifications in API Server for VN ctest-vn-21856884 passed 2026-05-07 02:22:25,423 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b3793d6f-6e8d-482e-aec8-dd0eda04b755 2026-05-07 02:22:25,433 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/af809957-dab2-468c-b849-bda824d336d6 2026-05-07 02:22:25,441 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/af809957-dab2-468c-b849-bda824d336d6 2026-05-07 02:22:25,450 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/3c78cfd0-ce78-42bc-9245-d1f00ff81be1 2026-05-07 02:22:25,465 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-62673530:ctest-vn-21856884', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-62673530', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12932435353776506926', 'uuid-lslong': '12594559413798614869'}, 'enable': 'true', 'created': '2026-05-07T02:22:23', 'last-modified': '2026-05-07T02:22:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.068700'} 2026-05-07 02:22:25,471 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-07 02:22:25,471 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-21856884 passed 2026-05-07 02:22:25,472 - DEBUG - ====Verifying policy data for ctest-vn-21856884 in API_Server ====== 2026-05-07 02:22:25,472 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-07 02:22:25,478 - DEBUG - Requesting: http://10.0.0.50:8082/domain/35085c46-8415-4125-83b8-01affb86dc32 2026-05-07 02:22:25,489 - DEBUG - Requesting: http://10.0.0.50:8082/project/37a47e86-e7d0-4638-a3ad-39bf0d9db6c2 2026-05-07 02:22:25,563 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b3793d6f-6e8d-482e-aec8-dd0eda04b755 2026-05-07 02:22:25,575 - DEBUG - ==>Verifying data for policy with id: 9063db90-330b-47c0-bf76-77d8e3d3f85f, fqn: ['default-domain', 'ctest-TestBasicPolicy-62673530', 'ctest-policy-allow-all-63205288'] 2026-05-07 02:22:25,575 - INFO - VN ctest-vn-21856884 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-07 02:22:25,575 - DEBUG - Verifying the vn in opserver 2026-05-07 02:22:25,575 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-62673530:ctest-vn-21856884 virtual network link through opserver 10.0.0.50 2026-05-07 02:22:25,575 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-05-07 02:22:25,927 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-05-07 02:22:26,006 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-62673530:ctest-vn-21856884', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-62673530:ctest-vn-21856884?flat'} 2026-05-07 02:22:26,006 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-62673530:ctest-vn-21856884 is found in opserver 2026-05-07 02:22:26,017 - DEBUG - Do not have enough data to verify VN in agent 2026-05-07 02:22:26,022 - DEBUG - VRF ids for VN ctest-vn-21856884: {} 2026-05-07 02:22:26,022 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-07 02:22:26,028 - DEBUG - Requesting: http://10.0.0.50:8082/domain/35085c46-8415-4125-83b8-01affb86dc32 2026-05-07 02:22:26,041 - DEBUG - Requesting: http://10.0.0.50:8082/project/37a47e86-e7d0-4638-a3ad-39bf0d9db6c2 2026-05-07 02:22:26,115 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/117e3a1d-231b-43ba-9395-5fda687dae75 2026-05-07 02:22:26,131 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/117e3a1d-231b-43ba-9395-5fda687dae75 2026-05-07 02:22:26,142 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3a0e4d62-003a-45f5-a51d-5472c3f6c522 2026-05-07 02:22:26,152 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3a0e4d62-003a-45f5-a51d-5472c3f6c522 2026-05-07 02:22:26,160 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/0cb9aebb-f906-4c25-8028-b0519054bad7 2026-05-07 02:22:26,169 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-07 02:22:26,169 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/117e3a1d-231b-43ba-9395-5fda687dae75 2026-05-07 02:22:26,180 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3a0e4d62-003a-45f5-a51d-5472c3f6c522 2026-05-07 02:22:26,196 - INFO - Verified VN network id 10 for VN 117e3a1d-231b-43ba-9395-5fda687dae75 2026-05-07 02:22:26,196 - INFO - Verifications in API Server for VN ctest-vn-76114748 passed 2026-05-07 02:22:26,196 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/117e3a1d-231b-43ba-9395-5fda687dae75 2026-05-07 02:22:26,207 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3a0e4d62-003a-45f5-a51d-5472c3f6c522 2026-05-07 02:22:26,214 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3a0e4d62-003a-45f5-a51d-5472c3f6c522 2026-05-07 02:22:26,224 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/0cb9aebb-f906-4c25-8028-b0519054bad7 2026-05-07 02:22:26,236 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-62673530:ctest-vn-76114748', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-62673530', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1260508842527769530', 'uuid-lslong': '10634511486765870709'}, 'enable': 'true', 'created': '2026-05-07T02:22:23', 'last-modified': '2026-05-07T02:22:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.572674'} 2026-05-07 02:22:26,242 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-07 02:22:26,242 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-76114748 passed 2026-05-07 02:22:26,242 - DEBUG - ====Verifying policy data for ctest-vn-76114748 in API_Server ====== 2026-05-07 02:22:26,242 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-07 02:22:26,250 - DEBUG - Requesting: http://10.0.0.50:8082/domain/35085c46-8415-4125-83b8-01affb86dc32 2026-05-07 02:22:26,262 - DEBUG - Requesting: http://10.0.0.50:8082/project/37a47e86-e7d0-4638-a3ad-39bf0d9db6c2 2026-05-07 02:22:26,340 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/117e3a1d-231b-43ba-9395-5fda687dae75 2026-05-07 02:22:26,349 - DEBUG - ==>Verifying data for policy with id: 9063db90-330b-47c0-bf76-77d8e3d3f85f, fqn: ['default-domain', 'ctest-TestBasicPolicy-62673530', 'ctest-policy-allow-all-63205288'] 2026-05-07 02:22:26,349 - INFO - VN ctest-vn-76114748 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-07 02:22:26,350 - DEBUG - Verifying the vn in opserver 2026-05-07 02:22:26,350 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-62673530:ctest-vn-76114748 virtual network link through opserver 10.0.0.50 2026-05-07 02:22:26,350 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-05-07 02:22:26,360 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-62673530:ctest-vn-76114748', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-62673530:ctest-vn-76114748?flat'} 2026-05-07 02:22:26,360 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-62673530:ctest-vn-76114748 is found in opserver 2026-05-07 02:22:26,371 - DEBUG - Do not have enough data to verify VN in agent 2026-05-07 02:22:26,376 - DEBUG - VRF ids for VN ctest-vn-76114748: {} 2026-05-07 02:22:26,443 - DEBUG - Services list from nova: [, , ] 2026-05-07 02:22:27,696 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5750-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5750-1) 2026-05-07 02:22:29,049 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5750-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5750-1) 2026-05-07 02:22:29,049 - INFO - Waiting for VM ctest-TestBasicPolicy-62673530-46077214 to be up.. 2026-05-07 02:22:29,141 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-07 02:22:34,245 - DEBUG - VM is in ACTIVE state now 2026-05-07 02:22:34,245 - INFO - VM name : ctest-TestBasicPolicy-62673530-46077214 2026-05-07 02:22:34,353 - DEBUG - VM ctest-TestBasicPolicy-62673530-46077214 ID is 94f0abc0-3a58-4145-a72e-89788210f26f 2026-05-07 02:22:34,385 - DEBUG - VM ctest-TestBasicPolicy-62673530-46077214 launched on Node cn-jenkins-deploy-platform-ansible-os-5750-1 2026-05-07 02:22:34,481 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/94f0abc0-3a58-4145-a72e-89788210f26f 2026-05-07 02:22:34,492 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/9e9910c3-5206-4381-a746-3fcc3e053e19 2026-05-07 02:22:37,739 - 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 1010ms') 2026-05-07 02:22:37,739 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-62673530-46077214 failed! 2026-05-07 02:22:37,797 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-62673530:ctest-vn-21856884 is 200.245.137.193 and allocation pool is NOT set 2026-05-07 02:22:39,868 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=5.46 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.06 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.060/3.258/5.456/2.198 ms') 2026-05-07 02:22:39,869 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-62673530-46077214 passed 2026-05-07 02:22:40,029 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-07 02:22:40,030 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-62673530-46077214, IP 200.245.137.195, Port 22 2026-05-07 02:22:40,097 - 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-05-07 02:22:40,202 - DEBUG - VM ctest-TestBasicPolicy-62673530-46077214 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-07 02:22:45,202 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-07 02:22:45,202 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-62673530-46077214, IP 200.245.137.195, Port 22 2026-05-07 02:22:45,371 - DEBUG - VM ctest-TestBasicPolicy-62673530-46077214 is ready for SSH connections 2026-05-07 02:22:45,371 - INFO - Waiting for VM ctest-TestBasicPolicy-62673530-29521897 to be up.. 2026-05-07 02:22:45,466 - DEBUG - VM is in ACTIVE state now 2026-05-07 02:22:45,466 - INFO - VM name : ctest-TestBasicPolicy-62673530-29521897 2026-05-07 02:22:45,560 - DEBUG - VM ctest-TestBasicPolicy-62673530-29521897 ID is 3a02481b-5dc5-4237-9a4c-52e17abd3d84 2026-05-07 02:22:45,560 - DEBUG - VM ctest-TestBasicPolicy-62673530-29521897 launched on Node cn-jenkins-deploy-platform-ansible-os-5750-1 2026-05-07 02:22:45,649 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/3a02481b-5dc5-4237-9a4c-52e17abd3d84 2026-05-07 02:22:45,660 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/a67c8143-b55f-40cb-9a53-1e95bb3d4e4b 2026-05-07 02:22:46,912 - 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.40 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.515 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.515/1.955/3.395/1.440 ms') 2026-05-07 02:22:46,912 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-62673530-29521897 passed 2026-05-07 02:22:47,065 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-07 02:22:47,065 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-62673530-29521897, IP 58.131.105.67, Port 22 2026-05-07 02:22:47,243 - DEBUG - VM ctest-TestBasicPolicy-62673530-29521897 is ready for SSH connections 2026-05-07 02:22:47,243 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-07 02:22:47,244 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 58.131.105.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-05-07 02:22:47,244 - DEBUG - ping -s 56 -c 3 -W 1 58.131.105.67 2026-05-07 02:22:51,443 - DEBUG - PING 58.131.105.67 (58.131.105.67): 56 data bytes 64 bytes from 58.131.105.67: seq=0 ttl=63 time=7.526 ms 64 bytes from 58.131.105.67: seq=1 ttl=63 time=1.108 ms 64 bytes from 58.131.105.67: seq=2 ttl=63 time=1.296 ms --- 58.131.105.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.108/3.310/7.526 ms 2026-05-07 02:22:51,443 - INFO - Ping to IP 58.131.105.67 from VM ctest-TestBasicPolicy-62673530-46077214 passed 2026-05-07 02:22:51,633 - DEBUG - Policy Update Response {"network-policy": {"uuid": "9063db90-330b-47c0-bf76-77d8e3d3f85f", "href": "http://10.0.0.50:8082/network-policy/9063db90-330b-47c0-bf76-77d8e3d3f85f"}} 2026-05-07 02:22:51,633 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-07 02:22:51,634 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 58.131.105.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-05-07 02:22:51,634 - DEBUG - ping -s 56 -c 3 -W 1 58.131.105.67 2026-05-07 02:22:54,882 - DEBUG - PING 58.131.105.67 (58.131.105.67): 56 data bytes --- 58.131.105.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-05-07 02:22:54,882 - WARNING - Ping to IP 58.131.105.67 from VM ctest-TestBasicPolicy-62673530-46077214 failed 2026-05-07 02:22:54,882 - INFO - Deleting VM ctest-TestBasicPolicy-62673530-29521897 2026-05-07 02:22:54,973 - INFO - Deleting VM ctest-TestBasicPolicy-62673530-46077214 2026-05-07 02:22:55,413 - INFO - Deleted policy ctest-policy-allow-all-63205288 2026-05-07 02:22:55,413 - INFO - Deleting VN ctest-vn-76114748 2026-05-07 02:22:55,457 - DEBUG - VN 117e3a1d-231b-43ba-9395-5fda687dae75 still in use: Unable to complete operation on network 117e3a1d-231b-43ba-9395-5fda687dae75. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5fe22ab7-c2b5-44e2-87c5-07c9f54d9af1'] 2026-05-07 02:22:55,457 - WARNING - Deleting VN ctest-vn-76114748 failed..Will retry 2026-05-07 02:22:57,579 - DEBUG - Response for deleting network () 2026-05-07 02:22:57,579 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3a0e4d62-003a-45f5-a51d-5472c3f6c522 2026-05-07 02:22:57,585 - DEBUG - Response Code: 404 2026-05-07 02:22:57,586 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-07 02:22:57,598 - DEBUG - Requesting: http://10.0.0.50:8082/domain/35085c46-8415-4125-83b8-01affb86dc32 2026-05-07 02:22:57,655 - DEBUG - Requesting: http://10.0.0.50:8082/project/37a47e86-e7d0-4638-a3ad-39bf0d9db6c2 2026-05-07 02:22:57,739 - INFO - Validated that VN ctest-vn-76114748 is not found in API Server 2026-05-07 02:22:57,750 - DEBUG - VN ctest-vn-76114748 is not present in Agent 10.0.0.50 2026-05-07 02:22:57,750 - INFO - Validated that VN ctest-vn-76114748 is not in any agent 2026-05-07 02:22:57,768 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-76114748 info 2026-05-07 02:22:57,768 - INFO - Deleting VN ctest-vn-21856884 2026-05-07 02:22:57,892 - DEBUG - Response for deleting network () 2026-05-07 02:22:57,892 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/af809957-dab2-468c-b849-bda824d336d6 2026-05-07 02:22:57,899 - DEBUG - Response Code: 404 2026-05-07 02:22:57,900 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-07 02:22:57,905 - DEBUG - Requesting: http://10.0.0.50:8082/domain/35085c46-8415-4125-83b8-01affb86dc32 2026-05-07 02:22:57,959 - DEBUG - Requesting: http://10.0.0.50:8082/project/37a47e86-e7d0-4638-a3ad-39bf0d9db6c2 2026-05-07 02:22:58,033 - INFO - Validated that VN ctest-vn-21856884 is not found in API Server 2026-05-07 02:22:58,042 - DEBUG - VN ctest-vn-21856884 is not present in Agent 10.0.0.50 2026-05-07 02:22:58,042 - INFO - Validated that VN ctest-vn-21856884 is not in any agent 2026-05-07 02:22:58,057 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-21856884 info 2026-05-07 02:22:58,328 - DEBUG - No XMPP flaps were noticed during the test
2026-05-07 02:22:58,328 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36]
2026-05-07 02:22:58,328 - INFO - -------------------------------------------------------------------------------- 2026-05-07 02:22:59,097 - INFO - Deleted project: ctest-TestBasicPolicy-62673530, ID : 37a47e86-e7d0-4638-a3ad-39bf0d9db6c2