2026-08-21 07:50:22,802 - INFO - Domain Default found not creating 2026-08-21 07:50:22,993 - INFO - Project ctest-TestBasicPolicy-00000578 not found, creating it 2026-08-21 07:50:23,541 - INFO - Created Project:ctest-TestBasicPolicy-00000578, ID : e7d67919-229f-4f88-9647-c61b310227cd 2026-08-21 07:50:25,259 - INFO - ================================================================================ 2026-08-21 07:50:25,259 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-08-21 07:50:25,260 - 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-21 07:50:25,532 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-08-21 07:50:25,532 - INFO - Initial checks done. Running the testcase now 2026-08-21 07:50:25,532 - INFO - 2026-08-21 07:50:26,195 - DEBUG - Response for create_network : {'network': {'id': 'fdbdec4e-fffc-40b2-8ebc-c6893231263d', 'name': 'ctest-vn-08806758', 'tenant_id': 'e7d67919229f4f889647c61b310227cd', 'project_id': 'e7d67919229f4f889647c61b310227cd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00000578', 'ctest-vn-08806758'], 'port_security_enabled': True, 'description': ''}} 2026-08-21 07:50:26,422 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f6bac6c2-7443-4a9f-9059-dc23761a818b', 'name': '', 'tenant_id': 'e7d67919229f4f889647c61b310227cd', 'network_id': 'fdbdec4e-fffc-40b2-8ebc-c6893231263d', 'ip_version': 4, 'cidr': '152.146.104.128/26', 'allocation_pools': [{'start': '152.146.104.130', 'end': '152.146.104.190'}], 'gateway_ip': '152.146.104.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '152.146.104.130', 'tags': [], 'project_id': 'e7d67919229f4f889647c61b310227cd'}} 2026-08-21 07:50:26,442 - INFO - Created VN ctest-vn-08806758 2026-08-21 07:50:26,495 - DEBUG - VN ctest-vn-08806758 UUID is fdbdec4e-fffc-40b2-8ebc-c6893231263d 2026-08-21 07:50:26,819 - DEBUG - Response for create_network : {'network': {'id': '7d6d06b7-b967-4e77-9ad1-9c421c6f142c', 'name': 'ctest-vn-05642418', 'tenant_id': 'e7d67919229f4f889647c61b310227cd', 'project_id': 'e7d67919229f4f889647c61b310227cd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00000578', 'ctest-vn-05642418'], 'port_security_enabled': True, 'description': ''}} 2026-08-21 07:50:27,091 - DEBUG - Response for create_subnet : {'subnet': {'id': '681bd6ae-8b3b-4982-814f-b3c9424acbe2', 'name': '', 'tenant_id': 'e7d67919229f4f889647c61b310227cd', 'network_id': '7d6d06b7-b967-4e77-9ad1-9c421c6f142c', 'ip_version': 4, 'cidr': '194.210.127.0/26', 'allocation_pools': [{'start': '194.210.127.2', 'end': '194.210.127.62'}], 'gateway_ip': '194.210.127.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '194.210.127.2', 'tags': [], 'project_id': 'e7d67919229f4f889647c61b310227cd'}} 2026-08-21 07:50:27,110 - INFO - Created VN ctest-vn-05642418 2026-08-21 07:50:27,167 - DEBUG - VN ctest-vn-05642418 UUID is 7d6d06b7-b967-4e77-9ad1-9c421c6f142c 2026-08-21 07:50:27,319 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-00000578:ctest-vn-08806758, 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-00000578:ctest-vn-05642418, 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-21 07:50:27,647 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fdbdec4e-fffc-40b2-8ebc-c6893231263d', 'name': 'ctest-vn-08806758', 'tenant_id': 'e7d67919229f4f889647c61b310227cd', 'project_id': 'e7d67919229f4f889647c61b310227cd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f6bac6c2-7443-4a9f-9059-dc23761a818b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00000578', 'ctest-vn-08806758'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-00000578', 'ctest-policy-allow-all-06955452']], 'subnet_ipam': [{'subnet_cidr': '152.146.104.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-21 07:50:27,906 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7d6d06b7-b967-4e77-9ad1-9c421c6f142c', 'name': 'ctest-vn-05642418', 'tenant_id': 'e7d67919229f4f889647c61b310227cd', 'project_id': 'e7d67919229f4f889647c61b310227cd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['681bd6ae-8b3b-4982-814f-b3c9424acbe2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00000578', 'ctest-vn-05642418'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-00000578', 'ctest-policy-allow-all-06955452']], 'subnet_ipam': [{'subnet_cidr': '194.210.127.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-21 07:50:28,083 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-08-21 07:50:28,454 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-08-21 07:50:28,491 - DEBUG - Requesting: http://10.0.0.38:8082/domain/60d402e1-d2ef-4e3a-b843-c1f3f8e7dbbe 2026-08-21 07:50:28,507 - DEBUG - Requesting: http://10.0.0.38:8082/project/e7d67919-229f-4f88-9647-c61b310227cd 2026-08-21 07:50:28,596 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fdbdec4e-fffc-40b2-8ebc-c6893231263d 2026-08-21 07:50:28,613 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fdbdec4e-fffc-40b2-8ebc-c6893231263d 2026-08-21 07:50:28,626 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2c7c605b-0284-433b-8bc0-0bfc4143b25e 2026-08-21 07:50:28,638 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2c7c605b-0284-433b-8bc0-0bfc4143b25e 2026-08-21 07:50:28,648 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/14382765-f6dc-4af1-9afa-d00d8165b8c5 2026-08-21 07:50:28,657 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-21 07:50:28,657 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fdbdec4e-fffc-40b2-8ebc-c6893231263d 2026-08-21 07:50:28,670 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2c7c605b-0284-433b-8bc0-0bfc4143b25e 2026-08-21 07:50:28,694 - INFO - Verified VN network id 12 for VN fdbdec4e-fffc-40b2-8ebc-c6893231263d 2026-08-21 07:50:28,694 - INFO - Verifications in API Server for VN ctest-vn-08806758 passed 2026-08-21 07:50:28,694 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fdbdec4e-fffc-40b2-8ebc-c6893231263d 2026-08-21 07:50:28,712 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2c7c605b-0284-433b-8bc0-0bfc4143b25e 2026-08-21 07:50:28,725 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2c7c605b-0284-433b-8bc0-0bfc4143b25e 2026-08-21 07:50:28,738 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/14382765-f6dc-4af1-9afa-d00d8165b8c5 2026-08-21 07:50:28,758 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-00000578:ctest-vn-08806758', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-00000578', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18284029886240407730', 'uuid-lslong': '10285313941562271293'}, 'enable': 'true', 'created': '2026-08-21T07:50:26', 'last-modified': '2026-08-21T07:50:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.144465'} 2026-08-21 07:50:28,767 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-21 07:50:28,767 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-08806758 passed 2026-08-21 07:50:28,767 - DEBUG - ====Verifying policy data for ctest-vn-08806758 in API_Server ====== 2026-08-21 07:50:28,767 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-08-21 07:50:28,776 - DEBUG - Requesting: http://10.0.0.38:8082/domain/60d402e1-d2ef-4e3a-b843-c1f3f8e7dbbe 2026-08-21 07:50:28,793 - DEBUG - Requesting: http://10.0.0.38:8082/project/e7d67919-229f-4f88-9647-c61b310227cd 2026-08-21 07:50:28,872 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fdbdec4e-fffc-40b2-8ebc-c6893231263d 2026-08-21 07:50:28,883 - DEBUG - ==>Verifying data for policy with id: 0eb636b4-2ac2-4628-801f-f563c66e43e6, fqn: ['default-domain', 'ctest-TestBasicPolicy-00000578', 'ctest-policy-allow-all-06955452'] 2026-08-21 07:50:28,883 - INFO - VN ctest-vn-08806758 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-21 07:50:28,883 - DEBUG - Verifying the vn in opserver 2026-08-21 07:50:28,883 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-00000578:ctest-vn-08806758 virtual network link through opserver 10.0.0.38 2026-08-21 07:50:28,883 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-08-21 07:50:29,259 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-08-21 07:50:29,322 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-00000578:ctest-vn-08806758', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-00000578:ctest-vn-08806758?flat'} 2026-08-21 07:50:29,322 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-00000578:ctest-vn-08806758 is found in opserver 2026-08-21 07:50:29,334 - DEBUG - Do not have enough data to verify VN in agent 2026-08-21 07:50:29,341 - DEBUG - VRF ids for VN ctest-vn-08806758: {} 2026-08-21 07:50:29,341 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-08-21 07:50:29,348 - DEBUG - Requesting: http://10.0.0.38:8082/domain/60d402e1-d2ef-4e3a-b843-c1f3f8e7dbbe 2026-08-21 07:50:29,360 - DEBUG - Requesting: http://10.0.0.38:8082/project/e7d67919-229f-4f88-9647-c61b310227cd 2026-08-21 07:50:29,439 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7d6d06b7-b967-4e77-9ad1-9c421c6f142c 2026-08-21 07:50:29,457 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7d6d06b7-b967-4e77-9ad1-9c421c6f142c 2026-08-21 07:50:29,468 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d7e569fe-11d1-4326-a347-25068f98f0b6 2026-08-21 07:50:29,480 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d7e569fe-11d1-4326-a347-25068f98f0b6 2026-08-21 07:50:29,493 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/49eee606-9f86-4790-a2e4-bd1fab7613fa 2026-08-21 07:50:29,502 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-08-21 07:50:29,502 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7d6d06b7-b967-4e77-9ad1-9c421c6f142c 2026-08-21 07:50:29,514 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d7e569fe-11d1-4326-a347-25068f98f0b6 2026-08-21 07:50:29,537 - INFO - Verified VN network id 13 for VN 7d6d06b7-b967-4e77-9ad1-9c421c6f142c 2026-08-21 07:50:29,537 - INFO - Verifications in API Server for VN ctest-vn-05642418 passed 2026-08-21 07:50:29,537 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7d6d06b7-b967-4e77-9ad1-9c421c6f142c 2026-08-21 07:50:29,549 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d7e569fe-11d1-4326-a347-25068f98f0b6 2026-08-21 07:50:29,557 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d7e569fe-11d1-4326-a347-25068f98f0b6 2026-08-21 07:50:29,566 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/49eee606-9f86-4790-a2e4-bd1fab7613fa 2026-08-21 07:50:29,586 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-00000578:ctest-vn-05642418', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-00000578', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9037887413361790583', 'uuid-lslong': '11155869559732245548'}, 'enable': 'true', 'created': '2026-08-21T07:50:26', 'last-modified': '2026-08-21T07:50:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.715931'} 2026-08-21 07:50:29,594 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-08-21 07:50:29,594 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-05642418 passed 2026-08-21 07:50:29,594 - DEBUG - ====Verifying policy data for ctest-vn-05642418 in API_Server ====== 2026-08-21 07:50:29,594 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-08-21 07:50:29,601 - DEBUG - Requesting: http://10.0.0.38:8082/domain/60d402e1-d2ef-4e3a-b843-c1f3f8e7dbbe 2026-08-21 07:50:29,614 - DEBUG - Requesting: http://10.0.0.38:8082/project/e7d67919-229f-4f88-9647-c61b310227cd 2026-08-21 07:50:29,698 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7d6d06b7-b967-4e77-9ad1-9c421c6f142c 2026-08-21 07:50:29,709 - DEBUG - ==>Verifying data for policy with id: 0eb636b4-2ac2-4628-801f-f563c66e43e6, fqn: ['default-domain', 'ctest-TestBasicPolicy-00000578', 'ctest-policy-allow-all-06955452'] 2026-08-21 07:50:29,710 - INFO - VN ctest-vn-05642418 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-21 07:50:29,710 - DEBUG - Verifying the vn in opserver 2026-08-21 07:50:29,710 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-00000578:ctest-vn-05642418 virtual network link through opserver 10.0.0.38 2026-08-21 07:50:29,710 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-08-21 07:50:29,722 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-00000578:ctest-vn-05642418', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-00000578:ctest-vn-05642418?flat'} 2026-08-21 07:50:29,722 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-00000578:ctest-vn-05642418 is found in opserver 2026-08-21 07:50:29,734 - DEBUG - Do not have enough data to verify VN in agent 2026-08-21 07:50:29,740 - DEBUG - VRF ids for VN ctest-vn-05642418: {} 2026-08-21 07:50:29,810 - DEBUG - Services list from nova: [, , ] 2026-08-21 07:50:30,314 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6200-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6200-1) 2026-08-21 07:50:30,784 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6200-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6200-1) 2026-08-21 07:50:30,785 - INFO - Waiting for VM ctest-TestBasicPolicy-00000578-33389052 to be up.. 2026-08-21 07:50:30,829 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 07:50:35,916 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 07:50:41,003 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 07:50:46,087 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 07:50:51,172 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 07:50:56,252 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 07:51:01,360 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 07:51:06,456 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 07:51:11,559 - DEBUG - VM is in ACTIVE state now 2026-08-21 07:51:11,559 - INFO - VM name : ctest-TestBasicPolicy-00000578-33389052 2026-08-21 07:51:11,667 - DEBUG - VM ctest-TestBasicPolicy-00000578-33389052 ID is 5cd7dafd-cd15-43eb-92ef-6403d7fd8847 2026-08-21 07:51:11,701 - DEBUG - VM ctest-TestBasicPolicy-00000578-33389052 launched on Node cn-jenkins-deploy-platform-ansible-os-6200-1 2026-08-21 07:51:11,809 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/5cd7dafd-cd15-43eb-92ef-6403d7fd8847 2026-08-21 07:51:11,819 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e93bd1c0-9df0-4f04-97fb-55e554193f62 2026-08-21 07:51:13,083 - 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=11.3 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.475 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 = 0.475/5.891/11.307/5.416 ms') 2026-08-21 07:51:13,083 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-00000578-33389052 passed 2026-08-21 07:51:13,239 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-21 07:51:13,239 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-00000578-33389052, IP 152.146.104.131, Port 22 2026-08-21 07:51:13,305 - 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-21 07:51:13,392 - DEBUG - VM ctest-TestBasicPolicy-00000578-33389052 is NOT ready for SSH connections, VM status: ACTIVE 2026-08-21 07:51:18,393 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-21 07:51:18,393 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-00000578-33389052, IP 152.146.104.131, Port 22 2026-08-21 07:51:18,564 - DEBUG - VM ctest-TestBasicPolicy-00000578-33389052 is ready for SSH connections 2026-08-21 07:51:18,565 - INFO - Waiting for VM ctest-TestBasicPolicy-00000578-17729497 to be up.. 2026-08-21 07:51:18,647 - DEBUG - VM is in ACTIVE state now 2026-08-21 07:51:18,647 - INFO - VM name : ctest-TestBasicPolicy-00000578-17729497 2026-08-21 07:51:18,752 - DEBUG - VM ctest-TestBasicPolicy-00000578-17729497 ID is 4a2c9c17-0d98-46ed-9c9f-89e9a5debce2 2026-08-21 07:51:18,752 - DEBUG - VM ctest-TestBasicPolicy-00000578-17729497 launched on Node cn-jenkins-deploy-platform-ansible-os-6200-1 2026-08-21 07:51:18,845 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4a2c9c17-0d98-46ed-9c9f-89e9a5debce2 2026-08-21 07:51:18,856 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c3349394-b25f-46bd-b86e-f7d413b1a5a5 2026-08-21 07:51:20,113 - 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.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.593 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.593/2.646/4.699/2.053 ms') 2026-08-21 07:51:20,113 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-00000578-17729497 passed 2026-08-21 07:51:20,267 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-21 07:51:20,267 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-00000578-17729497, IP 194.210.127.3, Port 22 2026-08-21 07:51:20,433 - DEBUG - VM ctest-TestBasicPolicy-00000578-17729497 is ready for SSH connections 2026-08-21 07:51:20,434 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-21 07:51:20,434 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 194.210.127.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-08-21 07:51:20,434 - DEBUG - ping -s 56 -c 3 -W 1 194.210.127.3 2026-08-21 07:51:24,483 - DEBUG - PING 194.210.127.3 (194.210.127.3): 56 data bytes 64 bytes from 194.210.127.3: seq=0 ttl=63 time=4.275 ms 64 bytes from 194.210.127.3: seq=1 ttl=63 time=0.985 ms 64 bytes from 194.210.127.3: seq=2 ttl=63 time=1.321 ms --- 194.210.127.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.985/2.193/4.275 ms 2026-08-21 07:51:24,483 - INFO - Ping to IP 194.210.127.3 from VM ctest-TestBasicPolicy-00000578-33389052 passed 2026-08-21 07:51:24,670 - DEBUG - Policy Update Response {"network-policy": {"uuid": "0eb636b4-2ac2-4628-801f-f563c66e43e6", "href": "http://10.0.0.38:8082/network-policy/0eb636b4-2ac2-4628-801f-f563c66e43e6"}} 2026-08-21 07:51:24,671 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-21 07:51:24,671 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 194.210.127.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-08-21 07:51:24,671 - DEBUG - ping -s 56 -c 3 -W 1 194.210.127.3 2026-08-21 07:51:27,805 - DEBUG - PING 194.210.127.3 (194.210.127.3): 56 data bytes 64 bytes from 194.210.127.3: seq=0 ttl=63 time=1.842 ms --- 194.210.127.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.842/1.842/1.842 ms 2026-08-21 07:51:27,805 - WARNING - Ping to IP 194.210.127.3 from VM ctest-TestBasicPolicy-00000578-33389052 failed 2026-08-21 07:51:27,805 - INFO - Deleting VM ctest-TestBasicPolicy-00000578-17729497 2026-08-21 07:51:27,884 - INFO - Deleting VM ctest-TestBasicPolicy-00000578-33389052 2026-08-21 07:51:28,295 - INFO - Deleted policy ctest-policy-allow-all-06955452 2026-08-21 07:51:28,295 - INFO - Deleting VN ctest-vn-05642418 2026-08-21 07:51:28,330 - DEBUG - VN 7d6d06b7-b967-4e77-9ad1-9c421c6f142c still in use: Unable to complete operation on network 7d6d06b7-b967-4e77-9ad1-9c421c6f142c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-44f12f8b-d31a-4d43-b672-aa316f24af2f'] 2026-08-21 07:51:28,330 - WARNING - Deleting VN ctest-vn-05642418 failed..Will retry 2026-08-21 07:51:30,463 - DEBUG - Response for deleting network () 2026-08-21 07:51:30,464 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d7e569fe-11d1-4326-a347-25068f98f0b6 2026-08-21 07:51:30,470 - DEBUG - Response Code: 404 2026-08-21 07:51:30,470 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-08-21 07:51:30,478 - DEBUG - Requesting: http://10.0.0.38:8082/domain/60d402e1-d2ef-4e3a-b843-c1f3f8e7dbbe 2026-08-21 07:51:30,542 - DEBUG - Requesting: http://10.0.0.38:8082/project/e7d67919-229f-4f88-9647-c61b310227cd 2026-08-21 07:51:30,626 - INFO - Validated that VN ctest-vn-05642418 is not found in API Server 2026-08-21 07:51:30,640 - DEBUG - VN ctest-vn-05642418 is not present in Agent 10.0.0.38 2026-08-21 07:51:30,640 - INFO - Validated that VN ctest-vn-05642418 is not in any agent 2026-08-21 07:51:30,664 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-05642418 info 2026-08-21 07:51:30,665 - INFO - Deleting VN ctest-vn-08806758 2026-08-21 07:51:30,814 - DEBUG - Response for deleting network () 2026-08-21 07:51:30,814 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2c7c605b-0284-433b-8bc0-0bfc4143b25e 2026-08-21 07:51:30,823 - DEBUG - Response Code: 404 2026-08-21 07:51:30,823 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-08-21 07:51:30,830 - DEBUG - Requesting: http://10.0.0.38:8082/domain/60d402e1-d2ef-4e3a-b843-c1f3f8e7dbbe 2026-08-21 07:51:30,884 - DEBUG - Requesting: http://10.0.0.38:8082/project/e7d67919-229f-4f88-9647-c61b310227cd 2026-08-21 07:51:30,975 - INFO - Validated that VN ctest-vn-08806758 is not found in API Server 2026-08-21 07:51:30,989 - DEBUG - VN ctest-vn-08806758 is not present in Agent 10.0.0.38 2026-08-21 07:51:30,989 - INFO - Validated that VN ctest-vn-08806758 is not in any agent 2026-08-21 07:51:31,008 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-08806758 info 2026-08-21 07:51:31,284 - DEBUG - No XMPP flaps were noticed during the test
2026-08-21 07:51:31,284 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:06]
2026-08-21 07:51:31,286 - INFO - -------------------------------------------------------------------------------- 2026-08-21 07:51:32,881 - INFO - Deleted project: ctest-TestBasicPolicy-00000578, ID : e7d67919-229f-4f88-9647-c61b310227cd