2025-04-23 15:34:04,433 - INFO - Domain Default found not creating 2025-04-23 15:34:04,584 - INFO - Project ctest-TestBasicPolicy-04802414 not found, creating it 2025-04-23 15:34:05,130 - INFO - Created Project:ctest-TestBasicPolicy-04802414, ID : 1d00a0d4-3743-45a5-99c4-c3936dcd3df8 2025-04-23 15:34:06,803 - INFO - ================================================================================ 2025-04-23 15:34:06,803 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-23 15:34:06,804 - 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-04-23 15:34:07,066 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.192': '0'}} with 2025-04-23 15:34:07,066 - INFO - Initial checks done. Running the testcase now 2025-04-23 15:34:07,066 - INFO - 2025-04-23 15:34:07,807 - DEBUG - Response for create_network : {'network': {'id': 'e7231044-6e65-45a2-8a68-76adc978c81f', 'name': 'ctest-vn-57483763', 'tenant_id': '1d00a0d4374345a599c4c3936dcd3df8', 'project_id': '1d00a0d4374345a599c4c3936dcd3df8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04802414', 'ctest-vn-57483763'], 'port_security_enabled': True, 'description': ''}} 2025-04-23 15:34:08,033 - DEBUG - Response for create_subnet : {'subnet': {'id': '0ac8ab4a-222c-461e-96c5-6a8f8028026f', 'name': '', 'tenant_id': '1d00a0d4374345a599c4c3936dcd3df8', 'network_id': 'e7231044-6e65-45a2-8a68-76adc978c81f', 'ip_version': 4, 'cidr': '176.249.241.128/26', 'allocation_pools': [{'start': '176.249.241.130', 'end': '176.249.241.190'}], 'gateway_ip': '176.249.241.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '176.249.241.130', 'tags': [], 'project_id': '1d00a0d4374345a599c4c3936dcd3df8'}} 2025-04-23 15:34:08,054 - INFO - Created VN ctest-vn-57483763 2025-04-23 15:34:08,108 - DEBUG - VN ctest-vn-57483763 UUID is e7231044-6e65-45a2-8a68-76adc978c81f 2025-04-23 15:34:08,427 - DEBUG - Response for create_network : {'network': {'id': '66c58aa7-0942-447d-a0d4-3ebc58f038f5', 'name': 'ctest-vn-03265909', 'tenant_id': '1d00a0d4374345a599c4c3936dcd3df8', 'project_id': '1d00a0d4374345a599c4c3936dcd3df8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04802414', 'ctest-vn-03265909'], 'port_security_enabled': True, 'description': ''}} 2025-04-23 15:34:08,646 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b39d3eb3-3544-4fa1-a5bc-dee19e48b93b', 'name': '', 'tenant_id': '1d00a0d4374345a599c4c3936dcd3df8', 'network_id': '66c58aa7-0942-447d-a0d4-3ebc58f038f5', 'ip_version': 4, 'cidr': '207.173.121.0/26', 'allocation_pools': [{'start': '207.173.121.2', 'end': '207.173.121.62'}], 'gateway_ip': '207.173.121.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '207.173.121.2', 'tags': [], 'project_id': '1d00a0d4374345a599c4c3936dcd3df8'}} 2025-04-23 15:34:08,667 - INFO - Created VN ctest-vn-03265909 2025-04-23 15:34:08,724 - DEBUG - VN ctest-vn-03265909 UUID is 66c58aa7-0942-447d-a0d4-3ebc58f038f5 2025-04-23 15:34:08,841 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-04802414:ctest-vn-57483763, 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-04802414:ctest-vn-03265909, 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-04-23 15:34:09,178 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e7231044-6e65-45a2-8a68-76adc978c81f', 'name': 'ctest-vn-57483763', 'tenant_id': '1d00a0d4374345a599c4c3936dcd3df8', 'project_id': '1d00a0d4374345a599c4c3936dcd3df8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0ac8ab4a-222c-461e-96c5-6a8f8028026f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04802414', 'ctest-vn-57483763'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-04802414', 'ctest-policy-allow-all-23088582']], 'subnet_ipam': [{'subnet_cidr': '176.249.241.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-23 15:34:09,458 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '66c58aa7-0942-447d-a0d4-3ebc58f038f5', 'name': 'ctest-vn-03265909', 'tenant_id': '1d00a0d4374345a599c4c3936dcd3df8', 'project_id': '1d00a0d4374345a599c4c3936dcd3df8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b39d3eb3-3544-4fa1-a5bc-dee19e48b93b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04802414', 'ctest-vn-03265909'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-04802414', 'ctest-policy-allow-all-23088582']], 'subnet_ipam': [{'subnet_cidr': '207.173.121.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-23 15:34:09,612 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-04-23 15:34:09,957 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-04-23 15:34:09,990 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d411bdb4-33f6-4732-a9b7-559eacf690b0 2025-04-23 15:34:10,004 - DEBUG - Requesting: http://10.0.0.33:8082/project/1d00a0d4-3743-45a5-99c4-c3936dcd3df8 2025-04-23 15:34:10,085 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/e7231044-6e65-45a2-8a68-76adc978c81f 2025-04-23 15:34:10,097 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/e7231044-6e65-45a2-8a68-76adc978c81f 2025-04-23 15:34:10,109 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/e65d7fc1-0f9b-4da0-a478-5d8fa7131300 2025-04-23 15:34:10,118 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/e65d7fc1-0f9b-4da0-a478-5d8fa7131300 2025-04-23 15:34:10,126 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/a9b2c5d9-6843-406c-aab9-2f85fa5a3f2e 2025-04-23 15:34:10,133 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-23 15:34:10,133 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/e7231044-6e65-45a2-8a68-76adc978c81f 2025-04-23 15:34:10,145 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/e65d7fc1-0f9b-4da0-a478-5d8fa7131300 2025-04-23 15:34:10,167 - INFO - Verified VN network id 9 for VN e7231044-6e65-45a2-8a68-76adc978c81f 2025-04-23 15:34:10,167 - INFO - Verifications in API Server for VN ctest-vn-57483763 passed 2025-04-23 15:34:10,168 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/e7231044-6e65-45a2-8a68-76adc978c81f 2025-04-23 15:34:10,188 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/e65d7fc1-0f9b-4da0-a478-5d8fa7131300 2025-04-23 15:34:10,200 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/e65d7fc1-0f9b-4da0-a478-5d8fa7131300 2025-04-23 15:34:10,209 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/a9b2c5d9-6843-406c-aab9-2f85fa5a3f2e 2025-04-23 15:34:10,223 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-04802414:ctest-vn-57483763', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-04802414', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16655173733042177442', 'uuid-lslong': '9973351863593519135'}, 'enable': 'true', 'created': '2025-04-23T15:34:07', 'last-modified': '2025-04-23T15:34:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.078113'} 2025-04-23 15:34:10,230 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-23 15:34:10,230 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-57483763 passed 2025-04-23 15:34:10,230 - DEBUG - ====Verifying policy data for ctest-vn-57483763 in API_Server ====== 2025-04-23 15:34:10,231 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-04-23 15:34:10,239 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d411bdb4-33f6-4732-a9b7-559eacf690b0 2025-04-23 15:34:10,252 - DEBUG - Requesting: http://10.0.0.33:8082/project/1d00a0d4-3743-45a5-99c4-c3936dcd3df8 2025-04-23 15:34:10,330 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/e7231044-6e65-45a2-8a68-76adc978c81f 2025-04-23 15:34:10,342 - DEBUG - ==>Verifying data for policy with id: 77f9a8b7-6213-4994-af5e-adf701b17d4d, fqn: ['default-domain', 'ctest-TestBasicPolicy-04802414', 'ctest-policy-allow-all-23088582'] 2025-04-23 15:34:10,342 - INFO - VN ctest-vn-57483763 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-23 15:34:10,342 - DEBUG - Verifying the vn in opserver 2025-04-23 15:34:10,342 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-04802414:ctest-vn-57483763 virtual network link through opserver 10.0.0.33 2025-04-23 15:34:10,342 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-04-23 15:34:10,678 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-04-23 15:34:10,734 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-04802414:ctest-vn-57483763', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-04802414:ctest-vn-57483763?flat'} 2025-04-23 15:34:10,734 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-04802414:ctest-vn-57483763 is found in opserver 2025-04-23 15:34:10,746 - DEBUG - Do not have enough data to verify VN in agent 2025-04-23 15:34:10,752 - DEBUG - VRF ids for VN ctest-vn-57483763: {} 2025-04-23 15:34:10,752 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-04-23 15:34:10,758 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d411bdb4-33f6-4732-a9b7-559eacf690b0 2025-04-23 15:34:10,772 - DEBUG - Requesting: http://10.0.0.33:8082/project/1d00a0d4-3743-45a5-99c4-c3936dcd3df8 2025-04-23 15:34:10,844 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/66c58aa7-0942-447d-a0d4-3ebc58f038f5 2025-04-23 15:34:10,860 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/66c58aa7-0942-447d-a0d4-3ebc58f038f5 2025-04-23 15:34:10,876 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/663d082d-8e84-4a4a-9c04-30c3def9edac 2025-04-23 15:34:10,886 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/663d082d-8e84-4a4a-9c04-30c3def9edac 2025-04-23 15:34:10,894 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/0dc360d1-b7a0-4c01-b27b-ff0d61901f56 2025-04-23 15:34:10,901 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-23 15:34:10,901 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/66c58aa7-0942-447d-a0d4-3ebc58f038f5 2025-04-23 15:34:10,912 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/663d082d-8e84-4a4a-9c04-30c3def9edac 2025-04-23 15:34:10,927 - INFO - Verified VN network id 10 for VN 66c58aa7-0942-447d-a0d4-3ebc58f038f5 2025-04-23 15:34:10,927 - INFO - Verifications in API Server for VN ctest-vn-03265909 passed 2025-04-23 15:34:10,927 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/66c58aa7-0942-447d-a0d4-3ebc58f038f5 2025-04-23 15:34:10,938 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/663d082d-8e84-4a4a-9c04-30c3def9edac 2025-04-23 15:34:10,949 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/663d082d-8e84-4a4a-9c04-30c3def9edac 2025-04-23 15:34:10,959 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/0dc360d1-b7a0-4c01-b27b-ff0d61901f56 2025-04-23 15:34:10,976 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-04802414:ctest-vn-03265909', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-04802414', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7405477612300158077', 'uuid-lslong': '11588956719798040821'}, 'enable': 'true', 'created': '2025-04-23T15:34:08', 'last-modified': '2025-04-23T15:34:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.566046'} 2025-04-23 15:34:10,983 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-23 15:34:10,984 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-03265909 passed 2025-04-23 15:34:10,984 - DEBUG - ====Verifying policy data for ctest-vn-03265909 in API_Server ====== 2025-04-23 15:34:10,984 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-04-23 15:34:10,990 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d411bdb4-33f6-4732-a9b7-559eacf690b0 2025-04-23 15:34:11,006 - DEBUG - Requesting: http://10.0.0.33:8082/project/1d00a0d4-3743-45a5-99c4-c3936dcd3df8 2025-04-23 15:34:11,083 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/66c58aa7-0942-447d-a0d4-3ebc58f038f5 2025-04-23 15:34:11,098 - DEBUG - ==>Verifying data for policy with id: 77f9a8b7-6213-4994-af5e-adf701b17d4d, fqn: ['default-domain', 'ctest-TestBasicPolicy-04802414', 'ctest-policy-allow-all-23088582'] 2025-04-23 15:34:11,098 - INFO - VN ctest-vn-03265909 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-23 15:34:11,098 - DEBUG - Verifying the vn in opserver 2025-04-23 15:34:11,098 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-04802414:ctest-vn-03265909 virtual network link through opserver 10.0.0.33 2025-04-23 15:34:11,098 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-04-23 15:34:11,111 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-04802414:ctest-vn-03265909', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-04802414:ctest-vn-03265909?flat'} 2025-04-23 15:34:11,111 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-04802414:ctest-vn-03265909 is found in opserver 2025-04-23 15:34:11,123 - DEBUG - Do not have enough data to verify VN in agent 2025-04-23 15:34:11,129 - DEBUG - VRF ids for VN ctest-vn-03265909: {} 2025-04-23 15:34:11,192 - DEBUG - Services list from nova: [, , ] 2025-04-23 15:34:12,307 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3189-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3189-1) 2025-04-23 15:34:13,836 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3189-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3189-1) 2025-04-23 15:34:13,836 - INFO - Waiting for VM ctest-TestBasicPolicy-04802414-31335587 to be up.. 2025-04-23 15:34:13,931 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-23 15:34:19,028 - DEBUG - VM is in ACTIVE state now 2025-04-23 15:34:19,028 - INFO - VM name : ctest-TestBasicPolicy-04802414-31335587 2025-04-23 15:34:19,116 - DEBUG - VM ctest-TestBasicPolicy-04802414-31335587 ID is 64dc885e-76b3-4704-937e-5b391baa90d1 2025-04-23 15:34:19,148 - DEBUG - VM ctest-TestBasicPolicy-04802414-31335587 launched on Node cn-jenkins-deploy-platform-ansible-os-3189-1 2025-04-23 15:34:19,253 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/64dc885e-76b3-4704-937e-5b391baa90d1 2025-04-23 15:34:19,266 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/b0ea6372-2b34-48a9-bba9-dc8c143d4982 2025-04-23 15:34:22,533 - 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 1018ms') 2025-04-23 15:34:22,533 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-04802414-31335587 failed! 2025-04-23 15:34:22,596 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-04802414:ctest-vn-57483763 is 176.249.241.129 and allocation pool is NOT set 2025-04-23 15:34:24,656 - 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=5.28 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.918 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.918/3.099/5.281/2.181 ms') 2025-04-23 15:34:24,656 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-04802414-31335587 passed 2025-04-23 15:34:24,812 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-23 15:34:24,812 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-04802414-31335587, IP 176.249.241.131, Port 22 2025-04-23 15:34:24,967 - DEBUG - VM ctest-TestBasicPolicy-04802414-31335587 is ready for SSH connections 2025-04-23 15:34:24,967 - INFO - Waiting for VM ctest-TestBasicPolicy-04802414-16360652 to be up.. 2025-04-23 15:34:25,047 - DEBUG - VM is in ACTIVE state now 2025-04-23 15:34:25,047 - INFO - VM name : ctest-TestBasicPolicy-04802414-16360652 2025-04-23 15:34:25,129 - DEBUG - VM ctest-TestBasicPolicy-04802414-16360652 ID is 013f316d-69b5-493c-a5d8-b078896f7c04 2025-04-23 15:34:25,129 - DEBUG - VM ctest-TestBasicPolicy-04802414-16360652 launched on Node cn-jenkins-deploy-platform-ansible-os-3189-1 2025-04-23 15:34:25,208 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/013f316d-69b5-493c-a5d8-b078896f7c04 2025-04-23 15:34:25,218 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/91d480c5-22b6-45f9-b65c-a1adcf841005 2025-04-23 15:34:26,461 - 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.47 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.01 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.006/2.236/3.466/1.230 ms') 2025-04-23 15:34:26,461 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-04802414-16360652 passed 2025-04-23 15:34:26,616 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-23 15:34:26,616 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-04802414-16360652, IP 207.173.121.3, Port 22 2025-04-23 15:34:26,771 - DEBUG - VM ctest-TestBasicPolicy-04802414-16360652 is ready for SSH connections 2025-04-23 15:34:26,771 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-23 15:34:26,771 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 207.173.121.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-04-23 15:34:26,772 - DEBUG - ping -s 56 -c 3 -W 1 207.173.121.3 2025-04-23 15:34:30,557 - DEBUG - PING 207.173.121.3 (207.173.121.3): 56 data bytes 64 bytes from 207.173.121.3: seq=0 ttl=63 time=3.730 ms 64 bytes from 207.173.121.3: seq=1 ttl=63 time=0.735 ms 64 bytes from 207.173.121.3: seq=2 ttl=63 time=0.877 ms --- 207.173.121.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.735/1.780/3.730 ms 2025-04-23 15:34:30,557 - INFO - Ping to IP 207.173.121.3 from VM ctest-TestBasicPolicy-04802414-31335587 passed 2025-04-23 15:34:30,739 - DEBUG - Policy Update Response {"network-policy": {"uuid": "77f9a8b7-6213-4994-af5e-adf701b17d4d", "href": "http://10.0.0.33:8082/network-policy/77f9a8b7-6213-4994-af5e-adf701b17d4d"}} 2025-04-23 15:34:30,740 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-23 15:34:30,740 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 207.173.121.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-04-23 15:34:30,740 - DEBUG - ping -s 56 -c 3 -W 1 207.173.121.3 2025-04-23 15:34:33,964 - DEBUG - PING 207.173.121.3 (207.173.121.3): 56 data bytes 64 bytes from 207.173.121.3: seq=0 ttl=63 time=1.579 ms --- 207.173.121.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.579/1.579/1.579 ms 2025-04-23 15:34:33,964 - WARNING - Ping to IP 207.173.121.3 from VM ctest-TestBasicPolicy-04802414-31335587 failed 2025-04-23 15:34:33,964 - INFO - Deleting VM ctest-TestBasicPolicy-04802414-16360652 2025-04-23 15:34:34,033 - INFO - Deleting VM ctest-TestBasicPolicy-04802414-31335587 2025-04-23 15:34:34,455 - INFO - Deleted policy ctest-policy-allow-all-23088582 2025-04-23 15:34:34,456 - INFO - Deleting VN ctest-vn-03265909 2025-04-23 15:34:34,496 - DEBUG - VN 66c58aa7-0942-447d-a0d4-3ebc58f038f5 still in use: Unable to complete operation on network 66c58aa7-0942-447d-a0d4-3ebc58f038f5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5df17c7b-1be4-45a0-b1ae-3849579844ed'] 2025-04-23 15:34:34,496 - WARNING - Deleting VN ctest-vn-03265909 failed..Will retry 2025-04-23 15:34:36,620 - DEBUG - Response for deleting network () 2025-04-23 15:34:36,620 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/663d082d-8e84-4a4a-9c04-30c3def9edac 2025-04-23 15:34:36,629 - DEBUG - Response Code: 404 2025-04-23 15:34:36,629 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-04-23 15:34:36,635 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d411bdb4-33f6-4732-a9b7-559eacf690b0 2025-04-23 15:34:36,695 - DEBUG - Requesting: http://10.0.0.33:8082/project/1d00a0d4-3743-45a5-99c4-c3936dcd3df8 2025-04-23 15:34:36,777 - INFO - Validated that VN ctest-vn-03265909 is not found in API Server 2025-04-23 15:34:36,790 - DEBUG - VN ctest-vn-03265909 is not present in Agent 10.0.0.33 2025-04-23 15:34:36,790 - INFO - Validated that VN ctest-vn-03265909 is not in any agent 2025-04-23 15:34:36,809 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-03265909 info 2025-04-23 15:34:36,809 - INFO - Deleting VN ctest-vn-57483763 2025-04-23 15:34:36,921 - DEBUG - Response for deleting network () 2025-04-23 15:34:36,921 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/e65d7fc1-0f9b-4da0-a478-5d8fa7131300 2025-04-23 15:34:36,927 - DEBUG - Response Code: 404 2025-04-23 15:34:36,927 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-04-23 15:34:36,941 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d411bdb4-33f6-4732-a9b7-559eacf690b0 2025-04-23 15:34:36,998 - DEBUG - Requesting: http://10.0.0.33:8082/project/1d00a0d4-3743-45a5-99c4-c3936dcd3df8 2025-04-23 15:34:37,076 - INFO - Validated that VN ctest-vn-57483763 is not found in API Server 2025-04-23 15:34:37,088 - DEBUG - VN ctest-vn-57483763 is not present in Agent 10.0.0.33 2025-04-23 15:34:37,088 - INFO - Validated that VN ctest-vn-57483763 is not in any agent 2025-04-23 15:34:37,106 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-57483763 info 2025-04-23 15:34:37,369 - DEBUG - No XMPP flaps were noticed during the test 2025-04-23 15:34:37,370 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31] 2025-04-23 15:34:37,370 - INFO - -------------------------------------------------------------------------------- 2025-04-23 15:34:38,195 - INFO - Deleted project: ctest-TestBasicPolicy-04802414, ID : 1d00a0d4-3743-45a5-99c4-c3936dcd3df8