2026-08-24 10:52:46,683 - INFO - Domain Default found not creating 2026-08-24 10:52:46,854 - INFO - Project ctest-TestBasicPolicy-21796544 not found, creating it 2026-08-24 10:52:47,340 - INFO - Created Project:ctest-TestBasicPolicy-21796544, ID : 7ccdf3c2-14b3-4288-b33a-4617a31ecc88 2026-08-24 10:52:48,922 - INFO - ================================================================================ 2026-08-24 10:52:48,922 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-08-24 10:52:48,922 - 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-24 10:52:49,178 - DEBUG - Nothing to compare xmpp stats {'10.0.0.185': {'10.20.0.17': '0'}} with 2026-08-24 10:52:49,178 - INFO - Initial checks done. Running the testcase now 2026-08-24 10:52:49,178 - INFO - 2026-08-24 10:52:49,787 - DEBUG - Response for create_network : {'network': {'id': '947f0635-42f2-4a50-ba4d-2d225bbb2ecd', 'name': 'ctest-vn-59248379', 'tenant_id': '7ccdf3c214b34288b33a4617a31ecc88', 'project_id': '7ccdf3c214b34288b33a4617a31ecc88', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21796544', 'ctest-vn-59248379'], 'port_security_enabled': True, 'description': ''}} 2026-08-24 10:52:50,021 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b72dffd6-bd92-45dc-89ac-24e415ed0f2d', 'name': '', 'tenant_id': '7ccdf3c214b34288b33a4617a31ecc88', 'network_id': '947f0635-42f2-4a50-ba4d-2d225bbb2ecd', 'ip_version': 4, 'cidr': '89.61.113.0/26', 'allocation_pools': [{'start': '89.61.113.2', 'end': '89.61.113.62'}], 'gateway_ip': '89.61.113.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '89.61.113.2', 'tags': [], 'project_id': '7ccdf3c214b34288b33a4617a31ecc88'}} 2026-08-24 10:52:50,039 - INFO - Created VN ctest-vn-59248379 2026-08-24 10:52:50,091 - DEBUG - VN ctest-vn-59248379 UUID is 947f0635-42f2-4a50-ba4d-2d225bbb2ecd 2026-08-24 10:52:50,411 - DEBUG - Response for create_network : {'network': {'id': 'c4f60a18-ecf3-4b6f-a6c8-2e9671c1330a', 'name': 'ctest-vn-07261858', 'tenant_id': '7ccdf3c214b34288b33a4617a31ecc88', 'project_id': '7ccdf3c214b34288b33a4617a31ecc88', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21796544', 'ctest-vn-07261858'], 'port_security_enabled': True, 'description': ''}} 2026-08-24 10:52:50,606 - DEBUG - Response for create_subnet : {'subnet': {'id': '72e67325-bf65-401d-956d-a4c33e9204ab', 'name': '', 'tenant_id': '7ccdf3c214b34288b33a4617a31ecc88', 'network_id': 'c4f60a18-ecf3-4b6f-a6c8-2e9671c1330a', 'ip_version': 4, 'cidr': '131.245.101.128/26', 'allocation_pools': [{'start': '131.245.101.130', 'end': '131.245.101.190'}], 'gateway_ip': '131.245.101.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '131.245.101.130', 'tags': [], 'project_id': '7ccdf3c214b34288b33a4617a31ecc88'}} 2026-08-24 10:52:50,624 - INFO - Created VN ctest-vn-07261858 2026-08-24 10:52:50,678 - DEBUG - VN ctest-vn-07261858 UUID is c4f60a18-ecf3-4b6f-a6c8-2e9671c1330a 2026-08-24 10:52:50,795 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-21796544:ctest-vn-59248379, 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-21796544:ctest-vn-07261858, 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-24 10:52:51,134 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '947f0635-42f2-4a50-ba4d-2d225bbb2ecd', 'name': 'ctest-vn-59248379', 'tenant_id': '7ccdf3c214b34288b33a4617a31ecc88', 'project_id': '7ccdf3c214b34288b33a4617a31ecc88', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b72dffd6-bd92-45dc-89ac-24e415ed0f2d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21796544', 'ctest-vn-59248379'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-21796544', 'ctest-policy-allow-all-37524066']], 'subnet_ipam': [{'subnet_cidr': '89.61.113.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-24 10:52:51,399 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c4f60a18-ecf3-4b6f-a6c8-2e9671c1330a', 'name': 'ctest-vn-07261858', 'tenant_id': '7ccdf3c214b34288b33a4617a31ecc88', 'project_id': '7ccdf3c214b34288b33a4617a31ecc88', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['72e67325-bf65-401d-956d-a4c33e9204ab'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21796544', 'ctest-vn-07261858'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-21796544', 'ctest-policy-allow-all-37524066']], 'subnet_ipam': [{'subnet_cidr': '131.245.101.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-24 10:52:51,531 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-08-24 10:52:51,855 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-08-24 10:52:51,885 - DEBUG - Requesting: http://10.0.0.185:8082/domain/afc535ab-9491-4541-892e-998f7507e3d9 2026-08-24 10:52:51,898 - DEBUG - Requesting: http://10.0.0.185:8082/project/7ccdf3c2-14b3-4288-b33a-4617a31ecc88 2026-08-24 10:52:51,992 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/947f0635-42f2-4a50-ba4d-2d225bbb2ecd 2026-08-24 10:52:52,006 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/947f0635-42f2-4a50-ba4d-2d225bbb2ecd 2026-08-24 10:52:52,018 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/5cf26540-d93c-42f1-8609-6f6aeace523d 2026-08-24 10:52:52,028 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/5cf26540-d93c-42f1-8609-6f6aeace523d 2026-08-24 10:52:52,037 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/150d0b78-c261-4a5a-8f9f-3daaccbe35de 2026-08-24 10:52:52,045 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-24 10:52:52,045 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/947f0635-42f2-4a50-ba4d-2d225bbb2ecd 2026-08-24 10:52:52,057 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/5cf26540-d93c-42f1-8609-6f6aeace523d 2026-08-24 10:52:52,073 - INFO - Verified VN network id 11 for VN 947f0635-42f2-4a50-ba4d-2d225bbb2ecd 2026-08-24 10:52:52,073 - INFO - Verifications in API Server for VN ctest-vn-59248379 passed 2026-08-24 10:52:52,073 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/947f0635-42f2-4a50-ba4d-2d225bbb2ecd 2026-08-24 10:52:52,083 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/5cf26540-d93c-42f1-8609-6f6aeace523d 2026-08-24 10:52:52,091 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/5cf26540-d93c-42f1-8609-6f6aeace523d 2026-08-24 10:52:52,099 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/150d0b78-c261-4a5a-8f9f-3daaccbe35de 2026-08-24 10:52:52,117 - DEBUG - Control-node 10.0.0.185 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-21796544:ctest-vn-59248379', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-21796544', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10700278065481796176', 'uuid-lslong': '13424435689852448461'}, 'enable': 'true', 'created': '2026-08-24T10:52:49', 'last-modified': '2026-08-24T10:52:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.018520'} 2026-08-24 10:52:52,124 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-24 10:52:52,124 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-59248379 passed 2026-08-24 10:52:52,124 - DEBUG - ====Verifying policy data for ctest-vn-59248379 in API_Server ====== 2026-08-24 10:52:52,124 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-08-24 10:52:52,130 - DEBUG - Requesting: http://10.0.0.185:8082/domain/afc535ab-9491-4541-892e-998f7507e3d9 2026-08-24 10:52:52,142 - DEBUG - Requesting: http://10.0.0.185:8082/project/7ccdf3c2-14b3-4288-b33a-4617a31ecc88 2026-08-24 10:52:52,234 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/947f0635-42f2-4a50-ba4d-2d225bbb2ecd 2026-08-24 10:52:52,250 - DEBUG - ==>Verifying data for policy with id: 5c23bfa2-a962-4e8d-8b40-d9a28583c9ff, fqn: ['default-domain', 'ctest-TestBasicPolicy-21796544', 'ctest-policy-allow-all-37524066'] 2026-08-24 10:52:52,250 - INFO - VN ctest-vn-59248379 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-24 10:52:52,251 - DEBUG - Verifying the vn in opserver 2026-08-24 10:52:52,251 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-21796544:ctest-vn-59248379 virtual network link through opserver 10.0.0.185 2026-08-24 10:52:52,251 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks 2026-08-24 10:52:52,575 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks 2026-08-24 10:52:52,635 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-21796544:ctest-vn-59248379', 'href': 'http://10.0.0.185:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-21796544:ctest-vn-59248379?flat'} 2026-08-24 10:52:52,635 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-21796544:ctest-vn-59248379 is found in opserver 2026-08-24 10:52:52,645 - DEBUG - Do not have enough data to verify VN in agent 2026-08-24 10:52:52,649 - DEBUG - VRF ids for VN ctest-vn-59248379: {} 2026-08-24 10:52:52,650 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-08-24 10:52:52,655 - DEBUG - Requesting: http://10.0.0.185:8082/domain/afc535ab-9491-4541-892e-998f7507e3d9 2026-08-24 10:52:52,666 - DEBUG - Requesting: http://10.0.0.185:8082/project/7ccdf3c2-14b3-4288-b33a-4617a31ecc88 2026-08-24 10:52:52,746 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/c4f60a18-ecf3-4b6f-a6c8-2e9671c1330a 2026-08-24 10:52:52,758 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/c4f60a18-ecf3-4b6f-a6c8-2e9671c1330a 2026-08-24 10:52:52,766 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/52722213-f366-4d47-bc19-637aa76cdbf1 2026-08-24 10:52:52,773 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/52722213-f366-4d47-bc19-637aa76cdbf1 2026-08-24 10:52:52,780 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/eca6cae0-9772-4cbb-91a9-c88b6d1b17f9 2026-08-24 10:52:52,785 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-24 10:52:52,786 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/c4f60a18-ecf3-4b6f-a6c8-2e9671c1330a 2026-08-24 10:52:52,794 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/52722213-f366-4d47-bc19-637aa76cdbf1 2026-08-24 10:52:52,807 - INFO - Verified VN network id 12 for VN c4f60a18-ecf3-4b6f-a6c8-2e9671c1330a 2026-08-24 10:52:52,808 - INFO - Verifications in API Server for VN ctest-vn-07261858 passed 2026-08-24 10:52:52,808 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/c4f60a18-ecf3-4b6f-a6c8-2e9671c1330a 2026-08-24 10:52:52,816 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/52722213-f366-4d47-bc19-637aa76cdbf1 2026-08-24 10:52:52,821 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/52722213-f366-4d47-bc19-637aa76cdbf1 2026-08-24 10:52:52,829 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/eca6cae0-9772-4cbb-91a9-c88b6d1b17f9 2026-08-24 10:52:52,843 - DEBUG - Control-node 10.0.0.185 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-21796544:ctest-vn-07261858', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-21796544', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14192542377875557231', 'uuid-lslong': '12017906829326627594'}, 'enable': 'true', 'created': '2026-08-24T10:52:50', 'last-modified': '2026-08-24T10:52:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.409246'} 2026-08-24 10:52:52,851 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-24 10:52:52,851 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-07261858 passed 2026-08-24 10:52:52,851 - DEBUG - ====Verifying policy data for ctest-vn-07261858 in API_Server ====== 2026-08-24 10:52:52,851 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-08-24 10:52:52,858 - DEBUG - Requesting: http://10.0.0.185:8082/domain/afc535ab-9491-4541-892e-998f7507e3d9 2026-08-24 10:52:52,869 - DEBUG - Requesting: http://10.0.0.185:8082/project/7ccdf3c2-14b3-4288-b33a-4617a31ecc88 2026-08-24 10:52:52,940 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/c4f60a18-ecf3-4b6f-a6c8-2e9671c1330a 2026-08-24 10:52:52,948 - DEBUG - ==>Verifying data for policy with id: 5c23bfa2-a962-4e8d-8b40-d9a28583c9ff, fqn: ['default-domain', 'ctest-TestBasicPolicy-21796544', 'ctest-policy-allow-all-37524066'] 2026-08-24 10:52:52,948 - INFO - VN ctest-vn-07261858 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-24 10:52:52,949 - DEBUG - Verifying the vn in opserver 2026-08-24 10:52:52,949 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-21796544:ctest-vn-07261858 virtual network link through opserver 10.0.0.185 2026-08-24 10:52:52,949 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks 2026-08-24 10:52:52,959 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-21796544:ctest-vn-07261858', 'href': 'http://10.0.0.185:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-21796544:ctest-vn-07261858?flat'} 2026-08-24 10:52:52,959 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-21796544:ctest-vn-07261858 is found in opserver 2026-08-24 10:52:52,970 - DEBUG - Do not have enough data to verify VN in agent 2026-08-24 10:52:52,975 - DEBUG - VRF ids for VN ctest-vn-07261858: {} 2026-08-24 10:52:53,037 - DEBUG - Services list from nova: [, , ] 2026-08-24 10:52:53,469 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6213-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6213-1) 2026-08-24 10:52:53,864 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6213-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6213-1) 2026-08-24 10:52:53,864 - INFO - Waiting for VM ctest-TestBasicPolicy-21796544-56558261 to be up.. 2026-08-24 10:52:53,904 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 10:52:58,985 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 10:53:04,068 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 10:53:09,146 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 10:53:14,231 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 10:53:19,309 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 10:53:24,415 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 10:53:29,520 - DEBUG - VM is in ACTIVE state now 2026-08-24 10:53:29,521 - INFO - VM name : ctest-TestBasicPolicy-21796544-56558261 2026-08-24 10:53:29,605 - DEBUG - VM ctest-TestBasicPolicy-21796544-56558261 ID is 41c7e0f6-d7b7-4783-be85-afb5a06d7b16 2026-08-24 10:53:29,626 - DEBUG - VM ctest-TestBasicPolicy-21796544-56558261 launched on Node cn-jenkins-deploy-platform-ansible-os-6213-1 2026-08-24 10:53:29,702 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/41c7e0f6-d7b7-4783-be85-afb5a06d7b16 2026-08-24 10:53:29,711 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine-interface/09b1e712-ea20-4f3f-9ccf-0df9281d36aa 2026-08-24 10:53:32,981 - 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 1023ms') 2026-08-24 10:53:32,981 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-21796544-56558261 failed! 2026-08-24 10:53:33,038 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-21796544:ctest-vn-59248379 is 89.61.113.1 and allocation pool is NOT set 2026-08-24 10:53:35,103 - 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=10.2 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.53 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 2.526/6.375/10.225/3.849 ms') 2026-08-24 10:53:35,103 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-21796544-56558261 passed 2026-08-24 10:53:35,258 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-24 10:53:35,259 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-21796544-56558261, IP 89.61.113.3, Port 22 2026-08-24 10:53:35,324 - 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-24 10:53:35,407 - DEBUG - VM ctest-TestBasicPolicy-21796544-56558261 is NOT ready for SSH connections, VM status: ACTIVE 2026-08-24 10:53:40,408 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-24 10:53:40,408 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-21796544-56558261, IP 89.61.113.3, Port 22 2026-08-24 10:53:40,577 - DEBUG - VM ctest-TestBasicPolicy-21796544-56558261 is ready for SSH connections 2026-08-24 10:53:40,577 - INFO - Waiting for VM ctest-TestBasicPolicy-21796544-89713530 to be up.. 2026-08-24 10:53:40,659 - DEBUG - VM is in ACTIVE state now 2026-08-24 10:53:40,660 - INFO - VM name : ctest-TestBasicPolicy-21796544-89713530 2026-08-24 10:53:40,740 - DEBUG - VM ctest-TestBasicPolicy-21796544-89713530 ID is c8ff5b7c-2241-4846-aa43-9e23ead221dc 2026-08-24 10:53:40,740 - DEBUG - VM ctest-TestBasicPolicy-21796544-89713530 launched on Node cn-jenkins-deploy-platform-ansible-os-6213-1 2026-08-24 10:53:40,818 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/c8ff5b7c-2241-4846-aa43-9e23ead221dc 2026-08-24 10:53:40,826 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine-interface/8bda8102-6eb7-4c8d-b7fc-0beefcd75f9e 2026-08-24 10:53:42,073 - 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=6.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.12 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 = 3.116/4.905/6.695/1.789 ms') 2026-08-24 10:53:42,073 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-21796544-89713530 passed 2026-08-24 10:53:42,235 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-24 10:53:42,235 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-21796544-89713530, IP 131.245.101.131, Port 22 2026-08-24 10:53:42,301 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-08-24 10:53:42,388 - DEBUG - VM ctest-TestBasicPolicy-21796544-89713530 is NOT ready for SSH connections, VM status: ACTIVE 2026-08-24 10:53:47,389 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-24 10:53:47,389 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-21796544-89713530, IP 131.245.101.131, Port 22 2026-08-24 10:53:47,546 - DEBUG - VM ctest-TestBasicPolicy-21796544-89713530 is ready for SSH connections 2026-08-24 10:53:47,546 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-24 10:53:47,546 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 131.245.101.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.185, gateway password: c0ntrail123 2026-08-24 10:53:47,546 - DEBUG - ping -s 56 -c 3 -W 1 131.245.101.131 2026-08-24 10:53:51,584 - DEBUG - PING 131.245.101.131 (131.245.101.131): 56 data bytes 64 bytes from 131.245.101.131: seq=0 ttl=63 time=4.918 ms 64 bytes from 131.245.101.131: seq=1 ttl=63 time=1.019 ms 64 bytes from 131.245.101.131: seq=2 ttl=63 time=0.938 ms --- 131.245.101.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.938/2.291/4.918 ms 2026-08-24 10:53:51,584 - INFO - Ping to IP 131.245.101.131 from VM ctest-TestBasicPolicy-21796544-56558261 passed 2026-08-24 10:53:51,774 - DEBUG - Policy Update Response {"network-policy": {"uuid": "5c23bfa2-a962-4e8d-8b40-d9a28583c9ff", "href": "http://10.0.0.185:8082/network-policy/5c23bfa2-a962-4e8d-8b40-d9a28583c9ff"}} 2026-08-24 10:53:51,775 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-24 10:53:51,775 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 131.245.101.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.185, gateway password: c0ntrail123 2026-08-24 10:53:51,775 - DEBUG - ping -s 56 -c 3 -W 1 131.245.101.131 2026-08-24 10:53:54,900 - DEBUG - PING 131.245.101.131 (131.245.101.131): 56 data bytes 64 bytes from 131.245.101.131: seq=0 ttl=63 time=1.512 ms --- 131.245.101.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.512/1.512/1.512 ms 2026-08-24 10:53:54,900 - WARNING - Ping to IP 131.245.101.131 from VM ctest-TestBasicPolicy-21796544-56558261 failed 2026-08-24 10:53:54,901 - INFO - Deleting VM ctest-TestBasicPolicy-21796544-89713530 2026-08-24 10:53:54,987 - INFO - Deleting VM ctest-TestBasicPolicy-21796544-56558261 2026-08-24 10:53:55,373 - INFO - Deleted policy ctest-policy-allow-all-37524066 2026-08-24 10:53:55,373 - INFO - Deleting VN ctest-vn-07261858 2026-08-24 10:53:55,411 - DEBUG - VN c4f60a18-ecf3-4b6f-a6c8-2e9671c1330a still in use: Unable to complete operation on network c4f60a18-ecf3-4b6f-a6c8-2e9671c1330a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1424d249-3384-440d-95ef-fb936c463687'] 2026-08-24 10:53:55,411 - WARNING - Deleting VN ctest-vn-07261858 failed..Will retry 2026-08-24 10:53:57,519 - DEBUG - Response for deleting network () 2026-08-24 10:53:57,519 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/52722213-f366-4d47-bc19-637aa76cdbf1 2026-08-24 10:53:57,531 - DEBUG - Response Code: 404 2026-08-24 10:53:57,532 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-08-24 10:53:57,537 - DEBUG - Requesting: http://10.0.0.185:8082/domain/afc535ab-9491-4541-892e-998f7507e3d9 2026-08-24 10:53:57,598 - DEBUG - Requesting: http://10.0.0.185:8082/project/7ccdf3c2-14b3-4288-b33a-4617a31ecc88 2026-08-24 10:53:57,669 - INFO - Validated that VN ctest-vn-07261858 is not found in API Server 2026-08-24 10:53:57,682 - DEBUG - VN ctest-vn-07261858 is not present in Agent 10.0.0.185 2026-08-24 10:53:57,682 - INFO - Validated that VN ctest-vn-07261858 is not in any agent 2026-08-24 10:53:57,699 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-07261858 info 2026-08-24 10:53:57,699 - INFO - Deleting VN ctest-vn-59248379 2026-08-24 10:53:57,828 - DEBUG - Response for deleting network () 2026-08-24 10:53:57,828 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/5cf26540-d93c-42f1-8609-6f6aeace523d 2026-08-24 10:53:57,836 - DEBUG - Response Code: 404 2026-08-24 10:53:57,836 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-08-24 10:53:57,843 - DEBUG - Requesting: http://10.0.0.185:8082/domain/afc535ab-9491-4541-892e-998f7507e3d9 2026-08-24 10:53:57,900 - DEBUG - Requesting: http://10.0.0.185:8082/project/7ccdf3c2-14b3-4288-b33a-4617a31ecc88 2026-08-24 10:53:57,976 - INFO - Validated that VN ctest-vn-59248379 is not found in API Server 2026-08-24 10:53:57,987 - DEBUG - VN ctest-vn-59248379 is not present in Agent 10.0.0.185 2026-08-24 10:53:57,988 - INFO - Validated that VN ctest-vn-59248379 is not in any agent 2026-08-24 10:53:58,004 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-59248379 info 2026-08-24 10:53:58,275 - DEBUG - No XMPP flaps were noticed during the test 2026-08-24 10:53:58,276 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:10] 2026-08-24 10:53:58,276 - INFO - -------------------------------------------------------------------------------- 2026-08-24 10:53:58,998 - INFO - Deleted project: ctest-TestBasicPolicy-21796544, ID : 7ccdf3c2-14b3-4288-b33a-4617a31ecc88