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 version update, Mongo version update, Bug fixes #3118

Merged
merged 37 commits into from
Sep 20, 2023
Merged
Show file tree
Hide file tree
Changes from 35 commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
aeccc6c
Updated RabbitMQ version to 3.9.29 and Erlang to version 25
schandrika Aug 28, 2023
a917d21
Updated RabbitMQ version to 3.9.29 and Erlang to version 25
schandrika Aug 28, 2023
0731940
Fix for issue #3114. update dependency information
schandrika Aug 30, 2023
fbc86ee
Revert "Fix for issue #3114. update dependency information"
schandrika Aug 30, 2023
3e5c836
Updates for Erlang and Rabbitmq version update. Erlang updated to ver…
schandrika Sep 1, 2023
e3f4088
Updates for Erlang and Rabbitmq version update. Erlang updated to ver…
schandrika Sep 1, 2023
c53965a
added missing imports
schandrika Sep 3, 2023
b77d31a
Changed pytest xfail cases to skip instead of fail
schandrika Sep 3, 2023
785bbbe
changed reference to deprecated method. using requests instead of gre…
schandrika Sep 7, 2023
cc03320
removed debug log
schandrika Sep 7, 2023
08affba
updated psycopg2 version
schandrika Sep 7, 2023
6ee5f1e
Fix for issue #3117
schandrika Sep 11, 2023
479309c
Fixed expected output
schandrika Sep 11, 2023
ced3a0e
removed debug stmts
schandrika Sep 11, 2023
827f4cf
added entry for dnp3
schandrika Sep 11, 2023
e19a57b
minor test case fix
schandrika Sep 11, 2023
606aa88
updated based on gitlab changes
schandrika Sep 11, 2023
9d486e8
removed old dnp3 agent
schandrika Sep 14, 2023
b0dd71d
updated to latest mongo and pymongo version
schandrika Sep 14, 2023
ecfcdb5
minor - py.test to pytest
schandrika Sep 14, 2023
69ae460
updated to latest mongo and pymongo version
schandrika Sep 14, 2023
d746634
minor updates based on testing
schandrika Sep 14, 2023
42ea7c8
utility script to install mysql, postgres, mongodb and create test us…
schandrika Sep 15, 2023
f8a5752
minor documentation update
schandrika Sep 15, 2023
b4e62cc
changed 'urllib3.connectionpool' log level to warning
schandrika Sep 15, 2023
c23e2a3
updated auth test on github
schandrika Sep 15, 2023
4828102
updated auth test on github
schandrika Sep 15, 2023
c8a6857
fixed runner name
schandrika Sep 15, 2023
a7ada4d
fixed runner name
schandrika Sep 15, 2023
2587209
reverting runner name change
schandrika Sep 15, 2023
f5fbaf5
using newer version of actions
schandrika Sep 17, 2023
c5bcf37
Merge branch 'rmq_version_update' of github.com:schandrika/volttron i…
schandrika Sep 17, 2023
5ac18d2
using newer version of actions
schandrika Sep 17, 2023
5f2b23a
testing only on mysql 8
schandrika Sep 18, 2023
e5125b9
Updated upload artifact version
schandrika Sep 19, 2023
f1459a8
install-script for dbs on ubuntu 20.04
schandrika Sep 19, 2023
dc63d9b
pointing to v5 version of volttron-build-action instead of branch erl…
schandrika Sep 20, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/code_analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/pytest-auth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,17 @@ jobs:
# Each step will be run in order of listing.
steps:
# checkout the volttron repository and set current direectory to it
- uses: actions/checkout@v2
- uses: actions/checkout@v4

# setup the python environment for the operating system
- name: Set up Python ${{matrix.os}} ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

# Run the specified tests and save the results to a unique file that can be archived for later analysis.
- name: Run pytest on ${{ matrix.python-version }}, ${{ matrix.os }}
uses: volttron/volttron-build-action@v4
uses: volttron/volttron-build-action@erlang_update
with:
python_version: ${{ matrix.python-version }}
os: ${{ matrix.os }}
Expand All @@ -55,20 +55,20 @@ jobs:

# Archive the results from the pytest to storage.
- name: Archive test results
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
if: always()
with:
name: pytest-report
path: output/test-auth-${{matrix.os}}-${{ matrix.python-version }}-results.xml

# - name: Publish Unit Test Results
# uses: EnricoMi/publish-unit-test-result-action@v1.5
# if: always()
# with:
# github_token: ${{ secrets.WORKFLOW_ACCESS_TOKEN }}
# files: output/test-testutils*.xml


#-cov=com --cov-report=xml --cov-report=html
# pytest tests.py --doctest-modules --junitxml=junit/test-results.xml --cov=com --cov-report=xml --cov-report=html
# - name: Lint with flake8
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/pytest-dbutils-backup_db.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ jobs:

steps:
# checkout the volttron repository and set current directory to it
- uses: actions/checkout@v2
- uses: actions/checkout@v4

# setup the python environment for the operating system
- name: Set up Python ${{matrix.os}} ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

Expand All @@ -60,7 +60,7 @@ jobs:

# Run the specified tests and save the results to a unique file that can be archived for later analysis.
- name: Run pytest on ${{ matrix.python-version }}, ${{ matrix.os }}
uses: volttron/volttron-build-action@v4
uses: volttron/volttron-build-action@erlang_update
timeout-minutes: 600
with:
python_version: ${{ matrix.python-version }}
Expand All @@ -70,7 +70,7 @@ jobs:

# Archive the results from the pytest to storage.
- name: Archive test results
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
if: always()
with:
name: pytest-report
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/pytest-dbutils-influxdbfuncts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ jobs:

steps:
# checkout the volttron repository and set current directory to it
- uses: actions/checkout@v2
- uses: actions/checkout@v4

# Attempt to restore the cache from the build-dependency-cache workflow if present then
# the output value steps.check_files.outputs.files_exists will be set (see the next step for usage)
- name: Set up Python ${{matrix.os}} ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

Expand All @@ -50,7 +50,7 @@ jobs:

# Run the specified tests and save the results to a unique file that can be archived for later analysis.
- name: Run pytest on ${{ matrix.python-version }}, ${{ matrix.os }}
uses: volttron/volttron-build-action@v4
uses: volttron/volttron-build-action@erlang_update
timeout-minutes: 600
with:
python_version: ${{ matrix.python-version }}
Expand All @@ -60,7 +60,7 @@ jobs:

# Archive the results from the pytest to storage.
- name: Archive test results
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
if: always()
with:
name: pytest-report
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/pytest-dbutils-mysqlfuncts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ jobs:

steps:
# checkout the volttron repository and set current directory to it
- uses: actions/checkout@v2
- uses: actions/checkout@v4

# Attempt to restore the cache from the build-dependency-cache workflow if present then
# the output value steps.check_files.outputs.files_exists will be set (see the next step for usage)
- name: Set up Python ${{matrix.os}} ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

Expand All @@ -50,7 +50,7 @@ jobs:

# Run the specified tests and save the results to a unique file that can be archived for later analysis.
- name: Run pytest on ${{ matrix.python-version }}, ${{ matrix.os }}
uses: volttron/volttron-build-action@v4
uses: volttron/volttron-build-action@erlang_update
timeout-minutes: 600
with:
python_version: ${{ matrix.python-version }}
Expand All @@ -60,7 +60,7 @@ jobs:

# Archive the results from the pytest to storage.
- name: Archive test results
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
if: always()
with:
name: pytest-report
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/pytest-dbutils-postgresqlfuncts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ jobs:

steps:
# checkout the volttron repository and set current directory to it
- uses: actions/checkout@v2
- uses: actions/checkout@v4

# Attempt to restore the cache from the build-dependency-cache workflow if present then
# the output value steps.check_files.outputs.files_exists will be set (see the next step for usage)
- name: Set up Python ${{matrix.os}} ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

Expand All @@ -50,7 +50,7 @@ jobs:

# Run the specified tests and save the results to a unique file that can be archived for later analysis.
- name: Run pytest on ${{ matrix.python-version }}, ${{ matrix.os }}
uses: volttron/volttron-build-action@v4
uses: volttron/volttron-build-action@erlang_update
timeout-minutes: 600
with:
python_version: ${{ matrix.python-version }}
Expand All @@ -60,7 +60,7 @@ jobs:

# Archive the results from the pytest to storage.
- name: Archive test results
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
if: always()
with:
name: pytest-report
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/pytest-dbutils-sqlitefuncts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ jobs:

steps:
# checkout the volttron repository and set current directory to it
- uses: actions/checkout@v2
- uses: actions/checkout@v4

# Attempt to restore the cache from the build-dependency-cache workflow if present then
# the output value steps.check_files.outputs.files_exists will be set (see the next step for usage)
- name: Set up Python ${{matrix.os}} ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

Expand All @@ -51,7 +51,7 @@ jobs:

# Run the specified tests and save the results to a unique file that can be archived for later analysis.
- name: Run pytest on ${{ matrix.python-version }}, ${{ matrix.os }}
uses: volttron/volttron-build-action@v4
uses: volttron/volttron-build-action@erlang_update
timeout-minutes: 600
with:
python_version: ${{ matrix.python-version }}
Expand All @@ -60,7 +60,7 @@ jobs:
test_output_suffix: ${{ env.OUTPUT_SUFFIX }}

- name: Archive test results
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
if: always()
with:
name: pytest-report
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/pytest-dbutils-timescaldbfuncts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ jobs:

steps:
# checkout the volttron repository and set current directory to it
- uses: actions/checkout@v2
- uses: actions/checkout@v4

# Attempt to restore the cache from the build-dependency-cache workflow if present then
# the output value steps.check_files.outputs.files_exists will be set (see the next step for usage)
- name: Set up Python ${{matrix.os}} ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

Expand All @@ -50,7 +50,7 @@ jobs:

# Run the specified tests and save the results to a unique file that can be archived for later analysis.
- name: Run pytest on ${{ matrix.python-version }}, ${{ matrix.os }}
uses: volttron/volttron-build-action@v4
uses: volttron/volttron-build-action@erlang_update
timeout-minutes: 600
with:
python_version: ${{ matrix.python-version }}
Expand All @@ -60,7 +60,7 @@ jobs:

# Archive the results from the pytest to storage.
- name: Archive test results
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
if: always()
with:
name: pytest-report
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/pytest-miscellaneous-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,49 +44,49 @@ jobs:
# Each step will be run in order of listing.
steps:
# Checkout the volttron repository and set current direectory to it
- uses: actions/checkout@v2
- uses: actions/checkout@v4

# Setup the python environment for the operating system
- name: Set up Python ${{matrix.os}} ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

# Run the specified tests and save the results to a unique file that can be archived for later analysis
- name: Run certs test on ${{ matrix.python-version }}, ${{ matrix.os }}
uses: volttron/volttron-build-action@v4
uses: volttron/volttron-build-action@erlang_update
with:
python_version: ${{ matrix.python-version }}
os: ${{ matrix.os }}
test_path: volttrontesting/platform/web/test_certs.py
test_output_suffix: misc

- name: Run core agent test on ${{ matrix.python-version }}, ${{ matrix.os }}
uses: volttron/volttron-build-action@v4
uses: volttron/volttron-build-action@erlang_update
with:
python_version: ${{ matrix.python-version }}
os: ${{ matrix.os }}
test_path: volttrontesting/platform/test_core_agent.py
test_output_suffix: misc

- name: Run packaging test on ${{ matrix.python-version }}, ${{ matrix.os }}
uses: volttron/volttron-build-action@v4
uses: volttron/volttron-build-action@erlang_update
with:
python_version: ${{ matrix.python-version }}
os: ${{ matrix.os }}
test_path: volttrontesting/platform/test_packaging.py
test_output_suffix: misc

- name: Run platform init test on ${{ matrix.python-version }}, ${{ matrix.os }}
uses: volttron/volttron-build-action@v4
uses: volttron/volttron-build-action@erlang_update
with:
python_version: ${{ matrix.python-version }}
os: ${{ matrix.os }}
test_path: volttrontesting/platform/test_platform_init.py
test_output_suffix: misc

- name: Run sqlite3 test on ${{ matrix.python-version }}, ${{ matrix.os }}
uses: volttron/volttron-build-action@v4
uses: volttron/volttron-build-action@erlang_update
with:
python_version: ${{ matrix.python-version }}
os: ${{ matrix.os }}
Expand All @@ -95,7 +95,7 @@ jobs:

# Archive the results from the pytest to storage.
- name: Archive test results
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
if: always()
with:
name: pytest-report
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/pytest-testutils.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,18 @@ jobs:

steps:
# checkout the volttron repository and set current directory to it
- uses: actions/checkout@v2
- uses: actions/checkout@v4

# Attempt to restore the cache from the build-dependency-cache workflow if present then
# the output value steps.check_files.outputs.files_exists will be set (see the next step for usage)
- name: Set up Python ${{matrix.os}} ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

# Run the specified tests and save the results to a unique file that can be archived for later analysis.
- name: Run pytest on ${{ matrix.python-version }}, ${{ matrix.os }}
uses: volttron/volttron-build-action@v4
uses: volttron/volttron-build-action@erlang_update
with:
python_version: ${{ matrix.python-version }}
os: ${{ matrix.os }}
Expand All @@ -54,7 +54,7 @@ jobs:

# Archive the results from the pytest to storage.
- name: Archive test results
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
if: always()
with:
name: pytest-report
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/pytest-vctl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,18 +45,18 @@ jobs:
# Each step will be run in order of listing.
steps:
# checkout the volttron repository and set current directory to it
- uses: actions/checkout@v2
- uses: actions/checkout@v4

# Attempt to restore the cache from the build-dependency-cache workflow if present then
# the output value steps.check_files.outputs.files_exists will be set (see the next step for usage)
- name: Set up Python ${{matrix.os}} ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

# Run the specified tests and save the results to a unique file that can be archived for later analysis.
- name: Run pytest on ${{ matrix.python-version }}, ${{ matrix.os }}
uses: volttron/volttron-build-action@v4
uses: volttron/volttron-build-action@erlang_update
with:
python_version: ${{ matrix.python-version }}
os: ${{ matrix.os }}
Expand All @@ -65,7 +65,7 @@ jobs:

# Archive the results from the pytest to storage.
- name: Archive test results
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
if: always()
with:
name: pytest-report
Expand Down