2025-10-22 15:06:37,763 - INFO - Domain Default found not creating 2025-10-22 15:06:37,915 - INFO - Project ctest-TestBasicPolicy-92901850 not found, creating it 2025-10-22 15:06:38,388 - INFO - Created Project:ctest-TestBasicPolicy-92901850, ID : fcec3405-a401-4ce5-a018-9e11911fef21 2025-10-22 15:06:39,831 - INFO - ================================================================================ 2025-10-22 15:06:39,831 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-22 15:06:39,831 - 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-10-22 15:06:40,086 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-10-22 15:06:40,086 - INFO - Initial checks done. Running the testcase now 2025-10-22 15:06:40,086 - INFO - 2025-10-22 15:06:40,631 - DEBUG - Response for create_network : {'network': {'id': 'df991dfd-6c44-432b-813e-b05367678829', 'name': 'ctest-vn-95500807', 'tenant_id': 'fcec3405a4014ce5a0189e11911fef21', 'project_id': 'fcec3405a4014ce5a0189e11911fef21', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92901850', 'ctest-vn-95500807'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 15:06:40,815 - DEBUG - Response for create_subnet : {'subnet': {'id': '3d5fd824-961a-4ded-945c-32ee1ec9ee97', 'name': '', 'tenant_id': 'fcec3405a4014ce5a0189e11911fef21', 'network_id': 'df991dfd-6c44-432b-813e-b05367678829', 'ip_version': 4, 'cidr': '144.216.20.64/26', 'allocation_pools': [{'start': '144.216.20.66', 'end': '144.216.20.126'}], 'gateway_ip': '144.216.20.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '144.216.20.66', 'tags': [], 'project_id': 'fcec3405a4014ce5a0189e11911fef21'}} 2025-10-22 15:06:40,835 - INFO - Created VN ctest-vn-95500807 2025-10-22 15:06:40,889 - DEBUG - VN ctest-vn-95500807 UUID is df991dfd-6c44-432b-813e-b05367678829 2025-10-22 15:06:41,185 - DEBUG - Response for create_network : {'network': {'id': '572ba261-112e-4d8e-b577-096c0cc5f027', 'name': 'ctest-vn-02343460', 'tenant_id': 'fcec3405a4014ce5a0189e11911fef21', 'project_id': 'fcec3405a4014ce5a0189e11911fef21', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92901850', 'ctest-vn-02343460'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 15:06:41,384 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd81a1be9-317f-4b47-ab46-da8f2592d80f', 'name': '', 'tenant_id': 'fcec3405a4014ce5a0189e11911fef21', 'network_id': '572ba261-112e-4d8e-b577-096c0cc5f027', 'ip_version': 4, 'cidr': '181.41.65.128/26', 'allocation_pools': [{'start': '181.41.65.130', 'end': '181.41.65.190'}], 'gateway_ip': '181.41.65.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '181.41.65.130', 'tags': [], 'project_id': 'fcec3405a4014ce5a0189e11911fef21'}} 2025-10-22 15:06:41,403 - INFO - Created VN ctest-vn-02343460 2025-10-22 15:06:41,457 - DEBUG - VN ctest-vn-02343460 UUID is 572ba261-112e-4d8e-b577-096c0cc5f027 2025-10-22 15:06:41,574 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-92901850:ctest-vn-95500807, 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-92901850:ctest-vn-02343460, 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-10-22 15:06:41,867 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'df991dfd-6c44-432b-813e-b05367678829', 'name': 'ctest-vn-95500807', 'tenant_id': 'fcec3405a4014ce5a0189e11911fef21', 'project_id': 'fcec3405a4014ce5a0189e11911fef21', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3d5fd824-961a-4ded-945c-32ee1ec9ee97'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92901850', 'ctest-vn-95500807'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-92901850', 'ctest-policy-allow-all-01493621']], 'subnet_ipam': [{'subnet_cidr': '144.216.20.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-22 15:06:42,097 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '572ba261-112e-4d8e-b577-096c0cc5f027', 'name': 'ctest-vn-02343460', 'tenant_id': 'fcec3405a4014ce5a0189e11911fef21', 'project_id': 'fcec3405a4014ce5a0189e11911fef21', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d81a1be9-317f-4b47-ab46-da8f2592d80f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92901850', 'ctest-vn-02343460'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-92901850', 'ctest-policy-allow-all-01493621']], 'subnet_ipam': [{'subnet_cidr': '181.41.65.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-22 15:06:42,261 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-22 15:06:42,559 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-22 15:06:42,584 - DEBUG - Requesting: http://10.0.0.254:8082/domain/705d2352-6ba1-4c2a-9cbc-ca4d8113b574 2025-10-22 15:06:42,595 - DEBUG - Requesting: http://10.0.0.254:8082/project/fcec3405-a401-4ce5-a018-9e11911fef21 2025-10-22 15:06:42,667 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/df991dfd-6c44-432b-813e-b05367678829 2025-10-22 15:06:42,678 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/df991dfd-6c44-432b-813e-b05367678829 2025-10-22 15:06:42,688 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/469e20a1-ecd4-4513-9788-dbb2bd81d45d 2025-10-22 15:06:42,694 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/469e20a1-ecd4-4513-9788-dbb2bd81d45d 2025-10-22 15:06:42,700 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/ebda8817-c8a6-41b7-8406-801bc2887cc5 2025-10-22 15:06:42,706 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-22 15:06:42,706 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/df991dfd-6c44-432b-813e-b05367678829 2025-10-22 15:06:42,716 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/469e20a1-ecd4-4513-9788-dbb2bd81d45d 2025-10-22 15:06:42,730 - INFO - Verified VN network id 11 for VN df991dfd-6c44-432b-813e-b05367678829 2025-10-22 15:06:42,730 - INFO - Verifications in API Server for VN ctest-vn-95500807 passed 2025-10-22 15:06:42,730 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/df991dfd-6c44-432b-813e-b05367678829 2025-10-22 15:06:42,741 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/469e20a1-ecd4-4513-9788-dbb2bd81d45d 2025-10-22 15:06:42,748 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/469e20a1-ecd4-4513-9788-dbb2bd81d45d 2025-10-22 15:06:42,756 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/ebda8817-c8a6-41b7-8406-801bc2887cc5 2025-10-22 15:06:42,769 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-92901850:ctest-vn-95500807', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-92901850', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16111942116175004459', 'uuid-lslong': '9313074951712376873'}, 'enable': 'true', 'created': '2025-10-22T15:06:40', 'last-modified': '2025-10-22T15:06:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.931092'} 2025-10-22 15:06:42,777 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-22 15:06:42,777 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-95500807 passed 2025-10-22 15:06:42,777 - DEBUG - ====Verifying policy data for ctest-vn-95500807 in API_Server ====== 2025-10-22 15:06:42,777 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-22 15:06:42,782 - DEBUG - Requesting: http://10.0.0.254:8082/domain/705d2352-6ba1-4c2a-9cbc-ca4d8113b574 2025-10-22 15:06:42,793 - DEBUG - Requesting: http://10.0.0.254:8082/project/fcec3405-a401-4ce5-a018-9e11911fef21 2025-10-22 15:06:42,863 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/df991dfd-6c44-432b-813e-b05367678829 2025-10-22 15:06:42,874 - DEBUG - ==>Verifying data for policy with id: 15b1b25d-115f-4c3f-b473-2d6e495d8e5f, fqn: ['default-domain', 'ctest-TestBasicPolicy-92901850', 'ctest-policy-allow-all-01493621'] 2025-10-22 15:06:42,875 - INFO - VN ctest-vn-95500807 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-22 15:06:42,875 - DEBUG - Verifying the vn in opserver 2025-10-22 15:06:42,875 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-92901850:ctest-vn-95500807 virtual network link through opserver 10.0.0.254 2025-10-22 15:06:42,875 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-22 15:06:43,164 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-22 15:06:43,218 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-92901850:ctest-vn-95500807', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-92901850:ctest-vn-95500807?flat'} 2025-10-22 15:06:43,218 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-92901850:ctest-vn-95500807 is found in opserver 2025-10-22 15:06:43,228 - DEBUG - Do not have enough data to verify VN in agent 2025-10-22 15:06:43,233 - DEBUG - VRF ids for VN ctest-vn-95500807: {} 2025-10-22 15:06:43,233 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-22 15:06:43,239 - DEBUG - Requesting: http://10.0.0.254:8082/domain/705d2352-6ba1-4c2a-9cbc-ca4d8113b574 2025-10-22 15:06:43,250 - DEBUG - Requesting: http://10.0.0.254:8082/project/fcec3405-a401-4ce5-a018-9e11911fef21 2025-10-22 15:06:43,315 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/572ba261-112e-4d8e-b577-096c0cc5f027 2025-10-22 15:06:43,326 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/572ba261-112e-4d8e-b577-096c0cc5f027 2025-10-22 15:06:43,337 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8673ffa9-155e-4f29-b9bf-63e7bba1e42a 2025-10-22 15:06:43,345 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8673ffa9-155e-4f29-b9bf-63e7bba1e42a 2025-10-22 15:06:43,351 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/043f117e-c519-492e-b1b1-82150787da1d 2025-10-22 15:06:43,357 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-22 15:06:43,357 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/572ba261-112e-4d8e-b577-096c0cc5f027 2025-10-22 15:06:43,366 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8673ffa9-155e-4f29-b9bf-63e7bba1e42a 2025-10-22 15:06:43,380 - INFO - Verified VN network id 12 for VN 572ba261-112e-4d8e-b577-096c0cc5f027 2025-10-22 15:06:43,380 - INFO - Verifications in API Server for VN ctest-vn-02343460 passed 2025-10-22 15:06:43,380 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/572ba261-112e-4d8e-b577-096c0cc5f027 2025-10-22 15:06:43,389 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8673ffa9-155e-4f29-b9bf-63e7bba1e42a 2025-10-22 15:06:43,395 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8673ffa9-155e-4f29-b9bf-63e7bba1e42a 2025-10-22 15:06:43,402 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/043f117e-c519-492e-b1b1-82150787da1d 2025-10-22 15:06:43,413 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-92901850:ctest-vn-02343460', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-92901850', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6281292643082063246', 'uuid-lslong': '13075930402768941095'}, 'enable': 'true', 'created': '2025-10-22T15:06:41', 'last-modified': '2025-10-22T15:06:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.338449'} 2025-10-22 15:06:43,419 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-22 15:06:43,419 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-02343460 passed 2025-10-22 15:06:43,419 - DEBUG - ====Verifying policy data for ctest-vn-02343460 in API_Server ====== 2025-10-22 15:06:43,419 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-22 15:06:43,425 - DEBUG - Requesting: http://10.0.0.254:8082/domain/705d2352-6ba1-4c2a-9cbc-ca4d8113b574 2025-10-22 15:06:43,434 - DEBUG - Requesting: http://10.0.0.254:8082/project/fcec3405-a401-4ce5-a018-9e11911fef21 2025-10-22 15:06:43,503 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/572ba261-112e-4d8e-b577-096c0cc5f027 2025-10-22 15:06:43,514 - DEBUG - ==>Verifying data for policy with id: 15b1b25d-115f-4c3f-b473-2d6e495d8e5f, fqn: ['default-domain', 'ctest-TestBasicPolicy-92901850', 'ctest-policy-allow-all-01493621'] 2025-10-22 15:06:43,514 - INFO - VN ctest-vn-02343460 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-22 15:06:43,514 - DEBUG - Verifying the vn in opserver 2025-10-22 15:06:43,514 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-92901850:ctest-vn-02343460 virtual network link through opserver 10.0.0.254 2025-10-22 15:06:43,514 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-22 15:06:43,523 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-92901850:ctest-vn-02343460', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-92901850:ctest-vn-02343460?flat'} 2025-10-22 15:06:43,523 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-92901850:ctest-vn-02343460 is found in opserver 2025-10-22 15:06:43,533 - DEBUG - Do not have enough data to verify VN in agent 2025-10-22 15:06:43,538 - DEBUG - VRF ids for VN ctest-vn-02343460: {} 2025-10-22 15:06:43,595 - DEBUG - Services list from nova: [, , ] 2025-10-22 15:06:44,598 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4434-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4434-1) 2025-10-22 15:06:45,730 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4434-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4434-1) 2025-10-22 15:06:45,730 - INFO - Waiting for VM ctest-TestBasicPolicy-92901850-12793120 to be up.. 2025-10-22 15:06:45,811 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-22 15:06:50,885 - DEBUG - VM is in ACTIVE state now 2025-10-22 15:06:50,885 - INFO - VM name : ctest-TestBasicPolicy-92901850-12793120 2025-10-22 15:06:50,958 - DEBUG - VM ctest-TestBasicPolicy-92901850-12793120 ID is 063c0cdb-be5b-4e7d-a50f-02c89b02496f 2025-10-22 15:06:50,976 - DEBUG - VM ctest-TestBasicPolicy-92901850-12793120 launched on Node cn-jenkins-deploy-platform-ansible-os-4434-1 2025-10-22 15:06:51,053 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/063c0cdb-be5b-4e7d-a50f-02c89b02496f 2025-10-22 15:06:51,062 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/b2802d0f-6cba-4682-9a59-456d341cc045 2025-10-22 15:06:54,312 - 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 1010ms') 2025-10-22 15:06:54,312 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-92901850-12793120 failed! 2025-10-22 15:06:54,365 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-92901850:ctest-vn-95500807 is 144.216.20.65 and allocation pool is NOT set 2025-10-22 15:06:56,433 - 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.50 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.70 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 = 2.702/5.599/8.497/2.897 ms') 2025-10-22 15:06:56,433 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-92901850-12793120 passed 2025-10-22 15:06:56,581 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 15:06:56,581 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-92901850-12793120, IP 144.216.20.67, Port 22 2025-10-22 15:06:56,636 - 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-10-22 15:06:56,711 - DEBUG - VM ctest-TestBasicPolicy-92901850-12793120 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-22 15:07:01,712 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 15:07:01,712 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-92901850-12793120, IP 144.216.20.67, Port 22 2025-10-22 15:07:01,868 - DEBUG - VM ctest-TestBasicPolicy-92901850-12793120 is ready for SSH connections 2025-10-22 15:07:01,868 - INFO - Waiting for VM ctest-TestBasicPolicy-92901850-57381792 to be up.. 2025-10-22 15:07:01,944 - DEBUG - VM is in ACTIVE state now 2025-10-22 15:07:01,944 - INFO - VM name : ctest-TestBasicPolicy-92901850-57381792 2025-10-22 15:07:02,014 - DEBUG - VM ctest-TestBasicPolicy-92901850-57381792 ID is de31731b-f2db-462d-88f5-92b3c12ac4b7 2025-10-22 15:07:02,015 - DEBUG - VM ctest-TestBasicPolicy-92901850-57381792 launched on Node cn-jenkins-deploy-platform-ansible-os-4434-1 2025-10-22 15:07:02,083 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/de31731b-f2db-462d-88f5-92b3c12ac4b7 2025-10-22 15:07:02,091 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/6850234d-49b1-4f64-9f73-ea27c97c72e0 2025-10-22 15:07:03,320 - 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.87 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.482 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.482/1.676/2.871/1.194 ms') 2025-10-22 15:07:03,321 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-92901850-57381792 passed 2025-10-22 15:07:03,469 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 15:07:03,469 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-92901850-57381792, IP 181.41.65.131, Port 22 2025-10-22 15:07:03,624 - DEBUG - VM ctest-TestBasicPolicy-92901850-57381792 is ready for SSH connections 2025-10-22 15:07:03,625 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 15:07:03,625 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 181.41.65.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-22 15:07:03,625 - DEBUG - ping -s 56 -c 3 -W 1 181.41.65.131 2025-10-22 15:07:07,315 - DEBUG - PING 181.41.65.131 (181.41.65.131): 56 data bytes 64 bytes from 181.41.65.131: seq=0 ttl=63 time=3.836 ms 64 bytes from 181.41.65.131: seq=1 ttl=63 time=1.034 ms 64 bytes from 181.41.65.131: seq=2 ttl=63 time=0.832 ms --- 181.41.65.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.832/1.900/3.836 ms 2025-10-22 15:07:07,316 - INFO - Ping to IP 181.41.65.131 from VM ctest-TestBasicPolicy-92901850-12793120 passed 2025-10-22 15:07:07,508 - DEBUG - Policy Update Response {"network-policy": {"uuid": "15b1b25d-115f-4c3f-b473-2d6e495d8e5f", "href": "http://10.0.0.254:8082/network-policy/15b1b25d-115f-4c3f-b473-2d6e495d8e5f"}} 2025-10-22 15:07:07,509 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 15:07:07,509 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 181.41.65.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-22 15:07:07,509 - DEBUG - ping -s 56 -c 3 -W 1 181.41.65.131 2025-10-22 15:07:10,736 - DEBUG - PING 181.41.65.131 (181.41.65.131): 56 data bytes --- 181.41.65.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-22 15:07:10,737 - WARNING - Ping to IP 181.41.65.131 from VM ctest-TestBasicPolicy-92901850-12793120 failed 2025-10-22 15:07:10,737 - INFO - Deleting VM ctest-TestBasicPolicy-92901850-57381792 2025-10-22 15:07:10,814 - INFO - Deleting VM ctest-TestBasicPolicy-92901850-12793120 2025-10-22 15:07:11,191 - INFO - Deleted policy ctest-policy-allow-all-01493621 2025-10-22 15:07:11,191 - INFO - Deleting VN ctest-vn-02343460 2025-10-22 15:07:11,224 - DEBUG - VN 572ba261-112e-4d8e-b577-096c0cc5f027 still in use: Unable to complete operation on network 572ba261-112e-4d8e-b577-096c0cc5f027. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-638237c5-d7d4-43cd-8076-edecf6a2de72'] 2025-10-22 15:07:11,224 - WARNING - Deleting VN ctest-vn-02343460 failed..Will retry 2025-10-22 15:07:13,322 - DEBUG - Response for deleting network () 2025-10-22 15:07:13,322 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8673ffa9-155e-4f29-b9bf-63e7bba1e42a 2025-10-22 15:07:13,328 - DEBUG - Response Code: 404 2025-10-22 15:07:13,328 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-22 15:07:13,333 - DEBUG - Requesting: http://10.0.0.254:8082/domain/705d2352-6ba1-4c2a-9cbc-ca4d8113b574 2025-10-22 15:07:13,386 - DEBUG - Requesting: http://10.0.0.254:8082/project/fcec3405-a401-4ce5-a018-9e11911fef21 2025-10-22 15:07:13,459 - INFO - Validated that VN ctest-vn-02343460 is not found in API Server 2025-10-22 15:07:13,469 - DEBUG - VN ctest-vn-02343460 is not present in Agent 10.0.0.254 2025-10-22 15:07:13,469 - INFO - Validated that VN ctest-vn-02343460 is not in any agent 2025-10-22 15:07:13,481 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-02343460 info 2025-10-22 15:07:13,481 - INFO - Deleting VN ctest-vn-95500807 2025-10-22 15:07:13,574 - DEBUG - Response for deleting network () 2025-10-22 15:07:13,574 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/469e20a1-ecd4-4513-9788-dbb2bd81d45d 2025-10-22 15:07:13,582 - DEBUG - Response Code: 404 2025-10-22 15:07:13,582 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-22 15:07:13,588 - DEBUG - Requesting: http://10.0.0.254:8082/domain/705d2352-6ba1-4c2a-9cbc-ca4d8113b574 2025-10-22 15:07:13,642 - DEBUG - Requesting: http://10.0.0.254:8082/project/fcec3405-a401-4ce5-a018-9e11911fef21 2025-10-22 15:07:13,716 - INFO - Validated that VN ctest-vn-95500807 is not found in API Server 2025-10-22 15:07:13,726 - DEBUG - VN ctest-vn-95500807 is not present in Agent 10.0.0.254 2025-10-22 15:07:13,726 - INFO - Validated that VN ctest-vn-95500807 is not in any agent 2025-10-22 15:07:13,740 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-95500807 info 2025-10-22 15:07:13,994 - DEBUG - No XMPP flaps were noticed during the test 2025-10-22 15:07:13,994 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:34] 2025-10-22 15:07:13,994 - INFO - -------------------------------------------------------------------------------- 2025-10-22 15:07:14,675 - INFO - Deleted project: ctest-TestBasicPolicy-92901850, ID : fcec3405-a401-4ce5-a018-9e11911fef21