2025-12-11 16:54:05,250 - INFO - Domain Default found not creating 2025-12-11 16:54:05,430 - INFO - Project ctest-TestBasicPolicy-03611161 not found, creating it 2025-12-11 16:54:05,893 - INFO - Created Project:ctest-TestBasicPolicy-03611161, ID : bbb4c8fc-2cbf-4aac-adbc-9004326e28c0 2025-12-11 16:54:07,462 - INFO - ================================================================================ 2025-12-11 16:54:07,463 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-12-11 16:54:07,464 - 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-11 16:54:07,720 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2025-12-11 16:54:07,720 - INFO - Initial checks done. Running the testcase now 2025-12-11 16:54:07,720 - INFO - 2025-12-11 16:54:08,307 - DEBUG - Response for create_network : {'network': {'id': '454bea1d-229f-47c3-b8fa-3d3290c57223', 'name': 'ctest-vn-60630110', 'tenant_id': 'bbb4c8fc2cbf4aacadbc9004326e28c0', 'project_id': 'bbb4c8fc2cbf4aacadbc9004326e28c0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03611161', 'ctest-vn-60630110'], 'port_security_enabled': True, 'description': ''}} 2025-12-11 16:54:08,499 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd9046a7a-81bf-4ad2-921b-fb2cca0fc100', 'name': '', 'tenant_id': 'bbb4c8fc2cbf4aacadbc9004326e28c0', 'network_id': '454bea1d-229f-47c3-b8fa-3d3290c57223', 'ip_version': 4, 'cidr': '168.133.116.64/26', 'allocation_pools': [{'start': '168.133.116.66', 'end': '168.133.116.126'}], 'gateway_ip': '168.133.116.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.133.116.66', 'tags': [], 'project_id': 'bbb4c8fc2cbf4aacadbc9004326e28c0'}} 2025-12-11 16:54:08,518 - INFO - Created VN ctest-vn-60630110 2025-12-11 16:54:08,569 - DEBUG - VN ctest-vn-60630110 UUID is 454bea1d-229f-47c3-b8fa-3d3290c57223 2025-12-11 16:54:08,866 - DEBUG - Response for create_network : {'network': {'id': '543e44c9-3d11-438f-8c36-d493216392d3', 'name': 'ctest-vn-40481747', 'tenant_id': 'bbb4c8fc2cbf4aacadbc9004326e28c0', 'project_id': 'bbb4c8fc2cbf4aacadbc9004326e28c0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03611161', 'ctest-vn-40481747'], 'port_security_enabled': True, 'description': ''}} 2025-12-11 16:54:09,034 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f41a837d-2292-48ee-a7ef-420b74fa3873', 'name': '', 'tenant_id': 'bbb4c8fc2cbf4aacadbc9004326e28c0', 'network_id': '543e44c9-3d11-438f-8c36-d493216392d3', 'ip_version': 4, 'cidr': '198.159.188.192/26', 'allocation_pools': [{'start': '198.159.188.194', 'end': '198.159.188.254'}], 'gateway_ip': '198.159.188.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '198.159.188.194', 'tags': [], 'project_id': 'bbb4c8fc2cbf4aacadbc9004326e28c0'}} 2025-12-11 16:54:09,053 - INFO - Created VN ctest-vn-40481747 2025-12-11 16:54:09,105 - DEBUG - VN ctest-vn-40481747 UUID is 543e44c9-3d11-438f-8c36-d493216392d3 2025-12-11 16:54:09,265 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-03611161:ctest-vn-60630110, 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-03611161:ctest-vn-40481747, 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-11 16:54:09,564 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '454bea1d-229f-47c3-b8fa-3d3290c57223', 'name': 'ctest-vn-60630110', 'tenant_id': 'bbb4c8fc2cbf4aacadbc9004326e28c0', 'project_id': 'bbb4c8fc2cbf4aacadbc9004326e28c0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d9046a7a-81bf-4ad2-921b-fb2cca0fc100'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03611161', 'ctest-vn-60630110'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-03611161', 'ctest-policy-allow-all-57691768']], 'subnet_ipam': [{'subnet_cidr': '168.133.116.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-11 16:54:09,849 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '543e44c9-3d11-438f-8c36-d493216392d3', 'name': 'ctest-vn-40481747', 'tenant_id': 'bbb4c8fc2cbf4aacadbc9004326e28c0', 'project_id': 'bbb4c8fc2cbf4aacadbc9004326e28c0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f41a837d-2292-48ee-a7ef-420b74fa3873'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03611161', 'ctest-vn-40481747'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-03611161', 'ctest-policy-allow-all-57691768']], 'subnet_ipam': [{'subnet_cidr': '198.159.188.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-11 16:54:09,997 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-11 16:54:10,335 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-11 16:54:10,376 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c6d3a6f0-8fd6-4799-86ad-c859ce31cae4 2025-12-11 16:54:10,389 - DEBUG - Requesting: http://10.0.0.38:8082/project/bbb4c8fc-2cbf-4aac-adbc-9004326e28c0 2025-12-11 16:54:10,463 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/454bea1d-229f-47c3-b8fa-3d3290c57223 2025-12-11 16:54:10,476 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/454bea1d-229f-47c3-b8fa-3d3290c57223 2025-12-11 16:54:10,488 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/92a229b4-5b58-4048-8c42-253bc9bff358 2025-12-11 16:54:10,496 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/92a229b4-5b58-4048-8c42-253bc9bff358 2025-12-11 16:54:10,503 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/67c24cf6-7664-4c18-8c26-4e09bb4799e9 2025-12-11 16:54:10,511 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-11 16:54:10,511 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/454bea1d-229f-47c3-b8fa-3d3290c57223 2025-12-11 16:54:10,524 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/92a229b4-5b58-4048-8c42-253bc9bff358 2025-12-11 16:54:10,543 - INFO - Verified VN network id 11 for VN 454bea1d-229f-47c3-b8fa-3d3290c57223 2025-12-11 16:54:10,543 - INFO - Verifications in API Server for VN ctest-vn-60630110 passed 2025-12-11 16:54:10,543 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/454bea1d-229f-47c3-b8fa-3d3290c57223 2025-12-11 16:54:10,554 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/92a229b4-5b58-4048-8c42-253bc9bff358 2025-12-11 16:54:10,562 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/92a229b4-5b58-4048-8c42-253bc9bff358 2025-12-11 16:54:10,571 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/67c24cf6-7664-4c18-8c26-4e09bb4799e9 2025-12-11 16:54:10,584 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-03611161:ctest-vn-60630110', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-03611161', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4993342022726141891', 'uuid-lslong': '13329033334542922275'}, 'enable': 'true', 'created': '2025-12-11T16:54:08', 'last-modified': '2025-12-11T16:54:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.043559'} 2025-12-11 16:54:10,590 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-11 16:54:10,590 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-60630110 passed 2025-12-11 16:54:10,590 - DEBUG - ====Verifying policy data for ctest-vn-60630110 in API_Server ====== 2025-12-11 16:54:10,590 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-11 16:54:10,596 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c6d3a6f0-8fd6-4799-86ad-c859ce31cae4 2025-12-11 16:54:10,609 - DEBUG - Requesting: http://10.0.0.38:8082/project/bbb4c8fc-2cbf-4aac-adbc-9004326e28c0 2025-12-11 16:54:10,681 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/454bea1d-229f-47c3-b8fa-3d3290c57223 2025-12-11 16:54:10,691 - DEBUG - ==>Verifying data for policy with id: 1ac646a0-0e2a-4878-a0c0-d0b51f2f7557, fqn: ['default-domain', 'ctest-TestBasicPolicy-03611161', 'ctest-policy-allow-all-57691768'] 2025-12-11 16:54:10,691 - INFO - VN ctest-vn-60630110 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-11 16:54:10,691 - DEBUG - Verifying the vn in opserver 2025-12-11 16:54:10,691 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-03611161:ctest-vn-60630110 virtual network link through opserver 10.0.0.38 2025-12-11 16:54:10,692 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-12-11 16:54:11,001 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-12-11 16:54:11,068 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-03611161:ctest-vn-60630110', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-03611161:ctest-vn-60630110?flat'} 2025-12-11 16:54:11,068 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-03611161:ctest-vn-60630110 is found in opserver 2025-12-11 16:54:11,078 - DEBUG - Do not have enough data to verify VN in agent 2025-12-11 16:54:11,082 - DEBUG - VRF ids for VN ctest-vn-60630110: {} 2025-12-11 16:54:11,082 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-11 16:54:11,088 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c6d3a6f0-8fd6-4799-86ad-c859ce31cae4 2025-12-11 16:54:11,100 - DEBUG - Requesting: http://10.0.0.38:8082/project/bbb4c8fc-2cbf-4aac-adbc-9004326e28c0 2025-12-11 16:54:11,173 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/543e44c9-3d11-438f-8c36-d493216392d3 2025-12-11 16:54:11,185 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/543e44c9-3d11-438f-8c36-d493216392d3 2025-12-11 16:54:11,194 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/35054400-db6b-4191-ad6e-66e56a960792 2025-12-11 16:54:11,202 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/35054400-db6b-4191-ad6e-66e56a960792 2025-12-11 16:54:11,209 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b40aff93-de7d-4726-8b72-f54b76997baf 2025-12-11 16:54:11,216 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-11 16:54:11,216 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/543e44c9-3d11-438f-8c36-d493216392d3 2025-12-11 16:54:11,226 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/35054400-db6b-4191-ad6e-66e56a960792 2025-12-11 16:54:11,242 - INFO - Verified VN network id 12 for VN 543e44c9-3d11-438f-8c36-d493216392d3 2025-12-11 16:54:11,242 - INFO - Verifications in API Server for VN ctest-vn-40481747 passed 2025-12-11 16:54:11,242 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/543e44c9-3d11-438f-8c36-d493216392d3 2025-12-11 16:54:11,251 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/35054400-db6b-4191-ad6e-66e56a960792 2025-12-11 16:54:11,258 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/35054400-db6b-4191-ad6e-66e56a960792 2025-12-11 16:54:11,265 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b40aff93-de7d-4726-8b72-f54b76997baf 2025-12-11 16:54:11,283 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-03611161:ctest-vn-40481747', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-03611161', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6070364978845664143', 'uuid-lslong': '10103496542437741267'}, 'enable': 'true', 'created': '2025-12-11T16:54:08', 'last-modified': '2025-12-11T16:54:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.511671'} 2025-12-11 16:54:11,290 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-11 16:54:11,290 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-40481747 passed 2025-12-11 16:54:11,291 - DEBUG - ====Verifying policy data for ctest-vn-40481747 in API_Server ====== 2025-12-11 16:54:11,291 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-11 16:54:11,297 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c6d3a6f0-8fd6-4799-86ad-c859ce31cae4 2025-12-11 16:54:11,308 - DEBUG - Requesting: http://10.0.0.38:8082/project/bbb4c8fc-2cbf-4aac-adbc-9004326e28c0 2025-12-11 16:54:11,382 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/543e44c9-3d11-438f-8c36-d493216392d3 2025-12-11 16:54:11,393 - DEBUG - ==>Verifying data for policy with id: 1ac646a0-0e2a-4878-a0c0-d0b51f2f7557, fqn: ['default-domain', 'ctest-TestBasicPolicy-03611161', 'ctest-policy-allow-all-57691768'] 2025-12-11 16:54:11,393 - INFO - VN ctest-vn-40481747 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-11 16:54:11,393 - DEBUG - Verifying the vn in opserver 2025-12-11 16:54:11,393 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-03611161:ctest-vn-40481747 virtual network link through opserver 10.0.0.38 2025-12-11 16:54:11,393 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-12-11 16:54:11,404 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-03611161:ctest-vn-40481747', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-03611161:ctest-vn-40481747?flat'} 2025-12-11 16:54:11,404 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-03611161:ctest-vn-40481747 is found in opserver 2025-12-11 16:54:11,414 - DEBUG - Do not have enough data to verify VN in agent 2025-12-11 16:54:11,419 - DEBUG - VRF ids for VN ctest-vn-40481747: {} 2025-12-11 16:54:11,480 - DEBUG - Services list from nova: [, , ] 2025-12-11 16:54:12,561 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4886-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4886-1) 2025-12-11 16:54:13,745 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4886-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4886-1) 2025-12-11 16:54:13,745 - INFO - Waiting for VM ctest-TestBasicPolicy-03611161-36482417 to be up.. 2025-12-11 16:54:13,832 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-11 16:54:18,914 - DEBUG - VM is in ACTIVE state now 2025-12-11 16:54:18,914 - INFO - VM name : ctest-TestBasicPolicy-03611161-36482417 2025-12-11 16:54:18,994 - DEBUG - VM ctest-TestBasicPolicy-03611161-36482417 ID is e1240aef-20a4-45b6-b7c8-d1035d4e07d0 2025-12-11 16:54:19,018 - DEBUG - VM ctest-TestBasicPolicy-03611161-36482417 launched on Node cn-jenkins-deploy-platform-ansible-os-4886-1 2025-12-11 16:54:19,099 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/e1240aef-20a4-45b6-b7c8-d1035d4e07d0 2025-12-11 16:54:19,109 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/3dd9f912-8091-4f41-b8ab-5abcc231ec3d 2025-12-11 16:54:22,367 - 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 1002ms') 2025-12-11 16:54:22,367 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-03611161-36482417 failed! 2025-12-11 16:54:22,421 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-03611161:ctest-vn-60630110 is 168.133.116.65 and allocation pool is NOT set 2025-12-11 16:54:24,493 - 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=8.98 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.21 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.207/5.594/8.981/3.387 ms') 2025-12-11 16:54:24,493 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-03611161-36482417 passed 2025-12-11 16:54:24,642 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-11 16:54:24,642 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-03611161-36482417, IP 168.133.116.67, Port 22 2025-12-11 16:54:24,708 - 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-11 16:54:24,791 - DEBUG - VM ctest-TestBasicPolicy-03611161-36482417 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-11 16:54:29,792 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-11 16:54:29,792 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-03611161-36482417, IP 168.133.116.67, Port 22 2025-12-11 16:54:29,950 - DEBUG - VM ctest-TestBasicPolicy-03611161-36482417 is ready for SSH connections 2025-12-11 16:54:29,950 - INFO - Waiting for VM ctest-TestBasicPolicy-03611161-53393089 to be up.. 2025-12-11 16:54:30,048 - DEBUG - VM is in ACTIVE state now 2025-12-11 16:54:30,048 - INFO - VM name : ctest-TestBasicPolicy-03611161-53393089 2025-12-11 16:54:30,134 - DEBUG - VM ctest-TestBasicPolicy-03611161-53393089 ID is 189d46d6-1509-4771-97e0-3f6b06165474 2025-12-11 16:54:30,134 - DEBUG - VM ctest-TestBasicPolicy-03611161-53393089 launched on Node cn-jenkins-deploy-platform-ansible-os-4886-1 2025-12-11 16:54:30,220 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/189d46d6-1509-4771-97e0-3f6b06165474 2025-12-11 16:54:30,230 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/4d12fa5b-66d5-416f-8e82-cacc4c1f404e 2025-12-11 16:54:31,470 - 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.17 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.461 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.461/1.814/3.167/1.353 ms') 2025-12-11 16:54:31,470 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-03611161-53393089 passed 2025-12-11 16:54:31,622 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-11 16:54:31,622 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-03611161-53393089, IP 198.159.188.195, Port 22 2025-12-11 16:54:31,777 - DEBUG - VM ctest-TestBasicPolicy-03611161-53393089 is ready for SSH connections 2025-12-11 16:54:31,777 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-11 16:54:31,777 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 198.159.188.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-11 16:54:31,777 - DEBUG - ping -s 56 -c 3 -W 1 198.159.188.195 2025-12-11 16:54:35,870 - DEBUG - PING 198.159.188.195 (198.159.188.195): 56 data bytes 64 bytes from 198.159.188.195: seq=0 ttl=63 time=3.476 ms 64 bytes from 198.159.188.195: seq=1 ttl=63 time=0.987 ms 64 bytes from 198.159.188.195: seq=2 ttl=63 time=0.942 ms --- 198.159.188.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.942/1.801/3.476 ms 2025-12-11 16:54:35,871 - INFO - Ping to IP 198.159.188.195 from VM ctest-TestBasicPolicy-03611161-36482417 passed 2025-12-11 16:54:36,057 - DEBUG - Policy Update Response {"network-policy": {"uuid": "1ac646a0-0e2a-4878-a0c0-d0b51f2f7557", "href": "http://10.0.0.38:8082/network-policy/1ac646a0-0e2a-4878-a0c0-d0b51f2f7557"}} 2025-12-11 16:54:36,057 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-11 16:54:36,057 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 198.159.188.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-11 16:54:36,058 - DEBUG - ping -s 56 -c 3 -W 1 198.159.188.195 2025-12-11 16:54:39,309 - DEBUG - PING 198.159.188.195 (198.159.188.195): 56 data bytes --- 198.159.188.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-11 16:54:39,309 - WARNING - Ping to IP 198.159.188.195 from VM ctest-TestBasicPolicy-03611161-36482417 failed 2025-12-11 16:54:39,309 - INFO - Deleting VM ctest-TestBasicPolicy-03611161-53393089 2025-12-11 16:54:39,392 - INFO - Deleting VM ctest-TestBasicPolicy-03611161-36482417 2025-12-11 16:54:39,790 - INFO - Deleted policy ctest-policy-allow-all-57691768 2025-12-11 16:54:39,790 - INFO - Deleting VN ctest-vn-40481747 2025-12-11 16:54:39,826 - DEBUG - VN 543e44c9-3d11-438f-8c36-d493216392d3 still in use: Unable to complete operation on network 543e44c9-3d11-438f-8c36-d493216392d3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-96af7120-6deb-49cf-a18a-07353d9cf6c4'] 2025-12-11 16:54:39,826 - WARNING - Deleting VN ctest-vn-40481747 failed..Will retry 2025-12-11 16:54:41,938 - DEBUG - Response for deleting network () 2025-12-11 16:54:41,938 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/35054400-db6b-4191-ad6e-66e56a960792 2025-12-11 16:54:41,947 - DEBUG - Response Code: 404 2025-12-11 16:54:41,947 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-11 16:54:41,953 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c6d3a6f0-8fd6-4799-86ad-c859ce31cae4 2025-12-11 16:54:42,009 - DEBUG - Requesting: http://10.0.0.38:8082/project/bbb4c8fc-2cbf-4aac-adbc-9004326e28c0 2025-12-11 16:54:42,086 - INFO - Validated that VN ctest-vn-40481747 is not found in API Server 2025-12-11 16:54:42,096 - DEBUG - VN ctest-vn-40481747 is not present in Agent 10.0.0.38 2025-12-11 16:54:42,096 - INFO - Validated that VN ctest-vn-40481747 is not in any agent 2025-12-11 16:54:42,110 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-40481747 info 2025-12-11 16:54:42,110 - INFO - Deleting VN ctest-vn-60630110 2025-12-11 16:54:42,211 - DEBUG - Response for deleting network () 2025-12-11 16:54:42,211 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/92a229b4-5b58-4048-8c42-253bc9bff358 2025-12-11 16:54:42,219 - DEBUG - Response Code: 404 2025-12-11 16:54:42,219 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-11 16:54:42,225 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c6d3a6f0-8fd6-4799-86ad-c859ce31cae4 2025-12-11 16:54:42,279 - DEBUG - Requesting: http://10.0.0.38:8082/project/bbb4c8fc-2cbf-4aac-adbc-9004326e28c0 2025-12-11 16:54:42,355 - INFO - Validated that VN ctest-vn-60630110 is not found in API Server 2025-12-11 16:54:42,366 - DEBUG - VN ctest-vn-60630110 is not present in Agent 10.0.0.38 2025-12-11 16:54:42,366 - INFO - Validated that VN ctest-vn-60630110 is not in any agent 2025-12-11 16:54:42,382 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-60630110 info 2025-12-11 16:54:42,650 - DEBUG - No XMPP flaps were noticed during the test 2025-12-11 16:54:42,650 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2025-12-11 16:54:42,651 - INFO - -------------------------------------------------------------------------------- 2025-12-11 16:54:43,360 - INFO - Deleted project: ctest-TestBasicPolicy-03611161, ID : bbb4c8fc-2cbf-4aac-adbc-9004326e28c0