2026-04-17 19:32:34,331 - INFO - Domain Default found not creating 2026-04-17 19:32:34,517 - INFO - Project ctest-TestBasicPolicy-73131470 not found, creating it 2026-04-17 19:32:34,998 - INFO - Created Project:ctest-TestBasicPolicy-73131470, ID : 85b39e15-aa81-444c-bb81-cfe2da426051 2026-04-17 19:32:36,664 - INFO - ================================================================================ 2026-04-17 19:32:36,664 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-17 19:32:36,664 - 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-04-17 19:32:36,928 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2026-04-17 19:32:36,928 - INFO - Initial checks done. Running the testcase now 2026-04-17 19:32:36,928 - INFO - 2026-04-17 19:32:37,546 - DEBUG - Response for create_network : {'network': {'id': '7b11c907-ed19-41e8-ba8b-31e7bf59a564', 'name': 'ctest-vn-90294028', 'tenant_id': '85b39e15aa81444cbb81cfe2da426051', 'project_id': '85b39e15aa81444cbb81cfe2da426051', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73131470', 'ctest-vn-90294028'], 'port_security_enabled': True, 'description': ''}} 2026-04-17 19:32:37,721 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cf527f68-c016-469b-8a9e-f9b13bf3f4f4', 'name': '', 'tenant_id': '85b39e15aa81444cbb81cfe2da426051', 'network_id': '7b11c907-ed19-41e8-ba8b-31e7bf59a564', 'ip_version': 4, 'cidr': '138.12.3.64/26', 'allocation_pools': [{'start': '138.12.3.66', 'end': '138.12.3.126'}], 'gateway_ip': '138.12.3.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '138.12.3.66', 'tags': [], 'project_id': '85b39e15aa81444cbb81cfe2da426051'}} 2026-04-17 19:32:37,740 - INFO - Created VN ctest-vn-90294028 2026-04-17 19:32:37,794 - DEBUG - VN ctest-vn-90294028 UUID is 7b11c907-ed19-41e8-ba8b-31e7bf59a564 2026-04-17 19:32:38,097 - DEBUG - Response for create_network : {'network': {'id': '72670c73-6b17-413e-be17-0ff9558cf6c0', 'name': 'ctest-vn-32356931', 'tenant_id': '85b39e15aa81444cbb81cfe2da426051', 'project_id': '85b39e15aa81444cbb81cfe2da426051', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73131470', 'ctest-vn-32356931'], 'port_security_enabled': True, 'description': ''}} 2026-04-17 19:32:38,287 - DEBUG - Response for create_subnet : {'subnet': {'id': '8eed82d8-534a-455e-a1aa-d050e2ae5942', 'name': '', 'tenant_id': '85b39e15aa81444cbb81cfe2da426051', 'network_id': '72670c73-6b17-413e-be17-0ff9558cf6c0', 'ip_version': 4, 'cidr': '100.143.77.0/26', 'allocation_pools': [{'start': '100.143.77.2', 'end': '100.143.77.62'}], 'gateway_ip': '100.143.77.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '100.143.77.2', 'tags': [], 'project_id': '85b39e15aa81444cbb81cfe2da426051'}} 2026-04-17 19:32:38,308 - INFO - Created VN ctest-vn-32356931 2026-04-17 19:32:38,362 - DEBUG - VN ctest-vn-32356931 UUID is 72670c73-6b17-413e-be17-0ff9558cf6c0 2026-04-17 19:32:38,478 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-73131470:ctest-vn-90294028, 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-73131470:ctest-vn-32356931, 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-04-17 19:32:38,784 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7b11c907-ed19-41e8-ba8b-31e7bf59a564', 'name': 'ctest-vn-90294028', 'tenant_id': '85b39e15aa81444cbb81cfe2da426051', 'project_id': '85b39e15aa81444cbb81cfe2da426051', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cf527f68-c016-469b-8a9e-f9b13bf3f4f4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73131470', 'ctest-vn-90294028'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-73131470', 'ctest-policy-allow-all-71833988']], 'subnet_ipam': [{'subnet_cidr': '138.12.3.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-17 19:32:39,029 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '72670c73-6b17-413e-be17-0ff9558cf6c0', 'name': 'ctest-vn-32356931', 'tenant_id': '85b39e15aa81444cbb81cfe2da426051', 'project_id': '85b39e15aa81444cbb81cfe2da426051', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8eed82d8-534a-455e-a1aa-d050e2ae5942'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73131470', 'ctest-vn-32356931'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-73131470', 'ctest-policy-allow-all-71833988']], 'subnet_ipam': [{'subnet_cidr': '100.143.77.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-17 19:32:39,198 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-04-17 19:32:39,542 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-04-17 19:32:39,576 - DEBUG - Requesting: http://10.0.0.33:8082/domain/f2cc9547-5ac2-4ca4-a756-f5cfaae1bbe0 2026-04-17 19:32:39,589 - DEBUG - Requesting: http://10.0.0.33:8082/project/85b39e15-aa81-444c-bb81-cfe2da426051 2026-04-17 19:32:39,667 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7b11c907-ed19-41e8-ba8b-31e7bf59a564 2026-04-17 19:32:39,677 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7b11c907-ed19-41e8-ba8b-31e7bf59a564 2026-04-17 19:32:39,686 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/e6b4634e-c1ee-4e1b-b53a-50c181fdc574 2026-04-17 19:32:39,699 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/e6b4634e-c1ee-4e1b-b53a-50c181fdc574 2026-04-17 19:32:39,707 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/b0aec3fc-25ae-4ad2-8a94-06349b805b8a 2026-04-17 19:32:39,714 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-17 19:32:39,714 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7b11c907-ed19-41e8-ba8b-31e7bf59a564 2026-04-17 19:32:39,724 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/e6b4634e-c1ee-4e1b-b53a-50c181fdc574 2026-04-17 19:32:39,739 - INFO - Verified VN network id 11 for VN 7b11c907-ed19-41e8-ba8b-31e7bf59a564 2026-04-17 19:32:39,739 - INFO - Verifications in API Server for VN ctest-vn-90294028 passed 2026-04-17 19:32:39,739 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7b11c907-ed19-41e8-ba8b-31e7bf59a564 2026-04-17 19:32:39,752 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/e6b4634e-c1ee-4e1b-b53a-50c181fdc574 2026-04-17 19:32:39,761 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/e6b4634e-c1ee-4e1b-b53a-50c181fdc574 2026-04-17 19:32:39,771 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/b0aec3fc-25ae-4ad2-8a94-06349b805b8a 2026-04-17 19:32:39,789 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-73131470:ctest-vn-90294028', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-73131470', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8868090177149026792', 'uuid-lslong': '13441892384234906980'}, 'enable': 'true', 'created': '2026-04-17T19:32:37', 'last-modified': '2026-04-17T19:32:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.028774'} 2026-04-17 19:32:39,796 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-17 19:32:39,796 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-90294028 passed 2026-04-17 19:32:39,797 - DEBUG - ====Verifying policy data for ctest-vn-90294028 in API_Server ====== 2026-04-17 19:32:39,797 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-04-17 19:32:39,803 - DEBUG - Requesting: http://10.0.0.33:8082/domain/f2cc9547-5ac2-4ca4-a756-f5cfaae1bbe0 2026-04-17 19:32:39,820 - DEBUG - Requesting: http://10.0.0.33:8082/project/85b39e15-aa81-444c-bb81-cfe2da426051 2026-04-17 19:32:39,906 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7b11c907-ed19-41e8-ba8b-31e7bf59a564 2026-04-17 19:32:39,921 - DEBUG - ==>Verifying data for policy with id: b5f5f506-9c96-4c85-851e-0bd7fcffc85c, fqn: ['default-domain', 'ctest-TestBasicPolicy-73131470', 'ctest-policy-allow-all-71833988'] 2026-04-17 19:32:39,921 - INFO - VN ctest-vn-90294028 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-17 19:32:39,922 - DEBUG - Verifying the vn in opserver 2026-04-17 19:32:39,922 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-73131470:ctest-vn-90294028 virtual network link through opserver 10.0.0.33 2026-04-17 19:32:39,922 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-04-17 19:32:40,263 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-04-17 19:32:40,332 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-73131470:ctest-vn-90294028', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-73131470:ctest-vn-90294028?flat'} 2026-04-17 19:32:40,332 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-73131470:ctest-vn-90294028 is found in opserver 2026-04-17 19:32:40,343 - DEBUG - Do not have enough data to verify VN in agent 2026-04-17 19:32:40,348 - DEBUG - VRF ids for VN ctest-vn-90294028: {} 2026-04-17 19:32:40,348 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-04-17 19:32:40,355 - DEBUG - Requesting: http://10.0.0.33:8082/domain/f2cc9547-5ac2-4ca4-a756-f5cfaae1bbe0 2026-04-17 19:32:40,366 - DEBUG - Requesting: http://10.0.0.33:8082/project/85b39e15-aa81-444c-bb81-cfe2da426051 2026-04-17 19:32:40,439 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/72670c73-6b17-413e-be17-0ff9558cf6c0 2026-04-17 19:32:40,453 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/72670c73-6b17-413e-be17-0ff9558cf6c0 2026-04-17 19:32:40,463 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/36364ba5-060b-49ae-a7af-e352a51aa05a 2026-04-17 19:32:40,471 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/36364ba5-060b-49ae-a7af-e352a51aa05a 2026-04-17 19:32:40,480 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/c1f12907-de82-4189-9bd4-8d0977021b0b 2026-04-17 19:32:40,488 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-17 19:32:40,488 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/72670c73-6b17-413e-be17-0ff9558cf6c0 2026-04-17 19:32:40,501 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/36364ba5-060b-49ae-a7af-e352a51aa05a 2026-04-17 19:32:40,518 - INFO - Verified VN network id 12 for VN 72670c73-6b17-413e-be17-0ff9558cf6c0 2026-04-17 19:32:40,518 - INFO - Verifications in API Server for VN ctest-vn-32356931 passed 2026-04-17 19:32:40,518 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/72670c73-6b17-413e-be17-0ff9558cf6c0 2026-04-17 19:32:40,528 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/36364ba5-060b-49ae-a7af-e352a51aa05a 2026-04-17 19:32:40,536 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/36364ba5-060b-49ae-a7af-e352a51aa05a 2026-04-17 19:32:40,545 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/c1f12907-de82-4189-9bd4-8d0977021b0b 2026-04-17 19:32:40,558 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-73131470:ctest-vn-32356931', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-73131470', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8243571332782440766', 'uuid-lslong': '13697434355227227840'}, 'enable': 'true', 'created': '2026-04-17T19:32:38', 'last-modified': '2026-04-17T19:32:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.551767'} 2026-04-17 19:32:40,564 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-17 19:32:40,565 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-32356931 passed 2026-04-17 19:32:40,565 - DEBUG - ====Verifying policy data for ctest-vn-32356931 in API_Server ====== 2026-04-17 19:32:40,565 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-04-17 19:32:40,571 - DEBUG - Requesting: http://10.0.0.33:8082/domain/f2cc9547-5ac2-4ca4-a756-f5cfaae1bbe0 2026-04-17 19:32:40,582 - DEBUG - Requesting: http://10.0.0.33:8082/project/85b39e15-aa81-444c-bb81-cfe2da426051 2026-04-17 19:32:40,662 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/72670c73-6b17-413e-be17-0ff9558cf6c0 2026-04-17 19:32:40,672 - DEBUG - ==>Verifying data for policy with id: b5f5f506-9c96-4c85-851e-0bd7fcffc85c, fqn: ['default-domain', 'ctest-TestBasicPolicy-73131470', 'ctest-policy-allow-all-71833988'] 2026-04-17 19:32:40,672 - INFO - VN ctest-vn-32356931 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-17 19:32:40,672 - DEBUG - Verifying the vn in opserver 2026-04-17 19:32:40,672 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-73131470:ctest-vn-32356931 virtual network link through opserver 10.0.0.33 2026-04-17 19:32:40,672 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-04-17 19:32:40,682 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-73131470:ctest-vn-32356931', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-73131470:ctest-vn-32356931?flat'} 2026-04-17 19:32:40,682 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-73131470:ctest-vn-32356931 is found in opserver 2026-04-17 19:32:40,695 - DEBUG - Do not have enough data to verify VN in agent 2026-04-17 19:32:40,701 - DEBUG - VRF ids for VN ctest-vn-32356931: {} 2026-04-17 19:32:40,762 - DEBUG - Services list from nova: [, , ] 2026-04-17 19:32:41,897 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5638-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5638-1) 2026-04-17 19:32:43,165 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5638-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5638-1) 2026-04-17 19:32:43,166 - INFO - Waiting for VM ctest-TestBasicPolicy-73131470-02264897 to be up.. 2026-04-17 19:32:43,265 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-17 19:32:48,357 - DEBUG - VM is in ACTIVE state now 2026-04-17 19:32:48,357 - INFO - VM name : ctest-TestBasicPolicy-73131470-02264897 2026-04-17 19:32:48,442 - DEBUG - VM ctest-TestBasicPolicy-73131470-02264897 ID is 37cdf397-3f2e-44f9-a31a-475108cc7047 2026-04-17 19:32:48,463 - DEBUG - VM ctest-TestBasicPolicy-73131470-02264897 launched on Node cn-jenkins-deploy-platform-ansible-os-5638-1 2026-04-17 19:32:48,544 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/37cdf397-3f2e-44f9-a31a-475108cc7047 2026-04-17 19:32:48,553 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/f6221da4-5977-49f5-ba12-8194ffe4dd01 2026-04-17 19:32:51,801 - 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 1009ms') 2026-04-17 19:32:51,802 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-73131470-02264897 failed! 2026-04-17 19:32:51,858 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-73131470:ctest-vn-90294028 is 138.12.3.65 and allocation pool is NOT set 2026-04-17 19:32:53,933 - 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.8 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.96 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 = 1.956/6.402/10.848/4.446 ms') 2026-04-17 19:32:53,933 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-73131470-02264897 passed 2026-04-17 19:32:54,086 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-17 19:32:54,086 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-73131470-02264897, IP 138.12.3.67, Port 22 2026-04-17 19:32:54,152 - 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-04-17 19:32:54,234 - DEBUG - VM ctest-TestBasicPolicy-73131470-02264897 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-17 19:32:59,235 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-17 19:32:59,235 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-73131470-02264897, IP 138.12.3.67, Port 22 2026-04-17 19:32:59,390 - DEBUG - VM ctest-TestBasicPolicy-73131470-02264897 is ready for SSH connections 2026-04-17 19:32:59,390 - INFO - Waiting for VM ctest-TestBasicPolicy-73131470-50967374 to be up.. 2026-04-17 19:32:59,480 - DEBUG - VM is in ACTIVE state now 2026-04-17 19:32:59,480 - INFO - VM name : ctest-TestBasicPolicy-73131470-50967374 2026-04-17 19:32:59,565 - DEBUG - VM ctest-TestBasicPolicy-73131470-50967374 ID is 157a3911-c4ed-49b8-931c-4a9158f682d1 2026-04-17 19:32:59,565 - DEBUG - VM ctest-TestBasicPolicy-73131470-50967374 launched on Node cn-jenkins-deploy-platform-ansible-os-5638-1 2026-04-17 19:32:59,647 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/157a3911-c4ed-49b8-931c-4a9158f682d1 2026-04-17 19:32:59,656 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/8007ea5d-0c13-465f-b6f1-11fc5713a80a 2026-04-17 19:33:00,894 - 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.56 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.448 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.448/2.004/3.561/1.556 ms') 2026-04-17 19:33:00,894 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-73131470-50967374 passed 2026-04-17 19:33:01,050 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-17 19:33:01,050 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-73131470-50967374, IP 100.143.77.3, Port 22 2026-04-17 19:33:01,216 - DEBUG - VM ctest-TestBasicPolicy-73131470-50967374 is ready for SSH connections 2026-04-17 19:33:01,216 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-17 19:33:01,216 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 100.143.77.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-04-17 19:33:01,216 - DEBUG - ping -s 56 -c 3 -W 1 100.143.77.3 2026-04-17 19:33:05,367 - DEBUG - PING 100.143.77.3 (100.143.77.3): 56 data bytes 64 bytes from 100.143.77.3: seq=0 ttl=63 time=4.483 ms 64 bytes from 100.143.77.3: seq=1 ttl=63 time=1.013 ms 64 bytes from 100.143.77.3: seq=2 ttl=63 time=0.980 ms --- 100.143.77.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.980/2.158/4.483 ms 2026-04-17 19:33:05,367 - INFO - Ping to IP 100.143.77.3 from VM ctest-TestBasicPolicy-73131470-02264897 passed 2026-04-17 19:33:05,546 - DEBUG - Policy Update Response {"network-policy": {"uuid": "b5f5f506-9c96-4c85-851e-0bd7fcffc85c", "href": "http://10.0.0.33:8082/network-policy/b5f5f506-9c96-4c85-851e-0bd7fcffc85c"}} 2026-04-17 19:33:05,546 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-17 19:33:05,546 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 100.143.77.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-04-17 19:33:05,546 - DEBUG - ping -s 56 -c 3 -W 1 100.143.77.3 2026-04-17 19:33:08,775 - DEBUG - PING 100.143.77.3 (100.143.77.3): 56 data bytes --- 100.143.77.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-17 19:33:08,775 - WARNING - Ping to IP 100.143.77.3 from VM ctest-TestBasicPolicy-73131470-02264897 failed 2026-04-17 19:33:08,775 - INFO - Deleting VM ctest-TestBasicPolicy-73131470-50967374 2026-04-17 19:33:08,851 - INFO - Deleting VM ctest-TestBasicPolicy-73131470-02264897 2026-04-17 19:33:09,222 - INFO - Deleted policy ctest-policy-allow-all-71833988 2026-04-17 19:33:09,222 - INFO - Deleting VN ctest-vn-32356931 2026-04-17 19:33:09,263 - DEBUG - VN 72670c73-6b17-413e-be17-0ff9558cf6c0 still in use: Unable to complete operation on network 72670c73-6b17-413e-be17-0ff9558cf6c0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ced6bf2a-fba7-4c1a-8014-fd779db70ff7'] 2026-04-17 19:33:09,264 - WARNING - Deleting VN ctest-vn-32356931 failed..Will retry 2026-04-17 19:33:11,386 - DEBUG - Response for deleting network () 2026-04-17 19:33:11,386 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/36364ba5-060b-49ae-a7af-e352a51aa05a 2026-04-17 19:33:11,392 - DEBUG - Response Code: 404 2026-04-17 19:33:11,392 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-04-17 19:33:11,398 - DEBUG - Requesting: http://10.0.0.33:8082/domain/f2cc9547-5ac2-4ca4-a756-f5cfaae1bbe0 2026-04-17 19:33:11,453 - DEBUG - Requesting: http://10.0.0.33:8082/project/85b39e15-aa81-444c-bb81-cfe2da426051 2026-04-17 19:33:11,527 - INFO - Validated that VN ctest-vn-32356931 is not found in API Server 2026-04-17 19:33:11,536 - DEBUG - VN ctest-vn-32356931 is not present in Agent 10.0.0.33 2026-04-17 19:33:11,536 - INFO - Validated that VN ctest-vn-32356931 is not in any agent 2026-04-17 19:33:11,550 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-32356931 info 2026-04-17 19:33:11,550 - INFO - Deleting VN ctest-vn-90294028 2026-04-17 19:33:11,657 - DEBUG - Response for deleting network () 2026-04-17 19:33:11,657 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/e6b4634e-c1ee-4e1b-b53a-50c181fdc574 2026-04-17 19:33:11,663 - DEBUG - Response Code: 404 2026-04-17 19:33:11,663 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-04-17 19:33:11,668 - DEBUG - Requesting: http://10.0.0.33:8082/domain/f2cc9547-5ac2-4ca4-a756-f5cfaae1bbe0 2026-04-17 19:33:11,719 - DEBUG - Requesting: http://10.0.0.33:8082/project/85b39e15-aa81-444c-bb81-cfe2da426051 2026-04-17 19:33:11,788 - INFO - Validated that VN ctest-vn-90294028 is not found in API Server 2026-04-17 19:33:11,798 - DEBUG - VN ctest-vn-90294028 is not present in Agent 10.0.0.33 2026-04-17 19:33:11,798 - INFO - Validated that VN ctest-vn-90294028 is not in any agent 2026-04-17 19:33:11,812 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-90294028 info 2026-04-17 19:33:12,076 - DEBUG - No XMPP flaps were noticed during the test
2026-04-17 19:33:12,076 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36]
2026-04-17 19:33:12,076 - INFO - -------------------------------------------------------------------------------- 2026-04-17 19:33:12,841 - INFO - Deleted project: ctest-TestBasicPolicy-73131470, ID : 85b39e15-aa81-444c-bb81-cfe2da426051