Started | 2023-12-01 15:08:56 |
---|---|
Ended | 2023-12-01 15:08:56 |
Duration | 0:00:00.294450 |
Markers | xfail |
Fixtures | file |
Setup
Call
[gw1] linux -- Python 3.9.18 /opt/hostedtoolcache/Python/3.9.18/x64/bin/python file = '/home/runner/work/extended-tests/extended-tests/ghdl/testsuite/vests/vhdl-ams/ashenden/compliant/components-and-configs/inline_05.vhd' @mark.parametrize( "file", getVHDLSources() ) @mark.xfail def test_AllVHDLSources(file): > check_call(['ghdl-dom', 'pretty', '-f', str(file)], stderr=STDOUT) TestDOM.py:25: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = (['ghdl-dom', 'pretty', '-f', '/home/runner/work/extended-tests/extended-tests/ghdl/testsuite/vests/vhdl-ams/ashenden/compliant/components-and-configs/inline_05.vhd'],) kwargs = {'stderr': -2}, retcode = 1 cmd = ['ghdl-dom', 'pretty', '-f', '/home/runner/work/extended-tests/extended-tests/ghdl/testsuite/vests/vhdl-ams/ashenden/compliant/components-and-configs/inline_05.vhd'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '['ghdl-dom', 'pretty', '-f', '/home/runner/work/extended-tests/extended-tests/ghdl/testsuite/vests/vhdl-ams/ashenden/compliant/components-and-configs/inline_05.vhd']' returned non-zero exit status 1. /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/subprocess.py:373: CalledProcessError
Captured stdout call
File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/pyGHDL/cli/dom.py", line 351, in main app.Run() File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/pyGHDL/cli/dom.py", line 190, in Run ArgParseMixin.Run(self) File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/pyAttributes/ArgParseAttributes.py", line 297, in Run self._ParseArguments() File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/pyAttributes/ArgParseAttributes.py", line 309, in _ParseArguments self._RouteToHandler(args) File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/pyAttributes/ArgParseAttributes.py", line 313, in _RouteToHandler args.func(self, args) File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/pyGHDL/cli/dom.py", line 301, in HandlePretty self._design.Analyze() File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/pyGHDL/dom/NonStandard.py", line 124, in Analyze super().Analyze() File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/pyVHDLModel/__init__.py", line 558, in Analyze self.AnalyzeDependencies() File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/pyVHDLModel/__init__.py", line 575, in AnalyzeDependencies self.LinkInstantiations() File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/pyVHDLModel/__init__.py", line 959, in LinkInstantiations component = architecture._namespace.FindComponent(instance.Component) File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/pyVHDLModel/Namespace.py", line 91, in FindComponent return parentNamespace.FindComponent(componentSymbol) File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/pyVHDLModel/Namespace.py", line 89, in FindComponent raise KeyError(f"Component '{componentSymbol.Identifier}' not found in '{self._name}'.") ================================================================================ pyGHDL.dom - Test Application ================================================================================ Parsing file '/home/runner/work/extended-tests/extended-tests/ghdl/testsuite/vests/vhdl-ams/ashenden/compliant/components-and-configs/inline_05.vhd' libghdl processing time: 184.040 us DOM translation time: 1294.876 us FATAL: An unknown or unhandled exception reached the topmost exception handler! Exception type: AttributeError Exception message: 'ComponentInstantiationSymbol' object has no attribute 'Identifier' Caused in: FindComponent in file '/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/pyVHDLModel/Namespace.py' at line 89 -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- Please report this bug at GitHub: https://GitHub.com/pyTooling/pyTooling.TerminalUI/issues --------------------------------------------------------------------------------