2026-03-03 16:20:58,123 - INFO - Domain Default found not creating 2026-03-03 16:20:58,314 - INFO - Project ctest-TestBasicPolicy-48177128 not found, creating it 2026-03-03 16:20:58,800 - INFO - Created Project:ctest-TestBasicPolicy-48177128, ID : 8971dbc2-d438-45a8-987f-99ff7c24fa59 2026-03-03 16:21:00,364 - INFO - ================================================================================ 2026-03-03 16:21:00,365 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-03 16:21:00,365 - 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-03-03 16:21:00,631 - DEBUG - Nothing to compare xmpp stats {'10.0.0.73': {'10.20.0.192': '0'}} with 2026-03-03 16:21:00,631 - INFO - Initial checks done. Running the testcase now 2026-03-03 16:21:00,631 - INFO - 2026-03-03 16:21:01,214 - DEBUG - Response for create_network : {'network': {'id': '2580bee3-5c3b-44fd-8b9b-ed3e687c9076', 'name': 'ctest-vn-40006637', 'tenant_id': '8971dbc2d43845a8987f99ff7c24fa59', 'project_id': '8971dbc2d43845a8987f99ff7c24fa59', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48177128', 'ctest-vn-40006637'], 'port_security_enabled': True, 'description': ''}} 2026-03-03 16:21:01,420 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b6bc3526-10f5-4ae5-80f8-6e7c8eb4881e', 'name': '', 'tenant_id': '8971dbc2d43845a8987f99ff7c24fa59', 'network_id': '2580bee3-5c3b-44fd-8b9b-ed3e687c9076', 'ip_version': 4, 'cidr': '154.66.149.128/26', 'allocation_pools': [{'start': '154.66.149.130', 'end': '154.66.149.190'}], 'gateway_ip': '154.66.149.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '154.66.149.130', 'tags': [], 'project_id': '8971dbc2d43845a8987f99ff7c24fa59'}} 2026-03-03 16:21:01,439 - INFO - Created VN ctest-vn-40006637 2026-03-03 16:21:01,491 - DEBUG - VN ctest-vn-40006637 UUID is 2580bee3-5c3b-44fd-8b9b-ed3e687c9076 2026-03-03 16:21:01,794 - DEBUG - Response for create_network : {'network': {'id': 'ed2b53b8-a288-4251-a3c7-ce4bdb00cc17', 'name': 'ctest-vn-15683620', 'tenant_id': '8971dbc2d43845a8987f99ff7c24fa59', 'project_id': '8971dbc2d43845a8987f99ff7c24fa59', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48177128', 'ctest-vn-15683620'], 'port_security_enabled': True, 'description': ''}} 2026-03-03 16:21:01,994 - DEBUG - Response for create_subnet : {'subnet': {'id': '63bb1897-63c8-4a57-82a0-2ff76a59a15a', 'name': '', 'tenant_id': '8971dbc2d43845a8987f99ff7c24fa59', 'network_id': 'ed2b53b8-a288-4251-a3c7-ce4bdb00cc17', 'ip_version': 4, 'cidr': '132.217.207.0/26', 'allocation_pools': [{'start': '132.217.207.2', 'end': '132.217.207.62'}], 'gateway_ip': '132.217.207.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '132.217.207.2', 'tags': [], 'project_id': '8971dbc2d43845a8987f99ff7c24fa59'}} 2026-03-03 16:21:02,013 - INFO - Created VN ctest-vn-15683620 2026-03-03 16:21:02,066 - DEBUG - VN ctest-vn-15683620 UUID is ed2b53b8-a288-4251-a3c7-ce4bdb00cc17 2026-03-03 16:21:02,184 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-48177128:ctest-vn-40006637, 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-48177128:ctest-vn-15683620, 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-03-03 16:21:02,493 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2580bee3-5c3b-44fd-8b9b-ed3e687c9076', 'name': 'ctest-vn-40006637', 'tenant_id': '8971dbc2d43845a8987f99ff7c24fa59', 'project_id': '8971dbc2d43845a8987f99ff7c24fa59', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b6bc3526-10f5-4ae5-80f8-6e7c8eb4881e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48177128', 'ctest-vn-40006637'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-48177128', 'ctest-policy-allow-all-14201787']], 'subnet_ipam': [{'subnet_cidr': '154.66.149.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-03 16:21:02,724 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ed2b53b8-a288-4251-a3c7-ce4bdb00cc17', 'name': 'ctest-vn-15683620', 'tenant_id': '8971dbc2d43845a8987f99ff7c24fa59', 'project_id': '8971dbc2d43845a8987f99ff7c24fa59', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['63bb1897-63c8-4a57-82a0-2ff76a59a15a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48177128', 'ctest-vn-15683620'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-48177128', 'ctest-policy-allow-all-14201787']], 'subnet_ipam': [{'subnet_cidr': '132.217.207.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-03 16:21:02,883 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2026-03-03 16:21:03,202 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2026-03-03 16:21:03,237 - DEBUG - Requesting: http://10.0.0.73:8082/domain/5eb03227-a908-476a-b987-492475270c17 2026-03-03 16:21:03,251 - DEBUG - Requesting: http://10.0.0.73:8082/project/8971dbc2-d438-45a8-987f-99ff7c24fa59 2026-03-03 16:21:03,328 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/2580bee3-5c3b-44fd-8b9b-ed3e687c9076 2026-03-03 16:21:03,339 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/2580bee3-5c3b-44fd-8b9b-ed3e687c9076 2026-03-03 16:21:03,349 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/f57c2ce0-10f4-42f0-921e-c6f95e1587d0 2026-03-03 16:21:03,358 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/f57c2ce0-10f4-42f0-921e-c6f95e1587d0 2026-03-03 16:21:03,366 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/c3aa55d3-8e10-4efd-bfaa-c26becedbcf5 2026-03-03 16:21:03,373 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-03 16:21:03,374 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/2580bee3-5c3b-44fd-8b9b-ed3e687c9076 2026-03-03 16:21:03,383 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/f57c2ce0-10f4-42f0-921e-c6f95e1587d0 2026-03-03 16:21:03,399 - INFO - Verified VN network id 11 for VN 2580bee3-5c3b-44fd-8b9b-ed3e687c9076 2026-03-03 16:21:03,400 - INFO - Verifications in API Server for VN ctest-vn-40006637 passed 2026-03-03 16:21:03,400 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/2580bee3-5c3b-44fd-8b9b-ed3e687c9076 2026-03-03 16:21:03,411 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/f57c2ce0-10f4-42f0-921e-c6f95e1587d0 2026-03-03 16:21:03,421 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/f57c2ce0-10f4-42f0-921e-c6f95e1587d0 2026-03-03 16:21:03,431 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/c3aa55d3-8e10-4efd-bfaa-c26becedbcf5 2026-03-03 16:21:03,446 - DEBUG - Control-node 10.0.0.73 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48177128:ctest-vn-40006637', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48177128', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2702369660136539389', 'uuid-lslong': '10059895044958883958'}, 'enable': 'true', 'created': '2026-03-03T16:21:01', 'last-modified': '2026-03-03T16:21:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.978494'} 2026-03-03 16:21:03,452 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-03 16:21:03,452 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-40006637 passed 2026-03-03 16:21:03,453 - DEBUG - ====Verifying policy data for ctest-vn-40006637 in API_Server ====== 2026-03-03 16:21:03,453 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2026-03-03 16:21:03,459 - DEBUG - Requesting: http://10.0.0.73:8082/domain/5eb03227-a908-476a-b987-492475270c17 2026-03-03 16:21:03,469 - DEBUG - Requesting: http://10.0.0.73:8082/project/8971dbc2-d438-45a8-987f-99ff7c24fa59 2026-03-03 16:21:03,543 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/2580bee3-5c3b-44fd-8b9b-ed3e687c9076 2026-03-03 16:21:03,554 - DEBUG - ==>Verifying data for policy with id: 3fbea0fc-cf7b-4525-ab8c-ed3e4a4df37b, fqn: ['default-domain', 'ctest-TestBasicPolicy-48177128', 'ctest-policy-allow-all-14201787'] 2026-03-03 16:21:03,554 - INFO - VN ctest-vn-40006637 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-03 16:21:03,554 - DEBUG - Verifying the vn in opserver 2026-03-03 16:21:03,554 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48177128:ctest-vn-40006637 virtual network link through opserver 10.0.0.73 2026-03-03 16:21:03,554 - DEBUG - Requesting: http://10.0.0.73:8081/analytics/uves/virtual-networks 2026-03-03 16:21:03,853 - DEBUG - Requesting: http://10.0.0.73:8081/analytics/uves/virtual-networks 2026-03-03 16:21:03,933 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48177128:ctest-vn-40006637', 'href': 'http://10.0.0.73:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48177128:ctest-vn-40006637?flat'} 2026-03-03 16:21:03,933 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-48177128:ctest-vn-40006637 is found in opserver 2026-03-03 16:21:03,945 - DEBUG - Do not have enough data to verify VN in agent 2026-03-03 16:21:03,950 - DEBUG - VRF ids for VN ctest-vn-40006637: {} 2026-03-03 16:21:03,950 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2026-03-03 16:21:03,958 - DEBUG - Requesting: http://10.0.0.73:8082/domain/5eb03227-a908-476a-b987-492475270c17 2026-03-03 16:21:03,970 - DEBUG - Requesting: http://10.0.0.73:8082/project/8971dbc2-d438-45a8-987f-99ff7c24fa59 2026-03-03 16:21:04,046 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/ed2b53b8-a288-4251-a3c7-ce4bdb00cc17 2026-03-03 16:21:04,065 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/ed2b53b8-a288-4251-a3c7-ce4bdb00cc17 2026-03-03 16:21:04,075 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/f60d90b9-c039-4349-b65c-19f8ae443e89 2026-03-03 16:21:04,084 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/f60d90b9-c039-4349-b65c-19f8ae443e89 2026-03-03 16:21:04,093 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/d090cfa7-6fff-4327-afa5-619cd23816c7 2026-03-03 16:21:04,103 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-03 16:21:04,103 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/ed2b53b8-a288-4251-a3c7-ce4bdb00cc17 2026-03-03 16:21:04,114 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/f60d90b9-c039-4349-b65c-19f8ae443e89 2026-03-03 16:21:04,131 - INFO - Verified VN network id 12 for VN ed2b53b8-a288-4251-a3c7-ce4bdb00cc17 2026-03-03 16:21:04,131 - INFO - Verifications in API Server for VN ctest-vn-15683620 passed 2026-03-03 16:21:04,131 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/ed2b53b8-a288-4251-a3c7-ce4bdb00cc17 2026-03-03 16:21:04,142 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/f60d90b9-c039-4349-b65c-19f8ae443e89 2026-03-03 16:21:04,151 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/f60d90b9-c039-4349-b65c-19f8ae443e89 2026-03-03 16:21:04,159 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/d090cfa7-6fff-4327-afa5-619cd23816c7 2026-03-03 16:21:04,172 - DEBUG - Control-node 10.0.0.73 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48177128:ctest-vn-15683620', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48177128', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17089845263453405777', 'uuid-lslong': '11801628173739805719'}, 'enable': 'true', 'created': '2026-03-03T16:21:01', 'last-modified': '2026-03-03T16:21:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.466884'} 2026-03-03 16:21:04,178 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-03 16:21:04,178 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-15683620 passed 2026-03-03 16:21:04,178 - DEBUG - ====Verifying policy data for ctest-vn-15683620 in API_Server ====== 2026-03-03 16:21:04,178 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2026-03-03 16:21:04,185 - DEBUG - Requesting: http://10.0.0.73:8082/domain/5eb03227-a908-476a-b987-492475270c17 2026-03-03 16:21:04,197 - DEBUG - Requesting: http://10.0.0.73:8082/project/8971dbc2-d438-45a8-987f-99ff7c24fa59 2026-03-03 16:21:04,276 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/ed2b53b8-a288-4251-a3c7-ce4bdb00cc17 2026-03-03 16:21:04,286 - DEBUG - ==>Verifying data for policy with id: 3fbea0fc-cf7b-4525-ab8c-ed3e4a4df37b, fqn: ['default-domain', 'ctest-TestBasicPolicy-48177128', 'ctest-policy-allow-all-14201787'] 2026-03-03 16:21:04,287 - INFO - VN ctest-vn-15683620 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-03 16:21:04,287 - DEBUG - Verifying the vn in opserver 2026-03-03 16:21:04,287 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48177128:ctest-vn-15683620 virtual network link through opserver 10.0.0.73 2026-03-03 16:21:04,287 - DEBUG - Requesting: http://10.0.0.73:8081/analytics/uves/virtual-networks 2026-03-03 16:21:04,299 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48177128:ctest-vn-15683620', 'href': 'http://10.0.0.73:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48177128:ctest-vn-15683620?flat'} 2026-03-03 16:21:04,299 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-48177128:ctest-vn-15683620 is found in opserver 2026-03-03 16:21:04,311 - DEBUG - Do not have enough data to verify VN in agent 2026-03-03 16:21:04,316 - DEBUG - VRF ids for VN ctest-vn-15683620: {} 2026-03-03 16:21:04,395 - DEBUG - Services list from nova: [, , ] 2026-03-03 16:21:05,481 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5426-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5426-1) 2026-03-03 16:21:06,651 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5426-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5426-1) 2026-03-03 16:21:06,652 - INFO - Waiting for VM ctest-TestBasicPolicy-48177128-13001977 to be up.. 2026-03-03 16:21:06,739 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-03 16:21:11,843 - DEBUG - VM is in ACTIVE state now 2026-03-03 16:21:11,843 - INFO - VM name : ctest-TestBasicPolicy-48177128-13001977 2026-03-03 16:21:11,949 - DEBUG - VM ctest-TestBasicPolicy-48177128-13001977 ID is 28ae1eb6-1fa1-43a3-829e-70586f75c593 2026-03-03 16:21:11,974 - DEBUG - VM ctest-TestBasicPolicy-48177128-13001977 launched on Node cn-jenkins-deploy-platform-ansible-os-5426-1 2026-03-03 16:21:12,057 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/28ae1eb6-1fa1-43a3-829e-70586f75c593 2026-03-03 16:21:12,067 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/5aeda48d-5856-43c7-b90b-64bcfec751f1 2026-03-03 16:21:15,330 - 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-03-03 16:21:15,330 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-48177128-13001977 failed! 2026-03-03 16:21:15,391 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-48177128:ctest-vn-40006637 is 154.66.149.129 and allocation pool is NOT set 2026-03-03 16:21:17,461 - 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=10.1 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.25 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 3.245/6.660/10.076/3.415 ms') 2026-03-03 16:21:17,461 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-48177128-13001977 passed 2026-03-03 16:21:17,615 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-03 16:21:17,615 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-48177128-13001977, IP 154.66.149.131, Port 22 2026-03-03 16:21:17,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-03-03 16:21:17,772 - DEBUG - VM ctest-TestBasicPolicy-48177128-13001977 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-03 16:21:22,773 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-03 16:21:22,773 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-48177128-13001977, IP 154.66.149.131, Port 22 2026-03-03 16:21:22,948 - DEBUG - VM ctest-TestBasicPolicy-48177128-13001977 is ready for SSH connections 2026-03-03 16:21:22,949 - INFO - Waiting for VM ctest-TestBasicPolicy-48177128-41161042 to be up.. 2026-03-03 16:21:23,039 - DEBUG - VM is in ACTIVE state now 2026-03-03 16:21:23,039 - INFO - VM name : ctest-TestBasicPolicy-48177128-41161042 2026-03-03 16:21:23,148 - DEBUG - VM ctest-TestBasicPolicy-48177128-41161042 ID is 5224282e-d413-47fb-82fd-7e1f5fdba7bf 2026-03-03 16:21:23,149 - DEBUG - VM ctest-TestBasicPolicy-48177128-41161042 launched on Node cn-jenkins-deploy-platform-ansible-os-5426-1 2026-03-03 16:21:23,237 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/5224282e-d413-47fb-82fd-7e1f5fdba7bf 2026-03-03 16:21:23,249 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/02252db2-ac5d-4119-b5f0-7e45ddacfe40 2026-03-03 16:21:24,499 - 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.55 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.477 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.477/2.015/3.553/1.538 ms') 2026-03-03 16:21:24,499 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-48177128-41161042 passed 2026-03-03 16:21:24,654 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-03 16:21:24,655 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-48177128-41161042, IP 132.217.207.3, Port 22 2026-03-03 16:21:24,820 - DEBUG - VM ctest-TestBasicPolicy-48177128-41161042 is ready for SSH connections 2026-03-03 16:21:24,821 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-03 16:21:24,821 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 132.217.207.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2026-03-03 16:21:24,821 - DEBUG - ping -s 56 -c 3 -W 1 132.217.207.3 2026-03-03 16:21:28,935 - DEBUG - PING 132.217.207.3 (132.217.207.3): 56 data bytes 64 bytes from 132.217.207.3: seq=0 ttl=63 time=3.580 ms 64 bytes from 132.217.207.3: seq=1 ttl=63 time=1.127 ms 64 bytes from 132.217.207.3: seq=2 ttl=63 time=1.593 ms --- 132.217.207.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.127/2.100/3.580 ms 2026-03-03 16:21:28,935 - INFO - Ping to IP 132.217.207.3 from VM ctest-TestBasicPolicy-48177128-13001977 passed 2026-03-03 16:21:29,122 - DEBUG - Policy Update Response {"network-policy": {"uuid": "3fbea0fc-cf7b-4525-ab8c-ed3e4a4df37b", "href": "http://10.0.0.73:8082/network-policy/3fbea0fc-cf7b-4525-ab8c-ed3e4a4df37b"}} 2026-03-03 16:21:29,123 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-03 16:21:29,123 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 132.217.207.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2026-03-03 16:21:29,123 - DEBUG - ping -s 56 -c 3 -W 1 132.217.207.3 2026-03-03 16:21:32,343 - DEBUG - PING 132.217.207.3 (132.217.207.3): 56 data bytes --- 132.217.207.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-03-03 16:21:32,343 - WARNING - Ping to IP 132.217.207.3 from VM ctest-TestBasicPolicy-48177128-13001977 failed 2026-03-03 16:21:32,343 - INFO - Deleting VM ctest-TestBasicPolicy-48177128-41161042 2026-03-03 16:21:32,426 - INFO - Deleting VM ctest-TestBasicPolicy-48177128-13001977 2026-03-03 16:21:32,863 - INFO - Deleted policy ctest-policy-allow-all-14201787 2026-03-03 16:21:32,864 - INFO - Deleting VN ctest-vn-15683620 2026-03-03 16:21:32,898 - DEBUG - VN ed2b53b8-a288-4251-a3c7-ce4bdb00cc17 still in use: Unable to complete operation on network ed2b53b8-a288-4251-a3c7-ce4bdb00cc17. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-584e8126-5bbb-4019-bf07-2ba75f1f0db0'] 2026-03-03 16:21:32,898 - WARNING - Deleting VN ctest-vn-15683620 failed..Will retry 2026-03-03 16:21:35,016 - DEBUG - Response for deleting network () 2026-03-03 16:21:35,016 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/f60d90b9-c039-4349-b65c-19f8ae443e89 2026-03-03 16:21:35,023 - DEBUG - Response Code: 404 2026-03-03 16:21:35,023 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2026-03-03 16:21:35,030 - DEBUG - Requesting: http://10.0.0.73:8082/domain/5eb03227-a908-476a-b987-492475270c17 2026-03-03 16:21:35,085 - DEBUG - Requesting: http://10.0.0.73:8082/project/8971dbc2-d438-45a8-987f-99ff7c24fa59 2026-03-03 16:21:35,158 - INFO - Validated that VN ctest-vn-15683620 is not found in API Server 2026-03-03 16:21:35,169 - DEBUG - VN ctest-vn-15683620 is not present in Agent 10.0.0.73 2026-03-03 16:21:35,169 - INFO - Validated that VN ctest-vn-15683620 is not in any agent 2026-03-03 16:21:35,184 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-15683620 info 2026-03-03 16:21:35,184 - INFO - Deleting VN ctest-vn-40006637 2026-03-03 16:21:35,299 - DEBUG - Response for deleting network () 2026-03-03 16:21:35,299 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/f57c2ce0-10f4-42f0-921e-c6f95e1587d0 2026-03-03 16:21:35,306 - DEBUG - Response Code: 404 2026-03-03 16:21:35,306 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2026-03-03 16:21:35,311 - DEBUG - Requesting: http://10.0.0.73:8082/domain/5eb03227-a908-476a-b987-492475270c17 2026-03-03 16:21:35,365 - DEBUG - Requesting: http://10.0.0.73:8082/project/8971dbc2-d438-45a8-987f-99ff7c24fa59 2026-03-03 16:21:35,445 - INFO - Validated that VN ctest-vn-40006637 is not found in API Server 2026-03-03 16:21:35,457 - DEBUG - VN ctest-vn-40006637 is not present in Agent 10.0.0.73 2026-03-03 16:21:35,457 - INFO - Validated that VN ctest-vn-40006637 is not in any agent 2026-03-03 16:21:35,476 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-40006637 info 2026-03-03 16:21:35,735 - DEBUG - No XMPP flaps were noticed during the test 2026-03-03 16:21:35,735 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2026-03-03 16:21:35,735 - INFO - -------------------------------------------------------------------------------- 2026-03-03 16:21:36,434 - INFO - Deleted project: ctest-TestBasicPolicy-48177128, ID : 8971dbc2-d438-45a8-987f-99ff7c24fa59