arras-energy / gridlabd

Arras Energy simulator
https://www.arras.energy/
BSD 3-Clause "New" or "Revised" License
5 stars 5 forks source link

Converter autotest test_mdb2glm_xy_coordinates.glm inconsistently fails within github actions validation workflow #142

Closed MitchellAV closed 5 months ago

MitchellAV commented 10 months ago

Problem description

The mdb2glm cyme converter's option to extract coordinate xy data and save to a csv file works locally and the autotest associated with the functionality also works locally. However, when the validation step occurs within the develop.yml github actions workflow the test_mdb2glm_xy_coordinates.glm will occasionally fail resulting in a failed validation for the whole branch.

Steps to reproduce

  1. Activate the develop.yml workflow within github actions by either: commiting into the develop branch, creating a pull request that will go into the develop branch, or re-running an existing workflow from a prior commit from either of the previous options.

Expected behavior

The test_mdb2glm_xy_coordinates.glm autotest within the converters folder should pass when the gridlabd --validate command is executed on both a local machine, docker container, or within github actions

System information

Supporting information

(Add any other context about the problem here.)

Attachments

gridlabd.err file from github actions workflow for test_mdb2glm_xy_coordinates.glm

ERROR    [INIT] : GldMain::subcommand(format='%s %s -i '%s' -o '%s' %s',...): command '/usr/local/opt/gridlabd/4.3.3-231017-HEAD-ubuntu_22-x86_64/bin/python3 /usr/local/opt/gridlabd/4.3.3-231017-HEAD-ubuntu_22-x86_64/share/gridlabd/mdb2glm.py -i '../IEEE-13-cyme.mdb' -o './IEEE-13.glm' -t cyme -o ./IEEE-13.glm -p coordinateCSV=IEEE-13-cyme-xy-coordinates.csv' returns code 1
ERROR    [INIT] : /usr/local/opt/gridlabd/4.3.3-231017-HEAD-ubuntu_22-x86_64/share/gridlabd/mdb2glm.py: return code 1
test_mdb2glm_xy_coordinates.glm(5): load of './IEEE-13.glm' failed