Skip to content

Flaky test_distributed_ddl::test_implicit_macros[configs] #75813

@qoega

Description

@qoega

Describe the bug

hosts = ':2181'

    def collect_hosts(hosts):
        """
           Collect a set of hosts and an optional chroot from
           a string or a list of strings.
        """
        if isinstance(hosts, list):
            if hosts[-1].strip().startswith('/'):
                host_ports, chroot = hosts[:-1], hosts[-1]
            else:
                host_ports, chroot = hosts, None
        else:
            host_ports, chroot = hosts.partition("/")[::2]
            host_ports = host_ports.split(",")
            chroot = "/" + chroot if chroot else None
    
        result = []
        for host_port in host_ports:
            # put all complexity of dealing with
            # IPv4 & IPv6 address:port on the urlsplit
            res = urllib_parse.urlsplit("xxx://" + host_port)
            host = res.hostname
            if host is None:
>               raise ValueError("bad hostname")
E               ValueError: bad hostname

somehow we have no hosts for kazoo when checking

        # Check that table was created at correct path in zookeeper
>       assert (
            test_cluster.get_kazoo_client("zoo1").exists(
                "/clickhouse/tables/test_db/0-1/test_macro"
            )
            is not None
        )

https://s3.amazonaws.com/clickhouse-test-reports/0/05ff9338577ec57914d73e7fe480b9cc563e2169/integration_tests__asan__[2_4].html

How to reproduce

No response

Error message and/or stacktrace

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    testingSpecial issue with list of bugs found by CI

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions