Skip to content

c8d/docker-py: Temporarily skip test_commit_*#46966

Merged
thaJeztah merged 1 commit intomoby:masterfrom
vvoland:c8d-dockerpy-skip-commit
Dec 19, 2023
Merged

c8d/docker-py: Temporarily skip test_commit_*#46966
thaJeztah merged 1 commit intomoby:masterfrom
vvoland:c8d-dockerpy-skip-commit

Conversation

@vvoland
Copy link
Contributor

@vvoland vvoland commented Dec 19, 2023

These tests check deprecated fields. Reenable them once a new docker-py is released.

- What I did

- How I did it

- How to verify it

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

@vvoland vvoland added status/2-code-review area/testing containerd-integration Issues and PRs related to containerd integration labels Dec 19, 2023
@vvoland vvoland added this to the 25.0.0 milestone Dec 19, 2023
@vvoland vvoland self-assigned this Dec 19, 2023
@vvoland vvoland requested a review from tianon as a code owner December 19, 2023 15:06
Copy link
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@vvoland vvoland marked this pull request as draft December 19, 2023 15:26
@vvoland
Copy link
Contributor Author

vvoland commented Dec 19, 2023

Not LGTM! 🙈 (bad Fixture name)

tests/integration/api_image_test.py:89: in test_commit
    assert img['Container'].startswith(id)
E   AssertionError: assert False
E    +  where False = <built-in method startswith of str object at 0x7f24d3aeacf0>('7f52ce4bc498f278121efa4247509994a12532c088f22bc3dfcba6354c22cb74')
E    +    where <built-in method startswith of str object at 0x7f24d3aeacf0> = ''.startswith
_____________________ CommitTest.test_commit_with_changes ______________________
tests/integration/api_image_test.py:107: in test_commit_with_changes
    assert img['Container'].startswith(cid['Id'])
E   AssertionError: assert False
E    +  where False = <built-in method startswith of str object at 0x7f24d3aeacf0>('f3cad02b1ad03d6e3f0bc5527f2097d8f68d14d2a1656cd59f12151476fd0c83')
E    +    where <built-in method startswith of str object at 0x7f24d3aeacf0> = ''.startswith

These tests check deprecated fields. Reenable them once a new docker-py
is released.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
@vvoland vvoland force-pushed the c8d-dockerpy-skip-commit branch from b86d357 to f6a160d Compare December 19, 2023 15:28
@vvoland
Copy link
Contributor Author

vvoland commented Dec 19, 2023

Should be fine now! Sorry 🤦🏻

@vvoland vvoland marked this pull request as ready for review December 19, 2023 15:28
@thaJeztah
Copy link
Member

Doh! I thought I checked the build, but maybe I did for the other one 🙈

@vvoland
Copy link
Contributor Author

vvoland commented Dec 19, 2023

Only the cache test is failing now 🎉

=================================== FAILURES ===================================
_____________________ BuildTest.test_build_with_cache_from _____________________
tests/integration/api_build_test.py:245: in test_build_with_cache_from
    assert counter == 3
E   assert 0 == 3
=============================== warnings summary ===============================

@vvoland vvoland mentioned this pull request Dec 19, 2023
4 tasks
Copy link
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

let's bring it in!

@thaJeztah thaJeztah merged commit c378b1b into moby:master Dec 19, 2023
@thaJeztah thaJeztah mentioned this pull request Jan 17, 2024
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/testing containerd-integration Issues and PRs related to containerd integration status/2-code-review

Projects

Development

Successfully merging this pull request may close these issues.

3 participants