2025-12-22 02:13:13,474 - INFO - Domain Default found not creating 2025-12-22 02:13:13,664 - INFO - Project ctest-TestBasicPolicy-20378034 not found, creating it 2025-12-22 02:13:14,159 - INFO - Created Project:ctest-TestBasicPolicy-20378034, ID : a8bcb995-b268-42c2-9061-df391ea23db2 2025-12-22 02:13:15,717 - INFO - ================================================================================ 2025-12-22 02:13:15,717 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-12-22 02:13:15,718 - 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 2025-12-22 02:13:15,975 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.249': '0'}} with 2025-12-22 02:13:15,975 - INFO - Initial checks done. Running the testcase now 2025-12-22 02:13:15,976 - INFO - 2025-12-22 02:13:16,550 - DEBUG - Response for create_network : {'network': {'id': '0abc7282-441c-416f-bbdd-61c1c4ee4e04', 'name': 'ctest-vn-33829616', 'tenant_id': 'a8bcb995b26842c29061df391ea23db2', 'project_id': 'a8bcb995b26842c29061df391ea23db2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20378034', 'ctest-vn-33829616'], 'port_security_enabled': True, 'description': ''}} 2025-12-22 02:13:16,712 - DEBUG - Response for create_subnet : {'subnet': {'id': '4ec496f8-c835-4988-ba24-953ae29a1487', 'name': '', 'tenant_id': 'a8bcb995b26842c29061df391ea23db2', 'network_id': '0abc7282-441c-416f-bbdd-61c1c4ee4e04', 'ip_version': 4, 'cidr': '166.91.254.128/26', 'allocation_pools': [{'start': '166.91.254.130', 'end': '166.91.254.190'}], 'gateway_ip': '166.91.254.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '166.91.254.130', 'tags': [], 'project_id': 'a8bcb995b26842c29061df391ea23db2'}} 2025-12-22 02:13:16,737 - INFO - Created VN ctest-vn-33829616 2025-12-22 02:13:16,793 - DEBUG - VN ctest-vn-33829616 UUID is 0abc7282-441c-416f-bbdd-61c1c4ee4e04 2025-12-22 02:13:17,092 - DEBUG - Response for create_network : {'network': {'id': '8b52374f-9986-4de1-baba-77f991b4412b', 'name': 'ctest-vn-10543769', 'tenant_id': 'a8bcb995b26842c29061df391ea23db2', 'project_id': 'a8bcb995b26842c29061df391ea23db2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20378034', 'ctest-vn-10543769'], 'port_security_enabled': True, 'description': ''}} 2025-12-22 02:13:17,283 - DEBUG - Response for create_subnet : {'subnet': {'id': '9f186d05-49a3-4c5c-9ccb-2c4989683a82', 'name': '', 'tenant_id': 'a8bcb995b26842c29061df391ea23db2', 'network_id': '8b52374f-9986-4de1-baba-77f991b4412b', 'ip_version': 4, 'cidr': '136.254.81.0/26', 'allocation_pools': [{'start': '136.254.81.2', 'end': '136.254.81.62'}], 'gateway_ip': '136.254.81.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '136.254.81.2', 'tags': [], 'project_id': 'a8bcb995b26842c29061df391ea23db2'}} 2025-12-22 02:13:17,305 - INFO - Created VN ctest-vn-10543769 2025-12-22 02:13:17,361 - DEBUG - VN ctest-vn-10543769 UUID is 8b52374f-9986-4de1-baba-77f991b4412b 2025-12-22 02:13:17,480 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-20378034:ctest-vn-33829616, 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-20378034:ctest-vn-10543769, 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] 2025-12-22 02:13:17,769 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0abc7282-441c-416f-bbdd-61c1c4ee4e04', 'name': 'ctest-vn-33829616', 'tenant_id': 'a8bcb995b26842c29061df391ea23db2', 'project_id': 'a8bcb995b26842c29061df391ea23db2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4ec496f8-c835-4988-ba24-953ae29a1487'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20378034', 'ctest-vn-33829616'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-20378034', 'ctest-policy-allow-all-60184036']], 'subnet_ipam': [{'subnet_cidr': '166.91.254.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-22 02:13:18,007 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8b52374f-9986-4de1-baba-77f991b4412b', 'name': 'ctest-vn-10543769', 'tenant_id': 'a8bcb995b26842c29061df391ea23db2', 'project_id': 'a8bcb995b26842c29061df391ea23db2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9f186d05-49a3-4c5c-9ccb-2c4989683a82'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20378034', 'ctest-vn-10543769'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-20378034', 'ctest-policy-allow-all-60184036']], 'subnet_ipam': [{'subnet_cidr': '136.254.81.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-22 02:13:18,177 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-12-22 02:13:18,482 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-12-22 02:13:18,515 - DEBUG - Requesting: http://10.0.0.131:8082/domain/e63556d5-ccc7-4ac7-9e09-6f38f7aa70d0 2025-12-22 02:13:18,528 - DEBUG - Requesting: http://10.0.0.131:8082/project/a8bcb995-b268-42c2-9061-df391ea23db2 2025-12-22 02:13:18,606 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/0abc7282-441c-416f-bbdd-61c1c4ee4e04 2025-12-22 02:13:18,616 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/0abc7282-441c-416f-bbdd-61c1c4ee4e04 2025-12-22 02:13:18,625 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/3218c35a-0cd1-4202-a9ba-ef95bfae3566 2025-12-22 02:13:18,632 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/3218c35a-0cd1-4202-a9ba-ef95bfae3566 2025-12-22 02:13:18,638 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/f5129a5b-1222-40f3-876d-183ca6a8eac6 2025-12-22 02:13:18,644 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-22 02:13:18,644 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/0abc7282-441c-416f-bbdd-61c1c4ee4e04 2025-12-22 02:13:18,652 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/3218c35a-0cd1-4202-a9ba-ef95bfae3566 2025-12-22 02:13:18,666 - INFO - Verified VN network id 11 for VN 0abc7282-441c-416f-bbdd-61c1c4ee4e04 2025-12-22 02:13:18,667 - INFO - Verifications in API Server for VN ctest-vn-33829616 passed 2025-12-22 02:13:18,667 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/0abc7282-441c-416f-bbdd-61c1c4ee4e04 2025-12-22 02:13:18,677 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/3218c35a-0cd1-4202-a9ba-ef95bfae3566 2025-12-22 02:13:18,684 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/3218c35a-0cd1-4202-a9ba-ef95bfae3566 2025-12-22 02:13:18,691 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/f5129a5b-1222-40f3-876d-183ca6a8eac6 2025-12-22 02:13:18,706 - DEBUG - Control-node 10.0.0.131 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-20378034:ctest-vn-33829616', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-20378034', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '773619139814900079', 'uuid-lslong': '13537083539806113284'}, 'enable': 'true', 'created': '2025-12-22T02:13:16', 'last-modified': '2025-12-22T02:13:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.956914'} 2025-12-22 02:13:18,713 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-22 02:13:18,713 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-33829616 passed 2025-12-22 02:13:18,714 - DEBUG - ====Verifying policy data for ctest-vn-33829616 in API_Server ====== 2025-12-22 02:13:18,714 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-12-22 02:13:18,721 - DEBUG - Requesting: http://10.0.0.131:8082/domain/e63556d5-ccc7-4ac7-9e09-6f38f7aa70d0 2025-12-22 02:13:18,731 - DEBUG - Requesting: http://10.0.0.131:8082/project/a8bcb995-b268-42c2-9061-df391ea23db2 2025-12-22 02:13:18,805 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/0abc7282-441c-416f-bbdd-61c1c4ee4e04 2025-12-22 02:13:18,815 - DEBUG - ==>Verifying data for policy with id: 91e5d78d-7108-472a-96c9-e8aaa7543fb3, fqn: ['default-domain', 'ctest-TestBasicPolicy-20378034', 'ctest-policy-allow-all-60184036'] 2025-12-22 02:13:18,815 - INFO - VN ctest-vn-33829616 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-22 02:13:18,816 - DEBUG - Verifying the vn in opserver 2025-12-22 02:13:18,816 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-20378034:ctest-vn-33829616 virtual network link through opserver 10.0.0.131 2025-12-22 02:13:18,816 - DEBUG - Requesting: http://10.0.0.131:8081/analytics/uves/virtual-networks 2025-12-22 02:13:19,111 - DEBUG - Requesting: http://10.0.0.131:8081/analytics/uves/virtual-networks 2025-12-22 02:13:19,177 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-20378034:ctest-vn-33829616', 'href': 'http://10.0.0.131:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-20378034:ctest-vn-33829616?flat'} 2025-12-22 02:13:19,177 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-20378034:ctest-vn-33829616 is found in opserver 2025-12-22 02:13:19,187 - DEBUG - Do not have enough data to verify VN in agent 2025-12-22 02:13:19,192 - DEBUG - VRF ids for VN ctest-vn-33829616: {} 2025-12-22 02:13:19,192 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-12-22 02:13:19,198 - DEBUG - Requesting: http://10.0.0.131:8082/domain/e63556d5-ccc7-4ac7-9e09-6f38f7aa70d0 2025-12-22 02:13:19,209 - DEBUG - Requesting: http://10.0.0.131:8082/project/a8bcb995-b268-42c2-9061-df391ea23db2 2025-12-22 02:13:19,281 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/8b52374f-9986-4de1-baba-77f991b4412b 2025-12-22 02:13:19,292 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/8b52374f-9986-4de1-baba-77f991b4412b 2025-12-22 02:13:19,302 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/3e1d40f6-1929-4f1e-8025-d98d76657d38 2025-12-22 02:13:19,310 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/3e1d40f6-1929-4f1e-8025-d98d76657d38 2025-12-22 02:13:19,318 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/ea51effc-473d-4bb4-ad0d-e33953c32c63 2025-12-22 02:13:19,325 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-22 02:13:19,325 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/8b52374f-9986-4de1-baba-77f991b4412b 2025-12-22 02:13:19,335 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/3e1d40f6-1929-4f1e-8025-d98d76657d38 2025-12-22 02:13:19,352 - INFO - Verified VN network id 12 for VN 8b52374f-9986-4de1-baba-77f991b4412b 2025-12-22 02:13:19,352 - INFO - Verifications in API Server for VN ctest-vn-10543769 passed 2025-12-22 02:13:19,352 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/8b52374f-9986-4de1-baba-77f991b4412b 2025-12-22 02:13:19,362 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/3e1d40f6-1929-4f1e-8025-d98d76657d38 2025-12-22 02:13:19,370 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/3e1d40f6-1929-4f1e-8025-d98d76657d38 2025-12-22 02:13:19,379 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/ea51effc-473d-4bb4-ad0d-e33953c32c63 2025-12-22 02:13:19,393 - DEBUG - Control-node 10.0.0.131 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-20378034:ctest-vn-10543769', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-20378034', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10039147334379916769', 'uuid-lslong': '13455198750497849643'}, 'enable': 'true', 'created': '2025-12-22T02:13:17', 'last-modified': '2025-12-22T02:13:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.405604'} 2025-12-22 02:13:19,399 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-22 02:13:19,399 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-10543769 passed 2025-12-22 02:13:19,399 - DEBUG - ====Verifying policy data for ctest-vn-10543769 in API_Server ====== 2025-12-22 02:13:19,399 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-12-22 02:13:19,406 - DEBUG - Requesting: http://10.0.0.131:8082/domain/e63556d5-ccc7-4ac7-9e09-6f38f7aa70d0 2025-12-22 02:13:19,417 - DEBUG - Requesting: http://10.0.0.131:8082/project/a8bcb995-b268-42c2-9061-df391ea23db2 2025-12-22 02:13:19,491 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/8b52374f-9986-4de1-baba-77f991b4412b 2025-12-22 02:13:19,509 - DEBUG - ==>Verifying data for policy with id: 91e5d78d-7108-472a-96c9-e8aaa7543fb3, fqn: ['default-domain', 'ctest-TestBasicPolicy-20378034', 'ctest-policy-allow-all-60184036'] 2025-12-22 02:13:19,509 - INFO - VN ctest-vn-10543769 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-22 02:13:19,509 - DEBUG - Verifying the vn in opserver 2025-12-22 02:13:19,509 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-20378034:ctest-vn-10543769 virtual network link through opserver 10.0.0.131 2025-12-22 02:13:19,509 - DEBUG - Requesting: http://10.0.0.131:8081/analytics/uves/virtual-networks 2025-12-22 02:13:19,519 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-20378034:ctest-vn-10543769', 'href': 'http://10.0.0.131:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-20378034:ctest-vn-10543769?flat'} 2025-12-22 02:13:19,519 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-20378034:ctest-vn-10543769 is found in opserver 2025-12-22 02:13:19,530 - DEBUG - Do not have enough data to verify VN in agent 2025-12-22 02:13:19,536 - DEBUG - VRF ids for VN ctest-vn-10543769: {} 2025-12-22 02:13:19,612 - DEBUG - Services list from nova: [, , ] 2025-12-22 02:13:20,681 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4917-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4917-1) 2025-12-22 02:13:21,845 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4917-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4917-1) 2025-12-22 02:13:21,845 - INFO - Waiting for VM ctest-TestBasicPolicy-20378034-19014108 to be up.. 2025-12-22 02:13:21,955 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-22 02:13:27,058 - DEBUG - VM is in ACTIVE state now 2025-12-22 02:13:27,058 - INFO - VM name : ctest-TestBasicPolicy-20378034-19014108 2025-12-22 02:13:27,149 - DEBUG - VM ctest-TestBasicPolicy-20378034-19014108 ID is 065220dc-5fac-44fe-8153-3dc2cea3a64c 2025-12-22 02:13:27,171 - DEBUG - VM ctest-TestBasicPolicy-20378034-19014108 launched on Node cn-jenkins-deploy-platform-ansible-os-4917-1 2025-12-22 02:13:27,249 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/065220dc-5fac-44fe-8153-3dc2cea3a64c 2025-12-22 02:13:27,258 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/e9364286-c787-4d03-a840-51d434c9bec1 2025-12-22 02:13:30,511 - 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 1006ms') 2025-12-22 02:13:30,512 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-20378034-19014108 failed! 2025-12-22 02:13:30,565 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-20378034:ctest-vn-33829616 is 166.91.254.129 and allocation pool is NOT set 2025-12-22 02:13:32,631 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=9.35 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.12 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.122/5.735/9.348/3.613 ms') 2025-12-22 02:13:32,631 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-20378034-19014108 passed 2025-12-22 02:13:32,789 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-22 02:13:32,789 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-20378034-19014108, IP 166.91.254.131, Port 22 2025-12-22 02:13:32,855 - 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': ''} 2025-12-22 02:13:32,945 - DEBUG - VM ctest-TestBasicPolicy-20378034-19014108 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-22 02:13:37,946 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-22 02:13:37,947 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-20378034-19014108, IP 166.91.254.131, Port 22 2025-12-22 02:13:38,105 - DEBUG - VM ctest-TestBasicPolicy-20378034-19014108 is ready for SSH connections 2025-12-22 02:13:38,105 - INFO - Waiting for VM ctest-TestBasicPolicy-20378034-29091996 to be up.. 2025-12-22 02:13:38,194 - DEBUG - VM is in ACTIVE state now 2025-12-22 02:13:38,194 - INFO - VM name : ctest-TestBasicPolicy-20378034-29091996 2025-12-22 02:13:38,279 - DEBUG - VM ctest-TestBasicPolicy-20378034-29091996 ID is 7cba606c-6b33-4a80-865d-efedfb318e62 2025-12-22 02:13:38,279 - DEBUG - VM ctest-TestBasicPolicy-20378034-29091996 launched on Node cn-jenkins-deploy-platform-ansible-os-4917-1 2025-12-22 02:13:38,364 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/7cba606c-6b33-4a80-865d-efedfb318e62 2025-12-22 02:13:38,373 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/8b6ae2c4-3ef3-42ef-a448-070d34f8c053 2025-12-22 02:13:39,615 - 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=3.78 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.450 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.450/2.113/3.777/1.663 ms') 2025-12-22 02:13:39,615 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-20378034-29091996 passed 2025-12-22 02:13:39,777 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-22 02:13:39,777 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-20378034-29091996, IP 136.254.81.3, Port 22 2025-12-22 02:13:39,948 - DEBUG - VM ctest-TestBasicPolicy-20378034-29091996 is ready for SSH connections 2025-12-22 02:13:39,948 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-22 02:13:39,948 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 136.254.81.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-12-22 02:13:39,948 - DEBUG - ping -s 56 -c 3 -W 1 136.254.81.3 2025-12-22 02:13:44,057 - DEBUG - PING 136.254.81.3 (136.254.81.3): 56 data bytes 64 bytes from 136.254.81.3: seq=0 ttl=63 time=4.334 ms 64 bytes from 136.254.81.3: seq=1 ttl=63 time=1.312 ms 64 bytes from 136.254.81.3: seq=2 ttl=63 time=1.150 ms --- 136.254.81.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.150/2.265/4.334 ms 2025-12-22 02:13:44,057 - INFO - Ping to IP 136.254.81.3 from VM ctest-TestBasicPolicy-20378034-19014108 passed 2025-12-22 02:13:44,241 - DEBUG - Policy Update Response {"network-policy": {"uuid": "91e5d78d-7108-472a-96c9-e8aaa7543fb3", "href": "http://10.0.0.131:8082/network-policy/91e5d78d-7108-472a-96c9-e8aaa7543fb3"}} 2025-12-22 02:13:44,241 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-22 02:13:44,241 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 136.254.81.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-12-22 02:13:44,241 - DEBUG - ping -s 56 -c 3 -W 1 136.254.81.3 2025-12-22 02:13:47,466 - DEBUG - PING 136.254.81.3 (136.254.81.3): 56 data bytes --- 136.254.81.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-22 02:13:47,466 - WARNING - Ping to IP 136.254.81.3 from VM ctest-TestBasicPolicy-20378034-19014108 failed 2025-12-22 02:13:47,466 - INFO - Deleting VM ctest-TestBasicPolicy-20378034-29091996 2025-12-22 02:13:47,548 - INFO - Deleting VM ctest-TestBasicPolicy-20378034-19014108 2025-12-22 02:13:47,954 - INFO - Deleted policy ctest-policy-allow-all-60184036 2025-12-22 02:13:47,954 - INFO - Deleting VN ctest-vn-10543769 2025-12-22 02:13:48,003 - DEBUG - VN 8b52374f-9986-4de1-baba-77f991b4412b still in use: Unable to complete operation on network 8b52374f-9986-4de1-baba-77f991b4412b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5a8bd0d4-03de-44ce-83ce-8d709a15516f'] 2025-12-22 02:13:48,003 - WARNING - Deleting VN ctest-vn-10543769 failed..Will retry 2025-12-22 02:13:50,109 - DEBUG - Response for deleting network () 2025-12-22 02:13:50,109 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/3e1d40f6-1929-4f1e-8025-d98d76657d38 2025-12-22 02:13:50,118 - DEBUG - Response Code: 404 2025-12-22 02:13:50,118 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-12-22 02:13:50,123 - DEBUG - Requesting: http://10.0.0.131:8082/domain/e63556d5-ccc7-4ac7-9e09-6f38f7aa70d0 2025-12-22 02:13:50,175 - DEBUG - Requesting: http://10.0.0.131:8082/project/a8bcb995-b268-42c2-9061-df391ea23db2 2025-12-22 02:13:50,248 - INFO - Validated that VN ctest-vn-10543769 is not found in API Server 2025-12-22 02:13:50,258 - DEBUG - VN ctest-vn-10543769 is not present in Agent 10.0.0.131 2025-12-22 02:13:50,258 - INFO - Validated that VN ctest-vn-10543769 is not in any agent 2025-12-22 02:13:50,272 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-10543769 info 2025-12-22 02:13:50,272 - INFO - Deleting VN ctest-vn-33829616 2025-12-22 02:13:50,375 - DEBUG - Response for deleting network () 2025-12-22 02:13:50,375 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/3218c35a-0cd1-4202-a9ba-ef95bfae3566 2025-12-22 02:13:50,386 - DEBUG - Response Code: 404 2025-12-22 02:13:50,386 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-12-22 02:13:50,392 - DEBUG - Requesting: http://10.0.0.131:8082/domain/e63556d5-ccc7-4ac7-9e09-6f38f7aa70d0 2025-12-22 02:13:50,446 - DEBUG - Requesting: http://10.0.0.131:8082/project/a8bcb995-b268-42c2-9061-df391ea23db2 2025-12-22 02:13:50,521 - INFO - Validated that VN ctest-vn-33829616 is not found in API Server 2025-12-22 02:13:50,530 - DEBUG - VN ctest-vn-33829616 is not present in Agent 10.0.0.131 2025-12-22 02:13:50,530 - INFO - Validated that VN ctest-vn-33829616 is not in any agent 2025-12-22 02:13:50,544 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-33829616 info 2025-12-22 02:13:50,814 - DEBUG - No XMPP flaps were noticed during the test
2025-12-22 02:13:50,814 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2025-12-22 02:13:50,815 - INFO - -------------------------------------------------------------------------------- 2025-12-22 02:13:51,525 - INFO - Deleted project: ctest-TestBasicPolicy-20378034, ID : a8bcb995-b268-42c2-9061-df391ea23db2