[gw1] linux -- Python 3.9.19 /opt/hostedtoolcache/Python/3.9.19/x64/bin/python
file = '/home/runner/work/extended-tests/extended-tests/NEORV32/rtl/core/neorv32_cpu_control.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/NEORV32/rtl/core/neorv32_cpu_control.vhd'],)
kwargs = {'stderr': -2}, retcode = 1
cmd = ['ghdl-dom', 'pretty', '-f', '/home/runner/work/extended-tests/extended-tests/NEORV32/rtl/core/neorv32_cpu_control.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/NEORV32/rtl/core/neorv32_cpu_control.vhd']' returned non-zero exit status 1.
/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/subprocess.py:373: CalledProcessError
Captured stdout call
File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/pyGHDL/cli/dom.py", line 351, in main
app.Run()
File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/pyGHDL/cli/dom.py", line 190, in Run
ArgParseMixin.Run(self)
File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/pyAttributes/ArgParseAttributes.py", line 297, in Run
self._ParseArguments()
File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/pyAttributes/ArgParseAttributes.py", line 309, in _ParseArguments
self._RouteToHandler(args)
File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/pyAttributes/ArgParseAttributes.py", line 313, in _RouteToHandler
args.func(self, args)
File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/pyGHDL/cli/dom.py", line 265, in HandlePretty
document = self.addFile(file, "pretty")
File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/pyGHDL/cli/dom.py", line 328, in addFile
document = Document(filename)
File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/pyGHDL/dom/NonStandard.py", line 178, in __init__
self.translate()
File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/pyGHDL/dom/NonStandard.py", line 233, in translate
architecture = Architecture.parse(libraryUnit, contextItems)
File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/pyGHDL/dom/DesignUnit.py", line 187, in parse
return cls(architectureNode, name, entitySymbol, contextItems, declaredItems, statements, documentation)
File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/pyGHDL/dom/DesignUnit.py", line 169, in __init__
super().__init__(identifier, entity, contextItems, declaredItems, statements, documentation)
File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/pyVHDLModel/DesignUnit.py", line 514, in __init__
ConcurrentStatements.__init__(self, statements)
File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/pyVHDLModel/Concurrent.py", line 74, in __init__
for statement in statements:
File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/pyGHDL/dom/_Translate.py", line 810, in GetConcurrentStatementsFromChainedNodes
yield ProcessStatement.parse(statement, label, True)
File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/pyGHDL/dom/Concurrent.py", line 244, in parse
return cls(processNode, label, declaredItems, statements, sensitivityList)
File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/pyGHDL/dom/Concurrent.py", line 222, in __init__
super().__init__(label, declaredItems, statements, sensitivityList)
File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/pyVHDLModel/Concurrent.py", line 214, in __init__
SequentialStatements.__init__(self, statements)
File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/pyVHDLModel/Sequential.py", line 62, in __init__
for item in statements:
File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/pyGHDL/dom/_Translate.py", line 867, in GetSequentialStatementsFromChainedNodes
yield IfStatement.parse(statement, label)
File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/pyGHDL/dom/Sequential.py", line 162, in parse
elsifBranches.append(ElsifBranch.parse(elseClause, condition, label))
File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/pyGHDL/dom/Sequential.py", line 112, in parse
return cls(branchNode, condition, statements)
File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/pyGHDL/dom/Sequential.py", line 98, in __init__
super().__init__(condition, statements)
File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/pyVHDLModel/Sequential.py", line 149, in __init__
super().__init__(statements)
File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/pyVHDLModel/Sequential.py", line 136, in __init__
SequentialStatements.__init__(self, statements)
File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/pyVHDLModel/Sequential.py", line 62, in __init__
for item in statements:
File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/pyGHDL/dom/_Translate.py", line 867, in GetSequentialStatementsFromChainedNodes
yield IfStatement.parse(statement, label)
File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/pyGHDL/dom/Sequential.py", line 152, in parse
ifBranch = IfBranch.parse(ifNode, label)
File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/pyGHDL/dom/Sequential.py", line 87, in parse
return cls(branchNode, condition, statements)
File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/pyGHDL/dom/Sequential.py", line 73, in __init__
super().__init__(condition, statements)
File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/pyVHDLModel/Sequential.py", line 142, in __init__
super().__init__(statements)
File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/pyVHDLModel/Sequential.py", line 136, in __init__
SequentialStatements.__init__(self, statements)
File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/pyVHDLModel/Sequential.py", line 62, in __init__
for item in statements:
File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/pyGHDL/dom/_Translate.py", line 867, in GetSequentialStatementsFromChainedNodes
yield IfStatement.parse(statement, label)
File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/pyGHDL/dom/Sequential.py", line 152, in parse
ifBranch = IfBranch.parse(ifNode, label)
File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/pyGHDL/dom/Sequential.py", line 87, in parse
return cls(branchNode, condition, statements)
File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/pyGHDL/dom/Sequential.py", line 73, in __init__
super().__init__(condition, statements)
File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/pyVHDLModel/Sequential.py", line 142, in __init__
super().__init__(statements)
File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/pyVHDLModel/Sequential.py", line 136, in __init__
SequentialStatements.__init__(self, statements)
File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/pyVHDLModel/Sequential.py", line 62, in __init__
for item in statements:
File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/pyGHDL/dom/_Translate.py", line 873, in GetSequentialStatementsFromChainedNodes
yield SequentialSimpleSignalAssignment.parse(statement, label)
File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/pyGHDL/dom/Sequential.py", line 390, in parse
waveform.append(WaveformElement.parse(wave))
File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/pyGHDL/dom/Concurrent.py", line 635, in parse
return cls(waveNode, value, time)
File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/pyGHDL/dom/Concurrent.py", line 620, in __init__
super().__init__(expression, after)
File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/pyVHDLModel/Base.py", line 425, in __init__
expression._parent = self
================================================================================
pyGHDL.dom - Test Application
================================================================================
Parsing file '/home/runner/work/extended-tests/extended-tests/NEORV32/rtl/core/neorv32_cpu_control.vhd'
[NOT IMPLEMENTED] Array_Subtype_Definition
[NOT IMPLEMENTED] Array_Subtype_Definition
[NOT IMPLEMENTED] Array_Subtype_Definition
[NOT IMPLEMENTED] Array_Subtype_Definition
[NOT IMPLEMENTED] Array_Subtype_Definition
[NOT IMPLEMENTED] Array_Subtype_Definition
[NOT IMPLEMENTED] Array_Subtype_Definition
[NOT IMPLEMENTED] Concurrent (conditional) signal assignment (label: 'None') at line 365
[NOT IMPLEMENTED] Concurrent (conditional) signal assignment (label: 'None') at line 375
[NOT IMPLEMENTED] Concurrent (conditional) signal assignment (label: 'None') at line 377
[NOT IMPLEMENTED] Concurrent (conditional) signal assignment (label: 'None') at line 480
[NOT IMPLEMENTED] Bit String Literal not supported yet
FATAL: An unknown or unhandled exception reached the topmost exception handler!
Exception type: AttributeError
Exception message: 'NoneType' object has no attribute '_parent'
Caused in: __init__ in file '/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/pyVHDLModel/Base.py' at line 425
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Please report this bug at GitHub: https://GitHub.com/pyTooling/pyTooling.TerminalUI/issues
--------------------------------------------------------------------------------