2026-08-17 09:44:15,722 - INFO - Domain Default found not creating 2026-08-17 09:44:15,885 - INFO - Project ctest-TestBasicPolicy-01269889 not found, creating it 2026-08-17 09:44:16,378 - INFO - Created Project:ctest-TestBasicPolicy-01269889, ID : 8ae7e229-7abb-4a4f-9b8e-902ff80db1ac 2026-08-17 09:44:18,119 - INFO - ================================================================================ 2026-08-17 09:44:18,119 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-08-17 09:44:18,119 - 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-08-17 09:44:18,394 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2026-08-17 09:44:18,394 - INFO - Initial checks done. Running the testcase now 2026-08-17 09:44:18,394 - INFO - 2026-08-17 09:44:19,061 - DEBUG - Response for create_network : {'network': {'id': 'ef2cc8f4-025b-4574-a5bd-ae94baeaef96', 'name': 'ctest-vn-02163542', 'tenant_id': '8ae7e2297abb4a4f9b8e902ff80db1ac', 'project_id': '8ae7e2297abb4a4f9b8e902ff80db1ac', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01269889', 'ctest-vn-02163542'], 'port_security_enabled': True, 'description': ''}} 2026-08-17 09:44:19,283 - DEBUG - Response for create_subnet : {'subnet': {'id': '9ce4268d-105a-4776-b25f-5a05441d611f', 'name': '', 'tenant_id': '8ae7e2297abb4a4f9b8e902ff80db1ac', 'network_id': 'ef2cc8f4-025b-4574-a5bd-ae94baeaef96', 'ip_version': 4, 'cidr': '83.74.224.128/26', 'allocation_pools': [{'start': '83.74.224.130', 'end': '83.74.224.190'}], 'gateway_ip': '83.74.224.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '83.74.224.130', 'tags': [], 'project_id': '8ae7e2297abb4a4f9b8e902ff80db1ac'}} 2026-08-17 09:44:19,300 - INFO - Created VN ctest-vn-02163542 2026-08-17 09:44:19,352 - DEBUG - VN ctest-vn-02163542 UUID is ef2cc8f4-025b-4574-a5bd-ae94baeaef96 2026-08-17 09:44:19,697 - DEBUG - Response for create_network : {'network': {'id': 'ecc53018-d6a3-45a1-b5da-24fd08afa7f4', 'name': 'ctest-vn-42289159', 'tenant_id': '8ae7e2297abb4a4f9b8e902ff80db1ac', 'project_id': '8ae7e2297abb4a4f9b8e902ff80db1ac', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01269889', 'ctest-vn-42289159'], 'port_security_enabled': True, 'description': ''}} 2026-08-17 09:44:19,873 - DEBUG - Response for create_subnet : {'subnet': {'id': '7f18b19c-7563-4a6c-87a2-eacf9f13b611', 'name': '', 'tenant_id': '8ae7e2297abb4a4f9b8e902ff80db1ac', 'network_id': 'ecc53018-d6a3-45a1-b5da-24fd08afa7f4', 'ip_version': 4, 'cidr': '25.101.2.0/26', 'allocation_pools': [{'start': '25.101.2.2', 'end': '25.101.2.62'}], 'gateway_ip': '25.101.2.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '25.101.2.2', 'tags': [], 'project_id': '8ae7e2297abb4a4f9b8e902ff80db1ac'}} 2026-08-17 09:44:19,897 - INFO - Created VN ctest-vn-42289159 2026-08-17 09:44:19,952 - DEBUG - VN ctest-vn-42289159 UUID is ecc53018-d6a3-45a1-b5da-24fd08afa7f4 2026-08-17 09:44:20,075 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-01269889:ctest-vn-02163542, 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-01269889:ctest-vn-42289159, 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-08-17 09:44:20,399 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ef2cc8f4-025b-4574-a5bd-ae94baeaef96', 'name': 'ctest-vn-02163542', 'tenant_id': '8ae7e2297abb4a4f9b8e902ff80db1ac', 'project_id': '8ae7e2297abb4a4f9b8e902ff80db1ac', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9ce4268d-105a-4776-b25f-5a05441d611f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01269889', 'ctest-vn-02163542'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-01269889', 'ctest-policy-allow-all-62361227']], 'subnet_ipam': [{'subnet_cidr': '83.74.224.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-17 09:44:20,645 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ecc53018-d6a3-45a1-b5da-24fd08afa7f4', 'name': 'ctest-vn-42289159', 'tenant_id': '8ae7e2297abb4a4f9b8e902ff80db1ac', 'project_id': '8ae7e2297abb4a4f9b8e902ff80db1ac', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7f18b19c-7563-4a6c-87a2-eacf9f13b611'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01269889', 'ctest-vn-42289159'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-01269889', 'ctest-policy-allow-all-62361227']], 'subnet_ipam': [{'subnet_cidr': '25.101.2.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-17 09:44:20,828 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-08-17 09:44:21,196 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-08-17 09:44:21,229 - DEBUG - Requesting: http://10.0.0.33:8082/domain/773cf3a6-4e29-495e-a118-7160e7920208 2026-08-17 09:44:21,242 - DEBUG - Requesting: http://10.0.0.33:8082/project/8ae7e229-7abb-4a4f-9b8e-902ff80db1ac 2026-08-17 09:44:21,324 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ef2cc8f4-025b-4574-a5bd-ae94baeaef96 2026-08-17 09:44:21,337 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ef2cc8f4-025b-4574-a5bd-ae94baeaef96 2026-08-17 09:44:21,346 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/5ab56a24-fba0-4a9f-841d-870c0b6dc99a 2026-08-17 09:44:21,353 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/5ab56a24-fba0-4a9f-841d-870c0b6dc99a 2026-08-17 09:44:21,361 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/afad60e7-40ac-41b1-b564-a8b9f76c38e3 2026-08-17 09:44:21,368 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-17 09:44:21,368 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ef2cc8f4-025b-4574-a5bd-ae94baeaef96 2026-08-17 09:44:21,378 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/5ab56a24-fba0-4a9f-841d-870c0b6dc99a 2026-08-17 09:44:21,393 - INFO - Verified VN network id 11 for VN ef2cc8f4-025b-4574-a5bd-ae94baeaef96 2026-08-17 09:44:21,393 - INFO - Verifications in API Server for VN ctest-vn-02163542 passed 2026-08-17 09:44:21,393 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ef2cc8f4-025b-4574-a5bd-ae94baeaef96 2026-08-17 09:44:21,403 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/5ab56a24-fba0-4a9f-841d-870c0b6dc99a 2026-08-17 09:44:21,411 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/5ab56a24-fba0-4a9f-841d-870c0b6dc99a 2026-08-17 09:44:21,420 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/afad60e7-40ac-41b1-b564-a8b9f76c38e3 2026-08-17 09:44:21,434 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-01269889:ctest-vn-02163542', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-01269889', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17234370824377156980', 'uuid-lslong': '11942893740670775190'}, 'enable': 'true', 'created': '2026-08-17T09:44:19', 'last-modified': '2026-08-17T09:44:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.065900'} 2026-08-17 09:44:21,441 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-17 09:44:21,441 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-02163542 passed 2026-08-17 09:44:21,441 - DEBUG - ====Verifying policy data for ctest-vn-02163542 in API_Server ====== 2026-08-17 09:44:21,441 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-08-17 09:44:21,448 - DEBUG - Requesting: http://10.0.0.33:8082/domain/773cf3a6-4e29-495e-a118-7160e7920208 2026-08-17 09:44:21,460 - DEBUG - Requesting: http://10.0.0.33:8082/project/8ae7e229-7abb-4a4f-9b8e-902ff80db1ac 2026-08-17 09:44:21,535 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ef2cc8f4-025b-4574-a5bd-ae94baeaef96 2026-08-17 09:44:21,545 - DEBUG - ==>Verifying data for policy with id: 0dcf0222-3636-4405-88de-b0bcb3587f86, fqn: ['default-domain', 'ctest-TestBasicPolicy-01269889', 'ctest-policy-allow-all-62361227'] 2026-08-17 09:44:21,545 - INFO - VN ctest-vn-02163542 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-17 09:44:21,545 - DEBUG - Verifying the vn in opserver 2026-08-17 09:44:21,545 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-01269889:ctest-vn-02163542 virtual network link through opserver 10.0.0.33 2026-08-17 09:44:21,545 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-08-17 09:44:21,918 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-08-17 09:44:21,981 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-01269889:ctest-vn-02163542', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-01269889:ctest-vn-02163542?flat'} 2026-08-17 09:44:21,981 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-01269889:ctest-vn-02163542 is found in opserver 2026-08-17 09:44:21,992 - DEBUG - Do not have enough data to verify VN in agent 2026-08-17 09:44:21,997 - DEBUG - VRF ids for VN ctest-vn-02163542: {} 2026-08-17 09:44:21,997 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-08-17 09:44:22,004 - DEBUG - Requesting: http://10.0.0.33:8082/domain/773cf3a6-4e29-495e-a118-7160e7920208 2026-08-17 09:44:22,016 - DEBUG - Requesting: http://10.0.0.33:8082/project/8ae7e229-7abb-4a4f-9b8e-902ff80db1ac 2026-08-17 09:44:22,092 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ecc53018-d6a3-45a1-b5da-24fd08afa7f4 2026-08-17 09:44:22,105 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ecc53018-d6a3-45a1-b5da-24fd08afa7f4 2026-08-17 09:44:22,114 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/3249aa0e-87ae-4e09-a9e2-7ce2a93f7dfe 2026-08-17 09:44:22,122 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/3249aa0e-87ae-4e09-a9e2-7ce2a93f7dfe 2026-08-17 09:44:22,129 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/6a0abee7-9501-4992-b09a-4c1e43c15444 2026-08-17 09:44:22,135 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-17 09:44:22,135 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ecc53018-d6a3-45a1-b5da-24fd08afa7f4 2026-08-17 09:44:22,144 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/3249aa0e-87ae-4e09-a9e2-7ce2a93f7dfe 2026-08-17 09:44:22,157 - INFO - Verified VN network id 12 for VN ecc53018-d6a3-45a1-b5da-24fd08afa7f4 2026-08-17 09:44:22,158 - INFO - Verifications in API Server for VN ctest-vn-42289159 passed 2026-08-17 09:44:22,158 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ecc53018-d6a3-45a1-b5da-24fd08afa7f4 2026-08-17 09:44:22,167 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/3249aa0e-87ae-4e09-a9e2-7ce2a93f7dfe 2026-08-17 09:44:22,173 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/3249aa0e-87ae-4e09-a9e2-7ce2a93f7dfe 2026-08-17 09:44:22,180 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/6a0abee7-9501-4992-b09a-4c1e43c15444 2026-08-17 09:44:22,194 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-01269889:ctest-vn-42289159', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-01269889', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17061095646601364897', 'uuid-lslong': '13103826734978934772'}, 'enable': 'true', 'created': '2026-08-17T09:44:19', 'last-modified': '2026-08-17T09:44:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.579633'} 2026-08-17 09:44:22,200 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-17 09:44:22,200 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-42289159 passed 2026-08-17 09:44:22,201 - DEBUG - ====Verifying policy data for ctest-vn-42289159 in API_Server ====== 2026-08-17 09:44:22,201 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-08-17 09:44:22,207 - DEBUG - Requesting: http://10.0.0.33:8082/domain/773cf3a6-4e29-495e-a118-7160e7920208 2026-08-17 09:44:22,219 - DEBUG - Requesting: http://10.0.0.33:8082/project/8ae7e229-7abb-4a4f-9b8e-902ff80db1ac 2026-08-17 09:44:22,292 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ecc53018-d6a3-45a1-b5da-24fd08afa7f4 2026-08-17 09:44:22,302 - DEBUG - ==>Verifying data for policy with id: 0dcf0222-3636-4405-88de-b0bcb3587f86, fqn: ['default-domain', 'ctest-TestBasicPolicy-01269889', 'ctest-policy-allow-all-62361227'] 2026-08-17 09:44:22,302 - INFO - VN ctest-vn-42289159 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-17 09:44:22,302 - DEBUG - Verifying the vn in opserver 2026-08-17 09:44:22,302 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-01269889:ctest-vn-42289159 virtual network link through opserver 10.0.0.33 2026-08-17 09:44:22,302 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-08-17 09:44:22,313 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-01269889:ctest-vn-42289159', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-01269889:ctest-vn-42289159?flat'} 2026-08-17 09:44:22,313 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-01269889:ctest-vn-42289159 is found in opserver 2026-08-17 09:44:22,325 - DEBUG - Do not have enough data to verify VN in agent 2026-08-17 09:44:22,331 - DEBUG - VRF ids for VN ctest-vn-42289159: {} 2026-08-17 09:44:22,395 - DEBUG - Services list from nova: [, , ] 2026-08-17 09:44:22,857 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6170-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6170-1) 2026-08-17 09:44:23,254 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6170-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6170-1) 2026-08-17 09:44:23,254 - INFO - Waiting for VM ctest-TestBasicPolicy-01269889-22324166 to be up.. 2026-08-17 09:44:23,295 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 09:44:28,369 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 09:44:33,450 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 09:44:38,531 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 09:44:43,610 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 09:44:48,695 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 09:44:53,777 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 09:44:58,862 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 09:45:03,948 - DEBUG - VM is in ACTIVE state now 2026-08-17 09:45:03,948 - INFO - VM name : ctest-TestBasicPolicy-01269889-22324166 2026-08-17 09:45:04,032 - DEBUG - VM ctest-TestBasicPolicy-01269889-22324166 ID is e52aab6a-c9e8-4c3f-baaa-590fe1d6bf49 2026-08-17 09:45:04,055 - DEBUG - VM ctest-TestBasicPolicy-01269889-22324166 launched on Node cn-jenkins-deploy-platform-ansible-os-6170-1 2026-08-17 09:45:04,136 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/e52aab6a-c9e8-4c3f-baaa-590fe1d6bf49 2026-08-17 09:45:04,146 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/8fc1a60f-51bd-4aa5-b147-90abfe996993 2026-08-17 09:45:07,411 - 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 1017ms') 2026-08-17 09:45:07,411 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-01269889-22324166 failed! 2026-08-17 09:45:07,468 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-01269889:ctest-vn-02163542 is 83.74.224.129 and allocation pool is NOT set 2026-08-17 09:45:09,529 - 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=12.7 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.433 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 = 0.433/6.552/12.671/6.119 ms') 2026-08-17 09:45:09,529 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-01269889-22324166 passed 2026-08-17 09:45:09,688 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-17 09:45:09,688 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-01269889-22324166, IP 83.74.224.131, Port 22 2026-08-17 09:45:09,754 - 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-08-17 09:45:09,835 - DEBUG - VM ctest-TestBasicPolicy-01269889-22324166 is NOT ready for SSH connections, VM status: ACTIVE 2026-08-17 09:45:14,837 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-17 09:45:14,837 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-01269889-22324166, IP 83.74.224.131, Port 22 2026-08-17 09:45:15,006 - DEBUG - VM ctest-TestBasicPolicy-01269889-22324166 is ready for SSH connections 2026-08-17 09:45:15,006 - INFO - Waiting for VM ctest-TestBasicPolicy-01269889-68945860 to be up.. 2026-08-17 09:45:15,087 - DEBUG - VM is in ACTIVE state now 2026-08-17 09:45:15,087 - INFO - VM name : ctest-TestBasicPolicy-01269889-68945860 2026-08-17 09:45:15,166 - DEBUG - VM ctest-TestBasicPolicy-01269889-68945860 ID is 884fa36b-390f-45c6-9312-8339043e51d9 2026-08-17 09:45:15,166 - DEBUG - VM ctest-TestBasicPolicy-01269889-68945860 launched on Node cn-jenkins-deploy-platform-ansible-os-6170-1 2026-08-17 09:45:15,245 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/884fa36b-390f-45c6-9312-8339043e51d9 2026-08-17 09:45:15,255 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/f658ff08-54fa-4355-9f5f-99af720125ac 2026-08-17 09:45:16,498 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=4.10 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.500 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.500/2.301/4.102/1.801 ms') 2026-08-17 09:45:16,498 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-01269889-68945860 passed 2026-08-17 09:45:16,652 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-17 09:45:16,652 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-01269889-68945860, IP 25.101.2.3, Port 22 2026-08-17 09:45:16,818 - DEBUG - VM ctest-TestBasicPolicy-01269889-68945860 is ready for SSH connections 2026-08-17 09:45:16,818 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-17 09:45:16,818 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 25.101.2.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-08-17 09:45:16,818 - DEBUG - ping -s 56 -c 3 -W 1 25.101.2.3 2026-08-17 09:45:20,850 - DEBUG - PING 25.101.2.3 (25.101.2.3): 56 data bytes 64 bytes from 25.101.2.3: seq=0 ttl=63 time=4.770 ms 64 bytes from 25.101.2.3: seq=1 ttl=63 time=1.288 ms 64 bytes from 25.101.2.3: seq=2 ttl=63 time=1.261 ms --- 25.101.2.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.261/2.439/4.770 ms 2026-08-17 09:45:20,850 - INFO - Ping to IP 25.101.2.3 from VM ctest-TestBasicPolicy-01269889-22324166 passed 2026-08-17 09:45:21,035 - DEBUG - Policy Update Response {"network-policy": {"uuid": "0dcf0222-3636-4405-88de-b0bcb3587f86", "href": "http://10.0.0.33:8082/network-policy/0dcf0222-3636-4405-88de-b0bcb3587f86"}} 2026-08-17 09:45:21,036 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-17 09:45:21,036 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 25.101.2.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-08-17 09:45:21,036 - DEBUG - ping -s 56 -c 3 -W 1 25.101.2.3 2026-08-17 09:45:24,162 - DEBUG - PING 25.101.2.3 (25.101.2.3): 56 data bytes 64 bytes from 25.101.2.3: seq=0 ttl=63 time=1.501 ms --- 25.101.2.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.501/1.501/1.501 ms 2026-08-17 09:45:24,162 - WARNING - Ping to IP 25.101.2.3 from VM ctest-TestBasicPolicy-01269889-22324166 failed 2026-08-17 09:45:24,163 - INFO - Deleting VM ctest-TestBasicPolicy-01269889-68945860 2026-08-17 09:45:24,235 - INFO - Deleting VM ctest-TestBasicPolicy-01269889-22324166 2026-08-17 09:45:24,661 - INFO - Deleted policy ctest-policy-allow-all-62361227 2026-08-17 09:45:24,662 - INFO - Deleting VN ctest-vn-42289159 2026-08-17 09:45:24,695 - DEBUG - VN ecc53018-d6a3-45a1-b5da-24fd08afa7f4 still in use: Unable to complete operation on network ecc53018-d6a3-45a1-b5da-24fd08afa7f4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7cb4893c-31ac-4966-8993-77931fdcb550'] 2026-08-17 09:45:24,695 - WARNING - Deleting VN ctest-vn-42289159 failed..Will retry 2026-08-17 09:45:26,796 - DEBUG - Response for deleting network () 2026-08-17 09:45:26,796 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/3249aa0e-87ae-4e09-a9e2-7ce2a93f7dfe 2026-08-17 09:45:26,804 - DEBUG - Response Code: 404 2026-08-17 09:45:26,805 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-08-17 09:45:26,810 - DEBUG - Requesting: http://10.0.0.33:8082/domain/773cf3a6-4e29-495e-a118-7160e7920208 2026-08-17 09:45:26,867 - DEBUG - Requesting: http://10.0.0.33:8082/project/8ae7e229-7abb-4a4f-9b8e-902ff80db1ac 2026-08-17 09:45:26,941 - INFO - Validated that VN ctest-vn-42289159 is not found in API Server 2026-08-17 09:45:26,956 - DEBUG - VN ctest-vn-42289159 is not present in Agent 10.0.0.33 2026-08-17 09:45:26,957 - INFO - Validated that VN ctest-vn-42289159 is not in any agent 2026-08-17 09:45:26,975 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-42289159 info 2026-08-17 09:45:26,975 - INFO - Deleting VN ctest-vn-02163542 2026-08-17 09:45:27,083 - DEBUG - Response for deleting network () 2026-08-17 09:45:27,084 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/5ab56a24-fba0-4a9f-841d-870c0b6dc99a 2026-08-17 09:45:27,093 - DEBUG - Response Code: 404 2026-08-17 09:45:27,093 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-08-17 09:45:27,100 - DEBUG - Requesting: http://10.0.0.33:8082/domain/773cf3a6-4e29-495e-a118-7160e7920208 2026-08-17 09:45:27,153 - DEBUG - Requesting: http://10.0.0.33:8082/project/8ae7e229-7abb-4a4f-9b8e-902ff80db1ac 2026-08-17 09:45:27,228 - INFO - Validated that VN ctest-vn-02163542 is not found in API Server 2026-08-17 09:45:27,240 - DEBUG - VN ctest-vn-02163542 is not present in Agent 10.0.0.33 2026-08-17 09:45:27,240 - INFO - Validated that VN ctest-vn-02163542 is not in any agent 2026-08-17 09:45:27,257 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-02163542 info 2026-08-17 09:45:27,518 - DEBUG - No XMPP flaps were noticed during the test
2026-08-17 09:45:27,518 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:09]
2026-08-17 09:45:27,518 - INFO - -------------------------------------------------------------------------------- 2026-08-17 09:45:28,350 - INFO - Deleted project: ctest-TestBasicPolicy-01269889, ID : 8ae7e229-7abb-4a4f-9b8e-902ff80db1ac