2025-08-12 14:11:33,629 - INFO - Domain Default found not creating 2025-08-12 14:11:33,745 - INFO - Project ctest-TestBasicPolicy-56031301 not found, creating it 2025-08-12 14:11:34,231 - INFO - Created Project:ctest-TestBasicPolicy-56031301, ID : 3ac1258c-c7db-4dd9-92b5-2cd9dd077fe2 2025-08-12 14:11:35,638 - INFO - ================================================================================ 2025-08-12 14:11:35,638 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-12 14:11:35,638 - 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-08-12 14:11:35,891 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-08-12 14:11:35,891 - INFO - Initial checks done. Running the testcase now 2025-08-12 14:11:35,892 - INFO - 2025-08-12 14:11:36,434 - DEBUG - Response for create_network : {'network': {'id': '492ac33f-3ed1-4a26-8725-1afbf231628a', 'name': 'ctest-vn-82403724', 'tenant_id': '3ac1258cc7db4dd992b52cd9dd077fe2', 'project_id': '3ac1258cc7db4dd992b52cd9dd077fe2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56031301', 'ctest-vn-82403724'], 'port_security_enabled': True, 'description': ''}} 2025-08-12 14:11:36,575 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cc2a3748-9a67-49f1-9458-52e8ea8a9d10', 'name': '', 'tenant_id': '3ac1258cc7db4dd992b52cd9dd077fe2', 'network_id': '492ac33f-3ed1-4a26-8725-1afbf231628a', 'ip_version': 4, 'cidr': '104.253.197.0/26', 'allocation_pools': [{'start': '104.253.197.2', 'end': '104.253.197.62'}], 'gateway_ip': '104.253.197.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '104.253.197.2', 'tags': [], 'project_id': '3ac1258cc7db4dd992b52cd9dd077fe2'}} 2025-08-12 14:11:36,591 - INFO - Created VN ctest-vn-82403724 2025-08-12 14:11:36,643 - DEBUG - VN ctest-vn-82403724 UUID is 492ac33f-3ed1-4a26-8725-1afbf231628a 2025-08-12 14:11:36,954 - DEBUG - Response for create_network : {'network': {'id': 'b73fd579-4275-47a0-8966-e12559eaba0a', 'name': 'ctest-vn-66742890', 'tenant_id': '3ac1258cc7db4dd992b52cd9dd077fe2', 'project_id': '3ac1258cc7db4dd992b52cd9dd077fe2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56031301', 'ctest-vn-66742890'], 'port_security_enabled': True, 'description': ''}} 2025-08-12 14:11:37,123 - DEBUG - Response for create_subnet : {'subnet': {'id': '85647cdf-43d9-4e53-bbf2-c454f40641e2', 'name': '', 'tenant_id': '3ac1258cc7db4dd992b52cd9dd077fe2', 'network_id': 'b73fd579-4275-47a0-8966-e12559eaba0a', 'ip_version': 4, 'cidr': '42.53.84.128/26', 'allocation_pools': [{'start': '42.53.84.130', 'end': '42.53.84.190'}], 'gateway_ip': '42.53.84.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '42.53.84.130', 'tags': [], 'project_id': '3ac1258cc7db4dd992b52cd9dd077fe2'}} 2025-08-12 14:11:37,139 - INFO - Created VN ctest-vn-66742890 2025-08-12 14:11:37,191 - DEBUG - VN ctest-vn-66742890 UUID is b73fd579-4275-47a0-8966-e12559eaba0a 2025-08-12 14:11:37,339 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-56031301:ctest-vn-82403724, 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-56031301:ctest-vn-66742890, 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-08-12 14:11:37,627 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '492ac33f-3ed1-4a26-8725-1afbf231628a', 'name': 'ctest-vn-82403724', 'tenant_id': '3ac1258cc7db4dd992b52cd9dd077fe2', 'project_id': '3ac1258cc7db4dd992b52cd9dd077fe2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cc2a3748-9a67-49f1-9458-52e8ea8a9d10'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56031301', 'ctest-vn-82403724'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-56031301', 'ctest-policy-allow-all-55660596']], 'subnet_ipam': [{'subnet_cidr': '104.253.197.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-12 14:11:37,853 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b73fd579-4275-47a0-8966-e12559eaba0a', 'name': 'ctest-vn-66742890', 'tenant_id': '3ac1258cc7db4dd992b52cd9dd077fe2', 'project_id': '3ac1258cc7db4dd992b52cd9dd077fe2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['85647cdf-43d9-4e53-bbf2-c454f40641e2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56031301', 'ctest-vn-66742890'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-56031301', 'ctest-policy-allow-all-55660596']], 'subnet_ipam': [{'subnet_cidr': '42.53.84.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-12 14:11:38,007 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-12 14:11:38,318 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-12 14:11:38,345 - DEBUG - Requesting: http://10.0.0.254:8082/domain/75e2896a-e40f-49ff-86de-27b30e8a0235 2025-08-12 14:11:38,357 - DEBUG - Requesting: http://10.0.0.254:8082/project/3ac1258c-c7db-4dd9-92b5-2cd9dd077fe2 2025-08-12 14:11:38,428 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/492ac33f-3ed1-4a26-8725-1afbf231628a 2025-08-12 14:11:38,439 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/492ac33f-3ed1-4a26-8725-1afbf231628a 2025-08-12 14:11:38,448 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e7903e08-d02a-4415-8373-1414ca20a0f0 2025-08-12 14:11:38,454 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e7903e08-d02a-4415-8373-1414ca20a0f0 2025-08-12 14:11:38,459 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/612ceab1-bc73-4f19-88b4-b3ba869ee424 2025-08-12 14:11:38,465 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-12 14:11:38,465 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/492ac33f-3ed1-4a26-8725-1afbf231628a 2025-08-12 14:11:38,473 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e7903e08-d02a-4415-8373-1414ca20a0f0 2025-08-12 14:11:38,485 - INFO - Verified VN network id 12 for VN 492ac33f-3ed1-4a26-8725-1afbf231628a 2025-08-12 14:11:38,485 - INFO - Verifications in API Server for VN ctest-vn-82403724 passed 2025-08-12 14:11:38,485 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/492ac33f-3ed1-4a26-8725-1afbf231628a 2025-08-12 14:11:38,494 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e7903e08-d02a-4415-8373-1414ca20a0f0 2025-08-12 14:11:38,499 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e7903e08-d02a-4415-8373-1414ca20a0f0 2025-08-12 14:11:38,505 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/612ceab1-bc73-4f19-88b4-b3ba869ee424 2025-08-12 14:11:38,515 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-56031301:ctest-vn-82403724', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-56031301', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5272240990194846246', 'uuid-lslong': '9738219438661001866'}, 'enable': 'true', 'created': '2025-08-12T14:11:36', 'last-modified': '2025-08-12T14:11:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.909552'} 2025-08-12 14:11:38,521 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-12 14:11:38,521 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-82403724 passed 2025-08-12 14:11:38,521 - DEBUG - ====Verifying policy data for ctest-vn-82403724 in API_Server ====== 2025-08-12 14:11:38,522 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-12 14:11:38,527 - DEBUG - Requesting: http://10.0.0.254:8082/domain/75e2896a-e40f-49ff-86de-27b30e8a0235 2025-08-12 14:11:38,538 - DEBUG - Requesting: http://10.0.0.254:8082/project/3ac1258c-c7db-4dd9-92b5-2cd9dd077fe2 2025-08-12 14:11:38,609 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/492ac33f-3ed1-4a26-8725-1afbf231628a 2025-08-12 14:11:38,617 - DEBUG - ==>Verifying data for policy with id: 3fdbee85-b4f2-4edb-8ada-3f4748387e9e, fqn: ['default-domain', 'ctest-TestBasicPolicy-56031301', 'ctest-policy-allow-all-55660596'] 2025-08-12 14:11:38,618 - INFO - VN ctest-vn-82403724 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-12 14:11:38,618 - DEBUG - Verifying the vn in opserver 2025-08-12 14:11:38,618 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-56031301:ctest-vn-82403724 virtual network link through opserver 10.0.0.254 2025-08-12 14:11:38,618 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-12 14:11:38,906 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-12 14:11:38,957 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-56031301:ctest-vn-82403724', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-56031301:ctest-vn-82403724?flat'} 2025-08-12 14:11:38,957 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-56031301:ctest-vn-82403724 is found in opserver 2025-08-12 14:11:38,967 - DEBUG - Do not have enough data to verify VN in agent 2025-08-12 14:11:38,971 - DEBUG - VRF ids for VN ctest-vn-82403724: {} 2025-08-12 14:11:38,971 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-12 14:11:38,977 - DEBUG - Requesting: http://10.0.0.254:8082/domain/75e2896a-e40f-49ff-86de-27b30e8a0235 2025-08-12 14:11:38,987 - DEBUG - Requesting: http://10.0.0.254:8082/project/3ac1258c-c7db-4dd9-92b5-2cd9dd077fe2 2025-08-12 14:11:39,057 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/b73fd579-4275-47a0-8966-e12559eaba0a 2025-08-12 14:11:39,069 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/b73fd579-4275-47a0-8966-e12559eaba0a 2025-08-12 14:11:39,079 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/481556e6-ca31-4304-861b-3f0ff608dde3 2025-08-12 14:11:39,085 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/481556e6-ca31-4304-861b-3f0ff608dde3 2025-08-12 14:11:39,091 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/e3cae1ef-da22-44ce-8676-8a096beee74d 2025-08-12 14:11:39,097 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-12 14:11:39,097 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/b73fd579-4275-47a0-8966-e12559eaba0a 2025-08-12 14:11:39,106 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/481556e6-ca31-4304-861b-3f0ff608dde3 2025-08-12 14:11:39,118 - INFO - Verified VN network id 13 for VN b73fd579-4275-47a0-8966-e12559eaba0a 2025-08-12 14:11:39,118 - INFO - Verifications in API Server for VN ctest-vn-66742890 passed 2025-08-12 14:11:39,118 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/b73fd579-4275-47a0-8966-e12559eaba0a 2025-08-12 14:11:39,127 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/481556e6-ca31-4304-861b-3f0ff608dde3 2025-08-12 14:11:39,134 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/481556e6-ca31-4304-861b-3f0ff608dde3 2025-08-12 14:11:39,142 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/e3cae1ef-da22-44ce-8676-8a096beee74d 2025-08-12 14:11:39,157 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-56031301:ctest-vn-66742890', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-56031301', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13204507349256325024', 'uuid-lslong': '9900848381359208970'}, 'enable': 'true', 'created': '2025-08-12T14:11:36', 'last-modified': '2025-08-12T14:11:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.318795'} 2025-08-12 14:11:39,163 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-12 14:11:39,163 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-66742890 passed 2025-08-12 14:11:39,163 - DEBUG - ====Verifying policy data for ctest-vn-66742890 in API_Server ====== 2025-08-12 14:11:39,163 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-12 14:11:39,169 - DEBUG - Requesting: http://10.0.0.254:8082/domain/75e2896a-e40f-49ff-86de-27b30e8a0235 2025-08-12 14:11:39,179 - DEBUG - Requesting: http://10.0.0.254:8082/project/3ac1258c-c7db-4dd9-92b5-2cd9dd077fe2 2025-08-12 14:11:39,247 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/b73fd579-4275-47a0-8966-e12559eaba0a 2025-08-12 14:11:39,256 - DEBUG - ==>Verifying data for policy with id: 3fdbee85-b4f2-4edb-8ada-3f4748387e9e, fqn: ['default-domain', 'ctest-TestBasicPolicy-56031301', 'ctest-policy-allow-all-55660596'] 2025-08-12 14:11:39,256 - INFO - VN ctest-vn-66742890 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-12 14:11:39,256 - DEBUG - Verifying the vn in opserver 2025-08-12 14:11:39,256 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-56031301:ctest-vn-66742890 virtual network link through opserver 10.0.0.254 2025-08-12 14:11:39,256 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-12 14:11:39,267 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-56031301:ctest-vn-66742890', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-56031301:ctest-vn-66742890?flat'} 2025-08-12 14:11:39,267 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-56031301:ctest-vn-66742890 is found in opserver 2025-08-12 14:11:39,278 - DEBUG - Do not have enough data to verify VN in agent 2025-08-12 14:11:39,283 - DEBUG - VRF ids for VN ctest-vn-66742890: {} 2025-08-12 14:11:39,333 - DEBUG - Services list from nova: [, , ] 2025-08-12 14:11:40,284 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3831-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3831-1) 2025-08-12 14:11:41,377 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3831-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3831-1) 2025-08-12 14:11:41,377 - INFO - Waiting for VM ctest-TestBasicPolicy-56031301-81680425 to be up.. 2025-08-12 14:11:41,447 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-12 14:11:46,514 - DEBUG - VM is in ACTIVE state now 2025-08-12 14:11:46,515 - INFO - VM name : ctest-TestBasicPolicy-56031301-81680425 2025-08-12 14:11:46,577 - DEBUG - VM ctest-TestBasicPolicy-56031301-81680425 ID is 9b05ee6d-4e2b-48e6-b936-1f2330dfe002 2025-08-12 14:11:46,594 - DEBUG - VM ctest-TestBasicPolicy-56031301-81680425 launched on Node cn-jenkins-deploy-platform-ansible-os-3831-1 2025-08-12 14:11:46,657 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/9b05ee6d-4e2b-48e6-b936-1f2330dfe002 2025-08-12 14:11:46,664 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/ba29ee6b-c39e-4feb-8f92-0820d19f2931 2025-08-12 14:11:49,928 - 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 1023ms') 2025-08-12 14:11:49,928 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-56031301-81680425 failed! 2025-08-12 14:11:49,983 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-56031301:ctest-vn-82403724 is 104.253.197.1 and allocation pool is NOT set 2025-08-12 14:11:52,045 - 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=2.80 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.290 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.290/1.543/2.796/1.253 ms') 2025-08-12 14:11:52,046 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-56031301-81680425 passed 2025-08-12 14:11:52,198 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 14:11:52,199 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-56031301-81680425, IP 104.253.197.3, Port 22 2025-08-12 14:11:52,350 - DEBUG - VM ctest-TestBasicPolicy-56031301-81680425 is ready for SSH connections 2025-08-12 14:11:52,350 - INFO - Waiting for VM ctest-TestBasicPolicy-56031301-97944080 to be up.. 2025-08-12 14:11:52,413 - DEBUG - VM is in ACTIVE state now 2025-08-12 14:11:52,414 - INFO - VM name : ctest-TestBasicPolicy-56031301-97944080 2025-08-12 14:11:52,475 - DEBUG - VM ctest-TestBasicPolicy-56031301-97944080 ID is e5a9c555-2024-49dd-991e-1499e5152abe 2025-08-12 14:11:52,475 - DEBUG - VM ctest-TestBasicPolicy-56031301-97944080 launched on Node cn-jenkins-deploy-platform-ansible-os-3831-1 2025-08-12 14:11:52,536 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/e5a9c555-2024-49dd-991e-1499e5152abe 2025-08-12 14:11:52,544 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/2c5446e8-cb17-4872-8808-96532f356877 2025-08-12 14:11:53,777 - 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.73 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.397 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.397/1.563/2.729/1.166 ms') 2025-08-12 14:11:53,778 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-56031301-97944080 passed 2025-08-12 14:11:53,927 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 14:11:53,927 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-56031301-97944080, IP 42.53.84.131, Port 22 2025-08-12 14:11:54,086 - DEBUG - VM ctest-TestBasicPolicy-56031301-97944080 is ready for SSH connections 2025-08-12 14:11:54,086 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 14:11:54,087 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 42.53.84.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-12 14:11:54,087 - DEBUG - ping -s 56 -c 3 -W 1 42.53.84.131 2025-08-12 14:11:57,780 - DEBUG - PING 42.53.84.131 (42.53.84.131): 56 data bytes 64 bytes from 42.53.84.131: seq=0 ttl=63 time=3.299 ms 64 bytes from 42.53.84.131: seq=1 ttl=63 time=0.873 ms 64 bytes from 42.53.84.131: seq=2 ttl=63 time=0.804 ms --- 42.53.84.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.804/1.658/3.299 ms 2025-08-12 14:11:57,780 - INFO - Ping to IP 42.53.84.131 from VM ctest-TestBasicPolicy-56031301-81680425 passed 2025-08-12 14:11:57,962 - DEBUG - Policy Update Response {"network-policy": {"uuid": "3fdbee85-b4f2-4edb-8ada-3f4748387e9e", "href": "http://10.0.0.254:8082/network-policy/3fdbee85-b4f2-4edb-8ada-3f4748387e9e"}} 2025-08-12 14:11:57,963 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 14:11:57,963 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 42.53.84.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-12 14:11:57,963 - DEBUG - ping -s 56 -c 3 -W 1 42.53.84.131 2025-08-12 14:12:01,171 - DEBUG - PING 42.53.84.131 (42.53.84.131): 56 data bytes --- 42.53.84.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-12 14:12:01,171 - WARNING - Ping to IP 42.53.84.131 from VM ctest-TestBasicPolicy-56031301-81680425 failed 2025-08-12 14:12:01,171 - INFO - Deleting VM ctest-TestBasicPolicy-56031301-97944080 2025-08-12 14:12:01,243 - INFO - Deleting VM ctest-TestBasicPolicy-56031301-81680425 2025-08-12 14:12:01,621 - INFO - Deleted policy ctest-policy-allow-all-55660596 2025-08-12 14:12:01,621 - INFO - Deleting VN ctest-vn-66742890 2025-08-12 14:12:01,666 - DEBUG - VN b73fd579-4275-47a0-8966-e12559eaba0a still in use: Unable to complete operation on network b73fd579-4275-47a0-8966-e12559eaba0a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4c592ad1-530b-44ab-b287-05e6f6aeeaf8'] 2025-08-12 14:12:01,666 - WARNING - Deleting VN ctest-vn-66742890 failed..Will retry 2025-08-12 14:12:03,774 - DEBUG - Response for deleting network () 2025-08-12 14:12:03,774 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/481556e6-ca31-4304-861b-3f0ff608dde3 2025-08-12 14:12:03,779 - DEBUG - Response Code: 404 2025-08-12 14:12:03,779 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-12 14:12:03,784 - DEBUG - Requesting: http://10.0.0.254:8082/domain/75e2896a-e40f-49ff-86de-27b30e8a0235 2025-08-12 14:12:03,838 - DEBUG - Requesting: http://10.0.0.254:8082/project/3ac1258c-c7db-4dd9-92b5-2cd9dd077fe2 2025-08-12 14:12:03,910 - INFO - Validated that VN ctest-vn-66742890 is not found in API Server 2025-08-12 14:12:03,923 - DEBUG - VN ctest-vn-66742890 is not present in Agent 10.0.0.254 2025-08-12 14:12:03,923 - INFO - Validated that VN ctest-vn-66742890 is not in any agent 2025-08-12 14:12:03,942 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-66742890 info 2025-08-12 14:12:03,942 - INFO - Deleting VN ctest-vn-82403724 2025-08-12 14:12:04,046 - DEBUG - Response for deleting network () 2025-08-12 14:12:04,046 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e7903e08-d02a-4415-8373-1414ca20a0f0 2025-08-12 14:12:04,052 - DEBUG - Response Code: 404 2025-08-12 14:12:04,052 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-12 14:12:04,060 - DEBUG - Requesting: http://10.0.0.254:8082/domain/75e2896a-e40f-49ff-86de-27b30e8a0235 2025-08-12 14:12:04,116 - DEBUG - Requesting: http://10.0.0.254:8082/project/3ac1258c-c7db-4dd9-92b5-2cd9dd077fe2 2025-08-12 14:12:04,193 - INFO - Validated that VN ctest-vn-82403724 is not found in API Server 2025-08-12 14:12:04,204 - DEBUG - VN ctest-vn-82403724 is not present in Agent 10.0.0.254 2025-08-12 14:12:04,205 - INFO - Validated that VN ctest-vn-82403724 is not in any agent 2025-08-12 14:12:04,219 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-82403724 info 2025-08-12 14:12:04,473 - DEBUG - No XMPP flaps were noticed during the test
2025-08-12 14:12:04,473 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-08-12 14:12:04,473 - INFO - -------------------------------------------------------------------------------- 2025-08-12 14:12:05,159 - INFO - Deleted project: ctest-TestBasicPolicy-56031301, ID : 3ac1258c-c7db-4dd9-92b5-2cd9dd077fe2