Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[test-triage] //sw/device/tests:gpio_pinmux_test_sim_verilator is broken #17812

Open
hcindyl opened this issue Apr 4, 2023 · 1 comment
Open
Labels
Component:ChipLevelTest Used to filter the chip-level test backlog Component:TestTriage Earlgrey-PROD Candidate Temporary label to triage issues into Earlgrey-PROD Milestones IP:gpio Priority:P2 Priority: medium
Milestone

Comments

@hcindyl
Copy link
Contributor

hcindyl commented Apr 4, 2023

Hierarchy of regression failure

Chip Level

Failure Description

[2023-04-04T17:27:13Z INFO  opentitanlib::transport::verilator::transport] gpio_read = /usr/local/google/home/hcindyl/.cache/bazel/_bazel_hcindyl/29be86bcb7738fde464aa7b1e974a4e1/execroot/lowrisc_opentitan/bazel-out/k8-fastbuild/bin/sw/device/tests/gpio_pinmux_test_sim_verilator.runfiles/lowrisc_opentitan/gpio0-read
[2023-04-04T17:27:13Z INFO  opentitanlib::transport::verilator::transport] gpio_write = /usr/local/google/home/hcindyl/.cache/bazel/_bazel_hcindyl/29be86bcb7738fde464aa7b1e974a4e1/execroot/lowrisc_opentitan/bazel-out/k8-fastbuild/bin/sw/device/tests/gpio_pinmux_test_sim_verilator.runfiles/lowrisc_opentitan/gpio0-write
[2023-04-04T17:27:13Z INFO  opentitanlib::transport::verilator::transport] uart = /dev/pts/23
[2023-04-04T17:27:13Z INFO  opentitanlib::transport::verilator::transport] spi = /dev/pts/22
Error: invalid digit found in string

Stack backtrace:
   0: anyhow::error::<impl core::convert::From<E> for anyhow::Error>::from
   1: <core::result::Result<T,F> as core::ops::try_trait::FromResidual<core::result::Result<core::convert::Infallible,E>>>::from_residual
   2: <opentitanlib::transport::verilator::transport::Verilator as opentitanlib::transport::Transport>::gpio_pin
   3: opentitanlib::app::TransportWrapper::gpio_pin
   4: opentitanlib::app::TransportWrapper::apply_pin_configuration
   5: opentitanlib::app::TransportWrapper::apply_pin_configurations
   6: opentitanlib::app::TransportWrapper::apply_default_configuration
   7: opentitanlib::test_utils::init::InitializeTest::init_target
   8: gpio::main
   9: core::ops::function::FnOnce::call_once
  10: std::sys_common::backtrace::__rust_begin_short_backtrace
  11: std::rt::lang_start::{{closure}}
  12: core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once
             at /rustc/c18a5e8a5b1afb0d7a582fe9ebad4c1996c90da3/library/core/src/ops/function.rs:287:13
  13: std::panicking::try::do_call
             at /rustc/c18a5e8a5b1afb0d7a582fe9ebad4c1996c90da3/library/std/src/panicking.rs:483:40
  14: std::panicking::try
             at /rustc/c18a5e8a5b1afb0d7a582fe9ebad4c1996c90da3/library/std/src/panicking.rs:447:19
  15: std::panic::catch_unwind
             at /rustc/c18a5e8a5b1afb0d7a582fe9ebad4c1996c90da3/library/std/src/panic.rs:140:14
  16: std::rt::lang_start_internal::{{closure}}
             at /rustc/c18a5e8a5b1afb0d7a582fe9ebad4c1996c90da3/library/std/src/rt.rs:148:48
  17: std::panicking::try::do_call
             at /rustc/c18a5e8a5b1afb0d7a582fe9ebad4c1996c90da3/library/std/src/panicking.rs:483:40
  18: std::panicking::try
             at /rustc/c18a5e8a5b1afb0d7a582fe9ebad4c1996c90da3/library/std/src/panicking.rs:447:19
  19: std::panic::catch_unwind
             at /rustc/c18a5e8a5b1afb0d7a582fe9ebad4c1996c90da3/library/std/src/panic.rs:140:14
  20: std::rt::lang_start_internal
             at /rustc/c18a5e8a5b1afb0d7a582fe9ebad4c1996c90da3/library/std/src/rt.rs:148:20
  21: std::rt::lang_start
  22: main
  23: __libc_start_call_main
             at ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16
  24: __libc_start_main_impl
             at ./csu/../csu/libc-start.c:381:3
  25: _start

Steps to Reproduce

  • GitHub Revision: 09ebf56
    bazel test --test_output=errors //sw/device/tests:gpio_pinmux_test_sim_verilator

Tests with similar or related failures

No response

@moidx moidx added this to the Discrete: M2.5 milestone Apr 12, 2023
@moidx moidx added the Component:ChipLevelTest Used to filter the chip-level test backlog label Apr 12, 2023
@moidx moidx added the Priority:P2 Priority: medium label Apr 12, 2023
@msfschaffner msfschaffner added the Earlgrey-PROD Candidate Temporary label to triage issues into Earlgrey-PROD Milestones label Oct 7, 2023
This was referenced Feb 12, 2024
This was referenced Feb 26, 2024
@GregAC GregAC added the IP:gpio label Apr 16, 2024
@moidx
Copy link
Contributor

moidx commented Jun 7, 2024

Moving to backlog as Verilator is not part of the sign-off criteria for Earlgrey-PROD.

@moidx moidx modified the milestones: Earlgrey-PROD.M4, Backlog Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component:ChipLevelTest Used to filter the chip-level test backlog Component:TestTriage Earlgrey-PROD Candidate Temporary label to triage issues into Earlgrey-PROD Milestones IP:gpio Priority:P2 Priority: medium
Projects
None yet
Development

No branches or pull requests

4 participants