Giter Club home page Giter Club logo

Comments (4)

nyh avatar nyh commented on September 28, 2024

Seen again in CI https://jenkins.scylladb.com/job/scylla-master/job/scylla-ci/9724/testReport/junit/(root)/test_auth_v2_migration/Tests___Unit_Tests___test_auth_v2_migration_debug_1/

request = <FixtureRequest for <Function test_auth_v2_migration>>
manager = <test.pylib.manager_client.ManagerClient object at 0x7f5f9b8d31d0>

    @pytest.mark.asyncio
    async def test_auth_v2_migration(request, manager: ManagerClient):
        # First, force the first node to start in legacy mode
        cfg = {'force_gossip_topology_changes': True}
    
        servers = [await manager.server_add(config=cfg)]
        # Enable raft-based node operations for subsequent nodes - they should fall back to
        # using gossiper-based node operations
        del cfg['force_gossip_topology_changes']
    
        servers += [await manager.server_add(config=cfg) for _ in range(2)]
        cql = manager.cql
        assert(cql)
    
        logging.info("Waiting until driver connects to every server")
        hosts = await wait_for_cql_and_get_hosts(cql, servers, time.time() + 60)
    
        logging.info("Checking the upgrade state on all nodes")
        for host in hosts:
            status = await manager.api.raft_topology_upgrade_status(host.address)
            assert status == "not_upgraded"
    
        await populate_auth_v1_data(manager)
>       await warmup_v1_static_values(manager, hosts)

test/auth_cluster/test_auth_v2_migration.py:153: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

manager = <test.pylib.manager_client.ManagerClient object at 0x7f5f9b8d31d0>
hosts = [<Host: 127.247.13.9:9042 datacenter1>, <Host: 127.247.13.10:9042 datacenter1>, <Host: 127.247.13.14:9042 datacenter1>]

    async def warmup_v1_static_values(manager: ManagerClient, hosts):
        # auth-v1 was using statics to cache internal queries
        # in auth-v2 those statics were removed but we want to
        # verify that it was effective so trigger here internal
        # call to potentially populate static storage and we'll
        # verify later that after migration properly formed query
        # executes (query has to change because keyspace name changes)
        cql = manager.get_cql()
>       await asyncio.gather(*(cql.run_async("LIST ROLES", host=host) for host in hosts))
E       cassandra.InvalidRequest: Error from server: code=2200 [Invalid query] message="Role deleted_user doesn't exist."

test/auth_cluster/test_auth_v2_migration.py:81: InvalidRequest

from scylladb.

mykaul avatar mykaul commented on September 28, 2024

We've seen it few times in CI already - let's prioritize fixing this.

from scylladb.

nyh avatar nyh commented on September 28, 2024

We've seen it few times in CI already - let's prioritize fixing this.

Also note that there are two more issues about the flakiness of this test - #18319 and #19039 - the error messages look different so I don't know if they are the same problem or different problems.

from scylladb.

ptrsmrn avatar ptrsmrn commented on September 28, 2024

We lack data to resolve this issue. f9abe52 should help us better understand what's the root cause. For now I'm closing the ticket, we can reopen if the failure reappears.

from scylladb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.