Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PBM-1367 check sharded timeseries #192

Merged
merged 2 commits into from
Aug 13, 2024

add sleep for PBM to release locks

8e2e4d8
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

PBM-1367 check sharded timeseries #192

add sleep for PBM to release locks
8e2e4d8
Select commit
Loading
Failed to load commit list.
GitHub Actions / JUnit Test Report failed Aug 13, 2024 in 0s

28 tests run, 19 passed, 8 skipped, 1 failed.

Annotations

Check failure on line 87 in pbm-functional/pytest/test_timeseries.py

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

test_timeseries.test_logical_PBM_T261

AssertionError: Starting backup '2024-08-13T09:57:45Z'....
  Waiting for '2024-08-13T09:57:45Z' backup................... done
  
  
assert 0 != 0
 +  where 0 = CommandResult(backend=<testinfra.backend.docker.DockerBackend object at 0x7f46d6797ed0>, exit_status=0, command=b'pbm ...backup '2024-08-13T09:57:45Z'....\nWaiting for '2024-08-13T09:57:45Z' backup................... done\n\n", _stderr=b'').rc
Raw output
start_cluster = True, cluster = <cluster.Cluster object at 0x7f46d674db10>

    @pytest.mark.timeout(600,func_only=True)
    def test_logical_PBM_T261(start_cluster,cluster):
        cluster.check_pbm_status()
        assert pymongo.MongoClient(cluster.connection)["test"].command("collstats", "test1").get("sharded", False)
        assert pymongo.MongoClient(cluster.connection)["test"].command("collstats", "test2").get("sharded", False)
        result=cluster.exec_pbm_cli('backup -t logical --wait')
>       assert result.rc != 0, result.stdout
E       AssertionError: Starting backup '2024-08-13T09:57:45Z'....
E         Waiting for '2024-08-13T09:57:45Z' backup................... done
E         
E         
E       assert 0 != 0
E        +  where 0 = CommandResult(backend=<testinfra.backend.docker.DockerBackend object at 0x7f46d6797ed0>, exit_status=0, command=b'pbm ...backup '2024-08-13T09:57:45Z'....\nWaiting for '2024-08-13T09:57:45Z' backup................... done\n\n", _stderr=b'').rc

test_timeseries.py:87: AssertionError