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 failure: BraveWalletUtilsUnitTest.GetPrefKeyForCoinType #42316

Open
brave-builds opened this issue Nov 15, 2024 · 10 comments · May be fixed by brave/brave-core#26598
Open

Test failure: BraveWalletUtilsUnitTest.GetPrefKeyForCoinType #42316

brave-builds opened this issue Nov 15, 2024 · 10 comments · May be fixed by brave/brave-core#26598

Comments

@brave-builds
Copy link
Collaborator

Greetings human!

Bad news. BraveWalletUtilsUnitTest.GetPrefKeyForCoinType failed on linux x64 nightly v1.75.23.

Stack trace
[ RUN      ] BraveWalletUtilsUnitTest.GetPrefKeyForCoinType
../../brave/components/brave_wallet/browser/brave_wallet_utils_unittest.cc:501: Failure
Death test: GetPrefKeyForCoinType(static_cast<mojom::CoinType>(2016))
    Result: died but not with expected error.
  Expected: contains regular expression "Unknown CoinType value: 2016"
Actual msg:
[  DEATH   ] [417516:417516:WARNING:test_suite.cc(718)] Test launcher output path /tmp/scoped_dir4eDdtO/IsHC3s/test_results.xml exists. Not adding test launcher result printer.
[  DEATH   ] 
Stack trace:
#0 0x59879585f79c (/home/ubuntu/workspace/brave-browser-build-linux-x64-nightly/src/out/Release/brave_unit_tests+0x47e679b)
[  FAILED  ] BraveWalletUtilsUnitTest.GetPrefKeyForCoinType (174 ms)

[  FAILED  ] BraveWalletUtilsUnitTest.GetPrefKeyForCoinType
@brave-builds
Copy link
Collaborator Author

BraveWalletUtilsUnitTest.GetPrefKeyForCoinType failed on android x64-mono nightly v1.75.23.

Stack trace
[ RUN      ] BraveWalletUtilsUnitTest.GetPrefKeyForCoinType
[WARNING] ../../third_party/googletest/src/googletest/src/gtest-death-test.cc:1104:: Death tests use fork(), which is unsafe particularly in a threaded context. For this test, Google Test detected 21 threads. See https://github.com/google/googletest/blob/main/docs/advanced.md#death-tests-and-threads for more explanation and suggested solutions, especially if this is the last message you see before your test times out.
../../brave/components/brave_wallet/browser/brave_wallet_utils_unittest.cc:501: Failure
Death test: GetPrefKeyForCoinType(static_cast<mojom::CoinType>(2016))
    Result: died but not with expected error.
  Expected: contains regular expression "Unknown CoinType value: 2016"
Actual msg:
[  DEATH   ] 
Stack trace:
[  FAILED  ] BraveWalletUtilsUnitTest.GetPrefKeyForCoinType (220 ms)
Stack Trace:
  RELADDR   FUNCTION                                                                       FILE:LINE
  0000000004990769  brave_wallet::BraveWalletUtilsUnitTest_GetPrefKeyForCoinType_Test::TestBody()  ../../brave/components/brave_wallet/browser/brave_wallet_utils_unittest.cc:500:3
failed

@brave-builds
Copy link
Collaborator Author

BraveWalletUtilsUnitTest.GetPrefKeyForCoinType failed on windows x86 nightly v1.75.23.

Stack trace
[ RUN      ] BraveWalletUtilsUnitTest.GetPrefKeyForCoinType
..\..\brave\components\brave_wallet\browser\brave_wallet_utils_unittest.cc(501): error: Death test: GetPrefKeyForCoinType(static_cast<mojom::CoinType>(2016))
    Result: died but not with expected error.
  Expected: contains regular expression "Unknown CoinType value: 2016"
Actual msg:
[  DEATH   ] [67028:27456:WARNING:test_suite.cc(718)] Test launcher output path C:\Users\ADMINI~1\AppData\Local\Temp\1\scoped_dir49596_848407087\49596_1149241017\test_results.xml exists. Not adding test launcher result printer.
[  DEATH   ] Received fatal exception EXCEPTION_BREAKPOINT
[  DEATH   ] Stack trace suppressed; retry with `--with-death-test-stack-traces --gtest_filter=BraveWalletUtilsUnitTest.GetPrefKeyForCoinType`.
Stack trace:
	brave_wallet::BraveWalletUtilsUnitTest_GetPrefKeyForCoinType_Test::TestBody [0x0112CE85+1893] (C:\jenkins\x86-nightly\src\brave\components\brave_wallet\browser\brave_wallet_utils_unittest.cc:500)
[  FAILED  ] BraveWalletUtilsUnitTest.GetPrefKeyForCoinType (3219 ms)

[  FAILED  ] BraveWalletUtilsUnitTest.GetPrefKeyForCoinType

@brave-builds
Copy link
Collaborator Author

BraveWalletUtilsUnitTest.GetPrefKeyForCoinType failed on windows x64 nightly v1.75.23.

Stack trace
[ RUN      ] BraveWalletUtilsUnitTest.GetPrefKeyForCoinType
..\..\brave\components\brave_wallet\browser\brave_wallet_utils_unittest.cc(501): error: Death test: GetPrefKeyForCoinType(static_cast<mojom::CoinType>(2016))
    Result: died but not with expected error.
  Expected: contains regular expression "Unknown CoinType value: 2016"
Actual msg:
[  DEATH   ] [43176:17460:WARNING:test_suite.cc(718)] Test launcher output path C:\Users\ADMINI~1\AppData\Local\Temp\1\scoped_dir18284_1510143901\18284_438589609\test_results.xml exists. Not adding test launcher result printer.
[  DEATH   ] Received fatal exception EXCEPTION_BREAKPOINT
[  DEATH   ] Stack trace suppressed; retry with `--with-death-test-stack-traces --gtest_filter=BraveWalletUtilsUnitTest.GetPrefKeyForCoinType`.
Stack trace:
	brave_wallet::BraveWalletUtilsUnitTest_GetPrefKeyForCoinType_Test::TestBody [0x00007FF60848CC79+2297] (C:\jenkins\x64-nightly\src\brave\components\brave_wallet\browser\brave_wallet_utils_unittest.cc:500)
[  FAILED  ] BraveWalletUtilsUnitTest.GetPrefKeyForCoinType (2577 ms)

[  FAILED  ] BraveWalletUtilsUnitTest.GetPrefKeyForCoinType

@brave-builds
Copy link
Collaborator Author

BraveWalletUtilsUnitTest.GetPrefKeyForCoinType failed on macos x64 nightly v1.75.23.

Stack trace
[ RUN      ] BraveWalletUtilsUnitTest.GetPrefKeyForCoinType
../../brave/components/brave_wallet/browser/brave_wallet_utils_unittest.cc:501: Failure
Death test: GetPrefKeyForCoinType(static_cast<mojom::CoinType>(2016))
    Result: died but not with expected error.
  Expected: contains regular expression "Unknown CoinType value: 2016"
Actual msg:
[  DEATH   ] [97115:259:WARNING:test_suite.cc(718)] Test launcher output path /var/folders/82/bpvnl611647ghpxnbgtw99n80000gp/T/scoped_dirtWfCsx/ltu6Cu/test_results.xml exists. Not adding test launcher result printer.
[  DEATH   ] 
Stack trace:
0   brave_unit_tests                    0x0000000103d7b7a1 brave_unit_tests + 19093409
[  FAILED  ] BraveWalletUtilsUnitTest.GetPrefKeyForCoinType (180 ms)

[  FAILED  ] BraveWalletUtilsUnitTest.GetPrefKeyForCoinType

@brave-builds
Copy link
Collaborator Author

BraveWalletUtilsUnitTest.GetPrefKeyForCoinType failed on macos arm64 nightly v1.75.23.

Stack trace
[ RUN      ] BraveWalletUtilsUnitTest.GetPrefKeyForCoinType
../../brave/components/brave_wallet/browser/brave_wallet_utils_unittest.cc:501: Failure
Death test: GetPrefKeyForCoinType(static_cast<mojom::CoinType>(2016))
    Result: died but not with expected error.
  Expected: contains regular expression "Unknown CoinType value: 2016"
Actual msg:
[  DEATH   ] [58899:259:WARNING:test_suite.cc(718)] Test launcher output path /var/folders/sv/qwvr6d4j5tz7rv6w74mvzzvc0000gp/T/scoped_dirQjVewG/dw5jfa/test_results.xml exists. Not adding test launcher result printer.
[  DEATH   ] 
Stack trace:
0   brave_unit_tests                    0x000000010542b960 fontations_ffi$cxxbridge1$bitmap_metrics + 7900100
[  FAILED  ] BraveWalletUtilsUnitTest.GetPrefKeyForCoinType (105 ms)

[  FAILED  ] BraveWalletUtilsUnitTest.GetPrefKeyForCoinType

@brave-builds
Copy link
Collaborator Author

BraveWalletUtilsUnitTest.GetPrefKeyForCoinType failed on linux x64 nightly v1.75.24.

Stack trace
[ RUN      ] BraveWalletUtilsUnitTest.GetPrefKeyForCoinType
../../brave/components/brave_wallet/browser/brave_wallet_utils_unittest.cc:501: Failure
Death test: GetPrefKeyForCoinType(static_cast<mojom::CoinType>(2016))
    Result: died but not with expected error.
  Expected: contains regular expression "Unknown CoinType value: 2016"
Actual msg:
[  DEATH   ] [417680:417680:WARNING:test_suite.cc(718)] Test launcher output path /tmp/scoped_dirwT1tDw/BDdqmG/test_results.xml exists. Not adding test launcher result printer.
[  DEATH   ] 
Stack trace:
#0 0x63e01e30579c (/home/ubuntu/workspace/brave-browser-build-linux-x64-nightly/src/out/Release/brave_unit_tests+0x47e679b)
[  FAILED  ] BraveWalletUtilsUnitTest.GetPrefKeyForCoinType (204 ms)

[  FAILED  ] BraveWalletUtilsUnitTest.GetPrefKeyForCoinType

@brave-builds
Copy link
Collaborator Author

BraveWalletUtilsUnitTest.GetPrefKeyForCoinType failed on android x64-mono nightly v1.75.24.

Stack trace
[ RUN      ] BraveWalletUtilsUnitTest.GetPrefKeyForCoinType
[WARNING] ../../third_party/googletest/src/googletest/src/gtest-death-test.cc:1104:: Death tests use fork(), which is unsafe particularly in a threaded context. For this test, Google Test detected 20 threads. See https://github.com/google/googletest/blob/main/docs/advanced.md#death-tests-and-threads for more explanation and suggested solutions, especially if this is the last message you see before your test times out.
../../brave/components/brave_wallet/browser/brave_wallet_utils_unittest.cc:501: Failure
Death test: GetPrefKeyForCoinType(static_cast<mojom::CoinType>(2016))
    Result: died but not with expected error.
  Expected: contains regular expression "Unknown CoinType value: 2016"
Actual msg:
[  DEATH   ] 
Stack trace:
[  FAILED  ] BraveWalletUtilsUnitTest.GetPrefKeyForCoinType (232 ms)
Stack Trace:
  RELADDR   FUNCTION                                                                       FILE:LINE
  0000000004990769  brave_wallet::BraveWalletUtilsUnitTest_GetPrefKeyForCoinType_Test::TestBody()  ../../brave/components/brave_wallet/browser/brave_wallet_utils_unittest.cc:500:3
failed

@brave-builds
Copy link
Collaborator Author

BraveWalletUtilsUnitTest.GetPrefKeyForCoinType failed on windows x64 nightly v1.75.24.

Stack trace
[ RUN      ] BraveWalletUtilsUnitTest.GetPrefKeyForCoinType
..\..\brave\components\brave_wallet\browser\brave_wallet_utils_unittest.cc(501): error: Death test: GetPrefKeyForCoinType(static_cast<mojom::CoinType>(2016))
    Result: died but not with expected error.
  Expected: contains regular expression "Unknown CoinType value: 2016"
Actual msg:
[  DEATH   ] [14148:71192:WARNING:test_suite.cc(718)] Test launcher output path C:\Users\ADMINI~1\AppData\Local\Temp\1\scoped_dir77704_1906510752\77704_2078744306\test_results.xml exists. Not adding test launcher result printer.
[  DEATH   ] Received fatal exception EXCEPTION_BREAKPOINT
[  DEATH   ] Stack trace suppressed; retry with `--with-death-test-stack-traces --gtest_filter=BraveWalletUtilsUnitTest.GetPrefKeyForCoinType`.
Stack trace:
	brave_wallet::BraveWalletUtilsUnitTest_GetPrefKeyForCoinType_Test::TestBody [0x00007FF68075CC79+2297] (C:\jenkins\x64-nightly\src\brave\components\brave_wallet\browser\brave_wallet_utils_unittest.cc:500)
[  FAILED  ] BraveWalletUtilsUnitTest.GetPrefKeyForCoinType (2546 ms)

[  FAILED  ] BraveWalletUtilsUnitTest.GetPrefKeyForCoinType

@brave-builds
Copy link
Collaborator Author

BraveWalletUtilsUnitTest.GetPrefKeyForCoinType failed on macos x64 nightly v1.75.24.

Stack trace
[ RUN      ] BraveWalletUtilsUnitTest.GetPrefKeyForCoinType
../../brave/components/brave_wallet/browser/brave_wallet_utils_unittest.cc:501: Failure
Death test: GetPrefKeyForCoinType(static_cast<mojom::CoinType>(2016))
    Result: died but not with expected error.
  Expected: contains regular expression "Unknown CoinType value: 2016"
Actual msg:
[  DEATH   ] [79672:259:WARNING:test_suite.cc(718)] Test launcher output path /var/folders/s2/j8kt6m8s6gv7mpr09536k4ym0000gp/T/scoped_dirL3drA3/pDMQaJ/test_results.xml exists. Not adding test launcher result printer.
[  DEATH   ] 
Stack trace:
0   brave_unit_tests                    0x00000001077887a1 brave_unit_tests + 19093409
[  FAILED  ] BraveWalletUtilsUnitTest.GetPrefKeyForCoinType (180 ms)

[  FAILED  ] BraveWalletUtilsUnitTest.GetPrefKeyForCoinType

@brave-builds
Copy link
Collaborator Author

BraveWalletUtilsUnitTest.GetPrefKeyForCoinType failed on macos arm64 nightly v1.75.24.

Stack trace
[ RUN      ] BraveWalletUtilsUnitTest.GetPrefKeyForCoinType
../../brave/components/brave_wallet/browser/brave_wallet_utils_unittest.cc:501: Failure
Death test: GetPrefKeyForCoinType(static_cast<mojom::CoinType>(2016))
    Result: died but not with expected error.
  Expected: contains regular expression "Unknown CoinType value: 2016"
Actual msg:
[  DEATH   ] [38097:259:WARNING:test_suite.cc(718)] Test launcher output path /var/folders/dp/jwqty4wn7kjdrc_mmdqwdw2c0000z_/T/scoped_dirj4RaA0/kN9hRm/test_results.xml exists. Not adding test launcher result printer.
[  DEATH   ] 
Stack trace:
0   brave_unit_tests                    0x0000000104f47960 fontations_ffi$cxxbridge1$bitmap_metrics + 7900100
[  FAILED  ] BraveWalletUtilsUnitTest.GetPrefKeyForCoinType (99 ms)

[  FAILED  ] BraveWalletUtilsUnitTest.GetPrefKeyForCoinType

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment