Skip to content

Python tests broken if used against with ENABLE_HTTPS=0 #691

Closed
@harshavardhana

Description

{"name": "minio-py:test_make_bucket_default_region", "function": "make_bucket(bucket_name, location)", "args": {"bucket_name": "minio-py-test-d10ae090-eb26-4f07-91a8-3690881b9006", "location": "default value ('us-east-1')"}, "duration": 7, "status": "PASS"}
{"name": "minio-py:test_make_bucket_with_region", "function": "make_bucket(bucket_name, location)", "args": {"bucket_name": "minio-py-test-5d919d6f-8b4b-4993-9fea-347d5870bb60", "location": "us-west-1"}, "duration": 5, "status": "PASS"}
{"name": "minio-py:test_negative_make_bucket_invalid_name", "function": "make_bucket(bucket_name, location)", "args": {"location": "default value ('us-east-1')", "bucket_name": ["minio-py-test-9b082dd0-95b4-4f15-80dc-b3a5f5f87b77.", ".minio-py-test-9b082dd0-95b4-4f15-80dc-b3a5f5f87b77", "minio-py-test-9b082dd0-95b4-4f15-80dc-b3a5f5f87b77...abcd"]}, "status": "PASS"}
{"name": "minio-py:test_make_bucket_recreate", "function": "make_bucket(bucket_name, location)", "args": {"bucket_name": "minio-py-test-8d07fa6c-a67f-47b9-a915-8fb4a52d8501"}, "duration": 4, "status": "PASS"}
{"name": "minio-py:test_list_buckets", "function": "list_buckets()", "duration": 11, "status": "PASS"}
{"name": "minio-py:test_fput_object_small_file", "function": "fput_object(bucket_name, object_name, file_path, content_type, metadata, sse)", "args": {"bucket_name": "minio-py-test-b77bffa4-e109-4db7-b22a-a61b628a1a3e", "object_name": "1b7fd14c-5d20-4005-ae85-0ef6d2c7f773", "file_path": "datafile-1-MB", "metadata": {"x-amz-storage-class": "STANDARD_IA"}}, "duration": 31, "status": "PASS"}
{"name": "minio-py:test_fput_object_small_file_with_SSE-C", "function": "fput_object(bucket_name, object_name, file_path, content_type, metadata, sse)", "args": {"bucket_name": "minio-py-test-537faee6-4a7a-4144-9c45-ff0db93b971e", "object_name": "d14858c1-8ba4-4eb5-b305-39cecc569c56", "file_path": "datafile-1-MB", "metadata": {"x-amz-storage-class": "STANDARD_IA"}}, "duration": 15, "message": "InvalidRequest: message: Invalid Request", "error": "Traceback (most recent call last):\n  File \"./functional/tests.py\", line 302, in test_fput_object_small_file\n    client.fput_object(bucket_name, object_name+'-f', testfile, sse=sse)\n  File \"/home/harsha/.local/lib/python3.6/site-packages/minio-4.0.4-py3.6.egg/minio/api.py\", line 545, in fput_object\n    file_size, content_type, metadata, sse)\n  File \"/home/harsha/.local/lib/python3.6/site-packages/minio-4.0.4-py3.6.egg/minio/api.py\", line 784, in put_object\n    sse=sse)\n  File \"/home/harsha/.local/lib/python3.6/site-packages/minio-4.0.4-py3.6.egg/minio/api.py\", line 1479, in _do_put_object\n    content_sha256=sha256_hex\n  File \"/home/harsha/.local/lib/python3.6/site-packages/minio-4.0.4-py3.6.egg/minio/api.py\", line 1822, in _url_open\n    object_name).get_exception()\nminio.error.InvalidRequest: InvalidRequest: message: Invalid Request\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n  File \"./functional/tests.py\", line 1737, in main\n    test_fput_object_small_file(client, testfile, log_output, sse=ssec)\n  File \"./functional/tests.py\", line 304, in test_fput_object_small_file\n    raise Exception(err)\nException: InvalidRequest: message: Invalid Request\n", "status": "FAIL"}

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions