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

Fixes application/zip attachments upload with process-allure-reports.py #644

Merged
merged 1 commit into from
Sep 21, 2023

Conversation

MaxGelbakhiani
Copy link

Faced the following problem with running neofs-testcases on neofs-s3-gw repo fork:

Exception: Command failed: NEOFS_CLI_PASSWORD=*** neofs-cli --rpc-endpoint st1.t5.fs.neo.org:8080 --wallet wallet.json  object put --cid 9GX3Bvpb5RFapar5g11zwwoBGDdxcSs35764xchZTVUF --timeout 600s --expire-at 9607 --file /home/runner/work/neofs-s3-gw/neofs-s3-gw/allure-report/data/attachments/700b2dbd13ff3e47.zip --attributes RunNumber=12-1695225472,FilePath=12-1695225472/data/attachments/700b2dbd13ff3e47.zip ContentType=application/zip
[41](https://github.com/MaxGelbakhiani/neofs-s3-gw/actions/runs/6251114048/job/16971515668#step:28:42)
Error code: 1

Stderr: Error: unknown command "ContentType=application/zip" for "neofs-cli object put"
[103](https://github.com/MaxGelbakhiani/neofs-s3-gw/actions/runs/6251114048/job/16971515668#step:28:104)
unknown command "ContentType=application/zip" for "neofs-cli object put"

https://github.com/MaxGelbakhiani/neofs-s3-gw/actions/runs/6251114048/job/16971515668#step:28:104

Adding a single comma sign fixes that error.

Signed-off-by: Maksim Gelbakhiani <max@nspcc.io>
Copy link
Member

@roman-khimov roman-khimov left a comment

Choose a reason for hiding this comment

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

That's literally nspcc-dev/neofs-node#2427, it just behaves better with 0.38.0 thanks to nspcc-dev/neofs-node#1941.

@roman-khimov roman-khimov merged commit 78dccf9 into master Sep 21, 2023
1 check passed
@roman-khimov roman-khimov deleted the process_allure_reports_fix branch September 21, 2023 06:27
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