2025-02-03 14:01:18,740 - INFO - Domain Default found not creating 2025-02-03 14:01:18,930 - INFO - Project ctest-TestBasicPolicy-15146331 not found, creating it 2025-02-03 14:01:19,438 - INFO - Created Project:ctest-TestBasicPolicy-15146331, ID : 80229dba-83f7-4209-addc-f95d18e591d0 2025-02-03 14:01:20,964 - INFO - ================================================================================ 2025-02-03 14:01:20,964 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-02-03 14:01:20,964 - 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-02-03 14:01:21,222 - DEBUG - Nothing to compare xmpp stats {'10.0.0.35': {'10.20.0.27': '0'}} with 2025-02-03 14:01:21,222 - INFO - Initial checks done. Running the testcase now 2025-02-03 14:01:21,222 - INFO - 2025-02-03 14:01:21,793 - DEBUG - Response for create_network : {'network': {'id': 'e42c0a49-6e44-48bd-80fe-8ae22eec52fe', 'name': 'ctest-vn-54099772', 'tenant_id': '80229dba83f74209addcf95d18e591d0', 'project_id': '80229dba83f74209addcf95d18e591d0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15146331', 'ctest-vn-54099772'], 'port_security_enabled': True, 'description': ''}} 2025-02-03 14:01:22,009 - DEBUG - Response for create_subnet : {'subnet': {'id': '3e300aee-84cb-4153-be23-4f2f16c17448', 'name': '', 'tenant_id': '80229dba83f74209addcf95d18e591d0', 'network_id': 'e42c0a49-6e44-48bd-80fe-8ae22eec52fe', 'ip_version': 4, 'cidr': '153.195.151.0/26', 'allocation_pools': [{'start': '153.195.151.2', 'end': '153.195.151.62'}], 'gateway_ip': '153.195.151.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '153.195.151.2', 'tags': [], 'project_id': '80229dba83f74209addcf95d18e591d0'}} 2025-02-03 14:01:22,032 - INFO - Created VN ctest-vn-54099772 2025-02-03 14:01:22,086 - DEBUG - VN ctest-vn-54099772 UUID is e42c0a49-6e44-48bd-80fe-8ae22eec52fe 2025-02-03 14:01:22,405 - DEBUG - Response for create_network : {'network': {'id': '5ccc5c82-4d54-49d9-9457-a409bb2aac2d', 'name': 'ctest-vn-19578445', 'tenant_id': '80229dba83f74209addcf95d18e591d0', 'project_id': '80229dba83f74209addcf95d18e591d0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15146331', 'ctest-vn-19578445'], 'port_security_enabled': True, 'description': ''}} 2025-02-03 14:01:22,641 - DEBUG - Response for create_subnet : {'subnet': {'id': '0989fda5-9aab-4a39-8ee1-fc0a1ca75fea', 'name': '', 'tenant_id': '80229dba83f74209addcf95d18e591d0', 'network_id': '5ccc5c82-4d54-49d9-9457-a409bb2aac2d', 'ip_version': 4, 'cidr': '34.74.235.128/26', 'allocation_pools': [{'start': '34.74.235.130', 'end': '34.74.235.190'}], 'gateway_ip': '34.74.235.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '34.74.235.130', 'tags': [], 'project_id': '80229dba83f74209addcf95d18e591d0'}} 2025-02-03 14:01:22,663 - INFO - Created VN ctest-vn-19578445 2025-02-03 14:01:22,718 - DEBUG - VN ctest-vn-19578445 UUID is 5ccc5c82-4d54-49d9-9457-a409bb2aac2d 2025-02-03 14:01:22,843 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-15146331:ctest-vn-54099772, 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-15146331:ctest-vn-19578445, 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-02-03 14:01:23,158 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e42c0a49-6e44-48bd-80fe-8ae22eec52fe', 'name': 'ctest-vn-54099772', 'tenant_id': '80229dba83f74209addcf95d18e591d0', 'project_id': '80229dba83f74209addcf95d18e591d0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3e300aee-84cb-4153-be23-4f2f16c17448'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15146331', 'ctest-vn-54099772'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-15146331', 'ctest-policy-allow-all-91984441']], 'subnet_ipam': [{'subnet_cidr': '153.195.151.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-03 14:01:23,410 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5ccc5c82-4d54-49d9-9457-a409bb2aac2d', 'name': 'ctest-vn-19578445', 'tenant_id': '80229dba83f74209addcf95d18e591d0', 'project_id': '80229dba83f74209addcf95d18e591d0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0989fda5-9aab-4a39-8ee1-fc0a1ca75fea'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15146331', 'ctest-vn-19578445'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-15146331', 'ctest-policy-allow-all-91984441']], 'subnet_ipam': [{'subnet_cidr': '34.74.235.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-03 14:01:23,574 - DEBUG - Requesting: http://10.0.0.35:8082/domains 2025-02-03 14:01:23,875 - DEBUG - Requesting: http://10.0.0.35:8082/domains 2025-02-03 14:01:23,905 - DEBUG - Requesting: http://10.0.0.35:8082/domain/ce26c46b-38e5-41a4-a5ad-95c82876d945 2025-02-03 14:01:23,921 - DEBUG - Requesting: http://10.0.0.35:8082/project/80229dba-83f7-4209-addc-f95d18e591d0 2025-02-03 14:01:23,997 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/e42c0a49-6e44-48bd-80fe-8ae22eec52fe 2025-02-03 14:01:24,010 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/e42c0a49-6e44-48bd-80fe-8ae22eec52fe 2025-02-03 14:01:24,022 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/e2f55b4a-52f7-4b0d-978e-68674899e60d 2025-02-03 14:01:24,030 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/e2f55b4a-52f7-4b0d-978e-68674899e60d 2025-02-03 14:01:24,040 - DEBUG - Requesting: http://10.0.0.35:8082/route-target/bd50b312-46db-45fc-bdc2-88d2f3cae069 2025-02-03 14:01:24,048 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-02-03 14:01:24,049 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/e42c0a49-6e44-48bd-80fe-8ae22eec52fe 2025-02-03 14:01:24,059 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/e2f55b4a-52f7-4b0d-978e-68674899e60d 2025-02-03 14:01:24,076 - INFO - Verified VN network id 8 for VN e42c0a49-6e44-48bd-80fe-8ae22eec52fe 2025-02-03 14:01:24,076 - INFO - Verifications in API Server for VN ctest-vn-54099772 passed 2025-02-03 14:01:24,076 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/e42c0a49-6e44-48bd-80fe-8ae22eec52fe 2025-02-03 14:01:24,088 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/e2f55b4a-52f7-4b0d-978e-68674899e60d 2025-02-03 14:01:24,096 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/e2f55b4a-52f7-4b0d-978e-68674899e60d 2025-02-03 14:01:24,104 - DEBUG - Requesting: http://10.0.0.35:8082/route-target/bd50b312-46db-45fc-bdc2-88d2f3cae069 2025-02-03 14:01:24,120 - DEBUG - Control-node 10.0.0.35 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-15146331:ctest-vn-54099772', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-15146331', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16441527650121697469', 'uuid-lslong': '9295019384993764094'}, 'enable': 'true', 'created': '2025-02-03T14:01:21', 'last-modified': '2025-02-03T14:01:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.983746'} 2025-02-03 14:01:24,127 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-02-03 14:01:24,127 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-54099772 passed 2025-02-03 14:01:24,128 - DEBUG - ====Verifying policy data for ctest-vn-54099772 in API_Server ====== 2025-02-03 14:01:24,128 - DEBUG - Requesting: http://10.0.0.35:8082/domains 2025-02-03 14:01:24,135 - DEBUG - Requesting: http://10.0.0.35:8082/domain/ce26c46b-38e5-41a4-a5ad-95c82876d945 2025-02-03 14:01:24,148 - DEBUG - Requesting: http://10.0.0.35:8082/project/80229dba-83f7-4209-addc-f95d18e591d0 2025-02-03 14:01:24,224 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/e42c0a49-6e44-48bd-80fe-8ae22eec52fe 2025-02-03 14:01:24,235 - DEBUG - ==>Verifying data for policy with id: d68b4f59-3e4a-479b-b4a8-780ba490be44, fqn: ['default-domain', 'ctest-TestBasicPolicy-15146331', 'ctest-policy-allow-all-91984441'] 2025-02-03 14:01:24,235 - INFO - VN ctest-vn-54099772 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-03 14:01:24,235 - DEBUG - Verifying the vn in opserver 2025-02-03 14:01:24,235 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-15146331:ctest-vn-54099772 virtual network link through opserver 10.0.0.35 2025-02-03 14:01:24,235 - DEBUG - Requesting: http://10.0.0.35:8081/analytics/uves/virtual-networks 2025-02-03 14:01:24,529 - DEBUG - Requesting: http://10.0.0.35:8081/analytics/uves/virtual-networks 2025-02-03 14:01:24,592 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-15146331:ctest-vn-54099772', 'href': 'http://10.0.0.35:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-15146331:ctest-vn-54099772?flat'} 2025-02-03 14:01:24,592 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-15146331:ctest-vn-54099772 is found in opserver 2025-02-03 14:01:24,606 - DEBUG - Do not have enough data to verify VN in agent 2025-02-03 14:01:24,612 - DEBUG - VRF ids for VN ctest-vn-54099772: {} 2025-02-03 14:01:24,612 - DEBUG - Requesting: http://10.0.0.35:8082/domains 2025-02-03 14:01:24,618 - DEBUG - Requesting: http://10.0.0.35:8082/domain/ce26c46b-38e5-41a4-a5ad-95c82876d945 2025-02-03 14:01:24,631 - DEBUG - Requesting: http://10.0.0.35:8082/project/80229dba-83f7-4209-addc-f95d18e591d0 2025-02-03 14:01:24,713 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/5ccc5c82-4d54-49d9-9457-a409bb2aac2d 2025-02-03 14:01:24,726 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/5ccc5c82-4d54-49d9-9457-a409bb2aac2d 2025-02-03 14:01:24,737 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/91f624cc-93f2-41bf-8a46-9486d2fc8dc0 2025-02-03 14:01:24,745 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/91f624cc-93f2-41bf-8a46-9486d2fc8dc0 2025-02-03 14:01:24,753 - DEBUG - Requesting: http://10.0.0.35:8082/route-target/d1f6e841-7877-4d57-8a45-af2380ec24c1 2025-02-03 14:01:24,760 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-03 14:01:24,760 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/5ccc5c82-4d54-49d9-9457-a409bb2aac2d 2025-02-03 14:01:24,771 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/91f624cc-93f2-41bf-8a46-9486d2fc8dc0 2025-02-03 14:01:24,786 - INFO - Verified VN network id 9 for VN 5ccc5c82-4d54-49d9-9457-a409bb2aac2d 2025-02-03 14:01:24,786 - INFO - Verifications in API Server for VN ctest-vn-19578445 passed 2025-02-03 14:01:24,786 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/5ccc5c82-4d54-49d9-9457-a409bb2aac2d 2025-02-03 14:01:24,797 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/91f624cc-93f2-41bf-8a46-9486d2fc8dc0 2025-02-03 14:01:24,805 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/91f624cc-93f2-41bf-8a46-9486d2fc8dc0 2025-02-03 14:01:24,813 - DEBUG - Requesting: http://10.0.0.35:8082/route-target/d1f6e841-7877-4d57-8a45-af2380ec24c1 2025-02-03 14:01:24,826 - DEBUG - Control-node 10.0.0.35 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-15146331:ctest-vn-19578445', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-15146331', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6686821261451217369', 'uuid-lslong': '10689192602288958509'}, 'enable': 'true', 'created': '2025-02-03T14:01:22', 'last-modified': '2025-02-03T14:01:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.443353'} 2025-02-03 14:01:24,834 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-03 14:01:24,834 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-19578445 passed 2025-02-03 14:01:24,834 - DEBUG - ====Verifying policy data for ctest-vn-19578445 in API_Server ====== 2025-02-03 14:01:24,834 - DEBUG - Requesting: http://10.0.0.35:8082/domains 2025-02-03 14:01:24,841 - DEBUG - Requesting: http://10.0.0.35:8082/domain/ce26c46b-38e5-41a4-a5ad-95c82876d945 2025-02-03 14:01:24,856 - DEBUG - Requesting: http://10.0.0.35:8082/project/80229dba-83f7-4209-addc-f95d18e591d0 2025-02-03 14:01:24,934 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/5ccc5c82-4d54-49d9-9457-a409bb2aac2d 2025-02-03 14:01:24,945 - DEBUG - ==>Verifying data for policy with id: d68b4f59-3e4a-479b-b4a8-780ba490be44, fqn: ['default-domain', 'ctest-TestBasicPolicy-15146331', 'ctest-policy-allow-all-91984441'] 2025-02-03 14:01:24,945 - INFO - VN ctest-vn-19578445 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-03 14:01:24,945 - DEBUG - Verifying the vn in opserver 2025-02-03 14:01:24,945 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-15146331:ctest-vn-19578445 virtual network link through opserver 10.0.0.35 2025-02-03 14:01:24,945 - DEBUG - Requesting: http://10.0.0.35:8081/analytics/uves/virtual-networks 2025-02-03 14:01:24,957 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-15146331:ctest-vn-19578445', 'href': 'http://10.0.0.35:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-15146331:ctest-vn-19578445?flat'} 2025-02-03 14:01:24,957 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-15146331:ctest-vn-19578445 is found in opserver 2025-02-03 14:01:24,970 - DEBUG - Do not have enough data to verify VN in agent 2025-02-03 14:01:24,976 - DEBUG - VRF ids for VN ctest-vn-19578445: {} 2025-02-03 14:01:25,052 - DEBUG - Services list from nova: [, , ] 2025-02-03 14:01:26,120 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2679-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2679-1) 2025-02-03 14:01:27,499 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2679-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2679-1) 2025-02-03 14:01:27,499 - INFO - Waiting for VM ctest-TestBasicPolicy-15146331-75105649 to be up.. 2025-02-03 14:01:27,597 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-03 14:01:32,689 - DEBUG - VM is in ACTIVE state now 2025-02-03 14:01:32,689 - INFO - VM name : ctest-TestBasicPolicy-15146331-75105649 2025-02-03 14:01:32,778 - DEBUG - VM ctest-TestBasicPolicy-15146331-75105649 ID is fa11e04f-82dd-45ea-9d02-650ab305c716 2025-02-03 14:01:32,804 - DEBUG - VM ctest-TestBasicPolicy-15146331-75105649 launched on Node cn-jenkins-deploy-platform-ansible-os-2679-1 2025-02-03 14:01:32,903 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/fa11e04f-82dd-45ea-9d02-650ab305c716 2025-02-03 14:01:32,914 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine-interface/b52bb8d3-502c-49b0-81c6-76a5aef975c4 2025-02-03 14:01:36,174 - 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-02-03 14:01:36,174 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-15146331-75105649 failed! 2025-02-03 14:01:36,231 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-15146331:ctest-vn-54099772 is 153.195.151.1 and allocation pool is NOT set 2025-02-03 14:01:38,302 - 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.65 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.646 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.646/4.649/8.653/4.003 ms') 2025-02-03 14:01:38,302 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-15146331-75105649 passed 2025-02-03 14:01:38,467 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-03 14:01:38,467 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-15146331-75105649, IP 153.195.151.3, Port 22 2025-02-03 14:01:38,633 - DEBUG - VM ctest-TestBasicPolicy-15146331-75105649 is ready for SSH connections 2025-02-03 14:01:38,633 - INFO - Waiting for VM ctest-TestBasicPolicy-15146331-49320718 to be up.. 2025-02-03 14:01:38,728 - DEBUG - VM is in ACTIVE state now 2025-02-03 14:01:38,729 - INFO - VM name : ctest-TestBasicPolicy-15146331-49320718 2025-02-03 14:01:38,811 - DEBUG - VM ctest-TestBasicPolicy-15146331-49320718 ID is 07be57c3-7b2f-4808-bf77-0d8318577b16 2025-02-03 14:01:38,811 - DEBUG - VM ctest-TestBasicPolicy-15146331-49320718 launched on Node cn-jenkins-deploy-platform-ansible-os-2679-1 2025-02-03 14:01:38,901 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/07be57c3-7b2f-4808-bf77-0d8318577b16 2025-02-03 14:01:38,912 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine-interface/1e99c175-04fc-41cb-8e44-888d44ae3203 2025-02-03 14:01:40,160 - 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=4.02 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.46 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 = 1.461/2.742/4.024/1.281 ms') 2025-02-03 14:01:40,161 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-15146331-49320718 passed 2025-02-03 14:01:40,322 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-03 14:01:40,322 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-15146331-49320718, IP 34.74.235.131, Port 22 2025-02-03 14:01:40,497 - DEBUG - VM ctest-TestBasicPolicy-15146331-49320718 is ready for SSH connections 2025-02-03 14:01:40,497 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-03 14:01:40,497 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 34.74.235.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.35, gateway password: c0ntrail123 2025-02-03 14:01:40,497 - DEBUG - ping -s 56 -c 3 -W 1 34.74.235.131 2025-02-03 14:01:44,576 - DEBUG - PING 34.74.235.131 (34.74.235.131): 56 data bytes 64 bytes from 34.74.235.131: seq=0 ttl=63 time=4.943 ms 64 bytes from 34.74.235.131: seq=1 ttl=63 time=1.122 ms 64 bytes from 34.74.235.131: seq=2 ttl=63 time=0.886 ms --- 34.74.235.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.886/2.317/4.943 ms 2025-02-03 14:01:44,576 - INFO - Ping to IP 34.74.235.131 from VM ctest-TestBasicPolicy-15146331-75105649 passed 2025-02-03 14:01:44,766 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d68b4f59-3e4a-479b-b4a8-780ba490be44", "href": "http://10.0.0.35:8082/network-policy/d68b4f59-3e4a-479b-b4a8-780ba490be44"}} 2025-02-03 14:01:44,766 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-03 14:01:44,767 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 34.74.235.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.35, gateway password: c0ntrail123 2025-02-03 14:01:44,767 - DEBUG - ping -s 56 -c 3 -W 1 34.74.235.131 2025-02-03 14:01:47,991 - DEBUG - PING 34.74.235.131 (34.74.235.131): 56 data bytes 64 bytes from 34.74.235.131: seq=0 ttl=63 time=1.588 ms --- 34.74.235.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.588/1.588/1.588 ms 2025-02-03 14:01:47,992 - WARNING - Ping to IP 34.74.235.131 from VM ctest-TestBasicPolicy-15146331-75105649 failed 2025-02-03 14:01:47,992 - INFO - Deleting VM ctest-TestBasicPolicy-15146331-49320718 2025-02-03 14:01:48,089 - INFO - Deleting VM ctest-TestBasicPolicy-15146331-75105649 2025-02-03 14:01:48,530 - INFO - Deleted policy ctest-policy-allow-all-91984441 2025-02-03 14:01:48,530 - INFO - Deleting VN ctest-vn-19578445 2025-02-03 14:01:48,570 - DEBUG - VN 5ccc5c82-4d54-49d9-9457-a409bb2aac2d still in use: Unable to complete operation on network 5ccc5c82-4d54-49d9-9457-a409bb2aac2d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0565f1be-d4fb-48e2-8315-dee88669c449'] 2025-02-03 14:01:48,571 - WARNING - Deleting VN ctest-vn-19578445 failed..Will retry 2025-02-03 14:01:50,689 - DEBUG - Response for deleting network () 2025-02-03 14:01:50,689 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/91f624cc-93f2-41bf-8a46-9486d2fc8dc0 2025-02-03 14:01:50,698 - DEBUG - Response Code: 404 2025-02-03 14:01:50,699 - DEBUG - Requesting: http://10.0.0.35:8082/domains 2025-02-03 14:01:50,707 - DEBUG - Requesting: http://10.0.0.35:8082/domain/ce26c46b-38e5-41a4-a5ad-95c82876d945 2025-02-03 14:01:50,766 - DEBUG - Requesting: http://10.0.0.35:8082/project/80229dba-83f7-4209-addc-f95d18e591d0 2025-02-03 14:01:50,840 - INFO - Validated that VN ctest-vn-19578445 is not found in API Server 2025-02-03 14:01:50,852 - DEBUG - VN ctest-vn-19578445 is not present in Agent 10.0.0.35 2025-02-03 14:01:50,852 - INFO - Validated that VN ctest-vn-19578445 is not in any agent 2025-02-03 14:01:50,869 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-19578445 info 2025-02-03 14:01:50,869 - INFO - Deleting VN ctest-vn-54099772 2025-02-03 14:01:50,983 - DEBUG - Response for deleting network () 2025-02-03 14:01:50,983 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/e2f55b4a-52f7-4b0d-978e-68674899e60d 2025-02-03 14:01:50,992 - DEBUG - Response Code: 404 2025-02-03 14:01:50,992 - DEBUG - Requesting: http://10.0.0.35:8082/domains 2025-02-03 14:01:51,000 - DEBUG - Requesting: http://10.0.0.35:8082/domain/ce26c46b-38e5-41a4-a5ad-95c82876d945 2025-02-03 14:01:51,057 - DEBUG - Requesting: http://10.0.0.35:8082/project/80229dba-83f7-4209-addc-f95d18e591d0 2025-02-03 14:01:51,129 - INFO - Validated that VN ctest-vn-54099772 is not found in API Server 2025-02-03 14:01:51,141 - DEBUG - VN ctest-vn-54099772 is not present in Agent 10.0.0.35 2025-02-03 14:01:51,141 - INFO - Validated that VN ctest-vn-54099772 is not in any agent 2025-02-03 14:01:51,160 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-54099772 info 2025-02-03 14:01:51,417 - DEBUG - No XMPP flaps were noticed during the test
2025-02-03 14:01:51,417 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31]
2025-02-03 14:01:51,417 - INFO - -------------------------------------------------------------------------------- 2025-02-03 14:01:52,118 - INFO - Deleted project: ctest-TestBasicPolicy-15146331, ID : 80229dba-83f7-4209-addc-f95d18e591d0