Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-6750

[Python] Silence S3 error logs by default

    XMLWordPrintableJSON

Details

    Description

      Some errors get displayed at the end of test_fs.py:

      $ python -m pytest --tb=native pyarrow/tests/test_fs.py 
      =========================================================================== test session starts ============================================================================
      platform linux -- Python 3.7.3, pytest-5.1.1, py-1.8.0, pluggy-0.12.0
      hypothesis profile 'dev' -> max_examples=10, database=DirectoryBasedExampleDatabase('/home/antoine/arrow/dev/python/.hypothesis/examples')
      rootdir: /home/antoine/arrow/dev/python, inifile: setup.cfg
      plugins: timeout-1.3.3, repeat-0.8.0, hypothesis-3.82.1, lazy-fixture-0.5.2, forked-1.0.2, xdist-1.28.0
      collected 90 items                                                                                                                                                         
      
      pyarrow/tests/test_fs.py ..........................................................................................                                                  [100%]
      
      ============================================================================ 90 passed in 1.33s ============================================================================
      19-08-07T01-59-21Z
      vary : Origin
      x-amz-request-id : 15C988FDC2359A9C
      x-xss-protection : 1; mode=block
      [ERROR] 2019-10-01 13:29:28.597 AWSClient [139765563750208] HTTP response code: 409
      Exception name: BucketAlreadyOwnedByYou
      Error message: Your previous request to create the named bucket succeeded and you already own it.
      9 response headers:
      accept-ranges : bytes
      content-length : 366
      content-security-policy : block-all-mixed-content
      content-type : application/xml
      date : Tue, 01 Oct 2019 13:29:28 GMT
      server : MinIO/RELEASE.2019-08-07T01-59-21Z
      vary : Origin
      x-amz-request-id : 15C988FDC317620E
      x-xss-protection : 1; mode=block
      
      [etc.]
      

      Attachments

        Issue Links

          Activity

            People

              apitrou Antoine Pitrou
              apitrou Antoine Pitrou
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m