Skip to content

Failed

Build / cuda-reldeb-vecgeom / projectroot.test.corecel.corecel/Assert (from CTest)

Failing for the past 2 builds (Since Not built #1 )
Took 53 ms.

Stacktrace

Celeritas version 0.5.0-dev.101+4971062e
Disabling tests with 'device' in the name
[==========] Running 3 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 3 tests from AssertTest
[ RUN      ] AssertTest.debug_error
/var/jenkins/workspace/celeritas_PR-1198/test/corecel/Assert.test.cc:43: Failure
Expected equality of these values:
  "\x1B[37;1mAssert.test.cc:123:\x1B[0m\nceleritas: \x1B[31;1minternal " "assertion failed: \x1B[37;2m2 + 2 == 5\x1B[0m"
    Which is: "\x1B[37;1mAssert.test.cc:123:\x1B[0m\nceleritas: \x1B[31;1minternal assertion failed: \x1B[37;2m2 + 2 == 5\x1B[0m"
  DebugError{std::move(details)}.what()
    Which is: "Assert.test.cc:123:\nceleritas: internal assertion failed: 2 + 2 == 5"
With diff:
@@ -1,2 +1,2 @@
-\x1B[37;1mAssert.test.cc:123:\x1B[0m
-celeritas: \x1B[31;1minternal assertion failed: \x1B[37;2m2 + 2 == 5\x1B[0m
+Assert.test.cc:123:
+celeritas: internal assertion failed: 2 + 2 == 5

[  FAILED  ] AssertTest.debug_error (0 ms)
[ RUN      ] AssertTest.runtime_error
/var/jenkins/workspace/celeritas_PR-1198/test/corecel/Assert.test.cc:79: Failure
Value of: std::string{e.what()}.find("runtime error: \x1B[0mthis is " "not OK") != std::string::npos
  Actual: false
Expected: true
celeritas: runtime error: this is not OK
/var/jenkins/workspace/celeritas_PR-1198/test/corecel/Assert.test.cc:75: 'false' failed
[  FAILED  ] AssertTest.runtime_error (0 ms)
[ RUN      ] AssertTest.runtime_error_variations
/var/jenkins/workspace/celeritas_PR-1198/test/corecel/Assert.test.cc:150: Failure
Values in: messages
 Expected: expected_messages
16 of 16 elements differ
 i         EXPECTED         messages
 0 "celeritas: \x1b[31;1munknown error: \x1b[0m\n\x1b[37;2munknown source:\x1b[0m failure" "celeritas: unknown error: \nunknown source: failure"
 1 "celeritas: \x1b[31;1mruntime error: \x1b[0m\n\x1b[37;2munknown source:\x1b[0m failure" "celeritas: runtime error: \nunknown source: failure"
 2 "celeritas: \x1b[31;1munknown error: \x1b[0mbad things happened\n\x1b[37;2munknown source:\x1b[0m failure" "celeritas: unknown error: bad things happened\nunknown source: failure"
 3 "celeritas: \x1b[31;1mruntime error: \x1b[0mbad things happened\n\x1b[37;2munknown source:\x1b[0m failure" "celeritas: runtime error: bad things happened\nunknown source: failure"
 4 "celeritas: \x1b[31;1munknown error: \x1b[0m\n\x1b[37;1munknown source:\x1b[0m '2 + 2 == 5' failed" "celeritas: unknown error: \nunknown source: '2 + 2 == 5' failed"
 5 "celeritas: \x1b[31;1mruntime error: \x1b[0m\n\x1b[37;1munknown source:\x1b[0m '2 + 2 == 5' failed" "celeritas: runtime error: \nunknown source: '2 + 2 == 5' failed"
 6 "celeritas: \x1b[31;1munknown error: \x1b[0mbad things happened\n\x1b[37;1munknown source:\x1b[0m '2 + 2 == 5' failed" "celeritas: unknown error: bad things happened\nunknown source: '2 + 2 == 5' failed"
 7 "celeritas: \x1b[31;1mruntime error: \x1b[0mbad things happened\n\x1b[37;1munknown source:\x1b[0m '2 + 2 == 5' failed" "celeritas: runtime error: bad things happened\nunknown source: '2 + 2 == 5' failed"
 8 "celeritas: \x1b[31;1munknown error: \x1b[0m\n\x1b[37;2mAssert.test.cc:\x1b[0m failure" "celeritas: unknown error: \nAssert.test.cc: failure"
 9 "celeritas: \x1b[31;1mruntime error: \x1b[0m\n\x1b[37;2mAssert.test.cc:123:\x1b[0m failure" "celeritas: runtime error: \nAssert.test.cc:123: failure"
10 "celeritas: \x1b[31;1munknown error: \x1b[0mbad things happened\n\x1b[37;2mAssert.test.cc:\x1b[0m failure" "celeritas: unknown error: bad things happened\nAssert.test.cc: failure"
11 "celeritas: \x1b[31;1mruntime error: \x1b[0mbad things happened\n\x1b[37;2mAssert.test.cc:123:\x1b[0m failure" "celeritas: runtime error: bad things happened\nAssert.test.cc:123: failure"
12 "celeritas: \x1b[31;1munknown error: \x1b[0m\n\x1b[37;1mAssert.test.cc:\x1b[0m '2 + 2 == 5' failed" "celeritas: unknown error: \nAssert.test.cc: '2 + 2 == 5' failed"
13 "celeritas: \x1b[31;1mruntime error: \x1b[0m\n\x1b[37;1mAssert.test.cc:123:\x1b[0m '2 + 2 == 5' failed" "celeritas: runtime error: \nAssert.test.cc:123: '2 + 2 == 5' failed"
14 "celeritas: \x1b[31;1munknown error: \x1b[0mbad things happened\n\x1b[37;1mAssert.test.cc:\x1b[0m '2 + 2 == 5' failed" "celeritas: unknown error: bad things happened\nAssert.test.cc: '2 + 2 == 5' failed"
15 "celeritas: \x1b[31;1mruntime error: \x1b[0mbad things happened\n\x1b[37;1mAssert.test.cc:123:\x1b[0m '2 + 2 == 5' failed" "celeritas: runtime error: bad things happened\nAssert.test.cc:123: '2 + 2 == 5' failed"

[  FAILED  ] AssertTest.runtime_error_variations (0 ms)
[----------] 3 tests from AssertTest (0 ms total)

[----------] Global test environment tear-down
[==========] 3 tests from 1 test suite ran. (0 ms total)
[  PASSED  ] 0 tests.
[  FAILED  ] 3 tests, listed below:
[  FAILED  ] AssertTest.debug_error
[  FAILED  ] AssertTest.runtime_error
[  FAILED  ] AssertTest.runtime_error_variations

 3 FAILED TESTS
/var/jenkins/workspace/celeritas_PR-1198/build/test/corecel/corecel_Assert: tests FAILED

Standard Output

Celeritas version 0.5.0-dev.101+4971062e
Disabling tests with 'device' in the name
[==========] Running 3 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 3 tests from AssertTest
[ RUN      ] AssertTest.debug_error
/var/jenkins/workspace/celeritas_PR-1198/test/corecel/Assert.test.cc:43: Failure
Expected equality of these values:
  "\x1B[37;1mAssert.test.cc:123:\x1B[0m\nceleritas: \x1B[31;1minternal " "assertion failed: \x1B[37;2m2 + 2 == 5\x1B[0m"
    Which is: "\x1B[37;1mAssert.test.cc:123:\x1B[0m\nceleritas: \x1B[31;1minternal assertion failed: \x1B[37;2m2 + 2 == 5\x1B[0m"
  DebugError{std::move(details)}.what()
    Which is: "Assert.test.cc:123:\nceleritas: internal assertion failed: 2 + 2 == 5"
With diff:
@@ -1,2 +1,2 @@
-\x1B[37;1mAssert.test.cc:123:\x1B[0m
-celeritas: \x1B[31;1minternal assertion failed: \x1B[37;2m2 + 2 == 5\x1B[0m
+Assert.test.cc:123:
+celeritas: internal assertion failed: 2 + 2 == 5

[  FAILED  ] AssertTest.debug_error (0 ms)
[ RUN      ] AssertTest.runtime_error
/var/jenkins/workspace/celeritas_PR-1198/test/corecel/Assert.test.cc:79: Failure
Value of: std::string{e.what()}.find("runtime error: \x1B[0mthis is " "not OK") != std::string::npos
  Actual: false
Expected: true
celeritas: runtime error: this is not OK
/var/jenkins/workspace/celeritas_PR-1198/test/corecel/Assert.test.cc:75: 'false' failed
[  FAILED  ] AssertTest.runtime_error (0 ms)
[ RUN      ] AssertTest.runtime_error_variations
/var/jenkins/workspace/celeritas_PR-1198/test/corecel/Assert.test.cc:150: Failure
Values in: messages
 Expected: expected_messages
16 of 16 elements differ
 i         EXPECTED         messages
 0 "celeritas: \x1b[31;1munknown error: \x1b[0m\n\x1b[37;2munknown source:\x1b[0m failure" "celeritas: unknown error: \nunknown source: failure"
 1 "celeritas: \x1b[31;1mruntime error: \x1b[0m\n\x1b[37;2munknown source:\x1b[0m failure" "celeritas: runtime error: \nunknown source: failure"
 2 "celeritas: \x1b[31;1munknown error: \x1b[0mbad things happened\n\x1b[37;2munknown source:\x1b[0m failure" "celeritas: unknown error: bad things happened\nunknown source: failure"
 3 "celeritas: \x1b[31;1mruntime error: \x1b[0mbad things happened\n\x1b[37;2munknown source:\x1b[0m failure" "celeritas: runtime error: bad things happened\nunknown source: failure"
 4 "celeritas: \x1b[31;1munknown error: \x1b[0m\n\x1b[37;1munknown source:\x1b[0m '2 + 2 == 5' failed" "celeritas: unknown error: \nunknown source: '2 + 2 == 5' failed"
 5 "celeritas: \x1b[31;1mruntime error: \x1b[0m\n\x1b[37;1munknown source:\x1b[0m '2 + 2 == 5' failed" "celeritas: runtime error: \nunknown source: '2 + 2 == 5' failed"
 6 "celeritas: \x1b[31;1munknown error: \x1b[0mbad things happened\n\x1b[37;1munknown source:\x1b[0m '2 + 2 == 5' failed" "celeritas: unknown error: bad things happened\nunknown source: '2 + 2 == 5' failed"
 7 "celeritas: \x1b[31;1mruntime error: \x1b[0mbad things happened\n\x1b[37;1munknown source:\x1b[0m '2 + 2 == 5' failed" "celeritas: runtime error: bad things happened\nunknown source: '2 + 2 == 5' failed"
 8 "celeritas: \x1b[31;1munknown error: \x1b[0m\n\x1b[37;2mAssert.test.cc:\x1b[0m failure" "celeritas: unknown error: \nAssert.test.cc: failure"
 9 "celeritas: \x1b[31;1mruntime error: \x1b[0m\n\x1b[37;2mAssert.test.cc:123:\x1b[0m failure" "celeritas: runtime error: \nAssert.test.cc:123: failure"
10 "celeritas: \x1b[31;1munknown error: \x1b[0mbad things happened\n\x1b[37;2mAssert.test.cc:\x1b[0m failure" "celeritas: unknown error: bad things happened\nAssert.test.cc: failure"
11 "celeritas: \x1b[31;1mruntime error: \x1b[0mbad things happened\n\x1b[37;2mAssert.test.cc:123:\x1b[0m failure" "celeritas: runtime error: bad things happened\nAssert.test.cc:123: failure"
12 "celeritas: \x1b[31;1munknown error: \x1b[0m\n\x1b[37;1mAssert.test.cc:\x1b[0m '2 + 2 == 5' failed" "celeritas: unknown error: \nAssert.test.cc: '2 + 2 == 5' failed"
13 "celeritas: \x1b[31;1mruntime error: \x1b[0m\n\x1b[37;1mAssert.test.cc:123:\x1b[0m '2 + 2 == 5' failed" "celeritas: runtime error: \nAssert.test.cc:123: '2 + 2 == 5' failed"
14 "celeritas: \x1b[31;1munknown error: \x1b[0mbad things happened\n\x1b[37;1mAssert.test.cc:\x1b[0m '2 + 2 == 5' failed" "celeritas: unknown error: bad things happened\nAssert.test.cc: '2 + 2 == 5' failed"
15 "celeritas: \x1b[31;1mruntime error: \x1b[0mbad things happened\n\x1b[37;1mAssert.test.cc:123:\x1b[0m '2 + 2 == 5' failed" "celeritas: runtime error: bad things happened\nAssert.test.cc:123: '2 + 2 == 5' failed"

[  FAILED  ] AssertTest.runtime_error_variations (0 ms)
[----------] 3 tests from AssertTest (0 ms total)

[----------] Global test environment tear-down
[==========] 3 tests from 1 test suite ran. (0 ms total)
[  PASSED  ] 0 tests.
[  FAILED  ] 3 tests, listed below:
[  FAILED  ] AssertTest.debug_error
[  FAILED  ] AssertTest.runtime_error
[  FAILED  ] AssertTest.runtime_error_variations

 3 FAILED TESTS
/var/jenkins/workspace/celeritas_PR-1198/build/test/corecel/corecel_Assert: tests FAILED