Closed lbianchi-lbl closed 1 year ago
@lbianchi-lbl what environment is this occurring in? I suspect either the file was altered/removed (appears to be fine in this repository), or the CI routine is not carrying along the correct file path to the temporary directory. This sometimes happens when it ignores certain extensions (.trc), have there been changes to the build or workflow scripts recently?
Yeah, I imagine it would be something related to that, since I don't see .trc
listed here: https://github.com/IDAES/examples-pse/blob/c1625b4869ab80894814c5500569b5d30fe87763/build.py#L173
I assume that this notebook is not being run in CI because it requires ALAMO to be installed. The error happened during the release process for this repository, where notebooks are run in an on-premise containerized environment where a wider selection of third-party tools is available.
It seems that my initial guess above might be incorrect, as the trace file should be generated during the notebook run. The current best guess is that a) either some error in the ALAMO run prevents the creation of the file, or b) the file is created but somehow ends up in a different directory.
I ran this example, but it worked for me.
@eslickj My best guess is that this has something to do with the environment the CI tests are run it - I suspect the files are not ending up in the expected locations for some reason when run through Github Actions resulting in the test failure.