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

Add failing reference test #1066

Closed
wants to merge 1 commit into from
Closed

Conversation

passaro
Copy link
Contributor

@passaro passaro commented Oct 16, 2024

Description of change

One of the property-based tests found a new case where the reference model and Mountpoint implementation diverge. This change adds the case as a failing test:

---- reftests::harness::mutations::regression_put_nested_over_open_file stdout ----
thread 'reftests::harness::mutations::regression_put_nested_over_open_file' panicked at mountpoint-s3/tests/reftests/harness.rs:640:29:
assertion `left == right` failed: for file "a" expecting RegularFile found Directory
  left: Directory
 right: RegularFile

The issue seems to be around the shadowing behavior when a "local" file is open (i.e. not uploaded yet) and a prefix with the same name is created on the bucket. To be further investigated.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and I agree to the terms of the Developer Certificate of Origin (DCO).

@passaro passaro had a problem deploying to PR integration tests October 16, 2024 14:23 — with GitHub Actions Failure
@passaro passaro had a problem deploying to PR integration tests October 16, 2024 14:23 — with GitHub Actions Failure
@passaro passaro had a problem deploying to PR integration tests October 16, 2024 14:23 — with GitHub Actions Failure
@passaro passaro had a problem deploying to PR integration tests October 16, 2024 14:23 — with GitHub Actions Failure
@passaro passaro had a problem deploying to PR integration tests October 16, 2024 14:23 — with GitHub Actions Failure
@passaro passaro had a problem deploying to PR integration tests October 16, 2024 14:23 — with GitHub Actions Failure
@passaro passaro had a problem deploying to PR integration tests October 16, 2024 14:23 — with GitHub Actions Failure
Signed-off-by: Alessandro Passaro <[email protected]>
@passaro passaro had a problem deploying to PR integration tests November 21, 2024 20:13 — with GitHub Actions Failure
@passaro passaro had a problem deploying to PR integration tests November 21, 2024 20:13 — with GitHub Actions Failure
@passaro passaro had a problem deploying to PR integration tests November 21, 2024 20:13 — with GitHub Actions Failure
@passaro passaro had a problem deploying to PR integration tests November 21, 2024 20:13 — with GitHub Actions Failure
@passaro passaro had a problem deploying to PR integration tests November 21, 2024 20:13 — with GitHub Actions Failure
@passaro passaro had a problem deploying to PR integration tests November 21, 2024 20:13 — with GitHub Actions Failure
@passaro passaro had a problem deploying to PR integration tests November 21, 2024 20:13 — with GitHub Actions Failure
@dannycjones dannycjones self-assigned this Nov 28, 2024
c-hagem added a commit to c-hagem/mountpoint-s3 that referenced this pull request Dec 12, 2024
This commit addresses a case where MP model and property tests diverge (awslabs#1066).
The issue was caused by the reference not correctly implementing the shadowing order defined in (#4f8cf0b)[awslabs@4f8cf0b].
Additionally, it clarifies the Semantics arising from concurrent MPUs.

Signed-off-by: Christian Hagemeier <[email protected]>
c-hagem added a commit to c-hagem/mountpoint-s3 that referenced this pull request Dec 12, 2024
This commit addresses a case where MP model and property tests diverge (awslabs#1066). The issue was caused by the reference not correctly implementing the shadowing order defined in [#4f8cf0b](awslabs@4f8cf0b). Additionally, it clarifies the Semantics arising from concurrent MPUs.

Signed-off-by: Christian Hagemeier <[email protected]>
c-hagem added a commit to c-hagem/mountpoint-s3 that referenced this pull request Dec 12, 2024
This commit addresses a case where MP model and property tests diverge (awslabs#1066). The issue was caused by the reference not correctly implementing the shadowing order defined in [#4f8cf0b](awslabs@4f8cf0b). Additionally, it clarifies the Semantics arising from concurrent MPUs.

Signed-off-by: Christian Hagemeier <[email protected]>
c-hagem added a commit to c-hagem/mountpoint-s3 that referenced this pull request Dec 12, 2024
This commit addresses a case where MP model and property tests diverge (awslabs#1066). The issue was caused by the reference not correctly implementing the shadowing order defined in [#4f8cf0b](awslabs@4f8cf0b). Additionally, it clarifies the Semantics arising from concurrent MPUs.

Signed-off-by: Christian Hagemeier <[email protected]>
@dannycjones
Copy link
Contributor

Closing this in favour of #1201.

c-hagem added a commit to c-hagem/mountpoint-s3 that referenced this pull request Dec 13, 2024
This commit addresses a case where MP model and property tests diverge (awslabs#1066). The issue was caused by the reference not correctly implementing the shadowing order defined in [#4f8cf0b](awslabs@4f8cf0b). Additionally, it clarifies the Semantics arising from concurrent MPUs.

Signed-off-by: Christian Hagemeier <[email protected]>
github-merge-queue bot pushed a commit that referenced this pull request Dec 17, 2024
This commit addresses a case where MP model and property tests diverge
(#1066). The issue was
caused by the reference not correctly implementing the shadowing order
defined in
[#4f8cf0b](4f8cf0b).
This commit fixes the reference model, and clarifies the semantics
arising from concurrent MPUs.

This is not a breaking change, as it only impacts the reference tests.

This does not need a Changelog entry, as the change does not impact
Mountpoint's behaviour.

---

By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 license and I agree to the terms of
the [Developer Certificate of Origin
(DCO)](https://developercertificate.org/).

---------

Signed-off-by: Christian Hagemeier <[email protected]>
@passaro passaro deleted the reftest-fail branch January 21, 2025 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants