2025-04-21 11:03:56,110 - INFO - Domain Default found not creating 2025-04-21 11:03:56,244 - INFO - Project ctest-TestBasicPolicy-04425545 not found, creating it 2025-04-21 11:03:56,702 - INFO - Created Project:ctest-TestBasicPolicy-04425545, ID : 10309158-a3af-4f47-8cca-93d51c59814d 2025-04-21 11:03:58,282 - INFO - ================================================================================ 2025-04-21 11:03:58,283 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-21 11:03:58,283 - 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-21 11:03:58,537 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.254': '0'}} with 2025-04-21 11:03:58,537 - INFO - Initial checks done. Running the testcase now 2025-04-21 11:03:58,537 - INFO - 2025-04-21 11:03:59,139 - DEBUG - Response for create_network : {'network': {'id': '55adac38-7f0b-459a-924b-e000dc4a01c3', 'name': 'ctest-vn-60385015', 'tenant_id': '10309158a3af4f478cca93d51c59814d', 'project_id': '10309158a3af4f478cca93d51c59814d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04425545', 'ctest-vn-60385015'], 'port_security_enabled': True, 'description': ''}} 2025-04-21 11:03:59,359 - DEBUG - Response for create_subnet : {'subnet': {'id': '6391c19a-360f-4225-8740-5f8ad554c2db', 'name': '', 'tenant_id': '10309158a3af4f478cca93d51c59814d', 'network_id': '55adac38-7f0b-459a-924b-e000dc4a01c3', 'ip_version': 4, 'cidr': '162.167.33.128/26', 'allocation_pools': [{'start': '162.167.33.130', 'end': '162.167.33.190'}], 'gateway_ip': '162.167.33.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '162.167.33.130', 'tags': [], 'project_id': '10309158a3af4f478cca93d51c59814d'}} 2025-04-21 11:03:59,380 - INFO - Created VN ctest-vn-60385015 2025-04-21 11:03:59,435 - DEBUG - VN ctest-vn-60385015 UUID is 55adac38-7f0b-459a-924b-e000dc4a01c3 2025-04-21 11:03:59,775 - DEBUG - Response for create_network : {'network': {'id': '727a8841-6f15-4978-a267-409f8056ab40', 'name': 'ctest-vn-54259103', 'tenant_id': '10309158a3af4f478cca93d51c59814d', 'project_id': '10309158a3af4f478cca93d51c59814d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04425545', 'ctest-vn-54259103'], 'port_security_enabled': True, 'description': ''}} 2025-04-21 11:03:59,991 - DEBUG - Response for create_subnet : {'subnet': {'id': '7f50188f-c4b5-4feb-86f5-2ff107292c76', 'name': '', 'tenant_id': '10309158a3af4f478cca93d51c59814d', 'network_id': '727a8841-6f15-4978-a267-409f8056ab40', 'ip_version': 4, 'cidr': '188.219.112.64/26', 'allocation_pools': [{'start': '188.219.112.66', 'end': '188.219.112.126'}], 'gateway_ip': '188.219.112.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '188.219.112.66', 'tags': [], 'project_id': '10309158a3af4f478cca93d51c59814d'}} 2025-04-21 11:04:00,009 - INFO - Created VN ctest-vn-54259103 2025-04-21 11:04:00,063 - DEBUG - VN ctest-vn-54259103 UUID is 727a8841-6f15-4978-a267-409f8056ab40 2025-04-21 11:04:00,174 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-04425545:ctest-vn-60385015, 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-04425545:ctest-vn-54259103, 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-21 11:04:00,475 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '55adac38-7f0b-459a-924b-e000dc4a01c3', 'name': 'ctest-vn-60385015', 'tenant_id': '10309158a3af4f478cca93d51c59814d', 'project_id': '10309158a3af4f478cca93d51c59814d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6391c19a-360f-4225-8740-5f8ad554c2db'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04425545', 'ctest-vn-60385015'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-04425545', 'ctest-policy-allow-all-17735907']], 'subnet_ipam': [{'subnet_cidr': '162.167.33.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-21 11:04:00,718 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '727a8841-6f15-4978-a267-409f8056ab40', 'name': 'ctest-vn-54259103', 'tenant_id': '10309158a3af4f478cca93d51c59814d', 'project_id': '10309158a3af4f478cca93d51c59814d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7f50188f-c4b5-4feb-86f5-2ff107292c76'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04425545', 'ctest-vn-54259103'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-04425545', 'ctest-policy-allow-all-17735907']], 'subnet_ipam': [{'subnet_cidr': '188.219.112.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-21 11:04:00,887 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-04-21 11:04:01,223 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-04-21 11:04:01,250 - DEBUG - Requesting: http://10.0.0.41:8082/domain/202a02a7-3d2b-4ac4-a3d1-28f6ed611c9e 2025-04-21 11:04:01,266 - DEBUG - Requesting: http://10.0.0.41:8082/project/10309158-a3af-4f47-8cca-93d51c59814d 2025-04-21 11:04:01,343 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/55adac38-7f0b-459a-924b-e000dc4a01c3 2025-04-21 11:04:01,358 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/55adac38-7f0b-459a-924b-e000dc4a01c3 2025-04-21 11:04:01,371 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/0b41696e-94a2-4bea-8afd-985e242a3964 2025-04-21 11:04:01,381 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/0b41696e-94a2-4bea-8afd-985e242a3964 2025-04-21 11:04:01,391 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/6ba69acf-0415-4ddc-a4ca-a2d0f80862f7 2025-04-21 11:04:01,399 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-21 11:04:01,399 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/55adac38-7f0b-459a-924b-e000dc4a01c3 2025-04-21 11:04:01,411 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/0b41696e-94a2-4bea-8afd-985e242a3964 2025-04-21 11:04:01,428 - INFO - Verified VN network id 8 for VN 55adac38-7f0b-459a-924b-e000dc4a01c3 2025-04-21 11:04:01,428 - INFO - Verifications in API Server for VN ctest-vn-60385015 passed 2025-04-21 11:04:01,428 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/55adac38-7f0b-459a-924b-e000dc4a01c3 2025-04-21 11:04:01,440 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/0b41696e-94a2-4bea-8afd-985e242a3964 2025-04-21 11:04:01,450 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/0b41696e-94a2-4bea-8afd-985e242a3964 2025-04-21 11:04:01,459 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/6ba69acf-0415-4ddc-a4ca-a2d0f80862f7 2025-04-21 11:04:01,474 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-04425545:ctest-vn-60385015', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-04425545', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6173780022844409242', 'uuid-lslong': '10541765647091237315'}, 'enable': 'true', 'created': '2025-04-21T11:03:59', 'last-modified': '2025-04-21T11:04:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.032806'} 2025-04-21 11:04:01,482 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-21 11:04:01,482 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-60385015 passed 2025-04-21 11:04:01,482 - DEBUG - ====Verifying policy data for ctest-vn-60385015 in API_Server ====== 2025-04-21 11:04:01,482 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-04-21 11:04:01,488 - DEBUG - Requesting: http://10.0.0.41:8082/domain/202a02a7-3d2b-4ac4-a3d1-28f6ed611c9e 2025-04-21 11:04:01,500 - DEBUG - Requesting: http://10.0.0.41:8082/project/10309158-a3af-4f47-8cca-93d51c59814d 2025-04-21 11:04:01,574 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/55adac38-7f0b-459a-924b-e000dc4a01c3 2025-04-21 11:04:01,585 - DEBUG - ==>Verifying data for policy with id: a95c472c-82b6-48fa-8c1b-b9c5e647294a, fqn: ['default-domain', 'ctest-TestBasicPolicy-04425545', 'ctest-policy-allow-all-17735907'] 2025-04-21 11:04:01,585 - INFO - VN ctest-vn-60385015 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-21 11:04:01,585 - DEBUG - Verifying the vn in opserver 2025-04-21 11:04:01,585 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-04425545:ctest-vn-60385015 virtual network link through opserver 10.0.0.41 2025-04-21 11:04:01,585 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-04-21 11:04:01,917 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-04-21 11:04:01,975 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-04425545:ctest-vn-60385015', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-04425545:ctest-vn-60385015?flat'} 2025-04-21 11:04:01,975 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-04425545:ctest-vn-60385015 is found in opserver 2025-04-21 11:04:01,988 - DEBUG - Do not have enough data to verify VN in agent 2025-04-21 11:04:01,994 - DEBUG - VRF ids for VN ctest-vn-60385015: {} 2025-04-21 11:04:01,994 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-04-21 11:04:02,002 - DEBUG - Requesting: http://10.0.0.41:8082/domain/202a02a7-3d2b-4ac4-a3d1-28f6ed611c9e 2025-04-21 11:04:02,018 - DEBUG - Requesting: http://10.0.0.41:8082/project/10309158-a3af-4f47-8cca-93d51c59814d 2025-04-21 11:04:02,096 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/727a8841-6f15-4978-a267-409f8056ab40 2025-04-21 11:04:02,108 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/727a8841-6f15-4978-a267-409f8056ab40 2025-04-21 11:04:02,119 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/16ec295b-eb3c-4c44-afeb-10a978d90cd8 2025-04-21 11:04:02,127 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/16ec295b-eb3c-4c44-afeb-10a978d90cd8 2025-04-21 11:04:02,135 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/89f5ab5a-0c7e-4e3c-b4ab-a0e16cf7720c 2025-04-21 11:04:02,142 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-21 11:04:02,142 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/727a8841-6f15-4978-a267-409f8056ab40 2025-04-21 11:04:02,152 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/16ec295b-eb3c-4c44-afeb-10a978d90cd8 2025-04-21 11:04:02,168 - INFO - Verified VN network id 9 for VN 727a8841-6f15-4978-a267-409f8056ab40 2025-04-21 11:04:02,168 - INFO - Verifications in API Server for VN ctest-vn-54259103 passed 2025-04-21 11:04:02,168 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/727a8841-6f15-4978-a267-409f8056ab40 2025-04-21 11:04:02,178 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/16ec295b-eb3c-4c44-afeb-10a978d90cd8 2025-04-21 11:04:02,185 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/16ec295b-eb3c-4c44-afeb-10a978d90cd8 2025-04-21 11:04:02,193 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/89f5ab5a-0c7e-4e3c-b4ab-a0e16cf7720c 2025-04-21 11:04:02,206 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-04425545:ctest-vn-54259103', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-04425545', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8249055482100402552', 'uuid-lslong': '11702393210542664512'}, 'enable': 'true', 'created': '2025-04-21T11:03:59', 'last-modified': '2025-04-21T11:04:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.514503'} 2025-04-21 11:04:02,213 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-21 11:04:02,213 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-54259103 passed 2025-04-21 11:04:02,213 - DEBUG - ====Verifying policy data for ctest-vn-54259103 in API_Server ====== 2025-04-21 11:04:02,213 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-04-21 11:04:02,219 - DEBUG - Requesting: http://10.0.0.41:8082/domain/202a02a7-3d2b-4ac4-a3d1-28f6ed611c9e 2025-04-21 11:04:02,233 - DEBUG - Requesting: http://10.0.0.41:8082/project/10309158-a3af-4f47-8cca-93d51c59814d 2025-04-21 11:04:02,306 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/727a8841-6f15-4978-a267-409f8056ab40 2025-04-21 11:04:02,318 - DEBUG - ==>Verifying data for policy with id: a95c472c-82b6-48fa-8c1b-b9c5e647294a, fqn: ['default-domain', 'ctest-TestBasicPolicy-04425545', 'ctest-policy-allow-all-17735907'] 2025-04-21 11:04:02,318 - INFO - VN ctest-vn-54259103 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-21 11:04:02,318 - DEBUG - Verifying the vn in opserver 2025-04-21 11:04:02,318 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-04425545:ctest-vn-54259103 virtual network link through opserver 10.0.0.41 2025-04-21 11:04:02,318 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-04-21 11:04:02,328 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-04425545:ctest-vn-54259103', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-04425545:ctest-vn-54259103?flat'} 2025-04-21 11:04:02,328 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-04425545:ctest-vn-54259103 is found in opserver 2025-04-21 11:04:02,341 - DEBUG - Do not have enough data to verify VN in agent 2025-04-21 11:04:02,347 - DEBUG - VRF ids for VN ctest-vn-54259103: {} 2025-04-21 11:04:02,405 - DEBUG - Services list from nova: [, , ] 2025-04-21 11:04:03,500 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3153-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3153-1) 2025-04-21 11:04:04,800 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3153-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3153-1) 2025-04-21 11:04:04,800 - INFO - Waiting for VM ctest-TestBasicPolicy-04425545-13515836 to be up.. 2025-04-21 11:04:04,881 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-21 11:04:09,956 - DEBUG - VM is in ACTIVE state now 2025-04-21 11:04:09,956 - INFO - VM name : ctest-TestBasicPolicy-04425545-13515836 2025-04-21 11:04:10,026 - DEBUG - VM ctest-TestBasicPolicy-04425545-13515836 ID is 6640c4b6-16b5-42c0-904d-40dfdc2e115f 2025-04-21 11:04:10,046 - DEBUG - VM ctest-TestBasicPolicy-04425545-13515836 launched on Node cn-jenkins-deploy-platform-ansible-os-3153-1 2025-04-21 11:04:10,121 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/6640c4b6-16b5-42c0-904d-40dfdc2e115f 2025-04-21 11:04:10,129 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/107ae355-16f7-4425-ab3b-61e9a8bf1e45 2025-04-21 11:04:13,373 - 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 1011ms') 2025-04-21 11:04:13,373 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-04425545-13515836 failed! 2025-04-21 11:04:13,431 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-04425545:ctest-vn-60385015 is 162.167.33.129 and allocation pool is NOT set 2025-04-21 11:04:15,494 - 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.43 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.42 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.415/4.920/8.425/3.505 ms') 2025-04-21 11:04:15,494 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-04425545-13515836 passed 2025-04-21 11:04:15,651 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-21 11:04:15,651 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-04425545-13515836, IP 162.167.33.131, Port 22 2025-04-21 11:04:15,721 - 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-04-21 11:04:15,802 - DEBUG - VM ctest-TestBasicPolicy-04425545-13515836 is NOT ready for SSH connections, VM status: ACTIVE 2025-04-21 11:04:20,803 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-21 11:04:20,803 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-04425545-13515836, IP 162.167.33.131, Port 22 2025-04-21 11:04:20,959 - DEBUG - VM ctest-TestBasicPolicy-04425545-13515836 is ready for SSH connections 2025-04-21 11:04:20,959 - INFO - Waiting for VM ctest-TestBasicPolicy-04425545-73299168 to be up.. 2025-04-21 11:04:21,032 - DEBUG - VM is in ACTIVE state now 2025-04-21 11:04:21,032 - INFO - VM name : ctest-TestBasicPolicy-04425545-73299168 2025-04-21 11:04:21,100 - DEBUG - VM ctest-TestBasicPolicy-04425545-73299168 ID is 6ff343a5-9bd9-4901-a338-6a90c12f26ff 2025-04-21 11:04:21,100 - DEBUG - VM ctest-TestBasicPolicy-04425545-73299168 launched on Node cn-jenkins-deploy-platform-ansible-os-3153-1 2025-04-21 11:04:21,169 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/6ff343a5-9bd9-4901-a338-6a90c12f26ff 2025-04-21 11:04:21,177 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/9ccd0deb-253d-4839-bfb9-e1cad5cb6d34 2025-04-21 11:04:22,410 - 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.92 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.341 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.341/1.628/2.916/1.287 ms') 2025-04-21 11:04:22,410 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-04425545-73299168 passed 2025-04-21 11:04:22,559 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-21 11:04:22,559 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-04425545-73299168, IP 188.219.112.67, Port 22 2025-04-21 11:04:22,722 - DEBUG - VM ctest-TestBasicPolicy-04425545-73299168 is ready for SSH connections 2025-04-21 11:04:22,722 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-21 11:04:22,722 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 188.219.112.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-04-21 11:04:22,722 - DEBUG - ping -s 56 -c 3 -W 1 188.219.112.67 2025-04-21 11:04:26,409 - DEBUG - PING 188.219.112.67 (188.219.112.67): 56 data bytes 64 bytes from 188.219.112.67: seq=0 ttl=63 time=3.628 ms 64 bytes from 188.219.112.67: seq=1 ttl=63 time=0.773 ms 64 bytes from 188.219.112.67: seq=2 ttl=63 time=0.775 ms --- 188.219.112.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.773/1.725/3.628 ms 2025-04-21 11:04:26,409 - INFO - Ping to IP 188.219.112.67 from VM ctest-TestBasicPolicy-04425545-13515836 passed 2025-04-21 11:04:26,591 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a95c472c-82b6-48fa-8c1b-b9c5e647294a", "href": "http://10.0.0.41:8082/network-policy/a95c472c-82b6-48fa-8c1b-b9c5e647294a"}} 2025-04-21 11:04:26,591 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-21 11:04:26,591 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 188.219.112.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-04-21 11:04:26,591 - DEBUG - ping -s 56 -c 3 -W 1 188.219.112.67 2025-04-21 11:04:29,798 - DEBUG - PING 188.219.112.67 (188.219.112.67): 56 data bytes 64 bytes from 188.219.112.67: seq=0 ttl=63 time=1.309 ms --- 188.219.112.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.309/1.309/1.309 ms 2025-04-21 11:04:29,798 - WARNING - Ping to IP 188.219.112.67 from VM ctest-TestBasicPolicy-04425545-13515836 failed 2025-04-21 11:04:29,798 - INFO - Deleting VM ctest-TestBasicPolicy-04425545-73299168 2025-04-21 11:04:29,863 - INFO - Deleting VM ctest-TestBasicPolicy-04425545-13515836 2025-04-21 11:04:30,240 - INFO - Deleted policy ctest-policy-allow-all-17735907 2025-04-21 11:04:30,241 - INFO - Deleting VN ctest-vn-54259103 2025-04-21 11:04:30,277 - DEBUG - VN 727a8841-6f15-4978-a267-409f8056ab40 still in use: Unable to complete operation on network 727a8841-6f15-4978-a267-409f8056ab40. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-73b9846e-de96-449b-b14d-30be37dea581'] 2025-04-21 11:04:30,277 - WARNING - Deleting VN ctest-vn-54259103 failed..Will retry 2025-04-21 11:04:32,397 - DEBUG - Response for deleting network () 2025-04-21 11:04:32,397 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/16ec295b-eb3c-4c44-afeb-10a978d90cd8 2025-04-21 11:04:32,406 - DEBUG - Response Code: 404 2025-04-21 11:04:32,406 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-04-21 11:04:32,412 - DEBUG - Requesting: http://10.0.0.41:8082/domain/202a02a7-3d2b-4ac4-a3d1-28f6ed611c9e 2025-04-21 11:04:32,466 - DEBUG - Requesting: http://10.0.0.41:8082/project/10309158-a3af-4f47-8cca-93d51c59814d 2025-04-21 11:04:32,552 - INFO - Validated that VN ctest-vn-54259103 is not found in API Server 2025-04-21 11:04:32,564 - DEBUG - VN ctest-vn-54259103 is not present in Agent 10.0.0.41 2025-04-21 11:04:32,565 - INFO - Validated that VN ctest-vn-54259103 is not in any agent 2025-04-21 11:04:32,582 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-54259103 info 2025-04-21 11:04:32,582 - INFO - Deleting VN ctest-vn-60385015 2025-04-21 11:04:32,693 - DEBUG - Response for deleting network () 2025-04-21 11:04:32,694 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/0b41696e-94a2-4bea-8afd-985e242a3964 2025-04-21 11:04:32,699 - DEBUG - Response Code: 404 2025-04-21 11:04:32,700 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-04-21 11:04:32,709 - DEBUG - Requesting: http://10.0.0.41:8082/domain/202a02a7-3d2b-4ac4-a3d1-28f6ed611c9e 2025-04-21 11:04:32,768 - DEBUG - Requesting: http://10.0.0.41:8082/project/10309158-a3af-4f47-8cca-93d51c59814d 2025-04-21 11:04:32,844 - INFO - Validated that VN ctest-vn-60385015 is not found in API Server 2025-04-21 11:04:32,856 - DEBUG - VN ctest-vn-60385015 is not present in Agent 10.0.0.41 2025-04-21 11:04:32,856 - INFO - Validated that VN ctest-vn-60385015 is not in any agent 2025-04-21 11:04:32,872 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-60385015 info 2025-04-21 11:04:33,126 - DEBUG - No XMPP flaps were noticed during the test 2025-04-21 11:04:33,126 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2025-04-21 11:04:33,126 - INFO - -------------------------------------------------------------------------------- 2025-04-21 11:04:33,831 - INFO - Deleted project: ctest-TestBasicPolicy-04425545, ID : 10309158-a3af-4f47-8cca-93d51c59814d