Actions
Bug #22005
closedcontroller integration test fails with s3cmd 2.3.0+
Status:
Resolved
Priority:
Normal
Assigned To:
-
Category:
Tests
Target version:
-
Story points:
-
Release:
Release relationship:
Auto
Description
This looks like an incompatibility with a new version of s3cmd:
integration_test.go:371: c.Check(string(buf), check.Matches, `(?ms).*`+flen+` (bytes in|of `+flen+`).*`) ... value string = "" + ... "\n" + ... "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n" + ... " An unexpected error has occurred.\n" + ... " Please try reproducing the error using\n" + ... " the latest s3cmd code from the git master\n" + ... " branch found at:\n" + ... " https://github.com/s3tools/s3cmd\n" + ... " and have a look at the known issues list:\n" + ... " https://github.com/s3tools/s3cmd/wiki/Common-known-issues-and-their-solutions-(FAQ)\n" + ... " If the error persists, please report the\n" + ... " following lines (removing any private\n" + ... " info as necessary) to:\n" + ... " s3tools-bugs@lists.sourceforge.net\n" + ... "\n" + ... "\n" + ... "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n" + ... "\n" + ... "Invoked as: /usr/bin/s3cmd --ssl --no-check-certificate --host=127.0.0.33:45895 --host-bucket=127.0.0.33:45895 --access_key=v2_z1111-gj3su-muap79xge40ewgb_2q871k3h9o1ra5v2ptka7i3whummfkyl7ljng491z9w3prej07 --secret_key=v2_z1111-gj3su-muap79xge40ewgb_2q871k3h9o1ra5v2ptka7i3whummfkyl7ljng491z9w3prej07 get s3://z3333-4zz18-xnc1q98h6upyzg5/test.txt /tmp/check-1037300014/5/tmpfile\n" + ... "Problem: <class 'KeyError: 'etag'\n" + ... "S3cmd: 2.3.0\n" + ... "python: 3.11.2 (main, May 2 2024, 11:59:08) [GCC 12.2.0]\n" + ... "environment LANG=en_US.UTF-8\n" + ... "\n" + ... "Traceback (most recent call last):\n" + ... " File \"/usr/bin/s3cmd\", line 3286, in <module>\n" + ... " rc = main()\n" + ... " ^^^^^^\n" + ... " File \"/usr/bin/s3cmd\", line 3183, in main\n" + ... " rc = cmd_func(args)\n" + ... " ^^^^^^^^^^^^^^\n" + ... " File \"/usr/bin/s3cmd\", line 538, in cmd_object_get\n" + ... " remote_list, exclude_list, remote_total_size = fetch_remote_list(\n" + ... " ^^^^^^^^^^^^^^^^^^\n" + ... " File \"/usr/lib/python3/dist-packages/S3/FileLists.py\", line 508, in fetch_remote_list\n" + ... " _get_remote_attribs(uri, remote_item)\n" + ... " File \"/usr/lib/python3/dist-packages/S3/FileLists.py\", line 379, in _get_remote_attribs\n" + ... " 'md5': response['headers']['etag'].strip('\"\\''),\n" + ... " ~~~~~~~~~~~~~~~~~~~^^^^^^^^\n" + ... "KeyError: 'etag'\n" + ... "\n" + ... "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n" + ... " An unexpected error has occurred.\n" + ... " Please try reproducing the error using\n" + ... " the latest s3cmd code from the git master\n" + ... " branch found at:\n" + ... " https://github.com/s3tools/s3cmd\n" + ... " and have a look at the known issues list:\n" + ... " https://github.com/s3tools/s3cmd/wiki/Common-known-issues-and-their-solutions-(FAQ)\n" + ... " If the error persists, please report the\n" + ... " above lines (removing any private\n" + ... " info as necessary) to:\n" + ... " s3tools-bugs@lists.sourceforge.net\n" + ... "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n" + ... "\n" ... regex string = "(?ms).*41 (bytes in|of 41).*" FAIL: integration_test.go:302: IntegrationSuite.TestS3WithFederatedToken
Actions