2026-04-29 10:02:35,122 - INFO - Domain Default found not creating 2026-04-29 10:02:35,316 - INFO - Project ctest-TestBasicPolicy-06628559 not found, creating it 2026-04-29 10:02:35,796 - INFO - Created Project:ctest-TestBasicPolicy-06628559, ID : 990eb565-8b84-4a20-ac4a-4ddc1d4924e5 2026-04-29 10:02:37,453 - INFO - ================================================================================ 2026-04-29 10:02:37,453 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-29 10:02:37,453 - 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-29 10:02:37,724 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-04-29 10:02:37,724 - INFO - Initial checks done. Running the testcase now 2026-04-29 10:02:37,724 - INFO - 2026-04-29 10:02:38,392 - DEBUG - Response for create_network : {'network': {'id': '90fd886f-ab69-4b4d-850c-ecd085966164', 'name': 'ctest-vn-57362174', 'tenant_id': '990eb5658b844a20ac4a4ddc1d4924e5', 'project_id': '990eb5658b844a20ac4a4ddc1d4924e5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06628559', 'ctest-vn-57362174'], 'port_security_enabled': True, 'description': ''}} 2026-04-29 10:02:38,648 - DEBUG - Response for create_subnet : {'subnet': {'id': '72d08db2-30bb-4919-8c0d-3d9818639025', 'name': '', 'tenant_id': '990eb5658b844a20ac4a4ddc1d4924e5', 'network_id': '90fd886f-ab69-4b4d-850c-ecd085966164', 'ip_version': 4, 'cidr': '64.217.224.192/26', 'allocation_pools': [{'start': '64.217.224.194', 'end': '64.217.224.254'}], 'gateway_ip': '64.217.224.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '64.217.224.194', 'tags': [], 'project_id': '990eb5658b844a20ac4a4ddc1d4924e5'}} 2026-04-29 10:02:38,671 - INFO - Created VN ctest-vn-57362174 2026-04-29 10:02:38,726 - DEBUG - VN ctest-vn-57362174 UUID is 90fd886f-ab69-4b4d-850c-ecd085966164 2026-04-29 10:02:39,063 - DEBUG - Response for create_network : {'network': {'id': '88bdaa17-e693-4179-abbd-331a65976bf3', 'name': 'ctest-vn-11183630', 'tenant_id': '990eb5658b844a20ac4a4ddc1d4924e5', 'project_id': '990eb5658b844a20ac4a4ddc1d4924e5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06628559', 'ctest-vn-11183630'], 'port_security_enabled': True, 'description': ''}} 2026-04-29 10:02:39,290 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fe15ba93-5639-4775-94c1-3843047e043d', 'name': '', 'tenant_id': '990eb5658b844a20ac4a4ddc1d4924e5', 'network_id': '88bdaa17-e693-4179-abbd-331a65976bf3', 'ip_version': 4, 'cidr': '113.237.95.64/26', 'allocation_pools': [{'start': '113.237.95.66', 'end': '113.237.95.126'}], 'gateway_ip': '113.237.95.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '113.237.95.66', 'tags': [], 'project_id': '990eb5658b844a20ac4a4ddc1d4924e5'}} 2026-04-29 10:02:39,312 - INFO - Created VN ctest-vn-11183630 2026-04-29 10:02:39,367 - DEBUG - VN ctest-vn-11183630 UUID is 88bdaa17-e693-4179-abbd-331a65976bf3 2026-04-29 10:02:39,491 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-06628559:ctest-vn-57362174, 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-06628559:ctest-vn-11183630, 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-29 10:02:39,831 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '90fd886f-ab69-4b4d-850c-ecd085966164', 'name': 'ctest-vn-57362174', 'tenant_id': '990eb5658b844a20ac4a4ddc1d4924e5', 'project_id': '990eb5658b844a20ac4a4ddc1d4924e5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['72d08db2-30bb-4919-8c0d-3d9818639025'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06628559', 'ctest-vn-57362174'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-06628559', 'ctest-policy-allow-all-86473741']], 'subnet_ipam': [{'subnet_cidr': '64.217.224.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-29 10:02:40,079 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '88bdaa17-e693-4179-abbd-331a65976bf3', 'name': 'ctest-vn-11183630', 'tenant_id': '990eb5658b844a20ac4a4ddc1d4924e5', 'project_id': '990eb5658b844a20ac4a4ddc1d4924e5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fe15ba93-5639-4775-94c1-3843047e043d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06628559', 'ctest-vn-11183630'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-06628559', 'ctest-policy-allow-all-86473741']], 'subnet_ipam': [{'subnet_cidr': '113.237.95.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-29 10:02:40,250 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-29 10:02:40,557 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-29 10:02:40,600 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ab63ec03-c50f-4e96-aa00-87722ef1dbe8 2026-04-29 10:02:40,619 - DEBUG - Requesting: http://10.0.0.38:8082/project/990eb565-8b84-4a20-ac4a-4ddc1d4924e5 2026-04-29 10:02:40,716 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/90fd886f-ab69-4b4d-850c-ecd085966164 2026-04-29 10:02:40,728 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/90fd886f-ab69-4b4d-850c-ecd085966164 2026-04-29 10:02:40,740 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/01d69d41-6e85-41c4-8226-663a3f290b63 2026-04-29 10:02:40,749 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/01d69d41-6e85-41c4-8226-663a3f290b63 2026-04-29 10:02:40,758 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d85629f0-3af1-40e6-a252-6ee0db167254 2026-04-29 10:02:40,765 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-29 10:02:40,765 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/90fd886f-ab69-4b4d-850c-ecd085966164 2026-04-29 10:02:40,776 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/01d69d41-6e85-41c4-8226-663a3f290b63 2026-04-29 10:02:40,791 - INFO - Verified VN network id 11 for VN 90fd886f-ab69-4b4d-850c-ecd085966164 2026-04-29 10:02:40,792 - INFO - Verifications in API Server for VN ctest-vn-57362174 passed 2026-04-29 10:02:40,792 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/90fd886f-ab69-4b4d-850c-ecd085966164 2026-04-29 10:02:40,803 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/01d69d41-6e85-41c4-8226-663a3f290b63 2026-04-29 10:02:40,811 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/01d69d41-6e85-41c4-8226-663a3f290b63 2026-04-29 10:02:40,819 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d85629f0-3af1-40e6-a252-6ee0db167254 2026-04-29 10:02:40,834 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-06628559:ctest-vn-57362174', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-06628559', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10447656723767970637', 'uuid-lslong': '9587298087103521124'}, 'enable': 'true', 'created': '2026-04-29T10:02:38', 'last-modified': '2026-04-29T10:02:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.045237'} 2026-04-29 10:02:40,842 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-29 10:02:40,843 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-57362174 passed 2026-04-29 10:02:40,843 - DEBUG - ====Verifying policy data for ctest-vn-57362174 in API_Server ====== 2026-04-29 10:02:40,843 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-29 10:02:40,850 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ab63ec03-c50f-4e96-aa00-87722ef1dbe8 2026-04-29 10:02:40,863 - DEBUG - Requesting: http://10.0.0.38:8082/project/990eb565-8b84-4a20-ac4a-4ddc1d4924e5 2026-04-29 10:02:40,939 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/90fd886f-ab69-4b4d-850c-ecd085966164 2026-04-29 10:02:40,949 - DEBUG - ==>Verifying data for policy with id: de924424-09c1-406c-96e4-4c5c3b03da33, fqn: ['default-domain', 'ctest-TestBasicPolicy-06628559', 'ctest-policy-allow-all-86473741'] 2026-04-29 10:02:40,949 - INFO - VN ctest-vn-57362174 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-29 10:02:40,949 - DEBUG - Verifying the vn in opserver 2026-04-29 10:02:40,949 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-06628559:ctest-vn-57362174 virtual network link through opserver 10.0.0.38 2026-04-29 10:02:40,949 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-04-29 10:02:41,253 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-04-29 10:02:41,333 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-06628559:ctest-vn-57362174', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-06628559:ctest-vn-57362174?flat'} 2026-04-29 10:02:41,333 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-06628559:ctest-vn-57362174 is found in opserver 2026-04-29 10:02:41,344 - DEBUG - Do not have enough data to verify VN in agent 2026-04-29 10:02:41,350 - DEBUG - VRF ids for VN ctest-vn-57362174: {} 2026-04-29 10:02:41,350 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-29 10:02:41,356 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ab63ec03-c50f-4e96-aa00-87722ef1dbe8 2026-04-29 10:02:41,368 - DEBUG - Requesting: http://10.0.0.38:8082/project/990eb565-8b84-4a20-ac4a-4ddc1d4924e5 2026-04-29 10:02:41,446 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/88bdaa17-e693-4179-abbd-331a65976bf3 2026-04-29 10:02:41,458 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/88bdaa17-e693-4179-abbd-331a65976bf3 2026-04-29 10:02:41,468 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c7cab98d-6890-460e-9026-fde076e603f0 2026-04-29 10:02:41,476 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c7cab98d-6890-460e-9026-fde076e603f0 2026-04-29 10:02:41,484 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/96990c01-63d4-48fb-b65d-acc713fb24c1 2026-04-29 10:02:41,493 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-29 10:02:41,493 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/88bdaa17-e693-4179-abbd-331a65976bf3 2026-04-29 10:02:41,504 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c7cab98d-6890-460e-9026-fde076e603f0 2026-04-29 10:02:41,525 - INFO - Verified VN network id 12 for VN 88bdaa17-e693-4179-abbd-331a65976bf3 2026-04-29 10:02:41,525 - INFO - Verifications in API Server for VN ctest-vn-11183630 passed 2026-04-29 10:02:41,525 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/88bdaa17-e693-4179-abbd-331a65976bf3 2026-04-29 10:02:41,536 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c7cab98d-6890-460e-9026-fde076e603f0 2026-04-29 10:02:41,545 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c7cab98d-6890-460e-9026-fde076e603f0 2026-04-29 10:02:41,555 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/96990c01-63d4-48fb-b65d-acc713fb24c1 2026-04-29 10:02:41,570 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-06628559:ctest-vn-11183630', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-06628559', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9853218579385893241', 'uuid-lslong': '12375103539550579699'}, 'enable': 'true', 'created': '2026-04-29T10:02:39', 'last-modified': '2026-04-29T10:02:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.519029'} 2026-04-29 10:02:41,577 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-29 10:02:41,578 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-11183630 passed 2026-04-29 10:02:41,578 - DEBUG - ====Verifying policy data for ctest-vn-11183630 in API_Server ====== 2026-04-29 10:02:41,578 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-29 10:02:41,585 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ab63ec03-c50f-4e96-aa00-87722ef1dbe8 2026-04-29 10:02:41,598 - DEBUG - Requesting: http://10.0.0.38:8082/project/990eb565-8b84-4a20-ac4a-4ddc1d4924e5 2026-04-29 10:02:41,678 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/88bdaa17-e693-4179-abbd-331a65976bf3 2026-04-29 10:02:41,688 - DEBUG - ==>Verifying data for policy with id: de924424-09c1-406c-96e4-4c5c3b03da33, fqn: ['default-domain', 'ctest-TestBasicPolicy-06628559', 'ctest-policy-allow-all-86473741'] 2026-04-29 10:02:41,688 - INFO - VN ctest-vn-11183630 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-29 10:02:41,688 - DEBUG - Verifying the vn in opserver 2026-04-29 10:02:41,688 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-06628559:ctest-vn-11183630 virtual network link through opserver 10.0.0.38 2026-04-29 10:02:41,688 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-04-29 10:02:41,699 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-06628559:ctest-vn-11183630', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-06628559:ctest-vn-11183630?flat'} 2026-04-29 10:02:41,699 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-06628559:ctest-vn-11183630 is found in opserver 2026-04-29 10:02:41,712 - DEBUG - Do not have enough data to verify VN in agent 2026-04-29 10:02:41,719 - DEBUG - VRF ids for VN ctest-vn-11183630: {} 2026-04-29 10:02:41,789 - DEBUG - Services list from nova: [, , ] 2026-04-29 10:02:42,964 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5709-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5709-1) 2026-04-29 10:02:44,264 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5709-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5709-1) 2026-04-29 10:02:44,265 - INFO - Waiting for VM ctest-TestBasicPolicy-06628559-04274014 to be up.. 2026-04-29 10:02:44,369 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-29 10:02:49,471 - DEBUG - VM is in ACTIVE state now 2026-04-29 10:02:49,471 - INFO - VM name : ctest-TestBasicPolicy-06628559-04274014 2026-04-29 10:02:49,571 - DEBUG - VM ctest-TestBasicPolicy-06628559-04274014 ID is aa273be2-c73f-46b9-867b-44fb2214e842 2026-04-29 10:02:49,598 - DEBUG - VM ctest-TestBasicPolicy-06628559-04274014 launched on Node cn-jenkins-deploy-platform-ansible-os-5709-1 2026-04-29 10:02:49,696 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/aa273be2-c73f-46b9-867b-44fb2214e842 2026-04-29 10:02:49,709 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/8e7132cd-8b48-42b6-9b21-1bdfaaae640e 2026-04-29 10:02:52,922 - 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 1001ms') 2026-04-29 10:02:52,922 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-06628559-04274014 failed! 2026-04-29 10:02:52,978 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-06628559:ctest-vn-57362174 is 64.217.224.193 and allocation pool is NOT set 2026-04-29 10:02:55,046 - 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=8.90 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.64 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 = 2.641/5.768/8.896/3.127 ms') 2026-04-29 10:02:55,046 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-06628559-04274014 passed 2026-04-29 10:02:55,199 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-29 10:02:55,199 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-06628559-04274014, IP 64.217.224.195, Port 22 2026-04-29 10:02:55,264 - 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-29 10:02:55,370 - DEBUG - VM ctest-TestBasicPolicy-06628559-04274014 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-29 10:03:00,371 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-29 10:03:00,372 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-06628559-04274014, IP 64.217.224.195, Port 22 2026-04-29 10:03:00,531 - DEBUG - VM ctest-TestBasicPolicy-06628559-04274014 is ready for SSH connections 2026-04-29 10:03:00,531 - INFO - Waiting for VM ctest-TestBasicPolicy-06628559-26368456 to be up.. 2026-04-29 10:03:00,623 - DEBUG - VM is in ACTIVE state now 2026-04-29 10:03:00,623 - INFO - VM name : ctest-TestBasicPolicy-06628559-26368456 2026-04-29 10:03:00,711 - DEBUG - VM ctest-TestBasicPolicy-06628559-26368456 ID is cdc913c8-4199-4298-ac40-73137cd66308 2026-04-29 10:03:00,711 - DEBUG - VM ctest-TestBasicPolicy-06628559-26368456 launched on Node cn-jenkins-deploy-platform-ansible-os-5709-1 2026-04-29 10:03:00,806 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/cdc913c8-4199-4298-ac40-73137cd66308 2026-04-29 10:03:00,817 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/21a47df9-d371-46d6-9b6b-8bc2debab15f 2026-04-29 10:03:02,078 - 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.08 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.606 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.606/1.845/3.084/1.239 ms') 2026-04-29 10:03:02,078 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-06628559-26368456 passed 2026-04-29 10:03:02,234 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-29 10:03:02,234 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-06628559-26368456, IP 113.237.95.67, Port 22 2026-04-29 10:03:02,416 - DEBUG - VM ctest-TestBasicPolicy-06628559-26368456 is ready for SSH connections 2026-04-29 10:03:02,417 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-29 10:03:02,417 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 113.237.95.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-04-29 10:03:02,417 - DEBUG - ping -s 56 -c 3 -W 1 113.237.95.67 2026-04-29 10:03:06,584 - DEBUG - PING 113.237.95.67 (113.237.95.67): 56 data bytes 64 bytes from 113.237.95.67: seq=0 ttl=63 time=4.542 ms 64 bytes from 113.237.95.67: seq=1 ttl=63 time=1.007 ms 64 bytes from 113.237.95.67: seq=2 ttl=63 time=1.112 ms --- 113.237.95.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.007/2.220/4.542 ms 2026-04-29 10:03:06,584 - INFO - Ping to IP 113.237.95.67 from VM ctest-TestBasicPolicy-06628559-04274014 passed 2026-04-29 10:03:06,778 - DEBUG - Policy Update Response {"network-policy": {"uuid": "de924424-09c1-406c-96e4-4c5c3b03da33", "href": "http://10.0.0.38:8082/network-policy/de924424-09c1-406c-96e4-4c5c3b03da33"}} 2026-04-29 10:03:06,778 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-29 10:03:06,778 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 113.237.95.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-04-29 10:03:06,778 - DEBUG - ping -s 56 -c 3 -W 1 113.237.95.67 2026-04-29 10:03:10,008 - DEBUG - PING 113.237.95.67 (113.237.95.67): 56 data bytes --- 113.237.95.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-29 10:03:10,009 - WARNING - Ping to IP 113.237.95.67 from VM ctest-TestBasicPolicy-06628559-04274014 failed 2026-04-29 10:03:10,009 - INFO - Deleting VM ctest-TestBasicPolicy-06628559-26368456 2026-04-29 10:03:10,095 - INFO - Deleting VM ctest-TestBasicPolicy-06628559-04274014 2026-04-29 10:03:10,599 - INFO - Deleted policy ctest-policy-allow-all-86473741 2026-04-29 10:03:10,599 - INFO - Deleting VN ctest-vn-11183630 2026-04-29 10:03:10,644 - DEBUG - VN 88bdaa17-e693-4179-abbd-331a65976bf3 still in use: Unable to complete operation on network 88bdaa17-e693-4179-abbd-331a65976bf3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-de1e222f-aeeb-468c-8058-7657c2b23c35'] 2026-04-29 10:03:10,645 - WARNING - Deleting VN ctest-vn-11183630 failed..Will retry 2026-04-29 10:03:12,773 - DEBUG - Response for deleting network () 2026-04-29 10:03:12,774 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c7cab98d-6890-460e-9026-fde076e603f0 2026-04-29 10:03:12,784 - DEBUG - Response Code: 404 2026-04-29 10:03:12,785 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-29 10:03:12,792 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ab63ec03-c50f-4e96-aa00-87722ef1dbe8 2026-04-29 10:03:12,849 - DEBUG - Requesting: http://10.0.0.38:8082/project/990eb565-8b84-4a20-ac4a-4ddc1d4924e5 2026-04-29 10:03:12,921 - INFO - Validated that VN ctest-vn-11183630 is not found in API Server 2026-04-29 10:03:12,930 - DEBUG - VN ctest-vn-11183630 is not present in Agent 10.0.0.38 2026-04-29 10:03:12,930 - INFO - Validated that VN ctest-vn-11183630 is not in any agent 2026-04-29 10:03:12,945 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-11183630 info 2026-04-29 10:03:12,945 - INFO - Deleting VN ctest-vn-57362174 2026-04-29 10:03:13,059 - DEBUG - Response for deleting network () 2026-04-29 10:03:13,059 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/01d69d41-6e85-41c4-8226-663a3f290b63 2026-04-29 10:03:13,066 - DEBUG - Response Code: 404 2026-04-29 10:03:13,066 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-29 10:03:13,073 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ab63ec03-c50f-4e96-aa00-87722ef1dbe8 2026-04-29 10:03:13,129 - DEBUG - Requesting: http://10.0.0.38:8082/project/990eb565-8b84-4a20-ac4a-4ddc1d4924e5 2026-04-29 10:03:13,206 - INFO - Validated that VN ctest-vn-57362174 is not found in API Server 2026-04-29 10:03:13,217 - DEBUG - VN ctest-vn-57362174 is not present in Agent 10.0.0.38 2026-04-29 10:03:13,217 - INFO - Validated that VN ctest-vn-57362174 is not in any agent 2026-04-29 10:03:13,232 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-57362174 info 2026-04-29 10:03:13,502 - DEBUG - No XMPP flaps were noticed during the test
2026-04-29 10:03:13,502 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36]
2026-04-29 10:03:13,502 - INFO - -------------------------------------------------------------------------------- 2026-04-29 10:03:14,247 - INFO - Deleted project: ctest-TestBasicPolicy-06628559, ID : 990eb565-8b84-4a20-ac4a-4ddc1d4924e5