2025-09-19 21:32:26,903 - INFO - Domain Default found not creating 2025-09-19 21:32:27,032 - INFO - Project ctest-TestBasicPolicy-04642084 not found, creating it 2025-09-19 21:32:27,458 - INFO - Created Project:ctest-TestBasicPolicy-04642084, ID : cb40a55d-d968-4eed-baa8-2eca533ff410 2025-09-19 21:32:28,791 - INFO - ================================================================================ 2025-09-19 21:32:28,791 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-19 21:32:28,791 - 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-19 21:32:29,043 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-09-19 21:32:29,043 - INFO - Initial checks done. Running the testcase now 2025-09-19 21:32:29,043 - INFO - 2025-09-19 21:32:29,557 - DEBUG - Response for create_network : {'network': {'id': '06344b48-9edc-4032-900e-c314d6fac118', 'name': 'ctest-vn-31806920', 'tenant_id': 'cb40a55dd9684eedbaa82eca533ff410', 'project_id': 'cb40a55dd9684eedbaa82eca533ff410', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04642084', 'ctest-vn-31806920'], 'port_security_enabled': True, 'description': ''}} 2025-09-19 21:32:29,733 - DEBUG - Response for create_subnet : {'subnet': {'id': '446de9a7-a32e-4570-b30e-4ea3fa636c05', 'name': '', 'tenant_id': 'cb40a55dd9684eedbaa82eca533ff410', 'network_id': '06344b48-9edc-4032-900e-c314d6fac118', 'ip_version': 4, 'cidr': '90.44.65.0/26', 'allocation_pools': [{'start': '90.44.65.2', 'end': '90.44.65.62'}], 'gateway_ip': '90.44.65.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.44.65.2', 'tags': [], 'project_id': 'cb40a55dd9684eedbaa82eca533ff410'}} 2025-09-19 21:32:29,748 - INFO - Created VN ctest-vn-31806920 2025-09-19 21:32:29,798 - DEBUG - VN ctest-vn-31806920 UUID is 06344b48-9edc-4032-900e-c314d6fac118 2025-09-19 21:32:30,090 - DEBUG - Response for create_network : {'network': {'id': '71327f05-2b02-40a5-bea2-83eea2ffa8d3', 'name': 'ctest-vn-82391186', 'tenant_id': 'cb40a55dd9684eedbaa82eca533ff410', 'project_id': 'cb40a55dd9684eedbaa82eca533ff410', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04642084', 'ctest-vn-82391186'], 'port_security_enabled': True, 'description': ''}} 2025-09-19 21:32:30,244 - DEBUG - Response for create_subnet : {'subnet': {'id': '37793d0a-0a03-4e34-bf64-4159c0c0f830', 'name': '', 'tenant_id': 'cb40a55dd9684eedbaa82eca533ff410', 'network_id': '71327f05-2b02-40a5-bea2-83eea2ffa8d3', 'ip_version': 4, 'cidr': '198.91.122.192/26', 'allocation_pools': [{'start': '198.91.122.194', 'end': '198.91.122.254'}], 'gateway_ip': '198.91.122.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '198.91.122.194', 'tags': [], 'project_id': 'cb40a55dd9684eedbaa82eca533ff410'}} 2025-09-19 21:32:30,259 - INFO - Created VN ctest-vn-82391186 2025-09-19 21:32:30,310 - DEBUG - VN ctest-vn-82391186 UUID is 71327f05-2b02-40a5-bea2-83eea2ffa8d3 2025-09-19 21:32:30,454 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-04642084:ctest-vn-31806920, 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-04642084:ctest-vn-82391186, 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-19 21:32:30,735 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '06344b48-9edc-4032-900e-c314d6fac118', 'name': 'ctest-vn-31806920', 'tenant_id': 'cb40a55dd9684eedbaa82eca533ff410', 'project_id': 'cb40a55dd9684eedbaa82eca533ff410', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['446de9a7-a32e-4570-b30e-4ea3fa636c05'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04642084', 'ctest-vn-31806920'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-04642084', 'ctest-policy-allow-all-17327270']], 'subnet_ipam': [{'subnet_cidr': '90.44.65.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-19 21:32:30,955 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '71327f05-2b02-40a5-bea2-83eea2ffa8d3', 'name': 'ctest-vn-82391186', 'tenant_id': 'cb40a55dd9684eedbaa82eca533ff410', 'project_id': 'cb40a55dd9684eedbaa82eca533ff410', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['37793d0a-0a03-4e34-bf64-4159c0c0f830'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04642084', 'ctest-vn-82391186'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-04642084', 'ctest-policy-allow-all-17327270']], 'subnet_ipam': [{'subnet_cidr': '198.91.122.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-19 21:32:31,110 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-19 21:32:31,400 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-19 21:32:31,423 - DEBUG - Requesting: http://10.0.0.38:8082/domain/48bdc502-fd46-470b-813a-db247fce7b6e 2025-09-19 21:32:31,434 - DEBUG - Requesting: http://10.0.0.38:8082/project/cb40a55d-d968-4eed-baa8-2eca533ff410 2025-09-19 21:32:31,504 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/06344b48-9edc-4032-900e-c314d6fac118 2025-09-19 21:32:31,515 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/06344b48-9edc-4032-900e-c314d6fac118 2025-09-19 21:32:31,526 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7997afac-98ec-489c-b83e-98dc537f336e 2025-09-19 21:32:31,533 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7997afac-98ec-489c-b83e-98dc537f336e 2025-09-19 21:32:31,539 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/699da5e7-8fb4-4452-80dd-34ad4ad2bdf9 2025-09-19 21:32:31,543 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-19 21:32:31,544 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/06344b48-9edc-4032-900e-c314d6fac118 2025-09-19 21:32:31,550 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7997afac-98ec-489c-b83e-98dc537f336e 2025-09-19 21:32:31,561 - INFO - Verified VN network id 12 for VN 06344b48-9edc-4032-900e-c314d6fac118 2025-09-19 21:32:31,561 - INFO - Verifications in API Server for VN ctest-vn-31806920 passed 2025-09-19 21:32:31,561 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/06344b48-9edc-4032-900e-c314d6fac118 2025-09-19 21:32:31,567 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7997afac-98ec-489c-b83e-98dc537f336e 2025-09-19 21:32:31,572 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7997afac-98ec-489c-b83e-98dc537f336e 2025-09-19 21:32:31,577 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/699da5e7-8fb4-4452-80dd-34ad4ad2bdf9 2025-09-19 21:32:31,586 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-04642084:ctest-vn-31806920', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-04642084', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '447065038291484722', 'uuid-lslong': '10380448685409091864'}, 'enable': 'true', 'created': '2025-09-19T21:32:29', 'last-modified': '2025-09-19T21:32:30', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.867277'} 2025-09-19 21:32:31,591 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-19 21:32:31,591 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-31806920 passed 2025-09-19 21:32:31,591 - DEBUG - ====Verifying policy data for ctest-vn-31806920 in API_Server ====== 2025-09-19 21:32:31,591 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-19 21:32:31,596 - DEBUG - Requesting: http://10.0.0.38:8082/domain/48bdc502-fd46-470b-813a-db247fce7b6e 2025-09-19 21:32:31,606 - DEBUG - Requesting: http://10.0.0.38:8082/project/cb40a55d-d968-4eed-baa8-2eca533ff410 2025-09-19 21:32:31,680 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/06344b48-9edc-4032-900e-c314d6fac118 2025-09-19 21:32:31,688 - DEBUG - ==>Verifying data for policy with id: 8bd49fc0-85e0-4bdf-83f7-7dfcc1475dea, fqn: ['default-domain', 'ctest-TestBasicPolicy-04642084', 'ctest-policy-allow-all-17327270'] 2025-09-19 21:32:31,688 - INFO - VN ctest-vn-31806920 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-19 21:32:31,688 - DEBUG - Verifying the vn in opserver 2025-09-19 21:32:31,688 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-04642084:ctest-vn-31806920 virtual network link through opserver 10.0.0.38 2025-09-19 21:32:31,688 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-09-19 21:32:31,977 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-09-19 21:32:32,029 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-04642084:ctest-vn-31806920', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-04642084:ctest-vn-31806920?flat'} 2025-09-19 21:32:32,029 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-04642084:ctest-vn-31806920 is found in opserver 2025-09-19 21:32:32,037 - DEBUG - Do not have enough data to verify VN in agent 2025-09-19 21:32:32,041 - DEBUG - VRF ids for VN ctest-vn-31806920: {} 2025-09-19 21:32:32,041 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-19 21:32:32,045 - DEBUG - Requesting: http://10.0.0.38:8082/domain/48bdc502-fd46-470b-813a-db247fce7b6e 2025-09-19 21:32:32,055 - DEBUG - Requesting: http://10.0.0.38:8082/project/cb40a55d-d968-4eed-baa8-2eca533ff410 2025-09-19 21:32:32,121 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/71327f05-2b02-40a5-bea2-83eea2ffa8d3 2025-09-19 21:32:32,131 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/71327f05-2b02-40a5-bea2-83eea2ffa8d3 2025-09-19 21:32:32,138 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/46946468-9510-4482-a5b9-8998c1993dac 2025-09-19 21:32:32,144 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/46946468-9510-4482-a5b9-8998c1993dac 2025-09-19 21:32:32,149 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d94b6699-97b6-442c-83d9-23b533ac7318 2025-09-19 21:32:32,154 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-19 21:32:32,154 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/71327f05-2b02-40a5-bea2-83eea2ffa8d3 2025-09-19 21:32:32,161 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/46946468-9510-4482-a5b9-8998c1993dac 2025-09-19 21:32:32,171 - INFO - Verified VN network id 13 for VN 71327f05-2b02-40a5-bea2-83eea2ffa8d3 2025-09-19 21:32:32,172 - INFO - Verifications in API Server for VN ctest-vn-82391186 passed 2025-09-19 21:32:32,172 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/71327f05-2b02-40a5-bea2-83eea2ffa8d3 2025-09-19 21:32:32,179 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/46946468-9510-4482-a5b9-8998c1993dac 2025-09-19 21:32:32,184 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/46946468-9510-4482-a5b9-8998c1993dac 2025-09-19 21:32:32,189 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d94b6699-97b6-442c-83d9-23b533ac7318 2025-09-19 21:32:32,198 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-04642084:ctest-vn-82391186', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-04642084', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8156721535294521509', 'uuid-lslong': '13736686874393553107'}, 'enable': 'true', 'created': '2025-09-19T21:32:30', 'last-modified': '2025-09-19T21:32:30', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.267106'} 2025-09-19 21:32:32,203 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-19 21:32:32,203 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-82391186 passed 2025-09-19 21:32:32,203 - DEBUG - ====Verifying policy data for ctest-vn-82391186 in API_Server ====== 2025-09-19 21:32:32,203 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-19 21:32:32,208 - DEBUG - Requesting: http://10.0.0.38:8082/domain/48bdc502-fd46-470b-813a-db247fce7b6e 2025-09-19 21:32:32,218 - DEBUG - Requesting: http://10.0.0.38:8082/project/cb40a55d-d968-4eed-baa8-2eca533ff410 2025-09-19 21:32:32,282 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/71327f05-2b02-40a5-bea2-83eea2ffa8d3 2025-09-19 21:32:32,289 - DEBUG - ==>Verifying data for policy with id: 8bd49fc0-85e0-4bdf-83f7-7dfcc1475dea, fqn: ['default-domain', 'ctest-TestBasicPolicy-04642084', 'ctest-policy-allow-all-17327270'] 2025-09-19 21:32:32,289 - INFO - VN ctest-vn-82391186 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-19 21:32:32,289 - DEBUG - Verifying the vn in opserver 2025-09-19 21:32:32,289 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-04642084:ctest-vn-82391186 virtual network link through opserver 10.0.0.38 2025-09-19 21:32:32,290 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-09-19 21:32:32,298 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-04642084:ctest-vn-82391186', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-04642084:ctest-vn-82391186?flat'} 2025-09-19 21:32:32,298 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-04642084:ctest-vn-82391186 is found in opserver 2025-09-19 21:32:32,306 - DEBUG - Do not have enough data to verify VN in agent 2025-09-19 21:32:32,310 - DEBUG - VRF ids for VN ctest-vn-82391186: {} 2025-09-19 21:32:32,368 - DEBUG - Services list from nova: [, , ] 2025-09-19 21:32:33,338 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4153-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4153-1) 2025-09-19 21:32:34,376 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4153-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4153-1) 2025-09-19 21:32:34,377 - INFO - Waiting for VM ctest-TestBasicPolicy-04642084-46888224 to be up.. 2025-09-19 21:32:34,443 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-19 21:32:39,511 - DEBUG - VM is in ACTIVE state now 2025-09-19 21:32:39,511 - INFO - VM name : ctest-TestBasicPolicy-04642084-46888224 2025-09-19 21:32:39,578 - DEBUG - VM ctest-TestBasicPolicy-04642084-46888224 ID is 883c4d39-db89-45e6-a1e9-5a7313fe7eda 2025-09-19 21:32:39,594 - DEBUG - VM ctest-TestBasicPolicy-04642084-46888224 launched on Node cn-jenkins-deploy-platform-ansible-os-4153-1 2025-09-19 21:32:39,671 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/883c4d39-db89-45e6-a1e9-5a7313fe7eda 2025-09-19 21:32:39,679 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/75020396-c5cd-4487-86d5-4797323b9145 2025-09-19 21:32:42,924 - 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 1007ms') 2025-09-19 21:32:42,924 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-04642084-46888224 failed! 2025-09-19 21:32:42,978 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-04642084:ctest-vn-31806920 is 90.44.65.1 and allocation pool is NOT set 2025-09-19 21:32:45,044 - 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.37 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.756 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 = 0.756/2.562/4.369/1.806 ms') 2025-09-19 21:32:45,044 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-04642084-46888224 passed 2025-09-19 21:32:45,190 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 21:32:45,190 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-04642084-46888224, IP 90.44.65.3, Port 22 2025-09-19 21:32:45,245 - 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-19 21:32:45,306 - DEBUG - VM ctest-TestBasicPolicy-04642084-46888224 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-19 21:32:50,307 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 21:32:50,307 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-04642084-46888224, IP 90.44.65.3, Port 22 2025-09-19 21:32:50,461 - DEBUG - VM ctest-TestBasicPolicy-04642084-46888224 is ready for SSH connections 2025-09-19 21:32:50,461 - INFO - Waiting for VM ctest-TestBasicPolicy-04642084-50881199 to be up.. 2025-09-19 21:32:50,526 - DEBUG - VM is in ACTIVE state now 2025-09-19 21:32:50,526 - INFO - VM name : ctest-TestBasicPolicy-04642084-50881199 2025-09-19 21:32:50,589 - DEBUG - VM ctest-TestBasicPolicy-04642084-50881199 ID is 7052d5f4-a6ca-4a68-b686-391dd5dbcb9f 2025-09-19 21:32:50,589 - DEBUG - VM ctest-TestBasicPolicy-04642084-50881199 launched on Node cn-jenkins-deploy-platform-ansible-os-4153-1 2025-09-19 21:32:50,654 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/7052d5f4-a6ca-4a68-b686-391dd5dbcb9f 2025-09-19 21:32:50,661 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/89d0abc8-b315-46ed-9e2b-cfcf6932ff78 2025-09-19 21:32:51,906 - 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.60 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.344 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.344/1.471/2.598/1.127 ms') 2025-09-19 21:32:51,906 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-04642084-50881199 passed 2025-09-19 21:32:52,054 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 21:32:52,054 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-04642084-50881199, IP 198.91.122.195, Port 22 2025-09-19 21:32:52,209 - DEBUG - VM ctest-TestBasicPolicy-04642084-50881199 is ready for SSH connections 2025-09-19 21:32:52,209 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 21:32:52,209 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 198.91.122.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-19 21:32:52,209 - DEBUG - ping -s 56 -c 3 -W 1 198.91.122.195 2025-09-19 21:32:55,885 - DEBUG - PING 198.91.122.195 (198.91.122.195): 56 data bytes 64 bytes from 198.91.122.195: seq=0 ttl=63 time=3.394 ms 64 bytes from 198.91.122.195: seq=1 ttl=63 time=0.757 ms 64 bytes from 198.91.122.195: seq=2 ttl=63 time=0.717 ms --- 198.91.122.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.717/1.622/3.394 ms 2025-09-19 21:32:55,885 - INFO - Ping to IP 198.91.122.195 from VM ctest-TestBasicPolicy-04642084-46888224 passed 2025-09-19 21:32:56,066 - DEBUG - Policy Update Response {"network-policy": {"uuid": "8bd49fc0-85e0-4bdf-83f7-7dfcc1475dea", "href": "http://10.0.0.38:8082/network-policy/8bd49fc0-85e0-4bdf-83f7-7dfcc1475dea"}} 2025-09-19 21:32:56,066 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 21:32:56,066 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 198.91.122.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-19 21:32:56,066 - DEBUG - ping -s 56 -c 3 -W 1 198.91.122.195 2025-09-19 21:32:59,271 - DEBUG - PING 198.91.122.195 (198.91.122.195): 56 data bytes 64 bytes from 198.91.122.195: seq=0 ttl=63 time=1.372 ms --- 198.91.122.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.372/1.372/1.372 ms 2025-09-19 21:32:59,272 - WARNING - Ping to IP 198.91.122.195 from VM ctest-TestBasicPolicy-04642084-46888224 failed 2025-09-19 21:32:59,273 - INFO - Deleting VM ctest-TestBasicPolicy-04642084-50881199 2025-09-19 21:32:59,335 - INFO - Deleting VM ctest-TestBasicPolicy-04642084-46888224 2025-09-19 21:32:59,690 - INFO - Deleted policy ctest-policy-allow-all-17327270 2025-09-19 21:32:59,690 - INFO - Deleting VN ctest-vn-82391186 2025-09-19 21:32:59,719 - DEBUG - VN 71327f05-2b02-40a5-bea2-83eea2ffa8d3 still in use: Unable to complete operation on network 71327f05-2b02-40a5-bea2-83eea2ffa8d3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-92d68e1c-c4c1-4fc3-b7b1-4b00a82edc08'] 2025-09-19 21:32:59,719 - WARNING - Deleting VN ctest-vn-82391186 failed..Will retry 2025-09-19 21:33:01,827 - DEBUG - Response for deleting network () 2025-09-19 21:33:01,827 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/46946468-9510-4482-a5b9-8998c1993dac 2025-09-19 21:33:01,834 - DEBUG - Response Code: 404 2025-09-19 21:33:01,835 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-19 21:33:01,840 - DEBUG - Requesting: http://10.0.0.38:8082/domain/48bdc502-fd46-470b-813a-db247fce7b6e 2025-09-19 21:33:01,896 - DEBUG - Requesting: http://10.0.0.38:8082/project/cb40a55d-d968-4eed-baa8-2eca533ff410 2025-09-19 21:33:01,965 - INFO - Validated that VN ctest-vn-82391186 is not found in API Server 2025-09-19 21:33:01,974 - DEBUG - VN ctest-vn-82391186 is not present in Agent 10.0.0.38 2025-09-19 21:33:01,974 - INFO - Validated that VN ctest-vn-82391186 is not in any agent 2025-09-19 21:33:01,985 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-82391186 info 2025-09-19 21:33:01,985 - INFO - Deleting VN ctest-vn-31806920 2025-09-19 21:33:02,079 - DEBUG - Response for deleting network () 2025-09-19 21:33:02,080 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7997afac-98ec-489c-b83e-98dc537f336e 2025-09-19 21:33:02,085 - DEBUG - Response Code: 404 2025-09-19 21:33:02,085 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-19 21:33:02,093 - DEBUG - Requesting: http://10.0.0.38:8082/domain/48bdc502-fd46-470b-813a-db247fce7b6e 2025-09-19 21:33:02,150 - DEBUG - Requesting: http://10.0.0.38:8082/project/cb40a55d-d968-4eed-baa8-2eca533ff410 2025-09-19 21:33:02,236 - INFO - Validated that VN ctest-vn-31806920 is not found in API Server 2025-09-19 21:33:02,245 - DEBUG - VN ctest-vn-31806920 is not present in Agent 10.0.0.38 2025-09-19 21:33:02,245 - INFO - Validated that VN ctest-vn-31806920 is not in any agent 2025-09-19 21:33:02,259 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-31806920 info 2025-09-19 21:33:02,523 - DEBUG - No XMPP flaps were noticed during the test 2025-09-19 21:33:02,523 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:34] 2025-09-19 21:33:02,523 - INFO - -------------------------------------------------------------------------------- 2025-09-19 21:33:03,190 - INFO - Deleted project: ctest-TestBasicPolicy-04642084, ID : cb40a55d-d968-4eed-baa8-2eca533ff410