Closed flaky-bot[bot] closed 1 year ago
commit: 4bfc0f46d0fca9cdd75be0b019dab98260c6656b buildURL: Build Status, Sponge status: failed
test_input = 'devsite://dotnet/my-pkg@latest' expected = 'xrefs/dotnet-my-pkg-2.0.0.tar.gz.yml' tmpdir = PosixPath('/tmp/pytest-of-kbuilder/pytest-0/test_get_xref_devsite___dotnet2') xref_test_blobs = None @pytest.mark.parametrize( "test_input,expected", [ ("http://google.com", "http://google.com"), ("devsite://does/not/exist", ""), ("devsite://does/not/exist@latest", ""), ("devsite://dotnet/my-pkg@1.0.0", "xrefs/dotnet-my-pkg-1.0.0.tar.gz.yml"), ("devsite://dotnet/my-pkg", "xrefs/dotnet-my-pkg-2.0.0.tar.gz.yml"), ("devsite://dotnet/my-pkg@latest", "xrefs/dotnet-my-pkg-2.0.0.tar.gz.yml"), ("devsite://dotnet/v-pkg@latest", "xrefs/dotnet-v-pkg-v4.0.0.tar.gz.yml"), ], ) def test_get_xref(test_input, expected, tmpdir, xref_test_blobs): test_bucket, storage_client = init_test() bucket = storage_client.get_bucket(test_bucket) tmpdir = pathlib.Path(tmpdir) got = generate.get_xref(test_input, bucket, tmpdir) if ":" in expected: assert got == expected return if expected == "": assert got == expected return expected_path = tmpdir / expected > assert str(expected_path) == got E AssertionError: assert '/tmp/pytest-....0.tar.gz.yml' == '' E + /tmp/pytest-of-kbuilder/pytest-0/test_get_xref_devsite___dotnet2/xrefs/dotnet-my-pkg-2.0.0.tar.gz.yml tests/test_generate.py:414: AssertionError
Note: #510 was also for this test, but it was closed more than 10 days ago. So, I didn't mark it flaky.
commit: 0e1d5383acf89eb56149017a63c57bd1140d5015 buildURL: Build Status, Sponge status: failed
Test output