2026-02-12 15:18:10,720 - INFO - Domain Default found not creating 2026-02-12 15:18:10,958 - INFO - Project ctest-TestBasicPolicy-38424505 not found, creating it 2026-02-12 15:18:11,527 - INFO - Created Project:ctest-TestBasicPolicy-38424505, ID : 8489189b-f97f-449b-8954-5ba8f2a1a3ae 2026-02-12 15:18:13,389 - INFO - ================================================================================ 2026-02-12 15:18:13,389 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-12 15:18:13,389 - 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-02-12 15:18:13,698 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-02-12 15:18:13,698 - INFO - Initial checks done. Running the testcase now 2026-02-12 15:18:13,698 - INFO - 2026-02-12 15:18:14,384 - DEBUG - Response for create_network : {'network': {'id': 'e3e6ed80-fbed-4e57-a83f-3f79627c2b79', 'name': 'ctest-vn-24087761', 'tenant_id': '8489189bf97f449b89545ba8f2a1a3ae', 'project_id': '8489189bf97f449b89545ba8f2a1a3ae', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38424505', 'ctest-vn-24087761'], 'port_security_enabled': True, 'description': ''}} 2026-02-12 15:18:14,644 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e04a2b93-dbd8-40d8-80ae-3c4a59bce48e', 'name': '', 'tenant_id': '8489189bf97f449b89545ba8f2a1a3ae', 'network_id': 'e3e6ed80-fbed-4e57-a83f-3f79627c2b79', 'ip_version': 4, 'cidr': '124.42.88.192/26', 'allocation_pools': [{'start': '124.42.88.194', 'end': '124.42.88.254'}], 'gateway_ip': '124.42.88.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '124.42.88.194', 'tags': [], 'project_id': '8489189bf97f449b89545ba8f2a1a3ae'}} 2026-02-12 15:18:14,679 - INFO - Created VN ctest-vn-24087761 2026-02-12 15:18:14,740 - DEBUG - VN ctest-vn-24087761 UUID is e3e6ed80-fbed-4e57-a83f-3f79627c2b79 2026-02-12 15:18:15,064 - DEBUG - Response for create_network : {'network': {'id': 'b04b2416-76b2-48ce-968b-39ad91830d68', 'name': 'ctest-vn-97601899', 'tenant_id': '8489189bf97f449b89545ba8f2a1a3ae', 'project_id': '8489189bf97f449b89545ba8f2a1a3ae', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38424505', 'ctest-vn-97601899'], 'port_security_enabled': True, 'description': ''}} 2026-02-12 15:18:15,302 - DEBUG - Response for create_subnet : {'subnet': {'id': '443630b2-0230-4bab-95f0-249fbbb37152', 'name': '', 'tenant_id': '8489189bf97f449b89545ba8f2a1a3ae', 'network_id': 'b04b2416-76b2-48ce-968b-39ad91830d68', 'ip_version': 4, 'cidr': '27.105.239.128/26', 'allocation_pools': [{'start': '27.105.239.130', 'end': '27.105.239.190'}], 'gateway_ip': '27.105.239.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '27.105.239.130', 'tags': [], 'project_id': '8489189bf97f449b89545ba8f2a1a3ae'}} 2026-02-12 15:18:15,324 - INFO - Created VN ctest-vn-97601899 2026-02-12 15:18:15,380 - DEBUG - VN ctest-vn-97601899 UUID is b04b2416-76b2-48ce-968b-39ad91830d68 2026-02-12 15:18:15,558 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-38424505:ctest-vn-24087761, 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-38424505:ctest-vn-97601899, 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-02-12 15:18:16,009 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e3e6ed80-fbed-4e57-a83f-3f79627c2b79', 'name': 'ctest-vn-24087761', 'tenant_id': '8489189bf97f449b89545ba8f2a1a3ae', 'project_id': '8489189bf97f449b89545ba8f2a1a3ae', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e04a2b93-dbd8-40d8-80ae-3c4a59bce48e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38424505', 'ctest-vn-24087761'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-38424505', 'ctest-policy-allow-all-43197919']], 'subnet_ipam': [{'subnet_cidr': '124.42.88.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-12 15:18:16,298 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b04b2416-76b2-48ce-968b-39ad91830d68', 'name': 'ctest-vn-97601899', 'tenant_id': '8489189bf97f449b89545ba8f2a1a3ae', 'project_id': '8489189bf97f449b89545ba8f2a1a3ae', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['443630b2-0230-4bab-95f0-249fbbb37152'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38424505', 'ctest-vn-97601899'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-38424505', 'ctest-policy-allow-all-43197919']], 'subnet_ipam': [{'subnet_cidr': '27.105.239.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-12 15:18:16,450 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-12 15:18:16,759 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-12 15:18:16,804 - DEBUG - Requesting: http://10.0.0.38:8082/domain/23f1bcbe-4093-4cbe-93d4-3853a4843fba 2026-02-12 15:18:16,829 - DEBUG - Requesting: http://10.0.0.38:8082/project/8489189b-f97f-449b-8954-5ba8f2a1a3ae 2026-02-12 15:18:16,936 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e3e6ed80-fbed-4e57-a83f-3f79627c2b79 2026-02-12 15:18:16,954 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e3e6ed80-fbed-4e57-a83f-3f79627c2b79 2026-02-12 15:18:16,978 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/60013ffb-8911-490f-b63c-85eb22dde089 2026-02-12 15:18:16,995 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/60013ffb-8911-490f-b63c-85eb22dde089 2026-02-12 15:18:17,006 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f96d525a-6dfa-4ce9-b330-75c602d16a6f 2026-02-12 15:18:17,017 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-12 15:18:17,018 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e3e6ed80-fbed-4e57-a83f-3f79627c2b79 2026-02-12 15:18:17,034 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/60013ffb-8911-490f-b63c-85eb22dde089 2026-02-12 15:18:17,053 - INFO - Verified VN network id 11 for VN e3e6ed80-fbed-4e57-a83f-3f79627c2b79 2026-02-12 15:18:17,053 - INFO - Verifications in API Server for VN ctest-vn-24087761 passed 2026-02-12 15:18:17,053 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e3e6ed80-fbed-4e57-a83f-3f79627c2b79 2026-02-12 15:18:17,065 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/60013ffb-8911-490f-b63c-85eb22dde089 2026-02-12 15:18:17,075 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/60013ffb-8911-490f-b63c-85eb22dde089 2026-02-12 15:18:17,084 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f96d525a-6dfa-4ce9-b330-75c602d16a6f 2026-02-12 15:18:17,100 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-38424505:ctest-vn-24087761', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-38424505', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16422074229491322455', 'uuid-lslong': '12123478512480562041'}, 'enable': 'true', 'created': '2026-02-12T15:18:14', 'last-modified': '2026-02-12T15:18:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.134943'} 2026-02-12 15:18:17,107 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-12 15:18:17,107 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-24087761 passed 2026-02-12 15:18:17,108 - DEBUG - ====Verifying policy data for ctest-vn-24087761 in API_Server ====== 2026-02-12 15:18:17,108 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-12 15:18:17,115 - DEBUG - Requesting: http://10.0.0.38:8082/domain/23f1bcbe-4093-4cbe-93d4-3853a4843fba 2026-02-12 15:18:17,128 - DEBUG - Requesting: http://10.0.0.38:8082/project/8489189b-f97f-449b-8954-5ba8f2a1a3ae 2026-02-12 15:18:17,212 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e3e6ed80-fbed-4e57-a83f-3f79627c2b79 2026-02-12 15:18:17,225 - DEBUG - ==>Verifying data for policy with id: c7b22a1a-39c4-40b3-b606-d664317cc3e5, fqn: ['default-domain', 'ctest-TestBasicPolicy-38424505', 'ctest-policy-allow-all-43197919'] 2026-02-12 15:18:17,225 - INFO - VN ctest-vn-24087761 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-12 15:18:17,225 - DEBUG - Verifying the vn in opserver 2026-02-12 15:18:17,225 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-38424505:ctest-vn-24087761 virtual network link through opserver 10.0.0.38 2026-02-12 15:18:17,225 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-12 15:18:17,531 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-12 15:18:17,621 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-38424505:ctest-vn-24087761', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-38424505:ctest-vn-24087761?flat'} 2026-02-12 15:18:17,621 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-38424505:ctest-vn-24087761 is found in opserver 2026-02-12 15:18:17,638 - DEBUG - Do not have enough data to verify VN in agent 2026-02-12 15:18:17,654 - DEBUG - VRF ids for VN ctest-vn-24087761: {} 2026-02-12 15:18:17,654 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-12 15:18:17,666 - DEBUG - Requesting: http://10.0.0.38:8082/domain/23f1bcbe-4093-4cbe-93d4-3853a4843fba 2026-02-12 15:18:17,682 - DEBUG - Requesting: http://10.0.0.38:8082/project/8489189b-f97f-449b-8954-5ba8f2a1a3ae 2026-02-12 15:18:17,779 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b04b2416-76b2-48ce-968b-39ad91830d68 2026-02-12 15:18:17,795 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b04b2416-76b2-48ce-968b-39ad91830d68 2026-02-12 15:18:17,810 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3c8adb71-0a0e-4164-8b3f-6da8ea38d032 2026-02-12 15:18:17,820 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3c8adb71-0a0e-4164-8b3f-6da8ea38d032 2026-02-12 15:18:17,830 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/169432c3-c083-446f-957f-25f6da7d37e9 2026-02-12 15:18:17,836 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-12 15:18:17,836 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b04b2416-76b2-48ce-968b-39ad91830d68 2026-02-12 15:18:17,846 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3c8adb71-0a0e-4164-8b3f-6da8ea38d032 2026-02-12 15:18:17,862 - INFO - Verified VN network id 12 for VN b04b2416-76b2-48ce-968b-39ad91830d68 2026-02-12 15:18:17,863 - INFO - Verifications in API Server for VN ctest-vn-97601899 passed 2026-02-12 15:18:17,863 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b04b2416-76b2-48ce-968b-39ad91830d68 2026-02-12 15:18:17,872 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3c8adb71-0a0e-4164-8b3f-6da8ea38d032 2026-02-12 15:18:17,879 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3c8adb71-0a0e-4164-8b3f-6da8ea38d032 2026-02-12 15:18:17,886 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/169432c3-c083-446f-957f-25f6da7d37e9 2026-02-12 15:18:17,903 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-38424505:ctest-vn-97601899', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-38424505', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12703286852827891918', 'uuid-lslong': '10847827545085381992'}, 'enable': 'true', 'created': '2026-02-12T15:18:15', 'last-modified': '2026-02-12T15:18:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.640861'} 2026-02-12 15:18:17,912 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-12 15:18:17,912 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-97601899 passed 2026-02-12 15:18:17,912 - DEBUG - ====Verifying policy data for ctest-vn-97601899 in API_Server ====== 2026-02-12 15:18:17,912 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-12 15:18:17,918 - DEBUG - Requesting: http://10.0.0.38:8082/domain/23f1bcbe-4093-4cbe-93d4-3853a4843fba 2026-02-12 15:18:17,931 - DEBUG - Requesting: http://10.0.0.38:8082/project/8489189b-f97f-449b-8954-5ba8f2a1a3ae 2026-02-12 15:18:18,036 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b04b2416-76b2-48ce-968b-39ad91830d68 2026-02-12 15:18:18,046 - DEBUG - ==>Verifying data for policy with id: c7b22a1a-39c4-40b3-b606-d664317cc3e5, fqn: ['default-domain', 'ctest-TestBasicPolicy-38424505', 'ctest-policy-allow-all-43197919'] 2026-02-12 15:18:18,046 - INFO - VN ctest-vn-97601899 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-12 15:18:18,046 - DEBUG - Verifying the vn in opserver 2026-02-12 15:18:18,046 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-38424505:ctest-vn-97601899 virtual network link through opserver 10.0.0.38 2026-02-12 15:18:18,046 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-12 15:18:18,056 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-38424505:ctest-vn-97601899', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-38424505:ctest-vn-97601899?flat'} 2026-02-12 15:18:18,056 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-38424505:ctest-vn-97601899 is found in opserver 2026-02-12 15:18:18,067 - DEBUG - Do not have enough data to verify VN in agent 2026-02-12 15:18:18,073 - DEBUG - VRF ids for VN ctest-vn-97601899: {} 2026-02-12 15:18:18,144 - DEBUG - Services list from nova: [, , ] 2026-02-12 15:18:19,419 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5318-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5318-1) 2026-02-12 15:18:20,895 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5318-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5318-1) 2026-02-12 15:18:20,895 - INFO - Waiting for VM ctest-TestBasicPolicy-38424505-35445845 to be up.. 2026-02-12 15:18:21,009 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-12 15:18:26,100 - DEBUG - VM is in ACTIVE state now 2026-02-12 15:18:26,100 - INFO - VM name : ctest-TestBasicPolicy-38424505-35445845 2026-02-12 15:18:26,217 - DEBUG - VM ctest-TestBasicPolicy-38424505-35445845 ID is 69f6dbf5-320e-4405-ae08-73142c318d7b 2026-02-12 15:18:26,242 - DEBUG - VM ctest-TestBasicPolicy-38424505-35445845 launched on Node cn-jenkins-deploy-platform-ansible-os-5318-1 2026-02-12 15:18:26,356 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/69f6dbf5-320e-4405-ae08-73142c318d7b 2026-02-12 15:18:26,365 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/faed4152-42f2-4252-b96b-9ab2d2b32d26 2026-02-12 15:18:29,624 - 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-02-12 15:18:29,624 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-38424505-35445845 failed! 2026-02-12 15:18:29,692 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-38424505:ctest-vn-24087761 is 124.42.88.193 and allocation pool is NOT set 2026-02-12 15:18:31,765 - 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=13.9 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.34 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.337/7.600/13.864/6.263 ms') 2026-02-12 15:18:31,765 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-38424505-35445845 passed 2026-02-12 15:18:31,924 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 15:18:31,924 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-38424505-35445845, IP 124.42.88.195, Port 22 2026-02-12 15:18:31,991 - 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-02-12 15:18:32,114 - DEBUG - VM ctest-TestBasicPolicy-38424505-35445845 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-12 15:18:37,115 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 15:18:37,115 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-38424505-35445845, IP 124.42.88.195, Port 22 2026-02-12 15:18:37,287 - DEBUG - VM ctest-TestBasicPolicy-38424505-35445845 is ready for SSH connections 2026-02-12 15:18:37,287 - INFO - Waiting for VM ctest-TestBasicPolicy-38424505-82158413 to be up.. 2026-02-12 15:18:37,380 - DEBUG - VM is in ACTIVE state now 2026-02-12 15:18:37,380 - INFO - VM name : ctest-TestBasicPolicy-38424505-82158413 2026-02-12 15:18:37,473 - DEBUG - VM ctest-TestBasicPolicy-38424505-82158413 ID is 2e106ac9-cc1b-4d03-8d6b-ae62f540ce9d 2026-02-12 15:18:37,473 - DEBUG - VM ctest-TestBasicPolicy-38424505-82158413 launched on Node cn-jenkins-deploy-platform-ansible-os-5318-1 2026-02-12 15:18:37,573 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/2e106ac9-cc1b-4d03-8d6b-ae62f540ce9d 2026-02-12 15:18:37,582 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/8bb2dabf-3088-4197-9c54-208a96a8d440 2026-02-12 15:18:38,849 - 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=9.08 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.658 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.658/4.870/9.082/4.212 ms') 2026-02-12 15:18:38,850 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-38424505-82158413 passed 2026-02-12 15:18:39,029 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 15:18:39,029 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-38424505-82158413, IP 27.105.239.131, Port 22 2026-02-12 15:18:39,212 - DEBUG - VM ctest-TestBasicPolicy-38424505-82158413 is ready for SSH connections 2026-02-12 15:18:39,212 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 15:18:39,213 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 27.105.239.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-12 15:18:39,213 - DEBUG - ping -s 56 -c 3 -W 1 27.105.239.131 2026-02-12 15:18:43,165 - DEBUG - PING 27.105.239.131 (27.105.239.131): 56 data bytes 64 bytes from 27.105.239.131: seq=0 ttl=63 time=5.870 ms 64 bytes from 27.105.239.131: seq=1 ttl=63 time=1.399 ms 64 bytes from 27.105.239.131: seq=2 ttl=63 time=1.422 ms --- 27.105.239.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.399/2.897/5.870 ms 2026-02-12 15:18:43,165 - INFO - Ping to IP 27.105.239.131 from VM ctest-TestBasicPolicy-38424505-35445845 passed 2026-02-12 15:18:43,364 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c7b22a1a-39c4-40b3-b606-d664317cc3e5", "href": "http://10.0.0.38:8082/network-policy/c7b22a1a-39c4-40b3-b606-d664317cc3e5"}} 2026-02-12 15:18:43,364 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 15:18:43,364 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 27.105.239.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-12 15:18:43,365 - DEBUG - ping -s 56 -c 3 -W 1 27.105.239.131 2026-02-12 15:18:46,656 - DEBUG - PING 27.105.239.131 (27.105.239.131): 56 data bytes --- 27.105.239.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-12 15:18:46,656 - WARNING - Ping to IP 27.105.239.131 from VM ctest-TestBasicPolicy-38424505-35445845 failed 2026-02-12 15:18:46,657 - INFO - Deleting VM ctest-TestBasicPolicy-38424505-82158413 2026-02-12 15:18:46,834 - INFO - Deleting VM ctest-TestBasicPolicy-38424505-35445845 2026-02-12 15:18:47,399 - INFO - Deleted policy ctest-policy-allow-all-43197919 2026-02-12 15:18:47,399 - INFO - Deleting VN ctest-vn-97601899 2026-02-12 15:18:47,459 - DEBUG - VN b04b2416-76b2-48ce-968b-39ad91830d68 still in use: Unable to complete operation on network b04b2416-76b2-48ce-968b-39ad91830d68. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e4b2c658-716c-4bc3-88a9-42aa377ae0d3'] 2026-02-12 15:18:47,459 - WARNING - Deleting VN ctest-vn-97601899 failed..Will retry 2026-02-12 15:18:49,644 - DEBUG - Response for deleting network () 2026-02-12 15:18:49,644 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3c8adb71-0a0e-4164-8b3f-6da8ea38d032 2026-02-12 15:18:49,656 - DEBUG - Response Code: 404 2026-02-12 15:18:49,656 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-12 15:18:49,662 - DEBUG - Requesting: http://10.0.0.38:8082/domain/23f1bcbe-4093-4cbe-93d4-3853a4843fba 2026-02-12 15:18:49,723 - DEBUG - Requesting: http://10.0.0.38:8082/project/8489189b-f97f-449b-8954-5ba8f2a1a3ae 2026-02-12 15:18:49,839 - INFO - Validated that VN ctest-vn-97601899 is not found in API Server 2026-02-12 15:18:49,861 - DEBUG - VN ctest-vn-97601899 is not present in Agent 10.0.0.38 2026-02-12 15:18:49,861 - INFO - Validated that VN ctest-vn-97601899 is not in any agent 2026-02-12 15:18:49,889 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-97601899 info 2026-02-12 15:18:49,890 - INFO - Deleting VN ctest-vn-24087761 2026-02-12 15:18:50,053 - DEBUG - Response for deleting network () 2026-02-12 15:18:50,053 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/60013ffb-8911-490f-b63c-85eb22dde089 2026-02-12 15:18:50,058 - DEBUG - Response Code: 404 2026-02-12 15:18:50,058 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-12 15:18:50,065 - DEBUG - Requesting: http://10.0.0.38:8082/domain/23f1bcbe-4093-4cbe-93d4-3853a4843fba 2026-02-12 15:18:50,123 - DEBUG - Requesting: http://10.0.0.38:8082/project/8489189b-f97f-449b-8954-5ba8f2a1a3ae 2026-02-12 15:18:50,220 - INFO - Validated that VN ctest-vn-24087761 is not found in API Server 2026-02-12 15:18:50,238 - DEBUG - VN ctest-vn-24087761 is not present in Agent 10.0.0.38 2026-02-12 15:18:50,238 - INFO - Validated that VN ctest-vn-24087761 is not in any agent 2026-02-12 15:18:50,270 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-24087761 info 2026-02-12 15:18:50,576 - DEBUG - No XMPP flaps were noticed during the test
2026-02-12 15:18:50,577 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:37]
2026-02-12 15:18:50,577 - INFO - -------------------------------------------------------------------------------- 2026-02-12 15:18:51,336 - INFO - Deleted project: ctest-TestBasicPolicy-38424505, ID : 8489189b-f97f-449b-8954-5ba8f2a1a3ae