fix: c_uint64 now uses PyLong_AsUnsignedLongLong (#52) #53
Annotations
9 errors and 1 warning
|
Check test results
Process completed with exit code 1.
|
|
Publish Test Results
tests/unit/test_struct.py::test_struct_comprehensive: The test failed in the call phase due to an assertion error - pyhdl_dvflow = HdlSimDvFlow(request=<SubRequest 'pyhdl_dvflow' for <Function test_struct_comprehensive[vlt]>>, srcdir='/home/runner/w...log=<Logger TaskGraphBuilder (WARNING)>), ext_rgy=<pytest_dfm.impl.ext_rgy.ExtRgy object at 0x7f70f880fef0>, sim='vlt')
hdl_if_env = {'ACCEPT_EULA': 'Y', 'ACTIONS_ORCHESTRATION_ID': '4f60381a-840a-4b89-bd9c-5fed09c3365e.linux-pretest.__default', 'ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE': '/opt/actionarchivecache', 'AGENT_TOOLSDIRECTORY': '/opt/hostedtoolcache', ...}
@pytest.mark.parametrize("pyhdl_dvflow", available_sims_dpi(), indirect=True)
def test_struct_comprehensive(pyhdl_dvflow, hdl_if_env):
"""Test comprehensive struct support: multiple types, various field types, many fields"""
env = hdl_if_env
env["PYTHONPATH"] = test_struct_data_dir + os.pathsep + env["PYTHONPATH"]
pyhdl_dvflow.setEnv(env)
print("test_struct_comprehensive_data_dir: %s" % test_struct_data_dir, flush=True)
args = ["-timescale=1ps/1ps"] if pyhdl_dvflow.sim == "vcs" else []
hdl_if_pkg = pyhdl_dvflow.mkTask("pyhdl-if.SvPkg")
hdl_if_dpi = pyhdl_dvflow.mkTask("pyhdl-if.DpiLib")
gen_api = pyhdl_dvflow.mkTask(
"pyhdl-if.APIGenSV",
pkgname="struct_comprehensive_api_pkg",
filename="struct_comprehensive_api_pkg.sv",
modules=["struct_comprehensive_api"],
pythonpath=[test_struct_data_dir])
test_sv = pyhdl_dvflow.mkTask("std.FileSet",
base=test_struct_data_dir,
include=["struct_comprehensive_bfm.sv"],
type="systemVerilogSource")
sim_img = pyhdl_dvflow.mkTask("hdlsim.%s.SimImage" % pyhdl_dvflow.sim,
top=["struct_comprehensive_bfm"],
needs=[hdl_if_pkg, gen_api, hdl_if_dpi, test_sv],
elabargs=args)
sim_run = pyhdl_dvflow.mkTask(
"hdlsim.%s.SimRun" % pyhdl_dvflow.sim,
needs=[sim_img])
status, out = pyhdl_dvflow.runTask(sim_run)
> assert status == 0
E assert 1 == 0
tests/unit/test_struct.py:101: AssertionError
|
|
Publish Test Results
tests/unit/test_struct.py::test_struct: The test failed in the call phase due to an assertion error - pyhdl_dvflow = HdlSimDvFlow(request=<SubRequest 'pyhdl_dvflow' for <Function test_struct[vlt]>>, srcdir='/home/runner/work/pyhdl-if/p...log=<Logger TaskGraphBuilder (WARNING)>), ext_rgy=<pytest_dfm.impl.ext_rgy.ExtRgy object at 0x7f70f87ca960>, sim='vlt')
hdl_if_env = {'ACCEPT_EULA': 'Y', 'ACTIONS_ORCHESTRATION_ID': '4f60381a-840a-4b89-bd9c-5fed09c3365e.linux-pretest.__default', 'ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE': '/opt/actionarchivecache', 'AGENT_TOOLSDIRECTORY': '/opt/hostedtoolcache', ...}
@pytest.mark.parametrize("pyhdl_dvflow", available_sims_dpi(), indirect=True)
def test_struct(pyhdl_dvflow, hdl_if_env):
"""Test basic struct support with Point struct"""
env = hdl_if_env
env["PYTHONPATH"] = test_struct_data_dir + os.pathsep + env["PYTHONPATH"]
pyhdl_dvflow.setEnv(env)
print("test_struct_data_dir: %s" % test_struct_data_dir, flush=True)
args = ["-timescale=1ps/1ps"] if pyhdl_dvflow.sim == "vcs" else []
hdl_if_pkg = pyhdl_dvflow.mkTask("pyhdl-if.SvPkg")
hdl_if_dpi = pyhdl_dvflow.mkTask("pyhdl-if.DpiLib")
gen_api = pyhdl_dvflow.mkTask(
"pyhdl-if.APIGenSV",
pkgname="struct_api_pkg",
filename="struct_api_pkg.sv",
modules=["struct_api"],
pythonpath=[test_struct_data_dir])
test_sv = pyhdl_dvflow.mkTask("std.FileSet",
base=test_struct_data_dir,
include=["struct_bfm.sv"],
type="systemVerilogSource")
sim_img = pyhdl_dvflow.mkTask("hdlsim.%s.SimImage" % pyhdl_dvflow.sim,
top=["struct_bfm"],
needs=[hdl_if_pkg, gen_api, hdl_if_dpi, test_sv],
elabargs=args)
sim_run = pyhdl_dvflow.mkTask(
"hdlsim.%s.SimRun" % pyhdl_dvflow.sim,
needs=[sim_img])
status, out = pyhdl_dvflow.runTask(sim_run)
> assert status == 0
E assert 1 == 0
tests/unit/test_struct.py:52: AssertionError
|
|
Publish Test Results
tests/unit/test_py_api.py::test_smoke: The test failed in the call phase due to an assertion error - hdlsim_dvflow = HdlSimDvFlow(request=<SubRequest 'hdlsim_dvflow' for <Function test_smoke[vlt]>>, srcdir='/home/runner/work/pyhdl-if/p...log=<Logger TaskGraphBuilder (WARNING)>), ext_rgy=<pytest_dfm.impl.ext_rgy.ExtRgy object at 0x7f70f890e990>, sim='vlt')
hdl_if_env = {'ACCEPT_EULA': 'Y', 'ACTIONS_ORCHESTRATION_ID': '4f60381a-840a-4b89-bd9c-5fed09c3365e.linux-pretest.__default', 'ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE': '/opt/actionarchivecache', 'AGENT_TOOLSDIRECTORY': '/opt/hostedtoolcache', ...}
@pytest.mark.parametrize("hdlsim_dvflow", available_sims_dpi(), indirect=True)
def test_smoke(hdlsim_dvflow, hdl_if_env):
> _test_file(hdlsim_dvflow, "test_smoke", env=hdl_if_env)
tests/unit/test_py_api.py:47:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
hdlsim_dvflow = HdlSimDvFlow(request=<SubRequest 'hdlsim_dvflow' for <Function test_smoke[vlt]>>, srcdir='/home/runner/work/pyhdl-if/p...log=<Logger TaskGraphBuilder (WARNING)>), ext_rgy=<pytest_dfm.impl.ext_rgy.ExtRgy object at 0x7f70f890e990>, sim='vlt')
name = 'test_smoke'
env = {'ACCEPT_EULA': 'Y', 'ACTIONS_ORCHESTRATION_ID': '4f60381a-840a-4b89-bd9c-5fed09c3365e.linux-pretest.__default', 'ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE': '/opt/actionarchivecache', 'AGENT_TOOLSDIRECTORY': '/opt/hostedtoolcache', ...}
plusargs = None
def _test_file(hdlsim_dvflow : HdlSimDvFlow, name, env, plusargs=None):
env["PYTHONPATH"] = test_py_api_data_dir + os.pathsep + env["PYTHONPATH"]
hdlsim_dvflow.setEnv(env)
sim_img = hdlsim_dvflow.mkTask("hdlsim.%s.SimImage" % hdlsim_dvflow.sim)
sv_src = hdlsim_dvflow.mkTask("std.FileSet",
base=test_py_api_data_dir,
include="%s.sv" % name,
type="systemVerilogSource")
dpi_lib = hdlsim_dvflow.mkTask("pyhdl-if.DpiLib")
sv_pkg = hdlsim_dvflow.mkTask("pyhdl-if.SvPkg")
sim_img = hdlsim_dvflow.mkTask("hdlsim.%s.SimImage" % hdlsim_dvflow.sim,
top=[name],
needs=[sv_pkg, sv_src, dpi_lib])
sim_run = hdlsim_dvflow.mkTask("hdlsim.%s.SimRun" % hdlsim_dvflow.sim,
plusargs=plusargs if plusargs is not None else [],
needs=[sim_img])
status, out = hdlsim_dvflow.runTask(sim_run)
> assert status == 0
E assert -11 == 0
tests/unit/test_py_api.py:37: AssertionError
|
|
Publish Test Results
tests/unit/test_example_struct_passing.py::test_struct_passing_example: The test failed in the call phase due to an assertion error - pyhdl_dvflow = HdlSimDvFlow(request=<SubRequest 'pyhdl_dvflow' for <Function test_struct_passing_example[vlt]>>, srcdir='/home/runner...log=<Logger TaskGraphBuilder (WARNING)>), ext_rgy=<pytest_dfm.impl.ext_rgy.ExtRgy object at 0x7f70f8a79e80>, sim='vlt')
hdl_if_env = {'ACCEPT_EULA': 'Y', 'ACTIONS_ORCHESTRATION_ID': '4f60381a-840a-4b89-bd9c-5fed09c3365e.linux-pretest.__default', 'ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE': '/opt/actionarchivecache', 'AGENT_TOOLSDIRECTORY': '/opt/hostedtoolcache', ...}
@pytest.mark.parametrize("pyhdl_dvflow", available_sims_dpi(), indirect=True)
def test_struct_passing_example(pyhdl_dvflow, hdl_if_env):
"""Test the struct_passing example runs successfully"""
env = hdl_if_env
env["PYTHONPATH"] = struct_passing_example_dir + os.pathsep + env["PYTHONPATH"]
pyhdl_dvflow.setEnv(env)
print("struct_passing_example_dir: %s" % struct_passing_example_dir, flush=True)
args = ["-timescale=1ps/1ps"] if pyhdl_dvflow.sim == "vcs" else []
hdl_if_pkg = pyhdl_dvflow.mkTask("pyhdl-if.SvPkg")
hdl_if_dpi = pyhdl_dvflow.mkTask("pyhdl-if.DpiLib")
gen_api = pyhdl_dvflow.mkTask(
"pyhdl-if.APIGenSV",
pkgname="struct_passing_pkg",
filename="struct_passing_pkg.sv",
modules=["struct_passing"],
pythonpath=[struct_passing_example_dir])
example_sv = pyhdl_dvflow.mkTask("std.FileSet",
base=struct_passing_example_dir,
include=["struct_passing.sv"],
type="systemVerilogSource")
sim_img = pyhdl_dvflow.mkTask("hdlsim.%s.SimImage" % pyhdl_dvflow.sim,
top=["struct_passing"],
needs=[hdl_if_pkg, gen_api, hdl_if_dpi, example_sv],
elabargs=args)
sim_run = pyhdl_dvflow.mkTask(
"hdlsim.%s.SimRun" % pyhdl_dvflow.sim,
needs=[sim_img])
status, out = pyhdl_dvflow.runTask(sim_run)
> assert status == 0, "Simulation failed"
E AssertionError: Simulation failed
E assert 1 == 0
tests/unit/test_example_struct_passing.py:53: AssertionError
|
|
Publish Test Results
tests/unit/test_struct.py::test_struct_comprehensive: The test failed in the call phase due to an assertion error - pyhdl_dvflow = HdlSimDvFlow(request=<SubRequest 'pyhdl_dvflow' for <Function test_struct_comprehensive[vlt]>>, srcdir='/home/runner/w...log=<Logger TaskGraphBuilder (WARNING)>), ext_rgy=<pytest_dfm.impl.ext_rgy.ExtRgy object at 0x7ff9b7571d60>, sim='vlt')
hdl_if_env = {'ACCEPT_EULA': 'Y', 'ACTIONS_ORCHESTRATION_ID': '4f60381a-840a-4b89-bd9c-5fed09c3365e.linux-pretest.__default', 'ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE': '/opt/actionarchivecache', 'AGENT_TOOLSDIRECTORY': '/opt/hostedtoolcache', ...}
@pytest.mark.parametrize("pyhdl_dvflow", available_sims_dpi(), indirect=True)
def test_struct_comprehensive(pyhdl_dvflow, hdl_if_env):
"""Test comprehensive struct support: multiple types, various field types, many fields"""
env = hdl_if_env
env["PYTHONPATH"] = test_struct_data_dir + os.pathsep + env["PYTHONPATH"]
pyhdl_dvflow.setEnv(env)
print("test_struct_comprehensive_data_dir: %s" % test_struct_data_dir, flush=True)
args = ["-timescale=1ps/1ps"] if pyhdl_dvflow.sim == "vcs" else []
hdl_if_pkg = pyhdl_dvflow.mkTask("pyhdl-if.SvPkg")
hdl_if_dpi = pyhdl_dvflow.mkTask("pyhdl-if.DpiLib")
gen_api = pyhdl_dvflow.mkTask(
"pyhdl-if.APIGenSV",
pkgname="struct_comprehensive_api_pkg",
filename="struct_comprehensive_api_pkg.sv",
modules=["struct_comprehensive_api"],
pythonpath=[test_struct_data_dir])
test_sv = pyhdl_dvflow.mkTask("std.FileSet",
base=test_struct_data_dir,
include=["struct_comprehensive_bfm.sv"],
type="systemVerilogSource")
sim_img = pyhdl_dvflow.mkTask("hdlsim.%s.SimImage" % pyhdl_dvflow.sim,
top=["struct_comprehensive_bfm"],
needs=[hdl_if_pkg, gen_api, hdl_if_dpi, test_sv],
elabargs=args)
sim_run = pyhdl_dvflow.mkTask(
"hdlsim.%s.SimRun" % pyhdl_dvflow.sim,
needs=[sim_img])
status, out = pyhdl_dvflow.runTask(sim_run)
> assert status == 0
E assert 1 == 0
tests/unit/test_struct.py:101: AssertionError
|
|
Publish Test Results
tests/unit/test_struct.py::test_struct: The test failed in the call phase due to an assertion error - pyhdl_dvflow = HdlSimDvFlow(request=<SubRequest 'pyhdl_dvflow' for <Function test_struct[vlt]>>, srcdir='/home/runner/work/pyhdl-if/p...log=<Logger TaskGraphBuilder (WARNING)>), ext_rgy=<pytest_dfm.impl.ext_rgy.ExtRgy object at 0x7ff9b772a3f0>, sim='vlt')
hdl_if_env = {'ACCEPT_EULA': 'Y', 'ACTIONS_ORCHESTRATION_ID': '4f60381a-840a-4b89-bd9c-5fed09c3365e.linux-pretest.__default', 'ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE': '/opt/actionarchivecache', 'AGENT_TOOLSDIRECTORY': '/opt/hostedtoolcache', ...}
@pytest.mark.parametrize("pyhdl_dvflow", available_sims_dpi(), indirect=True)
def test_struct(pyhdl_dvflow, hdl_if_env):
"""Test basic struct support with Point struct"""
env = hdl_if_env
env["PYTHONPATH"] = test_struct_data_dir + os.pathsep + env["PYTHONPATH"]
pyhdl_dvflow.setEnv(env)
print("test_struct_data_dir: %s" % test_struct_data_dir, flush=True)
args = ["-timescale=1ps/1ps"] if pyhdl_dvflow.sim == "vcs" else []
hdl_if_pkg = pyhdl_dvflow.mkTask("pyhdl-if.SvPkg")
hdl_if_dpi = pyhdl_dvflow.mkTask("pyhdl-if.DpiLib")
gen_api = pyhdl_dvflow.mkTask(
"pyhdl-if.APIGenSV",
pkgname="struct_api_pkg",
filename="struct_api_pkg.sv",
modules=["struct_api"],
pythonpath=[test_struct_data_dir])
test_sv = pyhdl_dvflow.mkTask("std.FileSet",
base=test_struct_data_dir,
include=["struct_bfm.sv"],
type="systemVerilogSource")
sim_img = pyhdl_dvflow.mkTask("hdlsim.%s.SimImage" % pyhdl_dvflow.sim,
top=["struct_bfm"],
needs=[hdl_if_pkg, gen_api, hdl_if_dpi, test_sv],
elabargs=args)
sim_run = pyhdl_dvflow.mkTask(
"hdlsim.%s.SimRun" % pyhdl_dvflow.sim,
needs=[sim_img])
status, out = pyhdl_dvflow.runTask(sim_run)
> assert status == 0
E assert 1 == 0
tests/unit/test_struct.py:52: AssertionError
|
|
Publish Test Results
tests/unit/test_py_api.py::test_smoke: The test failed in the call phase due to an assertion error - hdlsim_dvflow = HdlSimDvFlow(request=<SubRequest 'hdlsim_dvflow' for <Function test_smoke[vlt]>>, srcdir='/home/runner/work/pyhdl-if/p...log=<Logger TaskGraphBuilder (WARNING)>), ext_rgy=<pytest_dfm.impl.ext_rgy.ExtRgy object at 0x7ff9b764c620>, sim='vlt')
hdl_if_env = {'ACCEPT_EULA': 'Y', 'ACTIONS_ORCHESTRATION_ID': '4f60381a-840a-4b89-bd9c-5fed09c3365e.linux-pretest.__default', 'ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE': '/opt/actionarchivecache', 'AGENT_TOOLSDIRECTORY': '/opt/hostedtoolcache', ...}
@pytest.mark.parametrize("hdlsim_dvflow", available_sims_dpi(), indirect=True)
def test_smoke(hdlsim_dvflow, hdl_if_env):
> _test_file(hdlsim_dvflow, "test_smoke", env=hdl_if_env)
tests/unit/test_py_api.py:47:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
hdlsim_dvflow = HdlSimDvFlow(request=<SubRequest 'hdlsim_dvflow' for <Function test_smoke[vlt]>>, srcdir='/home/runner/work/pyhdl-if/p...log=<Logger TaskGraphBuilder (WARNING)>), ext_rgy=<pytest_dfm.impl.ext_rgy.ExtRgy object at 0x7ff9b764c620>, sim='vlt')
name = 'test_smoke'
env = {'ACCEPT_EULA': 'Y', 'ACTIONS_ORCHESTRATION_ID': '4f60381a-840a-4b89-bd9c-5fed09c3365e.linux-pretest.__default', 'ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE': '/opt/actionarchivecache', 'AGENT_TOOLSDIRECTORY': '/opt/hostedtoolcache', ...}
plusargs = None
def _test_file(hdlsim_dvflow : HdlSimDvFlow, name, env, plusargs=None):
env["PYTHONPATH"] = test_py_api_data_dir + os.pathsep + env["PYTHONPATH"]
hdlsim_dvflow.setEnv(env)
sim_img = hdlsim_dvflow.mkTask("hdlsim.%s.SimImage" % hdlsim_dvflow.sim)
sv_src = hdlsim_dvflow.mkTask("std.FileSet",
base=test_py_api_data_dir,
include="%s.sv" % name,
type="systemVerilogSource")
dpi_lib = hdlsim_dvflow.mkTask("pyhdl-if.DpiLib")
sv_pkg = hdlsim_dvflow.mkTask("pyhdl-if.SvPkg")
sim_img = hdlsim_dvflow.mkTask("hdlsim.%s.SimImage" % hdlsim_dvflow.sim,
top=[name],
needs=[sv_pkg, sv_src, dpi_lib])
sim_run = hdlsim_dvflow.mkTask("hdlsim.%s.SimRun" % hdlsim_dvflow.sim,
plusargs=plusargs if plusargs is not None else [],
needs=[sim_img])
status, out = hdlsim_dvflow.runTask(sim_run)
> assert status == 0
E assert -11 == 0
tests/unit/test_py_api.py:37: AssertionError
|
|
Publish Test Results
tests/unit/test_example_struct_passing.py::test_struct_passing_example: The test failed in the call phase due to an assertion error - pyhdl_dvflow = HdlSimDvFlow(request=<SubRequest 'pyhdl_dvflow' for <Function test_struct_passing_example[vlt]>>, srcdir='/home/runner...log=<Logger TaskGraphBuilder (WARNING)>), ext_rgy=<pytest_dfm.impl.ext_rgy.ExtRgy object at 0x7ff9b788c0b0>, sim='vlt')
hdl_if_env = {'ACCEPT_EULA': 'Y', 'ACTIONS_ORCHESTRATION_ID': '4f60381a-840a-4b89-bd9c-5fed09c3365e.linux-pretest.__default', 'ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE': '/opt/actionarchivecache', 'AGENT_TOOLSDIRECTORY': '/opt/hostedtoolcache', ...}
@pytest.mark.parametrize("pyhdl_dvflow", available_sims_dpi(), indirect=True)
def test_struct_passing_example(pyhdl_dvflow, hdl_if_env):
"""Test the struct_passing example runs successfully"""
env = hdl_if_env
env["PYTHONPATH"] = struct_passing_example_dir + os.pathsep + env["PYTHONPATH"]
pyhdl_dvflow.setEnv(env)
print("struct_passing_example_dir: %s" % struct_passing_example_dir, flush=True)
args = ["-timescale=1ps/1ps"] if pyhdl_dvflow.sim == "vcs" else []
hdl_if_pkg = pyhdl_dvflow.mkTask("pyhdl-if.SvPkg")
hdl_if_dpi = pyhdl_dvflow.mkTask("pyhdl-if.DpiLib")
gen_api = pyhdl_dvflow.mkTask(
"pyhdl-if.APIGenSV",
pkgname="struct_passing_pkg",
filename="struct_passing_pkg.sv",
modules=["struct_passing"],
pythonpath=[struct_passing_example_dir])
example_sv = pyhdl_dvflow.mkTask("std.FileSet",
base=struct_passing_example_dir,
include=["struct_passing.sv"],
type="systemVerilogSource")
sim_img = pyhdl_dvflow.mkTask("hdlsim.%s.SimImage" % pyhdl_dvflow.sim,
top=["struct_passing"],
needs=[hdl_if_pkg, gen_api, hdl_if_dpi, example_sv],
elabargs=args)
sim_run = pyhdl_dvflow.mkTask(
"hdlsim.%s.SimRun" % pyhdl_dvflow.sim,
needs=[sim_img])
status, out = pyhdl_dvflow.runTask(sim_run)
> assert status == 0, "Simulation failed"
E AssertionError: Simulation failed
E assert 1 == 0
tests/unit/test_example_struct_passing.py:53: AssertionError
|
|
Complete job
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, ctrf-io/github-test-reporter@v1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
Loading