2025-09-01 15:09:12,275 - INFO - Domain Default found not creating 2025-09-01 15:09:12,414 - INFO - Project ctest-TestBasicPolicy-72054184 not found, creating it 2025-09-01 15:09:12,883 - INFO - Created Project:ctest-TestBasicPolicy-72054184, ID : 2151c657-595f-4cc4-972b-a6dbc5bca603 2025-09-01 15:09:14,399 - INFO - ================================================================================ 2025-09-01 15:09:14,399 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-01 15:09:14,400 - 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-01 15:09:14,659 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-01 15:09:14,659 - INFO - Initial checks done. Running the testcase now 2025-09-01 15:09:14,659 - INFO - 2025-09-01 15:09:15,230 - DEBUG - Response for create_network : {'network': {'id': '05220b0c-921d-40db-ab7f-79a9543f0e1d', 'name': 'ctest-vn-06866620', 'tenant_id': '2151c657595f4cc4972ba6dbc5bca603', 'project_id': '2151c657595f4cc4972ba6dbc5bca603', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72054184', 'ctest-vn-06866620'], 'port_security_enabled': True, 'description': ''}} 2025-09-01 15:09:15,447 - DEBUG - Response for create_subnet : {'subnet': {'id': '0d1c443b-fba9-408c-90c4-b42b493006ee', 'name': '', 'tenant_id': '2151c657595f4cc4972ba6dbc5bca603', 'network_id': '05220b0c-921d-40db-ab7f-79a9543f0e1d', 'ip_version': 4, 'cidr': '33.157.245.64/26', 'allocation_pools': [{'start': '33.157.245.66', 'end': '33.157.245.126'}], 'gateway_ip': '33.157.245.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '33.157.245.66', 'tags': [], 'project_id': '2151c657595f4cc4972ba6dbc5bca603'}} 2025-09-01 15:09:15,465 - INFO - Created VN ctest-vn-06866620 2025-09-01 15:09:15,516 - DEBUG - VN ctest-vn-06866620 UUID is 05220b0c-921d-40db-ab7f-79a9543f0e1d 2025-09-01 15:09:15,836 - DEBUG - Response for create_network : {'network': {'id': 'edc4a5e5-fc2b-43c0-9fa3-10c65ad5dbce', 'name': 'ctest-vn-77248223', 'tenant_id': '2151c657595f4cc4972ba6dbc5bca603', 'project_id': '2151c657595f4cc4972ba6dbc5bca603', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72054184', 'ctest-vn-77248223'], 'port_security_enabled': True, 'description': ''}} 2025-09-01 15:09:16,017 - DEBUG - Response for create_subnet : {'subnet': {'id': '242b5338-6ac3-40c0-8545-b8a9dd497155', 'name': '', 'tenant_id': '2151c657595f4cc4972ba6dbc5bca603', 'network_id': 'edc4a5e5-fc2b-43c0-9fa3-10c65ad5dbce', 'ip_version': 4, 'cidr': '7.208.2.192/26', 'allocation_pools': [{'start': '7.208.2.194', 'end': '7.208.2.254'}], 'gateway_ip': '7.208.2.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '7.208.2.194', 'tags': [], 'project_id': '2151c657595f4cc4972ba6dbc5bca603'}} 2025-09-01 15:09:16,035 - INFO - Created VN ctest-vn-77248223 2025-09-01 15:09:16,088 - DEBUG - VN ctest-vn-77248223 UUID is edc4a5e5-fc2b-43c0-9fa3-10c65ad5dbce 2025-09-01 15:09:16,236 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-72054184:ctest-vn-06866620, 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-72054184:ctest-vn-77248223, 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-01 15:09:16,533 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '05220b0c-921d-40db-ab7f-79a9543f0e1d', 'name': 'ctest-vn-06866620', 'tenant_id': '2151c657595f4cc4972ba6dbc5bca603', 'project_id': '2151c657595f4cc4972ba6dbc5bca603', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0d1c443b-fba9-408c-90c4-b42b493006ee'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72054184', 'ctest-vn-06866620'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-72054184', 'ctest-policy-allow-all-03631529']], 'subnet_ipam': [{'subnet_cidr': '33.157.245.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-01 15:09:16,898 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'edc4a5e5-fc2b-43c0-9fa3-10c65ad5dbce', 'name': 'ctest-vn-77248223', 'tenant_id': '2151c657595f4cc4972ba6dbc5bca603', 'project_id': '2151c657595f4cc4972ba6dbc5bca603', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['242b5338-6ac3-40c0-8545-b8a9dd497155'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72054184', 'ctest-vn-77248223'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-72054184', 'ctest-policy-allow-all-03631529']], 'subnet_ipam': [{'subnet_cidr': '7.208.2.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-01 15:09:17,040 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-01 15:09:17,416 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-01 15:09:17,449 - DEBUG - Requesting: http://10.0.0.254:8082/domain/78463fc5-d58e-4981-b96e-f0db1956b3d8 2025-09-01 15:09:17,460 - DEBUG - Requesting: http://10.0.0.254:8082/project/2151c657-595f-4cc4-972b-a6dbc5bca603 2025-09-01 15:09:17,534 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/05220b0c-921d-40db-ab7f-79a9543f0e1d 2025-09-01 15:09:17,543 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/05220b0c-921d-40db-ab7f-79a9543f0e1d 2025-09-01 15:09:17,551 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/252e9910-bb44-4c53-ba17-f3cc6a61d8af 2025-09-01 15:09:17,557 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/252e9910-bb44-4c53-ba17-f3cc6a61d8af 2025-09-01 15:09:17,563 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/fddac92a-13cc-4fde-891a-95a694b6b525 2025-09-01 15:09:17,568 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-01 15:09:17,568 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/05220b0c-921d-40db-ab7f-79a9543f0e1d 2025-09-01 15:09:17,576 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/252e9910-bb44-4c53-ba17-f3cc6a61d8af 2025-09-01 15:09:17,589 - INFO - Verified VN network id 12 for VN 05220b0c-921d-40db-ab7f-79a9543f0e1d 2025-09-01 15:09:17,589 - INFO - Verifications in API Server for VN ctest-vn-06866620 passed 2025-09-01 15:09:17,589 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/05220b0c-921d-40db-ab7f-79a9543f0e1d 2025-09-01 15:09:17,597 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/252e9910-bb44-4c53-ba17-f3cc6a61d8af 2025-09-01 15:09:17,603 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/252e9910-bb44-4c53-ba17-f3cc6a61d8af 2025-09-01 15:09:17,609 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/fddac92a-13cc-4fde-891a-95a694b6b525 2025-09-01 15:09:17,620 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-72054184:ctest-vn-06866620', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-72054184', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '369870268016705755', 'uuid-lslong': '12357729670697782813'}, 'enable': 'true', 'created': '2025-09-01T15:09:15', 'last-modified': '2025-09-01T15:09:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.114391'} 2025-09-01 15:09:17,625 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-01 15:09:17,625 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-06866620 passed 2025-09-01 15:09:17,625 - DEBUG - ====Verifying policy data for ctest-vn-06866620 in API_Server ====== 2025-09-01 15:09:17,625 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-01 15:09:17,630 - DEBUG - Requesting: http://10.0.0.254:8082/domain/78463fc5-d58e-4981-b96e-f0db1956b3d8 2025-09-01 15:09:17,640 - DEBUG - Requesting: http://10.0.0.254:8082/project/2151c657-595f-4cc4-972b-a6dbc5bca603 2025-09-01 15:09:17,706 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/05220b0c-921d-40db-ab7f-79a9543f0e1d 2025-09-01 15:09:17,716 - DEBUG - ==>Verifying data for policy with id: 185d3b70-54f7-48ae-8055-27f30f73f3d0, fqn: ['default-domain', 'ctest-TestBasicPolicy-72054184', 'ctest-policy-allow-all-03631529'] 2025-09-01 15:09:17,716 - INFO - VN ctest-vn-06866620 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-01 15:09:17,716 - DEBUG - Verifying the vn in opserver 2025-09-01 15:09:17,716 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-72054184:ctest-vn-06866620 virtual network link through opserver 10.0.0.254 2025-09-01 15:09:17,716 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-01 15:09:18,046 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-01 15:09:18,100 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-72054184:ctest-vn-06866620', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-72054184:ctest-vn-06866620?flat'} 2025-09-01 15:09:18,100 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-72054184:ctest-vn-06866620 is found in opserver 2025-09-01 15:09:18,109 - DEBUG - Do not have enough data to verify VN in agent 2025-09-01 15:09:18,113 - DEBUG - VRF ids for VN ctest-vn-06866620: {} 2025-09-01 15:09:18,113 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-01 15:09:18,118 - DEBUG - Requesting: http://10.0.0.254:8082/domain/78463fc5-d58e-4981-b96e-f0db1956b3d8 2025-09-01 15:09:18,128 - DEBUG - Requesting: http://10.0.0.254:8082/project/2151c657-595f-4cc4-972b-a6dbc5bca603 2025-09-01 15:09:18,196 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/edc4a5e5-fc2b-43c0-9fa3-10c65ad5dbce 2025-09-01 15:09:18,208 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/edc4a5e5-fc2b-43c0-9fa3-10c65ad5dbce 2025-09-01 15:09:18,216 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/49f975d3-b57b-4705-9ad3-73c0f1f15b30 2025-09-01 15:09:18,221 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/49f975d3-b57b-4705-9ad3-73c0f1f15b30 2025-09-01 15:09:18,227 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/126c4b75-fa20-41ff-af54-50246b70bb8c 2025-09-01 15:09:18,233 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-01 15:09:18,233 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/edc4a5e5-fc2b-43c0-9fa3-10c65ad5dbce 2025-09-01 15:09:18,240 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/49f975d3-b57b-4705-9ad3-73c0f1f15b30 2025-09-01 15:09:18,252 - INFO - Verified VN network id 13 for VN edc4a5e5-fc2b-43c0-9fa3-10c65ad5dbce 2025-09-01 15:09:18,252 - INFO - Verifications in API Server for VN ctest-vn-77248223 passed 2025-09-01 15:09:18,252 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/edc4a5e5-fc2b-43c0-9fa3-10c65ad5dbce 2025-09-01 15:09:18,259 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/49f975d3-b57b-4705-9ad3-73c0f1f15b30 2025-09-01 15:09:18,265 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/49f975d3-b57b-4705-9ad3-73c0f1f15b30 2025-09-01 15:09:18,270 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/126c4b75-fa20-41ff-af54-50246b70bb8c 2025-09-01 15:09:18,280 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-72054184:ctest-vn-77248223', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-72054184', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17133001289620997056', 'uuid-lslong': '11503056317347912654'}, 'enable': 'true', 'created': '2025-09-01T15:09:15', 'last-modified': '2025-09-01T15:09:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.439601'} 2025-09-01 15:09:18,285 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-01 15:09:18,285 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-77248223 passed 2025-09-01 15:09:18,285 - DEBUG - ====Verifying policy data for ctest-vn-77248223 in API_Server ====== 2025-09-01 15:09:18,285 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-01 15:09:18,290 - DEBUG - Requesting: http://10.0.0.254:8082/domain/78463fc5-d58e-4981-b96e-f0db1956b3d8 2025-09-01 15:09:18,299 - DEBUG - Requesting: http://10.0.0.254:8082/project/2151c657-595f-4cc4-972b-a6dbc5bca603 2025-09-01 15:09:18,367 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/edc4a5e5-fc2b-43c0-9fa3-10c65ad5dbce 2025-09-01 15:09:18,376 - DEBUG - ==>Verifying data for policy with id: 185d3b70-54f7-48ae-8055-27f30f73f3d0, fqn: ['default-domain', 'ctest-TestBasicPolicy-72054184', 'ctest-policy-allow-all-03631529'] 2025-09-01 15:09:18,376 - INFO - VN ctest-vn-77248223 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-01 15:09:18,376 - DEBUG - Verifying the vn in opserver 2025-09-01 15:09:18,376 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-72054184:ctest-vn-77248223 virtual network link through opserver 10.0.0.254 2025-09-01 15:09:18,376 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-01 15:09:18,385 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-72054184:ctest-vn-77248223', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-72054184:ctest-vn-77248223?flat'} 2025-09-01 15:09:18,385 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-72054184:ctest-vn-77248223 is found in opserver 2025-09-01 15:09:18,394 - DEBUG - Do not have enough data to verify VN in agent 2025-09-01 15:09:18,398 - DEBUG - VRF ids for VN ctest-vn-77248223: {} 2025-09-01 15:09:18,450 - DEBUG - Services list from nova: [, , ] 2025-09-01 15:09:19,523 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3997-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3997-1) 2025-09-01 15:09:20,733 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3997-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3997-1) 2025-09-01 15:09:20,733 - INFO - Waiting for VM ctest-TestBasicPolicy-72054184-08150969 to be up.. 2025-09-01 15:09:20,809 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-01 15:09:25,879 - DEBUG - VM is in ACTIVE state now 2025-09-01 15:09:25,879 - INFO - VM name : ctest-TestBasicPolicy-72054184-08150969 2025-09-01 15:09:25,953 - DEBUG - VM ctest-TestBasicPolicy-72054184-08150969 ID is 5f908454-05d1-47de-bf08-1f00dfc5ca9e 2025-09-01 15:09:25,972 - DEBUG - VM ctest-TestBasicPolicy-72054184-08150969 launched on Node cn-jenkins-deploy-platform-ansible-os-3997-1 2025-09-01 15:09:26,042 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/5f908454-05d1-47de-bf08-1f00dfc5ca9e 2025-09-01 15:09:26,050 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/d3f57fb4-c402-4b98-95d0-4fd513223d88 2025-09-01 15:09:29,287 - 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 1011ms') 2025-09-01 15:09:29,287 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-72054184-08150969 failed! 2025-09-01 15:09:29,344 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-72054184:ctest-vn-06866620 is 33.157.245.65 and allocation pool is NOT set 2025-09-01 15:09:31,408 - 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.29 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.39 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.392/5.340/9.288/3.948 ms') 2025-09-01 15:09:31,408 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-72054184-08150969 passed 2025-09-01 15:09:31,556 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-01 15:09:31,556 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-72054184-08150969, IP 33.157.245.67, Port 22 2025-09-01 15:09:31,622 - 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-01 15:09:31,723 - DEBUG - VM ctest-TestBasicPolicy-72054184-08150969 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-01 15:09:36,724 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-01 15:09:36,724 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-72054184-08150969, IP 33.157.245.67, Port 22 2025-09-01 15:09:36,879 - DEBUG - VM ctest-TestBasicPolicy-72054184-08150969 is ready for SSH connections 2025-09-01 15:09:36,879 - INFO - Waiting for VM ctest-TestBasicPolicy-72054184-41598854 to be up.. 2025-09-01 15:09:36,953 - DEBUG - VM is in ACTIVE state now 2025-09-01 15:09:36,953 - INFO - VM name : ctest-TestBasicPolicy-72054184-41598854 2025-09-01 15:09:37,022 - DEBUG - VM ctest-TestBasicPolicy-72054184-41598854 ID is a8686104-f72c-466f-ad82-e77266b99a98 2025-09-01 15:09:37,022 - DEBUG - VM ctest-TestBasicPolicy-72054184-41598854 launched on Node cn-jenkins-deploy-platform-ansible-os-3997-1 2025-09-01 15:09:37,088 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/a8686104-f72c-466f-ad82-e77266b99a98 2025-09-01 15:09:37,096 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/eaf9994e-827f-4e01-8a03-727e05841b64 2025-09-01 15:09:38,342 - 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.92 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.370 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.370/1.643/2.917/1.273 ms') 2025-09-01 15:09:38,343 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-72054184-41598854 passed 2025-09-01 15:09:38,492 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-01 15:09:38,492 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-72054184-41598854, IP 7.208.2.195, Port 22 2025-09-01 15:09:38,651 - DEBUG - VM ctest-TestBasicPolicy-72054184-41598854 is ready for SSH connections 2025-09-01 15:09:38,651 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-01 15:09:38,651 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 7.208.2.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-01 15:09:38,652 - DEBUG - ping -s 56 -c 3 -W 1 7.208.2.195 2025-09-01 15:09:42,774 - DEBUG - PING 7.208.2.195 (7.208.2.195): 56 data bytes 64 bytes from 7.208.2.195: seq=0 ttl=63 time=3.580 ms 64 bytes from 7.208.2.195: seq=1 ttl=63 time=0.892 ms 64 bytes from 7.208.2.195: seq=2 ttl=63 time=0.877 ms --- 7.208.2.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.877/1.783/3.580 ms 2025-09-01 15:09:42,774 - INFO - Ping to IP 7.208.2.195 from VM ctest-TestBasicPolicy-72054184-08150969 passed 2025-09-01 15:09:42,956 - DEBUG - Policy Update Response {"network-policy": {"uuid": "185d3b70-54f7-48ae-8055-27f30f73f3d0", "href": "http://10.0.0.254:8082/network-policy/185d3b70-54f7-48ae-8055-27f30f73f3d0"}} 2025-09-01 15:09:42,956 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-01 15:09:42,956 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 7.208.2.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-01 15:09:42,956 - DEBUG - ping -s 56 -c 3 -W 1 7.208.2.195 2025-09-01 15:09:46,200 - DEBUG - PING 7.208.2.195 (7.208.2.195): 56 data bytes --- 7.208.2.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-01 15:09:46,200 - WARNING - Ping to IP 7.208.2.195 from VM ctest-TestBasicPolicy-72054184-08150969 failed 2025-09-01 15:09:46,200 - INFO - Deleting VM ctest-TestBasicPolicy-72054184-41598854 2025-09-01 15:09:46,278 - INFO - Deleting VM ctest-TestBasicPolicy-72054184-08150969 2025-09-01 15:09:46,652 - INFO - Deleted policy ctest-policy-allow-all-03631529 2025-09-01 15:09:46,652 - INFO - Deleting VN ctest-vn-77248223 2025-09-01 15:09:46,692 - DEBUG - VN edc4a5e5-fc2b-43c0-9fa3-10c65ad5dbce still in use: Unable to complete operation on network edc4a5e5-fc2b-43c0-9fa3-10c65ad5dbce. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-66a622c9-3d55-4e1b-a0e8-c81983a9695a'] 2025-09-01 15:09:46,692 - WARNING - Deleting VN ctest-vn-77248223 failed..Will retry 2025-09-01 15:09:48,790 - DEBUG - Response for deleting network () 2025-09-01 15:09:48,790 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/49f975d3-b57b-4705-9ad3-73c0f1f15b30 2025-09-01 15:09:48,795 - DEBUG - Response Code: 404 2025-09-01 15:09:48,795 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-01 15:09:48,800 - DEBUG - Requesting: http://10.0.0.254:8082/domain/78463fc5-d58e-4981-b96e-f0db1956b3d8 2025-09-01 15:09:48,853 - DEBUG - Requesting: http://10.0.0.254:8082/project/2151c657-595f-4cc4-972b-a6dbc5bca603 2025-09-01 15:09:48,922 - INFO - Validated that VN ctest-vn-77248223 is not found in API Server 2025-09-01 15:09:48,932 - DEBUG - VN ctest-vn-77248223 is not present in Agent 10.0.0.254 2025-09-01 15:09:48,932 - INFO - Validated that VN ctest-vn-77248223 is not in any agent 2025-09-01 15:09:48,945 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-77248223 info 2025-09-01 15:09:48,945 - INFO - Deleting VN ctest-vn-06866620 2025-09-01 15:09:49,044 - DEBUG - Response for deleting network () 2025-09-01 15:09:49,044 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/252e9910-bb44-4c53-ba17-f3cc6a61d8af 2025-09-01 15:09:49,049 - DEBUG - Response Code: 404 2025-09-01 15:09:49,049 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-01 15:09:49,054 - DEBUG - Requesting: http://10.0.0.254:8082/domain/78463fc5-d58e-4981-b96e-f0db1956b3d8 2025-09-01 15:09:49,108 - DEBUG - Requesting: http://10.0.0.254:8082/project/2151c657-595f-4cc4-972b-a6dbc5bca603 2025-09-01 15:09:49,178 - INFO - Validated that VN ctest-vn-06866620 is not found in API Server 2025-09-01 15:09:49,187 - DEBUG - VN ctest-vn-06866620 is not present in Agent 10.0.0.254 2025-09-01 15:09:49,187 - INFO - Validated that VN ctest-vn-06866620 is not in any agent 2025-09-01 15:09:49,199 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-06866620 info 2025-09-01 15:09:49,463 - DEBUG - No XMPP flaps were noticed during the test 2025-09-01 15:09:49,463 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2025-09-01 15:09:49,463 - INFO - -------------------------------------------------------------------------------- 2025-09-01 15:09:50,165 - INFO - Deleted project: ctest-TestBasicPolicy-72054184, ID : 2151c657-595f-4cc4-972b-a6dbc5bca603