2025-11-03 14:50:58,253 - INFO - Domain Default found not creating 2025-11-03 14:50:58,455 - INFO - Project ctest-TestBasicPolicy-17398458 not found, creating it 2025-11-03 14:50:58,919 - INFO - Created Project:ctest-TestBasicPolicy-17398458, ID : b7f441eb-fd6a-4f33-a3fd-3f8cd62159b8 2025-11-03 14:51:00,465 - INFO - ================================================================================ 2025-11-03 14:51:00,465 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-03 14:51:00,465 - 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 2025-11-03 14:51:00,729 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.17': '0'}} with 2025-11-03 14:51:00,729 - INFO - Initial checks done. Running the testcase now 2025-11-03 14:51:00,729 - INFO - 2025-11-03 14:51:01,316 - DEBUG - Response for create_network : {'network': {'id': 'aa04ba76-5f13-476e-8b95-01a7075e7ce5', 'name': 'ctest-vn-07565825', 'tenant_id': 'b7f441ebfd6a4f33a3fd3f8cd62159b8', 'project_id': 'b7f441ebfd6a4f33a3fd3f8cd62159b8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17398458', 'ctest-vn-07565825'], 'port_security_enabled': True, 'description': ''}} 2025-11-03 14:51:01,502 - DEBUG - Response for create_subnet : {'subnet': {'id': '74a3b13f-c09c-4c90-8925-d1dd43d54179', 'name': '', 'tenant_id': 'b7f441ebfd6a4f33a3fd3f8cd62159b8', 'network_id': 'aa04ba76-5f13-476e-8b95-01a7075e7ce5', 'ip_version': 4, 'cidr': '194.12.17.64/26', 'allocation_pools': [{'start': '194.12.17.66', 'end': '194.12.17.126'}], 'gateway_ip': '194.12.17.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '194.12.17.66', 'tags': [], 'project_id': 'b7f441ebfd6a4f33a3fd3f8cd62159b8'}} 2025-11-03 14:51:01,525 - INFO - Created VN ctest-vn-07565825 2025-11-03 14:51:01,578 - DEBUG - VN ctest-vn-07565825 UUID is aa04ba76-5f13-476e-8b95-01a7075e7ce5 2025-11-03 14:51:01,875 - DEBUG - Response for create_network : {'network': {'id': 'aba14ca5-e88a-4fdc-90bf-ab96ce8e488f', 'name': 'ctest-vn-60262571', 'tenant_id': 'b7f441ebfd6a4f33a3fd3f8cd62159b8', 'project_id': 'b7f441ebfd6a4f33a3fd3f8cd62159b8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17398458', 'ctest-vn-60262571'], 'port_security_enabled': True, 'description': ''}} 2025-11-03 14:51:02,048 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a3fc10d3-28e8-4741-904e-1a3a1ab83115', 'name': '', 'tenant_id': 'b7f441ebfd6a4f33a3fd3f8cd62159b8', 'network_id': 'aba14ca5-e88a-4fdc-90bf-ab96ce8e488f', 'ip_version': 4, 'cidr': '147.210.195.64/26', 'allocation_pools': [{'start': '147.210.195.66', 'end': '147.210.195.126'}], 'gateway_ip': '147.210.195.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '147.210.195.66', 'tags': [], 'project_id': 'b7f441ebfd6a4f33a3fd3f8cd62159b8'}} 2025-11-03 14:51:02,071 - INFO - Created VN ctest-vn-60262571 2025-11-03 14:51:02,126 - DEBUG - VN ctest-vn-60262571 UUID is aba14ca5-e88a-4fdc-90bf-ab96ce8e488f 2025-11-03 14:51:02,243 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-17398458:ctest-vn-07565825, 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-17398458:ctest-vn-60262571, 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] 2025-11-03 14:51:02,543 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'aa04ba76-5f13-476e-8b95-01a7075e7ce5', 'name': 'ctest-vn-07565825', 'tenant_id': 'b7f441ebfd6a4f33a3fd3f8cd62159b8', 'project_id': 'b7f441ebfd6a4f33a3fd3f8cd62159b8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['74a3b13f-c09c-4c90-8925-d1dd43d54179'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17398458', 'ctest-vn-07565825'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-17398458', 'ctest-policy-allow-all-09421658']], 'subnet_ipam': [{'subnet_cidr': '194.12.17.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-03 14:51:02,774 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'aba14ca5-e88a-4fdc-90bf-ab96ce8e488f', 'name': 'ctest-vn-60262571', 'tenant_id': 'b7f441ebfd6a4f33a3fd3f8cd62159b8', 'project_id': 'b7f441ebfd6a4f33a3fd3f8cd62159b8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a3fc10d3-28e8-4741-904e-1a3a1ab83115'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17398458', 'ctest-vn-60262571'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-17398458', 'ctest-policy-allow-all-09421658']], 'subnet_ipam': [{'subnet_cidr': '147.210.195.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-03 14:51:02,950 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-11-03 14:51:03,244 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-11-03 14:51:03,274 - DEBUG - Requesting: http://10.0.0.41:8082/domain/59192770-a1e6-486c-8665-2c08be9016ab 2025-11-03 14:51:03,287 - DEBUG - Requesting: http://10.0.0.41:8082/project/b7f441eb-fd6a-4f33-a3fd-3f8cd62159b8 2025-11-03 14:51:03,358 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/aa04ba76-5f13-476e-8b95-01a7075e7ce5 2025-11-03 14:51:03,369 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/aa04ba76-5f13-476e-8b95-01a7075e7ce5 2025-11-03 14:51:03,378 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/3bb697d6-0a25-4f05-a8dd-18ddc6f436d4 2025-11-03 14:51:03,385 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/3bb697d6-0a25-4f05-a8dd-18ddc6f436d4 2025-11-03 14:51:03,392 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/6c2b71a3-190e-49fe-95cc-5c6232be6507 2025-11-03 14:51:03,399 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-03 14:51:03,399 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/aa04ba76-5f13-476e-8b95-01a7075e7ce5 2025-11-03 14:51:03,409 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/3bb697d6-0a25-4f05-a8dd-18ddc6f436d4 2025-11-03 14:51:03,432 - INFO - Verified VN network id 11 for VN aa04ba76-5f13-476e-8b95-01a7075e7ce5 2025-11-03 14:51:03,432 - INFO - Verifications in API Server for VN ctest-vn-07565825 passed 2025-11-03 14:51:03,432 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/aa04ba76-5f13-476e-8b95-01a7075e7ce5 2025-11-03 14:51:03,441 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/3bb697d6-0a25-4f05-a8dd-18ddc6f436d4 2025-11-03 14:51:03,448 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/3bb697d6-0a25-4f05-a8dd-18ddc6f436d4 2025-11-03 14:51:03,456 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/6c2b71a3-190e-49fe-95cc-5c6232be6507 2025-11-03 14:51:03,468 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-17398458:ctest-vn-07565825', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-17398458', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12251121903918597998', 'uuid-lslong': '10057947159696669925'}, 'enable': 'true', 'created': '2025-11-03T14:51:01', 'last-modified': '2025-11-03T14:51:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.947218'} 2025-11-03 14:51:03,474 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-03 14:51:03,474 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-07565825 passed 2025-11-03 14:51:03,474 - DEBUG - ====Verifying policy data for ctest-vn-07565825 in API_Server ====== 2025-11-03 14:51:03,474 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-11-03 14:51:03,480 - DEBUG - Requesting: http://10.0.0.41:8082/domain/59192770-a1e6-486c-8665-2c08be9016ab 2025-11-03 14:51:03,491 - DEBUG - Requesting: http://10.0.0.41:8082/project/b7f441eb-fd6a-4f33-a3fd-3f8cd62159b8 2025-11-03 14:51:03,562 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/aa04ba76-5f13-476e-8b95-01a7075e7ce5 2025-11-03 14:51:03,578 - DEBUG - ==>Verifying data for policy with id: 29a899aa-ef01-4ab4-8b78-de8bcc2632a5, fqn: ['default-domain', 'ctest-TestBasicPolicy-17398458', 'ctest-policy-allow-all-09421658'] 2025-11-03 14:51:03,578 - INFO - VN ctest-vn-07565825 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-03 14:51:03,578 - DEBUG - Verifying the vn in opserver 2025-11-03 14:51:03,578 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-17398458:ctest-vn-07565825 virtual network link through opserver 10.0.0.41 2025-11-03 14:51:03,578 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-11-03 14:51:03,872 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-11-03 14:51:03,935 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-17398458:ctest-vn-07565825', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-17398458:ctest-vn-07565825?flat'} 2025-11-03 14:51:03,935 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-17398458:ctest-vn-07565825 is found in opserver 2025-11-03 14:51:03,946 - DEBUG - Do not have enough data to verify VN in agent 2025-11-03 14:51:03,951 - DEBUG - VRF ids for VN ctest-vn-07565825: {} 2025-11-03 14:51:03,951 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-11-03 14:51:03,957 - DEBUG - Requesting: http://10.0.0.41:8082/domain/59192770-a1e6-486c-8665-2c08be9016ab 2025-11-03 14:51:03,973 - DEBUG - Requesting: http://10.0.0.41:8082/project/b7f441eb-fd6a-4f33-a3fd-3f8cd62159b8 2025-11-03 14:51:04,044 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/aba14ca5-e88a-4fdc-90bf-ab96ce8e488f 2025-11-03 14:51:04,057 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/aba14ca5-e88a-4fdc-90bf-ab96ce8e488f 2025-11-03 14:51:04,066 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/57c78895-fd8c-45bb-b90d-3c26b9b5b1d6 2025-11-03 14:51:04,074 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/57c78895-fd8c-45bb-b90d-3c26b9b5b1d6 2025-11-03 14:51:04,081 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/1535b0eb-05db-407b-bd48-709cd41a5c39 2025-11-03 14:51:04,090 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-03 14:51:04,090 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/aba14ca5-e88a-4fdc-90bf-ab96ce8e488f 2025-11-03 14:51:04,100 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/57c78895-fd8c-45bb-b90d-3c26b9b5b1d6 2025-11-03 14:51:04,118 - INFO - Verified VN network id 12 for VN aba14ca5-e88a-4fdc-90bf-ab96ce8e488f 2025-11-03 14:51:04,118 - INFO - Verifications in API Server for VN ctest-vn-60262571 passed 2025-11-03 14:51:04,118 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/aba14ca5-e88a-4fdc-90bf-ab96ce8e488f 2025-11-03 14:51:04,128 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/57c78895-fd8c-45bb-b90d-3c26b9b5b1d6 2025-11-03 14:51:04,136 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/57c78895-fd8c-45bb-b90d-3c26b9b5b1d6 2025-11-03 14:51:04,145 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/1535b0eb-05db-407b-bd48-709cd41a5c39 2025-11-03 14:51:04,158 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-17398458:ctest-vn-60262571', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-17398458', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12367250327190786012', 'uuid-lslong': '10430243926212233359'}, 'enable': 'true', 'created': '2025-11-03T14:51:01', 'last-modified': '2025-11-03T14:51:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.408009'} 2025-11-03 14:51:04,163 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-03 14:51:04,164 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-60262571 passed 2025-11-03 14:51:04,164 - DEBUG - ====Verifying policy data for ctest-vn-60262571 in API_Server ====== 2025-11-03 14:51:04,164 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-11-03 14:51:04,170 - DEBUG - Requesting: http://10.0.0.41:8082/domain/59192770-a1e6-486c-8665-2c08be9016ab 2025-11-03 14:51:04,182 - DEBUG - Requesting: http://10.0.0.41:8082/project/b7f441eb-fd6a-4f33-a3fd-3f8cd62159b8 2025-11-03 14:51:04,257 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/aba14ca5-e88a-4fdc-90bf-ab96ce8e488f 2025-11-03 14:51:04,270 - DEBUG - ==>Verifying data for policy with id: 29a899aa-ef01-4ab4-8b78-de8bcc2632a5, fqn: ['default-domain', 'ctest-TestBasicPolicy-17398458', 'ctest-policy-allow-all-09421658'] 2025-11-03 14:51:04,270 - INFO - VN ctest-vn-60262571 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-03 14:51:04,270 - DEBUG - Verifying the vn in opserver 2025-11-03 14:51:04,270 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-17398458:ctest-vn-60262571 virtual network link through opserver 10.0.0.41 2025-11-03 14:51:04,270 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-11-03 14:51:04,282 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-17398458:ctest-vn-60262571', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-17398458:ctest-vn-60262571?flat'} 2025-11-03 14:51:04,282 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-17398458:ctest-vn-60262571 is found in opserver 2025-11-03 14:51:04,294 - DEBUG - Do not have enough data to verify VN in agent 2025-11-03 14:51:04,301 - DEBUG - VRF ids for VN ctest-vn-60262571: {} 2025-11-03 14:51:04,373 - DEBUG - Services list from nova: [, , ] 2025-11-03 14:51:05,459 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4607-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4607-1) 2025-11-03 14:51:06,666 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4607-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4607-1) 2025-11-03 14:51:06,666 - INFO - Waiting for VM ctest-TestBasicPolicy-17398458-64896698 to be up.. 2025-11-03 14:51:06,759 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-03 14:51:11,847 - DEBUG - VM is in ACTIVE state now 2025-11-03 14:51:11,847 - INFO - VM name : ctest-TestBasicPolicy-17398458-64896698 2025-11-03 14:51:11,936 - DEBUG - VM ctest-TestBasicPolicy-17398458-64896698 ID is 75665165-d71f-4aec-9b4b-bf786db4881c 2025-11-03 14:51:11,961 - DEBUG - VM ctest-TestBasicPolicy-17398458-64896698 launched on Node cn-jenkins-deploy-platform-ansible-os-4607-1 2025-11-03 14:51:12,040 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/75665165-d71f-4aec-9b4b-bf786db4881c 2025-11-03 14:51:12,049 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/58f73cee-2a7a-4eec-8b7e-7230cee3a80e 2025-11-03 14:51:15,310 - 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') 2025-11-03 14:51:15,310 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-17398458-64896698 failed! 2025-11-03 14:51:15,366 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-17398458:ctest-vn-07565825 is 194.12.17.65 and allocation pool is NOT set 2025-11-03 14:51:17,433 - 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=4.07 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.496 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.496/2.284/4.072/1.788 ms') 2025-11-03 14:51:17,434 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-17398458-64896698 passed 2025-11-03 14:51:17,594 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 14:51:17,594 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-17398458-64896698, IP 194.12.17.67, Port 22 2025-11-03 14:51:17,754 - DEBUG - VM ctest-TestBasicPolicy-17398458-64896698 is ready for SSH connections 2025-11-03 14:51:17,754 - INFO - Waiting for VM ctest-TestBasicPolicy-17398458-96448715 to be up.. 2025-11-03 14:51:17,828 - DEBUG - VM is in ACTIVE state now 2025-11-03 14:51:17,828 - INFO - VM name : ctest-TestBasicPolicy-17398458-96448715 2025-11-03 14:51:17,898 - DEBUG - VM ctest-TestBasicPolicy-17398458-96448715 ID is 1205ea90-71f6-4181-b456-cdf24ddc187c 2025-11-03 14:51:17,898 - DEBUG - VM ctest-TestBasicPolicy-17398458-96448715 launched on Node cn-jenkins-deploy-platform-ansible-os-4607-1 2025-11-03 14:51:17,972 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/1205ea90-71f6-4181-b456-cdf24ddc187c 2025-11-03 14:51:17,982 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/6832f027-1265-43b2-8704-bca89faa2954 2025-11-03 14:51:19,221 - 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=4.36 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.28 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 = 2.282/3.319/4.356/1.037 ms') 2025-11-03 14:51:19,222 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-17398458-96448715 passed 2025-11-03 14:51:19,370 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 14:51:19,370 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-17398458-96448715, IP 147.210.195.67, Port 22 2025-11-03 14:51:19,526 - DEBUG - VM ctest-TestBasicPolicy-17398458-96448715 is ready for SSH connections 2025-11-03 14:51:19,526 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 14:51:19,526 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 147.210.195.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-11-03 14:51:19,526 - DEBUG - ping -s 56 -c 3 -W 1 147.210.195.67 2025-11-03 14:51:23,571 - DEBUG - PING 147.210.195.67 (147.210.195.67): 56 data bytes 64 bytes from 147.210.195.67: seq=0 ttl=63 time=3.778 ms 64 bytes from 147.210.195.67: seq=1 ttl=63 time=0.918 ms 64 bytes from 147.210.195.67: seq=2 ttl=63 time=1.282 ms --- 147.210.195.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.918/1.992/3.778 ms 2025-11-03 14:51:23,571 - INFO - Ping to IP 147.210.195.67 from VM ctest-TestBasicPolicy-17398458-64896698 passed 2025-11-03 14:51:23,754 - DEBUG - Policy Update Response {"network-policy": {"uuid": "29a899aa-ef01-4ab4-8b78-de8bcc2632a5", "href": "http://10.0.0.41:8082/network-policy/29a899aa-ef01-4ab4-8b78-de8bcc2632a5"}} 2025-11-03 14:51:23,754 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 14:51:23,754 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 147.210.195.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-11-03 14:51:23,754 - DEBUG - ping -s 56 -c 3 -W 1 147.210.195.67 2025-11-03 14:51:26,975 - DEBUG - PING 147.210.195.67 (147.210.195.67): 56 data bytes --- 147.210.195.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-03 14:51:26,976 - WARNING - Ping to IP 147.210.195.67 from VM ctest-TestBasicPolicy-17398458-64896698 failed 2025-11-03 14:51:26,976 - INFO - Deleting VM ctest-TestBasicPolicy-17398458-96448715 2025-11-03 14:51:27,048 - INFO - Deleting VM ctest-TestBasicPolicy-17398458-64896698 2025-11-03 14:51:27,404 - INFO - Deleted policy ctest-policy-allow-all-09421658 2025-11-03 14:51:27,404 - INFO - Deleting VN ctest-vn-60262571 2025-11-03 14:51:27,438 - DEBUG - VN aba14ca5-e88a-4fdc-90bf-ab96ce8e488f still in use: Unable to complete operation on network aba14ca5-e88a-4fdc-90bf-ab96ce8e488f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-91fcf3ca-e755-4fae-ae19-f34e10080b09'] 2025-11-03 14:51:27,438 - WARNING - Deleting VN ctest-vn-60262571 failed..Will retry 2025-11-03 14:51:29,527 - DEBUG - Response for deleting network () 2025-11-03 14:51:29,528 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/57c78895-fd8c-45bb-b90d-3c26b9b5b1d6 2025-11-03 14:51:29,532 - DEBUG - Response Code: 404 2025-11-03 14:51:29,532 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-11-03 14:51:29,538 - DEBUG - Requesting: http://10.0.0.41:8082/domain/59192770-a1e6-486c-8665-2c08be9016ab 2025-11-03 14:51:29,590 - DEBUG - Requesting: http://10.0.0.41:8082/project/b7f441eb-fd6a-4f33-a3fd-3f8cd62159b8 2025-11-03 14:51:29,662 - INFO - Validated that VN ctest-vn-60262571 is not found in API Server 2025-11-03 14:51:29,673 - DEBUG - VN ctest-vn-60262571 is not present in Agent 10.0.0.41 2025-11-03 14:51:29,673 - INFO - Validated that VN ctest-vn-60262571 is not in any agent 2025-11-03 14:51:29,688 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-60262571 info 2025-11-03 14:51:29,688 - INFO - Deleting VN ctest-vn-07565825 2025-11-03 14:51:29,786 - DEBUG - Response for deleting network () 2025-11-03 14:51:29,786 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/3bb697d6-0a25-4f05-a8dd-18ddc6f436d4 2025-11-03 14:51:29,791 - DEBUG - Response Code: 404 2025-11-03 14:51:29,791 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-11-03 14:51:29,796 - DEBUG - Requesting: http://10.0.0.41:8082/domain/59192770-a1e6-486c-8665-2c08be9016ab 2025-11-03 14:51:29,847 - DEBUG - Requesting: http://10.0.0.41:8082/project/b7f441eb-fd6a-4f33-a3fd-3f8cd62159b8 2025-11-03 14:51:29,914 - INFO - Validated that VN ctest-vn-07565825 is not found in API Server 2025-11-03 14:51:29,923 - DEBUG - VN ctest-vn-07565825 is not present in Agent 10.0.0.41 2025-11-03 14:51:29,923 - INFO - Validated that VN ctest-vn-07565825 is not in any agent 2025-11-03 14:51:29,934 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-07565825 info 2025-11-03 14:51:30,187 - DEBUG - No XMPP flaps were noticed during the test
2025-11-03 14:51:30,187 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-11-03 14:51:30,187 - INFO - -------------------------------------------------------------------------------- 2025-11-03 14:51:30,838 - INFO - Deleted project: ctest-TestBasicPolicy-17398458, ID : b7f441eb-fd6a-4f33-a3fd-3f8cd62159b8