2026-01-01 02:27:30,236 - INFO - Domain Default found not creating 2026-01-01 02:27:30,399 - INFO - Project ctest-TestBasicPolicy-04144040 not found, creating it 2026-01-01 02:27:30,852 - INFO - Created Project:ctest-TestBasicPolicy-04144040, ID : e3aa4350-14b4-467e-b1a5-a05595d31b78 2026-01-01 02:27:32,472 - INFO - ================================================================================ 2026-01-01 02:27:32,472 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-01 02:27:32,472 - 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-01-01 02:27:32,728 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.241': '0'}} with 2026-01-01 02:27:32,728 - INFO - Initial checks done. Running the testcase now 2026-01-01 02:27:32,728 - INFO - 2026-01-01 02:27:33,333 - DEBUG - Response for create_network : {'network': {'id': '5b40409c-0ffd-44a5-b52d-2de2d62d2fcf', 'name': 'ctest-vn-25545480', 'tenant_id': 'e3aa435014b4467eb1a5a05595d31b78', 'project_id': 'e3aa435014b4467eb1a5a05595d31b78', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04144040', 'ctest-vn-25545480'], 'port_security_enabled': True, 'description': ''}} 2026-01-01 02:27:33,487 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ac3b7ce0-6a54-4f03-b28f-8c0091ec8698', 'name': '', 'tenant_id': 'e3aa435014b4467eb1a5a05595d31b78', 'network_id': '5b40409c-0ffd-44a5-b52d-2de2d62d2fcf', 'ip_version': 4, 'cidr': '151.146.233.64/26', 'allocation_pools': [{'start': '151.146.233.66', 'end': '151.146.233.126'}], 'gateway_ip': '151.146.233.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '151.146.233.66', 'tags': [], 'project_id': 'e3aa435014b4467eb1a5a05595d31b78'}} 2026-01-01 02:27:33,505 - INFO - Created VN ctest-vn-25545480 2026-01-01 02:27:33,558 - DEBUG - VN ctest-vn-25545480 UUID is 5b40409c-0ffd-44a5-b52d-2de2d62d2fcf 2026-01-01 02:27:33,845 - DEBUG - Response for create_network : {'network': {'id': 'a526290b-bc2f-415f-b06a-470460f20c4b', 'name': 'ctest-vn-61196635', 'tenant_id': 'e3aa435014b4467eb1a5a05595d31b78', 'project_id': 'e3aa435014b4467eb1a5a05595d31b78', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04144040', 'ctest-vn-61196635'], 'port_security_enabled': True, 'description': ''}} 2026-01-01 02:27:34,048 - DEBUG - Response for create_subnet : {'subnet': {'id': '92d2ffd9-7bd9-4380-81fc-097f0cedc076', 'name': '', 'tenant_id': 'e3aa435014b4467eb1a5a05595d31b78', 'network_id': 'a526290b-bc2f-415f-b06a-470460f20c4b', 'ip_version': 4, 'cidr': '68.138.182.64/26', 'allocation_pools': [{'start': '68.138.182.66', 'end': '68.138.182.126'}], 'gateway_ip': '68.138.182.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '68.138.182.66', 'tags': [], 'project_id': 'e3aa435014b4467eb1a5a05595d31b78'}} 2026-01-01 02:27:34,065 - INFO - Created VN ctest-vn-61196635 2026-01-01 02:27:34,118 - DEBUG - VN ctest-vn-61196635 UUID is a526290b-bc2f-415f-b06a-470460f20c4b 2026-01-01 02:27:34,230 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-04144040:ctest-vn-25545480, 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-04144040:ctest-vn-61196635, 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-01-01 02:27:34,534 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5b40409c-0ffd-44a5-b52d-2de2d62d2fcf', 'name': 'ctest-vn-25545480', 'tenant_id': 'e3aa435014b4467eb1a5a05595d31b78', 'project_id': 'e3aa435014b4467eb1a5a05595d31b78', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ac3b7ce0-6a54-4f03-b28f-8c0091ec8698'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04144040', 'ctest-vn-25545480'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-04144040', 'ctest-policy-allow-all-19629642']], 'subnet_ipam': [{'subnet_cidr': '151.146.233.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-01 02:27:34,772 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a526290b-bc2f-415f-b06a-470460f20c4b', 'name': 'ctest-vn-61196635', 'tenant_id': 'e3aa435014b4467eb1a5a05595d31b78', 'project_id': 'e3aa435014b4467eb1a5a05595d31b78', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['92d2ffd9-7bd9-4380-81fc-097f0cedc076'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04144040', 'ctest-vn-61196635'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-04144040', 'ctest-policy-allow-all-19629642']], 'subnet_ipam': [{'subnet_cidr': '68.138.182.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-01 02:27:34,938 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-01-01 02:27:35,291 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-01-01 02:27:35,324 - DEBUG - Requesting: http://10.0.0.19:8082/domain/4ae81da7-fb8d-46c2-8663-99563f0ed736 2026-01-01 02:27:35,336 - DEBUG - Requesting: http://10.0.0.19:8082/project/e3aa4350-14b4-467e-b1a5-a05595d31b78 2026-01-01 02:27:35,405 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/5b40409c-0ffd-44a5-b52d-2de2d62d2fcf 2026-01-01 02:27:35,414 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/5b40409c-0ffd-44a5-b52d-2de2d62d2fcf 2026-01-01 02:27:35,422 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/f821553d-c769-4d35-85f8-d4854091c85f 2026-01-01 02:27:35,428 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/f821553d-c769-4d35-85f8-d4854091c85f 2026-01-01 02:27:35,434 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/76794f39-c06b-4d57-9ff9-de462f0a64b9 2026-01-01 02:27:35,439 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-01 02:27:35,440 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/5b40409c-0ffd-44a5-b52d-2de2d62d2fcf 2026-01-01 02:27:35,448 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/f821553d-c769-4d35-85f8-d4854091c85f 2026-01-01 02:27:35,460 - INFO - Verified VN network id 11 for VN 5b40409c-0ffd-44a5-b52d-2de2d62d2fcf 2026-01-01 02:27:35,460 - INFO - Verifications in API Server for VN ctest-vn-25545480 passed 2026-01-01 02:27:35,460 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/5b40409c-0ffd-44a5-b52d-2de2d62d2fcf 2026-01-01 02:27:35,467 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/f821553d-c769-4d35-85f8-d4854091c85f 2026-01-01 02:27:35,473 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/f821553d-c769-4d35-85f8-d4854091c85f 2026-01-01 02:27:35,479 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/76794f39-c06b-4d57-9ff9-de462f0a64b9 2026-01-01 02:27:35,489 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-04144040:ctest-vn-25545480', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-04144040', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6575326494988256421', 'uuid-lslong': '13055141347096080335'}, 'enable': 'true', 'created': '2026-01-01T02:27:33', 'last-modified': '2026-01-01T02:27:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.982896'} 2026-01-01 02:27:35,495 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-01 02:27:35,495 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-25545480 passed 2026-01-01 02:27:35,495 - DEBUG - ====Verifying policy data for ctest-vn-25545480 in API_Server ====== 2026-01-01 02:27:35,495 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-01-01 02:27:35,500 - DEBUG - Requesting: http://10.0.0.19:8082/domain/4ae81da7-fb8d-46c2-8663-99563f0ed736 2026-01-01 02:27:35,511 - DEBUG - Requesting: http://10.0.0.19:8082/project/e3aa4350-14b4-467e-b1a5-a05595d31b78 2026-01-01 02:27:35,577 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/5b40409c-0ffd-44a5-b52d-2de2d62d2fcf 2026-01-01 02:27:35,586 - DEBUG - ==>Verifying data for policy with id: 5b19d198-6b55-435a-b9f8-99bc2b8ac6f0, fqn: ['default-domain', 'ctest-TestBasicPolicy-04144040', 'ctest-policy-allow-all-19629642'] 2026-01-01 02:27:35,586 - INFO - VN ctest-vn-25545480 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-01 02:27:35,586 - DEBUG - Verifying the vn in opserver 2026-01-01 02:27:35,586 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-04144040:ctest-vn-25545480 virtual network link through opserver 10.0.0.19 2026-01-01 02:27:35,586 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-01-01 02:27:35,919 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-01-01 02:27:35,978 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-04144040:ctest-vn-25545480', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-04144040:ctest-vn-25545480?flat'} 2026-01-01 02:27:35,978 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-04144040:ctest-vn-25545480 is found in opserver 2026-01-01 02:27:35,987 - DEBUG - Do not have enough data to verify VN in agent 2026-01-01 02:27:35,991 - DEBUG - VRF ids for VN ctest-vn-25545480: {} 2026-01-01 02:27:35,991 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-01-01 02:27:35,998 - DEBUG - Requesting: http://10.0.0.19:8082/domain/4ae81da7-fb8d-46c2-8663-99563f0ed736 2026-01-01 02:27:36,009 - DEBUG - Requesting: http://10.0.0.19:8082/project/e3aa4350-14b4-467e-b1a5-a05595d31b78 2026-01-01 02:27:36,077 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/a526290b-bc2f-415f-b06a-470460f20c4b 2026-01-01 02:27:36,090 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/a526290b-bc2f-415f-b06a-470460f20c4b 2026-01-01 02:27:36,100 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/8c72b043-7715-4ad7-b1c7-d47427bec675 2026-01-01 02:27:36,108 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/8c72b043-7715-4ad7-b1c7-d47427bec675 2026-01-01 02:27:36,115 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/1db3abc4-1ea7-41a4-ad0e-a55561f82c2d 2026-01-01 02:27:36,121 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-01 02:27:36,122 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/a526290b-bc2f-415f-b06a-470460f20c4b 2026-01-01 02:27:36,130 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/8c72b043-7715-4ad7-b1c7-d47427bec675 2026-01-01 02:27:36,142 - INFO - Verified VN network id 12 for VN a526290b-bc2f-415f-b06a-470460f20c4b 2026-01-01 02:27:36,142 - INFO - Verifications in API Server for VN ctest-vn-61196635 passed 2026-01-01 02:27:36,142 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/a526290b-bc2f-415f-b06a-470460f20c4b 2026-01-01 02:27:36,150 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/8c72b043-7715-4ad7-b1c7-d47427bec675 2026-01-01 02:27:36,156 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/8c72b043-7715-4ad7-b1c7-d47427bec675 2026-01-01 02:27:36,163 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/1db3abc4-1ea7-41a4-ad0e-a55561f82c2d 2026-01-01 02:27:36,173 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-04144040:ctest-vn-61196635', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-04144040', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11900244195751706975', 'uuid-lslong': '12712050982338563147'}, 'enable': 'true', 'created': '2026-01-01T02:27:33', 'last-modified': '2026-01-01T02:27:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.430231'} 2026-01-01 02:27:36,179 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-01 02:27:36,179 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-61196635 passed 2026-01-01 02:27:36,179 - DEBUG - ====Verifying policy data for ctest-vn-61196635 in API_Server ====== 2026-01-01 02:27:36,179 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-01-01 02:27:36,184 - DEBUG - Requesting: http://10.0.0.19:8082/domain/4ae81da7-fb8d-46c2-8663-99563f0ed736 2026-01-01 02:27:36,194 - DEBUG - Requesting: http://10.0.0.19:8082/project/e3aa4350-14b4-467e-b1a5-a05595d31b78 2026-01-01 02:27:36,261 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/a526290b-bc2f-415f-b06a-470460f20c4b 2026-01-01 02:27:36,270 - DEBUG - ==>Verifying data for policy with id: 5b19d198-6b55-435a-b9f8-99bc2b8ac6f0, fqn: ['default-domain', 'ctest-TestBasicPolicy-04144040', 'ctest-policy-allow-all-19629642'] 2026-01-01 02:27:36,270 - INFO - VN ctest-vn-61196635 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-01 02:27:36,270 - DEBUG - Verifying the vn in opserver 2026-01-01 02:27:36,270 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-04144040:ctest-vn-61196635 virtual network link through opserver 10.0.0.19 2026-01-01 02:27:36,270 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-01-01 02:27:36,279 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-04144040:ctest-vn-61196635', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-04144040:ctest-vn-61196635?flat'} 2026-01-01 02:27:36,279 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-04144040:ctest-vn-61196635 is found in opserver 2026-01-01 02:27:36,288 - DEBUG - Do not have enough data to verify VN in agent 2026-01-01 02:27:36,292 - DEBUG - VRF ids for VN ctest-vn-61196635: {} 2026-01-01 02:27:36,349 - DEBUG - Services list from nova: [, , ] 2026-01-01 02:27:37,468 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4948-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4948-1) 2026-01-01 02:27:38,731 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4948-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4948-1) 2026-01-01 02:27:38,731 - INFO - Waiting for VM ctest-TestBasicPolicy-04144040-59332925 to be up.. 2026-01-01 02:27:38,813 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-01 02:27:43,890 - DEBUG - VM is in ACTIVE state now 2026-01-01 02:27:43,890 - INFO - VM name : ctest-TestBasicPolicy-04144040-59332925 2026-01-01 02:27:43,973 - DEBUG - VM ctest-TestBasicPolicy-04144040-59332925 ID is 87dcb6e4-9867-43b0-afab-707e49368a6a 2026-01-01 02:27:43,999 - DEBUG - VM ctest-TestBasicPolicy-04144040-59332925 launched on Node cn-jenkins-deploy-platform-ansible-os-4948-1 2026-01-01 02:27:44,085 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/87dcb6e4-9867-43b0-afab-707e49368a6a 2026-01-01 02:27:44,096 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/003764a3-7f69-4d5d-bc50-d0eacd2d3f31 2026-01-01 02:27:47,377 - 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 1026ms') 2026-01-01 02:27:47,377 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-04144040-59332925 failed! 2026-01-01 02:27:47,434 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-04144040:ctest-vn-25545480 is 151.146.233.65 and allocation pool is NOT set 2026-01-01 02:27:49,496 - 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=3.70 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.57 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.566/2.632/3.698/1.066 ms') 2026-01-01 02:27:49,496 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-04144040-59332925 passed 2026-01-01 02:27:49,646 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-01 02:27:49,646 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-04144040-59332925, IP 151.146.233.67, Port 22 2026-01-01 02:27:49,711 - 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-01-01 02:27:49,789 - DEBUG - VM ctest-TestBasicPolicy-04144040-59332925 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-01 02:27:54,790 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-01 02:27:54,791 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-04144040-59332925, IP 151.146.233.67, Port 22 2026-01-01 02:27:54,945 - DEBUG - VM ctest-TestBasicPolicy-04144040-59332925 is ready for SSH connections 2026-01-01 02:27:54,945 - INFO - Waiting for VM ctest-TestBasicPolicy-04144040-28530037 to be up.. 2026-01-01 02:27:55,028 - DEBUG - VM is in ACTIVE state now 2026-01-01 02:27:55,028 - INFO - VM name : ctest-TestBasicPolicy-04144040-28530037 2026-01-01 02:27:55,101 - DEBUG - VM ctest-TestBasicPolicy-04144040-28530037 ID is 44265984-ff26-4a0e-a39d-491cf2b3a904 2026-01-01 02:27:55,101 - DEBUG - VM ctest-TestBasicPolicy-04144040-28530037 launched on Node cn-jenkins-deploy-platform-ansible-os-4948-1 2026-01-01 02:27:55,178 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/44265984-ff26-4a0e-a39d-491cf2b3a904 2026-01-01 02:27:55,187 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/38257f16-1e4a-46db-bc8e-56538d5901c4 2026-01-01 02:27:56,425 - 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.12 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.466 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.466/1.793/3.121/1.327 ms') 2026-01-01 02:27:56,425 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-04144040-28530037 passed 2026-01-01 02:27:56,578 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-01 02:27:56,578 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-04144040-28530037, IP 68.138.182.67, Port 22 2026-01-01 02:27:56,737 - DEBUG - VM ctest-TestBasicPolicy-04144040-28530037 is ready for SSH connections 2026-01-01 02:27:56,737 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-01 02:27:56,737 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 68.138.182.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-01-01 02:27:56,737 - DEBUG - ping -s 56 -c 3 -W 1 68.138.182.67 2026-01-01 02:28:00,869 - DEBUG - PING 68.138.182.67 (68.138.182.67): 56 data bytes 64 bytes from 68.138.182.67: seq=0 ttl=63 time=4.265 ms 64 bytes from 68.138.182.67: seq=1 ttl=63 time=0.940 ms 64 bytes from 68.138.182.67: seq=2 ttl=63 time=0.863 ms --- 68.138.182.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.863/2.022/4.265 ms 2026-01-01 02:28:00,869 - INFO - Ping to IP 68.138.182.67 from VM ctest-TestBasicPolicy-04144040-59332925 passed 2026-01-01 02:28:01,054 - DEBUG - Policy Update Response {"network-policy": {"uuid": "5b19d198-6b55-435a-b9f8-99bc2b8ac6f0", "href": "http://10.0.0.19:8082/network-policy/5b19d198-6b55-435a-b9f8-99bc2b8ac6f0"}} 2026-01-01 02:28:01,054 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-01 02:28:01,054 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 68.138.182.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-01-01 02:28:01,054 - DEBUG - ping -s 56 -c 3 -W 1 68.138.182.67 2026-01-01 02:28:04,304 - DEBUG - PING 68.138.182.67 (68.138.182.67): 56 data bytes --- 68.138.182.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-01 02:28:04,304 - WARNING - Ping to IP 68.138.182.67 from VM ctest-TestBasicPolicy-04144040-59332925 failed 2026-01-01 02:28:04,304 - INFO - Deleting VM ctest-TestBasicPolicy-04144040-28530037 2026-01-01 02:28:04,377 - INFO - Deleting VM ctest-TestBasicPolicy-04144040-59332925 2026-01-01 02:28:04,784 - INFO - Deleted policy ctest-policy-allow-all-19629642 2026-01-01 02:28:04,784 - INFO - Deleting VN ctest-vn-61196635 2026-01-01 02:28:04,818 - DEBUG - VN a526290b-bc2f-415f-b06a-470460f20c4b still in use: Unable to complete operation on network a526290b-bc2f-415f-b06a-470460f20c4b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2cc924b2-c323-470e-8736-d74e5ada1401'] 2026-01-01 02:28:04,818 - WARNING - Deleting VN ctest-vn-61196635 failed..Will retry 2026-01-01 02:28:06,928 - DEBUG - Response for deleting network () 2026-01-01 02:28:06,928 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/8c72b043-7715-4ad7-b1c7-d47427bec675 2026-01-01 02:28:06,933 - DEBUG - Response Code: 404 2026-01-01 02:28:06,933 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-01-01 02:28:06,938 - DEBUG - Requesting: http://10.0.0.19:8082/domain/4ae81da7-fb8d-46c2-8663-99563f0ed736 2026-01-01 02:28:06,992 - DEBUG - Requesting: http://10.0.0.19:8082/project/e3aa4350-14b4-467e-b1a5-a05595d31b78 2026-01-01 02:28:07,062 - INFO - Validated that VN ctest-vn-61196635 is not found in API Server 2026-01-01 02:28:07,073 - DEBUG - VN ctest-vn-61196635 is not present in Agent 10.0.0.19 2026-01-01 02:28:07,073 - INFO - Validated that VN ctest-vn-61196635 is not in any agent 2026-01-01 02:28:07,085 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-61196635 info 2026-01-01 02:28:07,085 - INFO - Deleting VN ctest-vn-25545480 2026-01-01 02:28:07,179 - DEBUG - Response for deleting network () 2026-01-01 02:28:07,179 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/f821553d-c769-4d35-85f8-d4854091c85f 2026-01-01 02:28:07,186 - DEBUG - Response Code: 404 2026-01-01 02:28:07,186 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-01-01 02:28:07,192 - DEBUG - Requesting: http://10.0.0.19:8082/domain/4ae81da7-fb8d-46c2-8663-99563f0ed736 2026-01-01 02:28:07,247 - DEBUG - Requesting: http://10.0.0.19:8082/project/e3aa4350-14b4-467e-b1a5-a05595d31b78 2026-01-01 02:28:07,322 - INFO - Validated that VN ctest-vn-25545480 is not found in API Server 2026-01-01 02:28:07,332 - DEBUG - VN ctest-vn-25545480 is not present in Agent 10.0.0.19 2026-01-01 02:28:07,332 - INFO - Validated that VN ctest-vn-25545480 is not in any agent 2026-01-01 02:28:07,347 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-25545480 info 2026-01-01 02:28:07,621 - DEBUG - No XMPP flaps were noticed during the test 2026-01-01 02:28:07,621 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2026-01-01 02:28:07,621 - INFO - -------------------------------------------------------------------------------- 2026-01-01 02:28:08,373 - INFO - Deleted project: ctest-TestBasicPolicy-04144040, ID : e3aa4350-14b4-467e-b1a5-a05595d31b78