2025-09-21 08:59:07,785 - INFO - Domain Default found not creating 2025-09-21 08:59:07,924 - INFO - Project ctest-TestBasicPolicy-93407672 not found, creating it 2025-09-21 08:59:08,371 - INFO - Created Project:ctest-TestBasicPolicy-93407672, ID : dbe459c6-a956-4917-a558-b4e58c84e612 2025-09-21 08:59:09,735 - INFO - ================================================================================ 2025-09-21 08:59:09,735 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-21 08:59:09,735 - 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-09-21 08:59:09,994 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-21 08:59:09,994 - INFO - Initial checks done. Running the testcase now 2025-09-21 08:59:09,994 - INFO - 2025-09-21 08:59:10,515 - DEBUG - Response for create_network : {'network': {'id': 'f4926963-37ff-4dd4-8385-416a2a90a91a', 'name': 'ctest-vn-96320207', 'tenant_id': 'dbe459c6a9564917a558b4e58c84e612', 'project_id': 'dbe459c6a9564917a558b4e58c84e612', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93407672', 'ctest-vn-96320207'], 'port_security_enabled': True, 'description': ''}} 2025-09-21 08:59:10,682 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b5525e5e-89b8-4d5e-97f3-a35b676bde52', 'name': '', 'tenant_id': 'dbe459c6a9564917a558b4e58c84e612', 'network_id': 'f4926963-37ff-4dd4-8385-416a2a90a91a', 'ip_version': 4, 'cidr': '145.61.29.192/26', 'allocation_pools': [{'start': '145.61.29.194', 'end': '145.61.29.254'}], 'gateway_ip': '145.61.29.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '145.61.29.194', 'tags': [], 'project_id': 'dbe459c6a9564917a558b4e58c84e612'}} 2025-09-21 08:59:10,698 - INFO - Created VN ctest-vn-96320207 2025-09-21 08:59:10,749 - DEBUG - VN ctest-vn-96320207 UUID is f4926963-37ff-4dd4-8385-416a2a90a91a 2025-09-21 08:59:11,030 - DEBUG - Response for create_network : {'network': {'id': 'b51cef9d-2cfb-4403-913f-9dc3b6c80ca8', 'name': 'ctest-vn-67599559', 'tenant_id': 'dbe459c6a9564917a558b4e58c84e612', 'project_id': 'dbe459c6a9564917a558b4e58c84e612', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93407672', 'ctest-vn-67599559'], 'port_security_enabled': True, 'description': ''}} 2025-09-21 08:59:11,171 - DEBUG - Response for create_subnet : {'subnet': {'id': '53cf7f44-d92b-42fb-8e4b-6d71e6644341', 'name': '', 'tenant_id': 'dbe459c6a9564917a558b4e58c84e612', 'network_id': 'b51cef9d-2cfb-4403-913f-9dc3b6c80ca8', 'ip_version': 4, 'cidr': '9.12.69.0/26', 'allocation_pools': [{'start': '9.12.69.2', 'end': '9.12.69.62'}], 'gateway_ip': '9.12.69.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '9.12.69.2', 'tags': [], 'project_id': 'dbe459c6a9564917a558b4e58c84e612'}} 2025-09-21 08:59:11,188 - INFO - Created VN ctest-vn-67599559 2025-09-21 08:59:11,237 - DEBUG - VN ctest-vn-67599559 UUID is b51cef9d-2cfb-4403-913f-9dc3b6c80ca8 2025-09-21 08:59:11,389 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-93407672:ctest-vn-96320207, 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-93407672:ctest-vn-67599559, 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-09-21 08:59:11,676 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f4926963-37ff-4dd4-8385-416a2a90a91a', 'name': 'ctest-vn-96320207', 'tenant_id': 'dbe459c6a9564917a558b4e58c84e612', 'project_id': 'dbe459c6a9564917a558b4e58c84e612', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b5525e5e-89b8-4d5e-97f3-a35b676bde52'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93407672', 'ctest-vn-96320207'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-93407672', 'ctest-policy-allow-all-15701981']], 'subnet_ipam': [{'subnet_cidr': '145.61.29.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-21 08:59:11,910 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b51cef9d-2cfb-4403-913f-9dc3b6c80ca8', 'name': 'ctest-vn-67599559', 'tenant_id': 'dbe459c6a9564917a558b4e58c84e612', 'project_id': 'dbe459c6a9564917a558b4e58c84e612', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['53cf7f44-d92b-42fb-8e4b-6d71e6644341'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93407672', 'ctest-vn-67599559'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-93407672', 'ctest-policy-allow-all-15701981']], 'subnet_ipam': [{'subnet_cidr': '9.12.69.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-21 08:59:12,053 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-21 08:59:12,345 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-21 08:59:12,371 - DEBUG - Requesting: http://10.0.0.254:8082/domain/c41d3cc5-b86c-4895-a393-223ab88c8f4f 2025-09-21 08:59:12,382 - DEBUG - Requesting: http://10.0.0.254:8082/project/dbe459c6-a956-4917-a558-b4e58c84e612 2025-09-21 08:59:12,452 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f4926963-37ff-4dd4-8385-416a2a90a91a 2025-09-21 08:59:12,462 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f4926963-37ff-4dd4-8385-416a2a90a91a 2025-09-21 08:59:12,470 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/33fea18c-182a-420f-a08a-2b26c7297086 2025-09-21 08:59:12,476 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/33fea18c-182a-420f-a08a-2b26c7297086 2025-09-21 08:59:12,482 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/c05a04af-9e35-4915-82ab-2a8003fa3224 2025-09-21 08:59:12,488 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-21 08:59:12,488 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f4926963-37ff-4dd4-8385-416a2a90a91a 2025-09-21 08:59:12,496 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/33fea18c-182a-420f-a08a-2b26c7297086 2025-09-21 08:59:12,508 - INFO - Verified VN network id 12 for VN f4926963-37ff-4dd4-8385-416a2a90a91a 2025-09-21 08:59:12,508 - INFO - Verifications in API Server for VN ctest-vn-96320207 passed 2025-09-21 08:59:12,508 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f4926963-37ff-4dd4-8385-416a2a90a91a 2025-09-21 08:59:12,516 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/33fea18c-182a-420f-a08a-2b26c7297086 2025-09-21 08:59:12,522 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/33fea18c-182a-420f-a08a-2b26c7297086 2025-09-21 08:59:12,528 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/c05a04af-9e35-4915-82ab-2a8003fa3224 2025-09-21 08:59:12,539 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-93407672:ctest-vn-96320207', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-93407672', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17623264166716329428', 'uuid-lslong': '9477052915107539226'}, 'enable': 'true', 'created': '2025-09-21T08:59:10', 'last-modified': '2025-09-21T08:59:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.886495'} 2025-09-21 08:59:12,544 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-21 08:59:12,545 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-96320207 passed 2025-09-21 08:59:12,545 - DEBUG - ====Verifying policy data for ctest-vn-96320207 in API_Server ====== 2025-09-21 08:59:12,545 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-21 08:59:12,550 - DEBUG - Requesting: http://10.0.0.254:8082/domain/c41d3cc5-b86c-4895-a393-223ab88c8f4f 2025-09-21 08:59:12,560 - DEBUG - Requesting: http://10.0.0.254:8082/project/dbe459c6-a956-4917-a558-b4e58c84e612 2025-09-21 08:59:12,624 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f4926963-37ff-4dd4-8385-416a2a90a91a 2025-09-21 08:59:12,632 - DEBUG - ==>Verifying data for policy with id: 8eabaa01-4dec-4f9b-8d96-d3d2bdb67f41, fqn: ['default-domain', 'ctest-TestBasicPolicy-93407672', 'ctest-policy-allow-all-15701981'] 2025-09-21 08:59:12,632 - INFO - VN ctest-vn-96320207 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-21 08:59:12,632 - DEBUG - Verifying the vn in opserver 2025-09-21 08:59:12,632 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-93407672:ctest-vn-96320207 virtual network link through opserver 10.0.0.254 2025-09-21 08:59:12,632 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-21 08:59:12,924 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-21 08:59:12,973 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-93407672:ctest-vn-96320207', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-93407672:ctest-vn-96320207?flat'} 2025-09-21 08:59:12,973 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-93407672:ctest-vn-96320207 is found in opserver 2025-09-21 08:59:12,982 - DEBUG - Do not have enough data to verify VN in agent 2025-09-21 08:59:12,986 - DEBUG - VRF ids for VN ctest-vn-96320207: {} 2025-09-21 08:59:12,986 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-21 08:59:12,991 - DEBUG - Requesting: http://10.0.0.254:8082/domain/c41d3cc5-b86c-4895-a393-223ab88c8f4f 2025-09-21 08:59:13,001 - DEBUG - Requesting: http://10.0.0.254:8082/project/dbe459c6-a956-4917-a558-b4e58c84e612 2025-09-21 08:59:13,071 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/b51cef9d-2cfb-4403-913f-9dc3b6c80ca8 2025-09-21 08:59:13,082 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/b51cef9d-2cfb-4403-913f-9dc3b6c80ca8 2025-09-21 08:59:13,090 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/69c124b4-5b3f-471b-9665-ebb9a8348925 2025-09-21 08:59:13,096 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/69c124b4-5b3f-471b-9665-ebb9a8348925 2025-09-21 08:59:13,102 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/c9533af1-7703-47f1-bf57-a3c82d5e41b8 2025-09-21 08:59:13,107 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-21 08:59:13,107 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/b51cef9d-2cfb-4403-913f-9dc3b6c80ca8 2025-09-21 08:59:13,115 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/69c124b4-5b3f-471b-9665-ebb9a8348925 2025-09-21 08:59:13,127 - INFO - Verified VN network id 13 for VN b51cef9d-2cfb-4403-913f-9dc3b6c80ca8 2025-09-21 08:59:13,127 - INFO - Verifications in API Server for VN ctest-vn-67599559 passed 2025-09-21 08:59:13,127 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/b51cef9d-2cfb-4403-913f-9dc3b6c80ca8 2025-09-21 08:59:13,135 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/69c124b4-5b3f-471b-9665-ebb9a8348925 2025-09-21 08:59:13,142 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/69c124b4-5b3f-471b-9665-ebb9a8348925 2025-09-21 08:59:13,148 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/c9533af1-7703-47f1-bf57-a3c82d5e41b8 2025-09-21 08:59:13,158 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-93407672:ctest-vn-67599559', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-93407672', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13050569278556423171', 'uuid-lslong': '10466257522943069352'}, 'enable': 'true', 'created': '2025-09-21T08:59:10', 'last-modified': '2025-09-21T08:59:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.273073'} 2025-09-21 08:59:13,164 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-21 08:59:13,164 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-67599559 passed 2025-09-21 08:59:13,164 - DEBUG - ====Verifying policy data for ctest-vn-67599559 in API_Server ====== 2025-09-21 08:59:13,164 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-21 08:59:13,171 - DEBUG - Requesting: http://10.0.0.254:8082/domain/c41d3cc5-b86c-4895-a393-223ab88c8f4f 2025-09-21 08:59:13,181 - DEBUG - Requesting: http://10.0.0.254:8082/project/dbe459c6-a956-4917-a558-b4e58c84e612 2025-09-21 08:59:13,248 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/b51cef9d-2cfb-4403-913f-9dc3b6c80ca8 2025-09-21 08:59:13,256 - DEBUG - ==>Verifying data for policy with id: 8eabaa01-4dec-4f9b-8d96-d3d2bdb67f41, fqn: ['default-domain', 'ctest-TestBasicPolicy-93407672', 'ctest-policy-allow-all-15701981'] 2025-09-21 08:59:13,257 - INFO - VN ctest-vn-67599559 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-21 08:59:13,257 - DEBUG - Verifying the vn in opserver 2025-09-21 08:59:13,257 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-93407672:ctest-vn-67599559 virtual network link through opserver 10.0.0.254 2025-09-21 08:59:13,257 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-21 08:59:13,265 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-93407672:ctest-vn-67599559', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-93407672:ctest-vn-67599559?flat'} 2025-09-21 08:59:13,265 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-93407672:ctest-vn-67599559 is found in opserver 2025-09-21 08:59:13,274 - DEBUG - Do not have enough data to verify VN in agent 2025-09-21 08:59:13,277 - DEBUG - VRF ids for VN ctest-vn-67599559: {} 2025-09-21 08:59:13,331 - DEBUG - Services list from nova: [, , ] 2025-09-21 08:59:14,320 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4156-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4156-1) 2025-09-21 08:59:15,455 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4156-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4156-1) 2025-09-21 08:59:15,455 - INFO - Waiting for VM ctest-TestBasicPolicy-93407672-07160993 to be up.. 2025-09-21 08:59:15,536 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-21 08:59:20,604 - DEBUG - VM is in ACTIVE state now 2025-09-21 08:59:20,604 - INFO - VM name : ctest-TestBasicPolicy-93407672-07160993 2025-09-21 08:59:20,675 - DEBUG - VM ctest-TestBasicPolicy-93407672-07160993 ID is d2359c0f-79c2-4ef1-a997-770d0b05960d 2025-09-21 08:59:20,693 - DEBUG - VM ctest-TestBasicPolicy-93407672-07160993 launched on Node cn-jenkins-deploy-platform-ansible-os-4156-1 2025-09-21 08:59:20,773 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/d2359c0f-79c2-4ef1-a997-770d0b05960d 2025-09-21 08:59:20,782 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/e0090699-b184-4897-899e-052917bbfc65 2025-09-21 08:59:24,039 - 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') 2025-09-21 08:59:24,039 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-93407672-07160993 failed! 2025-09-21 08:59:24,093 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-93407672:ctest-vn-96320207 is 145.61.29.193 and allocation pool is NOT set 2025-09-21 08:59:26,158 - 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=4.11 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.56 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 = 1.563/2.837/4.111/1.274 ms') 2025-09-21 08:59:26,158 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-93407672-07160993 passed 2025-09-21 08:59:26,309 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-21 08:59:26,309 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-93407672-07160993, IP 145.61.29.195, Port 22 2025-09-21 08:59:26,365 - 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-09-21 08:59:26,433 - DEBUG - VM ctest-TestBasicPolicy-93407672-07160993 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-21 08:59:31,434 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-21 08:59:31,435 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-93407672-07160993, IP 145.61.29.195, Port 22 2025-09-21 08:59:31,593 - DEBUG - VM ctest-TestBasicPolicy-93407672-07160993 is ready for SSH connections 2025-09-21 08:59:31,593 - INFO - Waiting for VM ctest-TestBasicPolicy-93407672-61981664 to be up.. 2025-09-21 08:59:31,663 - DEBUG - VM is in ACTIVE state now 2025-09-21 08:59:31,663 - INFO - VM name : ctest-TestBasicPolicy-93407672-61981664 2025-09-21 08:59:31,731 - DEBUG - VM ctest-TestBasicPolicy-93407672-61981664 ID is eb1d714d-117f-4605-88a6-b7952d42fca9 2025-09-21 08:59:31,731 - DEBUG - VM ctest-TestBasicPolicy-93407672-61981664 launched on Node cn-jenkins-deploy-platform-ansible-os-4156-1 2025-09-21 08:59:31,796 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/eb1d714d-117f-4605-88a6-b7952d42fca9 2025-09-21 08:59:31,803 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/2b2e01bb-dd23-44bd-b546-de24e64fc7c9 2025-09-21 08:59:33,033 - 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=2.95 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.384 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.384/1.664/2.945/1.280 ms') 2025-09-21 08:59:33,033 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-93407672-61981664 passed 2025-09-21 08:59:33,181 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-21 08:59:33,181 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-93407672-61981664, IP 9.12.69.3, Port 22 2025-09-21 08:59:33,332 - DEBUG - VM ctest-TestBasicPolicy-93407672-61981664 is ready for SSH connections 2025-09-21 08:59:33,332 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-21 08:59:33,332 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 9.12.69.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-21 08:59:33,332 - DEBUG - ping -s 56 -c 3 -W 1 9.12.69.3 2025-09-21 08:59:37,347 - DEBUG - PING 9.12.69.3 (9.12.69.3): 56 data bytes 64 bytes from 9.12.69.3: seq=0 ttl=63 time=3.713 ms 64 bytes from 9.12.69.3: seq=1 ttl=63 time=0.855 ms 64 bytes from 9.12.69.3: seq=2 ttl=63 time=0.976 ms --- 9.12.69.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.855/1.848/3.713 ms 2025-09-21 08:59:37,347 - INFO - Ping to IP 9.12.69.3 from VM ctest-TestBasicPolicy-93407672-07160993 passed 2025-09-21 08:59:37,521 - DEBUG - Policy Update Response {"network-policy": {"uuid": "8eabaa01-4dec-4f9b-8d96-d3d2bdb67f41", "href": "http://10.0.0.254:8082/network-policy/8eabaa01-4dec-4f9b-8d96-d3d2bdb67f41"}} 2025-09-21 08:59:37,521 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-21 08:59:37,521 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 9.12.69.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-21 08:59:37,521 - DEBUG - ping -s 56 -c 3 -W 1 9.12.69.3 2025-09-21 08:59:40,749 - DEBUG - PING 9.12.69.3 (9.12.69.3): 56 data bytes --- 9.12.69.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-21 08:59:40,749 - WARNING - Ping to IP 9.12.69.3 from VM ctest-TestBasicPolicy-93407672-07160993 failed 2025-09-21 08:59:40,749 - INFO - Deleting VM ctest-TestBasicPolicy-93407672-61981664 2025-09-21 08:59:40,824 - INFO - Deleting VM ctest-TestBasicPolicy-93407672-07160993 2025-09-21 08:59:41,217 - INFO - Deleted policy ctest-policy-allow-all-15701981 2025-09-21 08:59:41,217 - INFO - Deleting VN ctest-vn-67599559 2025-09-21 08:59:41,252 - DEBUG - VN b51cef9d-2cfb-4403-913f-9dc3b6c80ca8 still in use: Unable to complete operation on network b51cef9d-2cfb-4403-913f-9dc3b6c80ca8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bf9e5657-b3b5-4755-ab63-f28ba06ecc76'] 2025-09-21 08:59:41,253 - WARNING - Deleting VN ctest-vn-67599559 failed..Will retry 2025-09-21 08:59:43,369 - DEBUG - Response for deleting network () 2025-09-21 08:59:43,369 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/69c124b4-5b3f-471b-9665-ebb9a8348925 2025-09-21 08:59:43,375 - DEBUG - Response Code: 404 2025-09-21 08:59:43,376 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-21 08:59:43,381 - DEBUG - Requesting: http://10.0.0.254:8082/domain/c41d3cc5-b86c-4895-a393-223ab88c8f4f 2025-09-21 08:59:43,436 - DEBUG - Requesting: http://10.0.0.254:8082/project/dbe459c6-a956-4917-a558-b4e58c84e612 2025-09-21 08:59:43,502 - INFO - Validated that VN ctest-vn-67599559 is not found in API Server 2025-09-21 08:59:43,510 - DEBUG - VN ctest-vn-67599559 is not present in Agent 10.0.0.254 2025-09-21 08:59:43,510 - INFO - Validated that VN ctest-vn-67599559 is not in any agent 2025-09-21 08:59:43,522 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-67599559 info 2025-09-21 08:59:43,522 - INFO - Deleting VN ctest-vn-96320207 2025-09-21 08:59:43,609 - DEBUG - Response for deleting network () 2025-09-21 08:59:43,609 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/33fea18c-182a-420f-a08a-2b26c7297086 2025-09-21 08:59:43,614 - DEBUG - Response Code: 404 2025-09-21 08:59:43,615 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-21 08:59:43,624 - DEBUG - Requesting: http://10.0.0.254:8082/domain/c41d3cc5-b86c-4895-a393-223ab88c8f4f 2025-09-21 08:59:43,677 - DEBUG - Requesting: http://10.0.0.254:8082/project/dbe459c6-a956-4917-a558-b4e58c84e612 2025-09-21 08:59:43,746 - INFO - Validated that VN ctest-vn-96320207 is not found in API Server 2025-09-21 08:59:43,756 - DEBUG - VN ctest-vn-96320207 is not present in Agent 10.0.0.254 2025-09-21 08:59:43,756 - INFO - Validated that VN ctest-vn-96320207 is not in any agent 2025-09-21 08:59:43,769 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-96320207 info 2025-09-21 08:59:44,022 - DEBUG - No XMPP flaps were noticed during the test 2025-09-21 08:59:44,022 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2025-09-21 08:59:44,022 - INFO - -------------------------------------------------------------------------------- 2025-09-21 08:59:44,665 - INFO - Deleted project: ctest-TestBasicPolicy-93407672, ID : dbe459c6-a956-4917-a558-b4e58c84e612