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

rmq basic_publish is blocking #2901

Open
craig8 opened this issue Mar 2, 2022 · 0 comments · Fixed by #2943
Open

rmq basic_publish is blocking #2901

craig8 opened this issue Mar 2, 2022 · 0 comments · Fixed by #2943
Assignees

Comments

@craig8
Copy link
Contributor

craig8 commented Mar 2, 2022

Description of Issue

This issue seems to be from the build_wrapper testing framework...

2022-03-02 13:21:28,217 pika.callback ERROR: Calling <bound method RMQConnection.on_open_error of <volttron.platform.vip.rmq_connection.RMQConnection object at 0x7f043e7cfc70>> for "0:_on_connection_error" failed
Traceback (most recent call last):
  File "/repos/volttron/env/lib/python3.8/site-packages/pika/callback.py", line 233, in process
    callback(*args, **keywords)
  File "/repos/volttron/volttron/platform/vip/rmq_connection.py", line 148, in on_open_error
    self._connect_error_callback()
  File "/repos/volttron/volttron/platform/vip/agent/core.py", line 993, in connection_error
    self.stop()
  File "/repos/volttron/volttron/platform/vip/agent/core.py", line 538, in stop
    super(Core, self).stop(timeout=timeout)
  File "/repos/volttron/volttron/platform/vip/agent/core.py", line 321, in stop
    return halt()
  File "/repos/volttron/volttron/platform/vip/agent/core.py", line 317, in halt
    self.greenlet.join(timeout)
  File "src/gevent/greenlet.py", line 797, in gevent._gevent_cgreenlet.Greenlet.join
  File "src/gevent/greenlet.py", line 823, in gevent._gevent_cgreenlet.Greenlet.join
  File "src/gevent/greenlet.py", line 812, in gevent._gevent_cgreenlet.Greenlet.join
  File "src/gevent/_greenlet_primitives.py", line 61, in gevent._gevent_c_greenlet_primitives.SwitchOutGreenletWithLoop.switch
  File "src/gevent/_greenlet_primitives.py", line 61, in gevent._gevent_c_greenlet_primitives.SwitchOutGreenletWithLoop.switch
  File "src/gevent/_greenlet_primitives.py", line 64, in gevent._gevent_c_greenlet_primitives.SwitchOutGreenletWithLoop.switch
  File "src/gevent/_greenlet_primitives.py", line 67, in gevent._gevent_c_greenlet_primitives.SwitchOutGreenletWithLoop.switch_out
  File "src/gevent/_greenlet_primitives.py", line 68, in gevent._gevent_c_greenlet_primitives.SwitchOutGreenletWithLoop.switch_out
gevent.exceptions.BlockingSwitchOutError: Impossible to call blocking function in the event loop callback
2022-03-02 13:21:28,218 pika.adapters.utils.io_services_utils ERROR: protocol.connection_lost(None) failed: exc=BlockingSwitchOutError('Impossible to call blocking function in the event loop callback'); <gevent._ssl3.SSLSocket at 0x7f043e7508b0 server=False, cipher=('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256) object, fd=31, family=2, type=1, proto=6>
Traceback (most recent call last):
  File "/repos/volttron/env/lib/python3.8/site-packages/pika/adapters/utils/io_services_utils.py", line 972, in _connection_lost_notify_async
    self._protocol.connection_lost(error)
  File "/repos/volttron/env/lib/python3.8/site-packages/pika/adapters/base_connection.py", line 431, in _proto_connection_lost
    self._on_stream_terminated(error)
  File "/repos/volttron/env/lib/python3.8/site-packages/pika/connection.py", line 2062, in _on_stream_terminated
    self.callbacks.process(0, self.ON_CONNECTION_ERROR, self, self,
  File "/repos/volttron/env/lib/python3.8/site-packages/pika/callback.py", line 60, in wrapper
    return function(*tuple(args), **kwargs)
  File "/repos/volttron/env/lib/python3.8/site-packages/pika/callback.py", line 92, in wrapper
    return function(*args, **kwargs)
  File "/repos/volttron/env/lib/python3.8/site-packages/pika/callback.py", line 233, in process
    callback(*args, **keywords)
  File "/repos/volttron/volttron/platform/vip/rmq_connection.py", line 148, in on_open_error
    self._connect_error_callback()
  File "/repos/volttron/volttron/platform/vip/agent/core.py", line 993, in connection_error
    self.stop()
  File "/repos/volttron/volttron/platform/vip/agent/core.py", line 538, in stop
    super(Core, self).stop(timeout=timeout)
  File "/repos/volttron/volttron/platform/vip/agent/core.py", line 321, in stop
    return halt()
  File "/repos/volttron/volttron/platform/vip/agent/core.py", line 317, in halt
    self.greenlet.join(timeout)
  File "src/gevent/greenlet.py", line 797, in gevent._gevent_cgreenlet.Greenlet.join
  File "src/gevent/greenlet.py", line 823, in gevent._gevent_cgreenlet.Greenlet.join
  File "src/gevent/greenlet.py", line 812, in gevent._gevent_cgreenlet.Greenlet.join
  File "src/gevent/_greenlet_primitives.py", line 61, in gevent._gevent_c_greenlet_primitives.SwitchOutGreenletWithLoop.switch
  File "src/gevent/_greenlet_primitives.py", line 61, in gevent._gevent_c_greenlet_primitives.SwitchOutGreenletWithLoop.switch
  File "src/gevent/_greenlet_primitives.py", line 64, in gevent._gevent_c_greenlet_primitives.SwitchOutGreenletWithLoop.switch
  File "src/gevent/_greenlet_primitives.py", line 67, in gevent._gevent_c_greenlet_primitives.SwitchOutGreenletWithLoop.switch_out
  File "src/gevent/_greenlet_primitives.py", line 68, in gevent._gevent_c_greenlet_primitives.SwitchOutGreenletWithLoop.switch_out
gevent.exceptions.BlockingSwitchOutError: Impossible to call blocking function in the event loop callback
2022-03-02 13:21:28,219 pika.adapters.utils.io_services_utils ERROR: Wrapped func exited with exception. Caller's stack:
Traceback (most recent call last):
  File "/repos/volttron/env/lib/python3.8/site-packages/pika/diagnostic_utils.py", line 53, in log_exception_func_wrap
    return func(*args, **kwargs)
  File "/repos/volttron/env/lib/python3.8/site-packages/pika/adapters/utils/io_services_utils.py", line 972, in _connection_lost_notify_async
    self._protocol.connection_lost(error)
  File "/repos/volttron/env/lib/python3.8/site-packages/pika/adapters/base_connection.py", line 431, in _proto_connection_lost
    self._on_stream_terminated(error)
  File "/repos/volttron/env/lib/python3.8/site-packages/pika/connection.py", line 2062, in _on_stream_terminated
    self.callbacks.process(0, self.ON_CONNECTION_ERROR, self, self,
  File "/repos/volttron/env/lib/python3.8/site-packages/pika/callback.py", line 60, in wrapper
    return function(*tuple(args), **kwargs)
  File "/repos/volttron/env/lib/python3.8/site-packages/pika/callback.py", line 92, in wrapper
    return function(*args, **kwargs)
  File "/repos/volttron/env/lib/python3.8/site-packages/pika/callback.py", line 233, in process
    callback(*args, **keywords)
  File "/repos/volttron/volttron/platform/vip/rmq_connection.py", line 148, in on_open_error
    self._connect_error_callback()
  File "/repos/volttron/volttron/platform/vip/agent/core.py", line 993, in connection_error
    self.stop()
  File "/repos/volttron/volttron/platform/vip/agent/core.py", line 538, in stop
    super(Core, self).stop(timeout=timeout)
  File "/repos/volttron/volttron/platform/vip/agent/core.py", line 321, in stop
    return halt()
  File "/repos/volttron/volttron/platform/vip/agent/core.py", line 317, in halt
    self.greenlet.join(timeout)
  File "src/gevent/greenlet.py", line 797, in gevent._gevent_cgreenlet.Greenlet.join
  File "src/gevent/greenlet.py", line 823, in gevent._gevent_cgreenlet.Greenlet.join
  File "src/gevent/greenlet.py", line 812, in gevent._gevent_cgreenlet.Greenlet.join
  File "src/gevent/_greenlet_primitives.py", line 61, in gevent._gevent_c_greenlet_primitives.SwitchOutGreenletWithLoop.switch
  File "src/gevent/_greenlet_primitives.py", line 61, in gevent._gevent_c_greenlet_primitives.SwitchOutGreenletWithLoop.switch
  File "src/gevent/_greenlet_primitives.py", line 64, in gevent._gevent_c_greenlet_primitives.SwitchOutGreenletWithLoop.switch
  File "src/gevent/_greenlet_primitives.py", line 67, in gevent._gevent_c_greenlet_primitives.SwitchOutGreenletWithLoop.switch_out
  File "src/gevent/_greenlet_primitives.py", line 68, in gevent._gevent_c_greenlet_primitives.SwitchOutGreenletWithLoop.switch_out
gevent.exceptions.BlockingSwitchOutError: Impossible to call blocking function in the event loop callback
Traceback (most recent call last):
  File "/repos/volttron/env/lib/python3.8/site-packages/pika/diagnostic_utils.py", line 53, in log_exception_func_wrap
    return func(*args, **kwargs)
  File "/repos/volttron/env/lib/python3.8/site-packages/pika/adapters/utils/io_services_utils.py", line 972, in _connection_lost_notify_async
    self._protocol.connection_lost(error)
  File "/repos/volttron/env/lib/python3.8/site-packages/pika/adapters/base_connection.py", line 431, in _proto_connection_lost
    self._on_stream_terminated(error)
  File "/repos/volttron/env/lib/python3.8/site-packages/pika/connection.py", line 2062, in _on_stream_terminated
    self.callbacks.process(0, self.ON_CONNECTION_ERROR, self, self,
  File "/repos/volttron/env/lib/python3.8/site-packages/pika/callback.py", line 60, in wrapper
    return function(*tuple(args), **kwargs)
  File "/repos/volttron/env/lib/python3.8/site-packages/pika/callback.py", line 92, in wrapper
    return function(*args, **kwargs)
  File "/repos/volttron/env/lib/python3.8/site-packages/pika/callback.py", line 233, in process
    callback(*args, **keywords)
  File "/repos/volttron/volttron/platform/vip/rmq_connection.py", line 148, in on_open_error
    self._connect_error_callback()
  File "/repos/volttron/volttron/platform/vip/agent/core.py", line 993, in connection_error
    self.stop()
  File "/repos/volttron/volttron/platform/vip/agent/core.py", line 538, in stop
    super(Core, self).stop(timeout=timeout)
  File "/repos/volttron/volttron/platform/vip/agent/core.py", line 321, in stop
    return halt()
  File "/repos/volttron/volttron/platform/vip/agent/core.py", line 317, in halt
    self.greenlet.join(timeout)
  File "src/gevent/greenlet.py", line 797, in gevent._gevent_cgreenlet.Greenlet.join
  File "src/gevent/greenlet.py", line 823, in gevent._gevent_cgreenlet.Greenlet.join
  File "src/gevent/greenlet.py", line 812, in gevent._gevent_cgreenlet.Greenlet.join
  File "src/gevent/_greenlet_primitives.py", line 61, in gevent._gevent_c_greenlet_primitives.SwitchOutGreenletWithLoop.switch
  File "src/gevent/_greenlet_primitives.py", line 61, in gevent._gevent_c_greenlet_primitives.SwitchOutGreenletWithLoop.switch
  File "src/gevent/_greenlet_primitives.py", line 64, in gevent._gevent_c_greenlet_primitives.SwitchOutGreenletWithLoop.switch
  File "src/gevent/_greenlet_primitives.py", line 67, in gevent._gevent_c_greenlet_primitives.SwitchOutGreenletWithLoop.switch_out
  File "src/gevent/_greenlet_primitives.py", line 68, in gevent._gevent_c_greenlet_primitives.SwitchOutGreenletWithLoop.switch_out
gevent.exceptions.BlockingSwitchOutError: Impossible to call blocking function in the event loop callback
Traceback (most recent call last):
  File "/repos/volttron/env/lib/python3.8/site-packages/pika/diagnostic_utils.py", line 53, in log_exception_func_wrap
    return func(*args, **kwargs)
  File "/repos/volttron/env/lib/python3.8/site-packages/pika/adapters/utils/io_services_utils.py", line 972, in _connection_lost_notify_async
    self._protocol.connection_lost(error)
  File "/repos/volttron/env/lib/python3.8/site-packages/pika/adapters/base_connection.py", line 431, in _proto_connection_lost
    self._on_stream_terminated(error)
  File "/repos/volttron/env/lib/python3.8/site-packages/pika/connection.py", line 2062, in _on_stream_terminated
    self.callbacks.process(0, self.ON_CONNECTION_ERROR, self, self,
  File "/repos/volttron/env/lib/python3.8/site-packages/pika/callback.py", line 60, in wrapper
    return function(*tuple(args), **kwargs)
  File "/repos/volttron/env/lib/python3.8/site-packages/pika/callback.py", line 92, in wrapper
    return function(*args, **kwargs)
  File "/repos/volttron/env/lib/python3.8/site-packages/pika/callback.py", line 233, in process
    callback(*args, **keywords)
  File "/repos/volttron/volttron/platform/vip/rmq_connection.py", line 148, in on_open_error
    self._connect_error_callback()
  File "/repos/volttron/volttron/platform/vip/agent/core.py", line 993, in connection_error
    self.stop()
  File "/repos/volttron/volttron/platform/vip/agent/core.py", line 538, in stop
    super(Core, self).stop(timeout=timeout)
  File "/repos/volttron/volttron/platform/vip/agent/core.py", line 321, in stop
    return halt()
  File "/repos/volttron/volttron/platform/vip/agent/core.py", line 317, in halt
    self.greenlet.join(timeout)
  File "src/gevent/greenlet.py", line 797, in gevent._gevent_cgreenlet.Greenlet.join
  File "src/gevent/greenlet.py", line 823, in gevent._gevent_cgreenlet.Greenlet.join
  File "src/gevent/greenlet.py", line 812, in gevent._gevent_cgreenlet.Greenlet.join
  File "src/gevent/_greenlet_primitives.py", line 61, in gevent._gevent_c_greenlet_primitives.SwitchOutGreenletWithLoop.switch
  File "src/gevent/_greenlet_primitives.py", line 61, in gevent._gevent_c_greenlet_primitives.SwitchOutGreenletWithLoop.switch
  File "src/gevent/_greenlet_primitives.py", line 64, in gevent._gevent_c_greenlet_primitives.SwitchOutGreenletWithLoop.switch
  File "src/gevent/_greenlet_primitives.py", line 67, in gevent._gevent_c_greenlet_primitives.SwitchOutGreenletWithLoop.switch_out
  File "src/gevent/_greenlet_primitives.py", line 68, in gevent._gevent_c_greenlet_primitives.SwitchOutGreenletWithLoop.switch_out
gevent.exceptions.BlockingSwitchOutError: Impossible to call blocking function in the event loop callback
2022-03-02T21:21:28Z <callback at 0x7f043e77b5c0 args=()> failed with BlockingSwitchOutError

Traceback (most recent call last):
  File "src/gevent/greenlet.py", line 854, in gevent._gevent_cgreenlet.Greenlet.run
  File "/repos/volttron/volttron/platform/vip/agent/subsystems/auth.py", line 688, in update_rpc_method_capabilities
    self._rpc()
  File "/repos/volttron/volttron/platform/vip/agent/subsystems/rpc.py", line 625, in call
    self.core().connection.send_vip(
  File "/repos/volttron/volttron/platform/vip/rmq_connection.py", line 348, in send_vip
    self._send_via_rmq(destination_routing_key, subsystem, args, msg_id, user)
  File "/repos/volttron/volttron/platform/vip/rmq_connection.py", line 382, in _send_via_rmq
    self.channel.basic_publish(self.exchange,
AttributeError: 'NoneType' object has no attribute 'basic_publish'
2022-03-02T21:21:29Z <Greenlet at 0x7f042878b260: <bound method Auth.update_rpc_method_capabilities of <volttron.platform.vip.agent.subsystems.auth.Auth object at 0x7f043e7e4580>>> failed with AttributeError


test setup failed
request = <SubRequest 'volttron_instance' for <Function test_agent_versions[volttron_instance1]>>
kwargs = {}, address = 'tcp://127.0.0.185:5861'

    @pytest.fixture(scope="module",
                    params=[
                        dict(messagebus='zmq', ssl_auth=False),
                        pytest.param(dict(messagebus='rmq', ssl_auth=True), marks=rmq_skipif),
                    ])
    def volttron_instance(request, **kwargs):
        """Fixture that returns a single instance of volttron platform for testing
    
        @param request: pytest request object
        @return: volttron platform instance
        """
        address = kwargs.pop("vip_address", get_rand_vip())
>       wrapper = build_wrapper(address,
                                messagebus=request.param['messagebus'],
                                ssl_auth=request.param['ssl_auth'],
                                **kwargs)

../../fixtures/volttron_platform_fixtures.py:122: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
../../fixtures/volttron_platform_fixtures.py:51: in build_wrapper
    wrapper.startup_platform(vip_address=vip_address, **kwargs)
../../utils/platformwrapper.py:849: in startup_platform
    self.dynamic_agent = self.build_agent(identity="dynamic_agent")
../../utils/platformwrapper.py:505: in build_agent
    router_ping = agent.vip.ping("").get(timeout=30)
../../../volttron/platform/vip/agent/subsystems/ping.py:69: in ping
    connection.send_vip('',
../../../volttron/platform/vip/rmq_connection.py:348: in send_vip
    self._send_via_rmq(destination_routing_key, subsystem, args, msg_id, user)
@craig8 craig8 added the 8.2 rmq label Mar 2, 2022
@craig8 craig8 added 8.2 rmq and removed 8.2 rmq labels Mar 2, 2022
@craig8 craig8 self-assigned this Mar 2, 2022
schandrika added a commit to schandrika/volttron that referenced this issue Mar 28, 2022
craig8 added a commit that referenced this issue Oct 3, 2022
* Disable abbrev on long options; add test

* add setup file to SCPAgent

* Fix exception order

* Remove RELEASE_NOTES.md

* added quick-start tutorial to documentation, under developing-volttron

* added quick-start tutorial to documentation, under developing-volttron

* Update to non-auth and modular auth for volttron.
Added dataclasses for parameters.
Moved and restructured code to break out rmq and zmq, and provide standardized APIs where applicable.

* Added 'vui' group to the generation of the web-users.json file in web/admin-endpoints.

* add readme to example C Agent

* added more details to the readme

* change readme file type to markdown

* fix headings

* remove extra parenthesis

* tested CSV agent and driver, and added to README

* updated the readme and added execute permission to the launch_my_historian.sh script

* merge

* add readme

* added readme with link to docs

* fix location of test_certs file in workflow for platform tests

* Added ZMQ/RMQ Client Authorization for Auth subsystem.
Updated terminology in main/config.
Updated allow auth to be True by default.
Cleaned up some imports.

* hot fix sphinx ref syntax error

* fix for #2901 #2864 (fix for rmq test cases with pika v1.2.0)
Work around for #2938

* hot fix CLI command error, sphinx syntax error

* Enabling rmq fixture for testing

* bug fix based on tests

* hot fix CLI command error, sphinx syntax error

* Updates to fix import issues.

* Added agent/config, which includes both agent/configs and agent/configs/filename endpoints and their test to vui_endpoints.

* Added agent/config, which includes both agent/configs and agent/configs/filename endpoints and their test to vui_endpoints.

* Merged Platforms Agents Configs endpoints in vui_endpoints.py. Minor fixes and added documentation for these endpoints.

* Fix for issue #2950. Handle unexpected exception in process loop

* fix for issue #2945

* Removed initial non-auth tests.
Added handling for allow_auth and AUTH_ENABLED to manage use of auth in config file.
Minor code cleanup.

* Added is_web_enabled, and is_auth_enabled to utils __all__.
Added AuthFileIndexError to auth __init__.py
Updated agent core to use is_auth_enabled.
Fixed mocked auth service to work with new auth service design.

* debugging mysql unit tests

* debugging mysql unit tests

* debugging mysql unit tests

* debugging mysql unit tests

* debugging mysql unit tests

* debugging mysql unit tests

* debugging mysql unit tests

* raised an error when config path doesnt exist

* Fixed import errors for tests.
Fixed connection issue to remote platforms.
Fixed rpc call names in web and web tests.

* created tests for load_config

* add readme for scheduler example agent

* add readme and small updates to agent.py file

* remove comment from python file and added it into a readme

* renamed config file and added in installation instructions to readme

* Fixed web to use appropriate auth methods.
Modified ZMQServerAuthentication and ZMQAuthorization to reference AuthService instance directly.

* updated readme to be more verbose and updated some comments in settings.py

* create readme using comment from python file, updated comments in settings.py

* Update README.md

* update readme

* updated readme based on PR comments

* updated readme

* add readme following similar structure to other stand alone example agents

* update readme

* update readme

* update numbering in readme

* created README and removed comments from config

* updated readme, and reverted changes to config

* change back to simpleweb

* get rid of the repetivie driver_type: fakedriver

* Update fake.config

remove comma to make json compliant

* add setup file, add readme, add certs verification to do_rpc function

* Added documentation for non-auth implementation, and modular approach to auth authentication and authorization.

* Updated pytests configuration to ignore contrib and unsupported files.
Updated openadr ven agent to ignore tests if dependencies aren't found.
Update actuator agent to ignore tests if local dependencies aren't found.
Increased default timeout to 300.

* delete WebRPC example agent, functionality will be moved over to jsonrpc endpoint of SimpleWebAgent

* Fixed missing external_platform argument in vui_endpoints.handle_platforms_agents_running._agent_running()

* Fixed accidental string conversion in vui_endpoints.handle_platforms_agents_enabled().

* Added checks for specific dependencies for MQTTHistorian.
Increased timeout for vc and platform driver install.
Added auth_enabled to PlatformWrapper.
Added Non-auth cases to volttron_instance and volttron_web_instance.

* Cleanup stop-volttron

* Update docs link

* small fix to BaseClientAuthorization's connect_remote_platform method.

* Minor ZMQAuthorization updates.

* Monkey patching in Control to fix gevent monkeypatching warning.

* Update requirements.py

Bump gevent to latest.

* Changed "route_options" to "links". Fixed behaviour of agents/vip_identity endpoint. Fixed tests.

* Delete IntervalValues.csv

Removed accidental addition to commit.

* Refactored connect_remote_platform into core.
Handled auth case in connect_remote_platform for zmq case.
 Cleaned up monkeypatch implementation for main, control_parser, and vip.

* Fixed rmq auth connection issues

* fixing merge conflict

* Pinned value for idna to fix issue with VC login authentication.

* Updated VC test to fail appropriately.
Modified is_running_in_container to handle subprocess error in call.

* Minor fixes to remote connection.

* WARNING: Test improvement to RMQ dependencies script. May remove before rc.

* minor fixes to rmq core platform connection

* Fixed RMQ connections.
Fixed web authentication page for RMQ.
Fixed CSR handling.

* Undid debug log messages

* Modified context to use TLSv1.

* Removed deprecated connect_remote_platform from auth subsystem.
Added grequests.
Updated connection_params for build_remote_connection_params.
Fixed url_address missing from RMQConnectionAPI.

* Remove duplicated code.

* Calling base class constructor

* fixed auth tests failing in non auth. Auth tests shouldn't run in non auth version

* Fixed typo

* Fix vc test using correct grequest api

* Fixes for forward historian connection between rmq and zmq instances

* Added toctree link to web-api documentation.

* Added toctree entries for web-api documentation.

* Removed upgrade option from bootstrap.py and made this the default.

* Remove updgrade option from bootstrap.py and make this behavior the default.

* federation/shovel fixes

* Use volttron-build-action v4 for rmq actions

* updated to using v4 of volttron-build-action

* Removed downstream tests for now.

* update version in the correct spot.

* Tests without connections shouldn't take volttron_instance.

* Update version/license and pinned requirements

* fix for issue #2945

* non auth fixes primarily for rmq

* moved code to deprecated

* moved code to deprecated

* reverting accidental commit

* reverting accidental commit

* Update driver tests; cleanup logs for security agent

* Fix for issue #2992

* fix for non auth

* commented out deprecated dbs for historian testing

* deleted test module that test only with the default config. agents that deal with database always need db details so agent won't work with default/empty configs

* Added fixture to skip for non auth case

* Added support for getting forecast data using station id. Issue number #2994

* removed crate and mongo historian from test param as we do not support those historians any more

* Added link to restful API from agent web framework. Renamed link from VUI to "Restful Web Interface".

* removed unused import - #2997

* Protect import statements when rabbitmq not installed

* Added link to restful API from agent web framework. Renamed link from VUI to "Restful Web Interface".

* Fix for issue #2999

* Fix for issue #2997

* Update volttron_platform_fixtures.py

Uncommented that was commented for debugging

* Increased sleep time in test_file_watcher to avoid timing issue with rmq.

* Add auth check

* Fix import statement

* skip rmq specific tests if pika is not available

* removed unused import

* test fixes

* Merge pull request #2882 from bonicim/feature/vctl-tag

Add --all-tagged option; add and fix vctl tests

* xfailed web tests as they are redundent.

* Cleanup commented out code

* Cleanup auth.py code add MagicMock to gitignore.

* Reformat code.

* Fix web test auth enabled is required for passing test.

* Fix rmq tests that weren't being run for web.

* RMQ web auth tests aren't valid.
Because the local agents are added on demand, so they need to be reworked.

* Fixed installation issue timeout with small buffer.

* param for fixture is passed through platform web instance.
xfail for rmq<-zmq web and zmq<-rmq web.

* param for fixture is passed through platform web instance.
xfail for rmq<-zmq web and zmq<-rmq web.

* Update README.md

Pinned helics pypi version to 2.8.0. 
Fixes Issue #3012

* skip rmq tests.

* 20 second wait is not required.

* Disabled webcsr tests for now.

* Fix spelling error.

* Fix spelling error.

* Refactor PlatformDriver test (#3013)

* Refactor PlatformDriver tests

* Reformat test to PEP 8 compliance

* Tests/fix test global settings (#3014)

* Refactor config store test fixture

* Reformat code to be PEP 8 compliant

* Tests/fix test device groups (#3016)

* Fix test_device_groups

* Reformat to PEP8 compliance

* Add logic to parse unsupported objects (#3021)

* 8.2 doc updates for non auth and left tree reorg (#3019)

* Updated Read the docs for non auth mode. moved docs around to reduce the length of left side nav tree

* Updated Read the docs for non auth mode. moved docs around to reduce the length of left side nav tree

* Update mongodb-related dependencies (#3005)

* hot-fix-doc/#3030There-are-two-menu-items-with-quickstart-to-two-different-locations (#3032)

* Remove unused import (#3017)

* Fix VOLTTRON_HOME substitution

* Remove unused import

Co-authored-by: Chandrika <schandrika@users.noreply.github.com>
Co-authored-by: Craig <3979063+craig8@users.noreply.github.com>

* Modify expected output (#3004)

* Modify expected output

* Update test

* Remove unused imports (#3018)

* Fix VOLTTRON_HOME substitution

* Remove unused imports

Co-authored-by: Chandrika <schandrika@users.noreply.github.com>
Co-authored-by: Craig <3979063+craig8@users.noreply.github.com>

* small updates to README (#2962)

* Update openadr docs (#3034)

* Renamed secure mode to agent isolation mode - fix for #3035 (#3036)

* fix for issue #3035

* renamed script used to stop agent running in isolation mode

* Update main copyright for rtd and fix formatting (#3033)

* Update vc list docs
Fix #3029

* Modify Copyright Date
Fix #3023

* Create CODE_OF_CONDUCT.md (#3040)

* Update issue templates (#3039)

* Update issue templates

* Update bug_report.md

Remove smartphone from bug template.
Add Volttron Version

* Minor fix for volttron-upgrade command (#3038)

* fix for issue #3035

* renamed script used to stop agent running in isolation mode

* Fix for issue #3037

* using pathlib.Path instead of os path

* #Updated 8.x upgrade doc about agent-isolation-mode - #3025 (#3042)

* #Updated 8.x upgrade document to include details about agent-isolation-mode. fixes #3025

* #Updated 8.x upgrade document to include details about agent-isolation-mode. fixes #3025

* Updated release history. fixes #3031 (#3043)

* More rtd updates. updated broken links, cleaned up left side tree (#3044)

Co-authored-by: Mark Bonicillo <mark.bonicillo@pnnl.gov>
Co-authored-by: gwenkidd <gwendolyn.kidd@pnnl.gov>
Co-authored-by: Cody Scott <cody.j.b.scott@gmail.com>
Co-authored-by: Kefei Mo <kefeimo@gmail.com>
Co-authored-by: gilb842 <spencer.gilbride@pnnl.gov>
Co-authored-by: David M. Raker <david.raker@utoledo.edu>
Co-authored-by: schandrika <chandrika@pnnl.gov>
Co-authored-by: Gokarna Jung Bhandari <gokarna.jung.bhandari@gmail.com>
Co-authored-by: Chandrika <schandrika@users.noreply.github.com>
Co-authored-by: Shwetha Niddodi <shwetha.niddodi@pnnl.gov>
Co-authored-by: sgilbride <49735262+sgilbride@users.noreply.github.com>
Co-authored-by: David M. Raker <david.raker@pnnl.gov>
Co-authored-by: Gwen Kidd <95827084+gwenkidd@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
2 participants