You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "kou (via GitHub)" <gi...@apache.org> on 2023/06/23 06:08:58 UTC

[GitHub] [arrow] kou opened a new issue, #36257: [CI][Dev] Archery tests failed

kou opened a new issue, #36257:
URL: https://github.com/apache/arrow/issues/36257

   ### Describe the bug, including details regarding any error messages, version, and platform.
   
   Since https://github.com/apache/arrow/commit/bd1ebec0d5bde36ebeb028cebed93eebef357a8f .
   
   https://github.com/apache/arrow/actions/runs/5351670480/jobs/9705764436
   
   ```text
   ==================================== ERRORS ====================================
   ______________ ERROR at teardown of test_unathorized_user_comment ______________
   
       @pytest.fixture
       def responses():
           with rsps.RequestsMock() as mock:
   >           yield mock
   
   archery/tests/test_bot.py:39: 
   _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
   /opt/hostedtoolcache/Python/3.8.17/x64/lib/python3.8/site-packages/responses/__init__.py:929: in __exit__
       self.stop(allow_assert=success)
   _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
   
   self = <responses.RequestsMock object at 0x7f74bd9a0520>, allow_assert = True
   
       def stop(self, allow_assert: bool = True) -> None:
           if self._patcher:
               # prevent stopping unstarted patchers
               self._patcher.stop()
       
               # once patcher is stopped, clean it. This is required to create a new
               # fresh patcher on self.start()
               self._patcher = None
       
           if not self.assert_all_requests_are_fired:
               return
       
           if not allow_assert:
               return
       
           not_called = [m for m in self.registered() if m.call_count == 0]
           if not_called:
   >           raise AssertionError(
                   "Not all requests have been executed {0!r}".format(
                       [(match.method, match.url) for match in not_called]
                   )
               )
   E           AssertionError: Not all requests have been executed [('GET', '[https://api.github.com:443/repositories/169101701/issues/26](https://api.github.com/repositories/169101701/issues/26)'), ('GET', '[https://api.github.com:443/repos/ursa-labs/ursabot/pulls/26](https://api.github.com/repos/ursa-labs/ursabot/pulls/26)'), ('GET', '[https://api.github.com:443/repos/ursa-labs/ursabot/issues/comments/480243815](https://api.github.com/repos/ursa-labs/ursabot/issues/comments/480243815)'), ('POST', '[https://api.github.com:443/repos/ursa-labs/ursabot/issues/26/comments](https://api.github.com/repos/ursa-labs/ursabot/issues/26/comments)'), ('POST', '[https://api.github.com:443/repos/ursa-labs/ursabot/pulls/26/reactions](https://api.github.com/repos/ursa-labs/ursabot/pulls/26/reactions)')]
   
   /opt/hostedtoolcache/Python/3.8.17/x64/lib/python3.8/site-packages/responses/__init__.py:1126: AssertionError
   ...
   ```
   
   And more.
   
   I think that the commit isn't related to this failures/errors.
   
   ### Component(s)
   
   Continuous Integration, Developer Tools


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow] kou commented on issue #36257: [CI][Dev] Archery tests failed

Posted by "kou (via GitHub)" <gi...@apache.org>.
kou commented on issue #36257:
URL: https://github.com/apache/arrow/issues/36257#issuecomment-1620845491

   I could reproduce this on local.
   PyGithub 1.58.2 -> 1.59.0 upgrade is related.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow] raulcd closed issue #36257: [CI][Dev] Archery tests failed

Posted by "raulcd (via GitHub)" <gi...@apache.org>.
raulcd closed issue #36257: [CI][Dev] Archery tests failed
URL: https://github.com/apache/arrow/issues/36257


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow] raulcd commented on issue #36257: [CI][Dev] Archery tests failed

Posted by "raulcd (via GitHub)" <gi...@apache.org>.
raulcd commented on issue #36257:
URL: https://github.com/apache/arrow/issues/36257#issuecomment-1619971714

   This seems to happen also on other PRs like: https://github.com/apache/arrow/pull/36347
   
   I haven't been able to reproduce locally, so I am unsure on what the issue is:
   ```
   $ pytest -v archery/archery/tests/test_bot.py 
   ...
   ======== 29 passed in 0.41s ========
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org