2026-01-19 02:04:54,769 - INFO - Domain Default found not creating 2026-01-19 02:04:54,944 - INFO - Project ctest-TestBasicPolicy-19399436 not found, creating it 2026-01-19 02:04:55,377 - INFO - Created Project:ctest-TestBasicPolicy-19399436, ID : a97cdf7b-b6e1-4122-87fa-ebf3fc59c28d 2026-01-19 02:04:56,962 - INFO - ================================================================================ 2026-01-19 02:04:56,962 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-19 02:04:56,962 - 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-01-19 02:04:57,224 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.14': '0'}} with 2026-01-19 02:04:57,224 - INFO - Initial checks done. Running the testcase now 2026-01-19 02:04:57,224 - INFO - 2026-01-19 02:04:57,808 - DEBUG - Response for create_network : {'network': {'id': '851a0ab1-e7a1-4fa6-8fe4-502981727c2c', 'name': 'ctest-vn-34926809', 'tenant_id': 'a97cdf7bb6e1412287faebf3fc59c28d', 'project_id': 'a97cdf7bb6e1412287faebf3fc59c28d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19399436', 'ctest-vn-34926809'], 'port_security_enabled': True, 'description': ''}} 2026-01-19 02:04:57,961 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e7a9d7d2-bfd8-498c-8a9a-4abcbad54538', 'name': '', 'tenant_id': 'a97cdf7bb6e1412287faebf3fc59c28d', 'network_id': '851a0ab1-e7a1-4fa6-8fe4-502981727c2c', 'ip_version': 4, 'cidr': '138.43.18.192/26', 'allocation_pools': [{'start': '138.43.18.194', 'end': '138.43.18.254'}], 'gateway_ip': '138.43.18.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '138.43.18.194', 'tags': [], 'project_id': 'a97cdf7bb6e1412287faebf3fc59c28d'}} 2026-01-19 02:04:57,979 - INFO - Created VN ctest-vn-34926809 2026-01-19 02:04:58,033 - DEBUG - VN ctest-vn-34926809 UUID is 851a0ab1-e7a1-4fa6-8fe4-502981727c2c 2026-01-19 02:04:58,348 - DEBUG - Response for create_network : {'network': {'id': '4d9aa540-a7f8-43e0-847b-af186c95656e', 'name': 'ctest-vn-41350453', 'tenant_id': 'a97cdf7bb6e1412287faebf3fc59c28d', 'project_id': 'a97cdf7bb6e1412287faebf3fc59c28d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19399436', 'ctest-vn-41350453'], 'port_security_enabled': True, 'description': ''}} 2026-01-19 02:04:58,553 - DEBUG - Response for create_subnet : {'subnet': {'id': '0cf77d54-f75b-4346-bcfe-b04d88789bdc', 'name': '', 'tenant_id': 'a97cdf7bb6e1412287faebf3fc59c28d', 'network_id': '4d9aa540-a7f8-43e0-847b-af186c95656e', 'ip_version': 4, 'cidr': '131.184.26.192/26', 'allocation_pools': [{'start': '131.184.26.194', 'end': '131.184.26.254'}], 'gateway_ip': '131.184.26.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '131.184.26.194', 'tags': [], 'project_id': 'a97cdf7bb6e1412287faebf3fc59c28d'}} 2026-01-19 02:04:58,577 - INFO - Created VN ctest-vn-41350453 2026-01-19 02:04:58,629 - DEBUG - VN ctest-vn-41350453 UUID is 4d9aa540-a7f8-43e0-847b-af186c95656e 2026-01-19 02:04:58,744 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-19399436:ctest-vn-34926809, 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-19399436:ctest-vn-41350453, 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-01-19 02:04:59,043 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '851a0ab1-e7a1-4fa6-8fe4-502981727c2c', 'name': 'ctest-vn-34926809', 'tenant_id': 'a97cdf7bb6e1412287faebf3fc59c28d', 'project_id': 'a97cdf7bb6e1412287faebf3fc59c28d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e7a9d7d2-bfd8-498c-8a9a-4abcbad54538'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19399436', 'ctest-vn-34926809'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-19399436', 'ctest-policy-allow-all-90472287']], 'subnet_ipam': [{'subnet_cidr': '138.43.18.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-19 02:04:59,280 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4d9aa540-a7f8-43e0-847b-af186c95656e', 'name': 'ctest-vn-41350453', 'tenant_id': 'a97cdf7bb6e1412287faebf3fc59c28d', 'project_id': 'a97cdf7bb6e1412287faebf3fc59c28d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0cf77d54-f75b-4346-bcfe-b04d88789bdc'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19399436', 'ctest-vn-41350453'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-19399436', 'ctest-policy-allow-all-90472287']], 'subnet_ipam': [{'subnet_cidr': '131.184.26.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-19 02:04:59,453 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-01-19 02:04:59,761 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-01-19 02:04:59,796 - DEBUG - Requesting: http://10.0.0.141:8082/domain/842248eb-4371-401b-be9c-56527aaba4af 2026-01-19 02:04:59,809 - DEBUG - Requesting: http://10.0.0.141:8082/project/a97cdf7b-b6e1-4122-87fa-ebf3fc59c28d 2026-01-19 02:04:59,884 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/851a0ab1-e7a1-4fa6-8fe4-502981727c2c 2026-01-19 02:04:59,894 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/851a0ab1-e7a1-4fa6-8fe4-502981727c2c 2026-01-19 02:04:59,905 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/d8631f44-250f-4d2b-9364-65b5cfb48054 2026-01-19 02:04:59,913 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/d8631f44-250f-4d2b-9364-65b5cfb48054 2026-01-19 02:04:59,920 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/d2b745a8-f107-49db-bba3-bef1a6aa2f2d 2026-01-19 02:04:59,927 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-19 02:04:59,927 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/851a0ab1-e7a1-4fa6-8fe4-502981727c2c 2026-01-19 02:04:59,936 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/d8631f44-250f-4d2b-9364-65b5cfb48054 2026-01-19 02:04:59,952 - INFO - Verified VN network id 11 for VN 851a0ab1-e7a1-4fa6-8fe4-502981727c2c 2026-01-19 02:04:59,952 - INFO - Verifications in API Server for VN ctest-vn-34926809 passed 2026-01-19 02:04:59,952 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/851a0ab1-e7a1-4fa6-8fe4-502981727c2c 2026-01-19 02:04:59,962 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/d8631f44-250f-4d2b-9364-65b5cfb48054 2026-01-19 02:04:59,969 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/d8631f44-250f-4d2b-9364-65b5cfb48054 2026-01-19 02:04:59,977 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/d2b745a8-f107-49db-bba3-bef1a6aa2f2d 2026-01-19 02:04:59,990 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-19399436:ctest-vn-34926809', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-19399436', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9590990115650490278', 'uuid-lslong': '10368500381309369388'}, 'enable': 'true', 'created': '2026-01-19T02:04:57', 'last-modified': '2026-01-19T02:04:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.972496'} 2026-01-19 02:04:59,997 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-19 02:04:59,997 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-34926809 passed 2026-01-19 02:04:59,997 - DEBUG - ====Verifying policy data for ctest-vn-34926809 in API_Server ====== 2026-01-19 02:04:59,997 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-01-19 02:05:00,003 - DEBUG - Requesting: http://10.0.0.141:8082/domain/842248eb-4371-401b-be9c-56527aaba4af 2026-01-19 02:05:00,015 - DEBUG - Requesting: http://10.0.0.141:8082/project/a97cdf7b-b6e1-4122-87fa-ebf3fc59c28d 2026-01-19 02:05:00,095 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/851a0ab1-e7a1-4fa6-8fe4-502981727c2c 2026-01-19 02:05:00,104 - DEBUG - ==>Verifying data for policy with id: f28c5e58-4d59-4e8c-9ce3-e52170a70bbe, fqn: ['default-domain', 'ctest-TestBasicPolicy-19399436', 'ctest-policy-allow-all-90472287'] 2026-01-19 02:05:00,104 - INFO - VN ctest-vn-34926809 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-19 02:05:00,104 - DEBUG - Verifying the vn in opserver 2026-01-19 02:05:00,104 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-19399436:ctest-vn-34926809 virtual network link through opserver 10.0.0.141 2026-01-19 02:05:00,104 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-01-19 02:05:00,407 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-01-19 02:05:00,475 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-19399436:ctest-vn-34926809', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-19399436:ctest-vn-34926809?flat'} 2026-01-19 02:05:00,475 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-19399436:ctest-vn-34926809 is found in opserver 2026-01-19 02:05:00,485 - DEBUG - Do not have enough data to verify VN in agent 2026-01-19 02:05:00,489 - DEBUG - VRF ids for VN ctest-vn-34926809: {} 2026-01-19 02:05:00,489 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-01-19 02:05:00,495 - DEBUG - Requesting: http://10.0.0.141:8082/domain/842248eb-4371-401b-be9c-56527aaba4af 2026-01-19 02:05:00,506 - DEBUG - Requesting: http://10.0.0.141:8082/project/a97cdf7b-b6e1-4122-87fa-ebf3fc59c28d 2026-01-19 02:05:00,578 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/4d9aa540-a7f8-43e0-847b-af186c95656e 2026-01-19 02:05:00,590 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/4d9aa540-a7f8-43e0-847b-af186c95656e 2026-01-19 02:05:00,601 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/95f2a2d9-30c8-4d0e-ab76-6d8f45c763d2 2026-01-19 02:05:00,611 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/95f2a2d9-30c8-4d0e-ab76-6d8f45c763d2 2026-01-19 02:05:00,619 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/e5938053-ad90-437d-b9d0-2af0d17cdd70 2026-01-19 02:05:00,629 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-19 02:05:00,629 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/4d9aa540-a7f8-43e0-847b-af186c95656e 2026-01-19 02:05:00,638 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/95f2a2d9-30c8-4d0e-ab76-6d8f45c763d2 2026-01-19 02:05:00,654 - INFO - Verified VN network id 12 for VN 4d9aa540-a7f8-43e0-847b-af186c95656e 2026-01-19 02:05:00,654 - INFO - Verifications in API Server for VN ctest-vn-41350453 passed 2026-01-19 02:05:00,654 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/4d9aa540-a7f8-43e0-847b-af186c95656e 2026-01-19 02:05:00,665 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/95f2a2d9-30c8-4d0e-ab76-6d8f45c763d2 2026-01-19 02:05:00,673 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/95f2a2d9-30c8-4d0e-ab76-6d8f45c763d2 2026-01-19 02:05:00,681 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/e5938053-ad90-437d-b9d0-2af0d17cdd70 2026-01-19 02:05:00,694 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-19399436:ctest-vn-41350453', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-19399436', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5591963584448447456', 'uuid-lslong': '9546416354577704302'}, 'enable': 'true', 'created': '2026-01-19T02:04:58', 'last-modified': '2026-01-19T02:04:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.439002'} 2026-01-19 02:05:00,700 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-19 02:05:00,700 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-41350453 passed 2026-01-19 02:05:00,701 - DEBUG - ====Verifying policy data for ctest-vn-41350453 in API_Server ====== 2026-01-19 02:05:00,701 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-01-19 02:05:00,707 - DEBUG - Requesting: http://10.0.0.141:8082/domain/842248eb-4371-401b-be9c-56527aaba4af 2026-01-19 02:05:00,719 - DEBUG - Requesting: http://10.0.0.141:8082/project/a97cdf7b-b6e1-4122-87fa-ebf3fc59c28d 2026-01-19 02:05:00,797 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/4d9aa540-a7f8-43e0-847b-af186c95656e 2026-01-19 02:05:00,807 - DEBUG - ==>Verifying data for policy with id: f28c5e58-4d59-4e8c-9ce3-e52170a70bbe, fqn: ['default-domain', 'ctest-TestBasicPolicy-19399436', 'ctest-policy-allow-all-90472287'] 2026-01-19 02:05:00,807 - INFO - VN ctest-vn-41350453 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-19 02:05:00,807 - DEBUG - Verifying the vn in opserver 2026-01-19 02:05:00,807 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-19399436:ctest-vn-41350453 virtual network link through opserver 10.0.0.141 2026-01-19 02:05:00,807 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-01-19 02:05:00,821 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-19399436:ctest-vn-41350453', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-19399436:ctest-vn-41350453?flat'} 2026-01-19 02:05:00,821 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-19399436:ctest-vn-41350453 is found in opserver 2026-01-19 02:05:00,833 - DEBUG - Do not have enough data to verify VN in agent 2026-01-19 02:05:00,839 - DEBUG - VRF ids for VN ctest-vn-41350453: {} 2026-01-19 02:05:00,926 - DEBUG - Services list from nova: [, , ] 2026-01-19 02:05:01,997 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5039-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5039-1) 2026-01-19 02:05:03,191 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5039-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5039-1) 2026-01-19 02:05:03,193 - INFO - Waiting for VM ctest-TestBasicPolicy-19399436-62335675 to be up.. 2026-01-19 02:05:03,279 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-19 02:05:08,364 - DEBUG - VM is in ACTIVE state now 2026-01-19 02:05:08,364 - INFO - VM name : ctest-TestBasicPolicy-19399436-62335675 2026-01-19 02:05:08,453 - DEBUG - VM ctest-TestBasicPolicy-19399436-62335675 ID is a767ef51-fd9f-426b-9c8d-136a83612e6f 2026-01-19 02:05:08,474 - DEBUG - VM ctest-TestBasicPolicy-19399436-62335675 launched on Node cn-jenkins-deploy-platform-ansible-os-5039-1 2026-01-19 02:05:08,561 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/a767ef51-fd9f-426b-9c8d-136a83612e6f 2026-01-19 02:05:08,571 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/6203bfcb-da53-4d4b-9d8b-f752b8245bb8 2026-01-19 02:05:11,843 - 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 1033ms') 2026-01-19 02:05:11,843 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-19399436-62335675 failed! 2026-01-19 02:05:11,897 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-19399436:ctest-vn-34926809 is 138.43.18.193 and allocation pool is NOT set 2026-01-19 02:05:13,964 - 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=9.59 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.55 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.547/5.567/9.587/4.020 ms') 2026-01-19 02:05:13,965 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-19399436-62335675 passed 2026-01-19 02:05:14,113 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-19 02:05:14,113 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-19399436-62335675, IP 138.43.18.195, Port 22 2026-01-19 02:05:14,180 - 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-01-19 02:05:14,258 - DEBUG - VM ctest-TestBasicPolicy-19399436-62335675 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-19 02:05:19,259 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-19 02:05:19,259 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-19399436-62335675, IP 138.43.18.195, Port 22 2026-01-19 02:05:19,420 - DEBUG - VM ctest-TestBasicPolicy-19399436-62335675 is ready for SSH connections 2026-01-19 02:05:19,420 - INFO - Waiting for VM ctest-TestBasicPolicy-19399436-97738056 to be up.. 2026-01-19 02:05:19,509 - DEBUG - VM is in ACTIVE state now 2026-01-19 02:05:19,509 - INFO - VM name : ctest-TestBasicPolicy-19399436-97738056 2026-01-19 02:05:19,589 - DEBUG - VM ctest-TestBasicPolicy-19399436-97738056 ID is a02d0128-2506-419a-96ff-a1cfd3a90dfa 2026-01-19 02:05:19,589 - DEBUG - VM ctest-TestBasicPolicy-19399436-97738056 launched on Node cn-jenkins-deploy-platform-ansible-os-5039-1 2026-01-19 02:05:19,668 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/a02d0128-2506-419a-96ff-a1cfd3a90dfa 2026-01-19 02:05:19,677 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/bf6e38a0-ebe2-45ee-8ba7-a0a6241ac0d0 2026-01-19 02:05:20,909 - 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=2.97 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.421 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.421/1.695/2.970/1.274 ms') 2026-01-19 02:05:20,909 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-19399436-97738056 passed 2026-01-19 02:05:21,070 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-19 02:05:21,070 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-19399436-97738056, IP 131.184.26.195, Port 22 2026-01-19 02:05:21,229 - DEBUG - VM ctest-TestBasicPolicy-19399436-97738056 is ready for SSH connections 2026-01-19 02:05:21,229 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-19 02:05:21,229 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 131.184.26.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-01-19 02:05:21,229 - DEBUG - ping -s 56 -c 3 -W 1 131.184.26.195 2026-01-19 02:05:25,310 - DEBUG - PING 131.184.26.195 (131.184.26.195): 56 data bytes 64 bytes from 131.184.26.195: seq=0 ttl=63 time=3.756 ms 64 bytes from 131.184.26.195: seq=1 ttl=63 time=1.028 ms 64 bytes from 131.184.26.195: seq=2 ttl=63 time=0.947 ms --- 131.184.26.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.947/1.910/3.756 ms 2026-01-19 02:05:25,310 - INFO - Ping to IP 131.184.26.195 from VM ctest-TestBasicPolicy-19399436-62335675 passed 2026-01-19 02:05:25,497 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f28c5e58-4d59-4e8c-9ce3-e52170a70bbe", "href": "http://10.0.0.141:8082/network-policy/f28c5e58-4d59-4e8c-9ce3-e52170a70bbe"}} 2026-01-19 02:05:25,497 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-19 02:05:25,497 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 131.184.26.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-01-19 02:05:25,497 - DEBUG - ping -s 56 -c 3 -W 1 131.184.26.195 2026-01-19 02:05:28,713 - DEBUG - PING 131.184.26.195 (131.184.26.195): 56 data bytes --- 131.184.26.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-19 02:05:28,714 - WARNING - Ping to IP 131.184.26.195 from VM ctest-TestBasicPolicy-19399436-62335675 failed 2026-01-19 02:05:28,714 - INFO - Deleting VM ctest-TestBasicPolicy-19399436-97738056 2026-01-19 02:05:28,809 - INFO - Deleting VM ctest-TestBasicPolicy-19399436-62335675 2026-01-19 02:05:29,222 - INFO - Deleted policy ctest-policy-allow-all-90472287 2026-01-19 02:05:29,222 - INFO - Deleting VN ctest-vn-41350453 2026-01-19 02:05:29,264 - DEBUG - VN 4d9aa540-a7f8-43e0-847b-af186c95656e still in use: Unable to complete operation on network 4d9aa540-a7f8-43e0-847b-af186c95656e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4e40e771-29d2-474c-87e8-a3ca177950cf'] 2026-01-19 02:05:29,264 - WARNING - Deleting VN ctest-vn-41350453 failed..Will retry 2026-01-19 02:05:31,360 - DEBUG - Response for deleting network () 2026-01-19 02:05:31,361 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/95f2a2d9-30c8-4d0e-ab76-6d8f45c763d2 2026-01-19 02:05:31,365 - DEBUG - Response Code: 404 2026-01-19 02:05:31,365 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-01-19 02:05:31,374 - DEBUG - Requesting: http://10.0.0.141:8082/domain/842248eb-4371-401b-be9c-56527aaba4af 2026-01-19 02:05:31,426 - DEBUG - Requesting: http://10.0.0.141:8082/project/a97cdf7b-b6e1-4122-87fa-ebf3fc59c28d 2026-01-19 02:05:31,501 - INFO - Validated that VN ctest-vn-41350453 is not found in API Server 2026-01-19 02:05:31,511 - DEBUG - VN ctest-vn-41350453 is not present in Agent 10.0.0.141 2026-01-19 02:05:31,511 - INFO - Validated that VN ctest-vn-41350453 is not in any agent 2026-01-19 02:05:31,526 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-41350453 info 2026-01-19 02:05:31,526 - INFO - Deleting VN ctest-vn-34926809 2026-01-19 02:05:31,694 - DEBUG - Response for deleting network () 2026-01-19 02:05:31,695 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/d8631f44-250f-4d2b-9364-65b5cfb48054 2026-01-19 02:05:31,702 - DEBUG - Response Code: 404 2026-01-19 02:05:31,702 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-01-19 02:05:31,708 - DEBUG - Requesting: http://10.0.0.141:8082/domain/842248eb-4371-401b-be9c-56527aaba4af 2026-01-19 02:05:31,762 - DEBUG - Requesting: http://10.0.0.141:8082/project/a97cdf7b-b6e1-4122-87fa-ebf3fc59c28d 2026-01-19 02:05:31,834 - INFO - Validated that VN ctest-vn-34926809 is not found in API Server 2026-01-19 02:05:31,844 - DEBUG - VN ctest-vn-34926809 is not present in Agent 10.0.0.141 2026-01-19 02:05:31,845 - INFO - Validated that VN ctest-vn-34926809 is not in any agent 2026-01-19 02:05:31,858 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-34926809 info 2026-01-19 02:05:32,114 - DEBUG - No XMPP flaps were noticed during the test 2026-01-19 02:05:32,114 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36] 2026-01-19 02:05:32,114 - INFO - -------------------------------------------------------------------------------- 2026-01-19 02:05:32,834 - INFO - Deleted project: ctest-TestBasicPolicy-19399436, ID : a97cdf7b-b6e1-4122-87fa-ebf3fc59c28d