2025-08-04 20:28:45,159 - INFO - Domain Default found not creating 2025-08-04 20:28:45,345 - INFO - Project ctest-TestBasicPolicy-94943918 not found, creating it 2025-08-04 20:28:45,913 - INFO - Created Project:ctest-TestBasicPolicy-94943918, ID : 8937f9f0-041e-42e3-865c-7695ca3579c8 2025-08-04 20:28:47,691 - INFO - ================================================================================ 2025-08-04 20:28:47,691 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-04 20:28:47,691 - 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-04 20:28:47,957 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.14': '0'}} with 2025-08-04 20:28:47,957 - INFO - Initial checks done. Running the testcase now 2025-08-04 20:28:47,957 - INFO - 2025-08-04 20:28:48,608 - DEBUG - Response for create_network : {'network': {'id': '9705b581-3f5c-40be-a779-1b6e4db19823', 'name': 'ctest-vn-64893937', 'tenant_id': '8937f9f0041e42e3865c7695ca3579c8', 'project_id': '8937f9f0041e42e3865c7695ca3579c8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94943918', 'ctest-vn-64893937'], 'port_security_enabled': True, 'description': ''}} 2025-08-04 20:28:48,852 - DEBUG - Response for create_subnet : {'subnet': {'id': '9b9b50ff-8457-47ab-87e1-c727739b16b7', 'name': '', 'tenant_id': '8937f9f0041e42e3865c7695ca3579c8', 'network_id': '9705b581-3f5c-40be-a779-1b6e4db19823', 'ip_version': 4, 'cidr': '187.169.180.64/26', 'allocation_pools': [{'start': '187.169.180.66', 'end': '187.169.180.126'}], 'gateway_ip': '187.169.180.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '187.169.180.66', 'tags': [], 'project_id': '8937f9f0041e42e3865c7695ca3579c8'}} 2025-08-04 20:28:48,874 - INFO - Created VN ctest-vn-64893937 2025-08-04 20:28:48,930 - DEBUG - VN ctest-vn-64893937 UUID is 9705b581-3f5c-40be-a779-1b6e4db19823 2025-08-04 20:28:49,261 - DEBUG - Response for create_network : {'network': {'id': '97b3ea89-e76d-4bd2-9205-659104b94f79', 'name': 'ctest-vn-51810358', 'tenant_id': '8937f9f0041e42e3865c7695ca3579c8', 'project_id': '8937f9f0041e42e3865c7695ca3579c8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94943918', 'ctest-vn-51810358'], 'port_security_enabled': True, 'description': ''}} 2025-08-04 20:28:49,426 - DEBUG - Response for create_subnet : {'subnet': {'id': '3e2b1ba5-256a-4948-8801-1cd031bf4d72', 'name': '', 'tenant_id': '8937f9f0041e42e3865c7695ca3579c8', 'network_id': '97b3ea89-e76d-4bd2-9205-659104b94f79', 'ip_version': 4, 'cidr': '173.120.4.64/26', 'allocation_pools': [{'start': '173.120.4.66', 'end': '173.120.4.126'}], 'gateway_ip': '173.120.4.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '173.120.4.66', 'tags': [], 'project_id': '8937f9f0041e42e3865c7695ca3579c8'}} 2025-08-04 20:28:49,448 - INFO - Created VN ctest-vn-51810358 2025-08-04 20:28:49,501 - DEBUG - VN ctest-vn-51810358 UUID is 97b3ea89-e76d-4bd2-9205-659104b94f79 2025-08-04 20:28:49,632 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-94943918:ctest-vn-64893937, 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-94943918:ctest-vn-51810358, 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-04 20:28:49,948 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9705b581-3f5c-40be-a779-1b6e4db19823', 'name': 'ctest-vn-64893937', 'tenant_id': '8937f9f0041e42e3865c7695ca3579c8', 'project_id': '8937f9f0041e42e3865c7695ca3579c8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9b9b50ff-8457-47ab-87e1-c727739b16b7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94943918', 'ctest-vn-64893937'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-94943918', 'ctest-policy-allow-all-09065237']], 'subnet_ipam': [{'subnet_cidr': '187.169.180.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-04 20:28:50,199 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '97b3ea89-e76d-4bd2-9205-659104b94f79', 'name': 'ctest-vn-51810358', 'tenant_id': '8937f9f0041e42e3865c7695ca3579c8', 'project_id': '8937f9f0041e42e3865c7695ca3579c8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3e2b1ba5-256a-4948-8801-1cd031bf4d72'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94943918', 'ctest-vn-51810358'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-94943918', 'ctest-policy-allow-all-09065237']], 'subnet_ipam': [{'subnet_cidr': '173.120.4.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-04 20:28:50,365 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-08-04 20:28:50,704 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-08-04 20:28:50,748 - DEBUG - Requesting: http://10.0.0.48:8082/domain/73e228f5-a7a2-4f40-8159-2a93bcb8ee57 2025-08-04 20:28:50,765 - DEBUG - Requesting: http://10.0.0.48:8082/project/8937f9f0-041e-42e3-865c-7695ca3579c8 2025-08-04 20:28:50,860 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/9705b581-3f5c-40be-a779-1b6e4db19823 2025-08-04 20:28:50,873 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/9705b581-3f5c-40be-a779-1b6e4db19823 2025-08-04 20:28:50,887 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/b0ce6d1b-0220-4717-81b2-ca0eba3acf56 2025-08-04 20:28:50,897 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/b0ce6d1b-0220-4717-81b2-ca0eba3acf56 2025-08-04 20:28:50,907 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/fc2ec2e2-3819-4a0b-bce6-4cee452cc87f 2025-08-04 20:28:50,917 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-04 20:28:50,917 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/9705b581-3f5c-40be-a779-1b6e4db19823 2025-08-04 20:28:50,930 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/b0ce6d1b-0220-4717-81b2-ca0eba3acf56 2025-08-04 20:28:50,953 - INFO - Verified VN network id 11 for VN 9705b581-3f5c-40be-a779-1b6e4db19823 2025-08-04 20:28:50,954 - INFO - Verifications in API Server for VN ctest-vn-64893937 passed 2025-08-04 20:28:50,954 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/9705b581-3f5c-40be-a779-1b6e4db19823 2025-08-04 20:28:50,968 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/b0ce6d1b-0220-4717-81b2-ca0eba3acf56 2025-08-04 20:28:50,978 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/b0ce6d1b-0220-4717-81b2-ca0eba3acf56 2025-08-04 20:28:50,989 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/fc2ec2e2-3819-4a0b-bce6-4cee452cc87f 2025-08-04 20:28:51,008 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-94943918:ctest-vn-64893937', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-94943918', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10882303641329090750', 'uuid-lslong': '12067706837079791651'}, 'enable': 'true', 'created': '2025-08-04T20:28:48', 'last-modified': '2025-08-04T20:28:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.077397'} 2025-08-04 20:28:51,018 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-04 20:28:51,018 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-64893937 passed 2025-08-04 20:28:51,018 - DEBUG - ====Verifying policy data for ctest-vn-64893937 in API_Server ====== 2025-08-04 20:28:51,018 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-08-04 20:28:51,027 - DEBUG - Requesting: http://10.0.0.48:8082/domain/73e228f5-a7a2-4f40-8159-2a93bcb8ee57 2025-08-04 20:28:51,043 - DEBUG - Requesting: http://10.0.0.48:8082/project/8937f9f0-041e-42e3-865c-7695ca3579c8 2025-08-04 20:28:51,120 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/9705b581-3f5c-40be-a779-1b6e4db19823 2025-08-04 20:28:51,134 - DEBUG - ==>Verifying data for policy with id: 3eac7c27-ad69-42cb-aa30-b66fc1d5213f, fqn: ['default-domain', 'ctest-TestBasicPolicy-94943918', 'ctest-policy-allow-all-09065237'] 2025-08-04 20:28:51,134 - INFO - VN ctest-vn-64893937 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-04 20:28:51,134 - DEBUG - Verifying the vn in opserver 2025-08-04 20:28:51,134 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-94943918:ctest-vn-64893937 virtual network link through opserver 10.0.0.48 2025-08-04 20:28:51,135 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-08-04 20:28:51,476 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-08-04 20:28:51,548 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-94943918:ctest-vn-64893937', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-94943918:ctest-vn-64893937?flat'} 2025-08-04 20:28:51,549 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-94943918:ctest-vn-64893937 is found in opserver 2025-08-04 20:28:51,563 - DEBUG - Do not have enough data to verify VN in agent 2025-08-04 20:28:51,571 - DEBUG - VRF ids for VN ctest-vn-64893937: {} 2025-08-04 20:28:51,571 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-08-04 20:28:51,579 - DEBUG - Requesting: http://10.0.0.48:8082/domain/73e228f5-a7a2-4f40-8159-2a93bcb8ee57 2025-08-04 20:28:51,597 - DEBUG - Requesting: http://10.0.0.48:8082/project/8937f9f0-041e-42e3-865c-7695ca3579c8 2025-08-04 20:28:51,676 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/97b3ea89-e76d-4bd2-9205-659104b94f79 2025-08-04 20:28:51,690 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/97b3ea89-e76d-4bd2-9205-659104b94f79 2025-08-04 20:28:51,704 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/395e7ed0-ef1d-4a2f-b44f-0b5ae16c744a 2025-08-04 20:28:51,715 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/395e7ed0-ef1d-4a2f-b44f-0b5ae16c744a 2025-08-04 20:28:51,729 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/e441c6e9-122d-4454-9fd4-40756febb0fe 2025-08-04 20:28:51,737 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-04 20:28:51,737 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/97b3ea89-e76d-4bd2-9205-659104b94f79 2025-08-04 20:28:51,750 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/395e7ed0-ef1d-4a2f-b44f-0b5ae16c744a 2025-08-04 20:28:51,818 - INFO - Verified VN network id 12 for VN 97b3ea89-e76d-4bd2-9205-659104b94f79 2025-08-04 20:28:51,818 - INFO - Verifications in API Server for VN ctest-vn-51810358 passed 2025-08-04 20:28:51,818 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/97b3ea89-e76d-4bd2-9205-659104b94f79 2025-08-04 20:28:51,836 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/395e7ed0-ef1d-4a2f-b44f-0b5ae16c744a 2025-08-04 20:28:51,851 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/395e7ed0-ef1d-4a2f-b44f-0b5ae16c744a 2025-08-04 20:28:51,875 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/e441c6e9-122d-4454-9fd4-40756febb0fe 2025-08-04 20:28:51,918 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-94943918:ctest-vn-51810358', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-94943918', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10931338598572444626', 'uuid-lslong': '10521927777944948601'}, 'enable': 'true', 'created': '2025-08-04T20:28:49', 'last-modified': '2025-08-04T20:28:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.750947'} 2025-08-04 20:28:51,926 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-04 20:28:51,926 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-51810358 passed 2025-08-04 20:28:51,927 - DEBUG - ====Verifying policy data for ctest-vn-51810358 in API_Server ====== 2025-08-04 20:28:51,927 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-08-04 20:28:51,945 - DEBUG - Requesting: http://10.0.0.48:8082/domain/73e228f5-a7a2-4f40-8159-2a93bcb8ee57 2025-08-04 20:28:52,026 - DEBUG - Requesting: http://10.0.0.48:8082/project/8937f9f0-041e-42e3-865c-7695ca3579c8 2025-08-04 20:28:52,144 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/97b3ea89-e76d-4bd2-9205-659104b94f79 2025-08-04 20:28:52,163 - DEBUG - ==>Verifying data for policy with id: 3eac7c27-ad69-42cb-aa30-b66fc1d5213f, fqn: ['default-domain', 'ctest-TestBasicPolicy-94943918', 'ctest-policy-allow-all-09065237'] 2025-08-04 20:28:52,163 - INFO - VN ctest-vn-51810358 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-04 20:28:52,163 - DEBUG - Verifying the vn in opserver 2025-08-04 20:28:52,163 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-94943918:ctest-vn-51810358 virtual network link through opserver 10.0.0.48 2025-08-04 20:28:52,163 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-08-04 20:28:52,178 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-94943918:ctest-vn-51810358', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-94943918:ctest-vn-51810358?flat'} 2025-08-04 20:28:52,178 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-94943918:ctest-vn-51810358 is found in opserver 2025-08-04 20:28:52,194 - DEBUG - Do not have enough data to verify VN in agent 2025-08-04 20:28:52,204 - DEBUG - VRF ids for VN ctest-vn-51810358: {} 2025-08-04 20:28:52,302 - DEBUG - Services list from nova: [, , ] 2025-08-04 20:28:53,575 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3754-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3754-1) 2025-08-04 20:28:54,922 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3754-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3754-1) 2025-08-04 20:28:54,922 - INFO - Waiting for VM ctest-TestBasicPolicy-94943918-84685945 to be up.. 2025-08-04 20:28:55,019 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-04 20:29:00,127 - DEBUG - VM is in ACTIVE state now 2025-08-04 20:29:00,127 - INFO - VM name : ctest-TestBasicPolicy-94943918-84685945 2025-08-04 20:29:00,219 - DEBUG - VM ctest-TestBasicPolicy-94943918-84685945 ID is 845a4bde-8bc6-428f-a2de-0dcc463a4e1c 2025-08-04 20:29:00,246 - DEBUG - VM ctest-TestBasicPolicy-94943918-84685945 launched on Node cn-jenkins-deploy-platform-ansible-os-3754-1 2025-08-04 20:29:00,342 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/845a4bde-8bc6-428f-a2de-0dcc463a4e1c 2025-08-04 20:29:00,358 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/3dcfad7d-69a7-4332-813a-34a9dab0dfd4 2025-08-04 20:29:03,629 - 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 1017ms') 2025-08-04 20:29:03,629 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-94943918-84685945 failed! 2025-08-04 20:29:03,689 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-94943918:ctest-vn-64893937 is 187.169.180.65 and allocation pool is NOT set 2025-08-04 20:29:05,749 - 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=12.9 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.75 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 = 1.750/7.310/12.871/5.560 ms') 2025-08-04 20:29:05,749 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-94943918-84685945 passed 2025-08-04 20:29:05,913 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 20:29:05,914 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-94943918-84685945, IP 187.169.180.67, Port 22 2025-08-04 20:29:05,980 - 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-08-04 20:29:06,073 - DEBUG - VM ctest-TestBasicPolicy-94943918-84685945 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-04 20:29:11,074 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 20:29:11,074 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-94943918-84685945, IP 187.169.180.67, Port 22 2025-08-04 20:29:11,242 - DEBUG - VM ctest-TestBasicPolicy-94943918-84685945 is ready for SSH connections 2025-08-04 20:29:11,242 - INFO - Waiting for VM ctest-TestBasicPolicy-94943918-81082204 to be up.. 2025-08-04 20:29:11,327 - DEBUG - VM is in ACTIVE state now 2025-08-04 20:29:11,327 - INFO - VM name : ctest-TestBasicPolicy-94943918-81082204 2025-08-04 20:29:11,422 - DEBUG - VM ctest-TestBasicPolicy-94943918-81082204 ID is 4b225f19-2350-4ca7-83c0-a3437403c7c8 2025-08-04 20:29:11,422 - DEBUG - VM ctest-TestBasicPolicy-94943918-81082204 launched on Node cn-jenkins-deploy-platform-ansible-os-3754-1 2025-08-04 20:29:11,511 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/4b225f19-2350-4ca7-83c0-a3437403c7c8 2025-08-04 20:29:11,522 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/63402a5f-6be2-4c80-ba86-ac6dd7c7ddd7 2025-08-04 20:29:12,785 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=3.18 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.467 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.467/1.825/3.184/1.358 ms') 2025-08-04 20:29:12,785 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-94943918-81082204 passed 2025-08-04 20:29:12,941 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 20:29:12,942 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-94943918-81082204, IP 173.120.4.67, Port 22 2025-08-04 20:29:13,113 - DEBUG - VM ctest-TestBasicPolicy-94943918-81082204 is ready for SSH connections 2025-08-04 20:29:13,113 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 20:29:13,113 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 173.120.4.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-08-04 20:29:13,113 - DEBUG - ping -s 56 -c 3 -W 1 173.120.4.67 2025-08-04 20:29:17,294 - DEBUG - PING 173.120.4.67 (173.120.4.67): 56 data bytes 64 bytes from 173.120.4.67: seq=0 ttl=63 time=4.342 ms 64 bytes from 173.120.4.67: seq=1 ttl=63 time=1.249 ms 64 bytes from 173.120.4.67: seq=2 ttl=63 time=1.331 ms --- 173.120.4.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.249/2.307/4.342 ms 2025-08-04 20:29:17,295 - INFO - Ping to IP 173.120.4.67 from VM ctest-TestBasicPolicy-94943918-84685945 passed 2025-08-04 20:29:17,485 - DEBUG - Policy Update Response {"network-policy": {"uuid": "3eac7c27-ad69-42cb-aa30-b66fc1d5213f", "href": "http://10.0.0.48:8082/network-policy/3eac7c27-ad69-42cb-aa30-b66fc1d5213f"}} 2025-08-04 20:29:17,485 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 20:29:17,485 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 173.120.4.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-08-04 20:29:17,486 - DEBUG - ping -s 56 -c 3 -W 1 173.120.4.67 2025-08-04 20:29:20,711 - DEBUG - PING 173.120.4.67 (173.120.4.67): 56 data bytes --- 173.120.4.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-04 20:29:20,712 - WARNING - Ping to IP 173.120.4.67 from VM ctest-TestBasicPolicy-94943918-84685945 failed 2025-08-04 20:29:20,712 - INFO - Deleting VM ctest-TestBasicPolicy-94943918-81082204 2025-08-04 20:29:20,907 - INFO - Deleting VM ctest-TestBasicPolicy-94943918-84685945 2025-08-04 20:29:21,431 - INFO - Deleted policy ctest-policy-allow-all-09065237 2025-08-04 20:29:21,431 - INFO - Deleting VN ctest-vn-51810358 2025-08-04 20:29:21,480 - DEBUG - VN 97b3ea89-e76d-4bd2-9205-659104b94f79 still in use: Unable to complete operation on network 97b3ea89-e76d-4bd2-9205-659104b94f79. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-33e42b89-75c0-414e-aaf3-68945d9f540d'] 2025-08-04 20:29:21,480 - WARNING - Deleting VN ctest-vn-51810358 failed..Will retry 2025-08-04 20:29:23,603 - DEBUG - Response for deleting network () 2025-08-04 20:29:23,603 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/395e7ed0-ef1d-4a2f-b44f-0b5ae16c744a 2025-08-04 20:29:23,609 - DEBUG - Response Code: 404 2025-08-04 20:29:23,609 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-08-04 20:29:23,616 - DEBUG - Requesting: http://10.0.0.48:8082/domain/73e228f5-a7a2-4f40-8159-2a93bcb8ee57 2025-08-04 20:29:23,679 - DEBUG - Requesting: http://10.0.0.48:8082/project/8937f9f0-041e-42e3-865c-7695ca3579c8 2025-08-04 20:29:23,762 - INFO - Validated that VN ctest-vn-51810358 is not found in API Server 2025-08-04 20:29:23,774 - DEBUG - VN ctest-vn-51810358 is not present in Agent 10.0.0.48 2025-08-04 20:29:23,774 - INFO - Validated that VN ctest-vn-51810358 is not in any agent 2025-08-04 20:29:23,794 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-51810358 info 2025-08-04 20:29:23,794 - INFO - Deleting VN ctest-vn-64893937 2025-08-04 20:29:23,915 - DEBUG - Response for deleting network () 2025-08-04 20:29:23,915 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/b0ce6d1b-0220-4717-81b2-ca0eba3acf56 2025-08-04 20:29:23,923 - DEBUG - Response Code: 404 2025-08-04 20:29:23,923 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-08-04 20:29:23,933 - DEBUG - Requesting: http://10.0.0.48:8082/domain/73e228f5-a7a2-4f40-8159-2a93bcb8ee57 2025-08-04 20:29:23,994 - DEBUG - Requesting: http://10.0.0.48:8082/project/8937f9f0-041e-42e3-865c-7695ca3579c8 2025-08-04 20:29:24,077 - INFO - Validated that VN ctest-vn-64893937 is not found in API Server 2025-08-04 20:29:24,089 - DEBUG - VN ctest-vn-64893937 is not present in Agent 10.0.0.48 2025-08-04 20:29:24,089 - INFO - Validated that VN ctest-vn-64893937 is not in any agent 2025-08-04 20:29:24,107 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-64893937 info 2025-08-04 20:29:24,366 - DEBUG - No XMPP flaps were noticed during the test 2025-08-04 20:29:24,366 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:37] 2025-08-04 20:29:24,366 - INFO - -------------------------------------------------------------------------------- 2025-08-04 20:29:25,129 - INFO - Deleted project: ctest-TestBasicPolicy-94943918, ID : 8937f9f0-041e-42e3-865c-7695ca3579c8