2026-09-09 15:25:07,964 - INFO - Domain Default found not creating 2026-09-09 15:25:08,122 - INFO - Project ctest-TestBasicPolicy-43244514 not found, creating it 2026-09-09 15:25:08,619 - INFO - Created Project:ctest-TestBasicPolicy-43244514, ID : 93e4aa5b-941c-4834-b18e-d31c8186c4d6 2026-09-09 15:25:10,211 - INFO - ================================================================================ 2026-09-09 15:25:10,211 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-09-09 15:25:10,211 - 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-09-09 15:25:10,470 - DEBUG - Nothing to compare xmpp stats {'10.0.0.185': {'10.20.0.17': '0'}} with 2026-09-09 15:25:10,470 - INFO - Initial checks done. Running the testcase now 2026-09-09 15:25:10,470 - INFO - 2026-09-09 15:25:11,104 - DEBUG - Response for create_network : {'network': {'id': '4745c708-19a7-4912-8efb-7ede0fcd12d6', 'name': 'ctest-vn-31113203', 'tenant_id': '93e4aa5b941c4834b18ed31c8186c4d6', 'project_id': '93e4aa5b941c4834b18ed31c8186c4d6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43244514', 'ctest-vn-31113203'], 'port_security_enabled': True, 'description': ''}} 2026-09-09 15:25:11,310 - DEBUG - Response for create_subnet : {'subnet': {'id': '0850882e-31ef-4f7a-ad03-3a810d2c6c6e', 'name': '', 'tenant_id': '93e4aa5b941c4834b18ed31c8186c4d6', 'network_id': '4745c708-19a7-4912-8efb-7ede0fcd12d6', 'ip_version': 4, 'cidr': '56.131.57.192/26', 'allocation_pools': [{'start': '56.131.57.194', 'end': '56.131.57.254'}], 'gateway_ip': '56.131.57.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '56.131.57.194', 'tags': [], 'project_id': '93e4aa5b941c4834b18ed31c8186c4d6'}} 2026-09-09 15:25:11,341 - INFO - Created VN ctest-vn-31113203 2026-09-09 15:25:11,394 - DEBUG - VN ctest-vn-31113203 UUID is 4745c708-19a7-4912-8efb-7ede0fcd12d6 2026-09-09 15:25:11,774 - DEBUG - Response for create_network : {'network': {'id': 'a3378254-58b6-43a9-915a-25f080e2db3f', 'name': 'ctest-vn-15595604', 'tenant_id': '93e4aa5b941c4834b18ed31c8186c4d6', 'project_id': '93e4aa5b941c4834b18ed31c8186c4d6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43244514', 'ctest-vn-15595604'], 'port_security_enabled': True, 'description': ''}} 2026-09-09 15:25:11,963 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dedde9e1-a61e-43c5-8bb0-2e032c0573ee', 'name': '', 'tenant_id': '93e4aa5b941c4834b18ed31c8186c4d6', 'network_id': 'a3378254-58b6-43a9-915a-25f080e2db3f', 'ip_version': 4, 'cidr': '117.253.134.64/26', 'allocation_pools': [{'start': '117.253.134.66', 'end': '117.253.134.126'}], 'gateway_ip': '117.253.134.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '117.253.134.66', 'tags': [], 'project_id': '93e4aa5b941c4834b18ed31c8186c4d6'}} 2026-09-09 15:25:11,980 - INFO - Created VN ctest-vn-15595604 2026-09-09 15:25:12,034 - DEBUG - VN ctest-vn-15595604 UUID is a3378254-58b6-43a9-915a-25f080e2db3f 2026-09-09 15:25:12,182 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-43244514:ctest-vn-31113203, 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-43244514:ctest-vn-15595604, 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-09-09 15:25:12,497 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4745c708-19a7-4912-8efb-7ede0fcd12d6', 'name': 'ctest-vn-31113203', 'tenant_id': '93e4aa5b941c4834b18ed31c8186c4d6', 'project_id': '93e4aa5b941c4834b18ed31c8186c4d6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['0850882e-31ef-4f7a-ad03-3a810d2c6c6e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43244514', 'ctest-vn-31113203'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-43244514', 'ctest-policy-allow-all-53646435']], 'subnet_ipam': [{'subnet_cidr': '56.131.57.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-09 15:25:12,753 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a3378254-58b6-43a9-915a-25f080e2db3f', 'name': 'ctest-vn-15595604', 'tenant_id': '93e4aa5b941c4834b18ed31c8186c4d6', 'project_id': '93e4aa5b941c4834b18ed31c8186c4d6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['dedde9e1-a61e-43c5-8bb0-2e032c0573ee'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43244514', 'ctest-vn-15595604'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-43244514', 'ctest-policy-allow-all-53646435']], 'subnet_ipam': [{'subnet_cidr': '117.253.134.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-09 15:25:12,918 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-09-09 15:25:13,239 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-09-09 15:25:13,266 - DEBUG - Requesting: http://10.0.0.185:8082/domain/a8976d84-25ad-4b4f-947b-cb8048bfcd01 2026-09-09 15:25:13,278 - DEBUG - Requesting: http://10.0.0.185:8082/project/93e4aa5b-941c-4834-b18e-d31c8186c4d6 2026-09-09 15:25:13,355 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/4745c708-19a7-4912-8efb-7ede0fcd12d6 2026-09-09 15:25:13,367 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/4745c708-19a7-4912-8efb-7ede0fcd12d6 2026-09-09 15:25:13,378 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/bbb772fd-2624-408d-8bf7-154d6c025f2f 2026-09-09 15:25:13,388 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/bbb772fd-2624-408d-8bf7-154d6c025f2f 2026-09-09 15:25:13,398 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/e637f0ac-e185-4288-8935-052d9dcf5f0c 2026-09-09 15:25:13,407 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-09 15:25:13,407 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/4745c708-19a7-4912-8efb-7ede0fcd12d6 2026-09-09 15:25:13,419 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/bbb772fd-2624-408d-8bf7-154d6c025f2f 2026-09-09 15:25:13,435 - INFO - Verified VN network id 12 for VN 4745c708-19a7-4912-8efb-7ede0fcd12d6 2026-09-09 15:25:13,436 - INFO - Verifications in API Server for VN ctest-vn-31113203 passed 2026-09-09 15:25:13,436 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/4745c708-19a7-4912-8efb-7ede0fcd12d6 2026-09-09 15:25:13,445 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/bbb772fd-2624-408d-8bf7-154d6c025f2f 2026-09-09 15:25:13,453 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/bbb772fd-2624-408d-8bf7-154d6c025f2f 2026-09-09 15:25:13,461 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/e637f0ac-e185-4288-8935-052d9dcf5f0c 2026-09-09 15:25:13,475 - DEBUG - Control-node 10.0.0.185 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-43244514:ctest-vn-31113203', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43244514', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5135729787689978130', 'uuid-lslong': '10302968064753078998'}, 'enable': 'true', 'created': '2026-09-09T15:25:11', 'last-modified': '2026-09-09T15:25:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.000311'} 2026-09-09 15:25:13,483 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-09 15:25:13,483 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-31113203 passed 2026-09-09 15:25:13,483 - DEBUG - ====Verifying policy data for ctest-vn-31113203 in API_Server ====== 2026-09-09 15:25:13,483 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-09-09 15:25:13,489 - DEBUG - Requesting: http://10.0.0.185:8082/domain/a8976d84-25ad-4b4f-947b-cb8048bfcd01 2026-09-09 15:25:13,500 - DEBUG - Requesting: http://10.0.0.185:8082/project/93e4aa5b-941c-4834-b18e-d31c8186c4d6 2026-09-09 15:25:13,587 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/4745c708-19a7-4912-8efb-7ede0fcd12d6 2026-09-09 15:25:13,597 - DEBUG - ==>Verifying data for policy with id: 7416d0ba-836c-426f-be0f-89019a1ce1ba, fqn: ['default-domain', 'ctest-TestBasicPolicy-43244514', 'ctest-policy-allow-all-53646435'] 2026-09-09 15:25:13,597 - INFO - VN ctest-vn-31113203 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-09 15:25:13,597 - DEBUG - Verifying the vn in opserver 2026-09-09 15:25:13,597 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-43244514:ctest-vn-31113203 virtual network link through opserver 10.0.0.185 2026-09-09 15:25:13,597 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks 2026-09-09 15:25:13,915 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks 2026-09-09 15:25:13,965 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-43244514:ctest-vn-31113203', 'href': 'http://10.0.0.185:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-43244514:ctest-vn-31113203?flat'} 2026-09-09 15:25:13,965 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-43244514:ctest-vn-31113203 is found in opserver 2026-09-09 15:25:13,976 - DEBUG - Do not have enough data to verify VN in agent 2026-09-09 15:25:13,982 - DEBUG - VRF ids for VN ctest-vn-31113203: {} 2026-09-09 15:25:13,982 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-09-09 15:25:13,988 - DEBUG - Requesting: http://10.0.0.185:8082/domain/a8976d84-25ad-4b4f-947b-cb8048bfcd01 2026-09-09 15:25:14,000 - DEBUG - Requesting: http://10.0.0.185:8082/project/93e4aa5b-941c-4834-b18e-d31c8186c4d6 2026-09-09 15:25:14,080 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/a3378254-58b6-43a9-915a-25f080e2db3f 2026-09-09 15:25:14,091 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/a3378254-58b6-43a9-915a-25f080e2db3f 2026-09-09 15:25:14,101 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/cc9ca37a-9bdf-4782-b970-cce0ac041b02 2026-09-09 15:25:14,108 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/cc9ca37a-9bdf-4782-b970-cce0ac041b02 2026-09-09 15:25:14,114 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/4dbbc0ee-8473-4693-a619-3b44f7f9a980 2026-09-09 15:25:14,121 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-09 15:25:14,121 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/a3378254-58b6-43a9-915a-25f080e2db3f 2026-09-09 15:25:14,130 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/cc9ca37a-9bdf-4782-b970-cce0ac041b02 2026-09-09 15:25:14,145 - INFO - Verified VN network id 13 for VN a3378254-58b6-43a9-915a-25f080e2db3f 2026-09-09 15:25:14,145 - INFO - Verifications in API Server for VN ctest-vn-15595604 passed 2026-09-09 15:25:14,145 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/a3378254-58b6-43a9-915a-25f080e2db3f 2026-09-09 15:25:14,154 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/cc9ca37a-9bdf-4782-b970-cce0ac041b02 2026-09-09 15:25:14,160 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/cc9ca37a-9bdf-4782-b970-cce0ac041b02 2026-09-09 15:25:14,166 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/4dbbc0ee-8473-4693-a619-3b44f7f9a980 2026-09-09 15:25:14,179 - DEBUG - Control-node 10.0.0.185 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-43244514:ctest-vn-15595604', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43244514', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11761012250678543273', 'uuid-lslong': '10473725598288239423'}, 'enable': 'true', 'created': '2026-09-09T15:25:11', 'last-modified': '2026-09-09T15:25:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.455802'} 2026-09-09 15:25:14,187 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-09 15:25:14,187 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-15595604 passed 2026-09-09 15:25:14,187 - DEBUG - ====Verifying policy data for ctest-vn-15595604 in API_Server ====== 2026-09-09 15:25:14,187 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-09-09 15:25:14,193 - DEBUG - Requesting: http://10.0.0.185:8082/domain/a8976d84-25ad-4b4f-947b-cb8048bfcd01 2026-09-09 15:25:14,206 - DEBUG - Requesting: http://10.0.0.185:8082/project/93e4aa5b-941c-4834-b18e-d31c8186c4d6 2026-09-09 15:25:14,282 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/a3378254-58b6-43a9-915a-25f080e2db3f 2026-09-09 15:25:14,291 - DEBUG - ==>Verifying data for policy with id: 7416d0ba-836c-426f-be0f-89019a1ce1ba, fqn: ['default-domain', 'ctest-TestBasicPolicy-43244514', 'ctest-policy-allow-all-53646435'] 2026-09-09 15:25:14,291 - INFO - VN ctest-vn-15595604 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-09 15:25:14,291 - DEBUG - Verifying the vn in opserver 2026-09-09 15:25:14,291 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-43244514:ctest-vn-15595604 virtual network link through opserver 10.0.0.185 2026-09-09 15:25:14,291 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks 2026-09-09 15:25:14,301 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-43244514:ctest-vn-15595604', 'href': 'http://10.0.0.185:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-43244514:ctest-vn-15595604?flat'} 2026-09-09 15:25:14,301 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-43244514:ctest-vn-15595604 is found in opserver 2026-09-09 15:25:14,311 - DEBUG - Do not have enough data to verify VN in agent 2026-09-09 15:25:14,316 - DEBUG - VRF ids for VN ctest-vn-15595604: {} 2026-09-09 15:25:14,379 - DEBUG - Services list from nova: [, , ] 2026-09-09 15:25:14,794 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6270-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6270-1) 2026-09-09 15:25:15,199 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6270-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6270-1) 2026-09-09 15:25:15,199 - INFO - Waiting for VM ctest-TestBasicPolicy-43244514-84620512 to be up.. 2026-09-09 15:25:15,239 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 15:25:20,315 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 15:25:25,398 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 15:25:30,477 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 15:25:35,555 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 15:25:40,641 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 15:25:45,719 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 15:25:50,798 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 15:25:55,884 - DEBUG - VM is in ACTIVE state now 2026-09-09 15:25:55,884 - INFO - VM name : ctest-TestBasicPolicy-43244514-84620512 2026-09-09 15:25:55,980 - DEBUG - VM ctest-TestBasicPolicy-43244514-84620512 ID is 5db8a644-d27b-4aff-8763-9610e07343f3 2026-09-09 15:25:56,005 - DEBUG - VM ctest-TestBasicPolicy-43244514-84620512 launched on Node cn-jenkins-deploy-platform-ansible-os-6270-1 2026-09-09 15:25:56,195 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/5db8a644-d27b-4aff-8763-9610e07343f3 2026-09-09 15:25:56,206 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine-interface/4661d50a-459e-4280-9acd-46fab9f7d7ba 2026-09-09 15:25:57,455 - 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=7.56 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.38 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 3.378/5.470/7.562/2.092 ms') 2026-09-09 15:25:57,455 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-43244514-84620512 passed 2026-09-09 15:25:57,614 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-09 15:25:57,615 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-43244514-84620512, IP 56.131.57.195, Port 22 2026-09-09 15:25:57,685 - 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-09-09 15:25:57,762 - DEBUG - VM ctest-TestBasicPolicy-43244514-84620512 is NOT ready for SSH connections, VM status: ACTIVE 2026-09-09 15:26:02,763 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-09 15:26:02,763 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-43244514-84620512, IP 56.131.57.195, Port 22 2026-09-09 15:26:02,937 - DEBUG - VM ctest-TestBasicPolicy-43244514-84620512 is ready for SSH connections 2026-09-09 15:26:02,937 - INFO - Waiting for VM ctest-TestBasicPolicy-43244514-68171822 to be up.. 2026-09-09 15:26:03,015 - DEBUG - VM is in ACTIVE state now 2026-09-09 15:26:03,015 - INFO - VM name : ctest-TestBasicPolicy-43244514-68171822 2026-09-09 15:26:03,106 - DEBUG - VM ctest-TestBasicPolicy-43244514-68171822 ID is 721d5c10-79b9-4cb8-be08-9482d5f4b9cf 2026-09-09 15:26:03,106 - DEBUG - VM ctest-TestBasicPolicy-43244514-68171822 launched on Node cn-jenkins-deploy-platform-ansible-os-6270-1 2026-09-09 15:26:03,215 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/721d5c10-79b9-4cb8-be08-9482d5f4b9cf 2026-09-09 15:26:03,233 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine-interface/2e391bf8-d687-4a7e-8cb0-7b13bac9ac8f 2026-09-09 15:26:04,520 - 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.62 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.517 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.517/2.070/3.624/1.553 ms') 2026-09-09 15:26:04,520 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-43244514-68171822 passed 2026-09-09 15:26:04,674 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-09 15:26:04,674 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-43244514-68171822, IP 117.253.134.67, Port 22 2026-09-09 15:26:04,835 - DEBUG - VM ctest-TestBasicPolicy-43244514-68171822 is ready for SSH connections 2026-09-09 15:26:04,835 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-09 15:26:04,835 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 117.253.134.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.185, gateway password: c0ntrail123 2026-09-09 15:26:04,835 - DEBUG - ping -s 56 -c 3 -W 1 117.253.134.67 2026-09-09 15:26:08,772 - DEBUG - PING 117.253.134.67 (117.253.134.67): 56 data bytes 64 bytes from 117.253.134.67: seq=0 ttl=63 time=4.646 ms 64 bytes from 117.253.134.67: seq=1 ttl=63 time=1.867 ms 64 bytes from 117.253.134.67: seq=2 ttl=63 time=1.104 ms --- 117.253.134.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.104/2.539/4.646 ms 2026-09-09 15:26:08,772 - INFO - Ping to IP 117.253.134.67 from VM ctest-TestBasicPolicy-43244514-84620512 passed 2026-09-09 15:26:08,954 - DEBUG - Policy Update Response {"network-policy": {"uuid": "7416d0ba-836c-426f-be0f-89019a1ce1ba", "href": "http://10.0.0.185:8082/network-policy/7416d0ba-836c-426f-be0f-89019a1ce1ba"}} 2026-09-09 15:26:08,954 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-09 15:26:08,954 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 117.253.134.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.185, gateway password: c0ntrail123 2026-09-09 15:26:08,954 - DEBUG - ping -s 56 -c 3 -W 1 117.253.134.67 2026-09-09 15:26:12,080 - DEBUG - PING 117.253.134.67 (117.253.134.67): 56 data bytes 64 bytes from 117.253.134.67: seq=0 ttl=63 time=1.642 ms --- 117.253.134.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.642/1.642/1.642 ms 2026-09-09 15:26:12,080 - WARNING - Ping to IP 117.253.134.67 from VM ctest-TestBasicPolicy-43244514-84620512 failed 2026-09-09 15:26:12,081 - INFO - Deleting VM ctest-TestBasicPolicy-43244514-68171822 2026-09-09 15:26:12,157 - INFO - Deleting VM ctest-TestBasicPolicy-43244514-84620512 2026-09-09 15:26:12,661 - INFO - Deleted policy ctest-policy-allow-all-53646435 2026-09-09 15:26:12,662 - INFO - Deleting VN ctest-vn-15595604 2026-09-09 15:26:12,725 - DEBUG - VN a3378254-58b6-43a9-915a-25f080e2db3f still in use: Unable to complete operation on network a3378254-58b6-43a9-915a-25f080e2db3f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8c1cd42e-2f1b-41ae-8616-d81c5cd919a3'] 2026-09-09 15:26:12,725 - WARNING - Deleting VN ctest-vn-15595604 failed..Will retry 2026-09-09 15:26:14,854 - DEBUG - Response for deleting network () 2026-09-09 15:26:14,854 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/cc9ca37a-9bdf-4782-b970-cce0ac041b02 2026-09-09 15:26:14,861 - DEBUG - Response Code: 404 2026-09-09 15:26:14,863 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-09-09 15:26:14,873 - DEBUG - Requesting: http://10.0.0.185:8082/domain/a8976d84-25ad-4b4f-947b-cb8048bfcd01 2026-09-09 15:26:14,930 - DEBUG - Requesting: http://10.0.0.185:8082/project/93e4aa5b-941c-4834-b18e-d31c8186c4d6 2026-09-09 15:26:15,018 - INFO - Validated that VN ctest-vn-15595604 is not found in API Server 2026-09-09 15:26:15,034 - DEBUG - VN ctest-vn-15595604 is not present in Agent 10.0.0.185 2026-09-09 15:26:15,034 - INFO - Validated that VN ctest-vn-15595604 is not in any agent 2026-09-09 15:26:15,050 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-15595604 info 2026-09-09 15:26:15,050 - INFO - Deleting VN ctest-vn-31113203 2026-09-09 15:26:15,155 - DEBUG - Response for deleting network () 2026-09-09 15:26:15,155 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/bbb772fd-2624-408d-8bf7-154d6c025f2f 2026-09-09 15:26:15,163 - DEBUG - Response Code: 404 2026-09-09 15:26:15,164 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-09-09 15:26:15,170 - DEBUG - Requesting: http://10.0.0.185:8082/domain/a8976d84-25ad-4b4f-947b-cb8048bfcd01 2026-09-09 15:26:15,224 - DEBUG - Requesting: http://10.0.0.185:8082/project/93e4aa5b-941c-4834-b18e-d31c8186c4d6 2026-09-09 15:26:15,307 - INFO - Validated that VN ctest-vn-31113203 is not found in API Server 2026-09-09 15:26:15,319 - DEBUG - VN ctest-vn-31113203 is not present in Agent 10.0.0.185 2026-09-09 15:26:15,319 - INFO - Validated that VN ctest-vn-31113203 is not in any agent 2026-09-09 15:26:15,338 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-31113203 info 2026-09-09 15:26:15,599 - DEBUG - No XMPP flaps were noticed during the test 2026-09-09 15:26:15,600 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:05] 2026-09-09 15:26:15,600 - INFO - -------------------------------------------------------------------------------- 2026-09-09 15:26:16,324 - INFO - Deleted project: ctest-TestBasicPolicy-43244514, ID : 93e4aa5b-941c-4834-b18e-d31c8186c4d6