2026-11-01 04:09:09,020 - INFO - Domain Default found not creating 2026-11-01 04:09:09,146 - INFO - Project ctest-TestBasicPolicy-04009671 not found, creating it 2026-11-01 04:09:09,594 - INFO - Created Project:ctest-TestBasicPolicy-04009671, ID : fd2035a3-25fa-4f82-82e4-dd094a9ffb42 2026-11-01 04:09:10,997 - INFO - ================================================================================ 2026-11-01 04:09:10,997 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-11-01 04:09:10,998 - 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-11-01 04:09:11,259 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.17': '0'}} with 2026-11-01 04:09:11,259 - INFO - Initial checks done. Running the testcase now 2026-11-01 04:09:11,259 - INFO - 2026-11-01 04:09:11,819 - DEBUG - Response for create_network : {'network': {'id': 'e81ec67d-7ea2-4a76-8e29-4555ea2eb31c', 'name': 'ctest-vn-12617265', 'tenant_id': 'fd2035a325fa4f8282e4dd094a9ffb42', 'project_id': 'fd2035a325fa4f8282e4dd094a9ffb42', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04009671', 'ctest-vn-12617265'], 'port_security_enabled': True, 'description': ''}} 2026-11-01 04:09:12,039 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a91491e1-5e13-4cd2-8ac2-f67e3974adb9', 'name': '', 'tenant_id': 'fd2035a325fa4f8282e4dd094a9ffb42', 'network_id': 'e81ec67d-7ea2-4a76-8e29-4555ea2eb31c', 'ip_version': 4, 'cidr': '105.245.75.128/26', 'allocation_pools': [{'start': '105.245.75.130', 'end': '105.245.75.190'}], 'gateway_ip': '105.245.75.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '105.245.75.130', 'tags': [], 'project_id': 'fd2035a325fa4f8282e4dd094a9ffb42'}} 2026-11-01 04:09:12,051 - INFO - Created VN ctest-vn-12617265 2026-11-01 04:09:12,102 - DEBUG - VN ctest-vn-12617265 UUID is e81ec67d-7ea2-4a76-8e29-4555ea2eb31c 2026-11-01 04:09:12,388 - DEBUG - Response for create_network : {'network': {'id': '8a6e34dd-c56a-423f-8ca5-b2bc6f0fa8d0', 'name': 'ctest-vn-38985227', 'tenant_id': 'fd2035a325fa4f8282e4dd094a9ffb42', 'project_id': 'fd2035a325fa4f8282e4dd094a9ffb42', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04009671', 'ctest-vn-38985227'], 'port_security_enabled': True, 'description': ''}} 2026-11-01 04:09:12,558 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e535e7d8-cbb4-49ab-ae61-4427e03b7a38', 'name': '', 'tenant_id': 'fd2035a325fa4f8282e4dd094a9ffb42', 'network_id': '8a6e34dd-c56a-423f-8ca5-b2bc6f0fa8d0', 'ip_version': 4, 'cidr': '185.76.219.128/26', 'allocation_pools': [{'start': '185.76.219.130', 'end': '185.76.219.190'}], 'gateway_ip': '185.76.219.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '185.76.219.130', 'tags': [], 'project_id': 'fd2035a325fa4f8282e4dd094a9ffb42'}} 2026-11-01 04:09:12,570 - INFO - Created VN ctest-vn-38985227 2026-11-01 04:09:12,622 - DEBUG - VN ctest-vn-38985227 UUID is 8a6e34dd-c56a-423f-8ca5-b2bc6f0fa8d0 2026-11-01 04:09:12,754 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-04009671:ctest-vn-12617265, 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-04009671:ctest-vn-38985227, 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-11-01 04:09:13,048 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e81ec67d-7ea2-4a76-8e29-4555ea2eb31c', 'name': 'ctest-vn-12617265', 'tenant_id': 'fd2035a325fa4f8282e4dd094a9ffb42', 'project_id': 'fd2035a325fa4f8282e4dd094a9ffb42', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['a91491e1-5e13-4cd2-8ac2-f67e3974adb9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04009671', 'ctest-vn-12617265'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-04009671', 'ctest-policy-allow-all-34036698']], 'subnet_ipam': [{'subnet_cidr': '105.245.75.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-01 04:09:13,261 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8a6e34dd-c56a-423f-8ca5-b2bc6f0fa8d0', 'name': 'ctest-vn-38985227', 'tenant_id': 'fd2035a325fa4f8282e4dd094a9ffb42', 'project_id': 'fd2035a325fa4f8282e4dd094a9ffb42', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['e535e7d8-cbb4-49ab-ae61-4427e03b7a38'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04009671', 'ctest-vn-38985227'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-04009671', 'ctest-policy-allow-all-34036698']], 'subnet_ipam': [{'subnet_cidr': '185.76.219.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-01 04:09:13,410 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-11-01 04:09:13,722 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-11-01 04:09:13,745 - DEBUG - Requesting: http://10.0.0.161:8082/domain/1182fa42-43d7-4661-ad1c-0f1294ce4374 2026-11-01 04:09:13,756 - DEBUG - Requesting: http://10.0.0.161:8082/project/fd2035a3-25fa-4f82-82e4-dd094a9ffb42 2026-11-01 04:09:13,824 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/e81ec67d-7ea2-4a76-8e29-4555ea2eb31c 2026-11-01 04:09:13,834 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/e81ec67d-7ea2-4a76-8e29-4555ea2eb31c 2026-11-01 04:09:13,841 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/c5bbab3e-a2c1-4aa5-abf2-4eed2068e420 2026-11-01 04:09:13,847 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/c5bbab3e-a2c1-4aa5-abf2-4eed2068e420 2026-11-01 04:09:13,852 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/d130c08c-4956-4aec-bc4d-4495a625ab33 2026-11-01 04:09:13,857 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-01 04:09:13,857 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/e81ec67d-7ea2-4a76-8e29-4555ea2eb31c 2026-11-01 04:09:13,864 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/c5bbab3e-a2c1-4aa5-abf2-4eed2068e420 2026-11-01 04:09:13,874 - INFO - Verified VN network id 10 for VN e81ec67d-7ea2-4a76-8e29-4555ea2eb31c 2026-11-01 04:09:13,874 - INFO - Verifications in API Server for VN ctest-vn-12617265 passed 2026-11-01 04:09:13,874 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/e81ec67d-7ea2-4a76-8e29-4555ea2eb31c 2026-11-01 04:09:13,881 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/c5bbab3e-a2c1-4aa5-abf2-4eed2068e420 2026-11-01 04:09:13,885 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/c5bbab3e-a2c1-4aa5-abf2-4eed2068e420 2026-11-01 04:09:13,891 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/d130c08c-4956-4aec-bc4d-4495a625ab33 2026-11-01 04:09:13,901 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-04009671:ctest-vn-12617265', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-04009671', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16726024308398377590', 'uuid-lslong': '10243795062734369564'}, 'enable': 'true', 'created': '2026-11-01T04:09:11', 'last-modified': '2026-11-01T04:09:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.878455'} 2026-11-01 04:09:13,907 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-01 04:09:13,907 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-12617265 passed 2026-11-01 04:09:13,907 - DEBUG - ====Verifying policy data for ctest-vn-12617265 in API_Server ====== 2026-11-01 04:09:13,907 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-11-01 04:09:13,911 - DEBUG - Requesting: http://10.0.0.161:8082/domain/1182fa42-43d7-4661-ad1c-0f1294ce4374 2026-11-01 04:09:13,920 - DEBUG - Requesting: http://10.0.0.161:8082/project/fd2035a3-25fa-4f82-82e4-dd094a9ffb42 2026-11-01 04:09:13,987 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/e81ec67d-7ea2-4a76-8e29-4555ea2eb31c 2026-11-01 04:09:13,994 - DEBUG - ==>Verifying data for policy with id: 0aa609c8-4c1e-43d5-ae21-d59e44f3cb5c, fqn: ['default-domain', 'ctest-TestBasicPolicy-04009671', 'ctest-policy-allow-all-34036698'] 2026-11-01 04:09:13,994 - INFO - VN ctest-vn-12617265 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-01 04:09:13,995 - DEBUG - Verifying the vn in opserver 2026-11-01 04:09:13,995 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-04009671:ctest-vn-12617265 virtual network link through opserver 10.0.0.161 2026-11-01 04:09:13,995 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-11-01 04:09:14,306 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-11-01 04:09:14,349 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-04009671:ctest-vn-12617265', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-04009671:ctest-vn-12617265?flat'} 2026-11-01 04:09:14,349 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-04009671:ctest-vn-12617265 is found in opserver 2026-11-01 04:09:14,358 - DEBUG - Do not have enough data to verify VN in agent 2026-11-01 04:09:14,361 - DEBUG - VRF ids for VN ctest-vn-12617265: {} 2026-11-01 04:09:14,361 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-11-01 04:09:14,366 - DEBUG - Requesting: http://10.0.0.161:8082/domain/1182fa42-43d7-4661-ad1c-0f1294ce4374 2026-11-01 04:09:14,374 - DEBUG - Requesting: http://10.0.0.161:8082/project/fd2035a3-25fa-4f82-82e4-dd094a9ffb42 2026-11-01 04:09:14,444 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/8a6e34dd-c56a-423f-8ca5-b2bc6f0fa8d0 2026-11-01 04:09:14,453 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/8a6e34dd-c56a-423f-8ca5-b2bc6f0fa8d0 2026-11-01 04:09:14,460 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/5a9a710a-836f-4c19-96ad-10ac16129f8c 2026-11-01 04:09:14,466 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/5a9a710a-836f-4c19-96ad-10ac16129f8c 2026-11-01 04:09:14,471 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/74f44aa2-25e0-4a87-a756-97d9a6ec520c 2026-11-01 04:09:14,475 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-01 04:09:14,475 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/8a6e34dd-c56a-423f-8ca5-b2bc6f0fa8d0 2026-11-01 04:09:14,482 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/5a9a710a-836f-4c19-96ad-10ac16129f8c 2026-11-01 04:09:14,492 - INFO - Verified VN network id 11 for VN 8a6e34dd-c56a-423f-8ca5-b2bc6f0fa8d0 2026-11-01 04:09:14,492 - INFO - Verifications in API Server for VN ctest-vn-38985227 passed 2026-11-01 04:09:14,492 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/8a6e34dd-c56a-423f-8ca5-b2bc6f0fa8d0 2026-11-01 04:09:14,499 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/5a9a710a-836f-4c19-96ad-10ac16129f8c 2026-11-01 04:09:14,503 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/5a9a710a-836f-4c19-96ad-10ac16129f8c 2026-11-01 04:09:14,508 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/74f44aa2-25e0-4a87-a756-97d9a6ec520c 2026-11-01 04:09:14,517 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-04009671:ctest-vn-38985227', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-04009671', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9974968351776719423', 'uuid-lslong': '10134703058854062288'}, 'enable': 'true', 'created': '2026-11-01T04:09:12', 'last-modified': '2026-11-01T04:09:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.278538'} 2026-11-01 04:09:14,524 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-01 04:09:14,524 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-38985227 passed 2026-11-01 04:09:14,524 - DEBUG - ====Verifying policy data for ctest-vn-38985227 in API_Server ====== 2026-11-01 04:09:14,524 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-11-01 04:09:14,528 - DEBUG - Requesting: http://10.0.0.161:8082/domain/1182fa42-43d7-4661-ad1c-0f1294ce4374 2026-11-01 04:09:14,536 - DEBUG - Requesting: http://10.0.0.161:8082/project/fd2035a3-25fa-4f82-82e4-dd094a9ffb42 2026-11-01 04:09:14,604 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/8a6e34dd-c56a-423f-8ca5-b2bc6f0fa8d0 2026-11-01 04:09:14,611 - DEBUG - ==>Verifying data for policy with id: 0aa609c8-4c1e-43d5-ae21-d59e44f3cb5c, fqn: ['default-domain', 'ctest-TestBasicPolicy-04009671', 'ctest-policy-allow-all-34036698'] 2026-11-01 04:09:14,611 - INFO - VN ctest-vn-38985227 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-01 04:09:14,611 - DEBUG - Verifying the vn in opserver 2026-11-01 04:09:14,612 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-04009671:ctest-vn-38985227 virtual network link through opserver 10.0.0.161 2026-11-01 04:09:14,612 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-11-01 04:09:14,620 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-04009671:ctest-vn-38985227', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-04009671:ctest-vn-38985227?flat'} 2026-11-01 04:09:14,620 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-04009671:ctest-vn-38985227 is found in opserver 2026-11-01 04:09:14,628 - DEBUG - Do not have enough data to verify VN in agent 2026-11-01 04:09:14,632 - DEBUG - VRF ids for VN ctest-vn-38985227: {} 2026-11-01 04:09:14,678 - DEBUG - Services list from nova: [, , ] 2026-11-01 04:09:15,071 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6458-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6458-1) 2026-11-01 04:09:15,356 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6458-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6458-1) 2026-11-01 04:09:15,356 - INFO - Waiting for VM ctest-TestBasicPolicy-04009671-41316176 to be up.. 2026-11-01 04:09:15,384 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-01 04:09:20,448 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-01 04:09:25,511 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-01 04:09:30,572 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-01 04:09:35,665 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-01 04:09:40,733 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-01 04:09:45,816 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-01 04:09:50,893 - DEBUG - VM is in ACTIVE state now 2026-11-01 04:09:50,893 - INFO - VM name : ctest-TestBasicPolicy-04009671-41316176 2026-11-01 04:09:50,955 - DEBUG - VM ctest-TestBasicPolicy-04009671-41316176 ID is 88c4e78b-9091-44d4-a6a8-022bbb29d979 2026-11-01 04:09:50,974 - DEBUG - VM ctest-TestBasicPolicy-04009671-41316176 launched on Node cn-jenkins-deploy-platform-ansible-os-6458-1 2026-11-01 04:09:51,045 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/88c4e78b-9091-44d4-a6a8-022bbb29d979 2026-11-01 04:09:51,054 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/49f7a9d2-5988-4cb3-81c6-918776d3e2e9 2026-11-01 04:09:54,295 - 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 1014ms') 2026-11-01 04:09:54,296 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-04009671-41316176 failed! 2026-11-01 04:09:54,351 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-04009671:ctest-vn-12617265 is 105.245.75.129 and allocation pool is NOT set 2026-11-01 04:09:56,416 - 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.05 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.363 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.363/2.707/5.052/2.344 ms') 2026-11-01 04:09:56,416 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-04009671-41316176 passed 2026-11-01 04:09:56,566 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-01 04:09:56,566 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-04009671-41316176, IP 105.245.75.131, Port 22 2026-11-01 04:09:56,717 - DEBUG - VM ctest-TestBasicPolicy-04009671-41316176 is ready for SSH connections 2026-11-01 04:09:56,717 - INFO - Waiting for VM ctest-TestBasicPolicy-04009671-42064245 to be up.. 2026-11-01 04:09:56,782 - DEBUG - VM is in ACTIVE state now 2026-11-01 04:09:56,782 - INFO - VM name : ctest-TestBasicPolicy-04009671-42064245 2026-11-01 04:09:56,846 - DEBUG - VM ctest-TestBasicPolicy-04009671-42064245 ID is 91de8921-de30-4435-97eb-09a50de40083 2026-11-01 04:09:56,846 - DEBUG - VM ctest-TestBasicPolicy-04009671-42064245 launched on Node cn-jenkins-deploy-platform-ansible-os-6458-1 2026-11-01 04:09:56,916 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/91de8921-de30-4435-97eb-09a50de40083 2026-11-01 04:09:56,922 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/a6926526-f907-4b3d-af63-cd121868e106 2026-11-01 04:09:58,148 - 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=5.48 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.833 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.833/3.157/5.482/2.324 ms') 2026-11-01 04:09:58,148 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-04009671-42064245 passed 2026-11-01 04:09:58,298 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-01 04:09:58,298 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-04009671-42064245, IP 185.76.219.131, Port 22 2026-11-01 04:09:58,468 - DEBUG - VM ctest-TestBasicPolicy-04009671-42064245 is ready for SSH connections 2026-11-01 04:09:58,468 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-01 04:09:58,468 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 185.76.219.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-11-01 04:09:58,468 - DEBUG - ping -s 56 -c 3 -W 1 185.76.219.131 2026-11-01 04:10:02,374 - DEBUG - PING 185.76.219.131 (185.76.219.131): 56 data bytes 64 bytes from 185.76.219.131: seq=0 ttl=63 time=5.431 ms 64 bytes from 185.76.219.131: seq=1 ttl=63 time=1.177 ms 64 bytes from 185.76.219.131: seq=2 ttl=63 time=1.054 ms --- 185.76.219.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.054/2.554/5.431 ms 2026-11-01 04:10:02,374 - INFO - Ping to IP 185.76.219.131 from VM ctest-TestBasicPolicy-04009671-41316176 passed 2026-11-01 04:10:02,554 - DEBUG - Policy Update Response {"network-policy": {"uuid": "0aa609c8-4c1e-43d5-ae21-d59e44f3cb5c", "href": "http://10.0.0.161:8082/network-policy/0aa609c8-4c1e-43d5-ae21-d59e44f3cb5c"}} 2026-11-01 04:10:02,554 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-01 04:10:02,554 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 185.76.219.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-11-01 04:10:02,554 - DEBUG - ping -s 56 -c 3 -W 1 185.76.219.131 2026-11-01 04:10:05,666 - DEBUG - PING 185.76.219.131 (185.76.219.131): 56 data bytes 64 bytes from 185.76.219.131: seq=0 ttl=63 time=1.250 ms --- 185.76.219.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.250/1.250/1.250 ms 2026-11-01 04:10:05,667 - WARNING - Ping to IP 185.76.219.131 from VM ctest-TestBasicPolicy-04009671-41316176 failed 2026-11-01 04:10:05,667 - INFO - Deleting VM ctest-TestBasicPolicy-04009671-42064245 2026-11-01 04:10:05,733 - INFO - Deleting VM ctest-TestBasicPolicy-04009671-41316176 2026-11-01 04:10:06,058 - INFO - Deleted policy ctest-policy-allow-all-34036698 2026-11-01 04:10:06,058 - INFO - Deleting VN ctest-vn-38985227 2026-11-01 04:10:06,087 - DEBUG - VN 8a6e34dd-c56a-423f-8ca5-b2bc6f0fa8d0 still in use: Unable to complete operation on network 8a6e34dd-c56a-423f-8ca5-b2bc6f0fa8d0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1ae428ae-117e-4bfd-8db1-42a4f55e6ee0'] 2026-11-01 04:10:06,088 - WARNING - Deleting VN ctest-vn-38985227 failed..Will retry 2026-11-01 04:10:08,116 - DEBUG - VN 8a6e34dd-c56a-423f-8ca5-b2bc6f0fa8d0 still in use: Unable to complete operation on network 8a6e34dd-c56a-423f-8ca5-b2bc6f0fa8d0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-398d9af6-4777-4cb7-8cde-9049c130893a'] 2026-11-01 04:10:08,116 - WARNING - Deleting VN ctest-vn-38985227 failed..Will retry 2026-11-01 04:10:10,210 - DEBUG - Response for deleting network () 2026-11-01 04:10:10,210 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/5a9a710a-836f-4c19-96ad-10ac16129f8c 2026-11-01 04:10:10,214 - DEBUG - Response Code: 404 2026-11-01 04:10:10,214 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-11-01 04:10:10,218 - DEBUG - Requesting: http://10.0.0.161:8082/domain/1182fa42-43d7-4661-ad1c-0f1294ce4374 2026-11-01 04:10:10,271 - DEBUG - Requesting: http://10.0.0.161:8082/project/fd2035a3-25fa-4f82-82e4-dd094a9ffb42 2026-11-01 04:10:10,342 - INFO - Validated that VN ctest-vn-38985227 is not found in API Server 2026-11-01 04:10:10,356 - DEBUG - VN ctest-vn-38985227 is not present in Agent 10.0.0.161 2026-11-01 04:10:10,356 - INFO - Validated that VN ctest-vn-38985227 is not in any agent 2026-11-01 04:10:10,368 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-38985227 info 2026-11-01 04:10:10,369 - INFO - Deleting VN ctest-vn-12617265 2026-11-01 04:10:10,462 - DEBUG - Response for deleting network () 2026-11-01 04:10:10,463 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/c5bbab3e-a2c1-4aa5-abf2-4eed2068e420 2026-11-01 04:10:10,466 - DEBUG - Response Code: 404 2026-11-01 04:10:10,466 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-11-01 04:10:10,474 - DEBUG - Requesting: http://10.0.0.161:8082/domain/1182fa42-43d7-4661-ad1c-0f1294ce4374 2026-11-01 04:10:10,525 - DEBUG - Requesting: http://10.0.0.161:8082/project/fd2035a3-25fa-4f82-82e4-dd094a9ffb42 2026-11-01 04:10:10,592 - INFO - Validated that VN ctest-vn-12617265 is not found in API Server 2026-11-01 04:10:10,609 - DEBUG - VN ctest-vn-12617265 is not present in Agent 10.0.0.161 2026-11-01 04:10:10,609 - INFO - Validated that VN ctest-vn-12617265 is not in any agent 2026-11-01 04:10:10,626 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-12617265 info 2026-11-01 04:10:10,890 - DEBUG - No XMPP flaps were noticed during the test
2026-11-01 04:10:10,890 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:00]
2026-11-01 04:10:10,891 - INFO - -------------------------------------------------------------------------------- 2026-11-01 04:10:11,728 - INFO - Deleted project: ctest-TestBasicPolicy-04009671, ID : fd2035a3-25fa-4f82-82e4-dd094a9ffb42