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

🐞 fails to test in CI #2

Open
prudhomm opened this issue May 3, 2023 · 2 comments
Open

🐞 fails to test in CI #2

prudhomm opened this issue May 3, 2023 · 2 comments
Assignees
Labels
🐞 bug Something isn't working

Comments

@prudhomm
Copy link
Collaborator

prudhomm commented May 3, 2023

One test is currently failing in CI

https://github.com/berenger-eu/specx/actions/runs/4873928280/jobs/8694191661#step:4:35

Run ctest --preset default
Test project /home/runner/work/specx/specx/build/default
      Start  1: testArrayView
 1/37 Test  #1: testArrayView .....................................   Passed    0.01 sec
      Start  2: testCallableWrappers
 2/37 Test  #2: testCallableWrappers ..............................   Passed    0.01 sec
      Start  3: testCommutativeWrite
 3/37 Test  #3: testCommutativeWrite ..............................   Passed    0.06 sec
      Start  [4](https://github.com/berenger-eu/specx/actions/runs/4873928280/jobs/8694191661#step:4:5): testComputeEngine
 4/37 Test  #4: testComputeEngine .................................   Passed    0.02 sec
      Start  [5](https://github.com/berenger-eu/specx/actions/runs/4873928280/jobs/8694191661#step:4:6): testConsumerThread
 5/37 Test  #5: testConsumerThread ................................   Passed    0.00 sec
      Start  [6](https://github.com/berenger-eu/specx/actions/runs/4873928280/jobs/8694191661#step:4:7): testInTask
 6/3[7](https://github.com/berenger-eu/specx/actions/runs/4873928280/jobs/8694191661#step:4:8) Test  #6: testInTask ........................................   Passed    0.00 sec
      Start  7: testInsertion
 7/37 Test  #7: testInsertion .....................................   Passed    0.01 sec
      Start  [8](https://github.com/berenger-eu/specx/actions/runs/4873928280/jobs/8694191661#step:4:9): testMap
 8/37 Test  #8: testMap ...........................................   Passed    0.00 sec
      Start  [9](https://github.com/berenger-eu/specx/actions/runs/4873928280/jobs/8694191661#step:4:10): testMerge
 9/37 Test  #9: testMerge .........................................   Passed    0.01 sec
      Start [10](https://github.com/berenger-eu/specx/actions/runs/4873928280/jobs/8694191661#step:4:11): testMethod
10/37 Test #10: testMethod ........................................   Passed    0.00 sec
      Start [11](https://github.com/berenger-eu/specx/actions/runs/4873928280/jobs/8694191661#step:4:12): testModel2SpecTaskRequestsAccessToNonCopiedData
11/37 Test #11: testModel2SpecTaskRequestsAccessToNonCopiedData ...   Passed    0.00 sec
      Start [12](https://github.com/berenger-eu/specx/actions/runs/4873928280/jobs/8694191661#step:4:13): testNoCopyNoMove
12/37 Test #12: testNoCopyNoMove ..................................   Passed    0.00 sec
      Start [13](https://github.com/berenger-eu/specx/actions/runs/4873928280/jobs/8694191661#step:4:14): testParallelWrite
13/37 Test #13: testParallelWrite .................................   Passed    0.03 sec
      Start [14](https://github.com/berenger-eu/specx/actions/runs/4873928280/jobs/8694191661#step:4:15): testPartialMerge
14/37 Test #14: testPartialMerge ..................................   Passed    0.01 sec
      Start [15](https://github.com/berenger-eu/specx/actions/runs/4873928280/jobs/8694191661#step:4:16): testPotentialTasks
15/37 Test #15: testPotentialTasks ................................***Failed    6.04 sec
[Start] Basic test for vec type
Speculative task, valParam is 0 at 0x557b1e4041b0
Speculative task, val is 0 at 0x7ffe64144d2c
Speculative task, valParam is 1 at 0x557b1e4041b0
Speculative task, val is 0 at 0x7ffe64144d2c
Maybe task will return false
Maybe task 2, valParam is 1 at 0x7ffe64144d2c
Maybe task 2, return true with valParam is 3 at 0x7ffe64144d2c
Speculative last write, valParam is 3 at 0x7ffe64144d2c
Speculative last write, val is 3 at 0x7ffe64144d2c
Speculative last write, valParam is 6 at 0x7ffe64144d2c
Errors while running CTest
Speculative last write, val is 6 at 0x7ffe64144d2c
>> Step 2 Equality Failed: counterSecondSpec.load() == 2
>>     In file :/home/runner/work/specx/specx/UTests/testPotentialTasks.cpp
>>     At line :93
>>     v1 :1
>>     v2 :2
[Finished] FAILED (1/3 steps failed)
[Start] Basic test for vec type
[Finished] PASSED (4 steps)
[Start] Basic test for vec type
Speculative task, valParam is 0 at 0x557b1e3ff810
Speculative task, val is 0 at 0x7ffe64144d34
Speculative task, valParam is 1 at 0x557b1e3ff810
Speculative task, val is 0 at 0x7ffe64144d34
Maybe task will return false
Speculative last write, valParam is 1 at 0x557b1e4000c0
Maybe task 2, valParam is Speculative last write, val is 1 at 0x7ffe64144d34
Speculative last write, valParam is 2 at 0x557b1e4000c0
Speculative last write, val is 1 at 0x7ffe64144d34
1 at 0x7ffe64144d34
Maybe task 2, return true with valParam is 3 at 0x7ffe64144d34
Speculative last write, valParam is 3 at 0x7ffe64144d34
Speculative last write, val is 3 at 0x7ffe64144d34
Speculative last write, valParam is 6 at 0x7ffe64144d34
Speculative last write, val is 6 at 0x7ffe64144d34
[Finished] PASSED (3 steps)
[Start] Basic test for vec type
[Finished] PASSED (4 steps)
[Start] Basic test for vec type
Speculative task, valParam is 0 at 0x557b1e40bd90
Speculative task, val is 0 at 0x7ffe64144d34
Speculative task, valParam is 1 at 0x557b1e40bd90
Speculative task, val is 0 at 0x7ffe64144d34
Maybe task will return false
Speculative last write, valParam is 1 at 0x557b1e3ffaf0
Speculative last write, val is 1 at 0x7ffe64144d34
Speculative last write, valParam is 2 at 0x557b1e3ffaf0
Speculative last write, val is 1 at 0x7ffe64144d34
Maybe task 2, valParam is 1 at 0x7ffe64144d34
Maybe task 2, return true with valParam is 3 at 0x7ffe64144d34
Speculative last write, valParam is 3 at 0x7ffe64144d34
Speculative last write, val is 3 at 0x7ffe64144d34
Speculative last write, valParam is 6 at 0x7ffe64144d34
Speculative last write, val is 6 at 0x7ffe64144d34
[Finished] PASSED (3 steps)
[Start] Basic test for vec type
[Finished] PASSED (4 steps)
Test is over, 5 Passed, 1 Failed


93% tests passed, 1 tests failed out of 15

Total Test time (real) =   6.[26](https://github.com/berenger-eu/specx/actions/runs/4873928280/jobs/8694191661#step:4:27) sec

The following tests FAILED:
	 15 - testPotentialTasks (Failed)
@prudhomm prudhomm added the 🐞 bug Something isn't working label May 3, 2023
@berenger-eu
Copy link
Owner

Should be fixed now. But I push on master from gitlab.inria.

@berenger-eu
Copy link
Owner

Hum I am not very happy with the mirroring done by gitlab

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants