Skip to content

tests: Symlink volume tests#5284

Merged
crosbymichael merged 1 commit intocontainerd:masterfrom
claudiubelu:test-symlinks
Jun 3, 2021
Merged

tests: Symlink volume tests#5284
crosbymichael merged 1 commit intocontainerd:masterfrom
claudiubelu:test-symlinks

Conversation

@claudiubelu
Copy link
Copy Markdown
Contributor

@claudiubelu claudiubelu commented Mar 30, 2021

There was a known issue regarding how the symlink files mounted as volumes were being handled on Windows. This commit adds tests that will check against those issue to ensure there won't be any regressions.

Related issue: #4915

Signed-off-by: Claudiu Belu [email protected]

@k8s-ci-robot
Copy link
Copy Markdown

Hi @claudiubelu. Thanks for your PR.

I'm waiting for a containerd member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Mar 30, 2021

Build succeeded.

@claudiubelu claudiubelu force-pushed the test-symlinks branch 2 times, most recently from b6b8902 to 2d3b4ca Compare April 6, 2021 13:51
@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Apr 6, 2021

Build succeeded.

@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Apr 12, 2021

Build succeeded.

@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Apr 12, 2021

Build succeeded.

@thaJeztah
Copy link
Copy Markdown
Member

@kevpar @TBBle ptal

Comment thread integration/main_test.go Outdated
Comment thread integration/container_volume_test.go Outdated
Comment thread integration/container_volume_test.go Outdated
@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Apr 19, 2021

Build succeeded.

Comment thread integration/container_volume_test.go Outdated
Comment thread integration/container_volume_test.go Outdated
Comment thread integration/container_volume_test.go Outdated
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I haven't looked about to see what the idiom is, but I would have found this clearer to read in the test itself if this was createFileFn, so I was looking for a variable named test, not an imported module named test.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Sure, will rename test to testCase and createFile to createFileFn. I was doing something similar to this: https://github.com/containerd/containerd/blob/master/integration/pod_hostname_test.go#L36

Copy link
Copy Markdown
Contributor Author

@claudiubelu claudiubelu left a comment

Choose a reason for hiding this comment

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

/ok-to-test

Comment thread integration/container_volume_test.go Outdated
Comment thread integration/container_volume_test.go Outdated
Comment thread integration/container_volume_test.go Outdated
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Sure, will rename test to testCase and createFile to createFileFn. I was doing something similar to this: https://github.com/containerd/containerd/blob/master/integration/pod_hostname_test.go#L36

@k8s-ci-robot
Copy link
Copy Markdown

@claudiubelu: Cannot trigger testing until a trusted user reviews the PR and leaves an /ok-to-test message.

Details

In response to this:

/ok-to-test

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Apr 19, 2021

Build succeeded.

Copy link
Copy Markdown
Member

@kzys kzys left a comment

Choose a reason for hiding this comment

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

LGTM!

/ok-to-test

@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Apr 28, 2021

Build succeeded.

@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Apr 28, 2021

Build succeeded.

@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Apr 28, 2021

Build succeeded.

@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Apr 29, 2021

Build succeeded.

@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Apr 30, 2021

Build succeeded.

@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented May 13, 2021

Build succeeded.

@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented May 17, 2021

Build succeeded.

@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented May 17, 2021

Build succeeded.

Copy link
Copy Markdown
Member

@kzys kzys left a comment

Choose a reason for hiding this comment

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

@containerd/committers Can someone take a look?

Copy link
Copy Markdown
Member

@samuelkarp samuelkarp left a comment

Choose a reason for hiding this comment

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

LGTM

Comment thread integration/container_volume_test.go Outdated
@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Jun 1, 2021

Build succeeded.

@thaJeztah
Copy link
Copy Markdown
Member

Oh! Sorry, I see you used the "suggestions" option on GitHub to include my suggested changes, but unfortunately that adds a commit without a correct DCO sign-off 😞

   * ac4e56b0 "Update integration/container_volume_test.go" ... FAIL
    - PASS - commit does not have any whitespace errors
    - FAIL - does not have a valid DCO

Could you squash the two commits, and make sure it has your DCO (signed-off-by)? Sorry for that, I always forget that happens.

@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Jun 2, 2021

Build succeeded.

Copy link
Copy Markdown
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

There was a known issue regarding how the symlink files mounted as
volumes were being handled on Windows. This commit adds tests that
will check against those issue to ensure there won't be any
regressions.

Signed-off-by: Claudiu Belu <[email protected]>
@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Jun 3, 2021

Build succeeded.

@crosbymichael crosbymichael merged commit 265b394 into containerd:master Jun 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants